tests/check/: add ppc64 structure sizes
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * tests/check/Makefile.am:
4         * tests/check/gst/gstabi.c:
5         * tests/check/gst/struct_ppc64.h:
6         * tests/check/libs/libsabi.c:
7         * tests/check/libs/struct_ppc64.h:
8           add ppc64 structure sizes
9
10 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11
12         * tests/check/Makefile.am:
13         * tests/check/gst/gstabi.c:
14         * tests/check/gst/struct_x86_64.h:
15         * tests/check/libs/libsabi.c:
16         * tests/check/libs/struct_x86_64.h:
17           generate and add structure size lists for x86_64
18
19 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20
21         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
22         * libs/gst/check/gstcheck.h:
23           factor out the method from tests that checks size of structures,
24           and add code to generate the header containing these sizes
25         * tests/check/gst/gstabi.c: (GST_START_TEST):
26         * tests/check/gst/struct_i386.h:
27         * tests/check/libs/libsabi.c: (GST_START_TEST):
28         * tests/check/libs/struct_i386.h:
29           use it
30
31 2006-06-06  Michael Smith  <msmith@fluendo.com>
32
33         * gst/gstsegment.h:
34           Don't use c++-style comments, fixes #343929
35
36 2006-06-05  Edward Hervey  <edward@fluendo.com>
37
38         * gst/gst.c:
39         plugin_paths is not used if we build without registry support.
40
41         * gst/gstsegment.c: (gst_segment_copy): 
42         _copy() was always returning NULL...
43
44 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
45
46         * libs/gst/dataprotocol/dataprotocol.c:
47         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
48         (gst_dp_packet_from_event):
49           factor out CRC code
50
51 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
52
53         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
54           make sure we unset caps
55
56 2006-06-02  Michael Smith  <msmith@fluendo.com>
57
58         * libs/gst/check/gstcheck.c: (gst_check_init),
59         (gst_check_chain_func):
60         * libs/gst/check/gstcheck.h:
61           Add a cond/mutex to the check support lib, signal this whenever we
62           add to the buffers list. This will allow tests to not busy-wait on
63           the buffer-list.
64
65 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
66
67         * libs/gst/dataprotocol/dataprotocol.c:
68         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
69         (gst_dp_packet_from_event):
70           factor out some common header init code
71
72 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
73
74         * docs/libs/gstreamer-libs-sections.txt:
75         * docs/libs/tmpl/gstdataprotocol.sgml:
76         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
77         * libs/gst/dataprotocol/dataprotocol.h:
78           API: make gst_dp_crc() public
79
80 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
81
82         * plugins/indexers/gstindexers.c: (plugin_init):
83         conditionally register fileindexer (fixes #343598)
84
85 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
86
87         * gst/gsttagsetter.h:
88         Can't cast ifaces to a class
89
90         * libs/gst/net/gstnetclientclock.h:
91         * libs/gst/net/gstnettimeprovider.h:
92         * plugins/elements/gstfakesink.h:
93         * plugins/elements/gstfakesrc.h:
94         * plugins/elements/gstfdsink.h:
95         * plugins/elements/gstfdsrc.h:
96         * plugins/elements/gstfilesink.h:
97         * plugins/elements/gstfilesrc.h:
98         * plugins/elements/gstidentity.h:
99         * plugins/elements/gstqueue.h:
100         * plugins/elements/gsttee.h:
101         * plugins/indexers/gstfileindex.c:
102         * plugins/indexers/gstmemindex.c:
103         * tests/old/examples/plugins/example.h:
104         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
105
106 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
107
108         * libs/gst/dataprotocol/dataprotocol.c:
109         (gst_dp_header_from_buffer):
110           make sure we zero the whole ABI-compatible area
111
112 2006-06-01  Wim Taymans  <wim@fluendo.com>
113
114         Patch by: Alessandro Decina <alessandro at nnva dot org>
115
116         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
117         Make sure the EOS flag is cleared from pads after a flush
118         or stop. Fixes #343538.
119
120         * tests/check/libs/collectpads.c: (GST_START_TEST),
121         (gst_collect_pads_suite):
122         Added test for collectpads reusage after EOS.
123
124 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
125
126         * gst/gst.c:
127          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
128         * win32/common/libgstbase.def:
129          export gst_collect_pads_set_flushing
130         * win32/common/libgstreamer.def:
131          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
132          gst_value_fraction_multiply
133         * win32/vs6/gst_inspect.dsp:
134          add a link to intl.lib
135
136 2006-05-30  Wim Taymans  <wim@fluendo.com>
137
138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
139         (gst_collect_pads_chain):
140         Handle the case where a pad is removed from the collection
141         that could cause the other pads to become collectable.
142
143 2006-05-30  Wim Taymans  <wim@fluendo.com>
144
145         * gst/gstelement.c:
146         Clarify the use of _release_request_pad() and
147         _get_request_pad() a bit better.
148
149         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
150         (gst_adapter_take_buffer):
151         Fix some doc and comment typos.
152
153 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
154
155         * docs/gst/gstreamer-sections.txt:
156         * docs/libs/gstreamer-libs-sections.txt:
157           add declared symbols
158
159 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
160
161         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
162         Add debug that can be enabled using a #define at the top of the file,
163         for dumping stats about how late/early we were when waking up from
164         waiting on the clock.
165
166 2006-05-30  Wim Taymans  <wim@fluendo.com>
167
168         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
169         When rebuilding the pad list, don't leak the previous list.
170
171 2006-05-30  Wim Taymans  <wim@fluendo.com>
172
173         Patch by: Lutz Mueller <lutz at topfrose dot de>
174
175         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
176         (gst_base_src_get_query_types), (gst_base_src_update_length):
177         Publish supported query types.
178         Update last_stop field in get_range mode so the position
179         query works. Fixes #342321.
180
181 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
182
183         * docs/gst/gstreamer-sections.txt:
184         * gst/gsttaglist.c: (_gst_tag_initialize):
185         * gst/gsttaglist.h:
186           API: add GST_TAG_PREVIEW_IMAGE (#343341).
187
188 2006-05-30  Wim Taymans  <wim@fluendo.com>
189
190         Patch by: Alessandro Decina <alessandro at nnva dot org>
191
192         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
193         Unlock mutex when removing an unknown pad.
194         Fixes #343334.
195
196         * tests/check/Makefile.am:
197         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
198         (push_event), (setup), (teardown), (GST_START_TEST),
199         (gst_collect_pads_suite), (main):
200         Added collecpads check, disabled for now as check crashes for
201         some reason.
202
203 2006-05-29  Wim Taymans  <wim@fluendo.com>
204
205         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
206         Don't leak pads lists.
207
208 2006-05-29  Wim Taymans  <wim@fluendo.com>
209
210         * docs/libs/gstreamer-libs-sections.txt:
211         * libs/gst/base/gstcollectpads.c:
212         (gst_collect_pads_set_flushing_unlocked),
213         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
214         (gst_collect_pads_stop):
215         * libs/gst/base/gstcollectpads.h:
216         API: gst_collect_pads_set_flushing
217         Added api to set the pads to flushing, usefull for seeking
218         code in elements using collectpads.
219         Clear segment when receiving a flush.
220
221 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
222
223         * gst/gst.c: (add_path_func), (init_post):
224           Don't scan registry paths passed via --gst-plugin--path immediately
225           (will crash, because absolutely nothing is set up and no types are
226           registered etc.); do this later in init_post(). Fixes #343057.
227
228 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
229
230         * gst/gst.c: (init_post):
231           if we have fork, fork while reading/rebuilding the registry
232           so the parent doesn't take the hit of having all plugins loaded
233           in memory.  Fixes #342777.
234         * configure.ac:
235           Check if we have fork()
236         * win32/common/config.h.in:
237           no fork() on win32
238
239 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
240
241         * plugins/elements/gstelements.c:
242         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
243         (gst_file_src_init), (gst_file_src_set_property),
244         (gst_file_src_get_property), (gst_file_src_start):
245         * plugins/elements/gstfilesrc.h:
246
247         Add a use-mmap property to enable easier testing of all code paths.
248         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
249         in the absence of gnomevfssrc. (Closes #340501)
250
251 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
252
253         * tools/gst-inspect.c:
254         Add missing include, removes warning of ngettext not being defined on
255         some arches.
256
257 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
258
259         * gst/gstvalue.c: (gst_value_deserialize_fraction):
260         Handle NULL input and output pointers silently as a failed conversion,
261         rather than g_warnings.
262
263 2006-05-25  Wim Taymans  <wim@fluendo.com>
264
265         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
266         Initialize variable before using. Fixes #342820.
267
268 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
269
270         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
271           Fix off-by-one bug that would only allow peeks of N-1 bytes
272           from the start even if the buffer to typefind on contains
273           in fact N bytes of data (makes vorbis typefinding from a
274           vorbis identification header buffer work).
275
276         * tests/check/Makefile.am:
277         * tests/check/libs/.cvsignore:
278         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
279         (gst_typefindhelper_suite), (main), (foobar_typefind),
280         (plugin_init):
281           Add very basic unit test for gst_type_find_helper_for_buffer()
282           that checks for the problem fixed above.
283
284 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
285
286         * tools/gst-inspect.c: (print_interfaces),
287         (print_element_properties_info), (print_element_list), (main):
288           add more translatable strings
289
290 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
291
292         Patch by: Julien Moutte  <julien at moutte net>
293
294         * docs/gst/gstreamer-sections.txt:
295           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
296           
297         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
298         (gst_fake_sink_preroll):
299         * plugins/elements/gstfakesink.h:
300           Add new ::preroll-handoff signal (#337100).
301
302 2006-05-23  Wim Taymans  <wim@fluendo.com>
303
304         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
305         * gst/gstpad.h:
306         Added _CUSTOM error and success GstFlowReturn that can be
307         used be elements internally. 
308         Added macro to check for SUCCESS flowreturns.
309         API: GST_FLOW_CUSTOM_SUCCESS
310         API: GST_FLOW_CUSTOM_ERROR
311         API: GST_FLOW_IS_SUCCESS
312
313         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
314         Added check for GstFlowReturn sanity.
315
316 2006-05-23  Wim Taymans  <wim@fluendo.com>
317
318         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
319
320         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
321         (gst_collect_pads_event):
322         clear/reset segment info in FLUSH_STOP.
323         Fixes #336929.
324
325 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
326
327         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
328         (gst_collect_pads_check_collected):
329         Flush queued buffer on _stop(), fixes playing again (#342454)
330
331 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
332
333         * tests/check/gst/gststructure.c: (GST_START_TEST),
334         (gst_structure_suite):
335           add a test for a complete structure
336
337 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
338
339         * docs/faq/developing.xml:
340         * docs/faq/faq.xml:
341         * docs/faq/troubleshooting.xml:
342         * docs/faq/using.xml:
343           Some minor FAQ updates that won't change the fact that
344           our FAQ is badly structured, full of information hardly
345           anyone new to GStreamer needs to know and lacking lots
346           of information people constantly ask for.
347           
348 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
349
350         * gst/gstpad.c: (gst_pad_set_caps):
351           Short-circuit gst_pad_set_caps if setting the existing
352           caps pointer again, and avoid printing debug and 
353           reffing/unreffing the caps.
354
355         * plugins/elements/gstqueue.c: (gst_queue_push_one):
356           There's actually no need to set the caps before pushing -
357           the acceptcaps method will handle it anyway.
358
359 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
360
361         * docs/gst/gstreamer-sections.txt:
362         * win32/common/libgstreamer.def:
363         * gst/gstutils.c: (gst_element_seek_simple):
364         * gst/gstutils.h:
365           API: add gst_element_seek_simple() (#342238).
366
367 2006-05-18  Edward Hervey  <edward@fluendo.com>
368
369         * gst/gsttypefind.c: (gst_type_find_get_type):
370         * gst/gsttypefind.h:
371         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
372         registered for GstTypeFind pointers. This allows wrapping the structure
373         in bindings (i.e. gst-python).
374
375 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
376
377         * gst/gsttagsetter.c:
378           Docs additions and fixes (see #339918).
379
380 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
381
382         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
383         The caps intersection algorithm can produce multiple copies of the
384         caps. Until that is fixed, we need to simplify the result to be
385         sure whether the allowed caps are fixed or not.
386
387         * plugins/elements/gstqueue.c: (gst_queue_init),
388         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
389         (gst_queue_push_one):
390         Proxied buffer alloc should not set the caps on the source pad.
391         When pushing buffers, we always accept the caps change that triggers.
392         This prevents negotiation errors caused by caps changing mid-stream 
393         and then being refused on our source pad (because upstream is now
394         refusing those caps).
395
396 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
397
398         * tests/examples/helloworld/helloworld.c: (main):
399           Must plug audioconvert and audioresample between decoder
400           and audio sink.
401
402 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
403
404         * gst/gstregistryxml.c: (read_string), (load_pad_template),
405         (load_feature), (load_plugin):
406         Allow empty strings for some of the plugin fields so we don't 
407         drop valid plugin entries that were written out correctly
408         (Fixes #341479)
409
410 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
411         
412         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
413           Use g_remove and g_rename instead of remove and rename that don't 
414           handle utf8 characters. rename was failing for users who had specific
415           characters in their name then the registry was built at each 
416           gstreamer init.
417         * win32/vs6/gst_inspect.dsp:
418         * win32/vs6/gst_launch.dsp:
419         * win32/vs6/libgstbase.dsp:
420         * win32/vs6/libgstcoreelements.dsp:
421         * win32/vs6/libgstreamer.dsp:
422           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
423           build of libgstreamer and clean unused libraries in projects link 
424           settings.
425
426 2006-05-17  Edward Hervey  <edward@fluendo.com>
427
428         * plugins/elements/gstqueue.c: (gst_queue_push_one):
429         The queue is not responsible for pushing an EOS when receiving a fatal
430         flow error. It's up to the real element driving the pipeline to do that.
431
432 2006-05-16  Edward Hervey  <edward@fluendo.com>
433
434         * plugins/elements/gstqueue.c: (gst_queue_push_one):
435         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
436         buffer returned a fatal error. It should just send an EOS and stop
437         it's task.
438         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
439         when pushing buffers on the queue and will be able to handle the event.
440
441 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
442
443         * docs/manual/basics-bins.xml:
444         * docs/manual/basics-init.xml:
445           Fix typos and minor errors in sample code (#341856).
446
447 2006-05-16  Wim Taymans  <wim@fluendo.com>
448
449         * docs/design/part-qos.txt:
450         Fix indexes in formulas to make more sense.
451
452 2006-05-15  Wim Taymans  <wim@fluendo.com>
453
454         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
455         Don't report POSITION based on clock time if sync is
456         disabled in a sink.
457
458 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
459
460         * gst/gstobject.h:
461           Add cast to make compiler happy - refcount variable was a gint
462           in GstObject but is a guint in GObject and g_atomic_int_get()
463           wants a gint *.
464
465 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
466
467         * gst/parse/Makefile.am:
468           chain commands using &&, which also makes parallel make work
469
470 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
471
472         * docs/gst/gstreamer-sections.txt:
473         * gst/gstevent.c:
474         * gst/gstevent.h:
475         * gst/gstmessage.h:
476           Minor docs fixes.
477
478 === release 0.10.6 ===
479
480 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
481
482         * configure.ac:
483           releasing 0.10.6, "Take the cannoli"
484
485 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
486
487         * tools/gst-launch.c: (print_tag):
488           Fix use of uninitialized variable in the hypothetical
489           case that some broken plugin creates a GST_TAG_IMAGE
490           tag containing a NULL buffer (#341667).
491
492 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
493
494         * tools/gst-launch.c: (print_tag):
495           Print something more intelligible for image tags when
496           using the -t switch (#341556).
497
498 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
499
500         * Makefile.am:
501           updates for win32
502         * configure.ac:
503           define GST_MAJORMINOR so we have it available in win32/common/config.h
504           Possibly remove it from our Makefile.am files later
505         * win32/common/config.h:
506         * win32/common/config.h.in:
507           added GST_MAJORMINOR
508         * win32/common/gstenumtypes.c: (register_gst_resource_error):
509         * win32/common/gstversion.h:
510           updated
511
512 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
513
514         * win32/MANIFEST:
515           Update win32 files listing.
516         * win32/common/gstversion.h:
517           Add GST_MAJORMINOR definition.
518         * win32/common/libgstreamer.def:
519           Add new exported functions.
520           
521 2006-05-12  Michael Smith  <msmith@fluendo.com>
522
523         * gst/gstplugin.c: (gst_plugin_load_file):
524           If an so file has no plugin entry point, unload the module.
525
526 2006-05-11  Wim Taymans  <wim@fluendo.com>
527
528         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
529         (gst_queue_set_property):
530         Don't forget to signal the _chain or _loop function 
531         when the queue size or thresholds change since that might
532         cause them to make progres again.
533
534 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
535
536         * gst/gstclock.c: (gst_clock_class_init):
537         * gst/gstindex.c: (gst_index_class_init):
538         * gst/gstobject.c: (gst_object_class_init):
539         * gst/gstpad.c: (gst_pad_class_init):
540         * gst/gstpipeline.c: (gst_pipeline_class_init):
541         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
542         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
543         * libs/gst/base/gstbasetransform.c:
544         (gst_base_transform_class_init):
545         * libs/gst/net/gstnetclientclock.c:
546         (gst_net_client_clock_class_init):
547         * libs/gst/net/gstnettimeprovider.c:
548         (gst_net_time_provider_class_init):
549         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
550         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
551         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
552         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
553         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
554         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
555         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
556         * plugins/elements/gstidentity.c: (gst_identity_class_init):
557         * plugins/elements/gsttee.c: (gst_tee_class_init):
558         * tests/old/examples/plugins/example.c: (gst_example_class_init):
559         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
560           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
561
562 2006-05-11  Wim Taymans  <wim@fluendo.com>
563
564         * gst/gstbuffer.c: (_gst_buffer_initialize):
565         Register subbufer along with the buffer type so that
566         it does not accidentally gets registered from N
567         different streaming threads in a non threadsafe way.
568
569 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
570
571         * gst/gstbuffer.h:
572         * gst/gstevent.h:
573         * gst/gstmessage.h:
574           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
575           gst_event_ref() and gst_message_ref() functions again
576           (ugly hack, please do fix if there's a better way besides
577           overrides.txt, which doesn't seem to work).
578
579 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
580
581         * libs/gst/check/gstcheck.h:
582           add an assert for setting state to avoid lots of repetitive code
583           in the future
584
585 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
586
587         * gst/gstvalue.c: (gst_value_serialize_flags):
588           fix a leak if no flags are set
589         * tests/check/gst/gstvalue.c: (GST_START_TEST):
590           fix leak in tests
591
592 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
593
594         * docs/manual/basics-pads.xml:
595           Expand a bit on caps and filtered links and update
596           examples that were still using the no longer existing
597           gst_pad_link_filtered() (#338206).
598
599 2006-05-10  Wim Taymans  <wim@fluendo.com>
600
601         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
602         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
603         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
604         (gst_collect_pads_stop):
605         * libs/gst/base/gstcollectpads.h:
606         No need to call _stop in _finalize.
607         Iterate the main pad list in _finalize.
608         Added some more debug.
609         Free lists and data in the right order.
610         Also free data whem doing _remove_pad when stopped for
611         backward compatibility protect ::started with PAD_LOCK as
612         well.
613
614 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
615
616         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
617         (gst_structure_parse_value):
618           add some comments
619           rename a method so that it actually says what it does better
620
621 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
622
623         * gst/gstevent.c: (_gst_event_initialize):
624         * gst/gstformat.c: (_gst_format_initialize):
625           make sure some essential types used by events are registered
626           as part of gst_init()
627         * gst/gstvalue.c: (gst_value_serialize_flags):
628           if no flags are set, serialize them to a value that represents NONE
629           so that deserializing them works
630         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
631           add tests for serialization and deserialization of flags
632
633 2006-05-10  Wim Taymans  <wim@fluendo.com>
634
635         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
636         (gst_collect_pads_collect_range), (gst_collect_pads_available),
637         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
638         (gst_collect_pads_event), (gst_collect_pads_chain):
639         Update docs.
640         Better debug info.
641         Catch and return errors from the collect function
642         Refuse data on eos pads.
643
644 2006-05-10  Edward Hervey  <edward@fluendo.com>
645
646         * gst/gstinterface.h:
647         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
648         GInterface type checking.
649         They were previously using non-defined macros.
650
651 2006-05-09  Wim Taymans  <wim@fluendo.com>
652
653         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
654         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
655         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
656         (gst_collect_pads_start), (gst_collect_pads_stop),
657         (gst_collect_pads_peek), (gst_collect_pads_pop),
658         (gst_collect_pads_available), (gst_collect_pads_read),
659         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
660         (gst_collect_pads_is_collected), (gst_collect_pads_event),
661         (gst_collect_pads_chain):
662         * libs/gst/base/gstcollectpads.h:
663         Clean up the mess that is collectpads, add comments and
664         FIXMEs where needed.
665         Maintain a separate pad list so we can add pads while
666         collecting the other ones. For this we need a new separate 
667         lock (see comics).
668         Fix memory leak in finalize.
669         Refactor some weird code to set/unset pad flushing flags, mark
670         with comments.
671         Don't crash in _available, _read, _flush when we're EOS.
672
673         * tests/check/libs/.cvsignore:
674         Ignore adapter check binary.
675
676 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
677
678         * gst/gstindex.c: (gst_index_resolver_get_type):
679         * plugins/elements/gstfakesink.c:
680         (gst_fake_sink_state_error_get_type):
681         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
682         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
683         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
684           Const-ify GEnumValue arrays.
685
686 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
687
688         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
689           Add test case for flags + gst_buffer_make_metadata_writable().
690
691 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
692
693         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
694           gst_buffer_make_metadata_writable() should maintain the
695           buffer flags (those that make sense at least) (see #340859).
696
697 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
698
699         * tools/gst-inspect.c:
700         * tools/gst-launch.c:
701         * tools/gst-typefind.c:
702         * tools/gst-xmlinspect.c:
703         * tools/tools.h:
704           Fix up includes: need to include stdlib.h in tools.h for exit().
705
706 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
707
708         * gst/gsttaglist.c: (_gst_tag_initialize):
709         * gst/gsttaglist.h:
710           API: add GST_TAG_IMAGE tag (#340721).
711
712 2006-05-08  Wim Taymans  <wim@fluendo.com>
713
714         * gst/gstquery.c:
715         Added some docs for the segment query.
716
717 2006-05-08  Wim Taymans  <wim@fluendo.com>
718
719         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
720         (gst_base_src_loop), (gst_base_src_change_state):
721         Always push non-flushing serialized events in the streaming 
722         thread.
723
724 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
725
726         * gst/gsterror.c: (_gst_stream_errors_init):
727           Add a missing error string.
728
729 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
730
731         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
732         Add applied_rate to the debug
733
734         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
735         Copy applied_rate into the outgoing NEWSEGMENT event
736
737 2006-05-08  Wim Taymans  <wim@fluendo.com>
738
739         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
740
741         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
742         (gst_base_sink_change_state):
743         call ::unlock before taking the PREROLL_LOCK so we can safely
744         handle elements that lock in ::render.
745         Fixes #340174.
746
747 2006-05-08  Edward Hervey  <edward@fluendo.com>
748
749         * autogen.sh: (CONFIGURE_DEF_OPT): 
750         Darwin's libtoolize is in fact called glibtoolize.
751         Adding glibtoolize to the list of accepted names for libtoolize.
752
753 2006-05-08  Wim Taymans  <wim@fluendo.com>
754
755         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
756         Unify error handling, don't post an error message
757         when a push() returns EOS but perform our normal EOS
758         handling code. Fixes #340772.
759
760 2006-05-08  Wim Taymans  <wim@fluendo.com>
761
762         * docs/design/part-overview.txt:
763         Make upsteam/downstream concepts more clear.
764         Give an example of serialized/non-serialized events.
765
766         * docs/design/part-events.txt:
767         * docs/design/part-streams.txt:
768         Mention applied_rate.
769
770         * docs/design/part-trickmodes.txt:
771         Mention applied rate, flesh out some more use cases.
772
773         * gst/gstevent.c: (gst_event_new_new_segment),
774         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
775         (gst_event_parse_new_segment_full), (gst_event_new_tag),
776         (gst_event_parse_tag), (gst_event_new_buffer_size),
777         (gst_event_parse_buffer_size), (gst_event_new_qos),
778         (gst_event_parse_qos), (gst_event_parse_seek),
779         (gst_event_new_navigation):
780         * gst/gstevent.h:
781         Add applied_rate field to NEWSEGMENT event.
782         API: gst_event_new_new_segment_full()
783         API: gst_event_parse_new_segment_full()
784
785         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
786         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
787         (gst_segment_to_stream_time), (gst_segment_to_running_time):
788         * gst/gstsegment.h:
789         Add applied_rate to GstSegment structure.
790         Make calculation of stream_time and running_time more correct
791         wrt rate/applied_rate.
792         Add some more docs.
793         API: GstSegment::applied_rate field
794         API: gst_segment_set_newsegment_full();
795
796         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
797         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
798         * libs/gst/base/gstbasetransform.c:
799         (gst_base_transform_sink_eventfunc),
800         (gst_base_transform_handle_buffer):
801         Parse and use applied_rate in the GstSegment field.
802
803         * tests/check/gst/gstevent.c: (GST_START_TEST):
804         Add check for applied_rate field.
805
806         * tests/check/gst/gstsegment.c: (GST_START_TEST),
807         (gstsegments_suite):
808         Add more checks for various GstSegment operations.
809
810 2006-05-08  Wim Taymans  <wim@fluendo.com>
811
812         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
813         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
814         (gst_base_sink_get_position), (gst_base_sink_change_state):
815         Store the sync time of the buffer end position separatly in a
816         new variable eos_rtime so we can properly sync the EOS event.
817         Fixes #340697.
818         Fix the docs for gst_base_sink_set_qos_enabled().
819         Don't set segment start to invalid value when we receive a 
820         non TIME newsegment.
821         get closer to handling position reporting for negative rates 
822         correctly.
823
824 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
825
826         * gst/gstcaps.c:
827         Docs about how to print caps for debug purposes.
828
829         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
830         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
831
832 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
833
834         * gst/gstelement.c:
835           use full enum names and preprend a '%' in docs strings to make recent 
836           gtk-doc turn that into a link
837
838 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
839
840         * docs/manual/basics-bins.xml:
841         * docs/manual/basics-bus.xml:
842         * docs/manual/basics-pads.xml:
843           Some typo fixes, some additions, some clarifications. 
844
845 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
846
847         * tools/gst-inspect.c: (main):
848         * tools/gst-launch.c: (main):
849         * tools/gst-run.c: (main):
850         * tools/gst-typefind.c: (main):
851         * tools/gst-xmlinspect.c: (main):
852           Use the string passed to g_option_context_new() for
853           what it's intended for - the program name is already
854           printed elsewhere.
855
856 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
857
858         * tools/Makefile.am:
859         * tools/gst-inspect.c: (main):
860         * tools/gst-launch.c: (main):
861         * tools/gst-xmlinspect.c: (main):
862         * tools/tools.h:
863           Add back --version command line option (#340460).
864
865         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
866           Add --version option and use GOption for argument parsing; refactor a
867           bit; accept directories as arguments and recurse into them; lastly,
868           print a decent error message when things go wrong.
869
870 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
871
872         * docs/manual/basics-bins.xml:
873         Don't mention GstThread (#340611)
874         * docs/manual/basics-elements.xml:
875         Update link to GObject tutorial (#340607)
876         
877 2006-05-05  Wim Taymans  <wim@fluendo.com>
878
879         * gst/gstbuffer.h:
880         * gst/gstminiobject.c:
881         Add note about refcounting and miniobject/buffer writeability
882         to docs. Fixes #340604
883
884         * gst/gstelementfactory.h:
885         Added some explanation about @klass.
886
887 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
888
889         * docs/manual/intro-motivation.xml:
890         * docs/manual/manual.xml:
891         Avoid CORBA & Bonobo references (#340598)
892
893 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
894
895         * docs/manual/basics-bus.xml:
896         * docs/manual/basics-pads.xml:
897         Fix up some inaccuracies and omissions (#340609)
898         
899 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
900
901         * gst/gstghostpad.c:
902           Small typo in docs (#340625)
903
904 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
905
906         * gst/parse/Makefile.am:
907           Make 'make -j' proof (see #340698).
908
909 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
910
911         * configure.ac:
912           Require GLib-2.8 here as well.
913
914 2006-05-05  Wim Taymans  <wim@fluendo.com>
915
916         * gst/glib-compat.c:
917         * gst/gst.c: (init_pre):
918         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
919         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
920         (gst_object_dispatch_properties_changed):
921         * gst/gstobject.h:
922         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
923         * gst/gststructure.c: (gst_structure_set_valist):
924         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
925         Remove pre glib2.8 compatibility, fixes #340508
926
927 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
928
929         * gst/gsttaglist.h:
930           Mention type of tags in doc blurbs.
931
932 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
933
934         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
935         (gst_pad_configure_src), (gst_pad_push):
936         Restore acceptcaps checking behaviour now that good plugins have
937         been released.
938
939 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
940
941         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
942
943         * gst/gst.c:
944         * gst/gstbus.c:
945         * gst/gstclock.c:
946         * gst/gstevent.c:
947         * gst/gstformat.c:
948         * gst/gstmessage.c:
949         * gst/gstparse.c:
950         * gst/gstquery.c:
951         * gst/gstutils.c:
952         * gst/parse/Makefile.am:
953         * libs/gst/base/gstadapter.c:
954         * libs/gst/base/gstbasesrc.c:
955         * libs/gst/base/gstpushsrc.c:
956         * libs/gst/base/gsttypefindhelper.c:
957         * plugins/elements/gstfakesrc.c:
958         * plugins/elements/gstidentity.c:
959           Make sure gstprivate.h and/or config.h are
960           always included first, otherwise some of our
961           defines (like _FILE_OFFSET_BITS) might be
962           redefined in the system headers. Fixes build
963           on opensolaris (#340016).
964
965 2006-05-04  Wim Taymans  <wim@fluendo.com>
966
967         * docs/libs/gstreamer-libs-sections.txt:
968         API: addition: gst_adapter_take_buffer()
969         
970         * libs/gst/base/gstadapter.c: (gst_adapter_push),
971         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
972         (gst_adapter_available_fast):
973         * libs/gst/base/gstadapter.h:
974         Prepare for optimizing the hell out of this hugely inefficient
975         piece of code. 
976         Added gst_adapter_take_buffer() so we can at least start thinking
977         about subbuffering and merging.
978         Added some comments.
979
980         * tests/check/Makefile.am:
981         * tests/check/libs/adapter.c: (GST_START_TEST),
982         (gst_adapter_suite), (main):
983         Added GstAdapter check.
984
985 2006-05-04  Wim Taymans  <wim@fluendo.com>
986
987         * docs/design/part-overview.txt:
988         Fix some typos, add blurb about buffer flags.
989
990 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
991
992         * docs/libs/gstreamer-libs-sections.txt:
993           make sure GstBaseTransformClass shows up in the docs
994         * libs/gst/base/gstbasetransform.c:
995         * libs/gst/base/gstbasetransform.h:
996           move docs so gtk-doc picks it up now
997
998 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
999
1000         * docs/libs/gstreamer-libs-sections.txt:
1001           add missing symbols to docs
1002
1003 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1004
1005         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1006           back out the newsegment handling change, see #340060 for ongoing
1007           discussion
1008
1009 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
1010
1011         * tools/gst-run.c: (get_candidates), (main):
1012           Fix wrong g_file_test() usage (see glib docs for why it doesn't
1013           work); fix typo in error message. Fixes #340079.
1014
1015 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1016
1017         * common/Makefile.am:
1018         * docs/Makefile.am:
1019         * docs/faq/Makefile.am:
1020         * docs/gst/Makefile.am:
1021         * docs/libs/Makefile.am:
1022         * docs/manual/Makefile.am:
1023         * docs/plugins/Makefile.am:
1024         * docs/pwg/Makefile.am:
1025         * docs/slides/Makefile.am:
1026         * docs/upload.mak:
1027         * common/upload.mak:
1028           move upload.mak to common
1029
1030 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1031
1032         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1033           add more asserts on refcounts
1034           do more cleanup at end of tests
1035           fix test leaks showing in FC5
1036
1037 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
1038
1039         * plugins/elements/gsttypefindelement.c:
1040         (gst_type_find_element_handle_event):
1041         reverted wrong change and reflowed code to avoid others falling into
1042         this trap
1043
1044 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1045
1046         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1047           fix changelog entry about last collectpads change,
1048           add notes about proper fix
1049
1050 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1051
1052         * gst/gst.c:
1053         * gst/gstregistry.c: (gst_registry_scan_path_level),
1054         (gst_registry_scan_path):
1055         * gst/gstregistry.h:
1056           only write out registry if it has changed, fixes #338339
1057
1058 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1059
1060         * gst/gstbin.c:
1061         * gst/gstpipeline.c:
1062         * plugins/elements/gstcapsfilter.c:
1063         * plugins/elements/gstfakesink.c:
1064         * plugins/elements/gstfakesrc.c:
1065         * plugins/elements/gstfdsink.c:
1066         * plugins/elements/gstfdsrc.c:
1067         * plugins/elements/gstfilesink.c:
1068         * plugins/elements/gstfilesrc.c:
1069         * plugins/elements/gstidentity.c:
1070         * plugins/elements/gstqueue.c:
1071         * plugins/elements/gsttee.c:
1072         * plugins/elements/gsttypefindelement.c:
1073         (gst_type_find_element_handle_event):
1074           make GstElementDetails const
1075
1076 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1079         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1080         (gst_collect_pads_is_collected), (gst_collect_pads_event):
1081           more detailed debug and formatting cleanup,
1082           forward newsegments to src-pad (so that e.g. adder not eats them)
1083
1084 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1085
1086         * gst/gstutils.c: (gst_element_link_pads):
1087           cleanup double code
1088
1089 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1090
1091         * libs/gst/controller/gstcontroller.c:
1092         (gst_controller_sync_values):
1093           some little tuning
1094         * tests/check/libs/controller.c: (GST_START_TEST),
1095         (gst_controller_suite):
1096           a new test for live value handling
1097
1098 2006-04-28  Wim Taymans  <wim@fluendo.com>
1099
1100         * gst/gstutils.c: (push_and_ref):
1101         Added some more docs.
1102         Fix refcount issue whith gst_element_found_tags() helper 
1103         function. Fixes #338335
1104
1105         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1106         Added testsuite for gst_element_found_tags().
1107
1108 2006-04-28  Michael Smith  <msmith@fluendo.com>
1109
1110         * gst/gstvalue.c: (gst_value_serialize_flags):
1111           Avoid NULL dereference when trying to serialize flags containing
1112           invalid values.
1113
1114 2006-04-28  Michael Smith  <msmith@fluendo.com>
1115
1116         * plugins/elements/gsttypefindelement.c:
1117         (gst_type_find_element_handle_event):
1118           If we get EOS before any data is accumulated, don't use
1119           uninitialised local variables.
1120
1121 2006-04-28  Michael Smith  <msmith@fluendo.com>
1122
1123         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1124         (gst_dp_event_from_packet):
1125           Fixes in reading/writing events over GDP (not currently used?) - 
1126           dereferencing NULL events for unknown/invalid event types, memory
1127           leak, and change g_warning to GST_WARNING.
1128
1129 2006-04-28  Wim Taymans  <wim@fluendo.com>
1130
1131         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1132         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1133         (gst_base_sink_get_position), (gst_base_sink_change_state):
1134         When frame dropping is enabled, we should not ignore frames
1135         without a duration.
1136         Update some documentation.
1137
1138 2006-04-28  Wim Taymans  <wim@fluendo.com>
1139
1140         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1141         (gst_base_src_send_event), (gst_base_src_change_state):
1142         Documentation updates.
1143
1144 2006-04-28  Wim Taymans  <wim@fluendo.com>
1145
1146         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1147         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1148         handle EAGAIN, EINTR and short writes correctly. Also clean
1149         up some error cases, avoid a deadlock on bad file descriptors and
1150         use GST_DEBUG_OBJECT.
1151         Fixes #339843
1152
1153 2006-04-28  Wim Taymans  <wim@fluendo.com>
1154
1155         * gst/gstvalue.c: (gst_value_serialize_buffer),
1156         (gst_value_deserialize_buffer):
1157         Don't try to serialize a GValue with a NULL buffer. 
1158         Fixes #339821.
1159
1160         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1161         Added check for serialisation of NULL buffers.
1162
1163 2006-04-28  Wim Taymans  <wim@fluendo.com>
1164
1165         * gst/gstminiobject.c: (gst_value_take_mini_object):
1166         Taking a NULL miniobject is valid, fix the case where
1167         we try to unref the NULL miniobject.
1168
1169 2006-04-28  Wim Taymans  <wim@fluendo.com>
1170
1171         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1172
1173         * gst/gstbin.c: (gst_bin_handle_message_func):
1174         Update docs.
1175         Don't leak bin refcount when a state recalc is
1176         in progress and we delay another one #339808.
1177
1178 2006-04-28  Wim Taymans  <wim@fluendo.com>
1179
1180         * docs/design/part-TODO.txt:
1181         Mention QoS as an ongoing work item.
1182
1183         * docs/design/part-buffering.txt:
1184         New doc about buffering that needs to be fleshed out
1185         at some point.
1186
1187         * docs/design/part-qos.txt:
1188         More QoS policy for decoders/demuxers/transforms
1189
1190         * docs/design/part-trickmodes.txt:
1191         Small update.
1192
1193 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1194
1195         * configure.ac:
1196           back to HEAD
1197
1198 === release 0.10.5 ===
1199
1200 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
1201
1202         * configure.ac:
1203           releasing 0.10.5, "Fogo"
1204
1205 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1206
1207         patch by: Wim Taymans
1208
1209         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1210         (gst_pad_configure_src), (gst_pad_push):
1211         * gst/gstpipeline.c: (gst_pipeline_init):
1212           Fix internal data flow errors.  Fixes #338711.
1213
1214 2006-04-12  Wim Taymans  <wim@fluendo.com>
1215
1216         * tests/check/gst/gstelement.c: (GST_START_TEST):
1217         Don't leak the factory.
1218
1219 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1220
1221         * configure.ac:
1222         * win32/common/config.h:
1223           prerelease
1224
1225 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1226
1227         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1228         (gst_controller_unset_all):
1229           Free allocated GstTimedValues when freeing list nodes.
1230           Should fix leaks 'make check-valgrind' complains about.
1231
1232         * win32/common/libgstcontroller.def:
1233           Add gst_controller_unset_all.
1234
1235 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
1236
1237         * docs/libs/gstreamer-libs-sections.txt:
1238         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1239         (gst_controller_unset_all):
1240         * libs/gst/controller/gstcontroller.h:
1241         API: Added new method gst_controller_unset_all()
1242         fixed gst_controller_unset()
1243         * tests/check/libs/controller.c: (GST_START_TEST),
1244         (gst_controller_suite):
1245         Added two testcases for new and fixed method
1246
1247 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1250           MSG_DONTWAIT is not defined on Cygwin, so work
1251           around that (fixes #317048).
1252           
1253 2006-04-11  Wim Taymans  <wim@fluendo.com>
1254
1255         * gst/gstelementfactory.c: (gst_element_register),
1256         (gst_element_factory_create), (gst_element_factory_make):
1257         Some cleanups.
1258         Fixed a FIXME.
1259         Updated docs (Fixes #131079)
1260
1261         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1262         Small cleanups.
1263
1264         * tests/check/gst/gstelement.c: (GST_START_TEST),
1265         (gst_element_suite):
1266         Added testcase for elementfactory class field.
1267
1268 2006-04-10  Wim Taymans  <wim@fluendo.com>
1269
1270         * gst/gstsegment.c:
1271         Added some more docs.
1272
1273         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1274         (gst_base_sink_reset_qos):
1275         Calculate more accurate rate values.
1276
1277 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
1278
1279         * gst/gst_private.h:
1280           add a new #ifdef to use __declspec(dllimport) only for
1281           other modules and not for gstreamer core
1282         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1283           use gst_guint64_to_gdouble for conversion
1284         * win32/common/libgstreamer.def:
1285           add new exported functions
1286         * win32/vs6/gst_inspect.dsp:
1287         * win32/vs6/gst_launch.dsp:
1288         * win32/vs6/libgstbase.dsp:
1289         * win32/vs6/libgstcontroller.dsp:
1290         * win32/vs6/libgstcoreelements.dsp:
1291         * win32/vs6/libgstdataprotocol.dsp:
1292         * win32/vs6/libgstnet.dsp:
1293           update project files
1294
1295 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1296
1297         * gst/gstbuffer.c: (gst_subbuffer_class_init):
1298         * gst/gstclock.c: (gst_clock_class_init):
1299         * gst/gstelement.c: (gst_element_class_init):
1300         * gst/gstindex.c: (gst_index_class_init):
1301         * gst/gstindexfactory.c: (gst_index_factory_class_init):
1302         * gst/gstobject.c: (gst_object_class_init),
1303         (gst_signal_object_class_init):
1304         * gst/gstpad.c: (gst_pad_class_init):
1305         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1306         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1307         * gst/gstregistry.c: (gst_registry_class_init):
1308         * gst/gstsystemclock.c: (gst_system_clock_class_init):
1309         * gst/gsttask.c: (gst_task_class_init):
1310         * gst/gstxml.c: (gst_xml_class_init):
1311         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1312         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1313         (gst_base_src_loop):
1314         * libs/gst/controller/gstcontroller.c:/
1315         (_gst_controller_class_init):
1316         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1317         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1318         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1319         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1320         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1321         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1322
1323 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
1324
1325         * gst/gstpad.c: (gst_pad_link):
1326           Must set peer pads before calling the link function, otherwise
1327           a task started from a link function might get a flow-not-linked
1328           result when trying to push because the other thread where the
1329           linking happens hasn't had a chance to set the peers yet. This
1330           might happen for example when a queue gets linked to a downstream
1331           element, as queue starts a streaming task when its source pad
1332           gets linked. Happens in real life when playing back flac/musepack
1333           files in playbin (#332390).
1334           
1335 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1336
1337         * gst/gstindex.h:
1338         * gst/gstxml.h:
1339         * libs/gst/base/gstadapter.h:
1340         * libs/gst/base/gstbasesink.h:
1341         * libs/gst/base/gstbasesrc.h:
1342         * libs/gst/base/gstbasetransform.h:
1343         * libs/gst/base/gstcollectpads.h:
1344         * libs/gst/base/gstpushsrc.h:
1345         Fix broken GObject macros
1346
1347 2006-04-07  Wim Taymans  <wim@fluendo.com>
1348
1349         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1350         Initialize start and stop times, thanks valgrind.
1351
1352 2006-04-07  Wim Taymans  <wim@fluendo.com>
1353
1354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1355         Be a bit nicer to badly behaving upstream elements that expect
1356         us to deal with non TIME segments and timestamps (such as fakesrc
1357         in the testsuite).
1358
1359 2006-04-07  Wim Taymans  <wim@fluendo.com>
1360
1361         * gst/gstbus.c:
1362         Small documentation clarification about the signal watch.
1363
1364         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1365         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1366         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1367         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1368         (gst_base_sink_get_position_last),
1369         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1370         Convert and store timestamps in stream time and running time, the
1371         raw timestamps are not usefull, also document this better.
1372         Use different window sizes for good and bad QoS observations so
1373         we react to badness a little quicker.
1374         Keep track of the amount of rendered and dropped buffers.
1375         Send QoS timestamps in running time.
1376
1377         * libs/gst/base/gstbasetransform.c:
1378         (gst_base_transform_sink_eventfunc),
1379         (gst_base_transform_handle_buffer):
1380         Compare QoS timestamps against running time.
1381
1382 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1383
1384         * gst/gstpad.c:
1385           Typo fixes in docs.
1386
1387 2006-04-06  Michael Smith  <msmith@fluendo.com>
1388
1389         * gst/gstpad.c: (gst_pad_set_property):
1390           Use g_value_get_object() instead of g_value_dup_gst_object(),
1391           to avoid double-reffing the pad template (which we then sink,
1392           so this worked previously if (and only if) the pad template
1393           was floating.
1394
1395         * gst/gstpadtemplate.c: (gst_pad_template_init),
1396         (gst_pad_template_pad_created):
1397           Never return floating references to pad templates, create
1398           them as initially-sunken.
1399
1400           Document an extra function (and make this stop sinking our
1401           pad template, since that is now guaranteed to do nothing,
1402           since we created it sunken).
1403
1404         * gst/gstghostpad.c:
1405           Fix docs typo.
1406
1407 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1408
1409         * gst/gstinfo.c: (__gst_in_valgrind):
1410           Add some newlines.
1411
1412         * plugins/elements/gsttypefindelement.c:
1413         (gst_type_find_element_chain):
1414           Don't leak buffer caps.
1415
1416 2006-04-06  Michael Smith  <msmith@fluendo.com>
1417
1418         * gst/parse/grammar.y:
1419           Fix a leak in parse-launch for any source-or-sink named element 
1420           references used.
1421
1422         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1423           Unref the pipeline if it exists after we've failed parsing.
1424
1425 2006-04-05  Michael Smith  <msmith@fluendo.com>
1426
1427         * gst/gstpipeline.c: (gst_pipeline_init):
1428           When we create a pipeline bus, initially create it in flushing mode.
1429           Fixes leaks in at least one test, and makes a new pipeline work the
1430           same as one that has gone to READY and then back to NULL.
1431
1432         * gst/gstelement.c:
1433           Typo fix in docs.
1434
1435 2006-04-05  Michael Smith  <msmith@fluendo.com>
1436
1437         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1438           Unref a pad we reffed.
1439         * tests/check/gst/gstutils.c: (GST_START_TEST):
1440           Unref bins
1441
1442 2006-04-05  Michael Smith  <msmith@fluendo.com>
1443
1444         * gst/gstquery.c: (gst_query_set_formats),
1445         (gst_query_set_formatsv):
1446           Fix leaking GValues in queries, as shown by valgrind/testsuite.
1447
1448 2006-04-05  Michael Smith  <msmith@fluendo.com>
1449
1450         * tests/check/generic/sinks.c: (GST_START_TEST):
1451           Fix a variety of memleaks in sinks check, which are only sometimes 
1452           shown by running the tests under valgrind (weird?).
1453
1454 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
1455
1456         * docs/version.entities.in:
1457           Fix the substituted entity name after thomas' changes on the
1458           weekend.
1459
1460 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1461
1462         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1463         VALGRIND_PRINTF
1464         
1465 2006-04-05  Andy Wingo  <wingo@pobox.com>
1466
1467         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1468
1469         * libs/gst/base/gstbasetransform.c
1470         (gst_base_transform_sink_eventfunc): When resetting our segment on
1471         FLUSH_STOP, also update the flag saying we haven't seen a
1472         newsegment.
1473
1474 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1475
1476         Patch by: Paolo Borelli  <pborelli at katamail dot com>
1477
1478         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1479         (gst_plugin_check_license):
1480           minor clean-ups: G_DEFINE_TYPE already takes care of the
1481           parent_class stuff, no need to do it twice. Mark array of
1482           license strings as constant. (#337103)
1483           
1484 2006-04-04  Michael Smith  <msmith@fluendo.com>
1485
1486         * tools/gst-inspect.c: (print_element_list):
1487           Free the right plugin list; fixes a memory leak.
1488
1489 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1490
1491         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
1492
1493         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1494           Don't error out on empty buffers (#336945).
1495           
1496 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
1497
1498         * docs/libs/gstreamer-libs-sections.txt:
1499         * gst/gsttaglist.c:
1500         * libs/gst/base/gstbasesink.c:
1501         * libs/gst/base/gstbasesink.h:
1502         * libs/gst/base/gstbasesrc.c:
1503         * libs/gst/base/gstbasesrc.h:
1504           Documentation updates. Make BaseSink and BaseSrc docs contain the
1505           class structure so that people can actually see the prototypes for
1506           virtual functions they're supposed to be overriding.
1507
1508 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1509
1510         * plugins/elements/gsttypefindelement.c:
1511         (gst_type_find_element_chain):
1512           More debug info; when skipping typefinding, send cached
1513           events in all cases.
1514
1515 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1516
1517         * configure.ac:
1518           use new AS_VERSION and AS_NANO macros
1519         * gst/gst-i18n-lib.h:
1520         * gst/gst.c:
1521         * gst/gsterror.c:
1522         * gst/gstversion.h.in:
1523         * win32/common/config.h:
1524         * win32/common/config.h.in:
1525           update accordingly
1526
1527 2006-03-31  Michael Smith  <msmith@fluendo.com>
1528
1529         * plugins/elements/gsttypefindelement.c:
1530         (gst_type_find_element_chain):
1531           Do not typefind content if the buffers already have caps.
1532           Neccesary for icydemux (#333657), and the right thing to do anyway.
1533
1534 2006-03-30  Wim Taymans  <wim@fluendo.com>
1535
1536         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1537         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1538         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1539         (gst_base_sink_record_qos_observation),
1540         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1541         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1542         (gst_base_sink_change_state):
1543         More QoS measurements as described in the design doc.
1544         Get rid of ringbuffer with observations, running average is
1545         more simple and equally good.
1546         Calculates valid proportion now.
1547         Added beginning of flood measurement.
1548
1549 2006-03-29  Wim Taymans  <wim@fluendo.com>
1550
1551         * docs/design/part-qos.txt:
1552         * gst/gstclock.c:
1553         Small documentation updates and additions.
1554
1555 2006-03-29  Wim Taymans  <wim@fluendo.com>
1556
1557         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1558         (gst_base_src_send_event), (gst_base_src_loop),
1559         (gst_base_src_change_state):
1560         Perform the EOS logic when we reach the segment stop position.
1561         Fix compilation on gcc4.1
1562
1563 2006-03-29  Wim Taymans  <wim@fluendo.com>
1564
1565         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1566
1567         * plugins/elements/gstqueue.c: (gst_queue_init),
1568         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1569         (gst_queue_set_property):
1570         * plugins/elements/gstqueue.h:
1571         In queue, when EOS is received, if minimum threshold > max_size -
1572         current_level, there is chance that queue blocks forever in conditional
1573         item del wait. This is because the queue is not emptied completely due
1574         to minimum threshold.  Here is another approach. Instead of setting
1575         cur_levels to max in EOS, just zero all minimum threshold levels. This
1576         should make sure that queue gives out all data. When going to READY
1577         (stop) state, just reset the original minimum threshold levels.
1578         Fixes #336336.
1579
1580 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
1581
1582         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1583         (gst_type_find_element_handle_event),
1584         (gst_type_find_element_send_cached_events),
1585         (gst_type_find_element_change_state):
1586         * plugins/elements/gsttypefindelement.h:
1587           When typefinding is done in push mode, we should cache
1588           events we receive during typefinding instead of just
1589           dropping them (e.g. newsegment, custom events from
1590           dvdreadsrc etc.) and then send them out once we've
1591           determined the type of the stream (and decodebin
1592           has had a chance to plug in a decoder/demuxer).
1593           
1594 2006-03-27  Wim Taymans  <wim@fluendo.com>
1595
1596         * docs/design/part-qos.txt:
1597         First QoS ideas.
1598
1599 2006-03-27  Wim Taymans  <wim@fluendo.com>
1600
1601         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1602
1603         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1604         (gst_base_src_send_event), (gst_base_src_change_state):
1605         Handle element seek correctly when we are streaming.
1606         Fixes #326998.
1607
1608 2006-03-24  Michael Smith  <msmith@fluendo.com>
1609
1610         * docs/faq/gst-uninstalled:
1611           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1612           allow you to correctly run intalled applications built against old 
1613           core, using plugins that require updated core (e.g. running
1614           installed totem against a full uninstalled gstreamer stack)
1615
1616 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1617
1618         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1619         more debug details
1620
1621 2006-03-24  Wim Taymans  <wim@fluendo.com>
1622
1623         * docs/gst/gstreamer-sections.txt:
1624         Rearrange the order of the methods so that related methods
1625         are grouped together in sections.
1626
1627 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1628
1629         * gst/gstelement.c:
1630           Little clarification in the docs
1631
1632 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * docs/README:
1635         formatting fix
1636         * plugins/elements/gstidentity.c:
1637         * plugins/elements/gstqueue.c:
1638         * plugins/elements/gsttee.c:
1639         * plugins/elements/gsttypefindelement.c:
1640         GST_ELEMENT_DETAILS formatting
1641
1642 2006-03-24  Wim Taymans  <wim@fluendo.com>
1643
1644         * libs/gst/base/gstbasesink.h:
1645         Only add fields, not insert or we break ABI.
1646
1647 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1648
1649         * win32/common/libgstbase.def:
1650         * win32/common/libgstreamer.def:
1651           Update, add recently added functions.
1652
1653 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1654
1655         * docs/gst/gstreamer-sections.txt:
1656         * gst/gstutils.c: (gst_pad_query_peer_position),
1657         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1658         * gst/gstutils.h:
1659           API: add some new utility functions:
1660            - gst_pad_query_peer_position()
1661            - gst_pad_query_peer_duration()
1662            - gst_pad_query_peer_convert()
1663           
1664 2006-03-23  Wim Taymans  <wim@fluendo.com>
1665
1666         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1667         (gst_base_sink_init), (gst_base_sink_finalize),
1668         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1669         (gst_base_sink_set_property), (gst_base_sink_get_property),
1670         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1671         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1672         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1673         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1674         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1675         (gst_base_sink_preroll_object), (gst_base_sink_event),
1676         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1677         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1678         (gst_base_sink_query), (gst_base_sink_change_state):
1679         Decouple max-lateness and the fact that QoS messages are generated
1680         with a new property (qos).
1681         added API: GstBaseSink::async_play()
1682         Add vmethod so subclasses can be notified of ASYNC playing
1683         state changes.
1684         Collect timestamp start and stop to report better current
1685         position in EOS/PLAYING/PAUSED/READY/NULL.
1686         Refactor QoS/frame dropping and other measurements.
1687         API: GstBaseSrc::qos
1688         Fixes #326311
1689
1690         * libs/gst/base/gstbasesink.h:
1691         Added Private struct.
1692         API: gst_base_sink_set_qos_enabled()
1693         API: gst_base_sink_is_qos_enabled()
1694
1695 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1696
1697         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1698           If compiling against GLib-2.8 or newer, try to read the
1699           registry file using GMappedFile first before falling back
1700           to fopen() + fread() (#332151).
1701
1702 2006-03-22  Wim Taymans  <wim@fluendo.com>
1703
1704         * gst/gstinfo.c: (gst_debug_set_active),
1705         (gst_debug_category_set_threshold):
1706         Disable debugging unless explicitly activated.
1707         Fixes #335480.
1708
1709 2006-03-22  Wim Taymans  <wim@fluendo.com>
1710
1711         * gst/gstelement.c: (gst_element_set_locked_state),
1712         (gst_element_dispose):
1713         Cleanup the error case.
1714
1715         * gst/gstobject.c: (gst_object_dispose):
1716         print a critical when some object was disposed with
1717         a parent, also revive the object since it might
1718         crash the parent.
1719
1720 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
1721
1722         * tools/gst-launch.1.in:
1723           Fix another typo.
1724
1725 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1726
1727         * configure.ac:
1728         * tests/check/Makefile.am:
1729           disable some tests when we don't have a registry
1730         * tests/check/gst/gstutils.c: (gst_utils_suite):
1731           don't build the part that needs parsing
1732
1733 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1734
1735         * gst/Makefile.am
1736         * tests/examples/Makefile.am:
1737           fix --disable-parse build
1738
1739 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1740
1741         * tools/gst-feedback.1.in:
1742           Fix typo: s/feeback/feedback/ (#133494).
1743
1744 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1745
1746         * tools/Makefile.am:
1747         * tools/gst-launch.1.in:
1748           Add FILES section and correct entry about GST_REGISTRY_PATH
1749           environment variable (#133495; #133494).
1750
1751 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1752
1753         * tools/Makefile.am:
1754         * tools/gst-md5sum.1.in:
1755         * tools/gst-md5sum.c:
1756           Remove gst-md5sum and man page (the md5sink element
1757           required was removed ages ago)
1758
1759 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1760
1761         * gst/gststructure.c: (gst_structure_id_set_value):
1762           Make sure that string fields in structures/taglists
1763           contain valid UTF-8 - we don't want to pass rubbish to
1764           applications because of a buggy plugin (cp. #334167).
1765
1766 2006-03-21  Edward Hervey  <edward@fluendo.com>
1767
1768         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1769         (gst_bin_handle_message_func):
1770         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
1771         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
1772         (gst_element_set_bus_func):
1773         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
1774         * gst/gstminiobject.c: (gst_value_set_mini_object),
1775         (gst_value_take_mini_object):
1776         * gst/gstpad.c: (gst_pad_set_pad_template):
1777         * gst/gstpipeline.c: (gst_pipeline_dispose),
1778         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1779         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
1780         (gst_collect_pads_chain):
1781         * libs/gst/net/gstnettimeprovider.c:
1782         (gst_net_time_provider_set_property):
1783         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
1784         It's in fact all issues with gst_*object_replace().
1785
1786 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1787
1788         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
1789         
1790         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1791         * pkgconfig/gstreamer-check.pc.in:
1792           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
1793
1794 2006-03-21  Edward Hervey  <edward@fluendo.com>
1795
1796         * gst/gstbuffer.h:
1797         * gst/gstevent.h:
1798         * gst/gstmessage.h:
1799         gst_[buffer|event|message]_ref() macros are replaced by a static
1800         inline functions because gcc-4.1 will about if the return value
1801         isn't used.
1802         * tests/check/gst/gstevent.c: (event_probe):
1803         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
1804
1805 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
1806
1807         * gst/gstutils.h:
1808         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
1809         the type' case. (Closes: #335195 for now). In the future, when we
1810         depend on GLib 2.10, we could also intern the type name using
1811         g_intern_static_string()
1812
1813 2006-03-20  Wim Taymans  <wim@fluendo.com>
1814
1815         * gst/gstbin.c: (gst_bin_handle_message_func),
1816         (bin_query_max_init), (bin_query_position_fold),
1817         (bin_query_position_done), (gst_bin_query):
1818         Position query should also take max of all streams.
1819
1820 2006-03-20  Wim Taymans  <wim@fluendo.com>
1821
1822         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1823         (gst_fake_src_finalize):
1824         Fix leaks in fakesrc.
1825
1826         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1827         Fix leaks in the testcase.
1828
1829 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
1830
1831         * gst/gst_private.h:
1832           add win32 specific import decoration(__declspec(dllimport)) 
1833           for all extern GstDebugCategory * variables
1834         * win32/common/libgstbase.def:
1835         * win32/common/libgstcontroller.def:
1836         * win32/common/libgstreamer.def:
1837           Add some exports, remove empty lines
1838         * win32/common/libgstdataprotocol.def:
1839         * win32/common/libgstdataprotocol.dsp:
1840         * win32/common/libgstnet.def:
1841         * win32/common/libgstnet.dsp:
1842           new project files and exportation files added
1843         
1844 2006-03-19  Wim Taymans  <wim@fluendo.com>
1845
1846         * tests/check/libs/basesrc.c: (eos_event_counter):
1847         Use proper return value for probe.
1848
1849 2006-03-17  Wim Taymans  <wim@fluendo.com>
1850
1851         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1852         (gst_pad_push):
1853         Don't leak buffers, caps and pads on negotiation errors.
1854
1855 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
1856
1857         * docs/faq/cvs.xml:
1858         * docs/faq/dependencies.xml:
1859         * docs/faq/developing.xml:
1860         * docs/faq/faq.xml:
1861         * docs/faq/general.xml:
1862         * docs/faq/getting.xml:
1863         * docs/faq/legal.xml:
1864         * docs/faq/troubleshooting.xml:
1865         * docs/faq/using.xml:
1866         Faq review and update.
1867
1868 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
1869
1870         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1871         (gst_pad_push):
1872         Don't pound the cpu to pieces by checking get_caps when accept_caps
1873         is called with the same caps as the pad already has.
1874         Use GST_DEBUG_OBJECT when outputting caps change information.
1875
1876 2006-03-15  Wim Taymans  <wim@fluendo.com>
1877
1878         * gst/gstclock.c: (gst_clock_class_init):
1879         Fix docs.
1880
1881 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
1882
1883         * gst/gstbuffer.h:
1884         Documentation fix.
1885
1886         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
1887         (gst_pad_accept_caps), (gst_pad_configure_sink),
1888         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
1889         Make the default acceptcaps behaviour be to check the requested 
1890         caps against the gst_pad_get_caps output. 
1891
1892         Ensure that gst_pad_accept_caps is used to check caps when a pad
1893         doesn't have a setcaps function, so that pads automatically refuse 
1894         caps that they don't allow in their pad template. (Fixes #332986)
1895
1896         When a buffer with attached caps is pushed, ensure that the source 
1897         pad receives those caps even if the element didn't call
1898         gst_pad_set_caps first.
1899
1900 2006-03-15  Wim Taymans  <wim@fluendo.com>
1901
1902         * libs/gst/base/gstadapter.c:
1903         Add some docs.
1904
1905 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
1906
1907         * win32/common/libgstbase.def:
1908         * win32/common/libgstcontroller.def:
1909         * win32/common/libgstreamer.def:
1910           Add a whole bunch of missing functions (#334434).
1911
1912 2006-03-14  Wim Taymans  <wim@fluendo.com>
1913
1914         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1915         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
1916         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
1917         Better debug info when we receive a segment event.
1918         Reorganize a bit so we can pass the get_times() results around.
1919         Use the segment format when calculating the running time.
1920         Don't do QoS is sync is disabled or we have no clock or the
1921         element does not want us to sync to the clock.
1922         Don't drop buffers if QoS is disabled for now.
1923
1924 2006-03-14  Wim Taymans  <wim@fluendo.com>
1925
1926         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
1927         Marked the stats property as unimplemented so people don't get
1928         wild ideas.
1929         Add debug message when regression goes wrong.
1930         Added some more docs.
1931
1932 2006-03-14  Wim Taymans  <wim@fluendo.com>
1933
1934         * gst/gstsegment.c: (gst_segment_to_stream_time):
1935         Return correct return type in case of errors.
1936
1937 2006-03-14  Wim Taymans  <wim@fluendo.com>
1938
1939         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
1940           Don't segfault on invalid formats.
1941
1942 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1943
1944         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1945           Can't use gst_segment_to_running_time() when the segment
1946           is not in GST_TIME_FORMAT (like with filesink, for example).
1947           Stops flac encoding pipelines from spewing critical warnings
1948           at EOS (#331248).
1949           
1950 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         * gst/gstpipeline.c: (gst_pipeline_class_init):
1953           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
1954
1955         * plugins/elements/gsttypefindelement.c:
1956         (gst_type_find_element_handle_event):
1957           Don't try to typefind empty streams.
1958
1959 2006-03-14  Wim Taymans  <wim@fluendo.com>
1960
1961         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
1962         (gst_base_sink_do_qos):
1963         Separate QoS calculation.
1964         Only drop buffers when lateness is bigger than the 
1965         duration of the buffer.
1966
1967 2006-03-13  Wim Taymans  <wim@fluendo.com>
1968
1969         * gst/gstpipeline.c: (gst_pipeline_set_property),
1970         (gst_pipeline_get_property), (do_pipeline_seek),
1971         (gst_pipeline_change_state), (gst_pipeline_set_delay),
1972         (gst_pipeline_get_delay):
1973         Don't deadlock when reading properties.
1974
1975 2006-03-13  Wim Taymans  <wim@fluendo.com>
1976
1977         * libs/gst/base/gstbasetransform.c:
1978         (gst_base_transform_class_init), (gst_base_transform_init),
1979         (gst_base_transform_sink_event),
1980         (gst_base_transform_sink_eventfunc),
1981         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
1982         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1983         (gst_base_transform_set_property),
1984         (gst_base_transform_get_property),
1985         (gst_base_transform_change_state), (gst_base_transform_update_qos),
1986         (gst_base_transform_set_qos_enabled),
1987         (gst_base_transform_is_qos_enabled):
1988         * libs/gst/base/gstbasetransform.h:
1989         Make basetransform virtual method for src events too.
1990         Handle QOS in basetransform.
1991         API: gst_base_transform_update_qos()
1992         API: gst_base_transform_set_qos_enabled()
1993         API: gst_base_transform_is_qos_enabled()
1994
1995 2006-03-13  Wim Taymans  <wim@fluendo.com>
1996
1997         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1998         (gst_base_sink_do_sync):
1999         Small cleanups.
2000         Use QOS debug category.
2001
2002 2006-03-13  Wim Taymans  <wim@fluendo.com>
2003
2004         * plugins/elements/gstqueue.c:
2005         Very small doc update.
2006
2007 2006-03-13  Wim Taymans  <wim@fluendo.com>
2008
2009         * gst/gst_private.h:
2010         * gst/gstinfo.c: (_gst_debug_init):
2011         Added QOS debug category
2012
2013 2006-03-13  Wim Taymans  <wim@fluendo.com>
2014
2015         * docs/gst/gstreamer-sections.txt:
2016         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2017         * gst/gstbin.h:
2018         * gst/gstbus.c: (gst_bus_class_init):
2019         * gst/gstbus.h:
2020         * gst/gstclock.c:
2021         * gst/gstelement.c: (gst_element_set_locked_state):
2022         * gst/gstsegment.c:
2023         Documentation updates.
2024
2025         * gst/gstpipeline.c: (gst_pipeline_get_type),
2026         (gst_pipeline_class_init), (gst_pipeline_init),
2027         (gst_pipeline_dispose), (gst_pipeline_set_property),
2028         (gst_pipeline_get_property), (do_pipeline_seek),
2029         (gst_pipeline_send_event), (gst_pipeline_change_state),
2030         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2031         (gst_pipeline_get_delay):
2032         * gst/gstpipeline.h:
2033         Added methods for setting the delay.
2034         API: gst_pipeline_set_delay()
2035         API: gst_pipeline_get_delay()
2036         Add pipeline debug category
2037         Various cleanups.
2038         Updated docs.
2039         Don't reset stream time when seek failed.
2040
2041 2006-03-13  Wim Taymans  <wim@fluendo.com>
2042
2043         * docs/design/draft-klass.txt:
2044         * docs/design/part-clocks.txt:
2045         * docs/design/part-events.txt:
2046         * docs/design/part-gstbin.txt:
2047         * docs/design/part-gstpipeline.txt:
2048         * docs/design/part-messages.txt:
2049         * docs/design/part-negotiation.txt:
2050         * docs/design/part-overview.txt:
2051         * docs/design/part-preroll.txt:
2052         * docs/design/part-seeking.txt:
2053         * docs/design/part-states.txt:
2054         * docs/design/part-streams.txt:
2055         Documentation updates.
2056
2057 2006-03-12  Julien MOUTTE  <julien@moutte.net>
2058
2059         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2060         us to leak strings...
2061
2062 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2063
2064         * libs/gst/net/gstnettimeprovider.c:
2065           fix docs
2066         * win32/common/config.h:
2067           update
2068
2069 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2070
2071         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2072
2073         * configure.ac:
2074           Don't check for libgnomeui (leftover from old examples
2075           that aren't built or disted any longer) (#334303).
2076           
2077 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
2078
2079         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2080         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2081           Emit RESOURCE_NO_SPACE_LEFT error here as well when
2082           there's no space left on the device.
2083
2084 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
2085
2086         * gst/gstclock.h:
2087           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2088           to cast the input to GstClockTime before comparing with
2089           another GstClockTime value.
2090
2091 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2092
2093         * configure.ac:
2094           back to trunk
2095
2096 === release 0.10.4 ===
2097
2098 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
2099
2100         * configure.ac:
2101           releasing 0.10.4, "Light"
2102
2103 2006-03-10  Michael Smith  <msmith@fluendo.com>
2104
2105         * libs/gst/dataprotocol/dataprotocol.c:
2106           Fix docs for dataprocotol to not get the return types completely
2107           wrong for a few functions.
2108
2109 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2110
2111         * docs/gst/gstreamer-sections.txt:
2112         * gst/gstpipeline.c: (gst_pipeline_class_init),
2113         (gst_pipeline_init), (gst_pipeline_set_property),
2114         (gst_pipeline_get_property), (gst_pipeline_change_state),
2115         (gst_pipeline_set_auto_flush_bus),
2116         (gst_pipeline_get_auto_flush_bus):
2117         * gst/gstpipeline.h:
2118           Add new API: gst_pipeline_set_auto_flush_bus() and
2119           gst_pipeline_get_auto_flush_bus() to disable automatic
2120           flushing of the pipeline's GstBus when going from READY
2121           to NULL state (#332045).
2122
2123 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2124
2125         * docs/gst/gstreamer-sections.txt:
2126         * gst/gsturi.c: (gst_uri_has_protocol):
2127         * gst/gsturi.h:
2128            Add new API: gst_uri_has_protocol() (#333779).
2129
2130 2006-03-09  Wim Taymans  <wim@fluendo.com>
2131
2132         * gst/gstclock.c: (gst_clock_entry_new),
2133         (gst_clock_id_compare_func), (gst_clock_id_wait),
2134         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2135         (gst_clock_init), (gst_clock_get_internal_time),
2136         (gst_clock_set_master), (do_linear_regression),
2137         (gst_clock_add_observation), (gst_clock_set_property):
2138         * gst/gstclock.h:
2139         Review docs.
2140         Small cleanups.
2141         Fix a possible segfault when the window-size is made smaller.
2142         Calculate jitter before performing the clock wait. Ideally
2143         the clock implementation should calculate jitter but we need
2144         API breakage for that.
2145
2146         * gst/gstsystemclock.c: (gst_system_clock_init):
2147         Docs review.
2148         
2149         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2150         Remove leftover else
2151
2152         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2153         (gst_systemclock_suite):
2154         Added check to test GST_CLOCK_DIFF.
2155
2156 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2157
2158         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2159         (gst_type_find_helper_get_range):
2160           If we are provided with the size, we should implement
2161           GstTypeFind::get_length, so that typefind functions who
2162           want to can actually peek at the middle of a file.
2163
2164 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
2165
2166         * docs/manual/advanced-dataaccess.xml:
2167           Add some very very basic error checking.
2168
2169         * docs/pwg/appendix-checklist.xml:
2170           Some updates to the list of things to check when writing an element.
2171
2172 2006-03-08  Wim Taymans  <wim@fluendo.com>
2173
2174         * docs/design/part-element-transform.txt:
2175         Added some docs about the design of tranform elements.
2176
2177         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2178         (gst_base_src_loop), (gst_base_src_change_state):
2179         Mark buffers with the DISCONT flag.
2180
2181 2006-03-08  Michael Smith  <msmith@fluendo.com>
2182
2183         * gst/gstregistry.h:
2184         * gst/gstregistryxml.c: (gst_registry_save),
2185         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2186         (gst_registry_xml_save_pad_template),
2187         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2188         (gst_registry_xml_write_cache):
2189           Rewrite registry-saving to avoid race conditions and check for
2190           failed writes.
2191
2192 2006-03-08  Wim Taymans  <wim@fluendo.com>
2193
2194         * libs/gst/base/gstbasetransform.c:
2195         (gst_base_transform_transform_caps),
2196         (gst_base_transform_transform_size),
2197         (gst_base_transform_prepare_output_buffer),
2198         (gst_base_transform_get_unit_size),
2199         (gst_base_transform_buffer_alloc),
2200         (gst_base_transform_handle_buffer),
2201         (gst_base_transform_change_state):
2202         Cleanups, separate normal flow from errors, add sensible
2203         DEBUG lines.
2204         Don't try to renegotiate when allocating an output buffer.
2205         Also copy DISCONT buffer flag when copying a buffer.
2206         Reset the transform after we finish streaming, not during.
2207
2208 2006-03-08  Wim Taymans  <wim@fluendo.com>
2209
2210         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2211         Use last buffer timestamp in qos message.
2212
2213 2006-03-07  Wim Taymans  <wim@fluendo.com>
2214
2215         Patch by: Christophe Fergeau
2216
2217         * docs/pwg/advanced-tagging.xml:
2218         * docs/pwg/building-pads.xml:
2219           fixes #333416
2220
2221 2006-03-07  Wim Taymans  <wim@fluendo.com>
2222
2223         * docs/libs/gstreamer-libs-sections.txt:
2224         Added basesink new methods.
2225
2226         * gst/gstevent.c:
2227         * gst/gstevent.h:
2228         Docs updates. Flesh out the QoS docs.
2229
2230         * libs/gst/base/gstadapter.c:
2231         Small doc clarification about ownership and flushing.
2232
2233         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2234         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2235         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2236         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2237         * libs/gst/base/gstbasesink.h:
2238         API additions: 
2239         Added new methods to allow subclass to control max-lateness 
2240         and sync.
2241         Generate very basic QoS events based on last sync observation.
2242         Updated docs, fix typo, added some QoS blurb.
2243
2244         * libs/gst/base/gstbasesrc.c:
2245         Remove obsolete _get_state() calls from docs.
2246
2247 2006-03-07  Wim Taymans  <wim@fluendo.com>
2248
2249         * docs/libs/gstreamer-libs-sections.txt:
2250         * libs/gst/base/gstbasetransform.h:
2251         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2252         Fix docs for GstBaseSrc.
2253
2254 2006-03-07  Wim Taymans  <wim@fluendo.com>
2255
2256         * docs/gst/gstreamer-sections.txt:
2257         * gst/gstbuffer.h:
2258         * gst/gstvalue.c:
2259         * libs/gst/base/gstbasetransform.h:
2260         Small documentation fixes.
2261
2262 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2263
2264         * gst/gstvalue.c:
2265           Document thread-unsafety of gst_value_register_foo_func()
2266           when used at the same time as gst_value_foo() (#322628).
2267
2268 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2269
2270         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2271         (gst_push_src_check_get_range):
2272           Push sources don't support pull mode by default.
2273
2274 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2275
2276         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2277         (gst_base_src_init), (gst_base_src_pad_check_get_range),
2278         (gst_base_src_default_check_get_range):
2279         * libs/gst/base/gstbasesrc.h:
2280           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2281           provide default implementation, and rename
2282           gst_base_src_check_get_range() to
2283           gst_base_src_pad_check_get_range() for clarity.
2284
2285 2006-03-06  Wim Taymans  <wim@fluendo.com>
2286
2287         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2288         Make property overridable.
2289
2290 2006-03-06  Wim Taymans  <wim@fluendo.com>
2291
2292         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2293         (gst_base_sink_init), (gst_base_sink_set_property),
2294         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2295         * libs/gst/base/gstbasesink.h:
2296         API addition: Make max-lateness a property.
2297
2298 2006-03-06  Wim Taymans  <wim@fluendo.com>
2299
2300         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2301         (gst_base_sink_do_sync), (gst_base_sink_render_object):
2302         Don't ever draw a frame that is >10ms late.
2303
2304 2006-03-06  Michael Smith  <msmith@fluendo.com>
2305
2306         * gst/gstmessage.c: (_gst_message_copy):
2307           When copying a message, set the parent_refcount of the enclosed
2308           structure to point at the copy, not the original message.
2309
2310 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2311
2312         Patch by: Christophe Fergeau
2313
2314         * gst/gstutils.h:
2315           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2316           usable in c++ code (#333417)
2317
2318 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2319
2320         * gst/gstclock.h:
2321           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2322
2323 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
2324
2325         * libs/gst/base/gstbasetransform.c:
2326         (gst_base_transform_transform_caps):
2327           Make sure caps are writable before passing them to
2328           gst_caps_append().
2329
2330 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2331
2332         * gst/gsterror.h:
2333           Fix some minor docs errors.
2334
2335 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2336
2337           Patch by: Ross Burton <ross at burtonini dot com>
2338
2339         * gst/gsterror.c: (_gst_resource_errors_init):
2340         * gst/gsterror.h:
2341           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2342
2343 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2344
2345         * gst/gst.c:
2346         Add a check and output a g_warning when GStreamer is built
2347         against GLib 2.6 but running against 2.8 or higher, and vice 
2348         versa. (Closes: #323542)
2349
2350 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2351
2352         * gst/parse/parse.l:
2353           Commit patch for parse_launch syntax from #331255. Removes 
2354           support for quoted strings and mimetypes when writing filtered 
2355           caps. See the bug report for more details - I'm pretty sure this
2356           obscure feature is not in use by _anyone_ anywhere.
2357
2358           With this simple change, the size of the gstreamer.so here 
2359           drops from 2193KB to 1565KB.
2360
2361 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2362
2363         * plugins/elements/gsttypefindelement.h:
2364         * plugins/elements/gsttypefindelement.c:
2365         (gst_type_find_element_src_event), (start_typefinding),
2366         (stop_typefinding), (gst_type_find_element_handle_event),
2367         (gst_type_find_element_chain),
2368         (gst_type_find_element_chain_do_typefinding):
2369           Use gst_type_find_helper_for_buffer() for chain-based
2370           typefinding.
2371
2372 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2373
2374         * plugins/elements/gsttypefindelement.c:
2375         (gst_type_find_element_class_init),
2376         (gst_type_find_element_set_property),
2377         (gst_type_find_element_get_property):
2378           Deprecate "maximum" property (not only was it only taken into
2379           account for typefinding in push-mode anyway, it also was never
2380           actually possible to set it in the first place because the
2381           property was registered with the numeric property ID for the
2382           "minimum" property). Register "maximum" property correctly,
2383           for the sake of future copy'n'pasters. Remove some cruft
2384           from property get/set functions.
2385
2386 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2387
2388         * plugins/elements/gsttypefindelement.c:
2389         (gst_type_find_element_activate):
2390           Use gst_type_find_helper_get_range() here, so we
2391           can honour the "minimum" property and also emit
2392           the signal with the correct probability of the found caps.
2393
2394 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
2395
2396         * docs/libs/gstreamer-libs-sections.txt:
2397         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2398         (helper_find_suggest), (gst_type_find_helper_get_range),
2399         (gst_type_find_helper):
2400         * libs/gst/base/gsttypefindhelper.h:
2401           New API: gst_type_find_helper_get_range() (#333042).
2402
2403 2006-03-02  Michael Smith  <msmith@fluendo.com>
2404
2405         * gst/gstregistryxml.c: (load_feature):
2406           Asserting on a failure to read part of the registry is Not Cool.
2407           Just log a warning and return NULL (which is already handled)
2408
2409 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
2410
2411         * win32/common/libgstbase.def:
2412           added export of gst_type_find_helper_for_buffer
2413         * win32/common/libgstbase.def:
2414           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2415           gst_ghost_pad_get_target
2416
2417 2006-02-28  Wim Taymans  <wim@fluendo.com>
2418
2419         * docs/design/draft-klass.txt:
2420         We use Filter now.
2421         Added Connector to mark elements that are only used to
2422         allow pipeline connections.
2423         Moved Debug to extra feature since most of them are 
2424         functionally something else.
2425
2426 2006-02-28  Wim Taymans  <wim@fluendo.com>
2427
2428         * docs/design/draft-klass.txt:
2429         Some updates and clarifications.
2430
2431 2006-02-28  Wim Taymans  <wim@fluendo.com>
2432
2433         * docs/design/draft-klass.txt:
2434         Proposal for klass field values.
2435
2436         * docs/design/part-streams.txt:
2437         Start of a doc describing stream anatomy.
2438
2439 2006-02-28  Wim Taymans  <wim@fluendo.com>
2440
2441         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2442         Help the compiler a bit with type registration.
2443         Use existing forward cod path instead of duplicating it when 
2444         handling a message.
2445         
2446         * gst/gstbus.c: (gst_bus_get_type):
2447         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2448         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2449         * gst/gstclock.c: (gst_clock_get_type):
2450         * gst/gstelement.c: (gst_element_get_type),
2451         * gst/gstelementfactory.c: (gst_element_factory_get_type):
2452         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2453         * gst/gstminiobject.c: (gst_mini_object_get_type):
2454         * gst/gstpad.c: (gst_pad_get_type):
2455         * gst/gstsegment.c: (gst_segment_get_type):
2456         * gst/gststructure.c: (gst_structure_get_type):
2457         * gst/gstsystemclock.c: (gst_system_clock_get_type):
2458         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2459         * gst/gstvalue.c:
2460         Help compiler with type registration.
2461
2462         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2463         Small doc update.
2464
2465 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2466
2467         * plugins/elements/gsttypefindelement.c:
2468         (gst_type_find_element_handle_event):
2469           When we get an EOS event and have not found a type yet
2470           (most likely because we had not yet accumulated
2471           TYPE_FIND_MIN_SIZE of data yet), try to determine the
2472           type given the data we have so far. Fixes typefinding
2473           for very short streams again, most notably quicktime
2474           redirections as used on Apple's trailer site (#331701).
2475
2476 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2477
2478         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2479         (gst_type_find_helper):
2480           Try typefinding factories with the highest rank first.
2481
2482 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2483
2484         * docs/libs/gstreamer-libs-docs.sgml:
2485         * docs/libs/gstreamer-libs-sections.txt:
2486         * libs/gst/base/gsttypefindhelper.c:
2487           Add section for typefind helper and add documentation
2488           for the old and the new function.
2489
2490 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2491
2492         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2493         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2494         (gst_type_find_helper_for_buffer):
2495         * libs/gst/base/gsttypefindhelper.h:
2496           New API: gst_type_find_helper_for_buffer() (#332723).
2497           
2498 2006-02-27  Michael Smith  <msmith@fluendo.com>
2499
2500         Patch by: Loïc Minier
2501
2502         * configure.ac:
2503         * docs/Makefile.am:
2504         * docs/slides/Makefile.am:
2505           prevent CVS directories getting disted.
2506
2507 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2508
2509         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2510           Use the REFCOUNTING category for caps refcounting.
2511           
2512 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
2513
2514         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2515           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2516
2517 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
2518
2519         * plugins/elements/gsttypefindelement.c:
2520         (gst_type_find_element_activate):
2521           Use gst_pad_check_pull_range() before _activate_pull()
2522           to avoid unnecessary open/close (see #331690).
2523
2524 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2525
2526         * gst/gstutils.c:
2527           Docs enhancement: make it crystal clear what the
2528           gst_pad_add_*_probe() callbacks should look like.
2529
2530 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2531
2532         * libs/gst/base/gstbasesrc.c:
2533           Document how applications can stop recording from
2534           live sources (see #330996).
2535
2536 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2537
2538         * tests/check/Makefile.am:
2539         * tests/check/libs/basesrc.c: (eos_event_counter),
2540         (basesrc_eos_events_pull), (basesrc_eos_events_push),
2541         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2542         (gst_basesrc_suite), (main):
2543           ... and add some tests for the base source EOS stuff.
2544
2545 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2546
2547         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2548           Test case originally showed the problem fixed below,
2549           but was then amended. Add checks back at the place
2550           where they used to be.
2551
2552 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2553
2554         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2555         (gst_base_src_init), (gst_base_src_loop),
2556         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2557         (gst_base_src_change_state):
2558         * libs/gst/base/gstbasesrc.h:
2559           Don't unconditionally send EOS when going from PAUSED to
2560           READY state, esp. make sure we don't send two EOS events
2561           in some cases (e.g. one when reaching EOS and one when
2562           going from PAUSED to READY). Also, we don't want to send
2563           EOS events when operating in pull mode. However, we do
2564           want to send an EOS event when shutting down a live
2565           source explicitly, for example (fixes #330996).
2566           
2567 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2568
2569         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2570           Update src->read_position after a seek when not using mmap.
2571           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2572
2573 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
2574
2575         * gst/Makefile.am:
2576         * gst/gstparse.h:
2577         * gst/gstutils.c:
2578         * gst/gstutils.h:
2579         Make things work with --disable-parse as they do with 
2580         --disable-load-save - the symbols involved disappear, but the
2581         header is still installed and GST_DISABLE_PARSE is included via
2582         gstconfig.h
2583
2584 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2585
2586         * libs/gst/base/gstbasetransform.c:
2587         (gst_base_transform_change_state): Fix a stupid bug. I was 
2588         sure I compiled that.
2589
2590 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2591
2592         * gst/gstpad.c: (gst_pad_set_blocked_async):
2593         * gst/gstutils.c: (gst_pad_add_data_probe),
2594         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2595         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2596         (gst_pad_remove_buffer_probe): Make those function act on the
2597         ghostpad target when it's a ghostpad. (Closes #331727)
2598
2599 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2600
2601         * libs/gst/base/gstbasetransform.c:
2602         (gst_base_transform_change_state): Make basetransform reusable.
2603         (Closes #331898)
2604
2605 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
2606
2607         * docs/random/release:
2608         Move the current documentation of how to do a release to the top
2609         of the file.
2610
2611         * gst/gstbin.c: (gst_bin_class_init),
2612         (gst_bin_handle_message_func):
2613         Allow multiple state-recalculation threads. (Closes #328873)
2614
2615 2006-02-19  Julien MOUTTE  <julien@moutte.net>
2616
2617         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2618         * gst/gstpad.c: (gst_pad_set_event_function),
2619         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2620         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2621         2 strings. You can't use the STR_NULL macro on that.
2622
2623 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
2624
2625         * gst/gstpad.c: (gst_pad_set_event_function),
2626         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2627         (gst_pad_set_getcaps_function)
2628         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2629           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2630           So now, we can use --gst-debug-level=5 on Windows
2631         * win32/common/libgstcontroller.def:
2632           Added export of gst_controller_init
2633         * win32/vs6/libgstcontroller.dsp:
2634           Fixed Release post build configuration
2635
2636 2006-02-17  Wim Taymans  <wim@fluendo.com>
2637
2638         * tests/check/gst/gstquery.c: (GST_START_TEST):
2639         Added another check.
2640
2641 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
2642
2643         * plugins/elements/gsttypefindelement.c: (find_peek):
2644           We can do peeks at non-zero offsets, as long as they
2645           fall within the buffer we have.
2646
2647 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
2648
2649         * tests/check/Makefile.am:
2650         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2651         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2652         (parse_suite), (main):
2653           Add testsuite for parse launch syntax
2654
2655 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
2656
2657         * plugins/elements/gsttypefindelement.c:
2658         (gst_type_find_element_chain):
2659           When typefinding is unsuccessful in the chain function, don't
2660           error out immediately. Only error out with NO_CAPS_FOUND if
2661           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2662           otherwise simply wait for more data so we can try typefinding
2663           again with more data later. Also, don't attempt to typefind
2664           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2665           this should improve typefinding from network sources where the
2666           size of the first buffer can be somewhat random.
2667
2668 2006-02-14  Wim Taymans  <wim@fluendo.com>
2669
2670         * docs/gst/gstreamer-sections.txt:
2671         * gst/gstpadtemplate.c:
2672         * gst/gstpadtemplate.h:
2673         Fix padtemplate docs, fixes #328805.
2674
2675 2006-02-14  Wim Taymans  <wim@fluendo.com>
2676
2677         * tools/gst-launch.c: (main):
2678         NO_PREROLL is not an ERROR so don't send confusing messages
2679         to the user.
2680
2681 2006-02-14  Wim Taymans  <wim@fluendo.com>
2682
2683         Patch by: Torsten Schoenfeld
2684
2685         * gst/gstregistry.c: (gst_registry_get_default),
2686         (_gst_registry_cleanup):
2687         Protect default registry with lock and ref/sink it.
2688         Fixes #324818
2689
2690 2006-02-14  Wim Taymans  <wim@fluendo.com>
2691
2692         * gst/gstbuffer.c:
2693         * gst/gstquery.c: (gst_query_list_add_format),
2694         (gst_query_set_formatsv), (gst_query_parse_formats_length),
2695         (gst_query_parse_formats_nth):
2696         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2697         Docs fixes.
2698
2699 2006-02-14  Wim Taymans  <wim@fluendo.com>
2700
2701         * docs/gst/gstreamer-sections.txt:
2702         Reworked query docs.
2703
2704         * gst/gstquery.c: (gst_query_new_formats),
2705         (gst_query_list_add_format), (gst_query_set_formats),
2706         (gst_query_set_formatsv), (gst_query_parse_formats_length),
2707         (gst_query_parse_formats_nth):
2708         * gst/gstquery.h:
2709         Flesh out formats query, added some new methods.
2710         Fix part of #324398.
2711
2712         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
2713         Added query creation tests.
2714
2715 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
2716
2717         * gst/gstpad.c: (fixate_value):
2718         Add a default fixation for fraction lists.
2719
2720 2006-02-13  Wim Taymans  <wim@fluendo.com>
2721
2722         * gst/gsttask.c: (gst_task_init), (gst_task_func),
2723         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2724         (gst_task_join):
2725         * gst/gsttask.h:
2726         Detect and warn for obvious deadlocks. fixes #320340
2727         Fix error case where lock was not released.
2728
2729         * tests/check/Makefile.am:
2730         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2731         (task_func), (gst_element_suite), (main):
2732         Add task check.
2733
2734 2006-02-13  Wim Taymans  <wim@fluendo.com>
2735
2736         * docs/gst/gstreamer-sections.txt:
2737         * gst/gstbus.c:
2738         Add new functions to docs.
2739
2740 2006-02-13  Wim Taymans  <wim@fluendo.com>
2741
2742         * docs/design/part-TODO.txt:
2743         Updated TODO list, basesrc supports seeking to non-bytes
2744         formats.
2745
2746         * docs/design/part-element-sink.txt:
2747         Update docs.
2748
2749         * gst/gstbin.c: (bin_replace_message),
2750         (gst_bin_handle_message_func):
2751         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2752         * gst/gstevent.c: (gst_event_finalize):
2753         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2754         (gst_pad_send_event):
2755         Use shiny new _TYPE_NAME macros.
2756
2757         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2758         Move debug statement up.
2759
2760         * gst/gstelement.c: (gst_element_set_locked_state):
2761         Add some debugging.
2762
2763 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
2764
2765         * docs/gst/gstreamer-sections.txt:
2766         * gst/gstmessage.h:
2767         * gst/gstquery.h:
2768           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
2769           macros (#330906). Also, document the already existing
2770           GST_QUERY_TYPE macro.
2771
2772 2006-02-13  Wim Taymans  <wim@fluendo.com>
2773
2774         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
2775         (event_probe), (GST_START_TEST):
2776         Only events up to the pipeline EOS are counted, there are
2777         some more when going to NULL currently which we don't care
2778         about for now.
2779
2780 2006-02-13  Wim Taymans  <wim@fluendo.com>
2781
2782         * gst/gstpad.c: (gst_pad_send_event):
2783         Correctly check flushing and emit probes. fixes #330125
2784
2785 2006-02-10  Andy Wingo  <wingo@pobox.com>
2786
2787         * gst/gstbus.c (gst_bus_class_init): Declare our private data
2788         structure.
2789         (gst_bus_init): Cache the location of the private data in the
2790         instance structure.
2791         (gst_bus_enable_sync_message_emission) 
2792         (gst_bus_disable_sync_message_emission): Implement new public
2793         functions.
2794         (gst_bus_post): Emit the sync-message signal if the user asked for
2795         it. Fixes #330684.
2796
2797         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
2798         location of the bus-private structure.
2799         (gst_bus_enable_sync_message_emission)
2800         (gst_bus_disable_sync_message_emission): API addition
2801
2802 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
2803
2804         Patch by: Vincent Torri
2805
2806         * docs/pwg/building-boiler.xml:
2807         PWG patch from #326800
2808
2809 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2810
2811         * configure.ac:
2812         * docs/Makefile.am:
2813         * docs/design/Makefile.am:
2814           Dist design docs.
2815
2816 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
2817
2818         * configure.ac:
2819           back to CVS
2820
2821 === release 0.10.3 ===
2822
2823 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
2824
2825         * configure.ac:
2826           releasing 0.10.3, "Like a virgin"
2827
2828 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
2829
2830         * configure.ac:
2831           2nd prerelease of 0.10.3
2832           Bump libtool versioning.
2833
2834 2006-02-07  Andy Wingo  <wingo@pobox.com>
2835
2836         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
2837         update last_stop if we're in TIME format and the timestamp is
2838         valid.
2839
2840         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
2841         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
2842         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
2843         If we get a new newsegment with a different format, adapt
2844         accordingly.
2845
2846         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
2847         of 0. Not a problem, really.
2848
2849         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
2850         warn if sync=true.
2851
2852 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
2853
2854         * configure.ac:
2855           Prelease of 0.10.3
2856
2857 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
2858
2859         * win32/vs7:
2860           project files updated to the default vs7 configuration
2861         * win32/common/libgstbase.def:
2862         * win32/common/libgstreamer.def:
2863           added new symbols,
2864           removed empty lines,
2865           sorted all exported symbols alphabetically
2866         * win32/common/dirent.c:
2867         * win32/common/dirent.h:
2868         * win32/common/gchar.h:
2869           use windows line end.
2870           
2871 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
2872
2873         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2874           Send EOS event when stopping.
2875
2876 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
2877
2878         * docs/README:
2879           Tell folks what to do if the plugin-foobar.xml file
2880           hasn't been generated for a newly-added plugin.
2881
2882 2006-02-05  Julien MOUTTE  <julien@moutte.net>
2883
2884         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2885         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2886         (gst_collect_pads_start), (gst_collect_pads_stop),
2887         (gst_collect_pads_event): Collectpads now holds a reference
2888         to the GstPad that was added. Indeed we don't want to look
2889         at pads that might just go away with no warning...
2890
2891 2006-02-05  Julien MOUTTE  <julien@moutte.net>
2892
2893         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2894         (gst_collect_pads_start), (gst_collect_pads_stop),
2895         (gst_collect_pads_event), (gst_collect_pads_chain):
2896         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
2897         Mark Nauwelaerts's patch on bug #328491.
2898
2899 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2900
2901         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
2902         (gst_utils_suite):
2903           Add some simple tests for gst_parse_bin_from_description() and
2904           gst_bin_find_unconnected_pad() (#329069).
2905
2906 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2907
2908         * tools/gst-launch.c: (event_loop), (main):
2909           Catch errors during preroll (#320084).
2910
2911 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
2912
2913         * plugins/elements/gsttypefindelement.c:
2914         (gst_type_find_element_activate):
2915           Post TYPE_NOT_FOUND error message when typefinding
2916           is unsuccessful in the activate function as well.
2917
2918 2006-02-02  Wim Taymans  <wim@fluendo.com>
2919
2920         * docs/design/part-element-sink.txt:
2921         Updated doc.
2922
2923 2006-02-02  Wim Taymans  <wim@fluendo.com>
2924
2925         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2926         (gst_base_sink_render_object),
2927         (gst_base_sink_queue_object_unlocked):
2928         Only keep track of prerollable items when we are 
2929         prerolling.
2930         Before rendering after preroll, always check if we
2931         have queued items.
2932         Added some more debugging.
2933
2934 2006-02-02  Wim Taymans  <wim@fluendo.com>
2935
2936         * gst/gstelement.c: (gst_element_continue_state),
2937         (gst_element_set_state_func), (gst_element_change_state):
2938         Fixed #326576, been running this for quite some time with
2939         no regressions at all.
2940
2941 2006-02-02  Wim Taymans  <wim@fluendo.com>
2942
2943         * common/gst.supp:
2944         Added more suppressions
2945
2946 2006-02-02  Wim Taymans  <wim@fluendo.com>
2947
2948         * docs/design/part-element-sink.txt:
2949         Updated document.
2950
2951         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2952         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
2953         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
2954         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2955         (gst_base_sink_do_sync), (gst_base_sink_render_object),
2956         (gst_base_sink_preroll_object),
2957         (gst_base_sink_queue_object_unlocked),
2958         (gst_base_sink_queue_object), (gst_base_sink_event),
2959         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
2960         (gst_base_sink_loop), (gst_base_sink_activate_pull),
2961         (gst_base_sink_get_position), (gst_base_sink_change_state):
2962         * libs/gst/base/gstbasesink.h:
2963         Totally refactored matching the design doc.
2964         Use two segments, one to clip incomming buffers and another to
2965         perform sync.
2966         Handle queueing correctly, bypass the queue when playing.
2967         Make EOS cancelable.
2968         Handle errors correctly when operating in pull based mode.
2969
2970         * tests/check/elements/fakesink.c: (GST_START_TEST),
2971         (fakesink_suite):
2972         Added new check for sinks.
2973
2974 2006-02-02  Wim Taymans  <wim@fluendo.com>
2975
2976         * gst/gstsegment.c: (gst_segment_clip):
2977         No reason to refuse to clip when start == -1
2978
2979 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
2980
2981         * docs/README:
2982         * docs/manual/intro-basics.xml:
2983         * docs/manual/intro-preface.xml:
2984         * docs/manual/manual.xml:
2985         * docs/pwg/advanced-dparams.xml:
2986         * docs/pwg/intro-basics.xml:
2987         * docs/pwg/intro-preface.xml:
2988         * docs/pwg/pwg.xml:
2989           describe dparams (controller) for plugins
2990           unify docs a little more
2991
2992 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
2993
2994         * docs/gst/gstreamer-sections.txt:
2995         * gst/gstutils.c: (element_find_unconnected_pad),
2996         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
2997         * gst/gstutils.h:
2998           Add new API: gst_parse_bin_from_description() and
2999           gst_bin_find_unconnected_pad() (#329069).
3000
3001 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
3002
3003         * docs/manual/README:
3004           uncover a nasty detail of the docs build
3005
3006 2006-01-31  Wim Taymans  <wim@fluendo.com>
3007
3008         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3009         Don't cache duration messages if we're not going to use or
3010         free them.
3011
3012 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
3013
3014         * docs/manual/advanced-dparams.xml:
3015         * docs/pwg/advanced-dparams.xml:
3016           more dparam docs
3017         * gst/gstindex.c:
3018           fix docs
3019         * libs/gst/controller/lib.c: (gst_controller_init):
3020           init just once
3021
3022 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
3023
3024         * gst/gstelement.c: (gst_element_message_full):
3025           also show file/line/func if no additional debug was given
3026
3027 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
3028         
3029         * win32/vs7/grammar.vcproj:
3030           activate copy of autogenerated files for Release mode
3031
3032 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3033         
3034         * win32/common/libgstreamer.def:
3035           export gst_value_compare
3036
3037 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
3038
3039         * plugins/elements/Makefile.am:
3040         * plugins/elements/gstelements.c:
3041         * plugins/elements/gstfdsink.c: (_do_init),
3042         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3043         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3044         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3045         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3046         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3047         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3048         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3049         * plugins/elements/gstfdsink.h:
3050         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3051
3052 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
3053
3054         * docs/manual/advanced-dparams.xml:
3055           describe controller
3056         * docs/manual/advanced-position.xml:
3057         * docs/manual/basics-init.xml:
3058         * docs/manual/manual.xml:
3059         * docs/manual/titlepage.xml:
3060         * docs/pwg/pwg.xml:
3061         * docs/pwg/titlepage.xml:
3062           cleanup xml (more to come)
3063         * libs/gst/controller/gstcontroller.c:
3064           fix typo
3065
3066 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3067         
3068         * win32/vs6/grammar.dsp:
3069           add autogen of gstmarshal.c,h for Release mode
3070                 
3071 2006-01-30  Wim Taymans  <wim@fluendo.com>
3072
3073         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3074         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3075         (gst_base_sink_handle_object), (gst_base_sink_event),
3076         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3077         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3078         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3079         (gst_base_sink_deactivate), (gst_base_sink_activate),
3080         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3081         (gst_base_sink_query), (gst_base_sink_change_state):
3082         Basesink cleanups, remove some old code.
3083         Handle the case where a subclass can preroll in the render
3084         method (mostly audiosinks).
3085         Handle more events.
3086         Remove some locks around variables that are now protected
3087         with the PREROLL_LOCK (clock_id, flushing, ..).
3088         Optimize position query some more, do correct locking.
3089         Remove old code to push queue in state change, this is not
3090         needed anymore since preroll blocks on all prerollable items 
3091         now.
3092         Almost implemented as described in design doc.
3093
3094 2006-01-30  Wim Taymans  <wim@fluendo.com>
3095
3096         * tests/check/gst/gstbin.c: (GST_START_TEST):
3097         Wait for refcount to settle down before checking.
3098
3099 2006-01-30  Wim Taymans  <wim@fluendo.com>
3100
3101         * docs/design/part-element-sink.txt:
3102         Pseudo code overview of desired sink behaviour regarding
3103         preroll.
3104
3105 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3106         * win32/vs6/grammar.dsp:
3107           fix some bugs in Release mode for autogenerated files
3108                 
3109 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3110         * win32/common/libgstbase.def:
3111         * win32/common/libgstreamer.def:
3112           export some new symbols: gst_base_src_set_format,
3113           gst_iterator_next, gst_structure_set_valist
3114
3115 2006-01-29  Julien MOUTTE  <julien@moutte.net>
3116
3117         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3118         Set pad functions unconditionally. Fixes #329105.
3119
3120 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3121         * win32/vs8:
3122           add vs8 project files created by Sergey Scobich
3123
3124 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
3125
3126         * gst/gstutils.c: (gst_element_unlink_pads):
3127         Don't leak pad references.
3128
3129         * tests/check/elements/fakesink.c: (GST_START_TEST):
3130         * tests/check/generic/sinks.c: (GST_START_TEST):
3131         * tests/check/generic/states.c: (GST_START_TEST):
3132         * tests/check/gst/gstbin.c: (GST_START_TEST):
3133         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3134         * tests/check/gst/gstelement.c: (GST_START_TEST):
3135         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3136         * tests/check/gst/gstiterator.c: (GST_START_TEST):
3137         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3138         Fix a bunch of leaks. Make generic/sinks.c
3139         use a bit less cpu by slowing the buffer rate
3140         between fakesrc and fakesink.
3141         
3142 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
3143         * gst/gstcaps.c:
3144         * gst/gstelement.c: (gst_element_send_event):
3145         * gst/gstevent.c:
3146         * gst/gstinfo.c:
3147         * gst/gstiterator.c:
3148         * gst/gstiterator.h:
3149         * gst/gstpad.c: (gst_pad_send_event):
3150         * gst/gststructure.c:
3151         * gst/gsturi.c:
3152         * gst/gstutils.c:
3153         * gst/gstvalue.c:
3154         * libs/gst/base/gstadapter.c:
3155           doc fixes, to link to function, just write gst_cool_function(), don't
3156           prefix with '#'
3157
3158 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3159
3160         * plugins/elements/gsttee.c: (gst_tee_do_push),
3161         (gst_tee_handle_buffer):
3162         Always prefer an actual return value from a src
3163         pad in place of NOT_LINKED. This means we return
3164         WRONG_STATE when all src pads are WRONG_STATE
3165         instead of NOT_LINKED.
3166
3167         Lock when replacing the last message to prevent
3168         racing with the get_property method.
3169
3170         Add debug output
3171
3172 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3173
3174         * tests/check/Makefile.am:
3175         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3176         (main):
3177         Add a very simple check that should have caught the memleak I fixed
3178         last night (if not for the slice allocator hiding it)
3179
3180 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3181
3182         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3183         (gst_bin_remove_func), (gst_bin_handle_message_func),
3184         (bin_query_duration_fold), (bin_query_generic_fold):
3185         Clean up references to the clock provider when disposed or when
3186         handling a clock-lost message from it.
3187
3188         Unref sinks when performing a query via gst_iterator_fold, as the
3189         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3190
3191         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3192         (gst_clock_set_master):
3193         Drop our reference to the master clock, if any, when we are disposed.
3194
3195         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3196         Chain up in dispose. 
3197
3198 2006-01-26  Wim Taymans  <wim@fluendo.com>
3199
3200         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3201         Add some debugging.
3202
3203 2006-01-26  Julien MOUTTE  <julien@moutte.net>
3204
3205         * plugins/elements/gsttee.c: (gst_tee_do_push),
3206         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3207         handles pad being NOT_LINKED or in WRONG_STATE.
3208
3209 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3210
3211         * win32/MANIFEST:
3212           more updating
3213
3214 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3215
3216         * win32/MANIFEST:
3217           remove obsolete entry
3218
3219 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3220
3221         * docs/gst/gstreamer-sections.txt:
3222         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3223         (gst_bin_iterate_sources), (gst_bin_send_event):
3224         * gst/gstbin.h:
3225         * gst/gstelement.c: (gst_element_send_event):
3226         * gst/gstevent.c:
3227         * gst/gstpad.c: (gst_pad_send_event):
3228           added code for downstream events, reviewed docs in gstevent.c
3229
3230 2006-01-25  Julien MOUTTE  <julien@moutte.net>
3231
3232         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3233         We only query position using the clock in the playing state.
3234         Query peer in the other cases.
3235         * win32/common/config.h: Updates.
3236
3237 2006-01-24  Wim Taymans  <wim@fluendo.com>
3238
3239         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3240         A clock entry that is scheduled for the exact time of the
3241         clock is still in time.
3242
3243         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3244         (gst_base_sink_do_sync):
3245         Add some more debug info.
3246
3247 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3248
3249         * win32/vs7:
3250           Add new vs7 project files and solution.
3251
3252 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3253
3254         * win32/vs7:
3255           all files removed as they were out-dated.
3256
3257 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3258
3259         * docs/random/release:
3260           update notes
3261         * gst/gstbin.c: (gst_bin_init):
3262         * gst/gstbus.c: (gst_bus_new):
3263         * gst/gstbus.h:
3264         * gst/gstpipeline.c: (gst_pipeline_init):
3265           use gst_bus_new(), improve logging, fix docs
3266         * win32/common/config.h:
3267           update for cvs build
3268
3269 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3270
3271         * autogen.sh:
3272           up required version of automake to 1.7
3273
3274 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
3275
3276         * win32/common/libgstreamer.def:
3277           export gst_buffer_is_metadata_writable
3278
3279 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3280
3281         * docs/gst/gstreamer-sections.txt:
3282         * gst/gstevent.h:
3283           Add gst_event_replace() (#327001)
3284
3285 2006-01-20  Wim Taymans  <wim@fluendo.com>
3286
3287         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3288         Make it actually compile too..
3289
3290 2006-01-20  Wim Taymans  <wim@fluendo.com>
3291
3292         * gst/gstcaps.c:
3293         Clarify behaviour of _is_equal() when passing NULL parameters.
3294
3295         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3296         (gst_pad_set_caps):
3297         Cleanups. Don't unref NULL caps.
3298         When setting the same caps, protect caps of the pad with
3299         proper lock.
3300         Use full functionality of _is_equal() when comparing caps.
3301
3302 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3303
3304         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3305         Don't loop infinitely if there are no buffers to present. Partially
3306         fixes #327197, but collectpads is just broken for reusing elements
3307         to do multiple encodes atm.
3308
3309 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3310
3311         * tools/gst-inspect.c: (print_element_features):
3312         * tools/gst-xmlinspect.c: (main):
3313         URL_HANDLER is not a plugin feature we can search for in
3314         the registry.
3315
3316 2006-01-19  Edward Hervey  <edward@fluendo.com>
3317
3318         * gst/gstelement.c: (gst_element_pads_activate): 
3319         When activating, do src pads first, then sink pads.
3320         When de-activating, do sink pads first, then src pads.
3321
3322 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3323
3324         * docs/gst/gstreamer-sections.txt:
3325         Add gst_index_add_associationv to the docs
3326
3327 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3328
3329         * gst/gstevent.c:
3330           Fix docs typo
3331
3332         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3333         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3334           Do some refactoring. Doesn't actually change functionality,
3335           but makes landing the DRAIN event easier later.
3336
3337 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
3338
3339         * docs/pwg/advanced-scheduling.xml:
3340           Update from 0.9.x to 0.10 API and make example a bit
3341           clearer.
3342
3343 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3344
3345         * docs/gst/gstreamer-sections.txt:
3346         Add gst_buffer_(is|make)_metadata_writable methods.
3347
3348 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3349
3350         * docs/design/part-sparsestreams.txt:
3351         Update sparse streams doc, hopefully for greater clarity
3352
3353 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
3354
3355         * docs/design/part-events.txt:
3356         Remove mention of FILLER events.
3357         Add DRAIN event.
3358
3359         * docs/design/part-sparsestreams.txt:
3360         Write some things about using NEWSEGMENT to keep sparse streams
3361         flowing.
3362
3363 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * gst/gstbin.c: (gst_bin_dispose):
3366           Guard gst_object_unref call against a NULL object (dispose
3367           can theoretically be called multiple times).
3368           
3369 2006-01-18  Wim Taymans  <wim@fluendo.com>
3370
3371         * gst/gstbin.c: (gst_bin_element_set_state):
3372         * gst/gstclock.c: (gst_clock_id_wait):
3373         Added some more debug info.
3374
3375         * libs/gst/base/gstadapter.c:
3376         Added more docs.
3377
3378         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3379         (gst_base_sink_do_sync), (gst_base_sink_chain):
3380         Added some comments.
3381
3382 2006-01-18  Wim Taymans  <wim@fluendo.com>
3383
3384         * tests/check/Makefile.am:
3385         * tests/check/elements/fakesink.c: (chain_async_buffer),
3386         (chain_async), (chain_async_return), (GST_START_TEST),
3387         (fakesink_suite), (main):
3388         Added fakesink test that checks prerolling and clipping
3389         behaviour.
3390
3391         * tests/check/gst/gstutils.c: (GST_START_TEST):
3392         Make check run faster so that buildbots don't timeout.
3393
3394 2006-01-18  Wim Taymans  <wim@fluendo.com>
3395
3396         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3397         (gst_base_sink_do_sync):
3398         Some cleanups.
3399         When the sink finishes blocking on the preroll buffer, it can
3400         immediatly render it instead of rendering when the next buffer
3401         arrives.
3402
3403 2006-01-18  Wim Taymans  <wim@fluendo.com>
3404
3405         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3406         (gst_base_sink_get_property), (gst_base_sink_do_sync),
3407         (gst_base_sink_chain):
3408         Small cleanups.
3409         GST_ELEMENT_CLOCK and sync are protected with LOCK.
3410         Don't store _last_stop if the buffer is dropped.
3411
3412 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * plugins/elements/gsttypefindelement.c:
3415         (gst_type_find_element_class_init):
3416           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3417           object method handler that sets the caps on the pad and we want
3418           that to happen before we emit the signal (fixes e.g. feeding a
3419           plain text file to decodebin).
3420
3421 2006-01-18  Christian Schaller  <Christian@fluendo.com>
3422
3423         * gst/gstplugin.c: Add MPL and Proprietary as license options
3424
3425 2006-01-18  Andy Wingo  <wingo@pobox.com>
3426
3427         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3428         symbol was exported before, it appears this was just an oversight.
3429         Fixes #168703.
3430         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3431
3432         * gst/gstindex.c (gst_index_add_associationv): Changed int in
3433         prototype to gint. OK since this prototype was not in the header.
3434
3435 2006-01-17  Andy Wingo  <wingo@pobox.com>
3436
3437         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3438         registry while we remove plugins.
3439
3440         * tools/gst-inspect.c (print_element_info): Don't unref the
3441         factory arg, that should be the responsibility of whatever code
3442         received the ref. Fixes a double-free when called from
3443         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3444         (main): Unref the factory if we have one.
3445         (print_element_list): No change -- relies on the
3446         plugin_feature_list_free to free the list of features.
3447
3448 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
3449
3450         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3451         (gst_buffer_make_metadata_writable):
3452         * gst/gstbuffer.h:
3453         * libs/gst/base/gstbasetransform.c:
3454         (gst_base_transform_prepare_output_buf):
3455         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3456         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3457           Replace gst_buffer_(make|is)_metadata_writable patch now
3458           that the release is out.
3459
3460 2006-01-17  Andy Wingo  <wingo@pobox.com>
3461
3462         * gst/gstregistry.c: Reflow design comment. Update so as to speak
3463         in the present tense without reference to versions.
3464
3465         * gst/gstregistry.c (gst_registry_add_plugin)
3466         (gst_registry_remove_plugin, gst_registry_remove_feature)
3467         (gst_registry_find_feature, gst_registry_get_feature_list)
3468         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3469         (gst_registry_lookup, gst_registry_scan_path)
3470         (_gst_registry_remove_cache_plugins)
3471         (gst_registry_get_feature_list_by_plugin): Add argument
3472         validation.
3473
3474 === release 0.10.2 ===
3475
3476 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
3477
3478         * configure.ac:
3479           releasing 0.10.2, "If man is five"
3480
3481 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3482
3483         * gst/gstbuffer.c:
3484         * gst/gstbuffer.h:
3485         * libs/gst/base/gstbasetransform.c:
3486         (gst_base_transform_prepare_output_buf):
3487         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3488         * tests/check/gst/gstbuffer.c: (gst_test_suite):
3489           Back out patch until after the release.
3490
3491 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3492
3493         * gst/gstminiobject.c:
3494           Spelling fix in docs.
3495         * ChangeLog - remove conflict indicator
3496
3497 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3498
3499         Reviewed By: Andy Wingo
3500
3501         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3502         (gst_buffer_make_metadata_writable):
3503         * gst/gstbuffer.h:
3504           Add gst_buffer_(is|make)_metadata_writable as analogues of
3505           gst_buffer_(is|make)_writable.
3506
3507         * libs/gst/base/gstbasetransform.c:
3508         (gst_base_transform_prepare_output_buf):
3509         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3510           Use name gst_buffer_(is|make)_metadata_writable functions.
3511
3512         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3513           Test gst_buffer_(is|make)_metadata_writable
3514         
3515           (Closes: #324162)
3516
3517 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3518
3519         * docs/manual/Makefile.am:
3520           don't do parallel make
3521         * configure.ac:
3522           AC_SUBST HOST_CPU
3523         * win32/common/config.h.in:
3524           add generations for HOST_CPU and GST_MAJORMINOR
3525         * win32/common/config.h:
3526           commit generated result
3527
3528 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
3529
3530         * docs/manual/appendix-integration.xml:
3531           Update GNOME integration section to use gst_init_get_option_group()
3532           instead of the old popt stuff (#322911). Also, GNOME applications
3533           should  now use gconf*sink and gconf*src instead of the old gconf
3534           helper lib we had.
3535
3536 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
3537
3538
3539         * docs/gst/gstreamer-docs.sgml:
3540         * docs/gst/gstreamer-sections.txt:
3541         * docs/libs/gstreamer-libs-sections.txt:
3542           add new API entries to the docs
3543         * libs/gst/controller/Makefile.am:
3544         * libs/gst/controller/gstcontroller.c:
3545         * libs/gst/controller/gstcontroller.h:
3546         * libs/gst/controller/gstcontrollerprivate.h:
3547         * libs/gst/controller/gsthelper.c:
3548         * libs/gst/controller/gstinterpolation.c:
3549           move private structs to private header
3550         * po/README:
3551           gstreamer-0.7 -> gstreamer-0.10
3552         * tests/check/libs/struct_i386.h:
3553           remove private structs
3554
3555 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3556
3557         * plugins/indexers/Makefile.am:
3558           Fixes as part of #317048
3559
3560 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3561
3562         * plugins/indexers/Makefile.am:
3563           fix #316086 - compilation when mmap is missing
3564
3565 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
3566
3567         * libs/gst/base/gstbasesink.c:
3568           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
3569           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3570         * win32/common/config.h:
3571           added some defines GST_MAJORMINOR and HOST_CPU
3572         * win32/common/libgstbase.def:
3573         * win32/common/libgstreamer.def:
3574           added some exported functions.
3575
3576 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
3577
3578         * libs/gst/controller/gstcontroller.c:
3579         (gst_controlled_property_set_interpolation_mode),
3580         (gst_controlled_property_new):
3581         * libs/gst/controller/gstcontroller.h:
3582         * libs/gst/controller/gstinterpolation.c:
3583         (interpolate_none_get_string_value_array):
3584           make G_TYPE_STRING controlable
3585
3586 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
3587
3588         * tools/README:
3589         * tools/gst-feedback.1.in:
3590         * tools/gst-inspect.1.in:
3591         * tools/gst-launch.1.in:
3592         * tools/gst-md5sum.1.in:
3593         * tools/gst-typefind.1.in:
3594         * tools/gst-xmlinspect.1.in:
3595         * tools/gst-xmllaunch.1.in:
3596           cleanup man-pages, remove reference to gst-register, document env-vars
3597
3598 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
3599
3600         * gst/gstbuffer.c: (gst_buffer_span):
3601           gst_buffer_span should copy the timestamp of the first buffer
3602           if they were both originally overlapping subbuffers of the 
3603           same parent, using the same logic as the 'slow copy' case.
3604
3605 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
3606
3607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3608           Need to awaken ALL the pads when we pop a buffer, otherwise
3609           collectpads only works when there is 2 input streams.
3610
3611 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
3612
3613         * docs/random/ensonic/media-device-daemon.txt:
3614           more ideas (dbus)
3615         * gst/gstbuffer.c:
3616           fix doc example, add clarification
3617         * tools/gst-launch.1.in:
3618           add initial info about GST_PLUGIN_PATH, needs more work
3619
3620 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3621
3622         * docs/manual/basics-bins.xml:
3623         * docs/manual/basics-elements.xml:
3624         * docs/manual/intro-basics.xml:
3625           Some more minor docs additions and updates.
3626
3627 2006-01-11  Wim Taymans  <wim@fluendo.com>
3628
3629         * docs/manual/basics-bins.xml:
3630         * docs/manual/basics-elements.xml:
3631         Some small fixes as pointed out by Ser-ver on IRC.
3632
3633 2006-01-10  Edward Hervey  <edward@fluendo.com>
3634
3635         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3636         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3637         the single-segment mode.
3638
3639 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
3640
3641         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3642
3643         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3644         (gst_base_src_perform_seek), (gst_base_src_send_event),
3645         (gst_base_src_set_property), (gst_base_src_get_property),
3646         (gst_base_src_loop), (gst_base_src_start),
3647         (gst_base_src_activate_push):
3648         * libs/gst/base/gstbasesrc.h:
3649           Name (private) union; makes Sun's Forte compiler happy (#324900).
3650
3651 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3652
3653         * README:
3654           gst-register is gone.
3655
3656 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3657
3658         * gst/gstvalue.c: (_gst_value_initialize):
3659           make the G_TYPE_DATE instantiation work if debug is disabled
3660
3661 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
3662
3663         * gst/gstmessage.c: (gst_message_parse_tag),
3664         (gst_message_parse_error), (gst_message_parse_warning):
3665           Don't crash when return location for error/warning debug
3666           string is NULL; add fact that return locations can be
3667           NULL to docs where appropriate.
3668
3669 2006-01-05  Wim Taymans  <wim@fluendo.com>
3670
3671         * gst/gstplugin.c: (gst_plugin_load_file):
3672         Replace strdup by g_strdup.
3673
3674 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3675
3676         * docs/pwg/advanced-types.xml:
3677           fix doc borkage
3678
3679 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3680
3681         submitted by: Abel Cheung
3682
3683         * po/LINGUAS:
3684         * po/zh_TW.po:
3685           Added Chinese (traditional) translation
3686
3687 2006-01-04  Wim Taymans  <wim@fluendo.com>
3688
3689         * docs/manual/basics-pads.xml:
3690         * docs/plugins/Makefile.am:
3691         * docs/plugins/gstreamer-plugins-docs.sgml:
3692         * docs/plugins/gstreamer-plugins-sections.txt:
3693         * docs/pwg/advanced-clock.xml:
3694         * docs/pwg/advanced-scheduling.xml:
3695         * docs/pwg/advanced-types.xml:
3696         * plugins/elements/gstfdsink.c:
3697         * plugins/elements/gstfdsrc.c:
3698         * plugins/elements/gstfdsrc.h:
3699         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3700         * plugins/elements/gstidentity.h:
3701         * plugins/elements/gstqueue.h:
3702         * plugins/elements/gsttee.c:
3703         * plugins/elements/gsttee.h:
3704         * plugins/elements/gsttypefindelement.c:
3705         (gst_type_find_element_class_init):
3706         * plugins/elements/gsttypefindelement.h:
3707         Small updates to various docs.
3708         Added core plugins to docs.
3709
3710 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3711
3712         * common/gst.supp:
3713           add a suppression for liboil's uninitialized variable
3714
3715 2006-01-02  James Livingston  <jrl at ids dot org dot au>
3716
3717         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3718
3719         * gst/gstutils.h:
3720           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
3721           macro, so that gcc doesn't complain if the -Wmissing-prototypes
3722           compiler switch is being used (#325429).
3723
3724 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
3725
3726         * gst/gstbin.c: (gst_bin_query):
3727           Disable duration query caching in bins until it gets
3728           fixed (see #324807).
3729
3730 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
3731
3732         * tools/gst-inspect.c: (print_element_properties_info):
3733           Handle properties of POINTER and BOXED type.
3734
3735 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
3736
3737         * gst/gst.c: (init_post):
3738           Init tags stuff and some other things before loading
3739           any static plugins (there may be other static plugins
3740           than just the GStreamer ones, and they may want to
3741           register their own tags or formats or whatever, and
3742           preferably without segfaulting).
3743
3744         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3745           Print at least a warning in the debug logs if we drop a
3746           query just because we don't know how to adjust the value
3747           in the particular format.
3748
3749 2005-12-24  David Schleef  <ds@schleef.org>
3750
3751         * tools/gstreamer-completion:
3752           Replacement for gst-complete written in sh and sed.  Only
3753           completes names of features, but that's 90% of what I want
3754           it for.  Properties are not available in registry.xml.  (Maybe
3755           they should be...)
3756
3757 === release 0.10.1 ===
3758
3759 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
3760
3761         * configure.ac:
3762           releasing 0.10.1, "Nollaig chridheil"
3763
3764 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
3765
3766         * docs/faq/cvs.xml:
3767           Add missing quote, should be make ERROR_CFLAGS="".
3768
3769 2005-12-20  Wim Taymans  <wim@fluendo.com>
3770
3771         * docs/design/part-trickmodes.txt:
3772         More documentation on trickmodes.
3773
3774 2005-12-20  Edward Hervey  <edward@fluendo.com>
3775
3776         * gst/gstcaps.c: (gst_static_caps_get_type):
3777         * gst/gstcaps.h:
3778           API addition: GST_TYPE_STATIC_CAPS
3779         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
3780         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
3781         * gst/gstpadtemplate.h:
3782           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
3783         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
3784         bindings.
3785
3786 2005-12-18  Wim Taymans  <wim@fluendo.com>
3787
3788         * libs/gst/base/gstadapter.c:
3789         * libs/gst/base/gstadapter.h:
3790         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3791         (gst_base_sink_get_position):
3792         * libs/gst/base/gstbasesink.h:
3793         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3794         (gst_base_src_default_query), (gst_base_src_default_do_seek),
3795         (gst_base_src_do_seek), (gst_base_src_perform_seek),
3796         (gst_base_src_send_event), (gst_base_src_update_length),
3797         (gst_base_src_get_range), (gst_base_src_loop),
3798         (gst_base_src_start):
3799         * libs/gst/base/gstbasesrc.h:
3800         * libs/gst/base/gstbasetransform.h:
3801         * libs/gst/base/gstcollectpads.h:
3802         * libs/gst/base/gstpushsrc.c:
3803         * libs/gst/base/gstpushsrc.h:
3804         * libs/gst/dataprotocol/dataprotocol.c:
3805         * libs/gst/dataprotocol/dataprotocol.h:
3806         * libs/gst/net/gstnetclientclock.h:
3807         * libs/gst/net/gstnettimeprovider.h:
3808         Documentation updates.
3809
3810 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3811
3812         * docs/manual/basics-helloworld.xml:
3813           Remove superfluous closing bracket in helloworld example.
3814
3815 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3816
3817         * tools/gst-launch.1.in:
3818           Update gst-launch man page; add a section with useful
3819           environment variables. Fixes #323882.
3820
3821 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
3822
3823         * gst/gst.c:
3824         * gst/gst_private.h:
3825           change some char* into char[]
3826
3827 2005-12-16  Wim Taymans  <wim@fluendo.com>
3828
3829         * gst/gstregistryxml.c: (load_feature):
3830         Cleanups.
3831         Don't use g_object_unref on GstObjects so that we avoid
3832         leaks on unsafe glibs.
3833
3834 2005-12-16  Wim Taymans  <wim@fluendo.com>
3835
3836         * gst/gstbin.c: (gst_bin_recalc_state):
3837         Small doc updates.
3838
3839 2005-12-16  Wim Taymans  <wim@fluendo.com>
3840
3841         * common/check.mak:
3842         Added make forever target for check.
3843
3844 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3845
3846         * gst/gst.c: (init_post):
3847           make the registry cache file HOST_CPU-dependent
3848
3849 2005-12-16  Andy Wingo  <wingo@pobox.com>
3850
3851         * plugins/elements/gstbufferstore.c
3852         (gst_buffer_store_cleared_func): Pay attention to g_list_append
3853         return value.
3854
3855         * tests/check/gst/gstobject.c
3856         (test_fake_object_name_threaded_unique): Pay attention to
3857         g_list_sort return value.
3858
3859 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3860
3861         * tools/gst-feedback-m.m:
3862           Update for 0.9/0.10 (fixes #323870).
3863
3864 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
3865
3866         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
3867           Fix lcopy for mini objects, the mini object needs to be ref'ed.
3868           
3869         * tests/check/gst/gstminiobject.c: (my_foo_init),
3870         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
3871         (test_value_collection), (gst_mini_object_suite):
3872           Add test to ensure refcounts end up as expected when passing
3873           GstMiniObjects through g_object_get() and g_object_set().
3874
3875 2005-12-14  Julien MOUTTE  <julien@moutte.net>
3876
3877         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3878         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
3879         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
3880         of collectpads. This version removes a lot of races without
3881         touching API/ABI. Yay !
3882
3883 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
3884
3885         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
3886           Don't allow activation of a srcpad in pull_range if it has no
3887           getrange function.
3888           Change some debug statements to be a little clearer
3889
3890         * plugins/elements/gsttypefindelement.c:
3891         (gst_type_find_handle_src_query):
3892           Check that we have a peer before executing queries thereupon.
3893
3894         * tests/examples/metadata/read-metadata.c: (message_loop):
3895           Use gst_bus_pop instead of gst_bus_poll when we just want it to
3896           immediately return us any available message with 0 timeout.
3897
3898 2005-12-12  Michael Smith  <msmith@fluendo.com>
3899
3900         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3901           Don't unref factories after calling them.
3902         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
3903         * plugins/elements/gsttypefindelement.c:
3904         (gst_type_find_element_chain):
3905           Free lists of factories after using them. Fixing typefinding memory
3906           leaks.
3907
3908 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
3909
3910         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3911         (gst_plugin_feature_load):
3912           more meaningful debug output
3913         * configure.ac:
3914         * tests/Makefile.am:
3915         * tests/old/examples/Makefile.am:
3916           make make distcheck happy again
3917
3918 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3919
3920         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3921           Catch the special case where we are operating chain-based,
3922           but the downstream peer pad has no chain function. Emit a
3923           custom error message in this case instead of letting the
3924           core generate one implying that this is some sort of core
3925           bug. It's not, it just means that whatever got plugged
3926           into the pipeline downstream when we announced the type
3927           can only operate pull-based, while our source can only
3928           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
3929           Error string has not been marked for translation yet, as
3930           it probably needs some more work first.
3931
3932         (gst_type_find_element_get_best_possibility):
3933           Add helper function to find the best of all available
3934           found possibilities that qualify given the min. threshold.
3935
3936         (gst_type_find_element_handle_event):
3937           Fix the case where we get an EOS while still in TYPEFIND
3938           mode (we want to chose the best of all possible types,
3939           not just the first type that happens to be in our unsorted
3940           list of possible types).
3941
3942         (gst_type_find_element_chain):
3943           Make sure we return GST_FLOW_ERROR when we errored out
3944           in stop_typefinding(); also, don't just find the best of
3945           all found type entries and then use the last examined
3946           type entry, but actually use the best entry.
3947
3948 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3949
3950         * tests/examples/typefind/typefind.c: (type_found):
3951         * tests/examples/xml/runxml.c: (xml_loaded):
3952           More gcc4 fixes and a mem leak fix.
3953
3954 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
3955
3956         * tests/examples/xml/createxml.c: (object_saved):
3957           gcc 4 fixes
3958
3959 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * tests/Makefile.am:
3962           enable the examples even more
3963
3964 2005-12-12  Andy Wingo  <wingo@pobox.com>
3965
3966         * libs/gst/net/gstnettimeprovider.c
3967         (gst_net_time_provider_class_init, gst_net_time_provider_init)
3968         (gst_net_time_provider_set_property)
3969         (gst_net_time_provider_get_property):
3970         API addition: Export "active" as a GObject property.
3971         (gst_net_time_provider_thread): Only respond to time queries if
3972         the time provider is active.
3973
3974         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
3975         NetTimeProvider, preserving binary compat.
3976
3977 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
3978
3979         * tests/examples/controller/audio-example.c: (main):
3980         * tests/examples/launch/Makefile.am:
3981           convert comments again
3982
3983 2005-12-12  Wim Taymans  <wim@fluendo.com>
3984
3985         * libs/gst/base/gstpushsrc.c:
3986         Fix typo.
3987
3988 2005-12-12  Wim Taymans  <wim@fluendo.com>
3989
3990         * docs/libs/gstreamer-libs-sections.txt:
3991         Added new symbol to docs.
3992
3993         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3994         (gst_base_src_init), (gst_base_src_set_format),
3995         (gst_base_src_default_query), (gst_base_src_query),
3996         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
3997         (gst_base_src_perform_seek), (gst_base_src_send_event),
3998         (gst_base_src_default_event), (gst_base_src_event_handler),
3999         (gst_base_src_set_property), (gst_base_src_get_property),
4000         (gst_base_src_wait), (gst_base_src_do_sync),
4001         (gst_base_src_update_length), (gst_base_src_get_range),
4002         (gst_base_src_check_get_range), (gst_base_src_loop),
4003         (gst_base_src_default_negotiate), (gst_base_src_start),
4004         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4005         (gst_base_src_change_state):
4006         * libs/gst/base/gstbasesrc.h:
4007         Implement seeking to other formats than _BYTES.
4008         Implement more seeking methods correctly.
4009         Doc updates.
4010         Added query vmethod.
4011         Added do_seek vmethod to make life easier for subclasses
4012         when seeking.
4013         API addition: gst_base_src_set_format()
4014
4015 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4016
4017         * tests/examples/Makefile.am:
4018           added that too
4019
4020 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4021
4022         * configure.ac:
4023         * docs/random/ensonic/media-device-daemon.txt:
4024         * tests/examples/controller/.cvsignore:
4025         * tests/examples/controller/Makefile.am:
4026         * tests/examples/controller/audio-example.c: (main):
4027         * tests/examples/helloworld/.cvsignore:
4028         * tests/examples/helloworld/Makefile.am:
4029         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4030         * tests/examples/launch/.cvsignore:
4031         * tests/examples/launch/Makefile.am:
4032         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4033         * tests/examples/metadata/.cvsignore:
4034         * tests/examples/metadata/Makefile.am:
4035         * tests/examples/metadata/read-metadata.c: (message_loop),
4036         (make_pipeline), (print_tag), (main):
4037         * tests/examples/queue/.cvsignore:
4038         * tests/examples/queue/Makefile.am:
4039         * tests/examples/queue/queue.c: (event_loop), (main):
4040         * tests/examples/typefind/.cvsignore:
4041         * tests/examples/typefind/Makefile.am:
4042         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4043         (main):
4044         * tests/examples/xml/.cvsignore:
4045         * tests/examples/xml/Makefile.am:
4046         * tests/examples/xml/createxml.c: (object_saved), (main):
4047         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4048         * tests/old/examples/Makefile.am:
4049         * tests/old/examples/TODO:
4050         * tests/old/examples/controller/.cvsignore:
4051         * tests/old/examples/controller/Makefile.am:
4052         * tests/old/examples/controller/audio-example.c:
4053         * tests/old/examples/helloworld/.cvsignore:
4054         * tests/old/examples/helloworld/Makefile.am:
4055         * tests/old/examples/helloworld/helloworld.c:
4056         * tests/old/examples/launch/.cvsignore:
4057         * tests/old/examples/launch/Makefile.am:
4058         * tests/old/examples/launch/mp3parselaunch.c:
4059         * tests/old/examples/launch/mp3play:
4060         * tests/old/examples/manual/Makefile.am:
4061         * tests/old/examples/metadata/Makefile.am:
4062         * tests/old/examples/metadata/read-metadata.c:
4063         * tests/old/examples/queue/.cvsignore:
4064         * tests/old/examples/queue/Makefile.am:
4065         * tests/old/examples/queue/queue.c:
4066         * tests/old/examples/typefind/.cvsignore:
4067         * tests/old/examples/typefind/Makefile.am:
4068         * tests/old/examples/typefind/typefind.c:
4069         * tests/old/examples/xml/.cvsignore:
4070         * tests/old/examples/xml/Makefile.am:
4071         * tests/old/examples/xml/createxml.c:
4072         * tests/old/examples/xml/runxml.c:
4073           applied some simple fixing to some examples
4074           re-enabled the working examples
4075
4076 2005-12-12  Wim Taymans  <wim@fluendo.com>
4077
4078         * gst/gstsegment.c: (gst_segment_init),
4079         (gst_segment_set_last_stop), (gst_segment_set_seek),
4080         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4081         (gst_segment_to_running_time):
4082         Added more documentation.
4083         Make sure the last_pos value is updated properly.
4084         Make sure to_stream_time and to_running_time don't
4085         operate on wrong values.
4086
4087         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4088         Update check.
4089
4090 2005-12-12  Michael Smith  <msmith@fluendo.com>
4091
4092         * plugins/elements/gsttypefindelement.c: (free_entry),
4093         (gst_type_find_element_chain):
4094           Now that we're not leaking factories, make sure we keep references
4095           to them while we need them.
4096
4097 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4098
4099         * tests/check/gst/struct_i386.h:
4100           ifdef out the XML structs
4101
4102 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4103
4104         * gst/gstvalue.c: (gst_value_transform_double_fraction):
4105           floor is not needed, F is always positive; this obviates the
4106           need for adding -lm when building without libxml
4107
4108 2005-12-12  Wim Taymans  <wim@fluendo.com>
4109
4110         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4111         Take current playback rate into account when reporting
4112         the position.
4113
4114 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4115
4116         * docs/manual/mime-world.fig:
4117           Let's try this again, this time with a file that is
4118           actually in XFig format.
4119
4120 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4121
4122         * docs/manual/mime-world.fig:
4123           Add audioconvert element to diagram so that it
4124           matches the text and the code (fixes #319526).
4125
4126 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4127
4128         * docs/pwg/building-chainfn.xml:
4129         * docs/pwg/building-pads.xml:
4130         * docs/pwg/building-state.xml:
4131         * docs/pwg/other-source.xml:
4132           Update state change stuff for 0.10 (fixes #322969).
4133
4134 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4135
4136         * docs/manual/advanced-dataaccess.xml:
4137         * docs/manual/appendix-checklist.xml:
4138         * docs/manual/appendix-programs.xml:
4139         * docs/manual/basics-pads.xml:
4140         * docs/manual/highlevel-components.xml:
4141         * docs/manual/manual.xml:
4142           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4143           add converters in front of pipelines; remove curly
4144           brackets for threads stuff, they no longer exist; use
4145           GST_TYPE_FRACTION for framerates; update some pieces of
4146           code to 0.10, but there's plenty more to do.
4147
4148         * docs/manual/appendix-porting.xml:
4149           Expand on asynchroneous state changes; s/0.9/0.10/;
4150           mention disappearance of gst_init_get_popt_table()
4151           (fixes #322916).
4152
4153 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4154
4155         * docs/faq/using.xml:
4156           Spider no longer exists, and neither does gst-launch-ext.
4157           Update examples to use decodebin and playbin and put
4158           converters in front of sinks (fixes #323726).
4159
4160 2005-12-09  Michael Smith  <msmith@fluendo.com>
4161
4162         * plugins/elements/gsttypefindelement.c: (find_peek),
4163         (gst_type_find_element_chain):
4164           Fix leaking element factories in typefinding.
4165           Fix problem where we forgot about a probable type on non-seekable
4166           files, and thus later mis-typefound it.
4167
4168 2005-12-09  Michael Smith  <msmith@fluendo.com>
4169
4170         * common/m4/gst-makecontext.m4:
4171         * common/m4/gst-mcsc.m4:
4172         * configure.ac:
4173         * win32/common/config.h:
4174         * win32/common/config.h.in:
4175           Remove makecontext stuff; not used in 0.10 and causes problems on
4176           HPUX according to bug #322441
4177
4178 2005-12-07  Wim Taymans  <wim@fluendo.com>
4179
4180         * tests/check/Makefile.am:
4181         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4182         (main):
4183         * tests/check/libs/struct_i386.h:
4184         Added ABI check for libs
4185
4186 2005-12-07  Wim Taymans  <wim@fluendo.com>
4187
4188         * tests/check/Makefile.am:
4189         And add the struct_i386.h to dist.
4190
4191 2005-12-07  Wim Taymans  <wim@fluendo.com>
4192
4193         * tests/check/Makefile.am:
4194         * tests/check/gst/.cvsignore:
4195         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4196         (main):
4197         * tests/check/gst/struct_i386.h:
4198         Added check for ABI compatibility.
4199
4200 2005-12-07  Wim Taymans  <wim@fluendo.com>
4201
4202         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4203         (gst_fake_src_get_times), (gst_fake_src_create):
4204         Fix broken sync option, fixes #323259
4205
4206 2005-12-07  Wim Taymans  <wim@fluendo.com>
4207
4208         * gst/gstbuffer.c:
4209         Small docs update.
4210
4211         * gst/gstcaps.c: (gst_caps_is_equal):
4212         Don't assert on NULL <--> X. Fixes #323260
4213
4214         * gst/gstminiobject.c: (gst_mini_object_replace):
4215         If we're doing atomic operations, we might just as well use
4216         the proper way to get an atomic pointer.
4217
4218         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4219         Clean up debugging.
4220
4221 2005-12-07  Michael Smith  <msmith@fluendo.com>
4222
4223         * gst/parse/grammar.y:
4224           Remove handling of { } for threads.
4225
4226 2005-12-06  David Schleef  <ds@schleef.org>
4227
4228         * libs/gst/base/gstbasetransform.c: speling fix.
4229
4230 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4231
4232         * docs/libs/tmpl/gstdataprotocol.sgml:
4233         * docs/random/omega/testing/gstobject.c:
4234         * gst/gst.c:
4235         * gst/gstclock.c:
4236         * gst/gstelement.c:
4237         * gst/gstelementfactory.c:
4238         * gst/gsterror.c:
4239         * gst/gstevent.c:
4240         * gst/gstghostpad.c:
4241         * gst/gstinfo.c:
4242         * gst/gstpadtemplate.c:
4243         * gst/gstregistryxml.c:
4244         * gst/gsttaglist.c:
4245         * gst/gsttagsetter.c:
4246         * gst/gsttypefind.c:
4247         * gst/gstvalue.c:
4248         * libs/gst/base/gstbasesrc.c:
4249         * libs/gst/net/gstnetclientclock.c:
4250         * libs/gst/net/gstnettimeprovider.c:
4251         * plugins/elements/gstfakesrc.c:
4252         * plugins/elements/gstfdsrc.c:
4253         * plugins/elements/gstfilesrc.c:
4254         * plugins/elements/gstidentity.c:
4255         * plugins/elements/gstqueue.c:
4256         * plugins/elements/gsttypefindelement.c:
4257         * plugins/indexers/gstfileindex.c:
4258         * plugins/indexers/gstmemindex.c:
4259         * tests/check/gst/gsttag.c:
4260         * tests/old/examples/cutter/cutter.c:
4261         * tests/old/examples/mixer/mixer.c:
4262         * tests/old/examples/xml/runxml.c: (main):
4263         * tests/old/testsuite/caps/normalisation.c:
4264         * tests/old/testsuite/debug/global.c:
4265         * tests/old/testsuite/parse/parse1.c:
4266         * tools/gst-xmlinspect.c:
4267         * win32/common/dirent.c:
4268           expand tabs
4269
4270 === release 0.10.0 ===
4271
4272 2005-12-05   <thomas (at) apestaart (dot) org>
4273
4274         * configure.ac:
4275           releasing 0.10.0, "Maroilles"
4276
4277 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4278
4279         submitted by: Funda Wang <fundawang@linux.net.cn>
4280
4281         * po/LINGUAS:
4282         * po/zh_CN.po:
4283           added Chinese (Traditional) translation
4284
4285 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4286
4287         * docs/gst/gstreamer-sections.txt:
4288         * docs/libs/tmpl/gstdataprotocol.sgml:
4289         * docs/random/thomasvs/TODO:
4290         * gst/gstutils.c:
4291         * gst/gstutils.h:
4292           fix docs
4293
4294 2005-12-05  Andy Wingo  <wingo@pobox.com>
4295
4296         patch by: Wim Taymans <wim@fluendo.com>
4297
4298         * libs/gst/base/gstbasetransform.c
4299         (gst_base_transform_prepare_output_buf)
4300         (gst_base_transform_buffer_alloc):
4301         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4302         alloc_buffer_and_set_caps.
4303
4304         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4305         set_caps on the source pad.
4306         (gst_pad_alloc_buffer_and_set_caps): New function, does what
4307         alloc_buffer used to do. Fixes #322874.
4308
4309         * docs/gst/gstreamer-sections.txt: 
4310         * docs/design/part-negotiation.txt: 
4311         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4312         changes.
4313
4314 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4315
4316         patch by: Sebastien Moutte
4317
4318         * win32/MANIFEST:
4319         * win32/common/config.h.in:
4320         * win32/vs6/libgstcontroller.dsp:
4321           win32 build fixes
4322
4323 2005-12-05  Wim Taymans  <wim@fluendo.com>
4324
4325         * gst/gstcaps.c: (gst_caps_is_equal):
4326         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4327         (gst_fake_src_create):
4328         Back out previous code changes, leave doc updates, file bugs 
4329         instead. 
4330
4331 2005-12-05  Wim Taymans  <wim@fluendo.com>
4332
4333         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4334         (gst_fake_src_get_times), (gst_fake_src_create):
4335         * plugins/elements/gstfakesrc.h:
4336         Fix broken sync code.
4337
4338 2005-12-05  Wim Taymans  <wim@fluendo.com>
4339
4340         * gst/gstcaps.c: (gst_caps_is_equal):
4341         Comparing NULL against !NULL yields different caps, not a
4342         failure.
4343
4344 2005-12-05  Wim Taymans  <wim@fluendo.com>
4345
4346         * gst/gstpipeline.c:
4347         Fix small typo in docs.
4348
4349 2005-12-05  Andy Wingo  <wingo@pobox.com>
4350
4351         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
4352
4353         * gst/gst.c (init_post): remove hard-coded 0.9 location for
4354         registries/plugins with a MAJORMINOR one.
4355         (plugin_desc): Rename library from gstcoreleements to
4356         staticelements. Fixes #323222.
4357
4358 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
4359
4360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4361           Change debug category to 'collectpads' from 'collect_pads'
4362           (fixes #323250).
4363
4364 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4365
4366         patch by: Sebastien Moutte
4367
4368         * libs/gst/controller/gstinterpolation.c:
4369           use convert function for uint64/double
4370         * win32/vs6/libgstcontroller.dsp:
4371           link to GLib
4372
4373 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4374
4375         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4376         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4377         * gst/gstutils.h:
4378         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4379           add tests that seem to show that the guint64/gdouble conversions
4380           are correct.
4381
4382 2005-12-02  Wim Taymans  <wim@fluendo.com>
4383
4384         * gst/gstregistry.c: (gst_registry_add_path):
4385         * gst/gstregistry.h:
4386         * gst/gstregistryxml.c:
4387         Fix docs again.
4388
4389 2005-12-02  Wim Taymans  <wim@fluendo.com>
4390
4391         * gst/gstutils.c: (gst_util_uint64_scale_int64),
4392         (gst_util_uint64_scale_int):
4393         Small cleanup.
4394
4395         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4396         Add debug log line.
4397
4398         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4399         Add FIXME.
4400
4401 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4402
4403         * win32/MANIFEST:
4404         * win32/common/config.h:
4405         * win32/vs6/gstreamer.dsw:
4406         * win32/vs6/libgstcoreelements.dsp:
4407         * win32/vs6/libgstelements.dsp:
4408           renamed core elements plugin
4409
4410 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4411
4412         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4413         (get_candidates):
4414           do piece-wise major/minor comparison so 0.9 < 0.10
4415           also allow .exe extensions for tools
4416
4417 2005-12-02  Michael Smith  <msmith@fluendo.com>
4418
4419         * gst/gst.c:
4420           Escape a % to make gtkdoc happier; bug 322958.
4421
4422 === release 0.9.7 ===
4423
4424 2005-12-01   <thomas (at) apestaart (dot) org>
4425
4426         * configure.ac:
4427           releasing 0.9.7, "My Dog Has No Nose"
4428
4429 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4430
4431         * common/gst-xmlinspect.py:
4432         * configure.ac:
4433         * docs/libs/tmpl/gstdataprotocol.sgml:
4434         * docs/random/release:
4435         * po/af.po:
4436         * po/az.po:
4437         * po/bg.po:
4438         * po/ca.po:
4439         * po/cs.po:
4440         * po/de.po:
4441         * po/en_GB.po:
4442         * po/fr.po:
4443         * po/it.po:
4444         * po/nb.po:
4445         * po/nl.po:
4446         * po/ru.po:
4447         * po/sq.po:
4448         * po/sr.po:
4449         * po/sv.po:
4450         * po/tr.po:
4451         * po/uk.po:
4452         * po/vi.po:
4453         * win32/common/config.h:
4454         * win32/common/config.h.in:
4455         * win32/vs6/gst_inspect.dsp:
4456         * win32/vs6/gst_launch.dsp:
4457         * win32/vs6/libgstbase.dsp:
4458         * win32/vs6/libgstelements.dsp:
4459         * win32/vs6/libgstreamer.dsp:
4460         * win32/vs7/GStreamer.vcproj:
4461         * win32/vs7/gst-inspect.vcproj:
4462         * win32/vs7/gst-launch.vcproj:
4463         * win32/vs7/libgstbase.vcproj:
4464           bump GST_MAJORMINOR to 0.10
4465           reset libtool version
4466
4467 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4468
4469         * po/LINGUAS:
4470         * po/bg.po:
4471           Added Bulgarian translation by (Alexander Shopov)
4472
4473 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4474
4475         * tests/check/gst/gstplugin.c:
4476           fix test
4477
4478 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4479
4480         * common/gst-xmlinspect.py:
4481         * common/gtk-doc-plugins.mak:
4482         * configure.ac:
4483         * docs/Makefile.am:
4484         * docs/gst/Makefile.am:
4485         * docs/gst/gstreamer-docs.sgml:
4486         * docs/gst/gstreamer-sections.txt:
4487         * docs/gst/gstreamer.types:
4488         * docs/gst/gstreamer.types.in:
4489         * docs/plugins/Makefile.am:
4490         * docs/plugins/gstreamer-plugins-docs.sgml:
4491         * docs/plugins/gstreamer-plugins-sections.txt:
4492         * docs/plugins/gstreamer-plugins.types:
4493         * docs/plugins/inspect.stamp:
4494         * docs/plugins/inspect/plugin-coreelements.xml:
4495         * docs/plugins/inspect/plugin-coreindexers.xml:
4496         * docs/plugins/scanobj-build.stamp:
4497         * gstreamer.spec.in:
4498         * plugins/elements/Makefile.am:
4499         * plugins/elements/gstelements.c:
4500         * plugins/elements/gstfakesink.c:
4501         * plugins/elements/gstfakesrc.c:
4502         * plugins/elements/gstfilesink.c:
4503         * plugins/elements/gstfilesrc.c:
4504         * plugins/elements/gstqueue.c:
4505         * plugins/indexers/Makefile.am:
4506         * plugins/indexers/gstindexers.c:
4507           document core plugins in a separate document just like all the
4508           others
4509           rename these plugins to something starting with core
4510
4511 2005-12-01  Andy Wingo  <wingo@pobox.com>
4512
4513         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4514         padding here before, but it missed the commit.
4515
4516 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4517
4518         * libs/gst/controller/gstinterpolation.c:
4519           whitespace prices have crashed, we should feel free to use some now
4520           use gst_guint64_to_gdouble
4521
4522 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4523
4524         * libs/gst/controller/gstcontroller.c:
4525         * libs/gst/controller/gsthelper.c:
4526         * libs/gst/controller/gstinterpolation.c:
4527         * libs/gst/controller/lib.c:
4528           wrap config.h include
4529
4530 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4531
4532         * docs/gst/gstreamer-sections.txt:
4533           update docs
4534
4535 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4536
4537         * plugins/elements/gstelements.c:
4538         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4539         (gst_fd_sink__class_init), (gst_fd_sink__init),
4540         (gst_fd_sink__chain), (gst_fd_sink__set_property),
4541         (gst_fd_sink__get_property):
4542         * plugins/elements/gstfdsink.h:
4543         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4544         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4545         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4546         (gst_fd_src_unlock), (gst_fd_src_set_property),
4547         (gst_fd_src_get_property), (gst_fd_src_create),
4548         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4549         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4550         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4551         (gst_fd_src_uri_handler_init):
4552         * plugins/elements/gstfdsrc.h:
4553         * plugins/elements/gstqueue.c: (gst_queue_get_type):
4554           more anal cleanup
4555
4556 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4557
4558         * docs/gst/Makefile.am:
4559         * docs/gst/gstreamer.types.in:
4560         * gst/Makefile.am:
4561           fix the docs build
4562
4563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4564
4565         * configure.ac:
4566         * gst/Makefile.am:
4567         * gst/gst.c:
4568         * gst/gstplugin.h:
4569         * gst/gstregistry.h:
4570         * tests/benchmarks/complexity.c:
4571         * tests/benchmarks/mass-elements.c:
4572         * tests/check/Makefile.am:
4573         * tools/Makefile.am:
4574         * tools/gst-inspect.c:
4575         * tools/gst-xmlinspect.c:
4576           various fixes to make
4577           --disable-nls --disable-registry --disable-loadsave
4578           --disable-parse --disable-gst-debug
4579           work and get the core .so down to 360444 bytes after stripping
4580
4581 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4582
4583         * Makefile.am:
4584         * configure.ac:
4585           descend into tests
4586         * docs/random/thomasvs/TODO:
4587         * tests/Makefile.am:
4588         * tests/README:
4589           add a README
4590
4591 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4592
4593         * win32/GStreamer.vcproj:
4594         * win32/MANIFEST:
4595         * win32/Makefile:
4596         * win32/Makefile.inspect:
4597         * win32/Makefile.launch:
4598         * win32/Makefile.register:
4599         * win32/README.txt:
4600         * win32/gst-inspect.vcproj:
4601         * win32/gst-launch.vcproj:
4602         * win32/gst-register.vcproj:
4603         * win32/gstelements.vcproj:
4604         * win32/gstgetbits.def:
4605         * win32/gstgetbits.vcproj:
4606         * win32/gstreamer-dbg.def:
4607         * win32/gstreamer.def:
4608         * win32/libgstbase.def:
4609         * win32/libgstbase.vcproj:
4610         * win32/link_oldruntime.c:
4611         * win32/mman.c:
4612         * win32/mman.h:
4613         * win32/mman.inl:
4614         * win32/msvc71.sln:
4615           move even more stuff, win32/ is nice and clean now
4616
4617 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4618
4619         * libs/gst/control/.cvsignore:
4620         * win32/MANIFEST:
4621         * win32/config.h:
4622         * win32/dirent.c:
4623         * win32/dirent.h:
4624         * win32/gstbytestream.def:
4625         * win32/gstbytestream.vcproj:
4626         * win32/gstconfig.h:
4627         * win32/gstenumtypes.c:
4628         * win32/gstenumtypes.h:
4629         * win32/gstoptimalscheduler.vcproj:
4630         * win32/gstversion.h:
4631         * win32/gtchar.h:
4632         * win32/testsuite/bins.vcproj:
4633         * win32/testsuite/bytestream.vcproj:
4634         * win32/testsuite/caps.vcproj:
4635         * win32/testsuite/cleanup.vcproj:
4636         * win32/testsuite/clock.vcproj:
4637         * win32/testsuite/debug.vcproj:
4638         * win32/testsuite/dlopen.vcproj:
4639         * win32/testsuite/dynparams.vcproj:
4640         * win32/testsuite/elements.vcproj:
4641         * win32/testsuite/ghostpads.vcproj:
4642         * win32/testsuite/indexers.vcproj:
4643         * win32/testsuite/negotiation.vcproj:
4644         * win32/testsuite/parse.vcproj:
4645         * win32/testsuite/plugin.vcproj:
4646         * win32/testsuite/refcounting.vcproj:
4647         * win32/testsuite/schedulers.vcproj:
4648         * win32/testsuite/states.vcproj:
4649         * win32/testsuite/tags.vcproj:
4650         * win32/testsuite/threads.vcproj:
4651           remove old win32 stuff that isn't maintained and should be
4652           reorganized
4653
4654 2005-11-30  Andy Wingo  <wingo@pobox.com>
4655
4656         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4657         loading the gst.interfaces python module bork.
4658
4659         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4660         available since GLib 2.2. Fixes #318031.
4661
4662 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4663
4664         * Makefile.am:
4665         * check/.cvsignore:
4666         * check/Makefile.am:
4667         * check/elements/.cvsignore:
4668         * check/elements/fakesrc.c:
4669         * check/elements/fdsrc.c:
4670         * check/elements/identity.c:
4671         * check/generic/.cvsignore:
4672         * check/generic/states.c:
4673         * check/gst-libs/.cvsignore:
4674         * check/gst-libs/controller.c:
4675         * check/gst-libs/gdp.c:
4676         * check/gst/.cvsignore:
4677         * check/gst/capslist.h:
4678         * check/gst/gst.c:
4679         * check/gst/gstbin.c:
4680         * check/gst/gstbuffer.c:
4681         * check/gst/gstbus.c:
4682         * check/gst/gstcaps.c:
4683         * check/gst/gstelement.c:
4684         * check/gst/gstevent.c:
4685         * check/gst/gstghostpad.c:
4686         * check/gst/gstiterator.c:
4687         * check/gst/gstmessage.c:
4688         * check/gst/gstminiobject.c:
4689         * check/gst/gstobject.c:
4690         * check/gst/gstpad.c:
4691         * check/gst/gstpipeline.c:
4692         * check/gst/gstplugin.c:
4693         * check/gst/gstsegment.c:
4694         * check/gst/gststructure.c:
4695         * check/gst/gstsystemclock.c:
4696         * check/gst/gsttag.c:
4697         * check/gst/gstutils.c:
4698         * check/gst/gstvalue.c:
4699         * check/net/.cvsignore:
4700         * check/net/gstnetclientclock.c:
4701         * check/net/gstnettimeprovider.c:
4702         * check/pipelines/.cvsignore:
4703         * check/pipelines/cleanup.c:
4704         * check/pipelines/simple_launch_lines.c:
4705         * check/pipelines/stress.c:
4706         * check/states/.cvsignore:
4707         * check/states/sinks.c:
4708         * configure.ac:
4709         * examples/Makefile.am:
4710         * examples/appreader/.cvsignore:
4711         * examples/appreader/Makefile.am:
4712         * examples/appreader/appreader.c:
4713         * examples/controller/.cvsignore:
4714         * examples/controller/Makefile.am:
4715         * examples/controller/audio-example.c:
4716         * examples/cutter/.cvsignore:
4717         * examples/cutter/Makefile.am:
4718         * examples/cutter/cutter.c:
4719         * examples/cutter/cutter.h:
4720         * examples/events/Makefile.am:
4721         * examples/events/seek.c:
4722         * examples/helloworld/.cvsignore:
4723         * examples/helloworld/Makefile.am:
4724         * examples/helloworld/helloworld.c:
4725         * examples/helloworld2/.cvsignore:
4726         * examples/helloworld2/Makefile.am:
4727         * examples/helloworld2/helloworld2.c:
4728         * examples/launch/.cvsignore:
4729         * examples/launch/Makefile.am:
4730         * examples/launch/mp3parselaunch.c:
4731         * examples/launch/mp3play:
4732         * examples/manual/.cvsignore:
4733         * examples/manual/Makefile.am:
4734         * examples/manual/extract.pl:
4735         * examples/metadata/Makefile.am:
4736         * examples/metadata/read-metadata.c:
4737         * examples/mixer/.cvsignore:
4738         * examples/mixer/Makefile.am:
4739         * examples/mixer/mixer.c:
4740         * examples/mixer/mixer.h:
4741         * examples/pingpong/.cvsignore:
4742         * examples/pingpong/Makefile.am:
4743         * examples/pingpong/pingpong.c:
4744         * examples/plugins/.cvsignore:
4745         * examples/plugins/Makefile.am:
4746         * examples/plugins/example.c:
4747         * examples/plugins/example.h:
4748         * examples/pwg/.cvsignore:
4749         * examples/pwg/Makefile.am:
4750         * examples/pwg/extract.pl:
4751         * examples/queue/.cvsignore:
4752         * examples/queue/Makefile.am:
4753         * examples/queue/queue.c:
4754         * examples/queue2/.cvsignore:
4755         * examples/queue2/Makefile.am:
4756         * examples/queue2/queue2.c:
4757         * examples/queue3/.cvsignore:
4758         * examples/queue3/Makefile.am:
4759         * examples/queue3/queue3.c:
4760         * examples/queue4/.cvsignore:
4761         * examples/queue4/Makefile.am:
4762         * examples/queue4/queue4.c:
4763         * examples/retag/.cvsignore:
4764         * examples/retag/Makefile.am:
4765         * examples/retag/retag.c:
4766         * examples/retag/transcode.c:
4767         * examples/thread/.cvsignore:
4768         * examples/thread/Makefile.am:
4769         * examples/thread/thread.c:
4770         * examples/typefind/.cvsignore:
4771         * examples/typefind/Makefile.am:
4772         * examples/typefind/typefind.c:
4773         * examples/xml/.cvsignore:
4774         * examples/xml/Makefile.am:
4775         * examples/xml/createxml.c:
4776         * examples/xml/runxml.c:
4777         * tests/Makefile.am:
4778         * tests/check/Makefile.am:
4779         * testsuite/.cvsignore:
4780         * testsuite/Makefile.am:
4781         * testsuite/Rules:
4782         * testsuite/caps/.cvsignore:
4783         * testsuite/caps/Makefile.am:
4784         * testsuite/caps/app_fixate.c:
4785         * testsuite/caps/audioscale.c:
4786         * testsuite/caps/caps.c:
4787         * testsuite/caps/caps.h:
4788         * testsuite/caps/caps_strings:
4789         * testsuite/caps/compatibility.c:
4790         * testsuite/caps/deserialize.c:
4791         * testsuite/caps/enumcaps.c:
4792         * testsuite/caps/eratosthenes.c:
4793         * testsuite/caps/filtercaps.c:
4794         * testsuite/caps/fixed.c:
4795         * testsuite/caps/fraction-convert.c:
4796         * testsuite/caps/fraction-multiply-and-zero.c:
4797         * testsuite/caps/intersect2.c:
4798         * testsuite/caps/intersection.c:
4799         * testsuite/caps/normalisation.c:
4800         * testsuite/caps/random.c:
4801         * testsuite/caps/renegotiate.c:
4802         * testsuite/caps/sets.c:
4803         * testsuite/caps/simplify.c:
4804         * testsuite/caps/string-conversions.c:
4805         * testsuite/caps/structure.c:
4806         * testsuite/caps/subtract.c:
4807         * testsuite/caps/union.c:
4808         * testsuite/debug/.cvsignore:
4809         * testsuite/debug/Makefile.am:
4810         * testsuite/debug/category.c:
4811         * testsuite/debug/commandline.c:
4812         * testsuite/debug/global.c:
4813         * testsuite/debug/output.c:
4814         * testsuite/debug/printf_extension.c:
4815         * testsuite/dlopen/.cvsignore:
4816         * testsuite/dlopen/Makefile.am:
4817         * testsuite/dlopen/dlopen_gst.c:
4818         * testsuite/dlopen/loadgst.c:
4819         * testsuite/elements/.cvsignore:
4820         * testsuite/elements/Makefile.am:
4821         * testsuite/elements/gst-inspect-check.in:
4822         * testsuite/elements/struct_i386.h:
4823         * testsuite/elements/struct_size.c:
4824         * testsuite/indexers/.cvsignore:
4825         * testsuite/indexers/Makefile.am:
4826         * testsuite/indexers/cache1.c:
4827         * testsuite/indexers/indexdump.c:
4828         * testsuite/parse/.cvsignore:
4829         * testsuite/parse/Makefile.am:
4830         * testsuite/parse/parse1.c:
4831         * testsuite/parse/parse2.c:
4832         * testsuite/plugin/.cvsignore:
4833         * testsuite/plugin/Makefile.am:
4834         * testsuite/plugin/README:
4835         * testsuite/plugin/dynamic.c:
4836         * testsuite/plugin/linked.c:
4837         * testsuite/plugin/loading.c:
4838         * testsuite/plugin/registry.c:
4839         * testsuite/plugin/static.c:
4840         * testsuite/plugin/static2.c:
4841         * testsuite/plugin/testplugin.c:
4842         * testsuite/plugin/testplugin2.c:
4843         * testsuite/plugin/testplugin2_s.c:
4844         * testsuite/plugin/testplugin_s.c:
4845         * testsuite/refcounting/.cvsignore:
4846         * testsuite/refcounting/Makefile.am:
4847         * testsuite/refcounting/bin.c:
4848         * testsuite/refcounting/element.c:
4849         * testsuite/refcounting/element_pad.c:
4850         * testsuite/refcounting/mainloop.c:
4851         * testsuite/refcounting/mem.c:
4852         * testsuite/refcounting/mem.h:
4853         * testsuite/refcounting/object.c:
4854         * testsuite/refcounting/pad.c:
4855         * testsuite/refcounting/sched.c:
4856         * testsuite/refcounting/thread.c:
4857         * testsuite/states/.cvsignore:
4858         * testsuite/states/Makefile.am:
4859         * testsuite/states/bin.c:
4860         * testsuite/states/locked.c:
4861         * testsuite/states/parent.c:
4862         * testsuite/threads/.cvsignore:
4863         * testsuite/threads/159566.c:
4864         * testsuite/threads/159852.c:
4865         * testsuite/threads/Makefile.am:
4866         * testsuite/threads/queue.c:
4867         * testsuite/threads/signals.c:
4868         * testsuite/threads/staticrec.c:
4869         * testsuite/threads/thread.c:
4870         * testsuite/threads/threadb.c:
4871         * testsuite/threads/threadc.c:
4872         * testsuite/threads/threadd.c:
4873         * testsuite/threads/threade.c:
4874         * testsuite/threads/threadf.c:
4875         * testsuite/threads/threadg.c:
4876         * testsuite/threads/threadh.c:
4877         * testsuite/threads/threadi.c:
4878           move all of these under tests
4879
4880 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4881
4882         * configure.ac:
4883         * tests/Makefile.am:
4884           fix distcheck
4885
4886 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4887
4888         * docs/gst/gstreamer-sections.txt:
4889         * tests/sched/.cvsignore:
4890         * tests/sched/Makefile.am:
4891         * tests/sched/cases/(fs-fs).xml:
4892         * tests/sched/cases/(fs-i-fs).xml:
4893         * tests/sched/cases/(fs-i-i-fs).xml:
4894         * tests/sched/cases/(fs-i-q[i-fs]).xml:
4895         * tests/sched/dynamic-pipeline.c:
4896         * tests/sched/interrupt1.c:
4897         * tests/sched/interrupt2.c:
4898         * tests/sched/interrupt3.c:
4899         * tests/sched/runtestcases:
4900         * tests/sched/runxml.c:
4901         * tests/sched/sched-stress.c:
4902         * tests/sched/sort.c:
4903         * tests/sched/testcases:
4904         * tests/sched/testcases1.tc:
4905         * tests/seeking/.cvsignore:
4906         * tests/seeking/Makefile.am:
4907         * tests/seeking/seeking1.c:
4908         * tests/threadstate/.cvsignore:
4909         * tests/threadstate/Makefile.am:
4910         * tests/threadstate/test1.c:
4911         * tests/threadstate/test2.c:
4912         * tests/threadstate/threadstate1.c:
4913         * tests/threadstate/threadstate2.c:
4914         * tests/threadstate/threadstate3.c:
4915         * tests/threadstate/threadstate4.c:
4916         * tests/threadstate/threadstate5.c:
4917           remove obsolete tests
4918         * configure.ac:
4919         * tests/bench-complexity.scm:
4920         * tests/bench-mass_elements.scm:
4921         * tests/complexity.c:
4922         * tests/complexity.gnuplot:
4923         * tests/instantiate/.cvsignore:
4924         * tests/instantiate/Makefile.am:
4925         * tests/instantiate/caps.c:
4926         * tests/mass_elements.c:
4927         * tests/network-clock-utils.scm:
4928         * tests/network-clock.scm:
4929         * tests/plot-data:
4930         First pass at cleaning up tests/ dir before moving the rest
4931         Combined with CVS surgery
4932
4933 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4934
4935         * po/POTFILES.in:
4936           queue has moved, update
4937
4938 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4939
4940         * docs/gst/gstreamer-sections.txt:
4941           remove double entries from the docs
4942         * gst/gst_private.h:
4943         * gst/gstinfo.c: (_gst_debug_init):
4944           remove the THREAD debug category
4945         * gst/Makefile.am:
4946         * gst/gstqueue.c:
4947         * gst/gstqueue.h:
4948         * docs/gst/gstreamer.types:
4949         * plugins/elements/gstqueue.c: (gst_queue_get_type),
4950         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
4951           completely move queue and fix up debugging categories
4952
4953 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4954
4955         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4956           make initialization portable, using LL is not
4957
4958 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4959
4960         * win32/common/gstconfig.h:
4961           add large padding
4962
4963 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4964
4965         * win32/common/libgstreamer.def:
4966           rename symbols; sort base section
4967
4968 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4969
4970         * gst/gstclock.c: (do_linear_regression):
4971           remove crack non-portable handrolled DEBUG macro
4972
4973 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4974
4975         * docs/random/release:
4976           update notes
4977         * win32/common/gstenumtypes.c: (register_gst_object_flags),
4978         (gst_object_flags_get_type), (register_gst_bin_flags),
4979         (gst_bin_flags_get_type), (register_gst_buffer_flag),
4980         (gst_buffer_flag_get_type), (register_gst_bus_flags),
4981         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
4982         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
4983         (gst_caps_flags_get_type), (register_gst_clock_return),
4984         (gst_clock_return_get_type), (register_gst_clock_entry_type),
4985         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
4986         (gst_clock_flags_get_type), (register_gst_state),
4987         (gst_state_get_type), (register_gst_state_change_return),
4988         (gst_state_change_return_get_type), (register_gst_state_change),
4989         (gst_state_change_get_type), (register_gst_element_flags),
4990         (gst_element_flags_get_type), (register_gst_core_error),
4991         (gst_core_error_get_type), (register_gst_library_error),
4992         (gst_library_error_get_type), (register_gst_resource_error),
4993         (gst_resource_error_get_type), (register_gst_stream_error),
4994         (gst_stream_error_get_type), (register_gst_event_type_flags),
4995         (gst_event_type_flags_get_type), (register_gst_event_type),
4996         (gst_event_type_get_type), (register_gst_seek_type),
4997         (gst_seek_type_get_type), (register_gst_seek_flags),
4998         (gst_seek_flags_get_type), (register_gst_format),
4999         (gst_format_get_type), (register_gst_index_certainty),
5000         (gst_index_certainty_get_type), (register_gst_index_entry_type),
5001         (gst_index_entry_type_get_type),
5002         (register_gst_index_lookup_method),
5003         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5004         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5005         (gst_index_resolver_method_get_type), (register_gst_index_flags),
5006         (gst_index_flags_get_type), (register_gst_debug_level),
5007         (gst_debug_level_get_type), (register_gst_debug_color_flags),
5008         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5009         (gst_iterator_result_get_type), (register_gst_iterator_item),
5010         (gst_iterator_item_get_type), (register_gst_message_type),
5011         (gst_message_type_get_type), (register_gst_mini_object_flags),
5012         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5013         (gst_pad_link_return_get_type), (register_gst_flow_return),
5014         (gst_flow_return_get_type), (register_gst_activate_mode),
5015         (gst_activate_mode_get_type), (register_gst_pad_direction),
5016         (gst_pad_direction_get_type), (register_gst_pad_flags),
5017         (gst_pad_flags_get_type), (register_gst_pad_presence),
5018         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5019         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5020         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5021         (gst_plugin_error_get_type), (register_gst_plugin_flags),
5022         (gst_plugin_flags_get_type), (register_gst_rank),
5023         (gst_rank_get_type), (register_gst_query_type),
5024         (gst_query_type_get_type), (register_gst_tag_merge_mode),
5025         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5026         (gst_tag_flag_get_type), (register_gst_task_state),
5027         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5028         (gst_alloc_trace_flags_get_type),
5029         (register_gst_type_find_probability),
5030         (gst_type_find_probability_get_type), (register_gst_uri_type),
5031         (gst_uri_type_get_type), (register_gst_parse_error),
5032         (gst_parse_error_get_type):
5033         * win32/common/gstenumtypes.h:
5034         * win32/common/gstversion.h:
5035           update visual studio generated files
5036
5037 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5038
5039         * win32/vs6/libgstbase.dsp:
5040         * win32/vs6/libgstelements.dsp:
5041           update project files for new locations
5042
5043 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5044
5045         * Makefile.am:
5046           remove some files
5047         * README:
5048           reinstate and update
5049         * DEVEL:
5050         * REQUIREMENTS:
5051           removed
5052         * LICENSE:
5053         * docs/random/LICENSE:
5054           moved to random
5055
5056 2005-11-30  Edward Hervey  <edward@fluendo.com>
5057
5058         * gst/gsttypefind.c: (gst_type_find_register):
5059         * gst/gsttypefind.h:
5060         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5061         (gst_type_find_factory_dispose):
5062         * gst/gsttypefindfactory.h:
5063         Fix memory leak in GstTypeFindFactory.
5064
5065 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5066
5067         * gst/gst.c:
5068         * plugins/elements/Makefile.am:
5069         * plugins/elements/gstelements.c:
5070         * plugins/elements/gstqueue.c:
5071           move queue from core to the elements plugin
5072
5073 2005-11-29  Andy Wingo  <wingo@pobox.com>
5074
5075         * libs/gst/base/gstbasetransform.h: 
5076         * libs/gst/base/gstbasesrc.h: 
5077         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5078
5079         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5080         of pointers by which to pad very extensible base classes (like the
5081         ones in libs/gst/base).
5082
5083 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5084
5085         * docs/gst/gstreamer-docs.sgml:
5086         * docs/gst/gstreamer-sections.txt:
5087         * docs/libs/gstreamer-libs-docs.sgml:
5088         * docs/libs/gstreamer-libs-sections.txt:
5089           moving documentation from core to lib
5090
5091 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5092
5093         * check/Makefile.am:
5094         * configure.ac:
5095         * docs/gst/Makefile.am:
5096         * gst/Makefile.am:
5097         * gst/base/.cvsignore:
5098         * gst/base/Makefile.am:
5099         * gst/base/README:
5100         * gst/base/gstadapter.c:
5101         * gst/base/gstadapter.h:
5102         * gst/base/gstbasesink.c:
5103         * gst/base/gstbasesink.h:
5104         * gst/base/gstbasesrc.c:
5105         * gst/base/gstbasesrc.h:
5106         * gst/base/gstbasetransform.c:
5107         * gst/base/gstbasetransform.h:
5108         * gst/base/gstcollectpads.c:
5109         * gst/base/gstcollectpads.h:
5110         * gst/base/gstpushsrc.c:
5111         * gst/base/gstpushsrc.h:
5112         * gst/base/gsttypefindhelper.c:
5113         * gst/base/gsttypefindhelper.h:
5114         * gst/check/Makefile.am:
5115         * gst/check/gstcheck.c:
5116         * gst/check/gstcheck.h:
5117         * gst/net/Makefile.am:
5118         * gst/net/gstnet.h:
5119         * gst/net/gstnetclientclock.c:
5120         * gst/net/gstnetclientclock.h:
5121         * gst/net/gstnettimepacket.c:
5122         * gst/net/gstnettimepacket.h:
5123         * gst/net/gstnettimeprovider.c:
5124         * gst/net/gstnettimeprovider.h:
5125         * libs/gst/Makefile.am:
5126         * libs/gst/base/Makefile.am:
5127         * libs/gst/base/gstbasetransform.c:
5128         * libs/gst/check/Makefile.am:
5129         * plugins/elements/Makefile.am:
5130         * po/POTFILES.in:
5131           CVS surgery + support to move base, check, and net out of gst
5132           and into libs/gst
5133
5134 2005-11-29  Andy Wingo  <wingo@pobox.com>
5135
5136         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5137
5138         * gst/gststructure.h (struct _GstStructure): Only one pointer of
5139         padding.
5140
5141         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5142
5143         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5144
5145         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5146
5147         * gst/gstobject.h: (struct _GstObject): Only one pointer of
5148         padding; reduces object size by about 30%. We don't expect
5149         anything else to go into gstobject.
5150
5151         * gst/gstminiobject.h (struct _GstMiniObject)
5152         (struct _GstMiniObjectClass): Only one pointer of padding; the
5153         payload is only a pointer and two ints anyway. For the class there
5154         are only two methods as well.
5155         
5156         * gst/gstelement.h (struct _GstElementClass): Removed
5157         the state_changed signal callback, it is not used.
5158
5159 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5160
5161         * docs/gst/gstreamer.types:
5162           fix includes, though they are a little dinky
5163
5164 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5165
5166         * check/Makefile.am:
5167           look in the right place for elements, a lot more chance of
5168           success
5169         * gst/Makefile.am:
5170           remove indexers and elements subdirs
5171         * plugins/Makefile.am:
5172           make indexers conditional
5173
5174 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5175
5176         * Makefile.am:
5177         * configure.ac:
5178         * plugins/elements/Makefile.am:
5179         * plugins/elements/gstcapsfilter.c:
5180         * plugins/elements/gstfilesink.c:
5181         * plugins/elements/gstfilesrc.c:
5182         * plugins/elements/gstidentity.c:
5183         * plugins/indexers/Makefile.am:
5184           do CVS surgery and related build fixery to move elements
5185           and indexers in a new gstreamer/plugins directory, out of the
5186           gst/ directory
5187
5188 2005-11-29  Andy Wingo  <wingo@pobox.com>
5189
5190         * check/Makefile.am:
5191         * pkgconfig/gstreamer-net-uninstalled.pc.in:
5192         * pkgconfig/gstreamer-net.pc.in:
5193         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5194         #322257.
5195
5196 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5197
5198         * tools/Makefile.am:
5199         * tools/gst-complete.1.in:
5200         * tools/gst-complete.c:
5201         * tools/gst-compprep.1.in:
5202         * tools/gst-compprep.c:
5203           removing -compprep and -complete
5204
5205 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5206
5207         * gst/gstevent.c: (gst_event_new_new_segment),
5208         (gst_event_parse_new_segment):
5209         * gst/gstevent.h:
5210           fix #320529 - clean up new_segment API and structure.
5211           Let's hope everyone was using the methods, and not the structure.
5212
5213 2005-11-29  Edward Hervey  <edward@fluendo.com>
5214
5215         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5216         (gst_base_sink_event), (gst_base_sink_do_sync),
5217         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5218         Properly handle non GST_FORMAT_TIME segment
5219         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5220         Properly handle non GST_FORMAT_TIME segment
5221         * gst/gstsegment.c:
5222         This function is valid if the accumulator is 0 and the format
5223         is different from the requested format.
5224         
5225 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5226
5227         * docs/gst/gstreamer-sections.txt:
5228         Add gst_query_new_seeking and gst_query_parse_seeking to the
5229         docs.
5230
5231 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5232
5233         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5234           Treat a pad alloc with new caps the same as if we were not
5235           negotiated, in order to allow a changing upstream output
5236           to produce a new format of data.
5237
5238 2005-11-29  Edward Hervey  <edward@fluendo.com>
5239
5240         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5241         (gst_base_transform_event), (gst_base_transform_eventfunc):
5242         The event virtual method is now properly implemented, with a default
5243         handler
5244         Sub classes should call the parent_class event method. They should
5245         return FALSE if they had a problem handling the given event, or don't
5246         want GstBaseTransform to send that even downstream
5247         * gst/elements/gstidentity.c: (gst_identity_class_init),
5248         (gst_identity_init), (gst_identity_event),
5249         (gst_identity_transform_ip), (gst_identity_set_property),
5250         (gst_identity_get_property):
5251         * gst/elements/gstidentity.h:
5252         Added the single-segment boolean property.
5253         If set to TRUE, it will output a single segment of data, starting from
5254         0, will eat up all incoming newsegment, and modify the timestamp of the
5255         buffers accordingly
5256
5257 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
5258
5259         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5260           Don't ref NULL target pad (#322751). Improve docs.
5261
5262 2005-11-29  Michael Smith  <msmith@fluendo.com>
5263
5264         * gst/gstregistryxml.c: (load_plugin):
5265           Don't crash if we failed to load a feature from a plugin. 
5266
5267 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5268
5269         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5270         (GST_START_TEST):
5271           use more check API and less GLib API
5272
5273 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5274
5275         * Makefile.am:
5276           don't run checks if we don't have check
5277         * common/check.mak:
5278           remove the registry when running make torture
5279         * docs/gst/gstreamer-sections.txt:
5280           remove second multiply
5281         * gst/gstqueue.c: (gst_queue_loop):
5282           fix a compile warning when disabling debug
5283
5284 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5285
5286         * gst/gstinfo.h:
5287         Hey! Let's print the pad name if the pointer != NULL instead
5288         of when it == NULL :-)
5289
5290 2005-11-28  Wim Taymans  <wim@fluendo.com>
5291
5292         * check/gst/gstutils.c: (GST_START_TEST):
5293         Updated check, add some scaling accuracy checking code.
5294
5295         * gst/gstutils.c: (gst_util_div128_64),
5296         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5297         (gst_util_uint64_scale_int):
5298         Fix 6 times faster division code. Optimize for common 
5299         1/1 and less common X/1 cases.
5300
5301 2005-11-28  Wim Taymans  <wim@fluendo.com>
5302
5303         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5304         More checks.
5305
5306         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5307         (do_linear_regression), (gst_clock_add_observation):
5308         Cleanups.
5309         Release lock when the clock cannot be slaved.
5310         Catch the case where the regression returned an invalid denominator.
5311
5312         * gst/gstutils.c: (gst_util_div128_64_iterate),
5313         (gst_util_div128_64), (gst_util_uint64_scale_int64),
5314         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5315         Add protentially more performant non-iterative 128/64 divide function
5316         that unfortunatly does not work yet.
5317         Shortcut the trivial 0/X = 0 case.
5318         Remove the warnings on overflow.
5319
5320 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5321
5322         * gst/gstplugin.c: (gst_plugin_register_func):
5323           everything causing a plugin not to load should be at least a WARNING
5324
5325 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
5326
5327         * docs/random/ensonic/dparams.txt:
5328           some TODOs for the next dev cycle
5329         * libs/gst/controller/gstcontroller.c:
5330         (gst_controlled_property_set_interpolation_mode),
5331         (gst_controlled_property_new):
5332         * libs/gst/controller/gstcontroller.h:
5333           use base type to assign acccessor functions
5334
5335 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5336
5337         * check/Makefile.am:
5338         Oops, that should have been top_srcdir
5339
5340 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5341
5342         * check/Makefile.am:
5343         * check/elements/fdsrc.c: (GST_START_TEST):
5344         Use a cmdline define to specify the location of a file to use for
5345         testing, to avoid breaking distcheck.
5346
5347 2005-11-28  Andy Wingo  <wingo@pobox.com>
5348
5349         * gst/gstpad.c (fixate_value): Use array functions for arrays.
5350
5351 2005-11-28  Edward Hervey  <edward@fluendo.com>
5352
5353         * tools/gst-launch.c: (main):
5354         Clarify the output strings, makes it easier to translate.
5355         Fixes #322626
5356
5357 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5358
5359         * gst/Makefile.am:
5360           don't try and build net if we don't even have <sys/socket.h>
5361
5362 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
5363
5364         * check/Makefile.am:
5365         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5366         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5367           Add tests for fdsrc seekability
5368
5369         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5370         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5371         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5372         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5373         * gst/elements/gstfdsrc.h:
5374           fdsrc should not be a 'live' source.
5375           Implement seeking on seekable fd's.
5376
5377         * gst/gstquery.c: (gst_query_new_seeking),
5378         (gst_query_parse_seeking):
5379         * gst/gstquery.h:
5380           Implement SEEKING query functions: 
5381             *_new_seeking and *_parse_seeking
5382
5383 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
5384
5385         * gst/gstelement.c: (gst_element_dispose):
5386           don't loop forever
5387
5388         * gst/gstiterator.c:
5389         * gst/gststructure.c:
5390           doc fixes
5391
5392         * libs/gst/controller/gstcontroller.c:
5393         (gst_controlled_property_set_interpolation_mode):
5394         * libs/gst/controller/gstcontroller.h:
5395         * libs/gst/controller/gstinterpolation.c:
5396         (interpolate_none_get_enum_value_array):
5397           support controlling enums
5398
5399 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
5400
5401         * gst/gstvalue.c:
5402           Improve documentation for gst_value_union().
5403
5404         * gst/gstvalue.h:
5405           Change return value for union, intersect and subtract functions
5406           from gint to gboolean.
5407
5408 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
5409
5410         * gst/gstvalue.c: (gst_value_serialize_any_list),
5411         (gst_value_transform_any_list_string),
5412         (gst_value_deserialize_list), (gst_value_deserialize_array),
5413         (gst_value_set_int_range), (gst_value_deserialize_int_range),
5414         (gst_value_set_double_range), (gst_value_deserialize_double_range),
5415         (gst_value_set_fraction_range_full),
5416         (gst_value_deserialize_fraction_range),
5417         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5418         (gst_value_deserialize_boolean),
5419         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5420         (gst_value_serialize_float), (gst_value_deserialize_float),
5421         (gst_string_wrap), (gst_value_deserialize_string),
5422         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5423         (gst_value_union_int_range_int_range),
5424         (gst_value_intersect_int_range_int_range),
5425         (gst_value_intersect_double_range_double_range),
5426         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5427         (gst_value_subtract_int_range_int_range),
5428         (gst_value_subtract_double_double_range),
5429         (gst_value_subtract_double_range_double_range),
5430         (gst_value_deserialize_fraction):
5431         * gst/gstvalue.h:
5432           Use gint, gdouble and gchar in our API instead of int, double and
5433           char (and make usage in gstvalue.c more consistent).
5434
5435 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5436
5437         * check/Makefile.am:
5438         * libs/gst/controller/Makefile.am:
5439         * libs/gst/dataprotocol/Makefile.am:
5440           fix up Makefile.am and remove GST_ENABLE_NEW
5441
5442 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5443
5444         * configure.ac:
5445         * gst/Makefile.am:
5446         * gst/base/Makefile.am:
5447         * gst/check/Makefile.am:
5448         * gst/elements/Makefile.am:
5449         * gst/net/Makefile.am:
5450           update LDFLAGS use some more
5451
5452 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5453
5454         * common/m4/gst-doc.m4:
5455           Fixes #312589
5456
5457 2005-11-26  Edward Hervey  <edward@fluendo.com>
5458
5459         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5460         This shouldn't issue a g_warning since it returns NULL if it
5461         couldn't find the plugin, and all functions using this behave
5462         properly on a NULL return. Switching to a GST_WARNING.
5463
5464 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
5465
5466         * gst/gstbin.c: (gst_bin_handle_message_func):
5467         Don't leak clock messages.
5468
5469 2005-11-25  Wim Taymans  <wim@fluendo.com>
5470
5471         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5472         (gst_util_uint64_scale_int):
5473         Optimisations, remove unneeded vars.
5474
5475 2005-11-25  Wim Taymans  <wim@fluendo.com>
5476
5477         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5478         Added more checks for the high precision uint64 cases.
5479
5480         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5481         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5482         Implement high precision (guint64 * guint64) / guint64.
5483
5484 2005-11-24  Wim Taymans  <wim@fluendo.com>
5485
5486         * gst/base/gstbasesrc.c: (gst_base_src_query):
5487         Fix wrong percentage query.
5488
5489         * gst/gstutils.c: (gst_util_uint64_scale),
5490         (gst_util_uint64_scale_int):
5491         Add some more common cases that can be handled 
5492         efficiently to _scale.
5493
5494 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5495
5496         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5497         (gst_mini_object_suite):
5498           don't use check calls from threads; check probably isn't
5499           threadsafe and using a lock to make it threadsafe would
5500           defeat the purpose of this check
5501         * gst/check/gstcheck.c:
5502         * gst/check/gstcheck.h:
5503           use GST_DEBUG some more
5504
5505 2005-11-24  Wim Taymans  <wim@fluendo.com>
5506
5507         * gst/gstutils.c: (gst_util_uint64_scale),
5508         (gst_util_uint64_scale_int):
5509         Chain trivial case to _scale_int.
5510
5511 2005-11-24  Wim Taymans  <wim@fluendo.com>
5512
5513         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5514         Added test for scaling.
5515
5516         * gst/gstclock.h:
5517         Small doc fix.
5518
5519         * gst/gstutils.c: (gst_util_uint64_scale_int):
5520         Implemented high precision scaling code.
5521
5522 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
5523
5524         * gst/gstinfo.h:
5525           do not crash on pad==NULL
5526
5527 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5528
5529         Patch by: Stefan Kost
5530
5531         * common/gtk-doc.mak:
5532         * docs/gst/Makefile.am:
5533         * docs/libs/Makefile.am:
5534           Fix distcheck issues for the libraries docs build
5535           Closes #319599.
5536
5537 2005-11-24  Michael Smith <msmith@fluendo.com>
5538
5539         * docs/manual/basics-helloworld.xml:
5540           Fix bug #315027: memory leak in example code in docs.
5541
5542 2005-11-24  Michael Smith <msmith@fluendo.com>
5543
5544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5545           Unlock the PREROLL_LOCK in a failure case.
5546
5547 2005-11-24  Wim Taymans  <wim@fluendo.com>
5548
5549         * docs/gst/gstreamer-sections.txt:
5550         * gst/base/gstadapter.h:
5551         * gst/base/gstbasesink.h:
5552         * gst/base/gstbasesrc.h:
5553         * gst/base/gstbasetransform.h:
5554         * gst/base/gstpushsrc.h:
5555         * gst/elements/gstfakesink.h:
5556         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5557         * gst/elements/gstfakesrc.h:
5558         * gst/elements/gstfilesink.h:
5559         * gst/elements/gstfilesrc.h:
5560         * gst/gst.c:
5561         * gst/gstbin.c:
5562         * gst/gstbuffer.c: (_gst_buffer_copy):
5563         * gst/gstbus.h:
5564         * gst/gstcaps.c:
5565         * gst/gstchildproxy.c:
5566         * gst/gstclock.c:
5567         * gst/gstelement.c:
5568         * gst/gstelementfactory.c:
5569         * gst/gstelementfactory.h:
5570         * gst/gstevent.c:
5571         * gst/gstghostpad.h:
5572         * gst/gstindex.h:
5573         * gst/gstinterface.h:
5574         * gst/gstminiobject.c:
5575         * gst/gstminiobject.h:
5576         * gst/gstpad.c:
5577         * gst/gstpad.h:
5578         * gst/gstpadtemplate.h:
5579         * gst/gstpipeline.h:
5580         * gst/gstpluginfeature.h:
5581         * gst/gstquery.h:
5582         * gst/gstqueue.h:
5583         * gst/gsttaglist.c:
5584         * gst/gsttaglist.h:
5585         * gst/gsttagsetter.c:
5586         * gst/gsttagsetter.h:
5587         * gst/gsttrace.c:
5588         * gst/gsttrace.h:
5589         * gst/gsttypefind.h:
5590         * gst/gsturi.h:
5591         * gst/gstvalue.c:
5592         * gst/net/gstnetclientclock.c:
5593         * gst/net/gstnetclientclock.h:
5594         * gst/net/gstnettimepacket.c:
5595         * gst/net/gstnettimeprovider.c:
5596         * gst/net/gstnettimeprovider.h:
5597         Doc fixes.
5598
5599 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5600
5601         * configure.ac: back to HEAD
5602
5603 === release 0.9.6 ===
5604
5605 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
5606
5607         * configure.ac:
5608           releasing 0.9.6, "Always On Time"
5609
5610 2005-11-23  Wim Taymans  <wim@fluendo.com>
5611
5612         * docs/gst/gstreamer-sections.txt:
5613         * gst/glib-compat.c:
5614         * gst/gsttagsetter.c:
5615         * gst/gstvalue.c:
5616         * gst/net/gstnetclientclock.c:
5617         * gst/net/gstnettimepacket.h:
5618         Doc updates.
5619
5620 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5621
5622         * docs/faq/using.xml:
5623         * docs/libs/tmpl/gstcontrol.sgml:
5624         * docs/manual/advanced-dparams.xml:
5625         * docs/manual/appendix-checklist.xml:
5626         * docs/manual/basics-elements.xml:
5627         * docs/pwg/other-source.xml:
5628         * docs/random/moving-plugins:
5629         * gst/gstpad.c:
5630         * tools/gst-launch.1.in:
5631           remove mentions of sinesrc
5632
5633 2005-11-23  Michael Smith <msmith@fluendo.com>
5634
5635         * docs/gst/gstreamer-sections.txt:
5636           Update for new API and API changes.
5637         * gst/gstobject.h:
5638           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5639         * gst/gstvalue.c:
5640           Documentation typo fix.
5641         * gst/net/gstnettimepacket.c:
5642           Documentation fixes for arguments.
5643
5644 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
5645
5646         * gst/gststructure.c: (gst_structure_get_fraction),
5647         (gst_structure_parse_value),
5648         (gst_structure_fixate_field_nearest_fraction):
5649         * gst/gststructure.h:
5650         * gst/gstutils.c: (gst_util_uint64_scale_int):
5651         * gst/gstutils.h:
5652         * scripts/update-funcnames:
5653         API Changes. 
5654         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5655         Make gst_structure_fixate_field_nearest_fraction take a numerator
5656         and denominator argument instead of a GValue
5657         add gst_structure_get_fraction helper function.
5658
5659 2005-11-23  Wim Taymans  <wim@fluendo.com>
5660
5661         * docs/design/part-TODO.txt:
5662         Update TODO.
5663
5664         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5665         * gst/net/gstnetclientclock.h:
5666         Use parent fields for timeout and window_size.
5667
5668 2005-11-23  Andy Wingo  <wingo@pobox.com>
5669
5670         * check/net/gstnetclientclock.c (test_functioning): Adjust to
5671         rate_num/rate_denom change.
5672
5673         * gst/net/gstnetclientclock.c
5674         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5675         OBJECT_LOCK. Don't call add_observation with the lock.
5676
5677         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5678         fraction.
5679         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5680         rate fraction.
5681         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5682         deal with rate as a fraction whose numerator and denominator are
5683         GstClockTime values.
5684         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
5685         master; the other fields are protected by the SLAVE_LOCK.
5686         (do_linear_regression): Note that this must be called with the
5687         SLAVE_LOCK.
5688         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
5689         OBJECT_LOCK. Call set_calibration instead of touching the
5690         variables directly.
5691         (gst_clock_set_property, gst_clock_get_property): Protect
5692         master/slave parameters with the SLAVE_LOCK.
5693
5694         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
5695         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
5696         note that all of the instance variables that add_observation and
5697         the set_master functions use are protected by that lock and not
5698         the OBJECT_LOCK.
5699         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
5700
5701         * gst/gstclock.c (gst_clock_add_observation): No longer requires
5702         the caller to take the object lock.
5703
5704 2005-11-23  Wim Taymans  <wim@fluendo.com>
5705
5706         * gst/gsterror.c: (_gst_core_errors_init):
5707         * gst/gsterror.h:
5708         Add error for clock stuff.
5709
5710         * gst/gstpipeline.c: (gst_pipeline_change_state),
5711         (gst_pipeline_set_clock):
5712         Post clock error when clock cannot be used in a pipeline.
5713
5714 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
5715
5716         * docs/gst/gstreamer-sections.txt:
5717           make two symbols from gstinfo private for the docs
5718         * gst/base/gstcollectpads.h:
5719         * gst/gstutils.c:
5720           fix doc typos, update docs
5721
5722 2005-11-22  Wim Taymans  <wim@fluendo.com>
5723
5724         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5725         (gst_base_sink_wait), (gst_base_sink_do_sync),
5726         (gst_base_sink_handle_event):
5727         * gst/base/gstbasesink.h:
5728         No need to store the clock, the parent element class already
5729         has it.
5730
5731         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5732         Updates for clock_set returning a gboolean
5733
5734         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5735         (gst_clock_id_wait_async), (gst_clock_class_init),
5736         (gst_clock_init), (gst_clock_finalize),
5737         (gst_clock_get_internal_time), (gst_clock_get_time),
5738         (gst_clock_slave_callback), (gst_clock_set_master),
5739         (gst_clock_get_master), (do_linear_regression),
5740         (gst_clock_add_observation), (gst_clock_set_property),
5741         (gst_clock_get_property):
5742         * gst/gstclock.h:
5743         Implement master/slave. When setting a clock as a slave, a
5744         periodic timeout is scheduled to sample master and slave times.
5745         Then the slave clock is recalibrated to match offset and rate
5746         of the master clock.
5747         Update logging a bit.
5748         Add flag so that a clock can state that is cannot be slaved to
5749         another clock.
5750
5751         * gst/gstelement.c: (gst_element_set_clock):
5752         * gst/gstelement.h:
5753         The set clock returns a gboolean for when an element cannot
5754         deal with the selected clock in the pipeline. 
5755
5756         * gst/gstpipeline.c: (gst_pipeline_change_state),
5757         (gst_pipeline_set_clock):
5758         * gst/gstpipeline.h:
5759         Handle the case where the selected clock cannot be set on
5760         the pipeline.
5761
5762         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
5763         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5764         (gst_net_client_clock_set_property),
5765         (gst_net_client_clock_get_property),
5766         (gst_net_client_clock_observe_times):
5767         * gst/net/gstnetclientclock.h:
5768         Use regression code in GstClock parent, remove duplicated
5769         functionality.
5770
5771 2005-11-22  Michael Smith <msmith@fluendo.com>
5772
5773         * gst/gstutils.c: (gst_util_clock_time_scale):
5774         * gst/gstutils.h:
5775         * docs/gst/gstreamer-sections.txt:
5776           Rename method to have extra underscore.
5777
5778 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5779
5780         * gst/elements/Makefile.am:
5781         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
5782         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5783         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5784         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
5785         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
5786         * gst/elements/gstfakesrc.h:
5787         * gst/gstqueue.c: (queue_leaky_get_type):
5788           correctly fix GEnumValues so that nick is the short lowercase
5789           dashed tag
5790         * tools/gst-inspect.c: (print_element_properties_info):
5791           also show the nick, since it's useful to use from parse_launch
5792           syntax
5793           Fixes #322139
5794
5795 2005-11-22  Michael Smith <msmith@fluendo.com>
5796
5797         * gst/gstutils.c: (gst_util_clocktime_scale):
5798         * gst/gstutils.h:
5799         * docs/gst/gstreamer-sections.txt:
5800           Add util method for scaling a clocktime by a fraction. Useful 
5801           implementation is left as an exercise for the reader.
5802
5803 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5804
5805         * gst/gstvalue.c: (gst_value_collect_fraction_range):
5806         If needed, allocate storage in the destination value during
5807         collection.
5808
5809 2005-11-22  Edward Hervey  <edward@fluendo.com>
5810
5811         * docs/gst/gstreamer-sections.txt:
5812         * gst/Makefile.am:
5813         * gst/gst.h:
5814         * gst/gsturitype.c:
5815         * gst/gsturitype.h:
5816         * gst/gstutils.c: (gst_util_set_object_arg):
5817         * tools/gst-compprep.c: (main):
5818         * tools/gst-inspect.c: (print_element_properties_info):
5819         Removed GstURI, closes bug #321061
5820
5821 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5822
5823         * check/gst/gststructure.c: (GST_START_TEST):
5824         * gst/gststructure.c: (gst_structure_parse_value):
5825           Oops, broke automatic string type parsing.
5826           Add a test to catch it in future.
5827
5828 2005-11-22  Andy Wingo  <wingo@pobox.com>
5829
5830         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
5831         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
5832         Actually rename the function implementations. Grr.
5833
5834 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5835
5836         * check/gst/capslist.h:
5837           Comment test cases
5838         * check/gst/gststructure.c: (GST_START_TEST),
5839         (gst_structure_suite):
5840           Test automatic value type detection in gst_structure_from_string.
5841         * gst/gststructure.c: (gst_structure_parse_value):
5842           Add fraction as a type we try and guess automatically in
5843           caps/structure strings.
5844
5845 2005-11-22  Andy Wingo  <wingo@pobox.com>
5846
5847         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
5848
5849         * gst/gsttagsetter.h:
5850         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
5851         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
5852         (gst_tag_setter_add_tag_valist)
5853         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
5854         _add_values, _add_valist, and _add_valist_values. Since this is an
5855         interface the function suffixes should be more explicit so
5856         language binding don't end up with element.add_valist ->
5857         gst_tag_setter_add_valist, for example. Fixes #322069.
5858
5859 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5860
5861         * check/gst/gstcaps.c: (GST_START_TEST):
5862           Extend caps string tests to check that a caps to string
5863           conversion is reversible and produces the same caps.
5864
5865         * gst/gststructure.c: (gst_structure_value_get_generic_type):
5866           Output "fraction" as the generic type fraction range, so caps
5867           serialisation and deserialisation works.
5868         * check/gst/capslist.h:
5869         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5870           Support 'MIN' and 'MAX' for deserialising fractions.
5871
5872 2005-11-22  Andy Wingo  <wingo@pobox.com>
5873
5874         * gst/gstevent.h (gst_event_new_new_segment)
5875         (gst_event_parse_new_segment, gst_event_new_buffer_size)
5876         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
5877         Renamed from *_newsegment, *_buffersize, *_notarget.
5878
5879         * scripts/update-funcnames: New script, performs the changes
5880         listed above.
5881
5882 2005-11-22  Wim Taymans  <wim@fluendo.com>
5883
5884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5885         Make sure the GstFlowReturn is returned.
5886
5887         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
5888         (gst_bus_add_signal_watch):
5889         * gst/gstbus.h:
5890         add gst_bus_add_signal_watch_full.
5891
5892         * gst/gstplugin.c: (gst_plugin_load_file):
5893         Small style cleanup.
5894
5895 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5896
5897         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
5898           Block the fakesrc srcpad when we send an event, to avoid
5899           contention on the stream_lock causing random test failures.
5900
5901 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5902
5903         * check/gst/gstvalue.c: (GST_START_TEST):
5904         * gst/gstvalue.c: (gst_value_fraction_subtract):
5905           Fix subtraction.
5906
5907 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
5908
5909         * gst/gst.h:
5910           include "gstchildproxy.h"
5911         * gst/gstchildproxy.h:
5912         * libs/gst/controller/gstcontroller.h:
5913           use G_GNUC_NULL_TERMINATED
5914
5915 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5916
5917         * check/gst/capslist.h:
5918         * check/gst/gstcaps.c: (GST_START_TEST):
5919         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5920         * gst/gststructure.c: (gst_structure_parse_range),
5921         (gst_structure_fixate_field_nearest_fraction):
5922         * gst/gststructure.h:
5923         * gst/gstvalue.c: (gst_value_init_fraction_range),
5924         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
5925         (gst_value_collect_fraction_range),
5926         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
5927         (gst_value_set_fraction_range_full),
5928         (gst_value_get_fraction_range_min),
5929         (gst_value_get_fraction_range_max),
5930         (gst_value_serialize_fraction_range),
5931         (gst_value_transform_fraction_range_string),
5932         (gst_value_compare_fraction_range),
5933         (gst_value_deserialize_fraction_range),
5934         (gst_value_intersect_fraction_fraction_range),
5935         (gst_value_intersect_fraction_range_fraction_range),
5936         (gst_value_subtract_fraction_fraction_range),
5937         (gst_value_subtract_fraction_range_fraction),
5938         (gst_value_subtract_fraction_range_fraction_range),
5939         (gst_value_collect_fraction), (gst_value_fraction_multiply),
5940         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
5941         (gst_value_transform_string_fraction), (_gst_value_initialize):
5942         * gst/gstvalue.h:
5943           Implement fraction ranges and extend GstFraction to support
5944           arithmetic subtraction, as well as deserialization from integer
5945           strings such as "100"
5946           Add a testsuite as for int and double range set operations
5947
5948 2005-11-21  Andy Wingo  <wingo@pobox.com>
5949
5950         * gst/gsttaglist.h: 
5951         * gst/gstcaps.h: 
5952         * gst/gststructure.h: Add glib-compat.h.
5953
5954 2005-11-21  Wim Taymans  <wim@fluendo.com>
5955
5956         * gst/gstbin.c: (gst_bin_change_state_func):
5957         Fix for #321595
5958
5959 2005-11-21  Wim Taymans  <wim@fluendo.com>
5960
5961         * gst/gstsegment.h:
5962         And add a nice define too.
5963
5964 2005-11-21  Wim Taymans  <wim@fluendo.com>
5965
5966         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
5967         (gst_segment_new), (gst_segment_free), (gst_segment_init),
5968         (gst_segment_set_duration), (gst_segment_set_last_stop),
5969         (gst_segment_set_seek), (gst_segment_set_newsegment),
5970         (gst_segment_to_stream_time), (gst_segment_to_running_time),
5971         (gst_segment_clip):
5972         * gst/gstsegment.h:
5973         Make binding friendly.
5974
5975 2005-11-21  Andy Wingo  <wingo@pobox.com>
5976
5977         * gst/gsttagsetter.h: 
5978         * gst/gsttaglist.h: 
5979         * gst/gststructure.h: 
5980         * gst/gstcaps.h: 
5981         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
5982         #319940.
5983
5984         * gst/gsterror.c (_gst_core_errors_init):
5985         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
5986         category.
5987
5988         * gst/Makefile.am (gst_headers): Add glib-compat.h.
5989         (noinst_HEADERS): noinst the -private.
5990
5991 2005-11-21  Michael Smith <msmith@fluendo.com>
5992
5993         * gst/gstplugin.h:
5994         * gst/gstregistry.h:
5995           Remove unimplemented declarations for which we can see no sensible
5996           use.
5997
5998 2005-11-21  Andy Wingo  <wingo@pobox.com>
5999
6000         * gst/gst.h: Include glib-compat.h.
6001
6002         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6003
6004         * gst/glib-compat.c: Include the public and the private header.
6005
6006         * gst/glib-compat-private.h: Copied here from glib-compat.h.
6007
6008         * gst/gstvalue.c: 
6009         * gst/gstpad.c: 
6010         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6011
6012         * check/gst/gstevent.c (create_custom_events): Check that
6013         FLUSH_STOP is serialized.
6014
6015         * check/elements/identity.c (event_func): 
6016         * check/elements/fakesrc.c (event_func): No stream lock, the core
6017         takes it.
6018
6019         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6020         stream lock taking, yay.
6021
6022         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6023         ensure that core takes the stream lock.
6024
6025         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6026         lock name change.
6027
6028         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6029         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6030         it already. For the flush start we do take it though so we get the
6031         right preroll state change messages.
6032
6033         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6034         the stream lock here, the core does it for us.
6035
6036         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6037         GST_STREAM_GET_LOCK.
6038         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
6039         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
6040         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6041         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6042         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
6043         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6044
6045         * gst/gstpad.c: Update for stream lock name change.
6046
6047         * gst/base/gstbasesink.c: Update for preroll lock name change.
6048
6049 2005-11-21  Wim Taymans  <wim@fluendo.com>
6050
6051         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6052         (gst_clock_get_master):
6053         * gst/gstclock.h:
6054         * gst/gstsystemclock.c: (gst_system_clock_init):
6055         Convert Clock flags to object flags.
6056         Added methods to manage master/slave clocks.
6057
6058 2005-11-21  Wim Taymans  <wim@fluendo.com>
6059
6060         * check/gst/gstsegment.c: (GST_START_TEST):
6061         * docs/design/part-TODO.txt:
6062         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6063         (gst_base_sink_event), (gst_base_sink_do_sync),
6064         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6065         (gst_base_sink_query), (gst_base_sink_change_state):
6066         * gst/base/gstbasesink.h:
6067         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6068         (gst_base_src_default_newsegment),
6069         (gst_base_src_configure_segment), (gst_base_src_do_seek),
6070         (gst_base_src_get_range), (gst_base_src_loop),
6071         (gst_base_src_change_state):
6072         * gst/base/gstbasesrc.h:
6073         * gst/base/gstbasetransform.c:
6074         (gst_base_transform_prepare_output_buf),
6075         (gst_base_transform_event), (gst_base_transform_change_state):
6076         * gst/base/gstbasetransform.h:
6077         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6078         (gst_collect_pads_event):
6079         * gst/base/gstcollectpads.h:
6080         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6081         (gst_fake_src_create):
6082         * gst/elements/gstfakesrc.h:
6083         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6084         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6085         (gst_segment_set_last_stop), (gst_segment_set_seek),
6086         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6087         (gst_segment_to_running_time), (gst_segment_clip):
6088         * gst/gstsegment.h:
6089         More segment updates, replace code in plugins with segment
6090         helper functions.
6091
6092 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6093
6094         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6095         Don't ignore sscanf results
6096
6097 2005-11-21  Andy Wingo  <wingo@pobox.com>
6098
6099         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6100
6101         * *.h:
6102         * *.c: Ran scripts/update-macros. Oh yes.
6103
6104         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6105         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6106         GST_GET_LOCK, etc.
6107
6108         * scripts/update-macros: New script. Run it on your files to
6109         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6110         well.
6111
6112 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6113
6114         * docs/gst/Makefile.am:
6115         * docs/gst/gstreamer-docs.sgml:
6116         * docs/gst/gstreamer-sections.txt:
6117         * docs/gst/gstreamer.types:
6118         * gst/gstinfo.h:
6119           more docs fixes, add new api to the docs
6120
6121 2005-11-21  Andy Wingo  <wingo@pobox.com>
6122
6123         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6124         state_broadcast call.
6125
6126         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6127
6128 2005-11-21  Julien MOUTTE  <julien@moutte.net>
6129
6130         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6131         function calls for arrays.
6132
6133 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6134
6135         * docs/random/ensonic/media-device-daemon.txt:
6136           wild idea, can this be done?
6137         * docs/gst/gstreamer-sections.txt:
6138         * gst/gsterror.h:
6139         * gst/gstfilter.c:
6140         * gst/gstfilter.h:
6141         * gst/gstplugin.h:
6142         * gst/gstpluginfeature.c:
6143         * gst/gsttrace.c:
6144         * gst/gstvalue.c:
6145         * gst/gstvalue.h:
6146           doc fixes and additions
6147
6148 2005-11-21  Andy Wingo  <wingo@pobox.com>
6149
6150         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
6151         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
6152         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
6153         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6154         private to the basesrc implementation.
6155
6156         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6157         behalf of event function if necessary. It should no longer be
6158         necessary to take the stream lock in pad's event functions. Fixes
6159         #320299.
6160
6161 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6162         * docs/gst/gstreamer-sections.txt:
6163         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6164         (gst_structure_fixate_field_nearest_double),
6165         (gst_structure_fixate_field_boolean):
6166         * gst/gststructure.h:
6167         * win32/common/libgstreamer.def:
6168         * win32/gstreamer.def:
6169
6170         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6171         (#322027)
6172
6173 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6174
6175         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6176         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6177         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6178         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6179         (gst_fdsrc_uri_handler_init):
6180         * gst/elements/gstfdsrc.h:
6181           Port fd:// URI handler from 0.8 to fdsrc
6182
6183 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6184
6185         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6186         (gst_value_serialize_fourcc):
6187         * gst/gstvalue.h:
6188           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6189           consistent with our other format defines (#320324).
6190
6191 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6192
6193         * gst/gstvalue.c: (gst_value_is_fixed):
6194           Revert previous commit. Value lists are by definition
6195           not fixed, as they are a list of possible values.
6196
6197 2005-11-21  Andy Wingo  <wingo@pobox.com>
6198
6199         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6200         during the stable series if we need it. Fixes #319178.
6201
6202         * gst/gstevent.c (gst_event_new_filler): Removed.
6203
6204         * check/gst/gstevent.c: Update comment about filler events.
6205
6206 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6207
6208         * gst/gstvalue.c: (gst_value_is_fixed):
6209           Should handle both value arrays and value lists.
6210
6211 2005-11-21  Andy Wingo  <wingo@pobox.com>
6212
6213         patch by: Alessandro Dessina <alessandro nnva org>
6214
6215         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6216         functions to access arrays. Fixes #321962.
6217
6218 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6219
6220         * docs/gst/gstreamer.types:
6221           gst_collectpads_get_type => gst_collect_pads_get_type.
6222           
6223         * gst/base/gstbasetransform.c:
6224           Remove unused SIGNAL_HANDOFF enum.
6225
6226 2005-11-21  Andy Wingo  <wingo@pobox.com>
6227
6228         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6229         the event type (upstream, downstream, serialized). Renamed
6230         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6231         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6232         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6233
6234         * gst/gstevent.c: Update for new CUSTOM event names.
6235
6236         * check/gst/gstevent.c: Update check for new CUSTOM event names.
6237
6238         * gst/gstevent.h:
6239         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6240         bug #319392.
6241
6242 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6243
6244         * docs/gst/gstreamer-sections.txt:
6245         * win32/common/libgstbase.def:
6246         * win32/libgstbase.def:
6247         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6248         (gst_collect_pads_class_init), (gst_collect_pads_init),
6249         (gst_collect_pads_finalize), (gst_collect_pads_new),
6250         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6251         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6252         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6253         (gst_collect_pads_start), (gst_collect_pads_stop),
6254         (gst_collect_pads_peek), (gst_collect_pads_pop),
6255         (gst_collect_pads_available), (gst_collect_pads_read),
6256         (gst_collect_pads_flush), (gst_collect_pads_event),
6257         (gst_collect_pads_chain):
6258         * gst/base/gstcollectpads.h:
6259           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6260           unimplemented functions as unimplemented. Add padding to
6261           GstCollectData. (#320766, #320423)
6262
6263 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6264
6265         * gst/gstmessage.c:
6266           Improve docs for DURATION message (usage of duration parameter)
6267           (#320113)
6268
6269 2005-11-20  Wim Taymans  <wim@fluendo.com>
6270
6271         * check/Makefile.am:
6272         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6273         (main):
6274         * gst/Makefile.am:
6275         * gst/gst.h:
6276         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6277         (gst_segment_set_seek), (gst_segment_set_newsegment),
6278         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6279         (gst_segment_clip):
6280         * gst/gstsegment.h:
6281         Added segment helper structure and methods. Not fully implemented
6282         yet.
6283         Added segment check.
6284
6285 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
6286
6287         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6288           Add a deserialisation test for fractions
6289         * examples/metadata/read-metadata.c: (message_loop),
6290         (make_pipeline), (main):
6291           Fix up metadata reading sample.
6292         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6293           Debug format fix
6294         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6295           Don't try and fixate empty caps
6296         * gst/gst_private.h:
6297           Wrap in G_BEGIN_DECLS/G_END_DECLS
6298         * gst/gstvalue.c: (gst_value_collect_fraction),
6299         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6300         (gst_value_transform_string_fraction),
6301         (gst_value_compare_fraction):
6302           Add some extra guards to ensure that we don't end up 
6303           with an invalid denominator of 0 in a gstfraction and
6304           that fractions always get reduced.
6305
6306 2005-11-20  Wim Taymans  <wim@fluendo.com>
6307
6308         * docs/gst/gstreamer-sections.txt:
6309         * gst/gstbuffer.h:
6310         * gst/gstelement.c:
6311         * gst/gstformat.c:
6312         * gst/gstformat.h:
6313         * gst/gstindex.h:
6314         * gst/gstquery.c:
6315         * gst/gstquery.h:
6316         * gst/gstvalue.c:
6317         Doc fixes.
6318
6319 2005-11-20  Wim Taymans  <wim@fluendo.com>
6320
6321         * docs/design/part-TODO.txt:
6322         * gst/gstcaps.h:
6323         Make a proper enum of the flag.
6324
6325 2005-11-19  Wim Taymans  <wim@fluendo.com>
6326
6327         * docs/design/part-TODO.txt:
6328         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6329         (gst_format_to_quark), (gst_format_register):
6330         * gst/gstformat.h:
6331         * gst/gstquery.c: (_gst_query_initialize),
6332         (gst_query_type_get_name), (gst_query_type_to_quark),
6333         (gst_query_type_register):
6334         * gst/gstquery.h:
6335         Add type to quark and type to string conversions.
6336
6337 2005-11-19  Andy Wingo  <wingo@pobox.com>
6338
6339         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6340         #320097.
6341
6342 2005-11-19  Wim Taymans  <wim@fluendo.com>
6343
6344         * docs/design/part-TODO.txt:
6345         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6346         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6347         (gst_bin_handle_message_func):
6348         * gst/gstbin.h:
6349         Make message handling overridable.
6350
6351 2005-11-19  Andy Wingo  <wingo@pobox.com>
6352
6353         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6354
6355         * gst/gstclock.h:
6356         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6357         be a GstClockTime.
6358         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6359         is a GstClockTime. Fixes #321710.
6360
6361         * gst/gstclock.h (GstClock): Remove offset property. Add
6362         internal_calibration and external_calibration. Fix padding. Pad
6363         also by GstClockTime so we don't run into problems.
6364
6365         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6366         (gst_clock_get_rate_offset): Remove.
6367         (gst_clock_set_time_adjust): Remove. Fixes #321712.
6368
6369         * gst/gstutils.h:
6370         * gst/gstutils.c (g_static_rec_cond_wait)
6371         (g_static_rec_cond_timed_wait): Removed, no longer needed.
6372
6373         * gst/gstbin.c: Remove terrible continue_state prototype.
6374
6375         * gst/gstelement.h (gst_element_continue_state): Make public.
6376
6377         * gst/gstelement.h:
6378         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6379         by continue_state. Fixes #319389.
6380
6381         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6382         Really fixes #168438. However I don't see anywhere where the
6383         filter function is called... stupid GStreamer...
6384         
6385         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6386         don't have a dispose function, so it won't get called when the
6387         object is unreffed, but oh well!
6388
6389         * gst/gstindex.c (gst_index_set_filter_full): New API function,
6390         allows a destroy function to be set so user_data can be freed.
6391         Fixes #168438.
6392         (gst_index_set_filter): Call gst_index_set_filter_full.
6393
6394         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6395
6396         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6397         string should produce an error, given the lack of a way to
6398         represent NULL strings. Fixes #165650.
6399         
6400         * gst/gstvalue.h: 
6401         * gst/gstvalue.c (gst_value_array_append_value) 
6402         (gst_value_array_prepend_value, gst_value_array_get_size) 
6403         (gst_value_array_get_value): New API, copied from
6404         gst_value_list_*, only operates on arrays.
6405         (gst_value_list_append_value, gst_value_list_prepend_value) 
6406         (gst_value_list_concat, gst_value_list_get_size) 
6407         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6408
6409         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6410         init_list, because it works on both.
6411         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6412         (gst_value_copy_list_or_array): Renamed from copy_list.
6413         (gst_value_free_list_or_array): Renamed from free_list.
6414         (gst_value_collect_list_or_array): Renamed from collect_list.
6415         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6416         (gst_value_list_or_array_peek_pointer): Renamed from
6417         list_peek_pointer.
6418         (_gst_value_array_value_table, _gst_value_list_value_table):
6419         Update value table functions.
6420         (gst_value_compare_list_or_array): Renamed from compare_list.
6421
6422         * gsttaglist.h: Whoops, foreach function returns void. Also fix
6423         some constness.
6424
6425         * gst/gsttaglist.c:
6426         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6427         GstTagList*. Fixes #143472.
6428
6429         * gst/gststructure.h: Clarify what the foreach/map functions can
6430         or can't do to their arguments.
6431
6432 2005-11-18  Wim Taymans  <wim@fluendo.com>
6433
6434         * gst/gstclock.c: (gst_clock_set_calibration),
6435         (gst_clock_get_calibration):
6436         Doc and API fixes.
6437         Calibration can be set with internal time equal to current
6438         internal time too.
6439
6440 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6441
6442         * gst/gsterror.c:
6443         * gst/gsterror.h:
6444           document
6445
6446 2005-11-18  Andy Wingo  <wingo@pobox.com>
6447
6448         * configure.ac: 
6449         * pkgconfig/gstreamer-net.pc.in:
6450         * pkgconfig/gstreamer-net-uninstalled.pc.in:
6451         * pkgconfig/Makefile.am: Add net pkgconfig files.
6452
6453 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
6454
6455         * gst/gstcaps.c:
6456         * gst/gstghostpad.c:
6457         * gst/gsttrace.c:
6458         * gst/gstvalue.c:
6459         * gst/gstvalue.h:
6460           docs fixes
6461
6462 2005-11-18  Andy Wingo  <wingo@pobox.com>
6463
6464         * gst/net/gstnetclientclock.c: Turn off debugging.
6465
6466         * check/net/gstnetclientclock.c (test_functioning): Assert that the
6467         times connverge somewhat. Can't make a real test.
6468
6469         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6470         integer arithmetic. Return the minimum of the domain, which can be
6471         set as "internal" for gst_clock_set_calibration.
6472         (gst_net_client_clock_observe_times): Call _set_calibration.
6473         (gst_net_client_clock_new): Call _set_calibration instead of
6474         rate_offset.
6475
6476         * check/net/gstnetclientclock.c (test_functioning): Use the right
6477         adjustment api.
6478
6479         * gst/gstclock.h:
6480         * gst/gstclock.c (gst_clock_get_calibration) 
6481         (gst_clock_set_calibration): New functions, obsolete the ones I
6482         added yesterday. Doh. Precision issues mean we have to extrapolate
6483         from a point in the more recent past than 1970.
6484         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6485         obsolete.
6486         (gst_clock_adjust_unlocked): Use the right calibration data.
6487
6488 2005-11-18  Edward Hervey  <edward@fluendo.com>
6489
6490         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
6491         Also reset the ->current_* values in READY->PAUSED
6492
6493 2005-11-18  Andy Wingo  <wingo@pobox.com>
6494
6495         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6496         Whoops, check the right fd. Also add some debugging.
6497         (gst_net_client_clock_observe_times): Adjust for int64 offset.
6498         (do_linear_regression): Add a crapload of debugging. Subtract off
6499         the minimum values from the input series to discard unneeded bits.
6500         Use only int arithmetic. There is still double arithmetic when
6501         calculating the intercept that needs fixing. Return boolean to
6502         indicate success; FALSE would mean the domain or range is too
6503         great. Still needs fixes.
6504
6505 2005-11-18  Wim Taymans  <wim@fluendo.com>
6506
6507         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6508         For the current position in stream time, we need to subtract
6509         accumulated time.
6510         
6511         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6512         Release lock before calling the callback function of async
6513         entries.
6514
6515 2005-11-18  Andy Wingo  <wingo@pobox.com>
6516
6517         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6518         Port goes all the way to MAXUINT16.
6519
6520         * gst/net/gstnettimeprovider.c: Make the port range the same as
6521         for the kernel: 0 assigns, otherwise ports are less than
6522         MAXUINT16.
6523
6524         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6525         port change.
6526
6527         * check/net/gstnetclientclock.c (test_functioning): Add the start
6528         of another test. 
6529
6530 2005-11-18  Wim Taymans  <wim@fluendo.com>
6531
6532         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6533         (gst_bin_remove_func), (bin_bus_handler):
6534         * gst/gstbin.h:
6535         Removing a clock provider from a bin, triggers a clock lost message
6536         so that a new clock will be selected.
6537         Adding a clock to a bin triggers a clock provider message.
6538         Make sure we reselect a clock when we received a clock lost message.
6539         Keep a reference to the element that provided the clock.
6540
6541 2005-11-18  Andy Wingo  <wingo@pobox.com>
6542
6543         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6544         the clock initially so it produces values around the base time.
6545         (gst_net_client_clock_class_init): Typo fix.
6546         (gst_net_client_clock_thread): Add note on when the socket gets
6547         closed.
6548
6549 2005-11-17  Wim Taymans  <wim@fluendo.com>
6550
6551         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6552         Free remote and local time arrays.
6553
6554 2005-11-17  Wim Taymans  <wim@fluendo.com>
6555
6556         * gst/net/gstnetclientclock.c: (do_linear_regression),
6557         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6558         Fix compilation, uninitialized vars and a forgotten continue.
6559
6560 2005-11-17  Andy Wingo  <wingo@pobox.com>
6561
6562         * check/Makefile.am (check_PROGRAMS): 
6563         * check/net/gstnetclientclock.c: Add a most minimal test for the
6564         net client clock. More to come later.
6565
6566         * gst/net/gstnet.h: 
6567         * gst/net/Makefile.am: Add netclientclock.
6568
6569         * gst/net/gstnetclientclock.h:
6570         * gst/net/gstnetclientclock.c: New files, implement an untested
6571         GstClock that takes its time from a network time provider.
6572         Implements the algorithm in network-clock.scm.
6573
6574         * tests/network-clock.scm (*window-size*): Rename from
6575         *queue-length*.
6576         * tests/network-clock.scm (network-time): 
6577         * tests/network-clock-utils.scm (q-push): Update callers.
6578
6579 2005-11-17  Wim Taymans  <wim@fluendo.com>
6580
6581         * gst/gstbin.c: (gst_bin_provide_clock_func),
6582         (gst_bin_sort_iterator_new):
6583         And unref the child too..
6584
6585 2005-11-17  Wim Taymans  <wim@fluendo.com>
6586
6587         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6588         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6589         Refactor the sort iterator so it can be used while holding the
6590         LOCK too.
6591         Make clock selection select a clock closest to the source.
6592
6593 2005-11-17  Michael Smith <msmith@fluendo.com>
6594
6595         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6596         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6597         * gst/gstclock.h:
6598           Anonymous structs are a gcc (and some other compilers) extension, so
6599           don't use them. Since this is only for ABI-compatibility, and our
6600           API/ABI freeze is over in a few days, this whole thing will only
6601           last a few days, so don't bother trying to think up a meaningful
6602           name for the struct.
6603
6604 2005-11-17  Andy Wingo  <wingo@pobox.com>
6605
6606         * gst/gstclock.h (GstClock): Add rate and offset properties,
6607         preserving ABI stability. Add rate/offset accessors. Will file bug
6608         for the freeze break.
6609
6610         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6611         and offset, trying to keep precision and avoiding
6612         underflow/overflow.
6613         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6614         functions. Make gst_clock_set_time_adjust obsolete.
6615         (gst_clock_set_time_adjust): Note that this function is obsolete.
6616         Will file bug soon.
6617
6618         * gst/base/gstbasetransform.h: Make the ABI-stability hack
6619         greppable by using GST_PADDING-1+1.
6620
6621 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
6622
6623         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6624
6625         * gst/gstmessage.c: (gst_message_parse_clock_lost):
6626           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6627
6628         * gst/gstpadtemplate.h:
6629         * gst/gstpluginfeature.h:
6630           Don't use c++ style comments in headers (#321638).
6631
6632 2005-11-16  Andy Wingo  <wingo@pobox.com>
6633
6634         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6635         buffer.
6636
6637         * check/net/gstnettimeprovider.c: Check to see that the time
6638         provider actually provides times. Works, yo!
6639
6640 2005-11-16  Wim Taymans  <wim@fluendo.com>
6641
6642         * check/Makefile.am:
6643         Enable more tests.
6644
6645         * check/elements/fakesrc.c: (GST_START_TEST):
6646         Set element to NULL before disposing it.
6647
6648 2005-11-16  Andy Wingo  <wingo@pobox.com>
6649
6650         * gst/net/Makefile.am:
6651         * gst/net/gstnet.h:
6652         * gst/net/gstnettimeprovider.c: 
6653         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6654         provider, include it from gstnet.h, and add it to the build.
6655
6656         * gst/net/gstnettimepacket.h: 
6657         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6658         sending and receiving.
6659
6660 2005-11-16  Wim Taymans  <wim@fluendo.com>
6661
6662         * check/Makefile.am:
6663         Enable valgrind check.
6664
6665         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6666         (gst_fake_src_alloc_buffer):
6667         Fix memleak.
6668
6669 2005-11-16  Wim Taymans  <wim@fluendo.com>
6670
6671         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6672         Call parent finalize too.
6673
6674 2005-11-16  Wim Taymans  <wim@fluendo.com>
6675
6676         * check/Makefile.am:
6677         Enable valgrind check that should work fine now.
6678
6679         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6680         * gst/gstqueue.c: (gst_queue_init):
6681         Fix memleaks in pad allocation.
6682
6683 2005-11-16  Andy Wingo  <wingo@pobox.com>
6684
6685         * gst/net/Makefile.am:
6686         * gst/net/gstnet.h: New part of core to hold network elements and
6687         objects. Put in core because it exposes API that applications want
6688         to use. The library is named libgstnet-tempname right now because
6689         of the existing libgstnet in gst-plugins-base. Solution is
6690         probably to rename the one in plugins-base; will file a bug for
6691         the freeze break.
6692
6693         * gst/net/gstnettimeprovider.c: 
6694         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
6695         get_time call over the network.
6696
6697         * configure.ac: 
6698         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
6699
6700         * check/Makefile.am:
6701         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
6702         get additions shortly.
6703
6704 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6705
6706         * gst/gstpad.c: (gst_pad_new_from_static_template):
6707         * gst/gstpad.h:
6708           add gst_pad_new_from_static_template functions
6709         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
6710         (gst_check_setup_sink_pad):
6711         * gst/elements/gsttee.c: (gst_tee_init):
6712           and use them
6713
6714 2005-11-16  Wim Taymans  <wim@fluendo.com>
6715
6716         * gst/gstpad.c: (gst_pad_pause_task):
6717         Removed warning, it's not really an error either.
6718
6719 2005-11-16  Wim Taymans  <wim@fluendo.com>
6720
6721         * gst/base/gstbasetransform.c:
6722         (gst_base_transform_prepare_output_buf),
6723         (gst_base_transform_event):
6724         Check if the caps are NULL, this can happen if the element
6725         is shutting down and the pad caps are set to NULL.
6726
6727 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6728
6729         * gst/elements/gsttee.c: (gst_tee_init):
6730           fix pad template leak in tee
6731
6732 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6733
6734         * gst/glib-compat.c: (g_value_dup_gst_object):
6735         * gst/glib-compat.h:
6736         * gst/gstpad.c: (gst_pad_set_property):
6737           use gst_object_ref when setting the pad template; this will
6738           trigger the pad template leaks on GLib 2.6 and the slaves
6739
6740 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6741
6742         * gst/glib-compat.c: (gst_flags_get_first_value):
6743         * gst/glib-compat.h:
6744         * gst/gstregistryxml.c:
6745           remove functions copied from GLib 2.6
6746
6747 2005-11-16  Michael Smith <msmith@fluendo.com>
6748
6749         * gst/Makefile.am:
6750           Don't link against VALGRIND_LIBS. That was always the wrong thing to
6751           do, but only breaks with newer valgrind versions. We're not a
6752           valgrind tool, we have no link-time dependencies on libcoregrind.
6753
6754 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6755
6756         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6757           some debug changes
6758         * gst/gstmessage.h:
6759           typo fixes
6760
6761 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6762
6763         * gst/base/gstbasesrc.c: (gst_base_src_init):
6764         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6765         * gst/gstqueue.c: (gst_queue_init):
6766         * gst/gstregistryxml.c: (load_feature):
6767           Revert all these unrefs, they don't even pass make check !
6768
6769 2005-11-15  Johan Dahlin  <johan@gnome.org>
6770
6771         * gst/base/gstbasesrc.c: (gst_base_src_init):
6772         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6773         * gst/gstqueue.c: (gst_queue_init): 
6774         Free pad templates, fixes a couple of leaks.
6775
6776 2005-11-15  Daniel Fischer  <dan at f3c dot com>
6777
6778         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6779
6780         * gst/gstpad.c: (gst_pad_get_property):
6781           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
6782           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
6783           (#321452)
6784
6785 2005-11-15  Wim Taymans  <wim@fluendo.com>
6786
6787         * gst/gstevent.c:
6788         Small doc update.
6789
6790 2005-11-15  Andy Wingo  <wingo@pobox.com>
6791
6792         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
6793
6794         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
6795         using GST_CLOCK_TIME_NONE to disable base time management.
6796         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
6797         time if it was NONE before.
6798         (gst_pipeline_change_state): Only munge the base time if
6799         stream_time != GST_CLOCK_TIME_NONE.
6800
6801         * check/gst/gstpipeline.c (test_base_time): Punt around the
6802         problem of the probe not being called, because that's not the
6803         issue I'm looking at. Add a check that setting stream_time to NONE
6804         disables base time management.
6805         
6806 2005-11-15  Wim Taymans  <wim@fluendo.com>
6807
6808         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6809         segment_stop == -1 at startup.
6810
6811         * gst/base/gstbasetransform.c: (gst_base_transform_event),
6812         (gst_base_transform_change_state):
6813         Init segment values at start.
6814
6815 2005-11-15  Wim Taymans  <wim@fluendo.com>
6816
6817         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6818         0 segment values are 0 in any format.
6819
6820         * gst/base/gstbasetransform.c: (gst_base_transform_event):
6821         * gst/base/gstbasetransform.h:
6822         Parse newsegment correctly in basetransform
6823
6824         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6825         Sync to clock using updated segment values.
6826
6827 2005-11-15  Andy Wingo  <wingo@pobox.com>
6828
6829         * check/gst/gstpipeline.c (test_base_time): Add check that the
6830         base time and stream time are reset correctly.
6831
6832 2005-11-15  Wim Taymans  <wim@fluendo.com>
6833
6834         * docs/design/part-TODO.txt:
6835         Some more TODO items.
6836
6837 2005-11-15  Andy Wingo  <wingo@pobox.com>
6838
6839         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
6840         error if the user selected "no clock" as the clocking method.
6841
6842         * check/gst/gstpipeline.c (test_base_time): New test for buffer
6843         timestamps with live capture.
6844
6845         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
6846         is 0 but we are a live source, timestamp the buffers using the
6847         element's clock.
6848
6849 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
6850
6851         * docs/gst/gstreamer-sections.txt:
6852         * gst/gsterror.c:
6853         * gst/gstghostpad.c:
6854         * gst/gstobject.h:
6855         * gst/gstxml.c:
6856           more section docs
6857
6858 2005-11-14  Wim Taymans  <wim@fluendo.com>
6859
6860         * common/gst.supp:
6861           add suppressions from Wim's Debian machine
6862
6863 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6864
6865         * common/gst.supp:
6866           add suppressions from Andy's AMD64 Ubuntu machine
6867
6868 2005-11-14  Andy Wingo  <wingo@pobox.com>
6869
6870         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
6871         STATE_LOCK not necessary. Fixes #311489.
6872
6873         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
6874         #305291.
6875
6876         * gst/gstindex.c (gst_index_add_object): Note in the docs that
6877         this function is not implemented.
6878
6879 2005-11-14  Julien MOUTTE  <julien@moutte.net>
6880
6881         * gst/base/gstbasetransform.c:
6882         (gst_base_transform_prepare_output_buf):
6883         Ref the source pad caps while we need them.
6884         Fixes (#321386)
6885
6886 2005-11-11  Wim Taymans  <wim@fluendo.com>
6887
6888         * docs/gst/gstreamer-sections.txt:
6889         Added some docs for GstCollectData.
6890
6891         * gst/base/gstadapter.c:
6892         Some small code example fix.
6893
6894         * gst/base/gstcollectpads.c:
6895         * gst/base/gstcollectpads.h:
6896         Document some more.
6897
6898 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6899
6900         * configure.ac: back to HEAD
6901
6902 === release 0.9.5 ===
6903
6904 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
6905
6906         * configure.ac:
6907           releasing 0.9.5, "Bike Lunch Day"
6908
6909 2005-11-11  Wim Taymans  <wim@fluendo.com>
6910
6911         * gst/gstbuffer.c: (_gst_buffer_copy):
6912         Copy more flags.
6913
6914         * gst/gstcaps.c: (gst_caps_is_equal):
6915         Fix some docs.
6916         Make _is_equal fast in the trivial cases.
6917
6918         * gst/gstminiobject.c:
6919         * gst/gstminiobject.h:
6920         More docs. Spifify .h file.
6921
6922         * gst/gstutils.c:
6923         Small doc update.
6924
6925 2005-11-11  Wim Taymans  <wim@fluendo.com>
6926
6927         * gst/base/gstbasetransform.c:
6928         (gst_base_transform_prepare_output_buf),
6929         (gst_base_transform_handle_buffer):
6930         Small cleanups.
6931         If we're processing a buffer and need to allocate an output
6932         buffer, we cannot accept a format change. If we did get a 
6933         format change, we have to alloc a buffer ourselves of the 
6934         right size.
6935
6936 2005-11-11  Wim Taymans  <wim@fluendo.com>
6937
6938         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
6939         While checking the flag for reentrancy in the gstcaps function
6940         is nice to detect recursive invocations, it also makes it 
6941         impossible to call getcaps from multiple threads, which must be
6942         possible. So, checking for recursive calls has to go.
6943
6944 2005-11-11  Michael Smith <msmith@fluendo.com>
6945
6946         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6947           Don't sync on buffers that fall partially outside our current
6948           segment. Prevents an assertion failure/abort playing some files.
6949
6950 2005-11-10  Andy Wingo  <wingo@pobox.com>
6951
6952         * check/gst/gstbin.c (test_message_state_changed_children): Style
6953         fix..
6954
6955         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
6956         gst_bus_poll with the signal watch. Ensures that poll and a signal
6957         watch see the same messages.
6958
6959         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
6960         a poll and a watch at the same time get the same messages.
6961
6962 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6963
6964         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
6965         * gst/gstcaps.c: (gst_caps_intersect):
6966           Don't call gst_caps_do_simplify - it doesn't respect order of caps
6967           and it's not needed.
6968
6969 2005-11-10  Wim Taymans  <wim@fluendo.com>
6970
6971         * docs/design/part-TODO.txt:
6972         Updated todo.
6973
6974 2005-11-10  Wim Taymans  <wim@fluendo.com>
6975
6976         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6977         * gst/base/gstbasesrc.c: (gst_base_src_wait),
6978         (gst_base_src_do_sync), (gst_base_src_get_range):
6979         Implement clock sync in base class.
6980
6981 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6982
6983         patch by: Tim-Philipp Müller <tim at centricular dot net>
6984
6985         * gst/gststructure.c: (gst_structure_parse_field),
6986         (gst_structure_from_string):
6987           Forward-port a 0.8 patch to handle escaped spaces in structure string,
6988           so that gst_parse_launch() can deal with spaces in filtered link
6989           caps (fixes #164479)
6990         * check/gst/capslist.h:
6991         * check/gst/gststructure.c: (GST_START_TEST):
6992           add unit tests for this change
6993
6994 2005-11-10  Wim Taymans  <wim@fluendo.com>
6995
6996         * docs/gst/gstreamer-sections.txt:
6997         * gst/gstelement.c:
6998         * gst/gstelement.h:
6999         Fix docs, move some STATE macros to private.
7000
7001 2005-11-10  Wim Taymans  <wim@fluendo.com>
7002
7003         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7004         Added check for bug #317341
7005
7006         * gst/gstbuffer.c:
7007         * gst/gstbuffer.h:
7008         Some more spiffifying.
7009
7010         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7011         Call peer linkfunction if we are a source pad. Totally fixes
7012         #317341
7013
7014         * gst/gstpad.c:
7015         Update docs, source pads should call the peer linkfunction
7016         so they can atomically perform the pad link.
7017
7018 2005-11-09  Wim Taymans  <wim@fluendo.com>
7019
7020         * gst/gstbuffer.c:
7021         * gst/gstbuffer.h:
7022         Uber-spiffy-spiffify some more.
7023
7024 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
7025
7026         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7027         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7028         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7029         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7030         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7031         * gst/gstpad.c: (gst_pad_init):
7032           Use GST_DEBUG_FUNCPTR() more extensively.
7033
7034 2005-11-09  Wim Taymans  <wim@fluendo.com>
7035
7036         * gst/gstobject.c: (gst_object_class_init):
7037         * gst/gstobject.h:
7038         Documentation fixes.
7039
7040 2005-11-09  Edward Hervey  <edward@fluendo.com>
7041
7042         * gst/gsttypefindfactory.c:
7043         Fix docs.
7044         
7045 2005-11-09  Edward Hervey  <edward@fluendo.com>
7046
7047         * gst/base/gsttypefindhelper.c:
7048         * gst/gsttypefind.c:
7049         * gst/gsttypefind.h:
7050         Fix docs.
7051
7052 2005-11-09  Wim Taymans  <wim@fluendo.com>
7053
7054         * gst/gstiterator.c:
7055         Fix revision data.
7056
7057         * gst/gsttask.c:
7058         * gst/gsttask.h:
7059         Fix docs.
7060
7061 2005-11-09  Wim Taymans  <wim@fluendo.com>
7062
7063         * gst/gstevent.h:
7064         * gst/gsturi.h:
7065         Fix docs.
7066
7067 2005-11-09  Wim Taymans  <wim@fluendo.com>
7068
7069         * docs/gst/gstreamer-sections.txt:
7070         Moved the message async delivery private lock and cond
7071         to the private section.
7072
7073         * gst/gstmessage.c:
7074         * gst/gstmessage.h:
7075         Fixed docs.
7076
7077 2005-11-09  Edward Hervey  <edward@fluendo.com>
7078
7079         * docs/gst/gstreamer-sections.txt:
7080         * gst/gsturi.c:
7081         * gst/gsturi.h:
7082         Document GstURIHandler
7083
7084 2005-11-09  Wim Taymans  <wim@fluendo.com>
7085
7086         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7087         (gst_iterator_find_custom):
7088         * gst/gstiterator.h:
7089         Fix iterator docs.
7090
7091 2005-11-09  Wim Taymans  <wim@fluendo.com>
7092
7093         * gst/gstbin.h:
7094         Document another field.
7095
7096         * gst/gststructure.c:
7097         * gst/gststructure.h:
7098         Document.
7099
7100 2005-11-09  Wim Taymans  <wim@fluendo.com>
7101
7102         * gst/gstbin.h:
7103         Documented structs.
7104
7105 2005-11-09  Wim Taymans  <wim@fluendo.com>
7106
7107         * docs/gst/gstreamer-sections.txt:
7108         Added some new macros.
7109
7110         * gst/gstclock.c:
7111         * gst/gstclock.h:
7112         * gst/gstobject.h:
7113         Docs updates.
7114
7115 2005-11-09  Wim Taymans  <wim@fluendo.com>
7116
7117         * docs/design/part-TODO.txt:
7118         Some more items for the TODO
7119
7120         * gst/gstcaps.c:
7121         * gst/gstcaps.h:
7122         Document GstCaps.
7123
7124 2005-11-09  Andy Wingo  <wingo@pobox.com>
7125
7126         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7127         to work on something else now tho...
7128
7129         * gst/base/gstadapter.c: More adapter docs.
7130
7131         * gst/elements/gstfilesink.c (gst_file_sink_start) 
7132         (gst_file_sink_stop): New functions, replace the state change
7133         handler.
7134         (gst_file_sink_class_init): Hook up the start and stop functions.
7135         (gst_file_sink_base_init): Don't set the state change handler any
7136         more. It was a bit ugly too, being set from here...
7137         (gst_file_sink_get_property, gst_file_sink_set_property):
7138         Cleanups...
7139         (gst_file_sink_set_location): More robust check that doesn't call
7140         GST_STATE. Ugggggg.
7141
7142 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7143
7144         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7145           Hold STREAM_LOCK while pushing newsegment or tag events as well.
7146
7147 2005-11-08  Wim Taymans  <wim@fluendo.com>
7148
7149         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7150         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7151         (gst_base_sink_chain), (gst_base_sink_change_state):
7152         * gst/base/gstbasesink.h:
7153         * gst/base/gstbasesrc.h:
7154         * gst/gstelement.h:
7155         * gst/gstevent.h:
7156         Avoid excessive typechecking in macros.
7157
7158         * gst/gstminiobject.c: (gst_mini_object_get_type),
7159         (gst_mini_object_init), (gst_mini_object_new),
7160         (gst_mini_object_free):
7161         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7162         (gst_object_finalize):
7163         Remove cruft code, optimize alloc_trace.
7164
7165 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7166
7167         * docs/faq/gst-uninstalled:
7168           fix up PS1 for systems that try to reset it
7169
7170 2005-11-07  Wim Taymans  <wim@fluendo.com>
7171
7172         * gst/base/gstbasesrc.c: (gst_base_src_init),
7173         (gst_base_src_get_range):
7174         Set the segment_end to -1 initially. Fixed typefind.
7175
7176 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7177
7178         * gst/base/gstadapter.c:
7179           Debug category should be 'adapter', not 'GstAdapter'.
7180           
7181         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7182         (gst_collectpads_class_init), (gst_collectpads_init),
7183         (gst_collectpads_peek), (gst_collectpads_pop),
7184         (gst_collectpads_event), (gst_collectpads_chain):
7185           Add debug category and some debugging output. Use boilerplate
7186           macros. Remove some extraneous words from docs.
7187
7188 2005-11-05  Andy Wingo  <wingo@pobox.com>
7189
7190         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7191         macro.
7192
7193 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7194
7195         * docs/gst/gstreamer-sections.txt:
7196         * gst/gstcaps.h:
7197         * gst/gstinfo.c:
7198         * gst/gstminiobject.h:
7199         * gst/gstobject.h:
7200         * gst/gstutils.h:
7201           more docs added
7202
7203 2005-11-04  Wim Taymans  <wim@fluendo.com>
7204
7205         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7206         Small update to stop at the configured segment_end
7207         position.
7208
7209 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7210
7211         * gst/gstregistry.c:
7212         * gst/gstregistry.h:
7213           added missing docs
7214
7215 2005-11-04  Edward Hervey  <edward@fluendo.com>
7216
7217         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7218         Check if we are doing a segment seek and have arrived at the
7219         end of that segment.
7220
7221 2005-11-04  Wim Taymans  <wim@fluendo.com>
7222
7223         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7224         Don't leak a mutex unlock in case of an error.
7225
7226         * gst/gstbus.h:
7227         Doc fixes.
7228
7229 2005-11-04  Wim Taymans  <wim@fluendo.com>
7230
7231         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7232         (gst_bus_post):
7233         Get the context to wake up only once.
7234
7235 2005-11-03  Wim Taymans  <wim@fluendo.com>
7236
7237         * check/states/sinks.c: (GST_START_TEST):
7238         Uncomment fixed check.
7239
7240         * docs/design/part-TODO.txt:
7241         Updated TODO.
7242
7243         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7244         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7245         (gst_base_sink_get_position):
7246         If we are going to PLAYING, post the right pending state
7247         when we post the intermediate paused message.
7248
7249         * gst/gstelement.c: (gst_element_continue_state),
7250         (gst_element_set_state_func), (gst_element_change_state):
7251         Don't post state changes that were between the same state
7252         and were not ASYNC.
7253
7254 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7255
7256         * docs/gst/gstreamer-sections.txt:
7257         * gst/gstcaps.h:
7258         * gst/gstinfo.c:
7259         * gst/gstminiobject.h:
7260         * gst/gstobject.h:
7261         * gst/gstutils.h:
7262           more docs and doc style fixes
7263
7264 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7265
7266         * docs/gst/gstreamer-sections.txt:
7267         * gst/gstelement.c:
7268         * gst/gstminiobject.c:
7269         doc fixes
7270
7271 2005-11-03  Andy Wingo  <wingo@pobox.com>
7272
7273         * check/states/sinks.c (test_livesrc_sink): Add checks that the
7274         state-changed messages actually have the right order and the right
7275         values.
7276
7277 2005-11-03  Wim Taymans  <wim@fluendo.com>
7278
7279         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7280         Added some more checks. Specifically the case where NO_PREROLL
7281         elements are in the pipeline.
7282
7283         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7284         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7285         (gst_base_sink_get_position):
7286         Post READY->PAUSED state change messages too.
7287         Fix bug where VOID was posted as pending state...
7288
7289         * gst/gstbin.c: (gst_bin_recalc_state):
7290         use _element_continue_state() to continue the state change.
7291
7292         * gst/gstelement.c: (gst_element_continue_state),
7293         (gst_element_commit_state), (gst_element_set_state_func),
7294         (gst_element_change_state), (gst_element_change_state_func):
7295         Lots of state change cleanups, assign the STATE_RETURN in
7296         a new continue_state() function that also propagates the
7297         last return value from a state change to the app.
7298         Update some debug statements with proper category.
7299
7300 2005-11-03  Wim Taymans  <wim@fluendo.com>
7301
7302         * docs/design/part-events.txt:
7303         * docs/design/part-gstpipeline.txt:
7304         * docs/design/part-messages.txt:
7305         * docs/design/part-overview.txt:
7306         * docs/design/part-seeking.txt:
7307         * docs/design/part-states.txt:
7308         * docs/design/part-trickmodes.txt:
7309         * docs/manual/advanced-position.xml:
7310         Small docs updates.
7311
7312         * gst/gstobject.h:
7313         People think !! is ugly, this looks better.
7314
7315         * gst/gstpad.c: (gst_pad_set_blocked_async):
7316         Remove !! since it's fixed elsewhere now.
7317
7318 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7319
7320         * gst/gstminiobject.h:
7321         * gst/gstobject.h:
7322           Add !! to _FLAG_IS_SET macros to make the result boolean.
7323
7324 2005-11-03  Edward Hervey  <edward@fluendo.com>
7325
7326         * gst/gstpad.c: (gst_pad_set_blocked_async):
7327         comparing a flag and a gboolean rarely returns coherent results...
7328         Added two characters (!!) to make that work correctly.
7329         
7330 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         * gst/gstbus.c: (gst_bus_class_init):
7333           Fix some typos.
7334           
7335         * gst/gstqueue.c: (gst_queue_loop):
7336           Don't assume a miniobject that isn't a buffer is an
7337           event (it could be that there is a refcounting
7338           problem somewhere and the pointer is stale and
7339           refers to an already destroyed miniobject).
7340
7341 2005-11-03  Julien MOUTTE  <julien@moutte.net>
7342
7343         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7344
7345 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7346
7347         * docs/manual/advanced-position.xml:
7348           Update seek example and explanations to current 0.9 API.
7349
7350         * gst/elements/gsttypefindelement.c:
7351         (gst_type_find_element_activate):
7352           Remove FIXME comment now that the found caps
7353           are unreffed.
7354
7355 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7356
7357         * gst/gstregistryxml.c: (load_feature):
7358           Add another GST_STR_NULL instance
7359
7360 2005-11-02  Edward Hervey  <edward@fluendo.com>
7361
7362         * gst/gstpad.c: (handle_pad_block):
7363         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7364         
7365 2005-11-02  Wim Taymans  <wim@fluendo.com>
7366
7367         * gst/gstbin.c:
7368         Fix typo in docs.
7369
7370         * gst/gstelement.c: (gst_element_commit_state):
7371         Remove unused value.
7372
7373         * gst/gstiterator.c:
7374         Mention that the returned element is reffed in the docs.
7375
7376 2005-11-02  Wim Taymans  <wim@fluendo.com>
7377
7378         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7379         (gst_pad_push), (gst_pad_push_event):
7380         Unlock blocked pads when they are flushed.
7381
7382 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7383
7384         * docs/README:
7385         * docs/gst/gstreamer-sections.txt:
7386         * gst/gstbin.c:
7387           doc updates
7388         * gst/gstregistry.c: (gst_registry_scan_path_level):
7389           fix for a nasty little missed situation where an installed plug-in
7390           which was in the cache did not get overridden by an uninstalled one
7391           which was earlier in the plugin path because the newly created plugin
7392           for the uninstalled one (not in the registry) didn't get its
7393           ->registered set to TRUE
7394
7395 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7396
7397         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7398         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7399         (gst_collectpads_is_active), (gst_collectpads_collect),
7400         (gst_collectpads_collect_range), (gst_collectpads_start),
7401         (gst_collectpads_stop), (gst_collectpads_peek),
7402         (gst_collectpads_pop), (gst_collectpads_available),
7403         (gst_collectpads_read), (gst_collectpads_flush):
7404           Guard public API with assertions.
7405         
7406         * gst/gstpad.c:
7407           Fix docs for gst_pad_set_link_function().
7408
7409 2005-11-02  Johan Dahlin  <johan@gnome.org>
7410
7411         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
7412         Unref found_caps after we used it.
7413
7414 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7415
7416         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7417           Don't try to ref NULL.
7418
7419 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7420
7421         * win32/common/config.h.in:
7422           provide a GST_FUNCTION that just gives a string for now
7423
7424 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7425
7426         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7427         (gst_object_flags_get_type), (register_gst_bin_flags),
7428         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7429         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7430         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7431         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7432         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7433         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7434         (gst_clock_flags_get_type), (register_gst_state),
7435         (gst_state_get_type), (register_gst_state_change_return),
7436         (gst_state_change_return_get_type), (register_gst_state_change),
7437         (gst_state_change_get_type), (register_gst_element_flags),
7438         (gst_element_flags_get_type), (register_gst_core_error),
7439         (gst_core_error_get_type), (register_gst_library_error),
7440         (gst_library_error_get_type), (register_gst_resource_error),
7441         (gst_resource_error_get_type), (register_gst_stream_error),
7442         (gst_stream_error_get_type), (register_gst_event_type),
7443         (gst_event_type_get_type), (register_gst_seek_type),
7444         (gst_seek_type_get_type), (register_gst_seek_flags),
7445         (gst_seek_flags_get_type), (register_gst_format),
7446         (gst_format_get_type), (register_gst_index_certainty),
7447         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7448         (gst_index_entry_type_get_type),
7449         (register_gst_index_lookup_method),
7450         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7451         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7452         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7453         (gst_index_flags_get_type), (register_gst_debug_level),
7454         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7455         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7456         (gst_iterator_result_get_type), (register_gst_iterator_item),
7457         (gst_iterator_item_get_type), (register_gst_message_type),
7458         (gst_message_type_get_type), (register_gst_mini_object_flags),
7459         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7460         (gst_pad_link_return_get_type), (register_gst_flow_return),
7461         (gst_flow_return_get_type), (register_gst_activate_mode),
7462         (gst_activate_mode_get_type), (register_gst_pad_direction),
7463         (gst_pad_direction_get_type), (register_gst_pad_flags),
7464         (gst_pad_flags_get_type), (register_gst_pad_presence),
7465         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7466         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7467         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7468         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7469         (gst_plugin_flags_get_type), (register_gst_rank),
7470         (gst_rank_get_type), (register_gst_query_type),
7471         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7472         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7473         (gst_tag_flag_get_type), (register_gst_task_state),
7474         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7475         (gst_alloc_trace_flags_get_type),
7476         (register_gst_type_find_probability),
7477         (gst_type_find_probability_get_type), (register_gst_uri_type),
7478         (gst_uri_type_get_type), (register_gst_parse_error),
7479         (gst_parse_error_get_type):
7480         * win32/common/gstversion.h:
7481           update win32 copies
7482
7483 2005-11-01  Luca Ognibene  <luogni@tin.it>
7484
7485         * gst/gst.c:
7486           fix docs. popt is dead, long live GOption.
7487
7488 2005-10-31  Wim Taymans  <wim@fluendo.com>
7489
7490         * gst/gstbuffer.h:
7491         Small doc fix.
7492
7493 2005-10-31  Andy Wingo  <wingo@pobox.com>
7494
7495         * Boo!
7496
7497         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7498
7499         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7500         need to serialize property notifications on GLib 2.8. GLib 2.6 has
7501         the possibility of deadlocks here if code calling notify() or
7502         set() has a lock that can be taken in another notify handler (ABBA
7503         with class lock and e.g. python GIL state lock).
7504
7505 2005-10-28  Julien MOUTTE  <julien@moutte.net>
7506
7507         * gst/gstbus.c: Doc updates.
7508
7509 2005-10-28  Wim Taymans  <wim@fluendo.com>
7510
7511         * docs/design/part-TODO.txt:
7512         * gst/gstiterator.c:
7513         * gst/gstsystemclock.c:
7514         * gst/gstsystemclock.h:
7515         Doc updates.
7516
7517 2005-10-28  Edward Hervey  <edward@fluendo.com>
7518
7519         * docs/gst/gstreamer-docs.sgml:
7520         * docs/gst/gstreamer-sections.txt:
7521         the GstURIType documentation page is private, it only defines GstURIType
7522         which should be defined in the GstURIHandler page
7523         
7524 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7525
7526         * gst/gstbin.c: (gst_bin_class_init):
7527         * gst/gstbin.h:
7528         * gst/gstutils.c:
7529         Documentation updates.
7530
7531 2005-10-28  Wim Taymans  <wim@fluendo.com>
7532
7533         * docs/gst/gstreamer-sections.txt:
7534         * gst/gstclock.c:
7535         * gst/gstclock.h:
7536         Documented the clocks.
7537
7538 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
7539
7540         * docs/gst/gstreamer-sections.txt:
7541           move some macros to private sections
7542         * gst/gstminiobject.c:
7543         * gst/gstminiobject.h:
7544           add descriptions provided by ds and some more
7545         * gst/gstpad.h:
7546           mark macro as to be removed
7547
7548 2005-10-28  Wim Taymans  <wim@fluendo.com>
7549
7550         * docs/design/part-TODO.txt:
7551         Add an item to TODO.
7552
7553         * gst/gstiterator.c: (gst_iterator_fold),
7554         (gst_iterator_find_custom):
7555         * gst/gstiterator.h:
7556         Add iterator docs.
7557
7558 2005-10-28  Wim Taymans  <wim@fluendo.com>
7559
7560         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7561         (gst_base_transform_init):
7562         Don't leak class.
7563
7564         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7565         An EOS event marks the queue as completely filled.
7566
7567 2005-10-27  Wim Taymans  <wim@fluendo.com>
7568
7569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7570         (gst_base_sink_do_sync), (gst_base_sink_get_position):
7571         Some more debugging.
7572
7573         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7574         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7575         (gst_base_transform_event), (gst_base_transform_getrange),
7576         (gst_base_transform_chain):
7577         * gst/base/gstbasetransform.h:
7578         Fix debugging,
7579         Protect transform and concurrent buffer alloc with a new lock.
7580         Try not to break ABI/API.
7581
7582 2005-10-27  Wim Taymans  <wim@fluendo.com>
7583
7584         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7585         (gst_base_src_init), (gst_base_src_query),
7586         (gst_base_src_default_newsegment),
7587         (gst_base_src_configure_segment), (gst_base_src_do_seek),
7588         (gst_base_src_send_event), (gst_base_src_event_handler),
7589         (gst_base_src_pad_get_range), (gst_base_src_loop),
7590         (gst_base_src_unlock), (gst_base_src_default_negotiate),
7591         (gst_base_src_start), (gst_base_src_deactivate),
7592         (gst_base_src_activate_push), (gst_base_src_change_state):
7593         Move some stuff around and cleanup things.
7594
7595 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
7596
7597         * gst/base/gstbasesrc.c: (gst_base_src_query):
7598           Add missing break statements.
7599
7600 2005-10-27  Wim Taymans  <wim@fluendo.com>
7601
7602         * check/gst/gstbin.c: (GST_START_TEST):
7603         An extra refcount is taken in basesrc.
7604
7605         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7606         (gst_base_src_get_range), (gst_base_src_pad_get_range),
7607         (gst_base_src_loop):
7608         Small cleanups, check for flushing after being unlocked from the 
7609         LIVE_LOCK. take refcounts correctly (not yet everywhere).
7610         Don't send out EOS when going to READY.
7611
7612 2005-10-27  Wim Taymans  <wim@fluendo.com>
7613
7614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7615         (gst_base_sink_get_position):
7616         Some more debug.
7617
7618         * gst/gstbin.c: (message_check), (bin_replace_message),
7619         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7620         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7621         (bin_query_duration_init), (bin_query_duration_fold),
7622         (bin_query_duration_done), (bin_query_generic_fold),
7623         (gst_bin_query):
7624         * tools/gst-launch.c: (main):
7625         Remove old option.
7626
7627 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
7628
7629         * examples/controller/audio-example.c: (main):
7630         * examples/queue/queue.c: (event_loop):
7631         * gst/base/gstbasetransform.h:
7632         * gst/gstelement.c: (gst_element_send_event):
7633         * gst/gstevent.h:
7634         * gst/gstpad.c: (gst_pad_send_event):
7635           fixing examples
7636           fixing docs typos
7637           changing log priority in error situations
7638
7639 2005-10-25  Wim Taymans  <wim@fluendo.com>
7640
7641         * gst/gstbin.c: (message_check), (bin_replace_message),
7642         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7643         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7644         (bin_query_duration_init), (bin_query_duration_fold),
7645         (bin_query_duration_done), (bin_query_generic_fold),
7646         (gst_bin_query):
7647         Some doc and debug updates.
7648         Cache previously requested query DURATION for speed. invalidate
7649         cached duration if element posts a DURATION message.
7650
7651 2005-10-25  Wim Taymans  <wim@fluendo.com>
7652
7653         * docs/design/part-TODO.txt:
7654         Update TODO.
7655
7656         * gst/gstbin.c: (message_check), (bin_replace_message),
7657         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7658         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7659         (bin_query_duration_init), (bin_query_duration_fold),
7660         (bin_query_duration_done), (bin_query_generic_fold),
7661         (gst_bin_query):
7662         Handle SEGMENT_START/DONE messages correctly.
7663         More evolved query algorithm that handles duration queries
7664         correctly.
7665
7666         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7667         (gst_element_get_state_func), (gst_element_abort_state),
7668         (gst_element_commit_state), (gst_element_lost_state):
7669         Some more debugging.
7670
7671         * gst/gstmessage.h:
7672         Added doc.
7673
7674 2005-10-25  Wim Taymans  <wim@fluendo.com>
7675
7676         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7677         Don't use invalid stream_time.
7678
7679         * gst/gstevent.c: (gst_event_new_newsegment):
7680         stream_time in newsegment cannot be undefined.
7681
7682 2005-10-24  Wim Taymans  <wim@fluendo.com>
7683
7684         * gst/gstbus.c:
7685         Doc fix.
7686
7687         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7688         (gst_queue_loop):
7689         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
7690
7691 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
7692
7693         * docs/libs/tmpl/gstdparam.sgml:
7694         * docs/libs/tmpl/gstdplinint.sgml:
7695         * docs/libs/tmpl/gstdpman.sgml:
7696         * docs/libs/tmpl/gstdpsmooth.sgml:
7697         * docs/libs/tmpl/gstunitconvert.sgml:
7698           these are obsolete
7699
7700 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7701
7702         * configure.ac:
7703           back to HEAD
7704
7705 === release 0.9.4 ===
7706
7707 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7708
7709         * configure.ac:
7710           releasing 0.9.4, "Tyrannosaurus Rex"
7711
7712 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
7713
7714         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7715         (gst_file_sink_get_current_offset):
7716           Use fseeko() and ftello() if available. When falling back on
7717           lseek() to get the current offset, fflush() first to make sure
7718           everything is up-to-date and we get the right offset.
7719
7720 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7721
7722         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7723         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7724         * gst/gsterror.c: (_gst_stream_errors_init):
7725         * gst/gsterror.h:
7726         * gst/gstqueue.c: (gst_queue_loop):
7727         * po/POTFILES.in:
7728           remove prematurely added error category and clean up the instances
7729
7730 2005-10-21  Wim Taymans  <wim@fluendo.com>
7731
7732         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7733         (gst_base_sink_get_position), (gst_base_sink_query),
7734         (gst_base_sink_change_state):
7735         Simply set the right flag when going to playing, that's all
7736         we need to do instead of calling a function inside the object
7737         lock (that could take the lock as well and deadlock)
7738
7739 2005-10-21  Wim Taymans  <wim@fluendo.com>
7740
7741         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7742         (gst_base_src_loop):
7743         Don't warn, the peer element knows what to do best when
7744         the seek failed, it might try something else.
7745
7746 2005-10-21  Wim Taymans  <wim@fluendo.com>
7747
7748         * gst/base/gstbasesrc.c: (gst_base_src_init),
7749         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7750         Fix seeking.
7751
7752 2005-10-21  Wim Taymans  <wim@fluendo.com>
7753
7754         * docs/design/part-segments.txt:
7755         More docs.
7756
7757         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7758         Correctly set caps, even on the subbufer.
7759
7760 2005-10-21  Wim Taymans  <wim@fluendo.com>
7761
7762         * docs/gst/gstreamer-docs.sgml:
7763         * docs/gst/gstreamer-sections.txt:
7764         * gst/gstelement.h:
7765         * gst/gstevent.c:
7766         * gst/gstevent.h:
7767         * gst/gstmessage.h:
7768         * gst/gstpad.h:
7769         * gst/gstparse.h:
7770         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
7771         * gst/gsttask.h:
7772         * gst/gstutils.c:
7773         * gst/gstutils.h:
7774         And 2% more doc coverage.
7775
7776 2005-10-21  Andy Wingo  <wingo@pobox.com>
7777
7778         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
7779         position reporting.
7780
7781 2005-10-20  Wim Taymans  <wim@fluendo.com>
7782
7783         * gst/gsterror.c: (gst_error_get_message):
7784         * gst/gstparse.h:
7785         * gst/gstquery.h:
7786         * gst/gststructure.c:
7787         * gst/gsttrace.c:
7788         * gst/gstutils.c:
7789         More docs.
7790
7791 2005-10-20  Wim Taymans  <wim@fluendo.com>
7792
7793         * gst/gstbuffer.h:
7794         * gst/gstpad.c:
7795         * gst/gstparse.c:
7796         Another 1% more coverage.
7797
7798 2005-10-20  Wim Taymans  <wim@fluendo.com>
7799
7800         * docs/gst/gstreamer-sections.txt:
7801         * gst/gstelement.c: (gst_element_get_state_func),
7802         (gst_element_abort_state), (gst_element_commit_state),
7803         (gst_element_lost_state):
7804         * gst/gstevent.h:
7805         * gst/gstquery.c: (gst_query_set_position),
7806         (gst_query_parse_position), (gst_query_set_duration),
7807         (gst_query_parse_duration), (gst_query_new_convert):
7808         * gst/gstutils.c:
7809         Yay! 1% more docs coverage.
7810
7811 2005-10-20  Wim Taymans  <wim@fluendo.com>
7812
7813         * gst/gstpad.h:
7814         * gst/gstquery.c: (gst_query_set_position),
7815         (gst_query_parse_position), (gst_query_set_duration),
7816         (gst_query_parse_duration), (gst_query_new_convert):
7817         * gst/gstquery.h:
7818         * gst/gstutils.c: (gst_element_query_convert):
7819         * gst/gstutils.h:
7820         Docs and consistency fixes.
7821
7822 2005-10-20  Wim Taymans  <wim@fluendo.com>
7823
7824         * gst/gsttask.c:
7825         * gst/gsttask.h:
7826         More docs.
7827
7828 2005-10-20  Wim Taymans  <wim@fluendo.com>
7829
7830         * gst/gstbin.c: (message_check), (bin_replace_message),
7831         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7832         (update_degree), (gst_bin_sort_iterator_next),
7833         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
7834         Reworked the message handling a bit, cache the messages instead of
7835         only the senders. alows us to do more in the future.
7836
7837 2005-10-20  Wim Taymans  <wim@fluendo.com>
7838
7839         * docs/design/part-TODO.txt:
7840         Update TODO
7841
7842         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7843         (gst_base_sink_query):
7844         Don't use clock time to report position when in EOS.
7845
7846 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
7847
7848         * tools/gst-inspect.c: (print_interfaces),
7849         (print_element_properties_info), (print_element_info):
7850           Fix interface output with gst-inspect -a; don't print
7851           newlines after double/float properties.
7852
7853 2005-10-20  Wim Taymans  <wim@fluendo.com>
7854
7855         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7856         (gst_base_sink_query):
7857         Speed up current position calculation.
7858
7859         * gst/base/gstbasesrc.c: (gst_base_src_query),
7860         (gst_base_src_default_newsegment):
7861         Correctly set stream position in newsegment.
7862
7863         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
7864         (update_degree), (gst_bin_sort_iterator_next),
7865         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
7866         * gst/gstmessage.c: (gst_message_new_custom):
7867         Clean up debugging info
7868
7869         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7870         (gst_queue_loop), (gst_queue_handle_src_query):
7871         Pause task faster.
7872
7873 2005-10-19  Wim Taymans  <wim@fluendo.com>
7874
7875         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7876         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7877         Fix query handling again.
7878
7879 2005-10-19  Wim Taymans  <wim@fluendo.com>
7880
7881         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7882         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7883         * gst/base/gstbasesrc.c: (gst_base_src_query):
7884         * gst/elements/gstfilesink.c: (gst_file_sink_query):
7885         * gst/elements/gsttypefindelement.c:
7886         (gst_type_find_handle_src_query), (find_element_get_length),
7887         (gst_type_find_element_activate):
7888         API change fix.
7889
7890         * gst/gstquery.c: (gst_query_new_position),
7891         (gst_query_set_position), (gst_query_parse_position),
7892         (gst_query_new_duration), (gst_query_set_duration),
7893         (gst_query_parse_duration), (gst_query_set_segment),
7894         (gst_query_parse_segment):
7895         * gst/gstquery.h:
7896         Bundling query position/duration is not a good idea since duration
7897         does not change much and we don't want to recalculate it for every
7898         position query, so they are separated again..
7899         Base value in segment query is not needed.
7900
7901         * gst/gstqueue.c: (gst_queue_handle_src_query):
7902         * gst/gstutils.c: (gst_element_query_position),
7903         (gst_element_query_duration), (gst_pad_query_position),
7904         (gst_pad_query_duration):
7905         * gst/gstutils.h:
7906         Updates for query API change.
7907         Added some docs here and there.
7908
7909 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7910
7911         * check/gst/gstbin.c: (GST_START_TEST):
7912         * check/gst/gstghostpad.c: (GST_START_TEST):
7913         * check/pipelines/cleanup.c: (GST_START_TEST):
7914           wait on thread to die so we can check refcount correctly
7915
7916 2005-10-18  Wim Taymans  <wim@fluendo.com>
7917
7918         * check/pipelines/stress.c: (GST_START_TEST):
7919         Make check a little more time consuming.
7920
7921 2005-10-18  Wim Taymans  <wim@fluendo.com>
7922
7923         * check/Makefile.am:
7924         * check/pipelines/stress.c: (GST_START_TEST),
7925         (simple_launch_lines_suite), (main):
7926         Small state change torture test.
7927
7928         * docs/design/part-states.txt:
7929         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7930         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
7931         (gst_base_sink_change_state):
7932         Never take state lock from streaming thread, clean up ugly
7933         hacks. Unfortunatly core does not yet support nice ways to
7934         async commit state.
7935         
7936         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
7937         (bin_bus_handler):
7938         Start state recalc if a STATE_DIRTY message is posted, but only
7939         on the toplevel bin.
7940
7941         * gst/gstelement.c: (gst_element_sync_state_with_parent),
7942         (gst_element_get_state_func), (gst_element_abort_state),
7943         (gst_element_commit_state), (gst_element_lost_state),
7944         (gst_element_set_state_func), (gst_element_change_state):
7945         * gst/gstelement.h:
7946         State variables are now protected with the LOCK, the state
7947         lock is only used to serialize _set_state().
7948
7949 2005-10-18  Wim Taymans  <wim@fluendo.com>
7950
7951         * check/gst/gstbin.c: (GST_START_TEST):
7952         * check/gst/gstmessage.c: (GST_START_TEST):
7953         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7954         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
7955         (bin_bus_handler):
7956         * gst/gstelement.c: (gst_element_abort_state),
7957         (gst_element_commit_state), (gst_element_lost_state):
7958         * gst/gstmessage.c: (gst_message_new_state_changed),
7959         (gst_message_new_state_dirty), (gst_message_new_segment_start),
7960         (gst_message_new_segment_done), (gst_message_new_duration),
7961         (gst_message_parse_state_changed),
7962         (gst_message_parse_segment_start),
7963         (gst_message_parse_segment_done), (gst_message_parse_duration):
7964         * gst/gstmessage.h:
7965         * tools/gst-launch.c: (event_loop):
7966         Seriously, this is better than a previous commit as we only need
7967         to notify the fact that an element changed state in a streaming
7968         thread, marking the state of the parents dirty, hence the 
7969         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
7970         message.
7971
7972 2005-10-18  Wim Taymans  <wim@fluendo.com>
7973
7974         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7975         (gst_bin_recalc_func):
7976         * gst/gstelement.c: (gst_element_set_clock),
7977         (gst_element_abort_state), (gst_element_lost_state):
7978         Cleanups, prepare for state change fixes.
7979
7980 2005-10-18  Wim Taymans  <wim@fluendo.com>
7981
7982         * gst/gstbin.h:
7983         * gst/gstelement.c: (gst_element_class_init),
7984         (gst_element_set_state), (gst_element_set_state_func):
7985         * gst/gstelement.h:
7986         Pending ABI changes.
7987         GThreadPool in GstBinClass to monitor async state changes.
7988         state_cookie in GstElement to detect concurrent gst/set state.
7989         set_state is now virtual too in case a very complicated element
7990         has to be constructed.
7991
7992 2005-10-18  Wim Taymans  <wim@fluendo.com>
7993
7994         * check/gst/gstbin.c: (GST_START_TEST):
7995         * check/gst/gstmessage.c: (GST_START_TEST):
7996         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7997         * gst/gstbin.c: (bin_bus_handler):
7998         * gst/gstelement.c: (gst_element_commit_state),
7999         (gst_element_lost_state):
8000         * gst/gstmessage.c: (gst_message_new_state_changed),
8001         (gst_message_new_segment_start), (gst_message_new_segment_done),
8002         (gst_message_new_duration), (gst_message_parse_state_changed),
8003         (gst_message_parse_segment_start),
8004         (gst_message_parse_segment_done), (gst_message_parse_duration):
8005         * gst/gstmessage.h:
8006         * tools/gst-launch.c: (event_loop):
8007         Make messages future proof.
8008         state-change gets a flag if it was a message comming from the
8009         streaming thread.
8010         segment-start/stop can also be specified in other formats.
8011         A message to notify an app that a pipeline changed playback 
8012         duration.
8013         Also fix a GstMessage leak in -launch
8014
8015 2005-10-18  Andy Wingo  <wingo@pobox.com>
8016
8017         * gst/gstelement.c (gst_element_dispose): More helpful message.
8018
8019 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8020
8021         reviewed by: <delete if not using a buddy>
8022
8023         * common/gtk-doc.mak:
8024
8025 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8026
8027         * gst/gstregistry.c: (gst_registry_scan_path_level):
8028           unref a plug-in we get that was already initialized
8029
8030 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
8031
8032         * docs/gst/gstreamer-sections.txt:
8033         * docs/libs/gstreamer-libs-sections.txt:
8034         * gst/gstelement.h:
8035           add new api entries
8036           hide internal macro
8037
8038 2005-10-17  Andy Wingo  <wingo@pobox.com>
8039
8040         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8041         cleanup.
8042
8043         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8044
8045         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8046
8047         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8048         (gst_element_get_state_func): Better debug message.
8049         (gst_element_commit_state): s/INFO/DEBUG/.
8050         (gst_element_lost_state, gst_element_change_state): 
8051
8052         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8053         (gst_message_new_custom): s/INFO/LOG/.
8054
8055 2005-10-17  Michael Smith <msmith@fluendo.com>
8056
8057         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8058           Check if end time is valid using end time, not start time.
8059
8060 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
8061
8062         * check/gst-libs/controller.c: (GST_START_TEST),
8063         (gst_controller_suite):
8064         * libs/gst/controller/gstcontroller.c:
8065         (gst_controlled_property_set_interpolation_mode):
8066         * libs/gst/controller/gstcontroller.h:
8067         * libs/gst/controller/gstinterpolation.c:
8068         * testsuite/controller/.cvsignore:
8069         * testsuite/controller/Makefile.am:
8070         * testsuite/controller/interpolator.c:
8071           merge controller testsuites
8072           fix broken tests
8073           remove mem-chunk from docs
8074
8075 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8076
8077         * gst/gstmemchunk.c:
8078         * gst/gstmemchunk.h:
8079         * gst/gsttrashstack.c:
8080         * gst/gsttrashstack.h:
8081           out.  get out.  you're fired.  to the Attic !
8082
8083 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8084
8085         * gst/gstcaps.c: (gst_caps_intersect):
8086           fix signedness issues in a (hopefully) correct way
8087         * gst/gstelement.c: (gst_element_pads_activate):
8088           some debugging
8089         * gst/gstobject.c: (gst_object_set_parent):
8090           some debugging
8091
8092 2005-10-17  Julien MOUTTE  <julien@moutte.net>
8093
8094         * gst/gstvalue.h: Fix prototypes.
8095
8096 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8097
8098         * docs/gst/gstreamer-sections.txt:
8099         * gst/gst.c: (gst_version_string):
8100         * gst/gst.h:
8101         * gst/gstversion.h.in:
8102         * win32/common/libgstreamer.def:
8103           add gst_version_string ()
8104
8105 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8106
8107         * configure.ac:
8108           clean up further
8109         * gst/gst.c: (init_post):
8110         * win32/common/config.h.in:
8111           it's PLUGINDIR now
8112         * gst/gstcaps.c: (gst_caps_intersect):
8113           use gint64, the range could be bigger than a guint
8114
8115 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8116
8117         * gst/gstclock.h:
8118           document potential problem in 2038
8119
8120 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8121
8122         * gst/gstcaps.c: (gst_caps_intersect):
8123           Fix guint j diving under 0
8124
8125 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8126
8127         * configure.ac:
8128         * win32/common/config.h:
8129         * win32/common/config.h.in:
8130           check for process.h, declares getpid() on Windows
8131         * gst/gstinfo.c:
8132           include process.h if we have it
8133         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8134         * gst/gstmemchunk.h:
8135           fix signedness issues
8136         * win32/common/libgstreamer.def:
8137           fix get_type's
8138
8139 2005-10-16  Julien MOUTTE  <julien@moutte.net>
8140
8141         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8142         fix. Because of unsigned ints, caps intersection was going nuts and
8143         trying to access structures with G_MAXUINT index. That fixes
8144         videotestsrc ! ffmpegcolorspace ! fakesink
8145         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8146         consistency.
8147
8148 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8149
8150         * configure.ac:
8151           use the gettext macro
8152         * gst/elements/gstelements.c:
8153         * gst/gst.c:
8154         * gst/indexers/gstindexers.c:
8155           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8156         * win32/common/config.h:
8157           updated config.h
8158         * win32/common/config.h.in:
8159           add the template to generate config.h
8160         * win32/common/gstenumtypes.c:
8161         * win32/common/gstversion.h:
8162           updated copies
8163
8164 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8165
8166         * gst/gst.c: (gst_version):
8167         * gst/gstversion.h.in:
8168           add the nano
8169
8170 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8171
8172         * gst/gstevent.h:
8173           Oops, add missing closing bracket.
8174
8175 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8176
8177         * configure.ac:
8178           use common m4's for argument checking
8179
8180 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8181
8182         * docs/gst/gstreamer-sections.txt:
8183         * gst/gstevent.h:
8184           Add GST_EVENT_TYPE_NAME() macro.
8185
8186 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8187
8188         * gst/gstinfo.c:
8189         * gst/gstpluginfeature.c:
8190         * gst/gsttask.c:
8191           privatize more symbols
8192
8193 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8194
8195         * configure.ac:
8196           add srcdir, builddir includes to GST_ALL_CFLAGS, since
8197           everything that uses GStreamer API should have the includes
8198
8199 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8200
8201         * docs/gst/gstreamer-sections.txt:
8202         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8203         * gst/gstvalue.h:
8204           give each value a _get_type, removes the DATA exports
8205
8206 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8207
8208         * gst/gst.c:
8209         * gst/gst.h:
8210           remove _gst_registry_auto_load, not used anymore
8211         * gst/gstbin.c: (gst_bin_get_type):
8212         * gst/gstbin.h:
8213         * gst/gstelement.c: (gst_element_get_type):
8214         * gst/gstelement.h:
8215         * gst/gstobject.c: (gst_object_get_type):
8216         * gst/gstobject.h:
8217         * gst/gstpad.c: (gst_pad_get_type):
8218         * gst/gstpad.h:
8219           make _get_type functions similar, fixes data export from library
8220
8221 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8222
8223         * configure.ac:
8224           correctly make conditionals
8225         * gst/elements/Makefile.am:
8226         * gst/elements/gstelements.c:
8227           fix typo causing fdsrc not to build
8228
8229 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8230
8231         * testsuite/Makefile.am:
8232         * testsuite/bytestream/.cvsignore:
8233         * testsuite/bytestream/Makefile.am:
8234         * testsuite/bytestream/filepadsink.c:
8235         * testsuite/bytestream/gstbstest.c:
8236         * testsuite/bytestream/test1.c:
8237         * testsuite/bytestream/testfile1:
8238         * testsuite/caps/normalisation.c:
8239         * testsuite/caps/random.c: (main):
8240         * testsuite/cleanup/.cvsignore:
8241         * testsuite/cleanup/Makefile.am:
8242         * testsuite/cleanup/cleanup1.c:
8243         * testsuite/cleanup/cleanup2.c:
8244         * testsuite/cleanup/cleanup3.c:
8245         * testsuite/cleanup/cleanup4.c:
8246         * testsuite/cleanup/cleanup5.c:
8247         * testsuite/controller/interpolator.c:
8248         * testsuite/debug/printf_extension.c: (main):
8249         * testsuite/elements/tee.c:
8250         * testsuite/negotiation/.cvsignore:
8251         * testsuite/negotiation/Makefile.am:
8252         * testsuite/negotiation/pad_link.c:
8253         * testsuite/pad/Makefile.am:
8254         * testsuite/pad/chainnopull.c:
8255         * testsuite/pad/getnopush.c:
8256         * testsuite/pad/link.c:
8257         * testsuite/refcounting/sched.c: (create_pipeline):
8258         * testsuite/registry/Makefile.am:
8259         * testsuite/registry/gst-print-formats.c:
8260         * testsuite/schedulers/.cvsignore:
8261         * testsuite/schedulers/142183-2.c:
8262         * testsuite/schedulers/142183.c:
8263         * testsuite/schedulers/143777-2.c:
8264         * testsuite/schedulers/143777.c:
8265         * testsuite/schedulers/147713.c:
8266         * testsuite/schedulers/147819.c:
8267         * testsuite/schedulers/147894-2.c:
8268         * testsuite/schedulers/147894.c:
8269         * testsuite/schedulers/Makefile.am:
8270         * testsuite/schedulers/group_link.c:
8271         * testsuite/schedulers/queue_link.c:
8272         * testsuite/schedulers/relink.c:
8273         * testsuite/schedulers/unlink.c:
8274         * testsuite/schedulers/unref.c:
8275         * testsuite/schedulers/useless_iteration.c:
8276         * testsuite/states/bin.c:
8277           clean out/remove some stuff from the testsuite directories
8278
8279 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8280
8281         * configure.ac:
8282           check for some headers
8283         * gst/elements/Makefile.am:
8284         * gst/elements/gstelements.c:
8285           don't compile fdsrc without sys/socket.h
8286         * gst/indexers/Makefile.am:
8287         * gst/indexers/gstindexers.c: (plugin_init):
8288           don't compile fileindex without mmap
8289
8290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8291
8292         * configure.ac:
8293           reorganize
8294           clean up
8295           document more
8296           remove cruft
8297         * check/Makefile.am:
8298         * docs/gst/Makefile.am:
8299         * examples/helloworld/Makefile.am:
8300         * gst/Makefile.am:
8301         * gst/base/Makefile.am:
8302         * gst/check/Makefile.am:
8303         * gst/elements/Makefile.am:
8304         * gst/indexers/Makefile.am:
8305         * gst/parse/Makefile.am:
8306         * libs/gst/controller/Makefile.am:
8307         * libs/gst/dataprotocol/Makefile.am:
8308         * examples/helloworld/helloworld.c: (event_loop):
8309           compile fixes, though it's not being compiled currently
8310
8311 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8314           Add some simple tests for the new taglist date API.
8315
8316 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8317
8318         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8319         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8320           Beautify 'last-message' output: print 'none' for buffer timestamps
8321           and durations if none is set; improve alignment with next messages.
8322
8323 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8324
8325         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8326         * gst/gstpluginfeature.h:
8327         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8328         * gst/gstregistry.h:
8329         * docs/gst/gstreamer-sections.txt:
8330           Add new API to check plugin feature version requirements.
8331
8332         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8333           Some basic tests for the above.         
8334
8335 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8336
8337         * gst/gststructure.c: (gst_structure_to_string):
8338           guard against NULL printf - happens when for example
8339           a message structure with GstClock gets serialized
8340
8341 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8342
8343         * gst/base/gstcollectpads.c: (gst_collectpads_event):
8344           Fix presumable copy'n'pasto.
8345
8346 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8347
8348         * gst/elements/gstfakesrc.h:
8349         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8350         * gst/elements/gsttypefindelement.c:
8351           fix some signedness
8352         * gst/elements/gstfilesink.c: (gst_file_sink_render):
8353           I wonder if this could actually write +2GB files before
8354
8355 2005-10-13  Andy Wingo  <wingo@pobox.com>
8356
8357         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8358         Fix Timmeke Waymans bug.
8359         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8360         string of the proper length to gst_caps_from_string. There's a
8361         potential for, before this fix, that this could cause someone
8362         connecting over the network to cause a segfault if the payload is
8363         not NUL-terminated.
8364
8365 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
8366
8367         * docs/design/draft-push-pull.txt:
8368         * docs/design/part-overview.txt:
8369         * docs/random/TODO-pre-0.9:
8370         * docs/random/old/ChangeLog.gstreamer:
8371         * gst/base/gstpushsrc.c:
8372         * gst/gstclock.c:
8373           fixed typos
8374
8375 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8376
8377         * gst/glib-compat.c: (gst_flags_get_first_value):
8378         * gst/glib-compat.h:
8379         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8380         (gst_value_compare_double), (gst_value_serialize_flags):
8381           GLib 2.6 g_flags_get_first_value has a bug that triggers an
8382           infinite loop
8383
8384 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8385
8386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8387         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8388           fix up debugging
8389         * tools/gst-launch.c: (event_loop):
8390           print out clock nicely
8391
8392 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8393
8394         * docs/gst/gstreamer-sections.txt:
8395         * gst/gsttaglist.h:
8396         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8397         (gst_tag_list_get_date_index):
8398           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8399           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8400
8401 2005-10-13  Julien MOUTTE  <julien@moutte.net>
8402
8403         * gst/base/gstcollectpads.c: (gst_collectpads_event),
8404         (gst_collectpads_chain):
8405         * gst/base/gstcollectpads.h: Handle newsegment and store informations
8406         in CollectData.
8407
8408 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
8409
8410         * docs/gst/gstreamer-sections.txt:
8411         * gst/gst.c:
8412         * gst/gsterror.h:
8413         * tools/gst-inspect.c: (main):
8414         * tools/gst-launch.c: (main):
8415         * tools/gst-run.c: (main):
8416         * tools/gst-xmlinspect.c: (main):
8417           fix GOption context leaks
8418           doc fixes
8419
8420 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8421
8422         * gst/gstbus.c:
8423           use HAVE_UNISTD_H
8424         * win32/common/config.h:
8425           update config
8426         * win32/vs6/grammar.dsp:
8427         * win32/vs6/libgstelements.dsp:
8428         * win32/vs6/libgstreamer.dsp:
8429           update vs6 files
8430
8431 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8432
8433         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8434         * gst/base/gstbasesrc.c: (gst_base_src_query):
8435           fix more guint64<->gdouble conversions
8436
8437 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8438
8439         * Makefile.am:
8440           add win32-update target
8441         * win32/common/gstconfig.h:
8442         * win32/common/gstenumtypes.c:
8443         * win32/common/gstenumtypes.h:
8444         * win32/common/gstversion.h:
8445           add files that visual studio can't generate
8446
8447 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8448
8449         * Makefile.am:
8450           add a win32-update target
8451         * configure.ac:
8452
8453 2005-10-12  Wim Taymans  <wim@fluendo.com>
8454
8455         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8456         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8457         * gst/gstelement.c: (gst_element_commit_state),
8458         (gst_element_set_state):
8459         Protect flags with proper lock.
8460         unref provided cached clock in dispose.
8461
8462 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
8463
8464         * gst/gst.c:
8465         * gst/gstminiobject.h:
8466         * gst/gstpad.h:
8467         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8468           removed unused flags from miniobject
8469           doc fixes
8470
8471 2005-10-12  Wim Taymans  <wim@fluendo.com>
8472
8473         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8474         (gst_file_sink_event), (gst_file_sink_render):
8475         Flush before seeking.
8476
8477 2005-10-12  Andy Wingo  <wingo@pobox.com>
8478
8479         * gst/gst.c (gst_init_check): Ignore unknown options, as has
8480         always been the case.
8481
8482 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
8483
8484         * check/gst/gstbin.c: (GST_START_TEST):
8485         * docs/gst/gstreamer-sections.txt:
8486         * gst/base/gstbasesink.c: (gst_base_sink_init):
8487         * gst/base/gstbasesrc.c: (gst_base_src_init),
8488         (gst_base_src_get_range), (gst_base_src_check_get_range),
8489         (gst_base_src_start), (gst_base_src_stop):
8490         * gst/base/gstbasesrc.h:
8491         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8492         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8493         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8494         (bin_bus_handler):
8495         * gst/gstbin.h:
8496         * gst/gstbuffer.h:
8497         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8498         * gst/gstbus.h:
8499         * gst/gstelement.c: (gst_element_is_locked_state),
8500         (gst_element_set_locked_state), (gst_element_commit_state),
8501         (gst_element_set_state):
8502         * gst/gstelement.h:
8503         * gst/gstindex.c: (gst_index_init):
8504         * gst/gstindex.h:
8505         * gst/gstminiobject.h:
8506         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8507         (gst_object_set_parent):
8508         * gst/gstobject.h:
8509         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8510         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8511         * gst/gstpad.h:
8512         * gst/gstpadtemplate.h:
8513         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8514         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8515         * gst/gstpipeline.h:
8516         * gst/indexers/gstfileindex.c: (gst_file_index_load),
8517         (gst_file_index_commit):
8518         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8519         * testsuite/pad/link.c: (gst_test_src_init),
8520         (gst_test_filter_init), (gst_test_sink_init):
8521         * testsuite/states/locked.c: (main):
8522           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8523           moved bitshift from macro to enum definition
8524
8525 2005-10-12  Wim Taymans  <wim@fluendo.com>
8526
8527         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8528         * gst/elements/gstfilesink.c: (gst_file_sink_event),
8529         (gst_file_sink_render):
8530         Some more debugging info.
8531
8532 2005-10-12  Wim Taymans  <wim@fluendo.com>
8533
8534         * docs/design/part-states.txt:
8535         * tools/gst-launch.c: (main):
8536         Some doc updates.
8537         Revert non-intentional change.
8538
8539 2005-10-12  Wim Taymans  <wim@fluendo.com>
8540
8541         * check/gst/gstbin.c: (GST_START_TEST):
8542         * check/gst/gstelement.c: (GST_START_TEST):
8543         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8544         * check/gst/gstghostpad.c: (GST_START_TEST):
8545         * check/gst/gstpipeline.c: (GST_START_TEST):
8546         * check/pipelines/simple_launch_lines.c: (run_pipeline):
8547         * check/states/sinks.c: (GST_START_TEST):
8548         * gst/elements/gsttypefindelement.c: (stop_typefinding):
8549         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8550         (gst_bin_remove_func), (gst_bin_get_state_func),
8551         (gst_bin_recalc_state), (gst_bin_change_state_func),
8552         (bin_bus_handler):
8553         * gst/gstelement.c: (gst_element_get_state_func),
8554         (gst_element_get_state), (gst_element_abort_state),
8555         (gst_element_commit_state), (gst_element_set_state),
8556         (gst_element_change_state), (gst_element_change_state_func):
8557         * gst/gstelement.h:
8558         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8559         (gst_pipeline_provide_clock_func):
8560         * gst/gstutils.c: (gst_element_link_pads_filtered):
8561         * tools/gst-launch.c: (main):
8562         * tools/gst-typefind.c: (main):
8563         Use GstClockTime in _get_state() instead of GTimeVal.
8564         Remove old code in gstutils.c
8565
8566 2005-10-12  Andy Wingo  <wingo@pobox.com>
8567
8568         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8569         removed.
8570
8571         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8572         there is no task. Shouldn't affect any code, as nothing in our
8573         plugins checks this return value.
8574         (gst_pad_stop_task): Also take the stream lock if the pad has no
8575         task. Docs updated.
8576
8577 2005-10-12  Wim Taymans  <wim@fluendo.com>
8578
8579         * gst/gstpad.c: (pre_activate), (post_activate),
8580         (gst_pad_activate_pull), (gst_pad_activate_push):
8581         Cleanup activation code. Reset old state if
8582         activation failed.
8583
8584 2005-10-12  Wim Taymans  <wim@fluendo.com>
8585
8586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8587         (gst_base_sink_change_state):
8588         No need to prerol after receiving EOS.
8589
8590         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8591         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8592         * gst/elements/gstidentity.c: (gst_identity_event):
8593         Print events more verbosely.
8594
8595 2005-10-12  Wim Taymans  <wim@fluendo.com>
8596
8597         * check/Makefile.am:
8598         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8599         * check/states/sinks2.c:
8600         Moved sinks2 testcode in sinks check.
8601
8602         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8603         (gst_bin_remove_func), (gst_bin_recalc_state),
8604         (gst_bin_change_state_func), (bin_bus_handler):
8605         Fix potential race condition when _get_state() iterated over an
8606         ASYNC element right before it posted a state completion.
8607
8608         * gst/gstclock.h:
8609         Do proper cast here.
8610
8611         * gst/gstevent.c: (gst_event_new_newsegment),
8612         (gst_event_parse_newsegment):
8613         A playback rate of 0.0 is not allowed.
8614
8615 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8616
8617         * win32/common/config.h:
8618         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8619         (_trewinddir), (_ttelldir), (_tseekdir):
8620         * win32/common/dirent.h:
8621         * win32/common/gtchar.h:
8622         * win32/common/libgstbase.def:
8623         * win32/common/libgstreamer.def:
8624         * win32/vs6/grammar.dsp:
8625         * win32/vs6/gst_inspect.dsp:
8626         * win32/vs6/gst_launch.dsp:
8627         * win32/vs6/gstreamer.dsw:
8628         * win32/vs6/libgstbase.dsp:
8629         * win32/vs6/libgstelements.dsp:
8630         * win32/vs6/libgstreamer.dsp:
8631           Visual Studio 6 project files, and a new common directory.
8632           Phear.
8633
8634 2005-10-11  Wim Taymans  <wim@fluendo.com>
8635
8636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8637         (gst_base_sink_do_sync), (gst_base_sink_query),
8638         (gst_base_sink_change_state):
8639         * gst/base/gstbasesink.h:
8640         Correctly parse newsegment info.
8641
8642 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8643
8644         * gst/gst.c: (init_post):
8645           split plugin paths correctly
8646
8647 2005-10-11  Wim Taymans  <wim@fluendo.com>
8648
8649         * check/gst/gstevent.c: (GST_START_TEST):
8650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8651         (gst_base_sink_change_state):
8652         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8653         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8654         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8655         * gst/gstevent.c: (gst_event_new_newsegment),
8656         (gst_event_parse_newsegment):
8657         * gst/gstevent.h:
8658         Added extra flag to newsegment for future API freeze.
8659         Updated check and base elements.
8660
8661 2005-10-11  Julien MOUTTE  <julien@moutte.net>
8662
8663         * gst/base/gstcollectpads.c: (gst_collectpads_init),
8664         (gst_collectpads_add_pad), (gst_collectpads_pop),
8665         (gst_collectpads_event), (gst_collectpads_chain):
8666         * gst/base/gstcollectpads.h: Handle EOS correctly.
8667
8668 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8669
8670         * tools/gst-launch.c: (main):
8671           more null protecting
8672
8673 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8674
8675         * gst/gst-i18n-lib.h:
8676           check for ENABLE_NLS, not GETTEXT_PACKAGE
8677         * gst/gstregistry.c: (gst_registry_add_plugin),
8678         (gst_registry_scan_path_level),
8679         (_gst_registry_remove_cache_plugins):
8680           protect possibly NULL strings
8681         * gst/parse/types.h:
8682           config.h already included before
8683         * tools/gst-inspect.c: (main):
8684           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
8685           check for ENABLE_NLS, not GETTEXT_PACKAGE
8686         * tools/gst-launch.c: (main):
8687           check for ENABLE_NLS, not GETTEXT_PACKAGE
8688
8689 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8690
8691         * configure.ac:
8692           if we don't have glib, fail before testing 2.8
8693         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
8694           fix a leak, should fix plugins-base testsuite
8695
8696 2005-10-11  Andy Wingo  <wingo@pobox.com>
8697
8698         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
8699         take the mode we're going to as an arg. Go head and set the mode
8700         and flushing flags now, so that if the activate function starts a
8701         thread all the flags will be in the right state.
8702         (post_activate): Renamed also. Just handle making sure streaming
8703         finishes for the deactivation case, and setting the deactivated
8704         mode.
8705         (gst_pad_set_active): Complain loudly if deactivation fails.
8706         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
8707         (gst_pad_activate_push): Adapt to pre/post_activate changes,
8708         remove the terrible hack.
8709
8710 2005-10-11  Wim Taymans  <wim@fluendo.com>
8711
8712         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8713         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
8714         (gst_bin_recalc_state), (gst_bin_change_state_func),
8715         (gst_bin_dispose), (bin_bus_handler):
8716         * gst/gstbin.h:
8717         Prepare to make current EOS message queue more generic.
8718         Fix some typos.
8719
8720         * gst/gstevent.c: (gst_event_new_newsegment),
8721         (gst_event_parse_newsegment):
8722         * gst/gstevent.h:
8723         Rename base to stream_time.
8724
8725         * gst/gstmessage.h:
8726         Fix typo in docs.
8727
8728 2005-10-11  Wim Taymans  <wim@fluendo.com>
8729
8730         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8731         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8732         (gst_bin_change_state_func), (bin_bus_handler):
8733         * gst/gstbin.h:
8734         Work on proper clock selection.
8735
8736 2005-10-11  Edward Hervey  <edward@fluendo.com>
8737
8738         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
8739         * libs/gst/controller/gstcontroller.h:
8740         Added GList* version of _remove_properties() in order to be able to wrap
8741         it in bindings.
8742
8743 2005-10-11  Wim Taymans  <wim@fluendo.com>
8744
8745         * docs/design/part-states.txt:
8746         Some more docs.
8747
8748         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8749         (gst_bin_change_state_func), (bin_bus_handler):
8750         Doc updates. Don't distribute the same clock over and over again.
8751
8752         * gst/gstclock.c:
8753         * gst/gstclock.h:
8754         Doc updates.
8755
8756         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8757         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8758         (gst_pad_send_event):
8759         * gst/gstpad.h:
8760         Make probe emission threadsafe again.
8761         Register quarks and move _get_name() from utils.
8762         Doc updates.
8763
8764         * gst/gstpipeline.c: (gst_pipeline_class_init),
8765         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8766         Only redistribute the clock of it changed.
8767
8768         * gst/gstsystemclock.h:
8769         Doc updates. 
8770
8771         * gst/gstutils.c:
8772         * gst/gstutils.h:
8773         Moved the _flow_get_name() to GstPad.
8774
8775 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8776
8777         * check/gst-libs/gdp.c: (GST_START_TEST):
8778         * check/gst/gstcaps.c: (GST_START_TEST):
8779         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8780         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
8781         (gst_dp_packet_from_caps):
8782           fix more valgrind warnings before turning up the heat
8783
8784 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8785
8786         * gst/parse/grammar.y:
8787           some cleanup before the hacking
8788
8789 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8790
8791         * gst/base/gstbasesrc.c: (gst_base_src_query):
8792           use conversions
8793         * gst/gstutils.c: (gst_guint64_to_gdouble),
8794         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
8795         * gst/gstutils.h:
8796           externalize, basesrc uses it
8797           obviously the implementation needs testing
8798
8799 2005-10-10  Wim Taymans  <wim@fluendo.com>
8800
8801         * tests/sched/Makefile.am:
8802         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
8803         (make_pipeline3), (make_pipeline4), (print_elem), (main):
8804
8805 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8806
8807         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
8808           apparently converting from guint64 to double is not implemented
8809           on MSVC
8810
8811 2005-10-10  Wim Taymans  <wim@fluendo.com>
8812
8813         * check/Makefile.am:
8814         * check/generic/states.c: (GST_START_TEST):
8815         * check/gst/gstbin.c: (GST_START_TEST):
8816         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8817         * check/states/sinks.c: (GST_START_TEST):
8818         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
8819         (main):
8820         Check fixes, use API as stated in design docs, remove hacks.
8821
8822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8823         (gst_base_sink_change_state):
8824         Catch stopping our task while we're shutting down.
8825
8826         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8827         (gst_bin_remove_func), (gst_bin_get_state_func),
8828         (gst_bin_recalc_state), (gst_bin_change_state_func),
8829         (bin_bus_handler):
8830         * gst/gstbin.h:
8831         * gst/gstelement.c: (gst_element_init),
8832         (gst_element_get_state_func), (gst_element_abort_state),
8833         (gst_element_commit_state), (gst_element_lost_state),
8834         (gst_element_set_state), (gst_element_change_state),
8835         (gst_element_change_state_func):
8836         * gst/gstelement.h:
8837         New state change algorithm (see #318116)
8838
8839         * gst/gstpipeline.c: (gst_pipeline_class_init),
8840         (gst_pipeline_init), (gst_pipeline_set_property),
8841         (gst_pipeline_get_property), (do_pipeline_seek),
8842         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8843         * gst/gstpipeline.h:
8844         Remove crude state change hacks.
8845
8846         * gst/gstutils.h:
8847         Remove crude hacks.
8848
8849         * tools/gst-launch.c: (main):
8850         Fixes for state change. Needs some more work to fully use the
8851         new stuff.
8852
8853 2005-10-10  Andy Wingo  <wingo@pobox.com>
8854
8855         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
8856
8857         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
8858         this flag, but it's not even in GLib 2.6. Odd. Hack around the
8859         issue.
8860
8861 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
8862
8863         * gst/gstiterator.c: (gst_iterator_new):
8864           Fix my previous commit: GTypes passed to gst_iterator_new()
8865           can be fundamental types.
8866
8867 2005-10-10  Wim Taymans  <wim@fluendo.com>
8868
8869         * gst/gstelement.c: (gst_element_iterate_pad_list),
8870         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
8871         (gst_element_iterate_sink_pads):
8872         Use src/sink pads lists for the respective iterators instead
8873         of filtering.
8874
8875 2005-10-10  Andy Wingo  <wingo@pobox.com>
8876
8877         Merged in popt removal + GOption addition patch from Ronald, bug
8878         #169772.
8879
8880         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
8881         GstElement macros around, remove popt-related symbols, add goption
8882         stuff.
8883
8884         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
8885         
8886         * docs/gst/Makefile.am:
8887         * docs/libs/Makefile.am: No POPT_CFLAGS.
8888         
8889         * examples/manual/Makefile.am:
8890         * docs/manual/basics-init.xml: Doc updates with an example.
8891         
8892         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8893         (gst_init), (parse_one_option), (parse_goption_arg):
8894         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
8895         bit of hand merging and debugging to get the GOption stuff working
8896         tho.
8897         
8898         * tests/Makefile.am:
8899         * tools/Makefile.am:
8900         * tools/gst-inspect.c: (main):
8901         * tools/gst-launch.c: (main):
8902         * tools/gst-run.c: (main):
8903         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
8904
8905 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
8906
8907         * gst/gstiterator.c: (gst_iterator_new):
8908           Add assertions to make sure passed GType is likely to really
8909           be a GType (as the compiler won't catch it if the size and
8910           GType arguments get mixed up, see #318447).
8911
8912 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
8913
8914         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8915
8916         * gst/gstbin.c: (gst_bin_iterate_sorted):
8917           Pass GType and size arguments to gst_iterator_new() in the right
8918           order (maybe we should make _new() take the GType as first argument
8919           just like _new_list()?) (#318447).
8920           
8921
8922 2005-10-10  Wim Taymans  <wim@fluendo.com>
8923
8924         * gst/gstelement.c: (gst_element_finalize):
8925         And free the GStaticRecMutex too
8926
8927 2005-10-10  Andy Wingo  <wingo@pobox.com>
8928
8929         * gst/gstelement.c (gst_element_init, gst_element_finalize):
8930         Allocate and free the mutex properly.
8931
8932         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
8933         New macros.
8934         (GstElement): The state_lock is now recursive. Rebuild your
8935         plugins, suckers. Old macros adapted.
8936
8937         * docs/gst/gstreamer-sections.txt: Doc updates.
8938
8939         * gst/gstutils.h:
8940         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
8941         (g_static_rec_cond_wait): Ported from state changes patch, while
8942         we wait on bug #317802 to be solved in a well-distributed GLib.
8943
8944         * gst/gstelement.c (gst_element_change_state_func): Renamed from
8945         gst_element_change_state, variable name changes.
8946         (gst_element_change_state): Split out of gst_element_set_state in
8947         preparation for the state change merge. Doesn't pay attention to
8948         the 'transition' argument.
8949         (gst_element_set_state): Updates, hopefully purely cosmetic.
8950         (gst_element_sync_state_with_parent): MT-safety. Ported from the
8951         state change patch.
8952         (gst_element_get_state_func): Renamed from get_state, cosmetic
8953         changes.
8954
8955 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8956
8957         * gst/elements/gstelements.c:
8958         * win32/GStreamer.vcproj:
8959         * win32/config.h:
8960         * win32/dirent.c: (_tseekdir):
8961         * win32/gst-inspect.vcproj:
8962         * win32/gst-launch.vcproj:
8963         * win32/gstconfig.h:
8964         * win32/gstelements.vcproj:
8965         * win32/gstenumtypes.c: (gst_object_flags_get_type):
8966         * win32/gstreamer.def:
8967         * win32/msvc71.sln:
8968           updates for the win32 build (patch from Sebastien Moutte)
8969
8970 2005-10-10  Andy Wingo  <wingo@pobox.com>
8971
8972         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
8973         gst_bin_get_state, cleaned up (but no logic changes).
8974         (bin_element_is_sink): Comment updates.
8975         (sink_iterator_filter): Remove needless cast.
8976         (gst_bin_iterate_sinks): Doc update.
8977         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
8978         cleaned up (but no logic changes).
8979
8980         * check/states/sinks.c (test_src_sink): Cleanups from the state
8981         change patch.
8982         (test_livesrc_sink): Sync on the state.
8983
8984         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
8985         the state change patch.
8986
8987         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
8988         change patch.
8989
8990         * check/gst/gstbin.c: Merge in some style fixes and additional
8991         checks from Wim's state change patch.
8992
8993 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
8994
8995         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8996         (gst_type_find_helper):
8997           Check whether we have the requested data already in our list of
8998           cached buffers before pulling a new buffer; also make the buffer
8999           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9000
9001 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9002
9003         * gst/gstcaps.c:
9004         * gst/gstevent.c:
9005           doc updates
9006         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9007           don't use long long, it's not portable.  Replacing with
9008           gint64 seems to work; let's hope no skeletons fall out of the closet.
9009
9010 2005-10-10  Andy Wingo  <wingo@pobox.com>
9011
9012         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9013
9014 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
9015
9016         * docs/gst/gstreamer-sections.txt:
9017         * gst/gstevent.c:
9018         * gst/gstevent.h:
9019         * gst/gstinfo.c:
9020         * gst/gstinfo.h:
9021         * gst/gstmessage.c: (gst_message_parse_state_changed):
9022         * gst/gstpad.c:
9023         * gst/gstpad.h:
9024           more docs, fix compilation
9025
9026 2005-10-09  Philippe Khalaf <burger@speedy.org>
9027         * gst/gstmessage.c:
9028           Fixed a few forgotten variables on previous commit
9029
9030 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9031
9032         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9033           Fix evil typefind crasher: getrange() might return a short
9034           buffer at the end of a file, but gst_type_find_peek() must
9035           either return the full data as requested or NULL, but
9036           never a short buffer.
9037
9038 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9039
9040         * gst/gstmessage.c: (gst_message_new_state_changed),
9041         (gst_message_parse_state_changed):
9042         * gst/gstmessage.h:
9043           don't use "new", it's a C++ keyword
9044
9045 2005-10-08  Wim Taymans  <wim@fluendo.com>
9046
9047         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9048         * gst/gstelement.c: (gst_element_post_message):
9049         * gst/gstpipeline.c: (gst_pipeline_change_state):
9050         Small docs and debug updates.
9051
9052 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9053
9054         * docs/gst/gstreamer-sections.txt:
9055         * gst/gstelementfactory.c:
9056         * gst/gstevent.c:
9057         * gst/gsttaglist.c:
9058           more docs
9059
9060 2005-10-08  Wim Taymans  <wim@fluendo.com>
9061
9062         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9063         (gst_bin_dispose), (bin_bus_handler):
9064         Fix typos, add comments.
9065         Clear EOS list when going to PAUSED from any direction and do it
9066         in a threadsafe way.
9067         Get base time in a threadsafe way too.
9068         Fix confusing debug in the change_state function.
9069         Various other small cleanups.
9070         
9071         * gst/gstelement.c: (gst_element_post_message):
9072         Fix very verbose bus posting code.
9073
9074         * gst/gstpipeline.c: (gst_pipeline_class_init),
9075         (gst_pipeline_set_property), (gst_pipeline_get_property),
9076         (gst_pipeline_change_state):
9077         Small ARG_ -> PROP_ cleanup
9078
9079 2005-10-08  Wim Taymans  <wim@fluendo.com>
9080
9081         * gst/gstbin.c: (is_eos), (bin_bus_handler):
9082         Do a less CPU demanding EOS check because we can.
9083
9084 2005-10-08  Wim Taymans  <wim@fluendo.com>
9085
9086         * libs/gst/dataprotocol/dataprotocol.c:
9087         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9088         (gst_dp_packet_from_event):
9089         * libs/gst/dataprotocol/dataprotocol.h:
9090         * libs/gst/dataprotocol/dp-private.h:
9091         It's about time we bump the version number.
9092         Since event types don't fit in the guint8 anymore describing
9093         the payload type, make payload type 16 bits wide.
9094
9095 2005-10-08  Wim Taymans  <wim@fluendo.com>
9096
9097         * docs/design/part-TODO.txt:
9098         * docs/design/part-clocks.txt:
9099         * docs/design/part-events.txt:
9100         * docs/design/part-gstbin.txt:
9101         * docs/design/part-gstelement.txt:
9102         * docs/design/part-gstpipeline.txt:
9103         * docs/design/part-live-source.txt:
9104         * docs/design/part-messages.txt:
9105         * docs/design/part-overview.txt:
9106         * docs/design/part-states.txt:
9107         Many doc updates.
9108
9109 2005-10-08  Wim Taymans  <wim@fluendo.com>
9110
9111         * gst/gstevent.c:
9112         * gst/gstevent.h:
9113         Fix event quark registration.
9114         Add some space between events so we can insert them in the
9115         right groups.
9116
9117 2005-10-08  Wim Taymans  <wim@fluendo.com>
9118
9119         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9120         (gst_base_sink_handle_buffer):
9121         Better log message.
9122
9123         * gst/gstbus.h:
9124         * gst/gstelement.h:
9125         More docs.
9126
9127         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9128         (gst_queue_set_property), (gst_queue_get_property):
9129         * gst/gstqueue.h:
9130         Remove old unused properties.
9131
9132 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9133         * docs/gst/gstreamer-sections.txt:
9134         * gst/gstmessage.c:
9135         * gst/gstmessage.h:
9136         * gst/gstminiobject.c:
9137         * gst/gstminiobject.h:
9138         * gst/gstobject.h:
9139         * gst/gstpad.h:
9140         * gst/gstutils.h:
9141           lots of new docs and doc fixes
9142
9143 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9144
9145         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9146         * gst/gstplugin.h:
9147         * gst/gstregistry.c: (gst_registry_lookup_locked),
9148         (gst_registry_scan_path_level):
9149         * gst/gstregistryxml.c: (load_plugin):
9150           Only ever load one plugin for a given plugin basename.
9151           This ensures correct overriding of GST_PLUGIN_PATH over
9152           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9153           system installed plugins.
9154
9155 2005-10-08  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9158         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9159         Prepare for doing QOS.
9160
9161 2005-10-08  Wim Taymans  <wim@fluendo.com>
9162
9163         * check/gst/gstbin.c: (GST_START_TEST):
9164         * check/pipelines/cleanup.c: (GST_START_TEST):
9165         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9166         Allow new clock message too.
9167
9168 2005-10-08  Wim Taymans  <wim@fluendo.com>
9169
9170         * gst/gstmessage.c: (gst_message_new_error),
9171         (gst_message_new_warning), (gst_message_new_tag),
9172         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9173         (gst_message_new_clock_lost), (gst_message_new_new_clock),
9174         (gst_message_new_segment_start), (gst_message_new_segment_done),
9175         (gst_message_parse_state_changed),
9176         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9177         (gst_message_parse_new_clock):
9178         * gst/gstmessage.h:
9179         Also carry the clock in question.
9180
9181 2005-10-08  Wim Taymans  <wim@fluendo.com>
9182
9183         * gst/gstmessage.c: (gst_message_new_custom),
9184         (gst_message_new_eos), (gst_message_new_error),
9185         (gst_message_new_warning), (gst_message_new_tag),
9186         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9187         (gst_message_new_new_clock), (gst_message_new_segment_start),
9188         (gst_message_new_segment_done), (gst_message_parse_state_changed),
9189         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9190         * gst/gstmessage.h:
9191         Clean up.
9192         Added clock related messages.
9193
9194         * gst/gstpipeline.c: (gst_pipeline_change_state):
9195         Post message when the clock changed.
9196
9197         * tools/gst-launch.c: (event_loop):
9198         Print new clock.
9199
9200 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9201
9202         * tools/gst-inspect.c: (print_element_properties_info):
9203           Can't pass NULL strings to g_print() on windows.
9204
9205 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9206
9207         * docs/Makefile.am:
9208         * docs/gst/Makefile.am:
9209         * docs/gst/gstreamer-docs.sgml:
9210         * docs/gst/running.xml:
9211         * docs/version.entities.in:
9212           add a chapter on running GStreamer.
9213           document GST_DEBUG and GST_PLUGIN* env vars
9214
9215 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9216
9217         * Makefile.am:
9218           remove include dir
9219         * configure.ac:
9220           remove PLUGINS_BUILDDIR stuff
9221         * gst/gst.c: (init_post):
9222           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9223         * idiottest.mak:
9224           remove, it was condescending and not needed
9225
9226 2005-10-08  Wim Taymans  <wim@fluendo.com>
9227
9228         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9229         (gst_base_sink_handle_object), (gst_base_sink_event),
9230         (gst_base_sink_wait), (gst_base_sink_handle_event),
9231         (gst_base_sink_change_state):
9232         * gst/base/gstbasesink.h:
9233         Repost EOS message while going to PLAYING if still EOS.
9234         Make sure that when receiving a FLUSH_START we don't attempt
9235         to sync on the clock anymore.
9236
9237 2005-10-08  Wim Taymans  <wim@fluendo.com>
9238
9239         * tools/gst-launch.c: (event_loop):
9240         Better message printout.
9241
9242 2005-10-08  Wim Taymans  <wim@fluendo.com>
9243
9244         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9245         (gst_bin_child_proxy_get_children_count):
9246         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9247         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9248         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9249         (gst_child_proxy_set_valist):
9250         * gst/parse/grammar.y:
9251         Make ChildProxy threadsafe and fix mem leaks.
9252
9253 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9254
9255         * gst/gst.c: (init_post):
9256           debug the GST_PLUGIN_ env vars
9257
9258 2005-10-08  Wim Taymans  <wim@fluendo.com>
9259
9260         * check/gst/gstbin.c: (GST_START_TEST):
9261         * check/gst/gstmessage.c: (GST_START_TEST):
9262         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9263         * gst/gstelement.c: (gst_element_commit_state),
9264         (gst_element_lost_state):
9265         * gst/gstmessage.c: (gst_message_new_state_changed),
9266         (gst_message_parse_state_changed):
9267         * gst/gstmessage.h:
9268         * tools/gst-launch.c: (event_loop):
9269         Added extra field to STATE_CHANGE message with the pending
9270         state, which will be different from the new state soon.
9271
9272 2005-10-08  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstbus.c: (gst_bus_pop):
9275         * gst/gstclock.c:
9276         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9277         Small cleanups and doc updates.
9278
9279 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9280
9281         * gst/gst.c: (init_pre):
9282         * gst/gstbin.c: (gst_bin_add_func):
9283           log distributing clocks and base time
9284         * gst/gstregistry.c: (gst_registry_add_plugin),
9285         (gst_registry_scan_path_level), (gst_registry_scan_path):
9286           clean up the debugging output a little
9287         * gst/gstutils.c: (gst_element_state_get_name):
9288           warn about a memleak (I've actually seen this be used, though
9289           it was probably a bug)
9290
9291 2005-10-07  Wim Taymans  <wim@fluendo.com>
9292
9293         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9294         (gst_base_src_init), (gst_base_src_default_newsegment),
9295         (gst_base_src_newsegment), (gst_base_src_do_seek),
9296         (gst_base_src_loop), (gst_base_src_start):
9297         * gst/base/gstbasesrc.h:
9298         Make the newsegment event customizable by subclasses.
9299
9300 2005-10-07  Wim Taymans  <wim@fluendo.com>
9301
9302         * gst/gstevent.c: (gst_event_new_buffersize),
9303         (gst_event_parse_buffersize):
9304         * gst/gstevent.h:
9305         New event for future idea.
9306
9307 2005-10-07  Andy Wingo  <wingo@pobox.com>
9308
9309         * gst/gstelement.c (gst_element_post_message): Doc update.
9310
9311         * docs/gst/gstreamer-sections.txt: Update.
9312
9313         * gst/gstmessage.c (gst_message_new_application): Made into a
9314         function like honest API calls.
9315         (gst_message_new_element): New message type.
9316
9317         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9318
9319         * check/elements/fakesrc.c (test_no_preroll): New check, checks
9320         that setting a live fakesrc to PAUSED returns NO_PREROLL both
9321         times.
9322
9323         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9324         NO_PREROLL from gst_element_change_state to fall through.
9325
9326 2005-10-07  Wim Taymans  <wim@fluendo.com>
9327
9328         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9329         (gst_ghost_pad_do_activate_push):
9330         Activating a ghostpad with no internal pad in push mode
9331         is ok.
9332
9333 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9334
9335         * gst/gstobject.h:
9336           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9337           Fixes compilation on Windows.
9338
9339 2005-10-07  Michael Smith <msmith@fluendo.com>
9340
9341         * tools/gst-inspect.c:
9342           Print out feature and plugin count at the end when printing out
9343           all features.
9344
9345 2005-10-04  Michael Smith <msmith@fluendo.com>
9346
9347         * gst/gsterror.c: (_gst_stream_errors_init):
9348           Add another error string used in a few existing plugins.
9349
9350         * gst/gstplugin.c:
9351         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9352         * tools/gst-inspect.c: (print_element_info):
9353           When a feature disappears from a plugin (and the feature exists in
9354           the cached registry file), things went horribly wrong. This isn't a
9355           complete fix, we should actually be removing the 'missing' features
9356           from the features list when we load the actual plugin. That's not
9357           yet implemented. 
9358
9359 2005-10-04  Johan Dahlin  <johan@gnome.org>
9360
9361         * check/gst/gstiterator.c: (GST_START_TEST):
9362         * gst/gstbin.c: (gst_bin_iterate_elements),
9363         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9364         * gst/gstelement.c: (gst_element_iterate_pads):
9365         * gst/gstformat.c: (gst_format_iterate_definitions):
9366         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9367         (gst_iterator_new_list), (gst_iterator_filter):
9368         * gst/gstiterator.h:
9369         * gst/gstquery.c: (gst_query_type_iterate_definitions):
9370         Add a GType to GstIterator, update callsites and tests.
9371
9372 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9373
9374         * gst/gstpad.c: (gst_pad_event_default_dispatch):
9375           give events a chance to be handled by event probes when the pad
9376           is not linked
9377
9378 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9379
9380         * gst/gstevent.c: (gst_event_type_get_name),
9381         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9382         * gst/gstevent.h:
9383           add string representations for event types
9384
9385 2005-10-06  Wim Taymans  <wim@fluendo.com>
9386
9387         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9388         Don't use NULL pointers.
9389
9390 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9391
9392         * gst/gst_private.h:
9393         * gst/gstbus.c:
9394         * gst/gstelement.c:
9395         * gst/gstinfo.c:
9396         * gst/gstpluginfeature.c:
9397           widen the debug category in output to fit the biggest one we have
9398           add a bus category and use it
9399           play with the colors
9400           fix up some categories
9401
9402 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9403
9404         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9405           add push activation of sink ghost pads.
9406           Andye, please verify
9407
9408 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9409
9410         * gst/gstutils.c: (gst_element_link_pads):
9411           fix a bug in the case where neither element has a pad
9412         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9413           add a test for that case
9414
9415 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9416
9417         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9418           emit have-data before checking for peers.  This allows
9419           for probe handlers to connect elements.  This helps autopluggers.
9420         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9421         (gst_pad_suite):
9422           add six checks, linked/unlinked with no/true/false probe
9423
9424 2005-10-04  Wim Taymans  <wim@fluendo.com>
9425
9426         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9427         (gst_fake_sink_event), (gst_fake_sink_preroll),
9428         (gst_fake_sink_render), (gst_fake_sink_change_state):
9429         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9430         (gst_fake_src_get_property), (gst_fake_src_create),
9431         (gst_fake_src_stop):
9432         * gst/elements/gstidentity.c: (gst_identity_stop):
9433         Protect last_message with lock.
9434
9435 2005-10-04  Edward Hervey  <edward@fluendo.com>
9436
9437         * gst/gstformat.h: 
9438         Added precision in the comments for GST_FORMAT_DEFAULT
9439
9440 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
9441
9442         * tools/gst-launch.c: (main):
9443           Don't try to run erroneous pipelines.
9444
9445 2005-10-04  Julien MOUTTE  <julien@moutte.net>
9446
9447         * gst/gstbus.c: We don't need this header.
9448
9449 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9450
9451         * configure.ac:
9452           back to development
9453
9454 === release 0.9.3 ===
9455
9456 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9457
9458         * README:
9459         * configure.ac:
9460           Releasing 0.9.3, "Unregistered"
9461
9462 2005-10-03  Andy Wingo  <wingo@pobox.com>
9463
9464         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9465         whereby calling a pad's activatepush() function can start a thread
9466         that starts to push or pull before the pad gets the FLUSHING flag
9467         unset. Hack around it by holding the stream lock until the flag is
9468         set. Need to replace this with a proper solution. Together with
9469         the ghost pad fixes, this fixes mp3 playing/tagreading.
9470
9471         * docs/design/part-gstghostpad.txt: Add a note about activation of
9472         proxy pads outside of ghost pads.
9473
9474         * gst/gstghostpad.c: Implement the ghost pad activation design.
9475
9476 2005-10-02  Andy Wingo  <wingo@pobox.com>
9477
9478         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9479         It is volatile, after all.
9480
9481         * docs/design/part-gstghostpad.txt: Flesh out activation with
9482         ghost pads.
9483
9484         * gst/base/gstbasesrc.c (gst_base_src_init): Use
9485         GST_DEBUG_FUNCPTR.
9486
9487 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9488
9489         * configure.ac:
9490           Fix (unused) AM_CONDITIONAL tests.
9491
9492 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
9493
9494         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9495
9496         * gst/gstutils.c: (gst_pad_query_convert):
9497           Add assertion that makes sure src_val is >=0, just like
9498           gst_query_new_convert() has. (#315895)
9499
9500 2005-09-30  Edward Hervey  <edward@fluendo.com>
9501
9502         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9503         Let's not iterate pads we're not interested in, it avoids getting 
9504         sky-high refcounts on sinkpad.
9505
9506 2005-09-30  Wim Taymans  <wim@fluendo.com>
9507
9508         * gst/gstelement.c: (gst_element_set_state),
9509         (gst_element_change_state):
9510         Small tweak, element in ASYNC remains ASYNC.
9511
9512 2005-09-30  Wim Taymans  <wim@fluendo.com>
9513
9514         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9515         Only error is an error.
9516
9517         * gst/gstbin.c: (gst_bin_change_state):
9518         Better debugging.
9519
9520         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9521         Also call pad_block in pad alloc.
9522
9523         * gst/gstutils.c: (gst_flow_get_name):
9524         Better debugging.
9525
9526 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9527
9528         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9529         (gst_base_src_get_range):
9530           Fix documentation typos. Add some more debug info.
9531
9532 2005-09-29  David Schleef  <ds@schleef.org>
9533
9534         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9535           more end-user friendly.
9536         * tools/gst-inspect.c: (main): Check if command-line argument is
9537           a file and attempt to load that file as a plugin.
9538
9539 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9540
9541         * check/gst/gstbin.c:
9542         * check/states/sinks.c:
9543           fix tests for the new warning
9544         * check/gst/gstpipeline.c:
9545           add a test for pipeline and bus interaction
9546         * gst/gstelement.c:
9547           elements should be NULL if they get disposed; add a warning if not
9548
9549 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9550
9551         * gst/gstobject.c:
9552           for 2.6 refcounting, make debug log more correct by printing
9553           the actual refcounts at the time of swap (Wim)
9554
9555 2005-09-29  Andy Wingo  <wingo@pobox.com>
9556
9557         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9558         removes signal watches previously added via
9559         gst_bus_add_signal_watch.
9560         (gst_bus_add_signal_watch): Don't return the source id, just store
9561         it on the bus if there wasn't an id already.
9562
9563         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9564         add_signal_watch and remove_signal_watch.
9565
9566 2005-09-29  Edward Hervey  <edward@fluendo.com>
9567
9568         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
9569         Better if we actually iterate the list :)
9570
9571 2005-09-29  Wim Taymans  <wim@fluendo.com>
9572
9573         * check/gst/gstbin.c: (GST_START_TEST):
9574         Change for new bus API.
9575
9576         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9577         (send_messages), (GST_START_TEST), (gstbus_suite):
9578         Change for new bus signal API.
9579
9580         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9581         (gst_bus_source_prepare), (gst_bus_source_check),
9582         (gst_bus_create_watch), (gst_bus_add_watch_full),
9583         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9584         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9585         * gst/gstbus.h:
9586         Remove support for multiple GSources operating on different
9587         message types as it is too complex and unneeded when using
9588         signals.
9589         Added support for receiving signals from the bus.
9590
9591 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9592
9593         * docs/libs/tmpl/gstdataprotocol.sgml:
9594         * docs/manual/advanced-dataaccess.xml:
9595         * gst/elements/gstcapsfilter.c:
9596         * gst/gstutils.c:
9597           rename filter-caps to caps property
9598
9599 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9600
9601         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9602           More robust fraction string parsing.
9603
9604         * docs/pwg/appendix-porting.xml:
9605           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9606
9607 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9608
9609         * gst/gstcaps.c: (gst_caps_do_simplify):
9610           Thou shalt not free a structure and then continue using it
9611           in the next loop iteration.
9612
9613         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9614         (gst_caps_suite):
9615           Add test case for caps simplification.
9616
9617 2005-09-29  Wim Taymans  <wim@fluendo.com>
9618
9619         * check/gst/gstbin.c: (GST_START_TEST):
9620         Oops.
9621
9622 2005-09-29  Wim Taymans  <wim@fluendo.com>
9623
9624         * check/gst/gstbin.c: (GST_START_TEST):
9625         Add bus to bin.
9626
9627         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9628         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9629         (find_element), (gst_bin_sort_iterator_next),
9630         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9631         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9632         (gst_bin_change_state), (gst_bin_dispose):
9633         A bin does not have a bus, it gets the bus from the parent.
9634
9635         * gst/gstelement.c: (gst_element_requires_clock),
9636         (gst_element_provides_clock), (gst_element_is_indexable),
9637         (gst_element_is_locked_state), (gst_element_change_state),
9638         (gst_element_set_bus_func):
9639         Small cleanups.
9640
9641         * gst/gstpipeline.c: (gst_pipeline_class_init),
9642         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9643         The pipeline provides a bus.
9644
9645 2005-09-28  Johan Dahlin  <johan@gnome.org>
9646
9647         * gst/gstmessage.c (gst_message_parse_state_changed): Use
9648         gst_structure_get_enum instead of gst_structure_get_int
9649
9650         * gst/gststructure.c (gst_structure_get_enum): Impl.
9651
9652         * gst/gststructure.h (gst_structure_get_enum): Add
9653
9654         * docs/gst/gstreamer-sections.txt: Ditto
9655
9656         * gst/gstmessage.c (gst_message_new_state_changed): Use
9657         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9658         which does introspection.
9659         Reviewed by Christian Schaller
9660
9661 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
9662
9663         * gst/gstinfo.c: (gst_debug_log_default):
9664           don't do dummy g_strdup()s
9665         * libs/gst/controller/gstcontroller.c:
9666         (on_object_controlled_property_changed),
9667         (gst_controlled_property_new), (gst_controller_new_valist),
9668         (gst_controller_new_list),
9669         (gst_controller_remove_properties_valist), (gst_controller_set),
9670         (gst_controller_get), (gst_controller_sync_values),
9671         (gst_controller_get_value_array), (_gst_controller_class_init),
9672         (gst_controller_get_type):
9673         * libs/gst/controller/gstcontroller.h:
9674         * libs/gst/controller/gstinterpolation.c:
9675         (gst_controlled_property_find_timed_value_node):
9676           convert // to /**/ comments
9677
9678 2005-09-28  Wim Taymans  <wim@fluendo.com>
9679
9680         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9681         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9682         (gst_bus_sync_signal_handler):
9683         * gst/gstbus.h:
9684         Added async-message and sync-message signals to the bus.
9685         Added helper BusFunc to emit signals for all posted messages.
9686
9687         * gst/gstmessage.c: (gst_message_type_get_name),
9688         (gst_message_type_to_quark), (gst_message_get_type):
9689         * gst/gstmessage.h:
9690         Register quarks for message names.
9691
9692 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
9693
9694         * docs/libs/gstreamer-libs-sections.txt:
9695         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9696         (gst_controller_new_list):
9697         * libs/gst/controller/gstcontroller.h:
9698           added another constructor for language bindings
9699
9700 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9701
9702         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9703           add another check
9704         * gst/gstbus.c:
9705           add some doc
9706         * gst/gstinfo.c: (_gst_debug_init):
9707           slightly more readable color for refcount debugging
9708
9709 2005-09-28  Wim Taymans  <wim@fluendo.com>
9710
9711         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9712         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9713         (find_element), (gst_bin_sort_iterator_next),
9714         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9715         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9716         (gst_bin_change_state), (gst_bin_dispose):
9717         Small doc fixes. get_clock -> provide_clock.
9718
9719         * gst/gstelement.c: (gst_element_class_init),
9720         (gst_element_provides_clock), (gst_element_provide_clock),
9721         (gst_element_get_clock), (gst_element_commit_state),
9722         (gst_element_lost_state):
9723         * gst/gstelement.h:
9724         Make get/set_clock() symetric. Add provide_clock vmethod since
9725         that is actually what this function does.
9726
9727         * gst/gstpipeline.c: (gst_pipeline_class_init),
9728         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9729         (gst_pipeline_get_clock):
9730         get_clock -> provide_clock.
9731
9732 2005-09-28  Andy Wingo  <wingo@pobox.com>
9733
9734         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9735         lieu of real docs...
9736
9737         * gst/elements/gstfdsrc.c: Cleaned up a bit.
9738
9739 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * gst/elements/gstcapsfilter.c:
9742         * gst/elements/gstfakesink.c:
9743         * gst/elements/gstfakesrc.c:
9744         * gst/elements/gstfdsink.c:
9745         * gst/elements/gstfdsrc.c:
9746         * gst/elements/gstfilesink.c:
9747         * gst/elements/gstfilesrc.c:
9748         * gst/elements/gstidentity.c:
9749         * gst/elements/gsttee.c:
9750         * gst/elements/gsttypefindelement.c:
9751           Make element details static.
9752
9753 2005-09-28  Wim Taymans  <wim@fluendo.com>
9754
9755         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9756         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9757         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9758         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9759         (gst_bin_change_state), (gst_bin_dispose):
9760         Some documentation updates.
9761         Clean up dispose handlers.
9762
9763         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
9764         * gst/gstpad.c: (gst_pad_dispose):
9765         Clean up dispose handler.
9766
9767         * gst/gstpipeline.c: (gst_pipeline_change_state):
9768         Removed spurious UNLOCK.
9769
9770 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
9771
9772         * docs/gst/gstreamer-sections.txt:
9773         * gst/base/gstbasesrc.h:
9774         * gst/gstelement.h:
9775         * gst/gstevent.h:
9776         * gst/gstobject.h:
9777         * gst/gstpad.h:
9778         * gst/gstpipeline.c:
9779         * gst/gstpipeline.h:
9780         * gst/gstutils.h:
9781         * gst/gstxml.h:
9782           added two new functions to the docs
9783                 documents all undocumented GstXXXFlags
9784                 completed some incomplete docs 
9785
9786 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9787
9788         * gst/gstbin.c: (gst_bin_dispose):
9789         * gst/gstelement.c: (gst_element_dispose):
9790           remove now useless and leaky resurrection code in dispose
9791         * gst/base/gstbasesrc.c: (gst_base_src_init):
9792         * gst/gstelementfactory.c: (gst_element_factory_create):
9793         * gst/gstobject.c: (gst_object_set_parent):
9794           add some debugging
9795
9796 2005-09-27  Wim Taymans  <wim@fluendo.com>
9797
9798         * docs/design/part-TODO.txt:
9799         Update TODO.
9800
9801         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9802         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9803         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9804         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9805         (gst_bin_change_state):
9806         * gst/gstelement.h:
9807         Remove element variable, we keep element info in the iterator now.
9808
9809 2005-09-27  Andy Wingo  <wingo@pobox.com>
9810
9811         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
9812         values.
9813
9814 2005-09-27  Wim Taymans  <wim@fluendo.com>
9815
9816         * check/gst/gstbin.c: (GST_START_TEST):
9817         Enable check that works now.
9818
9819         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9820         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9821         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9822         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9823         (gst_bin_change_state):
9824         * gst/gstbin.h:
9825         Redid the state change algorithm using a topological sort algo.
9826         Handles all cases correctly.
9827         Exposed iterator for state change order.
9828
9829         * gst/gstelement.h:
9830         Temp storage for state changes. Need to get rid of this soon.
9831
9832 2005-09-27  Wim Taymans  <wim@fluendo.com>
9833
9834         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
9835         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
9836         (link_fold_func), (gst_pad_proxy_setcaps):
9837         Leak fixes, the fold functions need to unref the passed object and
9838         _get_parent_*() returns ref to parent.
9839
9840 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9841
9842         * check/gst/gstbuffer.c: (test_make_writable):
9843           Plug leak in test case and fix 'make check-valgrind'
9844
9845 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9846
9847         * gst/gstbuffer.c: (gst_subbuffer_init):
9848           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
9849           works correctly in all circumstances (we could have just copied
9850           the parent buffer's readonly flag, but conceptually it seems
9851           cleaner to mark all subbuffers as read-only). (based on patch
9852           by Alessandro Decina, #314710).
9853         
9854         * check/gst/gstbuffer.c: (create_read_only_buffer),
9855         (test_make_writable), (test_subbuffer_make_writable),
9856         (gst_test_suite):
9857           Add some tests for gst_buffer_make_writable().
9858
9859 2005-09-27  Wim Taymans  <wim@fluendo.com>
9860
9861         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
9862         use gst_object_has_ancestor().
9863
9864         * gst/gstobject.c: (gst_object_has_ancestor):
9865         * gst/gstobject.h:
9866         gst_object_has_ancestor() copied from gstbin.c as it is a
9867         usefull function.
9868
9869         * tests/instantiate/create.c: (create_all_elements):
9870         * tests/lat.c: (handoff_src), (handoff_sink):
9871         * tests/sched/runxml.c: (main):
9872         * tests/seeking/seeking1.c: (main):
9873         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9874         (main):
9875         Fix compilation of some tests.
9876
9877 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9878
9879         * gst/gsterror.h:
9880           Remove comment. GST_TYPE_G_ERROR is here to stay,
9881           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
9882           (#316961, #300610).
9883
9884 2005-09-26  Wim Taymans  <wim@fluendo.com>
9885
9886         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9887         Added check that shows error in state change order.
9888
9889 2005-09-26  Wim Taymans  <wim@fluendo.com>
9890
9891         * gst/gstbin.c: (gst_bin_change_state):
9892         Make state change function use 3 queues again, we were
9893         adding elements in the wrong order.
9894
9895         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9896         Some debug info,
9897
9898         * gst/gstpad.c: (gst_pad_dispose):
9899         Added some debug info first.
9900
9901 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
9902
9903         * docs/design/draft-push-pull.txt:
9904         * docs/design/part-events.txt:
9905         * docs/design/part-overview.txt:
9906         * docs/design/part-scheduling.txt:
9907           Replace all _pull_region() with _pull_range()
9908           
9909 2005-09-26  Andy Wingo  <wingo@pobox.com>
9910
9911         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
9912
9913         * check/gst-libs/controller.c: Update for controller api change.
9914
9915         * configure.ac: 
9916         * tests/Makefile.am:
9917         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
9918         over by GLib bug 118439.
9919         
9920         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
9921         routines to a function.
9922
9923         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
9924
9925         * libs/gst/controller/gsthelper.c:
9926         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
9927         (gst_object_sync_values): Renamed from sink_values. Ugh.
9928
9929         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
9930
9931         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
9932         Renamed from controller_key, as it is exported.
9933
9934         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
9935
9936 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
9937
9938         * gst/Makefile.am:
9939         * gst/gst.h:
9940         * gst/gstpad.h:
9941         * gst/gstpadtemplate.h:
9942         * gst/gstquery.c:
9943         * gst/gstquery.h:
9944         * gst/gstqueryutils.c:
9945         * gst/gstqueryutils.h:
9946           remove queryutils headers after moving the two used functions
9947           to gstquery.  also fixes build problem for gstsiddec
9948
9949 2005-09-26  Michael Smith <msmith@fluendo.com>
9950
9951         * tools/gst-launch.1.in:
9952         Correct documentation in manpage of debug syntax
9953
9954 2005-09-26  Wim Taymans  <wim@fluendo.com>
9955
9956         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9957         (gst_base_src_is_seekable), (gst_base_src_change_state):
9958         Some more debugging info.
9959
9960 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
9961
9962         * docs/gst/gstreamer-sections.txt:
9963         * gst/base/gstbasetransform.h:
9964         * gst/gstindex.h:
9965           added more docs
9966
9967 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
9968
9969         * docs/gst/.cvsignore:
9970         * docs/gst/tmpl/.cvsignore:
9971         * docs/gst/tmpl/gstpipeline.sgml:
9972         * docs/gst/tmpl/gstplugin.sgml:
9973         * gst/gstpipeline.c:
9974         * gst/gstplugin.c:
9975         * gst/gstplugin.h:
9976           inlined the last two docs files
9977           removed the tmpl directory from cvs (no more conflicts here!)
9978
9979 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
9980
9981         * docs/gst/gstreamer-sections.txt:
9982         * docs/gst/tmpl/.cvsignore:
9983         * docs/gst/tmpl/gstpad.sgml:
9984         * docs/gst/tmpl/gstpadtemplate.sgml:
9985         * gst/Makefile.am:
9986         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9987         (gst_pad_finalize), (gst_pad_set_pad_template):
9988         * gst/gstpad.h:
9989         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9990         (gst_pad_template_class_init), (gst_pad_template_init),
9991         (gst_pad_template_dispose), (name_is_valid),
9992         (gst_static_pad_template_get), (gst_pad_template_new),
9993         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
9994         (gst_pad_template_pad_created):
9995         * gst/gstpadtemplate.h:
9996           inlined two more docs
9997           factored gstpadtemplate out of gstpad
9998
9999 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
10000
10001         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10002         (test_children_state_change_order_semi_sink):
10003           Fix test case: we can't rely on a fixed state change order when
10004           going from READY => PAUSED because the sink might commit its 
10005           new state first when the first buffer created by the source 
10006           reaches the sink before the source has finished its change state.
10007           (Test case still fails at times, see #316856, comment 5 onwards)
10008
10009 2005-09-24  Wim Taymans  <wim@fluendo.com>
10010
10011         * docs/design/part-events.txt:
10012         * docs/design/part-gstbus.txt:
10013         * docs/design/part-gstpipeline.txt:
10014         * docs/design/part-messages.txt:
10015         * docs/design/part-overview.txt:
10016         * docs/design/part-segments.txt:
10017         * gst/gstbin.c:
10018         * gst/gstbuffer.c:
10019         * gst/gstclock.c:
10020         * gst/gstelement.c:
10021         * gst/gstevent.c:
10022         * gst/gstfilter.c:
10023         * gst/gstiterator.c:
10024         Various documentation updates.
10025
10026 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10027
10028         * gst/gstclock.h:
10029           Well, that's embarassing.  Luckily we weren't using
10030           GST_CLOCK_DIFF anywhere.
10031
10032 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10033
10034         * common/gtk-doc.mak:
10035           don't fail on building XML, FC4 slave shows a bunch of doc
10036           missing bits that I don't get
10037         * gst/gstpad.c:
10038         * gst/gstpipeline.c:
10039         * gst/gststructure.c:
10040           some doc updates
10041
10042 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10043
10044         * docs/design/part-gstbin.txt:
10045         * docs/design/part-gstbus.txt:
10046         * gst/gstbus.c:
10047           Add blurb about how the bus goes into flushing mode and
10048           drops all messages when its bin goes from READY into NULL 
10049           state.
10050
10051 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10052
10053         * docs/gst/gstreamer-sections.txt:
10054         * gst/gststructure.c: (gst_structure_get_clock_time):
10055         * gst/gststructure.h:
10056           add a method to get a GstClockTime out of a structure
10057
10058 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10059
10060         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10061         (test_children_state_change_order_semi_sink), (gst_bin_suite):
10062           Added test to check state change order in bins (can still be made
10063           to fail here under heavy disk load; bails out with 'Push on pad
10064           fakesink:sink0, but it was not activated in push mode').
10065
10066         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10067           Fix state change order when there is only a semi sink (#316856)
10068
10069         * gst/gstbus.c: (gst_bus_class_init):
10070           Use _class_peek_parent(), not _class_ref(); fix docs to say
10071           'default main context' instead of 'mainloop' where that is
10072           what's meant.
10073
10074         * gst/gstelement.c: (gst_element_commit_state),
10075         (gst_element_set_state):
10076           Fix typos in debug messages
10077
10078 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10079
10080         * docs/README:
10081         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10082         * gst/gstpluginfeature.c:
10083         * gst/gstutils.c:
10084           various doc updates
10085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10086           change an assert into an error until it gets fixed properly
10087
10088 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
10089
10090         * docs/gst/gstreamer-sections.txt:
10091         * docs/gst/tmpl/.cvsignore:
10092         * docs/gst/tmpl/gstelement.sgml:
10093         * docs/gst/tmpl/gstinfo.sgml:
10094         * docs/gst/tmpl/gstobject.sgml:
10095         * gst/gstelement.c:
10096         * gst/gstelement.h:
10097         * gst/gstinfo.c:
10098         * gst/gstinfo.h:
10099         * gst/gstobject.c: (gst_object_class_init):
10100         * gst/gstobject.h:
10101           inlined 3 more biiiig doc files and added some missing docs on the fly
10102
10103 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10104
10105         * check/gst/.cvsignore:
10106         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10107         * gst/gstregistryxml.c: (load_plugin),
10108         (gst_registry_xml_save_plugin):
10109           put back source in registry.  add checks for find_plugin.
10110         * testsuite/states/bin.c: (assert_state), (empty_bin),
10111         (test_adding_one_element), (main):
10112         * testsuite/states/locked.c: (main):
10113           some compile/run fixes
10114
10115 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10116
10117         * check/gst/gstvalue.c: (GST_START_TEST):
10118           fix leaks in the test itself
10119
10120 2005-09-22  Wim Taymans  <wim@fluendo.com>
10121
10122         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10123         (gst_base_sink_send_event), (gst_base_sink_peer_query),
10124         (gst_base_sink_query):
10125         Prepare for more accurate position reporting and query
10126         handling.
10127
10128         * gst/gstelement.c: (gst_element_send_event),
10129         (gst_element_set_state):
10130         Add some comment.
10131
10132 2005-09-22  Wim Taymans  <wim@fluendo.com>
10133
10134         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10135         (gst_query_parse_segment):
10136         * gst/gstquery.h:
10137         More documentation.
10138         Add segment query for future use.
10139
10140 2005-09-22  Wim Taymans  <wim@fluendo.com>
10141
10142         * gst/gstbin.c: (gst_bin_add_func):
10143         Some more debug info.
10144
10145         * gst/gstelement.c: (gst_element_send_event):
10146         Simplify send_event
10147
10148         * gst/gstelement.h:
10149         Don't know how flags got broken.
10150
10151         * gst/gstquery.h:
10152         Added new query.
10153
10154 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10155
10156         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10157           Add simplistic test suite for GST_TYPE_DATE serialisation and
10158           deserialisation.
10159
10160 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10161
10162         * docs/gst/gstreamer-sections.txt:
10163         * gst/gststructure.c: (gst_structure_set_valist),
10164         (gst_structure_get_date):
10165         * gst/gststructure.h:
10166         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10167         (gst_date_copy), (gst_value_compare_date),
10168         (gst_value_serialize_date), (gst_value_deserialize_date),
10169         (gst_value_transform_date_string),
10170         (gst_value_transform_string_date), (_gst_value_initialize):
10171         * gst/gstvalue.h:
10172           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10173           bunch of utility functions along with a hack that checks that
10174           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10175           is required. Part of the grand scheme in #170777.
10176
10177 2005-09-22  Andy Wingo  <wingo@pobox.com>
10178
10179         * gst/gstconfig.h.in: Psych out gtk-doc.
10180
10181         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10182
10183         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10184
10185         * tools/gst-inspect.c (print_element_list): Plug some
10186         inconsequential leaks.
10187
10188         * gst/gstregistry.c (gst_registry_get_default): Doc.
10189
10190         * check/gst/gstplugin.c: 
10191         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10192         * gst/gstelementfactory.c (gst_element_factory_create): 
10193         * gst/gstindexfactory.c (gst_index_factory_create): Update for
10194         refcount changes.
10195
10196         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10197         (gst_plugin_feature_load): Doc, don't eat refs.
10198
10199         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10200         (gst_plugin_list_free): Doc.
10201         (gst_plugin_load_file): Doc updates.
10202
10203         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10204         accessors returning refcounted objects, return a ref.
10205
10206         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10207         accessor for caps. IDEMPOTENCE. Oh yes.
10208
10209 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
10210
10211         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10212
10213         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10214         (_gst_debug_register_funcptr):
10215           Add mutex to serialise access to the hash table with
10216           the function pointer => function name string mapping;
10217           make that hash table static scope (#316809).
10218
10219         * gst/registries/.cvsignore:
10220           Remove left-over file.
10221
10222 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10223
10224         * docs/pwg/appendix-porting.xml:
10225           And something about newsegment events and caps-on-buffers to
10226           the porting guide (feel free to improve).
10227
10228 2005-09-21  Andy Wingo  <wingo@pobox.com>
10229
10230         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10231         data and event probes on the same pad.
10232         (test_buffer_probe_once): Test that removing probes from within
10233         the probe functions works.
10234
10235 2005-09-21  Andy Wingo  <wingo@pobox.com>
10236
10237         * check/gst/gstutils.c: New file.
10238         (test_buffer_probe_n_times): A simple buffer probe test. More to
10239         come, foolios.
10240
10241         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10242         have-data::buffer, not have-data.
10243         (gst_pad_add_event_probe): Likewise for have-data::event.
10244         (gst_pad_add_data_probe): More docs. The part about 'resolving the
10245         peer' isn't quite right yet though.
10246         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
10247         (gst_pad_remove_data_probe): Change to take the guint handler_id
10248         as their arg, not the function+data, which is more glib-like.
10249
10250         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10251         the signal emission to indicate if the data is a buffer or an
10252         event.
10253         (gst_pad_get_type): Initialize buffer and event quarks.
10254         (gst_pad_class_init): have-data is now a detailed signal, yes it
10255         is.
10256
10257 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10258
10259         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10260         * gst/gstutils.c: (gst_util_set_value_from_string),
10261         (gst_util_set_object_arg):
10262           Don't put functional code in g_return_if_fail() or
10263           g_return_val_if_fail() statements, otherwise things will 
10264           break when G_DISABLE_CHECKS is defined during compilation.
10265
10266 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10267
10268         * docs/gst/tmpl/.cvsignore:
10269         * docs/gst/tmpl/gstvalue.sgml:
10270         * gst/gstvalue.c:
10271         * gst/gstvalue.h:
10272           inlied another one and added  some obvious docs
10273
10274 2005-09-21  Wim Taymans  <wim@fluendo.com>
10275
10276         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10277         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10278         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10279         (gst_fdsrc_get_property), (gst_fdsrc_create):
10280         * gst/elements/gstfdsrc.h:
10281         Properly implement fdsrc. Removed signal and timeout,
10282         better implemented somewhere else.
10283
10284 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10285
10286         * docs/gst/tmpl/.cvsignore:
10287         * docs/gst/tmpl/gstimplementsinterface.sgml:
10288         * gst/gstinterface.c:
10289           inlined more docs
10290
10291 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10292
10293         * docs/gst/gstreamer-sections.txt:
10294         * docs/gst/tmpl/.cvsignore:
10295         * docs/gst/tmpl/gstenumtypes.sgml:
10296           remove obsolete doc file
10297
10298 2005-09-21  David Schleef  <ds@schleef.org>
10299
10300         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10301         little beer, fix a little leak.
10302
10303 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10304
10305         * docs/gst/gstreamer-docs.sgml:
10306         * docs/gst/gstreamer-sections.txt:
10307         * docs/gst/tmpl/.cvsignore:
10308         * gst/Makefile.am:
10309         * gst/gst.h:
10310         * gst/gstbin.c:
10311         * gst/gstelement.h:
10312         * gst/gstindex.c: (gst_index_class_init):
10313         * gst/gstindex.h:
10314         * gst/gstindexfactory.c: (gst_index_factory_get_type),
10315         (gst_index_factory_class_init), (gst_index_factory_init),
10316         (gst_index_factory_finalize), (gst_index_factory_new),
10317         (gst_index_factory_destroy), (gst_index_factory_find),
10318         (gst_index_factory_create), (gst_index_factory_make):
10319         * gst/gstindexfactory.h:
10320         * gst/gstpluginfeature.c:
10321         * gst/gstpluginfeature.h:
10322         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10323           more docs inlined, splitted gstindex.{c,h}
10324
10325 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10326
10327         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10328           fix a leak
10329
10330 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10331
10332         * gst/elements/gstfilesink.c: (gst_file_sink_init):
10333           Set sync to FALSE by default.
10334
10335 2005-09-20  Wim Taymans  <wim@fluendo.com>
10336
10337         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10338         (gst_base_sink_init):
10339         Make sync property settable from subclass.
10340
10341         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10342         (gst_fake_sink_change_state):
10343         Set sync to FALSE by default.
10344
10345 2005-09-20  Wim Taymans  <wim@fluendo.com>
10346
10347         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10348         * tools/gst-launch.c: (main):
10349         The timeout handler should have lower priority than the source
10350         so we don't timeout before popping a message with 0 timeout.
10351         Dump error messages after failed state change.
10352
10353 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10354
10355         * tools/gst-inspect.c: (print_element_properties_info):
10356           Fix two typos.
10357
10358 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10359
10360         * check/gst/gstevent.c:
10361         * gst/elements/gstfakesink.c:
10362         * gst/elements/gstfakesink.h:
10363           remove the sync property from fakesink.
10364           has the side effect of setting sync TRUE
10365           for fakesink, which is a change.  Anyone who knows how
10366           to fix this nicely in a GObject-y way, feel free.
10367
10368 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10369
10370         * docs/gst/gstreamer-docs.sgml:
10371           remove probe refsection
10372
10373 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10374
10375         * check/Makefile.am:
10376           disable valgrinding the controller test again
10377         * docs/gst/gstreamer-sections.txt:
10378           update for api-changes
10379
10380 2005-09-20  Wim Taymans  <wim@fluendo.com>
10381
10382         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10383         (gst_base_sink_set_property), (gst_base_sink_get_property),
10384         (gst_base_sink_do_sync):
10385         * gst/base/gstbasesink.h:
10386         Added sync property to basesink to disable clock sync.
10387
10388 2005-09-20  Andy Wingo  <wingo@pobox.com>
10389
10390         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10391         eating the caller's refcount.
10392
10393         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
10394         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10395         refcount.
10396
10397         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10398         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10399         of GLib 2.8 public, so we can know which refcount to check in
10400         tests.
10401
10402         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10403         (gst_object_init): Only set the gst refcount if we're going ahead
10404         with the refcount hack.
10405
10406 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10407
10408         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10409         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10410           more leaks plumbed, added more debug-logging
10411         * gst/gstmacros.h:
10412           whitespace fix
10413
10414 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10415
10416         * gst/gstmessage.c:
10417           remove include of gstmemchunk.h
10418
10419 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10420
10421         * gst/gstclock.c: (_gst_clock_id_free):
10422           Commit from the Political Party For More Atomic CVS Commits,
10423           so that people don't waste too much of their day fishing
10424           out obvious leaks out of massive commits.
10425           Oh, and fix a pretty damn obvious leak in the memchunk
10426           removal code.
10427
10428 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10429
10430         * check/Makefile.am:
10431         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10432           plug mem-leak, re-add to valgrindable tests
10433
10434 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10435
10436         * gst/gstplugin.h:
10437           unbreak the build for those who have chronic arthritis
10438           and typing "make check" is just too taxing on the hands
10439
10440 2005-09-20  Andy Wingo  <wingo@pobox.com>
10441
10442         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10443         really want it out, you should fix plugins at the same time.
10444
10445 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
10446
10447         * configure.ac:
10448         * docs/gst/gstreamer-sections.txt:
10449         * gst/gstobject.c:
10450           added missing symbols to api docs
10451           disable ref-count hack if we have glib >= 2.8
10452
10453 2005-09-19  David Schleef  <ds@schleef.org>
10454
10455         * docs/gst/Makefile.am: Ignore a few more internal headers
10456         * docs/gst/gstreamer-docs.sgml: Remove old sections
10457         * docs/gst/gstreamer-sections.txt: Remove old sections
10458         * docs/gst/tmpl/gstobject.sgml: update
10459         * docs/gst/tmpl/gstplugin.sgml: update
10460         * docs/gst/tmpl/gstpluginfeature.sgml: update
10461         * docs/random/ds/0.9-suggested-changes: update.
10462         * gst/Makefile.am: remove memchunk and trashstack, since they're
10463           not used.
10464         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10465         * gst/gst.h: don't include some headers
10466         * gst/gstchildproxy.c: add gstmarshal.h
10467         * gst/gstclock.c: Don't use memchunks
10468         * gst/gstminiobject.c: Add some docs
10469         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10470         * gst/gstobject.h: same
10471         * gst/gstplugin.c: include gstmacros.h
10472         * gst/gstplugin.h: don't include gstmacros.h, since it's private
10473         * gst/gstquery.c: don't use memchunks
10474         * gst/gstregistry.c: rename gst_registry_deinit()
10475         * gst/gstregistry.h: same
10476
10477 2005-09-19  David Schleef  <ds@schleef.org>
10478
10479         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10480         * docs/libs/gstreamer-libs-sections.txt:
10481         * docs/libs/tmpl/gstgetbits.sgml:
10482         * docs/libs/tmpl/gstputbits.sgml:
10483
10484 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
10485
10486         * win32/gstenumtypes.c:
10487         * win32/gstenumtypes.h:
10488           Update.
10489
10490 2005-09-19  Wim Taymans  <wim@fluendo.com>
10491
10492         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10493         Automatically PAUSE and RESUME a pipeline when a flushing seek
10494         is performed.
10495
10496 2005-09-19  Andy Wingo  <wingo@pobox.com>
10497
10498         * gst/gstregistry.h: Spacing fixen.
10499
10500 2005-09-19  Wim Taymans  <wim@fluendo.com>
10501
10502         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10503         Handle state change failure more correctly.
10504
10505 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10506
10507         * check/Makefile.am:
10508         * check/pipelines/cleanup.c: (run_pipeline):
10509         * check/pipelines/simple_launch_lines.c: (run_pipeline),
10510         (GST_START_TEST):
10511           enable cleanup again after fixing the leak
10512         * docs/README:
10513           some more info on docs
10514
10515 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10516
10517         * check/Makefile.am:
10518           re-enable tests now that leaks are plugged
10519         * check/gst/gst.c:
10520         * check/gst/gstbin.c:
10521         * check/gst/gstpipeline.c:
10522           add some more tests while fixing leaks
10523         * common/check.mak:
10524           make sure binaries are uptodate when valgrinding/gdbing
10525         * gst/gst.c:
10526         * gst/gstelementfactory.c:
10527           remove a ref too many, and add a FIXME for when we get
10528           round to disposing of classes
10529         * gst/gstplugin.c:
10530           fix the refcounting when loading a plugin from a file and
10531           the code pretends that the pointer is the same even though
10532           of course it can change
10533         * gst/gstpluginfeature.c:
10534           unref plugins marked cached (a bit confusing as a name)
10535           as the docs state should be done
10536           various doc additions to explain refcounting
10537         * gst/gstregistry.c:
10538         * gst/gstregistryxml.c:
10539           debugging
10540
10541 2005-09-19  Wim Taymans  <wim@fluendo.com>
10542
10543         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10544         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10545         (send_messages), (GST_START_TEST), (gstbus_suite):
10546         * check/gst/gstpipeline.c: (GST_START_TEST):
10547         * check/pipelines/cleanup.c: (run_pipeline):
10548         * check/pipelines/simple_launch_lines.c: (run_pipeline),
10549         (GST_START_TEST):
10550         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10551         (gst_bus_source_check), (gst_bus_source_dispatch),
10552         (gst_bus_create_watch), (gst_bus_add_watch_full),
10553         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10554         * gst/gstbus.h:
10555         * tools/gst-launch.c: (event_loop):
10556         * tools/gst-md5sum.c: (event_loop):
10557         GstBusHandler -> GstBusFunc, return value has the same meaning as
10558         any other GSource (FALSE == remove source).
10559         _add_watch() and _add_watch_full() now take a MessageType mask to
10560         only handle specific types of messages.
10561         _poll() returns the GstMessage instead of the message type to avoid
10562         race conditions.
10563         _have_pending() takes a MessageType mask now too.
10564         Added testsuite for multiple bus watches.
10565         Fix testsuites and applications for new bus API.
10566
10567 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10568
10569         * check/Makefile.am:
10570           mark a bunch of the tests as to fix until we fix them
10571
10572 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10573
10574         * common/check.mak:
10575           use GST_PLUGIN settings for valgrind tests as well, so we're
10576           valgrinding the correct thing
10577         * gst/gst.c: (init_post):
10578           plug another leak
10579
10580 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10581
10582         * gst/gst.c: (init_post), (gst_deinit):
10583         * gst/gstelementfactory.c: (gst_element_factory_class_init),
10584         (gst_element_factory_finalize), (gst_element_factory_cleanup):
10585         * gst/gstindex.c: (gst_index_factory_class_init),
10586         (gst_index_factory_finalize):
10587         * gst/gstobject.c: (gst_object_dispose):
10588         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10589         (gst_plugin_load_file), (gst_plugin_desc_free):
10590         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10591         (gst_plugin_feature_finalize):
10592         * gst/gstregistry.c: (gst_registry_class_init),
10593         (gst_registry_init), (gst_registry_finalize),
10594         (gst_registry_get_default), (gst_registry_deinit):
10595         * gst/gstregistry.h:
10596         * gst/gstregistryxml.c: (load_feature), (load_plugin):
10597           various cleanups and memleak plugging.  make valgrind is happy now.
10598
10599 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10600
10601         * common/check.mak:
10602           add a check-valgrind target
10603
10604 2005-09-18  David Schleef  <ds@schleef.org>
10605
10606         * tools/gst-inspect.c: Revert the GOption code.
10607
10608 2005-09-17  David Schleef  <ds@schleef.org>
10609
10610         * check/Makefile.am: Fix environment variables.
10611         * check/gst/gstplugin.c: Fix for API changes.
10612         * tools/gst-inspect.c: Fix for API changes.
10613         * tools/gst-xmlinspect.c: Fix for API changes.
10614         * gst/gstelementfactory.c:
10615         * gst/gstplugin.c:
10616         * gst/gstplugin.h:
10617         * gst/gstpluginfeature.c:
10618         * gst/gstpluginfeature.h:
10619         * gst/gstregistry.c:
10620         * gst/gstregistry.h:
10621         * gst/gstregistryxml.c:
10622         * gst/gsttypefind.c:
10623         * gst/gsttypefindfactory.c:
10624         * gst/indexers/gstfileindex.c:
10625         * gst/indexers/gstmemindex.c:
10626         * gst/schedulers/Makefile.am:
10627           Change registry to keep track of both plugins and features,
10628           removing the feature tracking from plugins themselves.
10629
10630 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10631
10632         * check/Makefile.am:
10633         * tools/gst-register.1.in:
10634           remove gst-register
10635
10636 2005-09-15  David Schleef  <ds@schleef.org>
10637
10638         * check/gst/gstplugin.c:
10639         * gst/gstelementfactory.c:
10640         * gst/gstplugin.c:
10641         * gst/gstpluginfeature.c:
10642         * gst/gstregistry.c:
10643           Getting tired of debugging.  Disabled all the unreffing of
10644           plugins and features, which fixes the segfaults, but of
10645           course leaks like crazy.  At least playbin works.
10646
10647 2005-09-15  David Schleef  <ds@schleef.org>
10648
10649         * check/gst/gstplugin.c: (register_check_elements),
10650         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10651         More testing
10652         * gst/elements/gsttypefindelement.c: Fix refcounting.
10653         * gst/gsttypefind.c:
10654         * gst/gsttypefindfactory.c:
10655         * gst/gsttypefindfactory.h:
10656
10657 2005-09-15  David Schleef  <ds@schleef.org>
10658
10659         * gst/gstindex.c: get refcounting correct.
10660         * gst/gstregistry.c: Handle the case where a feature/plugin is
10661           not found.
10662
10663 2005-09-15  David Schleef  <ds@schleef.org>
10664
10665         * check/Makefile.am:
10666         * check/gst/gstplugin.c: Add test
10667         * gst/gstplugin.c: Fix problems noticed by testsuite
10668         * gst/gstplugin.h:
10669         * gst/gstregistry.c: 
10670         * gst/gstregistry.h:
10671
10672 2005-09-15  David Schleef  <ds@schleef.org>
10673
10674         * gst/gstplugin.c: Implement semi-decent recounting and locking
10675           in plugins and plugin features.
10676         * gst/gstplugin.h:
10677         * gst/gstpluginfeature.c:
10678         * gst/gstpluginfeature.h:
10679         * gst/gstregistry.c:
10680
10681 2005-09-15  Michael Smith <msmith@fluendo.com>
10682
10683         * gst/gstregistry.c: (gst_registry_get_feature_list):
10684           Implement this. Makes oggdemux work; decodebin still broken.
10685
10686 2005-09-14  David Schleef  <ds@schleef.org>
10687
10688         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
10689           #316076)
10690         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
10691         * gst/check/Makefile.am:
10692         * libs/gst/controller/Makefile.am:
10693         * libs/gst/dataprotocol/Makefile.am:
10694
10695 2005-09-14  David Schleef  <ds@schleef.org>
10696
10697         * configure.ac: Remove getbits library.  Nothing uses it, and
10698           it should be in something like liboil if someone did want
10699           to use it.
10700         * libs/gst/Makefile.am:
10701         * libs/gst/getbits/Makefile.am:
10702         * libs/gst/getbits/gbtest.c:
10703         * libs/gst/getbits/getbits.c:
10704         * libs/gst/getbits/getbits.h:
10705         * libs/gst/getbits/gstgetbits_generic.c:
10706         * libs/gst/getbits/gstgetbits_i386.s:
10707         * libs/gst/getbits/gstgetbits_inl.h:
10708
10709 2005-09-14  David Schleef  <ds@schleef.org>
10710
10711         * gst/Makefile.am: Dist glib-compat.h
10712
10713 2005-09-14  David Schleef  <ds@schleef.org>
10714
10715         * configure.ac: Remove gst/registries, since it's no longer used.
10716         * gst/registries/Makefile.am:
10717         * gst/registries/gstlibxmlregistry.c:
10718         * gst/registries/gstlibxmlregistry.h:
10719         * gst/registries/gstxmlregistry.c:
10720         * gst/registries/gstxmlregistry.h:
10721         * gst/registries/registrytest.c:
10722
10723 2005-09-14  David Schleef  <ds@schleef.org>
10724
10725         * gst/glib-compat.h:
10726         * gst/gstregistryxml.c:
10727           Convergence is near.  Seriously.
10728
10729 2005-09-14  David Schleef  <ds@schleef.org>
10730
10731         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10732         * gst/glib-compat.h:
10733           Attempt #4 to appease the buildbots.
10734
10735 2005-09-14  David Schleef  <ds@schleef.org>
10736
10737         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10738           Attempt #3.
10739
10740 2005-09-14  David Schleef  <ds@schleef.org>
10741
10742         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10743         Attempt #2.
10744
10745 2005-09-14  David Schleef  <ds@schleef.org>
10746
10747         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10748           the new functions.
10749
10750 2005-09-14  David Schleef  <ds@schleef.org>
10751
10752         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10753         * gst/glib-compat.h: Add some functions that are in newer versions
10754           of glib than we care to require.
10755         * gst/gstregistryxml.c: Use them.
10756
10757 2005-09-14  David Schleef  <ds@schleef.org>
10758
10759         * po/POTFILES.in: remove gst-register.c
10760
10761 2005-09-14  David Schleef  <ds@schleef.org>
10762
10763         * docs/gst/gstreamer-docs.sgml:
10764         * docs/gst/gstreamer-sections.txt:
10765         * docs/gst/gstreamer.types:
10766         * docs/gst/tmpl/gstelement.sgml:
10767         * docs/gst/tmpl/gstplugin.sgml:
10768         * docs/gst/tmpl/gstpluginfeature.sgml:
10769           Documentation updates for registry changes.
10770
10771 2005-09-14  David Schleef  <ds@schleef.org>
10772
10773         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
10774           because we don't require glib-2.8.
10775
10776 2005-09-14  David Schleef  <ds@schleef.org>
10777
10778         * gst/gstregistryxml.c: Added.  Essentially moved out of the
10779           registries directory.
10780
10781 2005-09-14  David Schleef  <ds@schleef.org>
10782
10783         * check/Makefile.am:
10784         * check/generic/states.c:
10785         * gst/Makefile.am:
10786         * gst/gst.c:
10787         * gst/gst.h:
10788         * gst/gst_private.h:
10789         * gst/gstelementfactory.c:
10790         * gst/gstindex.c:
10791         * gst/gstinfo.c:
10792         * gst/gstplugin.c:
10793         * gst/gstplugin.h:
10794         * gst/gstpluginfeature.c:
10795         * gst/gstpluginfeature.h:
10796         * gst/gstregistry.c:
10797         * gst/gstregistry.h:
10798         * gst/gstregistrypool.c: remove
10799         * gst/gstregistrypool.h: remove
10800         * gst/gsttypefind.c:
10801         * gst/gsttypefindfactory.c:
10802         * gst/gsturi.c:
10803         * tools/Makefile.am:
10804         * tools/gst-compprep.c:
10805         * tools/gst-inspect.c:
10806         * tools/gst-register.c: remove
10807         * tools/gst-xmlinspect.c:
10808           Registry rewrite.  Changes registry from being a file created
10809           by a tool into a simple cache file created automatically by 
10810           libgstreamer.  Removed gst-register (because it's no longer
10811           needed).  Remove registry pools, because we only have one
10812           registry implementation (XML).  Fix up other subsystems as
10813           necessary.
10814
10815 2005-09-13  Michael Smith <msmith@fluendo.com>
10816
10817         * gst/gstconfig.h.in:
10818           Don't Use windows linking attributes for MinGW. Fixes #316157
10819
10820 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10821
10822         * gst/gstutils.c: (set_state_async_thread_func),
10823         (gst_element_set_state_async):
10824           Apparently people think it's better if this function doesn't
10825           try to set the state to whatever state was asked for on the first
10826           call to this function for any object.  Seriously.
10827
10828 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10829
10830         * check/gst/gstpipeline.c: (GST_START_TEST):
10831         * docs/gst/gstreamer-sections.txt:
10832         * gst/gstutils.c: (set_state_async_thread_func),
10833         (gst_element_set_state_async):
10834         * gst/gstutils.h:
10835           add a "gst_element_set_state_async" method that
10836           sets the state and starts a thread to make sure the state
10837           change completes as best as it can
10838
10839 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10840
10841         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10842           codify design+behaviour in testsuite after discussion
10843
10844 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10845
10846         * docs/gst/tmpl/gstelement.sgml:
10847         * docs/manual/appendix-quotes.xml:
10848           add a quote
10849         * gst/gstelement.c: (gst_element_set_state):
10850           add some debug
10851
10852 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
10853
10854         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10855         (gst_base_transform_prepare_output_buf),
10856         (gst_base_transform_handle_buffer):
10857         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
10858         (gst_capsfilter_prepare_buf):
10859           Remove the requirement for sub-classes to call the parent
10860           implementation of prepare_output_buffer with a wrapper function.
10861           
10862         * gst/gsttaglist.h:
10863         * gst/gsttagsetter.h:
10864           Fix #define wrapper
10865
10866 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
10867
10868         * docs/gst/gstreamer-sections.txt:
10869           more doc cleanups
10870
10871 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10872
10873         * docs/gst/gstreamer-sections.txt:
10874         * docs/gst/tmpl/gstelement.sgml:
10875         * docs/gst/tmpl/gstplugin.sgml:
10876         * gst/gstminiobject.c:
10877         * gst/gstvalue.h:
10878           docs now stop throwing warnings
10879
10880 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10881
10882         * docs/gst/gstreamer-sections.txt:
10883         * docs/gst/gstreamer.types:
10884         * docs/gst/tmpl/gstpad.sgml:
10885         * docs/gst/tmpl/gsttypes.sgml:
10886         * gst/base/gstadapter.h:
10887         * gst/base/gstbasesink.h:
10888         * gst/base/gstbasesrc.h:
10889         * gst/gstbin.h:
10890         * gst/gstbuffer.h:
10891         * gst/gstbus.h:
10892         * gst/gstcaps.h:
10893         * gst/gstclock.h:
10894         * gst/gstelement.h:
10895         * gst/gstevent.h:
10896         * gst/gstmessage.h:
10897         * gst/gstpad.h:
10898         * gst/gststructure.c:
10899         * gst/registries/gstlibxmlregistry.h:
10900           various documentation fixes
10901
10902 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10903
10904         * docs/gst/gstreamer-sections.txt:
10905         * docs/gst/tmpl/gstvalue.sgml:
10906           rearrange gstvalue section
10907         * gst/gstutils.c: (gst_element_state_get_name):
10908           NONE -> VOID
10909         * gst/gstvalue.c: (_gst_value_initialize):
10910         * gst/gstvalue.h:
10911           doc updates
10912
10913 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
10914
10915         * check/gst-libs/controller.c:
10916           Header include fix.
10917         * gst/base/gstbasetransform.c:
10918         (gst_base_transform_default_prepare_buf),
10919         (gst_base_transform_handle_buffer):
10920         * gst/base/gstbasetransform.h:
10921           Some more basetransform changes and fixes to enable sub-classes
10922           that modify buffer metadata only.
10923         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10924         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
10925         (gst_capsfilter_prepare_buf):
10926           If the output pad has fixed allowed caps and input buffers 
10927           don't have any, set the fixed caps on outgoing buffers.
10928
10929 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
10930         * check/elements/identity.c: (GST_START_TEST):
10931           Make the error a little clearer when the test fails because
10932           identity made a copy of the buffer.
10933         * docs/gst/gstreamer-sections.txt:
10934           New symbols in gstbasetransform.h
10935         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10936         (gst_base_transform_init), (gst_base_transform_transform_size),
10937         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10938         (gst_base_transform_default_prepare_buf),
10939         (gst_base_transform_get_unit_size),
10940         (gst_base_transform_buffer_alloc),
10941         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10942         (gst_base_transform_change_state),
10943         (gst_base_transform_set_passthrough),
10944         (gst_base_transform_set_in_place),
10945         (gst_base_transform_is_in_place):
10946         * gst/base/gstbasetransform.h:
10947           Change BaseTransform to separate in_place operate from same_caps
10948           output. in_place implies that the element can perform the transform
10949           on incoming buffers in-place, even if the caps on the output are
10950           different.
10951           Sub-class elements can now implement special buffer allocation
10952           methods for outgoing buffers if they wish to.
10953           Big documentation addition.
10954         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
10955         * gst/elements/gstelements.c:
10956           Changes for basetransform modifications.
10957         * gst/elements/Makefile.am:
10958         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
10959           Compile fix. Extra debug output.
10960
10961 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10962
10963         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
10964         (gst_pad_suite):
10965           add tests for valid pad naming
10966         * gst/check/gstcheck.c: (gst_check_log_message_func),
10967         (gst_check_log_critical_func):
10968           add ASSERT_WARNING
10969           remove printing of code, it is fragile when the code contains
10970           % and the line number is enough info
10971         * gst/check/gstcheck.h:
10972         * gst/gstpad.c: (gst_pad_template_new):
10973           fix memleaks
10974
10975 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10976
10977         * configure.ac:
10978           say what CHECK flags we use
10979         * docs/libs/gstreamer-libs.types:
10980         * libs/gst/controller/Makefile.am:
10981         * libs/gst/controller/gst-controller.c:
10982         * libs/gst/controller/gst-controller.h:
10983         * libs/gst/controller/gst-helper.c:
10984         * libs/gst/controller/gst-interpolation.c:
10985         * libs/gst/controller/gstcontroller.c:
10986         * libs/gst/controller/gsthelper.c:
10987         * libs/gst/controller/gstinterpolation.c:
10988         * tools/gst-inspect.c: (print_plugin_info):
10989           we don't use dashes in header names
10990
10991 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10992
10993         * check/Makefile.am:
10994         * check/gst/.cvsignore:
10995         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
10996         (gst_pipeline_suite), (main):
10997           adding a test for pipelines and state changes
10998         * gst/gstutils.c: (get_state_func):
10999           add some debugging
11000         * gstreamer.spec.in:
11001           fix up spec file
11002
11003 2005-09-08  Michael Smith <msmith@fluendo.com>
11004
11005         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11006         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11007         (gst_file_src_is_seekable), (gst_file_src_get_size),
11008         (gst_file_src_start):
11009         * gst/elements/gstfilesrc.h:
11010           Various fixes for unseekable, unmmapable, and non-normal files, so
11011           that fallback to read() rather than mmap() works.
11012         * gst/gstevent.c: (gst_event_new_newsegment):
11013           Allow newsegment events with segment_start == segment_end, as will
11014           correctly happen if you use filesrc on a zero-size file, for
11015           example.
11016
11017 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11018
11019         * gst/gstplugin.c: (gst_plugin_load_file):
11020           Call g_module_close when we don't load the module
11021
11022         * gst/registries/gstlibxmlregistry.c:
11023         (gst_xml_registry_get_property):
11024           Port leak fix from 0.8
11025
11026 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11027
11028         * docs/gst/gstreamer-docs.sgml:
11029         * docs/gst/tmpl/.cvsignore:
11030         * docs/gst/tmpl/gsttrace.sgml:
11031         * docs/gst/tmpl/gsttrashstack.sgml:
11032         * gst/Makefile.am:
11033         * gst/gst.h:
11034         * gst/gstelement.h:
11035         * gst/gstevent.h:
11036         * gst/gstmessage.c:
11037         * gst/gstmessage.h:
11038         * gst/gsttag.c:
11039         * gst/gsttag.h:
11040         * gst/gsttaginterface.c:
11041         * gst/gsttaginterface.h:
11042         * gst/gsttaglist.c:
11043         * gst/gsttaglist.h:
11044         * gst/gsttagsetter.c:
11045         * gst/gsttagsetter.h:
11046         * gst/gsttrace.c:
11047         * gst/gsttrace.h:
11048         * gst/gsttrashstack.c:
11049           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11050           inlined docs for gsttrace, gsttrashstack
11051
11052 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11053
11054         * gst/Makefile.am:
11055         * gst/elements/gstbufferstore.h:
11056         * gst/elements/gsttypefindelement.c:
11057         * gst/elements/gsttypefindelement.h:
11058         * gst/gst.h:
11059         * gst/gsttypefind.c:
11060         * gst/gsttypefind.h:
11061         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11062         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11063         (gst_type_find_factory_dispose),
11064         (gst_type_find_factory_unload_thyself),
11065         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11066         (gst_type_find_factory_get_caps),
11067         (gst_type_find_factory_get_extensions),
11068         (gst_type_find_factory_call_function):
11069         * gst/gsttypefindfactory.h:
11070         * gst/registries/gstlibxmlregistry.c:
11071         * gst/registries/gstxmlregistry.c:
11072           splitted gsttypefind into gsttypefind, gsttypefindfactory
11073
11074 2005-09-07  Andy Wingo  <wingo@pobox.com>
11075
11076         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11077         condition whereby the pad's task function is entered before the
11078         pad_mode variable was set.
11079
11080 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11081
11082         * gst/gstpad.c: (gst_pad_alloc_buffer):
11083           Catch misbehaving pad_alloc functions that don't
11084           set up caps and do it for them.
11085
11086 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11087
11088         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11089           test for pipe!=NULL
11090         * docs/gst/tmpl/.cvsignore:
11091         * docs/gst/tmpl/gstmemchunk.sgml:
11092         * docs/gst/tmpl/gstparse.sgml:
11093         * docs/gst/tmpl/gsttaglist.sgml:
11094         * docs/gst/tmpl/gsttagsetter.sgml:
11095         * docs/gst/tmpl/gsttypefind.sgml:
11096         * docs/gst/tmpl/gsttypefindfactory.sgml:
11097         * gst/gstmemchunk.c:
11098         * gst/gstparse.c:
11099         * gst/gsttag.c:
11100         * gst/gsttaginterface.c:
11101         * gst/gsttypefind.c:
11102         * gst/gsttypefind.h:
11103           inlined more docs
11104
11105 === release 0.9.2 ===
11106
11107 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11108
11109         * NEWS:
11110         * RELEASE:
11111         * configure.ac:
11112           releasing 0.9.2, "South"
11113
11114 2005-09-05  Andy Wingo  <wingo@pobox.com>
11115
11116         * gst/registries/gstxmlregistry.h:
11117         * gst/registries/gstxmlregistry.c: Um... resurrect...
11118         
11119         * gst/registries/gstxmlregistry.h:
11120         * gst/registries/gstxmlregistry.c: and update to newer API.
11121         Incidentally they should be a bit faster now that they don't have
11122         to parse the caps.
11123         
11124 2005-09-05  Andy Wingo  <wingo@pobox.com>
11125
11126         * gst/registries/gstxmlregistry.h:
11127         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11128         replaced by the libxml registry a while back
11129
11130 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11131
11132         * docs/gst/tmpl/gstplugin.sgml:
11133         * gst/elements/gstelements.c:
11134         * gst/gst.c:
11135         * gst/gstplugin.c: (gst_plugin_register_func),
11136         (gst_plugin_desc_copy), (gst_plugin_desc_free),
11137         (gst_plugin_get_source):
11138         * gst/gstplugin.h:
11139         * gst/registries/gstlibxmlregistry.c: (load_plugin),
11140         (gst_xml_registry_save_plugin):
11141         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11142         (gst_xml_registry_save_plugin):
11143         * tools/gst-inspect.c: (print_plugin_info):
11144           add a "source" plugin description field, to represent the source
11145           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
11146           will set it to PACKAGE, which is automake's idea of the name of
11147           the source project.
11148
11149 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11150
11151         * Makefile.am:
11152         * autogen.sh:
11153         * configure.ac:
11154         * docs/Makefile.am:
11155         * docs/faq/Makefile.am:
11156         * docs/gst/tmpl/gstelement.sgml:
11157         * docs/gst/tmpl/gsttypes.sgml:
11158         * docs/htmlinstall.mak:
11159         * docs/manual/Makefile.am:
11160         * docs/pwg/Makefile.am:
11161           reorganize doc build a little
11162           split out docbook and gtk-doc stuff
11163           have two separate --enable's and enable them through autogen
11164           but disable by default in configure (to be similar to other
11165           projects)
11166         * gstreamer.spec.in:
11167           clean up docs install
11168         * po/af.po:
11169         * po/az.po:
11170         * po/ca.po:
11171         * po/cs.po:
11172         * po/de.po:
11173         * po/en_GB.po:
11174         * po/fr.po:
11175         * po/it.po:
11176         * po/nb.po:
11177         * po/nl.po:
11178         * po/ru.po:
11179         * po/sq.po:
11180         * po/sr.po:
11181         * po/sv.po:
11182         * po/tr.po:
11183         * po/uk.po:
11184         * po/vi.po:
11185           translation updates
11186
11187 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11188
11189         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11190           Add comment.
11191           
11192         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11193         (gst_fake_sink_change_state):
11194           Make state change function thread-safe.
11195           
11196         * gst/gstpad.c: (gst_pad_alloc_buffer):
11197           Set offset on generic buffer allocated by fallback.
11198
11199 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
11200
11201         * docs/gst/gstreamer-sections.txt:
11202         * docs/gst/tmpl/gstelement.sgml:
11203         * gst/gstpad.c:
11204         * libs/gst/controller/gst-controller.c:
11205         (gst_controlled_property_set_interpolation_mode),
11206         (gst_controlled_property_new),
11207         (gst_controller_find_controlled_property):
11208          run the wingo-magic script against the docs
11209
11210 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11211
11212         * docs/gst/gstreamer-docs.sgml:
11213         * docs/gst/gstreamer-sections.txt:
11214         * docs/gst/tmpl/.cvsignore:
11215         * docs/gst/tmpl/gstelementdetails.sgml:
11216         * docs/gst/tmpl/gstelementfactory.sgml:
11217         * gst/gst.c:
11218         * gst/gstbus.c:
11219         * gst/gstelementfactory.c:
11220         * gst/gstelementfactory.h:
11221           merged elementdetails docs into elementfactory docs
11222           inlined both
11223
11224 2005-09-02  Andy Wingo  <wingo@pobox.com>
11225
11226         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11227         consider this enum an enum and not a flags.
11228
11229 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11230
11231         * docs/gst/gstreamer-docs.sgml:
11232         * docs/gst/tmpl/.cvsignore:
11233         * docs/gst/tmpl/gstghostpad.sgml:
11234         * docs/gst/tmpl/gstiterator.sgml:
11235         * docs/gst/tmpl/gstmacros.sgml:
11236         * docs/gst/tmpl/gstrealpad.sgml:
11237         * docs/gst/tmpl/gstregistry.sgml:
11238         * docs/gst/tmpl/gstregistrypool.sgml:
11239         * docs/gst/tmpl/gststructure.sgml:
11240         * docs/gst/tmpl/gstsystemclock.sgml:
11241         * docs/gst/tmpl/gsttrace.sgml:
11242         * gst/gstghostpad.c:
11243         * gst/gstmacros.h:
11244         * gst/gstmemchunk.c:
11245         * gst/gstmemchunk.h:
11246         * gst/gstqueue.c:
11247         * gst/gstregistry.c:
11248         * gst/gstregistrypool.c:
11249         * gst/gststructure.c:
11250         * gst/gstsystemclock.c:
11251           more docs inlined
11252
11253 2005-09-02  Andy Wingo  <wingo@pobox.com>
11254
11255         * gst/gstelement.h (GstState): Renamed from GstElementState,
11256         changed to be a normal enum instead of flags.
11257         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11258         munged to be GST_STATE_CHANGE_*.
11259         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11260         work with the new state representation.
11261         (GstStateChange): New enumeration of possible state transitions.
11262         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11263         (GstElementClass::change_state): Pass the GstStateChange along as
11264         an argument. Helps language bindings, so they don't have to use
11265         tricky lock-needing macros like GST_STATE_CHANGE ().
11266
11267         * scripts/update-states (file): New script. Run it on a file to
11268         update it for state naming and API changes. Updates files in
11269         place.
11270
11271         * All files updated for the new API.
11272
11273 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11274
11275         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11276         * gst/gstutils.c: (gst_util_set_value_from_string),
11277         (gst_util_set_object_arg):
11278           fix a bunch of unchecked return values
11279         * tools/gst-complete.c: (main):
11280         * gstreamer.spec.in:
11281           clean up a little
11282
11283 2005-09-01  Wim Taymans  <wim@fluendo.com>
11284
11285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11286         (gst_base_sink_event), (gst_base_sink_do_sync),
11287         (gst_base_sink_handle_event):
11288         * gst/base/gstbasesink.h:
11289         Handle newsegments more correctly.
11290
11291         * gst/gstbus.c:
11292         Fix docs.
11293
11294         * gst/gstevent.c: (gst_event_new_newsegment):
11295         A newsegment cannot have a start_time of -1
11296
11297 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11298
11299         * win32/gstenumtypes.c:
11300         * win32/gstenumtypes.h:
11301           Update
11302
11303 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11304
11305         * libs/gst/controller/gst-controller.c:
11306         (gst_controlled_property_set_interpolation_mode),
11307         (gst_controlled_property_new):
11308          fixed boolean again
11309
11310 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11311
11312         * docs/faq/gst-uninstalled:
11313           add -good
11314         * gst/gstevent.c:
11315         * gst/gstevent.h:
11316           remove wrong docs
11317         * gst/gstutils.c: (gst_element_link_filtered):
11318         * gst/gstutils.h:
11319           add gst_element_link_filtered
11320
11321 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11322
11323         * docs/gst/gstreamer-docs.sgml:
11324         * docs/gst/gstreamer-sections.txt:
11325         * docs/gst/tmpl/.cvsignore:
11326         * docs/gst/tmpl/gsterror.sgml:
11327         * docs/gst/tmpl/gstfilter.sgml:
11328         * docs/gst/tmpl/gsturihandler.sgml:
11329         * docs/gst/tmpl/gsturitype.sgml:
11330         * docs/gst/tmpl/gstutils.sgml:
11331         * docs/gst/tmpl/gstxml.sgml:
11332         * gst/gsterror.c:
11333         * gst/gsterror.h:
11334         * gst/gstfilter.c:
11335         * gst/gsturi.c:
11336         * gst/gsturitype.c:
11337         * gst/gstutils.c:
11338         * gst/gstxml.c:
11339           inlined more docs, fixed double id-ref
11340
11341 2005-08-31  Wim Taymans  <wim@fluendo.com>
11342
11343         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11344         (gst_base_transform_handle_buffer):
11345         Passthrough elements don't need the caps as they don't care.
11346
11347 2005-08-31  Wim Taymans  <wim@fluendo.com>
11348
11349         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11350         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11351         Don't leak refcounts on buffers.
11352
11353 2005-08-31  Wim Taymans  <wim@fluendo.com>
11354
11355         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11356         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11357         (gst_base_transform_chain), (gst_base_transform_change_state):
11358         * gst/base/gstbasetransform.h:
11359         Handle the case where we are not negotiated more gracefully.
11360
11361 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
11362
11363         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11364         (gst_file_src_map_region):
11365           Set READONLY flag on mmap'ed buffers, otherwise
11366           gst_buffer_make_writable() won't work properly (#314708).
11367
11368 2005-08-31  Wim Taymans  <wim@fluendo.com>
11369
11370         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11371         passthrough elements can even do inplace on non writable
11372         buffers (as they don't touch them).
11373
11374 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11375
11376         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11377         (gst_test_mono_source_set_property),
11378         (gst_test_mono_source_class_init), (GST_START_TEST),
11379         (gst_controller_suite):
11380           more tests (hehe I have the most)
11381         * gst/gstbus.c:
11382           describe popping messages whenusing mulltiple sources
11383         * libs/gst/controller/gst-controller.c:
11384         (gst_controlled_property_set_interpolation_mode),
11385         (gst_controlled_property_new):
11386         * libs/gst/controller/gst-controller.h:
11387         * libs/gst/controller/gst-interpolation.c:
11388           implement boolean properties
11389
11390 2005-08-31  Wim Taymans  <wim@fluendo.com>
11391
11392         * gst/gstminiobject.c: (gst_mini_object_ref):
11393         Cannot assert that the refcount has to be positive
11394         since a disposed object can be resurrected.
11395
11396 2005-08-31  Wim Taymans  <wim@fluendo.com>
11397
11398         * gst/gstpad.c: (gst_pad_init):
11399         Revert change, need to first fix badly behaving 
11400         apps.
11401
11402 2005-08-30  Wim Taymans  <wim@fluendo.com>
11403
11404         * check/elements/fakesrc.c: (setup_fakesrc):
11405         * check/elements/identity.c: (setup_identity):
11406         Activate pads before using them.
11407
11408 2005-08-30  Wim Taymans  <wim@fluendo.com>
11409
11410         * gst/base/gstadapter.c: (gst_adapter_flush):
11411         Flushing out 0 bytes is ok for this function.
11412
11413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11414         no newsegment gives a warning and sets the start/stop to 
11415         invalid.
11416
11417         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11418         (gst_base_transform_set_passthrough):
11419         Some debug info.
11420
11421         * gst/gstminiobject.c: (gst_mini_object_ref):
11422         Check refcount here too.
11423
11424         * gst/gstpad.c: (gst_pad_init):
11425         Pads are initially flushing and refusing data.
11426
11427         * gst/gstutils.c: (gst_element_link_pads_filtered):
11428         When adding a capsfilter element make sure it has the
11429         same state as the parent bin.
11430
11431 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11432
11433         * docs/gst/tmpl/.cvsignore:
11434         * docs/gst/tmpl/gstformat.sgml:
11435         * docs/gst/tmpl/gstversion.sgml:
11436         * gst/gstbus.h:
11437         * gst/gstformat.c:
11438         * gst/gstformat.h:
11439         * gst/gstversion.h.in:
11440           more docs and two more inlined
11441
11442 2005-08-30  Wim Taymans  <wim@fluendo.com>
11443
11444         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11445         Don't sync to clock.
11446
11447 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11448
11449         * docs/gst/gstreamer-sections.txt:
11450           ultral33t func10ns deserve to appear in the docs actually
11451         * docs/gst/tmpl/.cvsignore:
11452         * docs/gst/tmpl/gstcompat.sgml:
11453         * docs/gst/tmpl/gstconfig.sgml:
11454         * gst/check/gstcheck.c:
11455         * gst/gstcompat.h:
11456         * gst/gstconfig.h.in:
11457           inlined more docs
11458
11459 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11460
11461         * docs/gst/tmpl/.cvsignore:
11462         * docs/gst/tmpl/gstquery.sgml:
11463         * docs/gst/tmpl/gstutils.sgml:
11464         * gst/gstquery.c:
11465         * gst/gstquery.h:
11466           inlined and extended docs
11467
11468 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11469
11470         * check/gst-libs/controller.c: (GST_START_TEST),
11471         (gst_controller_suite):
11472           more tests
11473         * docs/gst/tmpl/gstutils.sgml:
11474         * docs/libs/gstreamer-libs-sections.txt:
11475         * docs/libs/tmpl/gstdataprotocol.sgml:
11476           include path fixes
11477         * examples/controller/audio-example.c: (main):
11478           controller example works now
11479         * gst/gstclock.h:
11480           doc fixes
11481         * tools/gst-inspect.c: (print_element_properties_info):
11482           show param spec flags
11483
11484 2005-08-29  Andy Wingo  <wingo@pobox.com>
11485
11486         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11487
11488 2005-08-28  Andy Wingo  <wingo@pobox.com>
11489
11490         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11491         as having two arguments instead of just one. Allows superclasses
11492         to access information on subclasses -- see the terrible for() loop
11493         in gtype.c:g_type_create_instance for the reason why. All callers
11494         changed.
11495
11496 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11497
11498         * docs/design/part-messages.txt:
11499           update info
11500         * docs/gst/tmpl/.cvsignore:
11501         * docs/gst/tmpl/gstcaps.sgml:
11502         * docs/gst/tmpl/gstclock.sgml:
11503         * gst/gstbus.c:
11504         * gst/gstcaps.c:
11505         * gst/gstcaps.h:
11506         * gst/gstclock.c:
11507         * gst/gstclock.h:
11508         * gst/gstmessage.c:
11509           added descriptions for bus and message
11510           inline caps and clock docs
11511
11512 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11513
11514         * gst/gstmessage.c:
11515         * gst/gstmessage.h:
11516           doc fixes
11517
11518 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11519
11520         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11521           fix div-by-zero
11522
11523 2005-08-26  Andy Wingo  <wingo@pobox.com>
11524
11525         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11526         element_set_state's return val.
11527         (test_2_elements): Add test that's been disabled for months.
11528
11529         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11530         can-activate-pull properties.
11531
11532         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11533         can-activate-pull properties. Implement is_seekable so fakesrc can
11534         operate in pull mode.
11535
11536         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11537         properties.
11538         (gst_base_sink_activate, gst_base_sink_activate_pull)
11539         (gst_base_sink_activate_push): Make activation mode choosing work.
11540         Cleanups.
11541         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11542         is right. Make pull mode work. Post an eos before pausing in pull
11543         mode.
11544         (gst_base_sink_change_state): Pay attention to the core's
11545         change_state() return val.
11546         
11547         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11548         has-getrange properties. Cleanups.
11549         
11550         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11551         has_getrange and replace with can_activate_pull and
11552         can_activate_push.
11553
11554         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11555         locking comments. Remove has_loop, has_chain and replace with
11556         can_activate_pull and can_activate_push.
11557
11558 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
11559
11560         * configure.ac:
11561         * examples/Makefile.am:
11562         * examples/metadata/Makefile.am:
11563         * examples/metadata/read-metadata.c: (message_loop),
11564         (have_pad_handler), (make_pipeline), (print_tag), (main):
11565           Add metadata reading example that loops over a list of filenames,
11566           dumping any tags found.
11567
11568         * gst/gstbus.c: (gst_bus_dispose):
11569         * gst/gstelement.c: (gst_element_dispose):
11570           Release a few potentially-held references in dispose.
11571
11572 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11573
11574         * docs/gst/tmpl/gstminiobject.sgml:
11575           do *not* add tmpl/*.sgml files to CVS!
11576
11577 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11578
11579         * libs/gst/bytestream/.cvsignore:
11580         * libs/gst/bytestream/Makefile.am:
11581         * libs/gst/bytestream/adapter.c:
11582         * libs/gst/bytestream/adapter.h:
11583         * libs/gst/bytestream/bytestream.c:
11584         * libs/gst/bytestream/bytestream.h:
11585         * libs/gst/bytestream/filepad.c:
11586         * libs/gst/bytestream/filepad.h:
11587           removing obsolete files
11588
11589 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11590
11591         * docs/gst/gstreamer-docs.sgml:
11592         * docs/libs/gstreamer-libs-docs.sgml:
11593           disabed additional index entries again, as this makes docs-gen just
11594           slow and they aren't useful yet
11595         * docs/libs/gstreamer-libs-sections.txt:
11596           little -section.txt cleanup for libs
11597
11598 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
11599
11600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11601         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11602           fix up some debugging
11603         (gst_base_transform_get_unit_size),
11604         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11605         (gst_base_transform_handle_buffer):
11606         * gst/base/gstbasetransform.h:
11607           handle and store timed NEWSEGMENT events so that subclasses that
11608           calculate time by counting samples have a segment_start time they
11609           need to add to their timestamps - see audioresample
11610
11611 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11612
11613         * gst/gstbin.h:
11614           removed ';' from the end of macro defs
11615         * docs/gst/gstreamer-docs.sgml:
11616         * docs/gst/gstreamer-sections.txt:
11617         * docs/gst/tmpl/.cvsignore:
11618         * gst/gstbus.h:
11619         * gst/gstelement.c: (gst_element_class_init),
11620         (gst_element_set_state), (activate_pads),
11621         (gst_element_save_thyself):
11622         * gst/gstevent.c: (gst_event_new_newsegment):
11623         * gst/gstevent.h:
11624         * gst/gstiterator.c:
11625         * gst/gstiterator.h:
11626         * gst/gstpad.c:
11627         * gst/gstprobe.h:
11628         * gst/gstutils.c: (gst_pad_query_convert):
11629         * gst/gstutils.h:
11630           fixed parameter name mismatches between source, header and docs
11631           added some more docs, resolved the last batch of unused elements in
11632           docs (now someone needs to doc them)
11633
11634 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11637         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11638           don't walk through the plugins backwards.  Where is all this
11639           reversed logic coming from ?
11640
11641 2005-08-25  Wim Taymans  <wim@fluendo.com>
11642
11643         * gst/base/gstbasetransform.c: (gst_base_transform_init),
11644         (gst_base_transform_transform_size),
11645         (gst_base_transform_configure_caps),
11646         (gst_base_transform_get_unit_size),
11647         (gst_base_transform_buffer_alloc),
11648         (gst_base_transform_change_state):
11649         * gst/base/gstbasetransform.h:
11650         Cache caps unit_size.
11651         Make sure we cannot negotiate up and downstream at the
11652         same time.
11653
11654 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11655
11656         * gst/gst.c: (init_pre), (init_post):
11657           register the installed plugin path after the env var
11658         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11659         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11660           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11661           directories, so the tests can prefer uninstalled over installed
11662
11663 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11664
11665         * gst/base/gstbasetransform.h:
11666           comment
11667         * gst/gstpad.c:
11668           add to docs
11669
11670 2005-08-25  Wim Taymans  <wim@fluendo.com>
11671
11672         * gst/gstbin.c: (bin_bus_handler):
11673         Be a bit more conservative about the posted message.
11674         
11675         * gst/gstbus.c: (gst_bus_post):
11676         Some cleanups, warn wrong return values.
11677
11678 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
11679
11680         * check/gst/gstbin.c: (GST_START_TEST):
11681         * gst/gstbin.c: (bin_bus_handler):
11682         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11683         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11684         (gst_message_new_warning), (gst_message_new_tag),
11685         (gst_message_new_state_changed), (gst_message_new_segment_start),
11686         (gst_message_new_segment_done), (gst_message_new_custom):
11687         * gst/gstmessage.h:
11688         * tools/gst-launch.c: (event_loop):
11689         * tools/gst-md5sum.c: (event_loop):
11690           Revert unpopular change for GST_MESSAGE_SRC to GObject.
11691
11692 2005-08-25  Wim Taymans  <wim@fluendo.com>
11693
11694         * check/generic/states.c: (GST_START_TEST):
11695         Cleanup can be done at the end.
11696
11697         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
11698         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11699         (gst_task_get_state), (gst_task_start), (gst_task_pause):
11700         Oh boy.. Thanks for finding this, Thomas. 
11701
11702 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
11703
11704         * docs/gst/gstreamer.types:
11705           added missing types
11706
11707 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
11708
11709         * docs/gst/gstreamer-docs.sgml:
11710         * docs/gst/gstreamer-sections.txt:
11711         * docs/gst/tmpl/.cvsignore:
11712         * gst/gstbin.c:
11713         * gst/gstiterator.c:
11714         * gst/gstutils.c:
11715         * gst/registries/gstxmlregistry.h:
11716           added missing classes and symbols (123 more to go)
11717           removed removed symbols from section file
11718           fixed many doc-comments
11719
11720 2005-08-24  Wim Taymans  <wim@fluendo.com>
11721
11722         * check/generic/states.c: (GST_START_TEST):
11723         Make sure all tasks are stopped.
11724
11725         * check/gst/gstbin.c: (GST_START_TEST):
11726         Unref after usage for proper valgrinding.
11727
11728         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11729         Really wait for the task to stop before destroying the
11730         mutex.
11731
11732         * gst/gstqueue.c: (gst_queue_sink_activate_push),
11733         (gst_queue_src_activate_push):
11734         Small cleanups. Don't stop the task when we did not start
11735         it.
11736
11737         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11738         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11739         (gst_task_get_state), (gst_task_start), (gst_task_pause),
11740         (gst_task_join):
11741         * gst/gsttask.h:
11742         Protect the stream lock with the object lock.
11743         Disallow setting the stream lock when running.
11744         Add cleanup_all to wait for the threadpool to finish.
11745         Remove code to autoallocate a mutex if none was provided.
11746         Add _join() to wait for a task to stop.
11747         Protect the thread pool with a global lock.
11748
11749 2005-08-24  Wim Taymans  <wim@fluendo.com>
11750
11751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11752         (gst_base_sink_get_times), (gst_base_sink_do_sync),
11753         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11754         * gst/base/gstbasesink.h:
11755         Handle newsegment events correctly.
11756         Drop buffers out of the segment range.
11757
11758 2005-08-22  Andy Wingo  <wingo@pobox.com>
11759
11760         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11761         macro, implements an interface and gstimplementsinterface for a
11762         new type.
11763
11764 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11765
11766         * check/Makefile.am:
11767         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
11768           add a test that does a bunch of state changes on elements
11769           needs some fixing for valgrind
11770         * check/states/sinks.c: (gst_object_suite):
11771           whitespace
11772         * gst/gstcaps.h:
11773           add prototype for gst_caps_is_equal_fixed
11774         * gst/gstplugin.c:
11775         * gst/gstregistrypool.c:
11776           doc fixes
11777
11778 2005-08-24  Andy Wingo  <wingo@pobox.com>
11779
11780         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
11781         convert a negative value. Doesn't make much sense. Mostly this is
11782         here to force callers to ensure -1 maps to -1.
11783
11784 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
11785
11786         * docs/pwg/advanced-types.xml:
11787           Well done to Michael for catching my deliberate introduction
11788           of this spelling mistake. 
11789         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
11790         * gst/gstelement.h:
11791           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
11792           unlink pads before removing the element from the bin.
11793
11794 2005-08-24  Andy Wingo  <wingo@pobox.com>
11795
11796         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
11797         the same thing as GST_DEBUG=*:4.
11798         (parse_debug_level, parse_debug_category): New helper parsers.
11799
11800 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11801
11802         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11803         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
11804         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
11805         (gst_base_transform_buffer_alloc),
11806         (gst_base_transform_handle_buffer):
11807           use gboolean return values and pointers to size so we can use the
11808           full GST_BUFFER_SIZE range (guint) for buffer sizes
11809           use GstPadDirection for transform_caps
11810         * gst/base/gstbasetransform.h:
11811           rename get_size to get_unit_size since that's what it is
11812         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
11813           use GstPadDirection for transform_caps
11814         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11815         * gst/gstutils.h:
11816           cleanup and debugging
11817
11818 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
11819
11820         * gst/gstelement.c: (gst_element_class_init),
11821         (gst_element_set_state), (activate_pads),
11822         (gst_element_save_thyself):
11823         * tools/gst-compprep.c: (main):
11824         * tools/gst-inspect.c: (print_element_properties_info):
11825         * tools/gst-xmlinspect.c: (print_element_properties):
11826           Fixed long standing mem-leak
11827
11828 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
11829
11830         * check/gst/gstbin.c: (GST_START_TEST):
11831         * gst/gstbin.c: (bin_bus_handler):
11832         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11833         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11834         (gst_message_new_warning), (gst_message_new_tag),
11835         (gst_message_new_state_changed), (gst_message_new_segment_start),
11836         (gst_message_new_segment_done), (gst_message_new_custom):
11837         * gst/gstmessage.h:
11838         * tools/gst-launch.c: (event_loop):
11839         * tools/gst-md5sum.c: (event_loop):
11840           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
11841           that applications can sensibly post custom messages with references
11842           to their own objects.
11843
11844 2005-08-24  Andy Wingo  <wingo@pobox.com>
11845
11846         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
11847         already.
11848
11849 2005-08-24  Wim Taymans  <wim@fluendo.com>
11850
11851         * gst/base/gstbasetransform.c: (gst_base_transform_init),
11852         (gst_base_transform_transform_caps),
11853         (gst_base_transform_transform_size),
11854         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11855         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11856         (gst_base_transform_handle_buffer):
11857         * gst/base/gstbasetransform.h:
11858         Many fixes and new features added by Thomas. Can now also do
11859         transforms with variable sizes and a custom fixate_caps function.
11860
11861 2005-08-24  Wim Taymans  <wim@fluendo.com>
11862
11863         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11864         Some debugging.
11865
11866         * gst/gstclock.h:
11867         Cast to ClockTime before formatting to time.
11868
11869         * gst/gstutils.h:
11870         Cleanups.
11871
11872 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
11873
11874         * check/gst-libs/controller.c: (GST_START_TEST),
11875         (gst_controller_suite):
11876         * docs/gst/tmpl/gstcaps.sgml:
11877         * docs/gst/tmpl/gstghostpad.sgml:
11878         * docs/gst/tmpl/gstquery.sgml:
11879         * docs/gst/tmpl/gstutils.sgml:
11880         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
11881         (gst_object_sink_values), (gst_object_get_value_arrays),
11882         (gst_object_get_value_array):
11883           gracefully handle helper method calls to objects that are not beeing
11884           controlled, added test case for that          
11885
11886 2005-08-23  Wim Taymans  <wim@fluendo.com>
11887
11888         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
11889         (gst_event_new_newsegment), (gst_event_parse_newsegment),
11890         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
11891         (gst_event_parse_qos), (gst_event_new_seek),
11892         (gst_event_parse_seek):
11893         * gst/gstevent.h:
11894         Some more debugging output and doc cleanups.
11895
11896         * gst/gstqueue.c: (gst_queue_handle_sink_event):
11897         Fix possible deadlock.
11898
11899 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
11900
11901         * docs/gst/gstreamer-docs.sgml:
11902         * docs/gst/gstreamer-sections.txt:
11903         * docs/gst/gstreamer.types:
11904         * docs/gst/tmpl/.cvsignore:
11905         * gst/gstbin.h:
11906         * gst/gstbus.c:
11907         * gst/gstelement.c:
11908         * gst/gstevent.h:
11909           added 100 symbols from gstreamer-unused.txt to the right sections
11910           fixed more broken comments
11911           added GstBus to docs
11912
11913 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
11914
11915         * docs/gst/gstreamer-sections.txt:
11916         * docs/gst/tmpl/.cvsignore:
11917         * docs/gst/tmpl/gstbin.sgml:
11918         * docs/gst/tmpl/gstbuffer.sgml:
11919         * gst/base/gstbasesrc.c:
11920         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
11921         * gst/gstbuffer.c:
11922         * gst/gstbuffer.h:
11923         * tools/gst-launch.1.in:
11924           inlined more doc comments, added missing comments and fixed comments
11925           fixed typos
11926
11927 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11928
11929         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11930           some debugging
11931         * gst/gstcaps.h:
11932           whitespace fixes
11933         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
11934           more debugging
11935         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
11936         * gst/gststructure.h:
11937           add a fixate function for booleans; add a FIXME that these func
11938           names should probably be gst_structure_fixate_*
11939
11940 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
11941
11942         * docs/gst/gstreamer-docs.sgml:
11943         * docs/gst/gstreamer-sections.txt:
11944         * gst/Makefile.am:
11945         * gst/gstbin.c: (gst_bin_get_type),
11946         (gst_bin_child_proxy_get_child_by_index),
11947         (gst_bin_child_proxy_get_children_count),
11948         (gst_bin_child_proxy_init):
11949         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11950         (gst_child_proxy_get_child_by_index),
11951         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
11952         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
11953         (gst_child_proxy_get), (gst_child_proxy_set_property),
11954         (gst_child_proxy_set_valist), (gst_child_proxy_set),
11955         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
11956         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
11957         * gst/gstchildproxy.h:
11958         * gst/parse/grammar.y:
11959         * tools/gst-inspect.c: (print_interfaces),
11960         (print_element_properties_info), (print_element_info):
11961           ported gstchildproxy over from 0.8
11962           ported gst-inspect fixes and enhancements over from 0.8
11963
11964 2005-08-22  Wim Taymans  <wim@fluendo.com>
11965
11966         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11967         (gst_base_transform_handle_buffer):
11968         Also call the transform function if we have ANY caps.
11969
11970         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
11971         Fix debug info.
11972
11973 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
11974
11975         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
11976           Don't pretend to handle seek events if the source is not seekable
11977
11978 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
11979
11980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11981           Remove extra parameter to debug output
11982
11983         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11984         (gst_base_src_do_seek), (gst_base_src_activate_push):
11985           Fix seek event handling.
11986
11987         * gst/gstpipeline.c: (gst_pipeline_change_state):
11988         * gst/gstqueue.c: (gst_queue_handle_sink_event),
11989         (gst_queue_src_activate_push):
11990           Don't start the src pad task on FLUSH_STOP if the pad
11991           isn't linked.
11992           Debug changes.
11993
11994 2005-08-22  Wim Taymans  <wim@fluendo.com>
11995
11996         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11997         Added check for gst_static_caps_get() refcounting.
11998
11999 2005-08-22  Wim Taymans  <wim@fluendo.com>
12000
12001         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12002         Make _static_caps_get() refcounting sane.
12003         
12004         * gst/gstelement.c: (gst_element_set_state):
12005         Add g_return_val_if_fail() to protect against segfaults.
12006
12007 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
12008
12009         * docs/gst/tmpl/gstevent.sgml:
12010         * gst/gstevent.c:
12011         * gst/gstevent.h:
12012           inlined remaining docs, added missing doc comments
12013
12014 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12015
12016         * check/gst/gstbin.c: (GST_START_TEST):
12017           since we don't know when preroll is done, use refcount range
12018           check for the sink
12019         * gst/check/gstcheck.h:
12020           add macro for checking refcount range
12021
12022 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12023
12024         * check/Makefile.am:
12025           clean up environment for when registry gets built versus
12026           when actual tests are run; valgrind seems to not report
12027           leaks if GST_PLUGIN_PATH is set to some specific values
12028         * check/gst/gstbin.c: (GST_START_TEST):
12029           add more refcounting checks; maybe this exposes a
12030           preroll lock bug ?
12031         * common/check.mak:
12032         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12033         * gst/check/gstcheck.h:
12034         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12035         (gst_bin_change_state):
12036         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12037           add/fix debugging/whitespace
12038
12039 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12040
12041         * check/gst/gstevent.c: (event_probe), (test_event),
12042         (GST_START_TEST):
12043          Er, don't call gst_bin_watch_for_state_change you idiot.
12044
12045 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12046
12047         * check/Makefile.am:
12048           Use CHECK_CFLAGS and CHECK_LIBS
12049         * check/gst/gstevent.c: (event_probe), (test_event),
12050         (GST_START_TEST):
12051           Don't leak events.
12052         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12053         (gst_base_src_start), (gst_base_src_stop),
12054         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12055         (gst_base_src_change_state):
12056           Sprinkle gst_base_src_stop liberally around error paths to fix
12057           problems reusing a source after failed state changes.
12058         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12059         (helper_find_suggest), (gst_type_find_helper):
12060           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12061         * gst/gstevent.h:
12062         * docs/gst/tmpl/gstevent.sgml:
12063           Migrate part of the docs from the SGML file. Wait for ensonic to
12064           tell me how I did it wrong ;)
12065         * tools/gst-typefind.c: (main):
12066           Extra robustness to state changes between files.
12067
12068 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12069
12070         * check/Makefile.am:
12071           don't valgrind the controller test - it's leaking - Stefan, HELP
12072         * gst/check/gstcheck.c: (gst_check_message_error),
12073         (gst_check_chain_func), (gst_check_setup_element),
12074         (gst_check_teardown_element), (gst_check_setup_src_pad),
12075         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12076         (gst_check_teardown_sink_pad):
12077         * gst/check/gstcheck.h:
12078           add a bunch of methods to set up elements, and src and sink pads
12079         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12080         * check/elements/identity.c: (setup_identity), (cleanup_identity),
12081         (GST_START_TEST):
12082           use them
12083         * gst/gstmessage.c:
12084         * gst/gsttag.h:
12085           whitespace/doc fixes
12086
12087 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12088
12089         * gst/gstelement.h:
12090           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12091           be handled by the application and not always printed as well
12092
12093 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12094
12095         * check/Makefile.am:
12096           set GST_TOOLS_DIR
12097         * gst/check/gstcheck.c: (gst_check_message_error):
12098         * gst/check/gstcheck.h:
12099           add a fail_unless_equals_int
12100           add fail_unless for error messages
12101
12102 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12103
12104         * check/Makefile.am:
12105         * check/gst.supp:
12106         * common/Makefile.am:
12107         * common/check.mak:
12108         * common/gst.supp:
12109           factor out some of the common stuff so we can use it
12110
12111 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12112
12113         * check/Makefile.am:
12114         * check/gst/gstiterator.c: (GST_START_TEST):
12115         * check/gst/gstsystemclock.c: (GST_START_TEST),
12116         (gst_systemclock_suite):
12117         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12118         * gst/gstclock.c:
12119           valgrind more tests
12120
12121 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12122
12123         * check/elements/.cvsignore:
12124         * check/elements/gstfakesrc.c:
12125           rename to name of element
12126         * check/elements/identity.c: (chain_func), (event_func),
12127         (setup_identity), (cleanup_identity), (GST_START_TEST),
12128         (identity_suite), (main):
12129           add a test for identity
12130         * check/Makefile.am:
12131         * pkgconfig/Makefile.am:
12132         * pkgconfig/gstreamer-check.pc.in:
12133         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12134         * gst/check:
12135         * gst/Makefile.am:
12136         * configure.ac:
12137           move the check stuff to a library that gets installed
12138         * check/gst-libs/controller.c: (GST_START_TEST):
12139         * check/gst-libs/gdp.c:
12140         * check/gst/gst.c: (GST_START_TEST):
12141         * check/gst/gstbin.c:
12142         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12143         * check/gst/gstbus.c:
12144         * check/gst/gstcaps.c: (GST_START_TEST):
12145         * check/gst/gstelement.c:
12146         * check/gst/gstghostpad.c:
12147         * check/gst/gstiterator.c:
12148         * check/gst/gstmessage.c:
12149         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12150         * check/gst/gstobject.c:
12151         * check/gst/gstpad.c: (GST_START_TEST):
12152         * check/gst/gststructure.c: (GST_START_TEST):
12153         * check/gst/gstsystemclock.c: (GST_START_TEST),
12154         (gst_systemclock_suite):
12155         * check/gst/gsttag.c: (gst_tag_suite):
12156         * check/gst/gstvalue.c:
12157         * check/pipelines/cleanup.c:
12158         * check/pipelines/simple_launch_lines.c:
12159         * check/states/sinks.c:
12160           change include statement
12161
12162         * docs/gst/gstreamer-sections.txt:
12163         * docs/gst/tmpl/gstpad.sgml:
12164           document more pad stuff
12165         * gst/gstminiobject.c: (gst_mini_object_ref),
12166         (gst_mini_object_unref):
12167           debug refcounting
12168
12169 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
12170
12171         * docs/gst/tmpl/gst.sgml:
12172         * gst/gst.c:
12173           eliminate another tmpl file, fix spelling in the long-description
12174
12175 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12176
12177         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12178         (test_event), (timediff), (gstevents_suite):
12179           Should fix build on 64-bit arch's
12180
12181 2005-08-18  Andy Wingo  <wingo@pobox.com>
12182
12183         Make sure that when a pipeline goes to PLAYING, that data has
12184         actually hit the sink.
12185
12186         * check/states/sinks.c (test_sink): A sink that doesn't get any
12187         data shouldn't return SUCCESS for going to either PLAYING or
12188         PAUSED. Test also the return values on the way back down.
12189
12190         * gst/gstelement.c (gst_element_set_state): When changing the
12191         state of an element currently changing state asynchronously, go to
12192         lost-state after commiting the pending state. Makes future calls
12193         to get_state continue to return ASYNC.
12194
12195         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12196         ASYNC when going to PLAYING if we still don't have preroll, as can
12197         happen with live sources.
12198
12199 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12200
12201         * docs/pwg/advanced-types.xml:
12202           Hack long paragraph into 2 chunks as a workaround for buggy
12203           jadetex version in sid and breezy that loops infinitely and
12204           eats all RAM.
12205
12206 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12207
12208         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12209         (test_event), (timediff), (gstevents_suite):
12210           Provide more error margin in clock measurements to allow for 
12211           g_get_current_time inaccuracies.
12212
12213 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12214
12215         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12216         (test_event), (timediff), (gstevents_suite):
12217            Fix error message output so I might be able to tell why the
12218            test works here but fails on the build farm.
12219
12220 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12221
12222         * check/Makefile.am:
12223         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12224         (test_event), (timediff), (gstevents_suite), (main):
12225           I wrote a test!
12226
12227         * docs/design/part-seeking.txt:
12228           Spelling correction
12229
12230         * docs/gst/tmpl/gstevent.sgml:
12231         * docs/gst/tmpl/gstfakesrc.sgml:
12232           Docs updates.
12233
12234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12235           Treat a buffer-without-newsegment the same as a receiving 
12236           a newsegment not in time format, and disable syncing to the clock
12237           with a warning.
12238
12239         * gst/gstbus.c: (gst_bus_set_sync_handler):
12240           Assert if anyone tries to replace the existing sync_handler for bus, 
12241           as only the owner should be setting it.
12242
12243         * gst/gstevent.h:
12244           Have a fixed set of custom event enums with events identified by
12245           their structure name (as in 0.8), rather than a free-for-all
12246           allowing collisions between enum values from different plugins.
12247
12248         * gst/gstpad.c: (gst_pad_class_init):
12249           Docs change.
12250           
12251         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12252           Handle out-of-band downstream events from the sending thread.
12253
12254 2005-08-17  Andy Wingo  <wingo@pobox.com>
12255
12256         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12257         play-timeout==0 to mean no timeout at all. In that case, don't
12258         bother with a get_state or a warning, just return directly, even
12259         if it's ASYNC.
12260
12261         * gst/base/gstbasetransform.c: Debug changes.
12262
12263         * gst/gstutils.h:
12264         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12265         ensure bins post state change messages. A bit of a hack but I can't
12266         think of a way to avoid it.
12267
12268         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12269
12270 2005-08-16  Andy Wingo  <wingo@pobox.com>
12271
12272         * gst/base/gstadapter.h:
12273         * gst/base/gstadapter.c (gst_adapter_take): New function, like
12274         peek() but you own the data. Not terribly efficient atm.
12275
12276 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12277
12278         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12279         (gst_element_found_tags):
12280         * gst/gstutils.h:
12281           Add two utility functions for tag handling.
12282
12283 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12284
12285         * docs/manual/advanced-dataaccess.xml:
12286         * docs/manual/basics-helloworld.xml:
12287           Fix docs to use _bin_add() before _link(), which fixes the examples
12288           with recent core versions (reported by Madhan Raj M
12289           <raj_madan@rediffmail.com>, #313199).
12290
12291 2005-08-16  Wim Taymans  <wim@fluendo.com>
12292
12293         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12294         Added subtract checks.
12295
12296         * docs/design/part-events.txt:
12297         Some more docs about newsegment
12298
12299         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12300         Fix FIXME
12301
12302         * gst/gstcaps.c: (gst_caps_to_string):
12303         Add comments, cleanups.
12304         
12305         * gst/gstelement.c: (gst_element_save_thyself):
12306         cleanups
12307         
12308         * gst/gstvalue.c: (gst_value_collect_int_range),
12309         (gst_string_unwrap), (gst_value_union_int_int_range),
12310         (gst_value_union_int_range_int_range),
12311         (gst_value_intersect_int_int_range),
12312         (gst_value_intersect_int_range_int_range),
12313         (gst_value_intersect_double_double_range),
12314         (gst_value_intersect_double_range_double_range),
12315         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12316         (gst_value_subtract_int_range_int),
12317         (gst_value_subtract_double_range_double),
12318         (gst_value_subtract_double_range_double_range),
12319         (gst_value_subtract_from_list), (gst_value_subtract_list),
12320         (gst_value_can_compare), (gst_value_compare_fraction):
12321         Cleanups, add comments, remove unneeded asserts.
12322
12323 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12324
12325         * tools/gst-launch.c: (event_loop):
12326           don't convert NULL structures to strings
12327
12328 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
12329
12330         * docs/gst/gstreamer-sections.txt:
12331           made some defines private
12332         * docs/gst/tmpl/gstconfig.sgml:
12333         * docs/gst/tmpl/gstqueue.sgml:
12334         * docs/gst/tmpl/gsttaglist.sgml:
12335         * docs/gst/tmpl/gsttypes.sgml:
12336         * docs/gst/tmpl/gstutils.sgml:
12337         * docs/pwg/appendix-porting.xml:
12338         * gst/base/gstbasesink.h:
12339         * gst/base/gstbasesrc.c:
12340         * gst/base/gstbasesrc.h:
12341         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12342         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12343         * gst/gstelement.c: (gst_element_class_init):
12344         * gst/gstpad.c: (gst_pad_class_init):
12345         * gst/gstqueue.c: (gst_queue_class_init):
12346         * gst/gstxml.c: (gst_xml_class_init):
12347           documented all undocumented signal inline
12348         * libs/gst/controller/gst-controller.h:
12349           added padding
12350
12351 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12352
12353         * docs/pwg/appendix-porting.xml:
12354           Document _set_link_function -> _set_setcaps_function.
12355
12356 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12357
12358         * check/Makefile.am:
12359           add a .check target for running the check
12360         * check/gst-libs/controller.c: (GST_START_TEST):
12361           cosmetic fixups
12362         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12363           complete checks for gstbuffer; would be nice if I could get the
12364           gcov stuff to work so I can see if I actually completed gstbuffer.c
12365         * check/gstcheck.h:
12366           add ASSERT_BUFFER_REFCOUNT
12367
12368 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
12369
12370         * docs/gst/gstreamer-sections.txt:
12371         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12372         * gst/gsttag.h:
12373           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12374           spew out a warning if a tag that is already registered
12375           is re-registered, unless it is re-registered with a 
12376           different type (#308438).
12377
12378 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
12379
12380         * docs/pwg/appendix-porting.xml:
12381         * docs/pwg/building-state.xml:
12382           Add some paragraphs about state changes in 0.9 to the PWG
12383           and the porting guide, in particular about the new meaning
12384           of GST_STATE_PAUSED and how to write state change functions
12385           with concurrent access by multiple threads in mind.
12386
12387 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
12388
12389         * docs/gst/gstreamer-docs.sgml:
12390         * docs/libs/gstreamer-libs-docs.sgml:
12391           added deprecation and since indexes
12392         * libs/gst/controller/gst-controller.c:
12393         * libs/gst/controller/gst-helper.c:
12394           added since tags
12395
12396
12397 2005-08-11  Wim Taymans  <wim@fluendo.com>
12398
12399         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12400         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12401         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12402         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12403         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12404         (gst_ghost_pad_set_target):
12405         Actually implement (re)setting the target on a ghostpad
12406         as described in the docs.
12407
12408 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
12409
12410         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12411           Check whether GST_DEBUG_NO_COLOR environment variable is
12412           set and disable coloured debug output if that is the case.
12413
12414 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
12415
12416         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12417         (gst_type_find_helper):
12418           The memory returned by gst_type_find_peek() needs to
12419           stay valid until the end of a typefind function, and
12420           typefind functions may keep results from different 
12421           offsets around, so we can't just unref the buffer from
12422           the previous _peek(), but have to save all buffers 
12423           returned by _peek() until typefinding is done and only
12424           free them then.
12425
12426 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * docs/gst/gstreamer-sections.txt:
12429         * gst/gstutils.h:
12430           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12431
12432 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12433
12434         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12435           Fix a pretty good memleak.
12436
12437 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12438
12439         * gst/gstiterator.h:
12440           Fix wrong include and 'make distcheck'.
12441
12442 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12443
12444         * gst/gstbin.c: (bin_bus_handler):
12445           Use gst_element_post_message() instead.
12446
12447 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12448
12449         * gst/base/gstadapter.h:
12450         * gst/base/gstbasesink.h:
12451         * gst/base/gstbasesrc.h:
12452         * gst/base/gstbasetransform.h:
12453         * gst/base/gstcollectpads.h:
12454         * gst/base/gstpushsrc.h:
12455         * gst/gstiterator.h:
12456           Add padding to our base elements' class and instance structs and
12457           to GstIterator (you will need to rebuild all plugins and apps!)
12458
12459 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12460
12461         * gst/gstbin.c: (bin_bus_handler):
12462           Make default message forwarding from child->bus to bin->bus
12463           threadsafe and make it not emit warnings if the parent has no bus.
12464
12465 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12466
12467         * gst/gstelement.c: (activate_pads):
12468           On paused->ready, set pad->caps to NULL, as is the documented
12469           behaviour in this state change. Fixes playback of series of
12470           media files when visualization is enabled in Totem.
12471
12472 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12473
12474         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12475           Allow NULL as filter-caps (which means "any").
12476
12477 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12478
12479         * docs/libs/gstreamer-libs-sections.txt:
12480         * libs/gst/controller/gst-controller.c:
12481         * libs/gst/controller/gst-controller.h:
12482         * libs/gst/controller/gst-helper.c:
12483           adding more entries to the docs and fix small doc-bugs
12484
12485 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12486
12487         * docs/gst/gstreamer-docs.sgml:
12488         * docs/gst/gstreamer-sections.txt:
12489         * docs/gst/gstreamer.types:
12490         * docs/gst/tmpl/gstbasesink.sgml:
12491         * docs/gst/tmpl/gstbasesrc.sgml:
12492         * docs/gst/tmpl/gstbasetransform.sgml:
12493         * docs/gst/tmpl/gstfakesrc.sgml:
12494         * gst/base/gstcollectpads.c:
12495         * gst/base/gstcollectpads.h:
12496         * libs/gst/controller/gst-controller.c:
12497         * libs/gst/controller/gst-controller.h:
12498         * libs/gst/controller/gst-helper.c:
12499         * libs/gst/controller/gst-interpolation.c:
12500         * libs/gst/controller/lib.c:
12501           added long/short desc for controller docs
12502           added collectpads base class docs
12503           added correct includes to base-class docs
12504
12505 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12506
12507         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12508         (gst_test_mono_source_set_property),
12509         (gst_test_mono_source_class_init), (GST_START_TEST),
12510         (gst_controller_suite):
12511         * docs/gst/gstreamer-docs.sgml:
12512         * docs/gst/gstreamer-sections.txt:
12513         * docs/gst/gstreamer.types:
12514         * docs/libs/gstreamer-libs-docs.sgml:
12515         * docs/libs/gstreamer-libs-sections.txt:
12516         * gst/base/gstadapter.c:
12517         * libs/gst/controller/gst-controller.c:
12518         (gst_controlled_property_new), (gst_controlled_property_free),
12519         (gst_controller_new_valist),
12520         (gst_controller_remove_properties_valist),
12521         (gst_controller_sink_values), (_gst_controller_finalize):
12522         * libs/gst/controller/gst-controller.h:
12523         * libs/gst/controller/gst-helper.c:
12524         (gst_object_control_properties), (gst_object_uncontrol_properties),
12525         (gst_object_get_controller), (gst_object_set_controller),
12526         (gst_object_sink_values), (gst_object_get_value_arrays),
12527         (gst_object_get_value_array):
12528           more tests (and fixes) for the controller
12529           more docs for the controller
12530           integrated companies docs for the adapter 
12531
12532 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12533
12534         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12535         (GST_START_TEST), (fakesrc_suite):
12536           add tests for sizetype
12537
12538 2005-08-04  Andy Wingo  <wingo@pobox.com>
12539
12540         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12541         fixes buffer_alloc proxying among other things.
12542
12543         * gst/base/gstbasetransform.c:
12544         * gst/base/gstbasetransform.h:
12545         Revert patch to gstbasetransform from 7-28 removing
12546         delay_configure.
12547
12548         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12549         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12550         Semantics changed, should return not the size of the output buffer
12551         but the byte size of a buffer with a given caps.
12552
12553         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12554         debug object.
12555         (gst_base_transform_configure_caps): Don't set out_size here: (in,
12556         out) are not the pad caps until setcaps finishes.
12557         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12558         not-in-place case as well. Deal with changing from in-place to
12559         not-in-place within calling pad_alloc_buffer. Still a bit
12560         concerned about the overhead here...
12561
12562 2005-08-03  Andy Wingo  <wingo@pobox.com>
12563
12564         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12565         fixating is an error.
12566
12567 2005-08-04  Edward Hervey  <edward@fluendo.com>
12568
12569         * gst/base/gstadapter.h: 
12570         Added gst_adapter_get_type() to the header
12571
12572 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12573
12574         * check/Makefile.am:
12575         * check/gst-libs/controller.c:
12576         * libs/gst/controller/gst-controller.c:
12577         (gst_controller_new_valist):
12578           added check test suite for the controller
12579         * gst/base/gstpushsrc.c:
12580           fixed a doc typo
12581
12582 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12583
12584         * docs/gst/Makefile.am:
12585         * docs/gst/gstreamer-docs.sgml:
12586         * docs/gst/gstreamer-sections.txt:
12587         * docs/gst/gstreamer.types:
12588         * docs/gst/tmpl/gstfakesrc.sgml:
12589         * gst/base/README:
12590         * gst/base/gstbasesink.c:
12591         * gst/base/gstbasesink.h:
12592         * gst/base/gstbasesrc.c:
12593         * gst/base/gstbasesrc.h:
12594         * gst/base/gstbasetransform.c:
12595         * gst/base/gstpushsrc.c:
12596         * gst/base/gstpushsrc.h:
12597           add short/long description docs to base classes
12598           add pushsrc to the docs
12599           remove consolidated doc fragments
12600
12601 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12602
12603         * configure.ac:
12604         * docs/libs/Makefile.am:
12605         * docs/libs/gstreamer-libs-docs.sgml:
12606         * docs/libs/gstreamer-libs-sections.txt:
12607         * docs/libs/gstreamer-libs.types:
12608         * examples/Makefile.am:
12609         * examples/controller/.cvsignore:
12610         * examples/controller/Makefile.am:
12611         * examples/controller/audio-example.c: (main):
12612         * libs/gst/Makefile.am:
12613         * libs/gst/controller/.cvsignore:
12614         * libs/gst/controller/Makefile.am:
12615         * libs/gst/controller/gst-controller.c:
12616         (on_object_controlled_property_changed), (gst_timed_value_compare),
12617         (gst_timed_value_find),
12618         (gst_controlled_property_set_interpolation_mode),
12619         (gst_controlled_property_new), (gst_controlled_property_free),
12620         (gst_controller_find_controlled_property),
12621         (gst_controller_new_valist), (gst_controller_new),
12622         (gst_controller_remove_properties_valist),
12623         (gst_controller_remove_properties), (gst_controller_set),
12624         (gst_controller_set_from_list), (gst_controller_unset),
12625         (gst_controller_get), (gst_controller_get_all),
12626         (gst_controller_sink_values), (gst_controller_get_value_arrays),
12627         (gst_controller_get_value_array),
12628         (gst_controller_set_interpolation_mode),
12629         (_gst_controller_finalize), (_gst_controller_init),
12630         (_gst_controller_class_init), (gst_controller_get_type):
12631         * libs/gst/controller/gst-controller.h:
12632         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12633         (g_object_uncontrol_properties), (g_object_get_controller),
12634         (g_object_set_controller), (g_object_sink_values),
12635         (g_object_get_value_arrays), (g_object_get_value_array):
12636         * libs/gst/controller/gst-interpolation.c:
12637         (gst_controlled_property_find_timed_value_node),
12638         (interpolate_none_get), (interpolate_trigger_get),
12639         (interpolate_trigger_get_value_array):
12640         * libs/gst/controller/lib.c: (gst_controller_init):
12641         * pkgconfig/Makefile.am:
12642         * pkgconfig/gstreamer-control-uninstalled.pc.in:
12643         * pkgconfig/gstreamer-control.pc.in:
12644         * testsuite/Makefile.am:
12645         * testsuite/controller/.cvsignore:
12646         * testsuite/controller/Makefile.am:
12647         * testsuite/controller/interpolator.c: (main):
12648           added controller code
12649           removed dparam pc files
12650
12651 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
12652         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12653         (gst_collectpads_stop):
12654           Broadcast the condition when shutting down, to make sure we wake all
12655           threads up. Shut down pads on finalize, for safety.
12656
12657 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
12658         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12659         (gst_base_transform_handle_buffer),
12660         (gst_base_transform_change_state):
12661           Handle PAUSED->READY->PAUSED transition after negotiation
12662           occurred already.
12663         * gst/gstmessage.c: (gst_message_init):
12664           Extra piece of debug for new messages.
12665
12666 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
12667
12668         * configure.ac:
12669         * docs/gst/tmpl/gstbasesrc.sgml:
12670         * docs/gst/tmpl/gstelement.sgml:
12671         * docs/gst/tmpl/gstevent.sgml:
12672         * docs/gst/tmpl/gstfakesrc.sgml:
12673         * docs/gst/tmpl/gstformat.sgml:
12674         * docs/gst/tmpl/gstghostpad.sgml:
12675         * docs/gst/tmpl/gstpad.sgml:
12676         * docs/gst/tmpl/gstquery.sgml:
12677         * docs/gst/tmpl/gststructure.sgml:
12678         * docs/gst/tmpl/gsttaglist.sgml:
12679         * docs/gst/tmpl/gstvalue.sgml:
12680         * docs/libs/gstreamer-libs-docs.sgml:
12681         * docs/libs/gstreamer-libs-sections.txt:
12682         * docs/libs/gstreamer-libs.types:
12683         * libs/gst/Makefile.am:
12684         * libs/gst/control/.cvsignore:
12685         * libs/gst/control/Makefile.am:
12686         * libs/gst/control/control.c:
12687         * libs/gst/control/control.h:
12688         * libs/gst/control/dparam.c:
12689         * libs/gst/control/dparam.h:
12690         * libs/gst/control/dparam_smooth.c:
12691         * libs/gst/control/dparam_smooth.h:
12692         * libs/gst/control/dparamcommon.h:
12693         * libs/gst/control/dparammanager.c:
12694         * libs/gst/control/dparammanager.h:
12695         * libs/gst/control/dplinearinterp.c:
12696         * libs/gst/control/dplinearinterp.h:
12697         * libs/gst/control/unitconvert.c:
12698         * libs/gst/control/unitconvert.h:
12699         * testsuite/Makefile.am:
12700         * testsuite/dynparams/.cvsignore:
12701         * testsuite/dynparams/Makefile.am:
12702         * testsuite/dynparams/dparamstest.c:
12703         * tools/Makefile.am:
12704         * tools/gst-inspect.c: (print_element_info), (main):
12705         * tools/gst-xmlinspect.c: (print_element_info), (main):
12706           deactivate and remove dparams (libgstcontrol)
12707
12708 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
12709
12710         * gst/elements/gsttypefindelement.c:
12711         (gst_type_find_element_have_type), (gst_type_find_element_init),
12712         (stop_typefinding), (gst_type_find_element_handle_event),
12713         (gst_type_find_element_chain), (gst_type_find_element_getrange):
12714         * gst/elements/gsttypefindelement.h:
12715           Set caps on all outgoing buffers, not just the first one.
12716
12717 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
12718
12719         * gst/elements/gsttypefindelement.c:
12720         (gst_type_find_element_have_type),
12721         (gst_type_find_element_check_set_buffer_caps),
12722         (gst_type_find_element_init), (stop_typefinding),
12723         (gst_type_find_element_handle_event),
12724         (gst_type_find_element_chain), (gst_type_find_element_getrange):
12725         * gst/elements/gsttypefindelement.h:
12726           Set caps on first outgoing buffer when we've found the type.
12727
12728 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
12729
12730         * docs/gst/gstreamer-docs.sgml:
12731         * docs/gst/gstreamer-sections.txt:
12732         * docs/gst/tmpl/gstscheduler.sgml:
12733         * docs/gst/tmpl/gstschedulerfactory.sgml:
12734           Remove some old cruft from docs.
12735
12736 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
12737
12738         * gst/gstpad.h:
12739           Fix inline docs for GstPadLinkReturn.
12740           
12741         * gst/gststructure.c: (gst_structure_has_name):
12742         * gst/gststructure.h:
12743         * docs/gst/gstreamer-sections.txt:
12744           New API: gst_structure_has_name().
12745
12746 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
12747
12748         * configure.ac:
12749           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12750           and _LARGEFILE_SOURCE in config.h as required. Do not 
12751           export those flags in our .pc files any longer (#142209).
12752
12753           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12754
12755         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12756         (gst_file_sink_do_seek), (gst_file_sink_event),
12757         (gst_file_sink_get_current_offset), (gst_file_sink_render):
12758           Redo seek/tell calls with large file support in mind; add some
12759           debugging messages; add log message that tells us when large
12760           file support is unavailable or not enabled for some reason.
12761
12762         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
12763           Add log message that tells us when large file support 
12764           is unavailable or not enabled for some reason.
12765
12766 2005-07-29  Wim Taymans  <wim@fluendo.com>
12767
12768         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12769         Added test for removing an element with ghostpad from a bin.
12770         Fixed test as current implementation does the right thing.
12771
12772         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
12773         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
12774         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
12775         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
12776         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
12777         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12778         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12779         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12780         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
12781         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
12782         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
12783         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
12784         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12785         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
12786         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
12787         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12788         * gst/gstghostpad.h:
12789         Clean up ghostpads, remove properties for internal stuff.
12790         Make threadsafe.
12791         Fix refcounting.
12792         Prepare for switching targets, not all use cases work yet.
12793
12794 2005-07-29  Wim Taymans  <wim@fluendo.com>
12795
12796         * docs/design/part-gstghostpad.txt:
12797         Small update.
12798
12799         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12800         (gst_bin_remove_func):
12801         Unlinking pads while holding the bin LOCK is not a good
12802         idea.
12803
12804         * gst/gstpad.c: (gst_pad_class_init),
12805         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
12806         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
12807         No prob setting template after creating the pad.
12808
12809 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
12810
12811         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
12812         (gst_bus_peek), (gst_bus_source_dispatch),
12813         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
12814         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
12815           gst_bus_poll may be called from other threads. Handle
12816           this nicely by not making poll_data disappear off the
12817           stack once gst_bus_poll returns.
12818           gst_bus_peek now increments the refcount on the returned
12819           message.
12820
12821 2005-07-29  Wim Taymans  <wim@fluendo.com>
12822
12823         * docs/design/part-gstghostpad.txt:
12824         Overview of current GhostPad datastructures and use
12825         cases for changing the target.
12826
12827 2005-07-28  Wim Taymans  <wim@fluendo.com>
12828
12829         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12830         Added checks for hierarchy consistency whan adding linked
12831         elements to bins.
12832
12833         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12834         Added check to test element scheduling without bin/pipeline.
12835
12836         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12837         First add elements to bin, then link.
12838         
12839         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12840         (gst_bin_remove_func):
12841         Unlink pads from elements added/removed from bin to maintain
12842         hierarchy consistency.
12843
12844 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12845
12846         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12847         (gst_base_transform_handle_buffer):
12848         * gst/base/gstbasetransform.h:
12849           Remove broken delay_configure (fixes renegotiation of software
12850           scaling pipelines); remove some leftover printf()s.
12851
12852 2005-07-28  Wim Taymans  <wim@fluendo.com>
12853
12854         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12855         Added some more tests for wrong hierarchy
12856
12857         * docs/design/part-overview.txt:
12858         Some updates.
12859
12860         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
12861         Cleanups.
12862
12863         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
12864         (gst_element_dispose):
12865         Some more cleanups.
12866
12867         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12868         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
12869         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12870         (gst_pad_set_caps), (gst_pad_send_event):
12871         Check for correct hierarchy when linking pads. Moving to
12872         strict requirement for ghostpads when linking elements in
12873         different bins.
12874
12875         * gst/gstpad.h:
12876         Clean ups. Added WRONG_HIERARCHY return value.
12877
12878 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12879
12880         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12881           Better debug if no transform is possible.
12882
12883 2005-07-27  Wim Taymans  <wim@fluendo.com>
12884
12885         * docs/random/wtay/network-transp:
12886         Some old doc I had.
12887
12888 2005-07-27  Wim Taymans  <wim@fluendo.com>
12889
12890         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12891         (gst_dp_event_from_packet):
12892         Fix serialization of seek events.
12893
12894 2005-07-27  Wim Taymans  <wim@fluendo.com>
12895
12896         * check/gst-libs/gdp.c: (GST_START_TEST):
12897         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12898         Fix compilation and fix event serialization.
12899
12900 2005-07-27  Wim Taymans  <wim@fluendo.com>
12901
12902         * CHANGES-0.9:
12903         * docs/design/part-TODO.txt:
12904         * docs/design/part-events.txt:
12905         Some docs updates
12906
12907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12908         (gst_base_sink_event), (gst_base_sink_do_sync),
12909         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12910         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12911         (gst_base_src_do_seek), (gst_base_src_event_handler),
12912         (gst_base_src_loop):
12913         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12914         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12915         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12916         (gst_base_transform_event), (gst_base_transform_handle_buffer),
12917         (gst_base_transform_set_passthrough),
12918         (gst_base_transform_is_passthrough):
12919         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12920         * gst/elements/gstfilesink.c: (gst_file_sink_event):
12921         Event updates.
12922
12923         * gst/gstbuffer.h:
12924         Use faster casts.
12925
12926         * gst/gstelement.c: (gst_element_seek):
12927         * gst/gstelement.h:
12928         Update gst_element_seek.
12929
12930         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
12931         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
12932         (gst_event_new_flush_start), (gst_event_new_flush_stop),
12933         (gst_event_new_eos), (gst_event_new_newsegment),
12934         (gst_event_parse_newsegment), (gst_event_new_tag),
12935         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
12936         (gst_event_parse_qos), (gst_event_new_seek),
12937         (gst_event_parse_seek), (gst_event_new_navigation):
12938         * gst/gstevent.h:
12939         Make GstEvent use GstStructure. Add parsing code, make sure the
12940         API is sufficiently generic.
12941         Mark possible directions of events and serialization.
12942
12943         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
12944         (_gst_message_copy), (gst_message_new_segment_start),
12945         (gst_message_new_segment_done), (gst_message_new_custom),
12946         (gst_message_parse_segment_start),
12947         (gst_message_parse_segment_done):
12948         Small cleanups.
12949
12950         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12951         (gst_pad_set_caps), (gst_pad_send_event):
12952         Update for new events. 
12953         Catch events sent in wrong directions.
12954
12955         * gst/gstqueue.c: (gst_queue_link_src),
12956         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12957         (gst_queue_handle_src_query):
12958         Event updates.
12959
12960         * gst/gsttag.c:
12961         * gst/gsttag.h:
12962         Remove event code from this file.
12963
12964         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12965         (gst_dp_event_from_packet):
12966         Event updates.
12967
12968 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12969
12970         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
12971         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12972         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
12973           Make debugging actually useful.
12974
12975 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12976
12977         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
12978         (gst_pad_fixate_caps):
12979           Implement default fixation once again, so that gst_pad_fixate()
12980           actually does anything at all. This probably needs to be some
12981           sort of a last resort, and use profile-based fixation first, but
12982           since that doesn't exist yet, this is the best we have. Fixes
12983           visualization in Totem.
12984
12985 2005-07-22  Wim Taymans  <wim@fluendo.com>
12986
12987         * docs/design/part-events.txt:
12988         Small update.
12989
12990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12991         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
12992         (gst_base_sink_activate_pull):
12993         Some more comments.
12994
12995         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
12996         (gst_fake_src_create):
12997         Fix handoff marshall.
12998
12999         * gst/elements/gstidentity.c: (gst_identity_class_init),
13000         (gst_identity_transform_ip):
13001         We're a real inplace element.
13002
13003         * gst/gstbus.c: (gst_bus_post):
13004         Added some comments.
13005
13006         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13007         * tests/muxing/case1.c: (main):
13008         * tests/sched/dynamic-pipeline.c: (main):
13009         * tests/sched/interrupt1.c: (main):
13010         * tests/sched/interrupt2.c: (main):
13011         * tests/sched/interrupt3.c: (main):
13012         * tests/sched/runxml.c: (main):
13013         * tests/sched/sched-stress.c: (main):
13014         * tests/seeking/seeking1.c: (event_received), (main):
13015         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13016         (main):
13017         * tests/threadstate/threadstate3.c: (main):
13018         * tests/threadstate/threadstate4.c: (main):
13019         * tests/threadstate/threadstate5.c: (main):
13020         Fix the tests.
13021
13022 2005-07-21  Wim Taymans  <wim@fluendo.com>
13023
13024         * docs/design/part-seeking.txt:
13025         Some small additions.
13026
13027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13028         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13029         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13030         * gst/base/gstbasesink.h:
13031         discont values are gint64, handle the math correctly.
13032
13033         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13034         Make the basesrc report error if the source pad is not linked.
13035
13036         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13037         (gst_queue_loop), (gst_queue_handle_src_query),
13038         (gst_queue_src_activate_push):
13039         Make queue collect data even if the srcpad is not linked.
13040         Start pushing out data as soon as it is linked.
13041
13042         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13043         * gst/gstutils.h:
13044         Added gst_flow_get_name() to ease error reporting.
13045
13046 2005-07-20  Wim Taymans  <wim@fluendo.com>
13047
13048         * gst/gstmessage.c: (gst_message_new_segment_start),
13049         (gst_message_new_segment_done), (gst_message_parse_segment_start),
13050         (gst_message_parse_segment_done):
13051         * gst/gstmessage.h:
13052         Added a bunch of messages for advanced seeking.
13053
13054         * gst/parse/grammar.y:
13055         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13056         (gst_dpman_state_changed):
13057         Fix some new-pad -> pad-added signals
13058
13059 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13060
13061         * docs/manual/appendix-porting.xml:
13062         * docs/pwg/appendix-porting.xml:
13063           Document new-pad/state-change signal renames and the FixedList
13064           type rename.
13065
13066 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13067
13068         * docs/manual/advanced-autoplugging.xml:
13069         * docs/manual/basics-helloworld.xml:
13070         * docs/manual/basics-pads.xml:
13071         * docs/random/ds/0.9-suggested-changes:
13072         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13073         * gst/gstelement.h:
13074         * gst/gstevent.h:
13075         * gst/gstformat.h:
13076         * gst/gstquery.h:
13077         * gst/gststructure.c: (gst_structure_value_get_generic_type),
13078         (gst_structure_parse_array), (gst_structure_parse_value):
13079         * gst/gstvalue.c: (gst_type_is_fixed),
13080         (gst_value_list_prepend_value), (gst_value_list_append_value),
13081         (gst_value_list_get_size), (gst_value_list_get_value),
13082         (gst_value_transform_array_string), (gst_value_serialize_array),
13083         (gst_value_deserialize_array), (gst_value_intersect_array),
13084         (gst_value_is_fixed), (_gst_value_initialize):
13085         * gst/gstvalue.h:
13086           GstElement::new-pad -> pad-added, GstElement::state-change ->
13087           state-changed, GstValueFixedList -> GstValueArray, add format and
13088           flags as their own arguments in gst_element_seek() (should improve
13089           "bindeability"), remove function generators since they don't work
13090           under a whole bunch of compilers (they were deprecated already
13091           anyway).
13092
13093 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13094
13095         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13096         (_gst_debug_register_funcptr):
13097         * gst/gstinfo.h:
13098           Fix illegal cast on some platforms (#309253).
13099
13100 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13101
13102         * gst/gstmessage.c: (gst_message_new_custom):
13103         * gst/gstmessage.h:
13104           Add _new_custom, make _new_application a macro to _new_custom.
13105
13106 2005-07-20  Wim Taymans  <wim@fluendo.com>
13107
13108         * gst/base/gstbasesrc.c: (gst_base_src_init),
13109         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13110         * gst/base/gstbasesrc.h:
13111         Add a gboolean to decide when to push out a discont.
13112
13113         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13114         (gst_queue_loop), (gst_queue_handle_src_query),
13115         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13116         (gst_queue_set_property), (gst_queue_get_property):
13117         Some cleanups.
13118
13119         * tests/threadstate/threadstate1.c: (main):
13120         Make a thread test compile and run... very silly..
13121
13122
13123 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13124
13125         * docs/manual/appendix-porting.xml:
13126           Mention removal of libgstgconf-0.9.la and existence of gconf
13127           elements.
13128
13129 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13130
13131         * docs/pwg/advanced-clock.xml:
13132         * docs/pwg/appendix-porting.xml:
13133         * docs/pwg/intro-preface.xml:
13134         * docs/pwg/other-base.xml:
13135         * docs/pwg/other-manager.xml:
13136         * docs/pwg/other-nton.xml:
13137         * docs/pwg/other-ntoone.xml:
13138         * docs/pwg/other-oneton.xml:
13139         * docs/pwg/pwg.xml:
13140           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13141           demuxer), remove n-to-n (was never written), fix some code examples
13142           and links and update the porting section to include all this.
13143
13144 2005-07-19  Wim Taymans  <wim@fluendo.com>
13145
13146         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13147         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13148         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13149         (gst_queue_src_activate_push), (gst_queue_change_state),
13150         (gst_queue_get_property):
13151         * gst/gstqueue.h:
13152         Propagate GstFlowReturn more intelligently upstream and output
13153         an ERROR/EOS when streaming stopped due to fatal error.
13154
13155 2005-07-19  Wim Taymans  <wim@fluendo.com>
13156
13157         * tools/gst-launch.c: (check_intr), (event_loop), (main):
13158         Don't block forever for the state change to complete, the
13159         pipeline already did with a sensible timeout.
13160
13161 2005-07-19  Wim Taymans  <wim@fluendo.com>
13162
13163         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13164         Make sure we never call the create function is we
13165         got deactivated.
13166
13167 2005-07-19  Andy Wingo  <wingo@pobox.com>
13168
13169         * gst/parse/parse.l: Attempt to solve bug #172815.
13170
13171 2005-07-19  Wim Taymans  <wim@fluendo.com>
13172
13173         * docs/design/part-clocks.txt:
13174         * docs/design/part-events.txt:
13175         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13176         Small docs updates.
13177         Only update the seeking values when we are not
13178         busy streaming.
13179
13180 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13181
13182         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13183           Oops, ignore the result of gst_pad_push_event here.
13184
13185 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13186
13187         * gst/base/gstbasesrc.c: (gst_base_src_loop),
13188         (gst_base_src_activate_push):
13189           Send discont event from the loop function, as pads
13190           aren't activated yet in the activate_push handler.
13191
13192         * gst/gstbin.c: (bin_bus_handler):
13193           Don't leak element name.
13194
13195 2005-07-18  Andy Wingo  <wingo@pobox.com>
13196
13197         * configure.ac: Use AS_LIBTOOL_TAGS.
13198
13199 2005-07-18  Wim Taymans  <wim@fluendo.com>
13200
13201         * docs/gst/gstreamer.types:
13202         Remove deleted types.
13203
13204 2005-07-18  Wim Taymans  <wim@fluendo.com>
13205
13206         * check/elements/gstfakesrc.c: (GST_START_TEST):
13207         * configure.ac:
13208         * gst/Makefile.am:
13209         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13210         (init_popt_callback):
13211         * gst/gst.h:
13212         * gst/gst_private.h:
13213         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13214         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13215         * gst/gstbin.h:
13216         * gst/gstbus.h:
13217         * gst/gstconfig.h.in:
13218         * gst/gstelement.c: (gst_element_class_init),
13219         (gst_element_set_base_time), (gst_element_get_base_time),
13220         (iterator_fold_with_resync), (gst_element_change_state),
13221         (gst_element_dispose), (gst_element_get_bus):
13222         * gst/gstelement.h:
13223         * gst/gstelementfactory.h:
13224         * gst/gsterror.c: (_gst_core_errors_init):
13225         * gst/gsterror.h:
13226         * gst/gstevent.h:
13227         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13228         * gst/gstindex.c:
13229         * gst/gstinfo.c: (_gst_debug_init):
13230         * gst/gstmessage.c: (_gst_message_copy):
13231         * gst/gstmessage.h:
13232         * gst/gstminiobject.h:
13233         * gst/gstobject.c:
13234         * gst/gstobject.h:
13235         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13236         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13237         * gst/gstpad.h:
13238         * gst/gstparse.h:
13239         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13240         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13241         (gst_pipeline_get_last_stream_time):
13242         * gst/gstpipeline.h:
13243         * gst/gstpluginfeature.h:
13244         * gst/gstquery.h:
13245         * gst/gstscheduler.c:
13246         * gst/gstscheduler.h:
13247         * gst/gststructure.h:
13248         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13249         (gst_task_finalize), (gst_task_func), (gst_task_create),
13250         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13251         (gst_task_stop), (gst_task_pause):
13252         * gst/gsttask.h:
13253         * gst/gsttypefind.h:
13254         * gst/gsttypes.h:
13255         * gst/registries/gstlibxmlregistry.c: (load_feature),
13256         (gst_xml_registry_load), (gst_xml_registry_save_feature):
13257         * gst/registries/gstxmlregistry.c:
13258         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13259         * gst/schedulers/threadscheduler.c:
13260         * libs/gst/control/dparammanager.h:
13261         * tools/gst-inspect.c: (print_element_list),
13262         (print_plugin_features), (print_element_features):
13263         * tools/gst-xmlinspect.c: (print_element_list),
13264         (print_plugin_info), (main):
13265         Removed plugable schedulers.
13266         Removed Scheduler/Manager from elements.
13267         Removed gsttypes.h, rearranged includes.
13268         Removed dependency pad<->element, element<>pipeline, and
13269         various others,  fix includes.
13270         implement gst_pad_get_parent() with gst_object_get_parent()
13271         Make GstTask sefcontained.
13272         Fix _get_state() on GstBin, it did not return ASYNC with a 0
13273         timeout.
13274         Fix endless loop in iterator_fold_with_resync.
13275
13276
13277 2005-07-18  Wim Taymans  <wim@fluendo.com>
13278
13279         * gst/Makefile.am:
13280         * gst/gstarch.h:
13281         Remove old file.
13282
13283 2005-07-18  Wim Taymans  <wim@fluendo.com>
13284
13285         * gst/Makefile.am:
13286         No more cothreads.h
13287
13288 2005-07-18  Wim Taymans  <wim@fluendo.com>
13289
13290         * gst/cothreads.c:
13291         * gst/cothreads.h:
13292         Let's remove these.
13293
13294 2005-07-18  Wim Taymans  <wim@fluendo.com>
13295
13296         * docs/design/part-dynamic.txt:
13297         * docs/design/part-events.txt:
13298         * docs/design/part-seeking.txt:
13299         Some more docs in the works.
13300
13301         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13302         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13303         (gst_base_transform_setcaps), (gst_base_transform_get_size),
13304         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13305         (gst_base_transform_handle_buffer),
13306         (gst_base_transform_sink_activate_push),
13307         (gst_base_transform_src_activate_pull),
13308         (gst_base_transform_set_passthrough),
13309         (gst_base_transform_is_passthrough):
13310         Refcounting fixes.
13311
13312         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13313         Cleanups.
13314
13315         * gst/gstevent.c: (gst_event_finalize):
13316         Set SRC to NULL.
13317
13318         * gst/gstutils.c: (gst_element_unlink),
13319         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13320         (gst_pad_proxy_setcaps):
13321         * gst/gstutils.h:
13322         Add _get_parent_element() to get a pads parent as an element.
13323
13324 2005-07-18  Wim Taymans  <wim@fluendo.com>
13325
13326         * check/gst/gstbin.c: (GST_START_TEST):
13327         Remove bogus test.
13328
13329 2005-07-18  Wim Taymans  <wim@fluendo.com>
13330
13331         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13332         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13333         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13334         (gst_base_sink_event), (gst_base_sink_do_sync),
13335         (gst_base_sink_chain), (gst_base_sink_loop),
13336         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13337         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13338         Refcounting fixes.
13339         Fix logic for returning ASYNC when not prerolled.
13340
13341 2005-07-18  Wim Taymans  <wim@fluendo.com>
13342
13343         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13344         Fix nasty refcount bug.
13345
13346 2005-07-16 Philippe Khalaf <burger@speedy.org>
13347
13348         * gst/elements/gstfdsrc.c:
13349         * gst/elements/gstfdsrc.h:
13350         * gst/elements/gstelements.c:
13351         * gst/elements/Makefile.am:
13352         Ported fdsrc to 0.9.
13353
13354 2005-07-16  Wim Taymans  <wim@fluendo.com>
13355
13356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13357         (gst_base_sink_do_sync):
13358         Fix compile error.
13359
13360 2005-07-16  Wim Taymans  <wim@fluendo.com>
13361
13362         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13363         (gst_base_sink_event), (gst_base_sink_get_times),
13364         (gst_base_sink_do_sync), (gst_base_sink_change_state):
13365         * gst/base/gstbasesink.h:
13366         Store and use discont values when syncing buffers as described
13367         in design docs.
13368         
13369         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13370         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13371         (gst_base_src_activate_push):
13372         Push discont event when starting.
13373
13374         * gst/elements/gstidentity.c: (gst_identity_transform):
13375         Small cleanups.
13376
13377         * gst/gstbin.c: (gst_bin_change_state):
13378         Small cleanups in base_time  distribution.
13379
13380         * gst/gstelement.c: (gst_element_set_base_time),
13381         (gst_element_get_base_time), (gst_element_change_state):
13382         * gst/gstelement.h:
13383         Added methods for the base_time of the element.
13384         Some MT fixes.
13385
13386         * gst/gstpipeline.c: (gst_pipeline_send_event),
13387         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13388         (gst_pipeline_get_last_stream_time):
13389         * gst/gstpipeline.h:
13390         MT fixes.
13391         Handle seeking as described in design doc, remove stream_time
13392         hack.
13393         Cleanups clock and stream_time selection code. Added accessors
13394         for the stream_time.
13395         
13396
13397 2005-07-16  Andy Wingo  <wingo@pobox.com>
13398
13399         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13400         (#305291).
13401
13402 2005-07-16  Wim Taymans  <wim@fluendo.com>
13403
13404         * check/gst/gstbin.c: (GST_START_TEST):
13405         Make elements silent as the deep_notify refs the
13406         parent, which might make the test fail.
13407
13408         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13409         Don't hold the lock for too long.
13410
13411 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
13412
13413         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13414           Don't unref the caps we passed to gst_caps_make_writable() after
13415           passing them. gst_caps_make_writable() will do that for us.
13416
13417 2005-07-15  Andy Wingo  <wingo@pobox.com>
13418
13419         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13420         (#157311).
13421
13422         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13423         own marshalling function for the handoff signal. Properly type the
13424         buffer as a buffer. Fixes some warnings. Should do a more general
13425         solution.
13426         (gst_identity_class_init): Plug into the right marshaller.
13427
13428 2005-07-15  Wim Taymans  <wim@fluendo.com>
13429
13430         * docs/design/part-TODO.txt:
13431         * docs/design/part-clocks.txt:
13432         * docs/design/part-element-sink.txt:
13433         * docs/design/part-events.txt:
13434         * docs/design/part-gstpipeline.txt:
13435         Updated docs, mostly DISCONT related.
13436
13437 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
13438
13439         * docs/pwg/building-pads.xml:
13440           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13441
13442 2005-07-15  Andy Wingo  <wingo@pobox.com>
13443
13444         * tools/gst-typefind.c: Update, add copyright block.
13445
13446         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13447         Normalize and truncate caps before fixation.
13448
13449         * gst/gstcaps.h:
13450         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13451         discards all but the first structure from its argument.
13452
13453 2005-07-15  Wim Taymans  <wim@fluendo.com>
13454
13455         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13456         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13457         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13458         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13459         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13460         (gst_base_transform_chain), (gst_base_transform_change_state),
13461         (gst_base_transform_set_passthrough),
13462         (gst_base_transform_is_passthrough):
13463         * gst/base/gstbasetransform.h:
13464         Make passthrough work using the bufferpools.
13465         Changed API a bit, subclasses have to write into a buffer
13466         provided by the base class.
13467         More debug info in nego functions.
13468         
13469         * gst/elements/gstidentity.c: (gst_identity_init),
13470         (gst_identity_transform):
13471         Port to new base class.
13472
13473 2005-07-15  Wim Taymans  <wim@fluendo.com>
13474
13475         * gst/gstmessage.c: (gst_message_new_state_changed):
13476         * tools/gst-launch.c: (event_loop), (main):
13477         Totally dump messages in -launch with the -m option.
13478         Fix message name for State messages,
13479
13480 2005-07-14  Wim Taymans  <wim@fluendo.com>
13481
13482         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13483         Post error messages on errors.
13484
13485 2005-07-14  Wim Taymans  <wim@fluendo.com>
13486
13487         * gst/gstcaps.c: (gst_caps_do_simplify):
13488         Remove debug info.
13489
13490         * gst/gsterror.h:
13491         Define error for stream stopped.
13492
13493         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13494         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13495         Do proper return values.
13496
13497         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13498         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13499         (gst_pad_get_range):
13500         Better return values.
13501
13502         * gst/gstpad.h:
13503         Reorganise return values, add macro to check for fatal errors.
13504
13505         * gst/gstqueue.c: (gst_queue_chain):
13506         Return proper GstFlowReturn values,
13507
13508 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13509
13510         * docs/gst/gstreamer-sections.txt:
13511         * docs/gst/gstreamer.types:
13512         * docs/gst/tmpl/gst.sgml:
13513         * docs/gst/tmpl/gstbasesink.sgml:
13514         * docs/gst/tmpl/gstbasesrc.sgml:
13515         * docs/gst/tmpl/gstbasetransform.sgml:
13516         * docs/gst/tmpl/gstbin.sgml:
13517         * docs/gst/tmpl/gstbuffer.sgml:
13518         * docs/gst/tmpl/gstcaps.sgml:
13519         * docs/gst/tmpl/gstclock.sgml:
13520         * docs/gst/tmpl/gstcompat.sgml:
13521         * docs/gst/tmpl/gstconfig.sgml:
13522         * docs/gst/tmpl/gstelement.sgml:
13523         * docs/gst/tmpl/gstelementdetails.sgml:
13524         * docs/gst/tmpl/gstelementfactory.sgml:
13525         * docs/gst/tmpl/gstenumtypes.sgml:
13526         * docs/gst/tmpl/gsterror.sgml:
13527         * docs/gst/tmpl/gstevent.sgml:
13528         * docs/gst/tmpl/gstfakesink.sgml:
13529         * docs/gst/tmpl/gstfakesrc.sgml:
13530         * docs/gst/tmpl/gstfilesink.sgml:
13531         * docs/gst/tmpl/gstfilesrc.sgml:
13532         * docs/gst/tmpl/gstfilter.sgml:
13533         * docs/gst/tmpl/gstformat.sgml:
13534         * docs/gst/tmpl/gstghostpad.sgml:
13535         * docs/gst/tmpl/gstimplementsinterface.sgml:
13536         * docs/gst/tmpl/gstindex.sgml:
13537         * docs/gst/tmpl/gstindexfactory.sgml:
13538         * docs/gst/tmpl/gstinfo.sgml:
13539         * docs/gst/tmpl/gstiterator.sgml:
13540         * docs/gst/tmpl/gstmacros.sgml:
13541         * docs/gst/tmpl/gstmemchunk.sgml:
13542         * docs/gst/tmpl/gstminiobject.sgml:
13543         * docs/gst/tmpl/gstobject.sgml:
13544         * docs/gst/tmpl/gstpad.sgml:
13545         * docs/gst/tmpl/gstpadtemplate.sgml:
13546         * docs/gst/tmpl/gstparse.sgml:
13547         * docs/gst/tmpl/gstpipeline.sgml:
13548         * docs/gst/tmpl/gstplugin.sgml:
13549         * docs/gst/tmpl/gstpluginfeature.sgml:
13550         * docs/gst/tmpl/gstquery.sgml:
13551         * docs/gst/tmpl/gstqueue.sgml:
13552         * docs/gst/tmpl/gstregistry.sgml:
13553         * docs/gst/tmpl/gstregistrypool.sgml:
13554         * docs/gst/tmpl/gstscheduler.sgml:
13555         * docs/gst/tmpl/gstschedulerfactory.sgml:
13556         * docs/gst/tmpl/gststructure.sgml:
13557         * docs/gst/tmpl/gstsystemclock.sgml:
13558         * docs/gst/tmpl/gsttaglist.sgml:
13559         * docs/gst/tmpl/gsttagsetter.sgml:
13560         * docs/gst/tmpl/gsttrace.sgml:
13561         * docs/gst/tmpl/gsttrashstack.sgml:
13562         * docs/gst/tmpl/gsttypefind.sgml:
13563         * docs/gst/tmpl/gsttypefindfactory.sgml:
13564         * docs/gst/tmpl/gsttypes.sgml:
13565         * docs/gst/tmpl/gsturihandler.sgml:
13566         * docs/gst/tmpl/gsturitype.sgml:
13567         * docs/gst/tmpl/gstutils.sgml:
13568         * docs/gst/tmpl/gstvalue.sgml:
13569         * docs/gst/tmpl/gstversion.sgml:
13570         * docs/gst/tmpl/gstxml.sgml:
13571         * docs/libs/tmpl/gstcontrol.sgml:
13572         * docs/libs/tmpl/gstdataprotocol.sgml:
13573         * docs/libs/tmpl/gstdparam.sgml:
13574         * docs/libs/tmpl/gstdplinint.sgml:
13575         * docs/libs/tmpl/gstdpman.sgml:
13576         * docs/libs/tmpl/gstdpsmooth.sgml:
13577         * docs/libs/tmpl/gstgetbits.sgml:
13578         * docs/libs/tmpl/gstunitconvert.sgml:
13579         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13580         (gst_push_src_base_init), (gst_push_src_class_init),
13581         (gst_push_src_init), (gst_push_src_create):
13582         * gst/base/gstpushsrc.h:
13583         * gst/elements/gstelements.c:
13584         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13585         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13586         (gst_fake_sink_init), (gst_fake_sink_set_property),
13587         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13588         (gst_fake_sink_event), (gst_fake_sink_preroll),
13589         (gst_fake_sink_render), (gst_fake_sink_change_state):
13590         * gst/elements/gstfakesink.h:
13591         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13592         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13593         (gst_fake_src_base_init), (gst_fake_src_class_init),
13594         (gst_fake_src_init), (gst_fake_src_event_handler),
13595         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13596         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13597         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13598         (gst_fake_src_create_buffer), (gst_fake_src_create),
13599         (gst_fake_src_start), (gst_fake_src_stop):
13600         * gst/elements/gstfakesrc.h:
13601         * gst/elements/gstfilesink.c: (_do_init),
13602         (gst_file_sink_base_init), (gst_file_sink_class_init),
13603         (gst_file_sink_init), (gst_file_sink_dispose),
13604         (gst_file_sink_set_location), (gst_file_sink_set_property),
13605         (gst_file_sink_get_property), (gst_file_sink_open_file),
13606         (gst_file_sink_close_file), (gst_file_sink_query),
13607         (gst_file_sink_event), (gst_file_sink_render),
13608         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13609         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13610         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13611         * gst/elements/gstfilesink.h:
13612         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13613         (gst_file_src_class_init), (gst_file_src_init),
13614         (gst_file_src_finalize), (gst_file_src_set_location),
13615         (gst_file_src_set_property), (gst_file_src_get_property),
13616         (gst_file_src_map_region), (gst_file_src_map_small_region),
13617         (gst_file_src_create_mmap), (gst_file_src_create_read),
13618         (gst_file_src_create), (gst_file_src_is_seekable),
13619         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13620         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13621         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13622         (gst_file_src_uri_handler_init):
13623         * gst/elements/gstfilesrc.h:
13624           more autistic cleanliness in functions/names/defines
13625
13626 2005-07-13  Andy Wingo  <wingo@pobox.com>
13627
13628         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13629         source couldn't negotiate.
13630
13631         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13632         connections again.
13633
13634         * gst/gstutils.h:
13635         * gst/gstutils.c (gst_element_link_pads_filtered): New old
13636         function. I am channeling Hades. Put your boots on suckers!!!
13637
13638 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13639
13640         * testsuite/caps/Makefile.am:
13641         * testsuite/caps/value_compare.c:
13642         * testsuite/caps/value_intersect.c:
13643         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13644           move two testsuite apps over to the check dir
13645
13646 2005-07-12  Wim Taymans  <wim@fluendo.com>
13647
13648         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13649         Added more debug info in the negotiate process.
13650
13651         * gst/gstmessage.h:
13652         Prepare for segment playback.
13653
13654         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13655         Better debugging.
13656
13657         * gst/gstutils.c:
13658         Some more docs.
13659
13660         * tools/gst-launch.c: (main):
13661         NULL pipeline on errors.
13662
13663 2005-07-12  Andy Wingo  <wingo@pobox.com>
13664
13665         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13666         not it comes from a malloc region. Make sure our copy gets freed.
13667
13668 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13669
13670         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13671         * check/gst/gstmessage.c: (GST_START_TEST):
13672         * check/gst/gststructure.c: (GST_START_TEST),
13673         (gst_structure_suite), (main):
13674           more testing
13675         * gst/gstelement.c: (gst_element_message_full):
13676           clean up GError and debug string now that they get copied
13677         * gst/gstmessage.c: (gst_message_new_error),
13678         (gst_message_new_warning), (gst_message_parse_error),
13679         (gst_message_parse_warning):
13680           use GST_TYPE_G_ERROR for structure_new, and take copies of
13681           arguments, so that we don't mess up refcounting
13682
13683 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13684
13685         * check/Makefile.am:
13686           add per-test valgrind targets
13687         * check/gst-libs/gdp.c: (GST_START_TEST),
13688         (gst_data_protocol_suite), (main):
13689           clean up
13690
13691 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13692
13693         * check/Makefile.am:
13694           instate more valgrindable tests
13695         * check/elements/gstfakesrc.c: (chain_func), (event_func),
13696         (GST_START_TEST), (fakesrc_suite):
13697         * check/gst/gstpad.c: (GST_START_TEST):
13698         * check/gst/gststructure.c: (GST_START_TEST):
13699           fix test leaks
13700         * docs/gst/tmpl/gstminiobject.sgml:
13701         * gst/gstpad.c: (gst_pad_finalize):
13702           fix the static mutex leak
13703
13704 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13705
13706         * check/Makefile.am:
13707           add two more tests for valgrinding
13708         * check/gst/gstvalue.c: (GST_START_TEST):
13709           test refcount of deserialized buffer, found a leak
13710         * docs/gst/gstreamer-docs.sgml:
13711         * docs/gst/gstreamer-sections.txt:
13712         * docs/gst/gstreamer.types:
13713         * docs/gst/tmpl/gstminiobject.sgml:
13714           add miniobject to docs
13715         * gst/gstminiobject.c:
13716           add some docs
13717         * gst/gstvalue.c: (gst_value_deserialize_buffer),
13718         (gst_string_unwrap):
13719           fix a hard-to-find invalid write for one of the tests
13720           fix a leak for deserialized buffers
13721
13722 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13723
13724         * docs/pwg/advanced-events.xml:
13725         * docs/pwg/advanced-request.xml:
13726         * docs/pwg/advanced-scheduling.xml:
13727         * docs/pwg/appendix-porting.xml:
13728         * docs/pwg/building-boiler.xml:
13729         * docs/pwg/intro-preface.xml:
13730         * docs/pwg/other-ntoone.xml:
13731           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13732           of example code and explanation for pad activation, loop() and
13733           getrange() functions and a bit more. Remove old comments pointing
13734           to loop-functions.
13735         * examples/pwg/Makefile.am:
13736           Add loop/getrange examples.
13737
13738 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13739
13740         * configure.ac:
13741           check for valgrind binary + some fixes
13742         * check/gst.supp:
13743           valgrind suppressions for the tests
13744         * check/Makefile.am:
13745           add a valgrind: target that valgrinds the unit tests
13746         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13747         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13748         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13749         * check/gst/gstghostpad.c:
13750           added some cleanup
13751         * check/gst/gstdata.c:
13752           removed
13753         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13754         (thread_unref), (gst_mini_object_suite), (main):
13755           added
13756         * gst/gst.c: (gst_deinit):
13757         * gst/gst.h:
13758           add a method to clean up.
13759         * gst/gstsystemclock.c: (gst_system_clock_dispose),
13760         (gst_system_clock_obtain):
13761           allow for disposing the system clock.
13762         * tools/gst-launch.c: (main):
13763           deinit
13764
13765 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13766
13767         * docs/gst/tmpl/gstbasesrc.sgml:
13768         * docs/gst/tmpl/gstfakesrc.sgml:
13769         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13770         (gst_base_src_init), (gst_base_src_set_property),
13771         (gst_base_src_get_property), (gst_base_src_get_range),
13772         (gst_base_src_start):
13773         * gst/base/gstbasesrc.h:
13774           add num-buffers property
13775         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13776         (gst_fakesrc_init), (gst_fakesrc_set_property),
13777         (gst_fakesrc_get_property), (gst_fakesrc_create),
13778         (gst_fakesrc_start):
13779           remove num-buffers property
13780
13781 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13782
13783         * docs/gst/gstreamer-sections.txt:
13784         * docs/gst/tmpl/gstbasesink.sgml:
13785         * docs/gst/tmpl/gstbasesrc.sgml:
13786         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13787         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13788         (gst_base_sink_finalize), (gst_base_sink_set_clock),
13789         (gst_base_sink_set_property), (gst_base_sink_get_property),
13790         (gst_base_sink_handle_object), (gst_base_sink_event),
13791         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13792         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
13793         (gst_base_sink_loop), (gst_base_sink_deactivate),
13794         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
13795         (gst_base_sink_change_state):
13796         * gst/base/gstbasesink.h:
13797         * gst/base/gstbasesrc.h:
13798         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
13799         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13800         (gst_filesink_init):
13801           more macro splitting
13802
13803 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13804
13805         * gst/gstelement.c: (gst_element_get_bus):
13806           add debug
13807         * tools/gst-launch.c: (check_intr), (event_loop):
13808           fix bus leaks
13809
13810 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13811
13812         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13813           fix a caps leak
13814
13815 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13816
13817         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13818         (gst_base_src_finalize):
13819           add finalize method and clean up properly
13820         * gst/gstpipeline.c: (gst_pipeline_dispose):
13821           add debug
13822
13823 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13824
13825         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
13826         (gst_bin_suite):
13827           add more things to check
13828         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13829         * gst/gstelement.c:
13830           more debug
13831
13832 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13833
13834         * check/elements/gstfakesrc.c: (chain_func), (event_func),
13835         (GST_START_TEST), (fakesrc_suite):
13836         * check/gst-libs/gdp.c: (GST_START_TEST):
13837         * check/gst/gst.c: (GST_START_TEST):
13838         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13839         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13840         * check/gst/gstbus.c: (GST_START_TEST):
13841         * check/gst/gstcaps.c: (GST_START_TEST):
13842         * check/gst/gstdata.c: (GST_START_TEST):
13843         * check/gst/gstelement.c: (GST_START_TEST):
13844         * check/gst/gstghostpad.c: (GST_START_TEST):
13845         * check/gst/gstiterator.c: (GST_START_TEST):
13846         * check/gst/gstmessage.c: (GST_START_TEST):
13847         * check/gst/gstobject.c: (GST_START_TEST):
13848         * check/gst/gstpad.c: (GST_START_TEST):
13849         * check/gst/gststructure.c: (GST_START_TEST):
13850         * check/gst/gstsystemclock.c: (GST_START_TEST),
13851         (gst_systemclock_suite):
13852         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13853         * check/gst/gstvalue.c: (GST_START_TEST):
13854         * check/pipelines/cleanup.c: (GST_START_TEST):
13855         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13856         * check/states/sinks.c: (GST_START_TEST):
13857         * check/gstcheck.c: (gst_check_init):
13858         * check/gstcheck.h:
13859           add debugging category
13860           use GST_START_TEST now, so we add a debug line
13861
13862 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
13865           add test for state change message on a bin
13866         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
13867           add another test
13868         * gst/gstbin.c: (gst_bin_init):
13869         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
13870         * gst/gstelement.c: (gst_element_post_message),
13871         (gst_element_set_state):
13872         * gst/gstelementfactory.c: (gst_element_factory_create):
13873         * gst/gstmessage.c: (gst_message_new):
13874         * gst/gstscheduler.c:
13875           various debugging additions and cleanups
13876
13877 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13878
13879         * check/Makefile.am:
13880         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
13881         (main):
13882           adding tests for elements
13883         * gst/gstelement.c: (gst_element_dispose):
13884
13885 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * gst/registries/gstlibxmlregistry.c: (load_feature):
13888           plug more leaks.  A simple gst_init() now is leakfree, yay.
13889
13890 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13891
13892         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
13893         (gst_xml_registry_load):
13894           plug another memleak
13895
13896 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13897
13898         * configure.ac:
13899           use GST_SET_ERROR_CFLAGS
13900         * docs/faq/cvs.xml:
13901           change to ERROR_CFLAGS
13902
13903 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13904
13905         * configure.ac:
13906           make GST_ERROR_CFLAGS overridable and re-enable Werror
13907         * docs/faq/cvs.xml:
13908           add a note about error CFLAGS
13909         * docs/gst/tmpl/gstfakesrc.sgml:
13910         * gst/elements/gstfakesrc.c:
13911           comment out some unused code
13912         * gst/gst.c: (split_and_iterate):
13913         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
13914         (load_feature):
13915           plug some memleaks
13916
13917 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13918
13919         * common/Makefile.am:
13920         * common/gtk-doc.mak:
13921         * docs/gst/Makefile.am:
13922           factor out gtk-doc.mak
13923
13924 2005-07-07  Wim Taymans  <wim@fluendo.com>
13925
13926         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
13927         (gst_thread_scheduler_dispose):
13928         Unlock the STREAM_LOCK completely.
13929
13930 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13931
13932         * check/Makefile.am:
13933         * check/elements/.cvsignore:
13934         * check/elements/gstfakesrc.c: (chain_func), (event_func),
13935         (START_TEST), (fakesrc_suite), (main):
13936         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13937         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13938         (gst_fakesrc_create), (gst_fakesrc_start):
13939         * gst/elements/gstfakesrc.h:
13940           adding a first element test
13941
13942 2005-07-07  Andy Wingo  <wingo@pobox.com>
13943
13944         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
13945         debug message.
13946
13947 2005-07-07  Wim Taymans  <wim@fluendo.com>
13948
13949         * gst/gstquery.c:
13950         * gst/gstquery.h:
13951         Remove old types
13952
13953 2005-07-07  Wim Taymans  <wim@fluendo.com>
13954
13955         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13956         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
13957         Allow subclasses to implement their own negotiation.
13958
13959 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
13960
13961         * docs/design/part-gstbin.txt:
13962         * docs/design/part-gstpipeline.txt:
13963           Update design notes to reflect the movement of
13964           responsibility for bus handling from GstPipeline to
13965           GstBin
13966
13967 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
13968
13969         * configure.ac:
13970           Remove unnecessary queue2/3/4 examples.
13971
13972 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
13973
13974         * examples/Makefile.am:
13975         * examples/helloworld/helloworld.c: (event_loop), (main):
13976         * examples/queue/queue.c: (event_loop), (main):
13977         * examples/queue2/queue2.c: (main):
13978           Update a couple of the examples to work again.
13979
13980         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13981         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
13982          Spelling corrections and extra debug.
13983         
13984         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
13985         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
13986         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
13987         * gst/gstbin.h:
13988         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13989         (gst_pipeline_change_state):
13990         * gst/gstpipeline.h:
13991           Move the bus handler for children to the GstBin, and create a
13992           separate bus for receiving messages from children to the one the
13993           bus sends 'upwards' on.
13994
13995 2005-07-06  Wim Taymans  <wim@fluendo.com>
13996
13997         * gst/base/README:
13998         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13999         (gst_base_sink_handle_object), (gst_base_sink_loop),
14000         (gst_base_sink_change_state):
14001         * gst/base/gstbasesink.h:
14002         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14003         (gst_base_src_init), (gst_base_src_setcaps),
14004         (gst_base_src_getcaps), (gst_base_src_loop),
14005         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14006         (gst_base_src_start), (gst_base_src_change_state):
14007         * gst/base/gstbasesrc.h:
14008         Make basesrc negotiate.
14009         Handle the case where preroll fails in basesink.
14010         Update README.
14011
14012 2005-07-06  Wim Taymans  <wim@fluendo.com>
14013
14014         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14015         Implement the fixate function.
14016         Clean up acceptcaps.
14017
14018 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14019
14020         * docs/pwg/building-filterfactory.xml:
14021         * docs/pwg/pwg.xml:
14022           Remove never-written filter-factory chapter; I'll add the various
14023           base classes to part 4 ("other element types") later on.
14024
14025 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14026
14027         * docs/pwg/advanced-negotiation.xml:
14028         * docs/pwg/building-boiler.xml:
14029         * docs/pwg/building-pads.xml:
14030         * docs/pwg/pwg.xml:
14031         * examples/pwg/Makefile.am:
14032           Add a chapter on caps negotiation, simplify the original code
14033           samples a bit w.r.t. caps negotiation, add link to the advanced
14034           section. Add a bunch of examples showing different use cases of
14035           different types of caps negotiation. Upstream renegotiation isn't
14036           fully documented yet since nobody knows how that works.
14037
14038 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14039
14040         * check/gst/gstpad.c:
14041         * check/gstcheck.c:
14042         * gst/gstpad.c: (gst_pad_get_internal_links_default):
14043           if pad has no parent, return NULL as list of internal links
14044
14045 2005-07-05  Andy Wingo  <wingo@pobox.com>
14046
14047         * gst/elements/gstfilesrc.c:
14048         * gst/elements/gstfakesrc.c: 
14049         * gst/base/gstpushsrc.c:
14050         * gst/base/gstbasesrc.h: 
14051         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14052         
14053 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
14054
14055         * Makefile.am:
14056           better report generation target (lcov needs a patch)
14057
14058 2005-07-05  Andy Wingo  <wingo@pobox.com>
14059
14060         * gst/elements, testsuite: Null if we got it...
14061
14062 2005-07-05  Wim Taymans  <wim@fluendo.com>
14063
14064         * configure.ac:
14065         * libs/gst/dataprotocol/Makefile.am:
14066         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14067         * libs/gst/dataprotocol/dataprotocol.h:
14068         * pkgconfig/Makefile.am:
14069         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14070         * pkgconfig/gstreamer-dataprotocol.pc.in:
14071         Ported dataprotol to 0.9. 
14072         Added pkgconfig files.
14073
14074 2005-07-05  Andy Wingo  <wingo@pobox.com>
14075
14076         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14077         Default to returning TRUE for the case when tranform_caps returns
14078         a fixed caps, like for identity or volume.
14079
14080         * check/gst/gstbus.c (pound_bus_with_messages): 
14081         * check/gst/gstmessage.c (START_TEST): 
14082         * check/pipelines/simple_launch_lines.c (got_handoff): Application
14083         message API change.
14084
14085         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14086         logic weaks here: always run transform_caps, trying passthrough
14087         operation only if the original caps intersects with the transform.
14088
14089         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14090         source and sink caps.
14091
14092         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14093         Intersect the peer caps with the pad template before going into
14094         transform_caps.
14095         (gst_base_transform_transform_caps): More debugging.
14096
14097         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14098         src argument.
14099
14100 2005-07-04  Edward Hervey  <edward@fluendo.com>
14101
14102         * gst/gstutils.c:
14103         * gst/gstutils.h:
14104         (gst_pad_add_*_probe): now returns the signal id for better wrapping
14105         in bindings.
14106
14107 2005-07-04  Andy Wingo  <wingo@pobox.com>
14108
14109         * check/gst/gstpad.c: Only set explicit caps on pads.
14110
14111 2005-07-01  Andy Wingo  <wingo@pobox.com>
14112
14113         * tests/network-clock.scm: Commentary update.
14114
14115         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14116         Didn't really make sense, not implementable with basetransform,
14117         etc.
14118         (gst_identity_transform): Unref inbuf via make_writable. Feeble
14119         attempt at implementing the sync property, needs an unlock method.
14120
14121         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14122         New func, by default returns the same caps (the identity
14123         transformation).
14124         (gst_base_transform_getcaps): Uses transform_caps to return
14125         something sensible.
14126         (gst_base_transform_setcaps): Complicated logic to get caps on
14127         both pads, even if they are different, and to call set_caps once
14128         for every time both pads get their caps set.
14129         (gst_base_transform_handle_buffer): Give the ref to the transform
14130         function. Allows in-place modification of the buffer.
14131
14132         * gst/base/gstbasetransform.h (transform_caps): New class method.
14133         Given caps on one side, what can I do on the other.
14134         (set_caps): Take two caps, one for each side of the element.
14135
14136         * gst/gstpad.h:
14137         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14138         caps in place. This is safe because we can check the mutability of
14139         the caps, and a good idea because fixate functions are just called
14140         as a matter of last resort. (Not actually implemented.)
14141         (gst_pad_set_caps): If the caps we're setting is actually the same
14142         as the existing pad caps, just update the pointer without calling
14143         setcaps. Assert that caps is either NULL or fixed, as per the
14144         docs.
14145
14146         * gst/gstghostpad.c: Update for fixate changes.
14147
14148 2005-07-02  Andy Wingo  <wingo@pobox.com>
14149
14150         * gst/gstcaps.c:
14151         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14152         two refcounts makes it immutable, which is enough. Doc more.
14153
14154 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
14155
14156         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14157           Put the mini_object into GValue as a mini_object,
14158           not a gpointer, since that's how we declared
14159           the signal.
14160
14161 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14162
14163         * examples/pwg/Makefile.am:
14164           Fix buildbot again.
14165
14166 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14167
14168         * docs/pwg/building-testapp.xml:
14169           Add extra check.
14170         * examples/pwg/Makefile.am:
14171           Fix buildbot.
14172
14173 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14174
14175         * configure.ac:
14176         * examples/Makefile.am:
14177         * examples/pwg/Makefile.am:
14178         * examples/pwg/extract.pl:
14179           Enable building the PWG examples.
14180         * docs/pwg/advanced-interfaces.xml:
14181           Add URI interface stub.
14182         * docs/pwg/advanced-types.xml:
14183         * docs/pwg/other-autoplugger.xml:
14184         * docs/pwg/appendix-porting.xml:
14185         * docs/pwg/pwg.xml:
14186           Add porting guide (mostly stubs), remove autoplugging (see ADM).
14187         * docs/pwg/building-boiler.xml:
14188         * docs/pwg/building-chainfn.xml:
14189         * docs/pwg/building-pads.xml:
14190         * docs/pwg/building-props.xml:
14191         * docs/pwg/building-state.xml:
14192         * docs/pwg/building-testapp.xml:
14193           Update the building-*.xml parts for 0.9 changes. All examples
14194           code blocks compile in examples/pwg/*.
14195
14196 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14197
14198         * docs/manual/advanced-autoplugging.xml:
14199         * docs/manual/appendix-checklist.xml:
14200         * docs/manual/appendix-integration.xml:
14201         * docs/manual/highlevel-components.xml:
14202           Fix playbin/decodebin examples, update docs a bit, mention bus
14203           instead of signals in various places, mention kmplayer and
14204           kaffeine since they have a working GStreamer backend in the KDE
14205           section.
14206
14207 2005-06-30  Wim Taymans  <wim@fluendo.com>
14208
14209         * CHANGES-0.9:
14210         * docs/design/draft-ghostpads.txt:
14211         * docs/design/draft-push-pull.txt:
14212         * docs/design/draft-query.txt:
14213         * docs/design/part-TODO.txt:
14214         * docs/design/part-query.txt:
14215         Added CHANGES-0.9 doc, updated status of other docs.
14216         
14217         * gst/gstquery.h:
14218         Remove "hmm" macro
14219
14220 2005-06-30  Wim Taymans  <wim@fluendo.com>
14221
14222         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14223         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14224         (gst_base_sink_change_state):
14225         * gst/base/gstbasesink.h:
14226         Some tweaks, only EOS and a buffer complete a preroll.
14227
14228 2005-06-30  Andy Wingo  <wingo@pobox.com>
14229
14230         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14231         activate_push down to the internal pad as well.
14232
14233 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
14234
14235         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14236
14237         * gst/gsttaginterface.c:
14238           Some documentation fixes (#307394 and #307397).
14239
14240 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
14241
14242         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14243
14244         * gst/gstvalue.c: (gst_value_intersect_list):
14245           Fix memleak (#309125).
14246
14247 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14248
14249         * docs/manual/advanced-dataaccess.xml:
14250           Fix fakesrc example to compile; doesn't work, bug somewhere...?
14251         * docs/manual/basics-pads.xml:
14252           Add reference for filtered caps to above chapter.
14253
14254 2005-06-30  Wim Taymans  <wim@fluendo.com>
14255
14256         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14257         (gst_bin_change_state):
14258         Probes are gone.
14259         Lame attempt at making the state change function a bit
14260         more readable.
14261
14262 2005-06-30  Wim Taymans  <wim@fluendo.com>
14263
14264         * docs/design/part-clocks.txt:
14265         * docs/design/part-element-sink.txt:
14266         * docs/design/part-events.txt:
14267         * docs/design/part-preroll.txt:
14268         * docs/design/part-states.txt:
14269         Some more tweeks and additions to the docs.
14270
14271 2005-06-30  Wim Taymans  <wim@fluendo.com>
14272
14273         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14274         (default_have_data), (gst_pad_class_init), (gst_pad_init),
14275         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14276         (gst_pad_check_pull_range), (gst_pad_get_range),
14277         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14278         * gst/gstpad.h:
14279         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14280         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14281         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14282         (gst_pad_remove_buffer_probe):
14283         Removed atomic operations, use existing LOCK.
14284         Move exception handling out of main code path.
14285
14286 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14287
14288         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14289         (silly_return_true_function), (gst_pad_class_init),
14290         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14291         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14292         (gst_pad_send_event):
14293           Fix accumulator, add default value by using _emitv() instead
14294           of _emit() for signal emission.
14295
14296 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14297
14298         * docs/manual/advanced-dataaccess.xml:
14299         * examples/manual/Makefile.am:
14300           Add probe example.
14301         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14302           Make work (??).
14303
14304 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
14305
14306         * gst/elements/gstfilesink.c: (gst_filesink_render):
14307           Simplify code so that we don't have to handle short
14308           writes and return GST_FLOW_ERROR if an error occured.
14309
14310 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14311
14312         * docs/gst/gstreamer-docs.sgml:
14313           Remove probes more.
14314
14315 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14316
14317         * docs/gst/gstreamer-sections.txt:
14318         * docs/gst/tmpl/gstpad.sgml:
14319         * docs/gst/tmpl/gstprobe.sgml:
14320         * gst/Makefile.am:
14321         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14322         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14323         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14324         (gst_pad_push_event), (gst_pad_send_event):
14325         * gst/gstpad.h:
14326         * gst/gstutils.c: (gst_pad_add_data_probe),
14327         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14328         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14329         (gst_pad_remove_buffer_probe):
14330         * gst/gstutils.h:
14331           Remove old probes, add new g-signal-based probes and some utility
14332           functions.
14333
14334 2005-06-29  Edward Hervey  <edward@fluendo.com>
14335
14336         * gst/gstelementfactory.c:
14337         * gst/gstutils.h:
14338         * gst/gstutils.c:
14339         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14340         the definition to the header file.
14341
14342 2005-06-29  Andy Wingo  <wingo@pobox.com>
14343
14344         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14345         plugins from the source directory.
14346
14347 2005-06-29  Wim Taymans  <wim@fluendo.com>
14348
14349         * docs/gst/tmpl/gstbuffer.sgml:
14350         * docs/gst/tmpl/gstclock.sgml:
14351         Some fixings for blantently wrong text.
14352
14353 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14354
14355         * check/Makefile.am:
14356         * gst/gst.c: (add_path_func), (init_pre):
14357         * gst/gstregistry.c: (gst_registry_add_path):
14358           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14359           only scan the GST_PLUGIN_PATH locations, and not add
14360           system locations
14361
14362 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14363
14364         * docs/gst/gstreamer-sections.txt:
14365         * docs/gst/tmpl/gstbasesrc.sgml:
14366         * gst/gstelement.c:
14367         * gst/gstelement.h:
14368         * gst/gstevent.c:
14369         * gst/gstutils.c:
14370           doc fixes
14371
14372 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14373
14374         * docs/manual/advanced-autoplugging.xml:
14375           Fix autoplugging example.
14376
14377 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14378
14379         * docs/manual/advanced-autoplugging.xml:
14380         * docs/manual/mime-world.fig:
14381           Try to get autoplugging working, fix type detection. Fix text
14382           in hello-world image.
14383
14384 2005-06-29  Wim Taymans  <wim@fluendo.com>
14385
14386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14387         (gst_base_sink_change_state):
14388         Small debug line.
14389
14390         * gst/gstclock.h:
14391         map SIGNAL and BROADCAST to the right function.
14392
14393         * gst/gstobject.h:
14394         Remove redundant braces.
14395
14396         * gst/gstpad.c: (gst_pad_set_caps):
14397         Don't call setcaps function when reseting caps to NULL.
14398
14399         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14400         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14401         (gst_system_clock_id_unschedule):
14402         Use BROADCAST as this is what we do.
14403
14404 2005-06-29  Wim Taymans  <wim@fluendo.com>
14405
14406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14407         We are actually prerolling before commiting the state
14408         change. 
14409
14410 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14411
14412         * docs/manual/advanced-clocks.xml:
14413         * docs/manual/advanced-interfaces.xml:
14414         * docs/manual/advanced-metadata.xml:
14415         * docs/manual/advanced-position.xml:
14416         * docs/manual/advanced-schedulers.xml:
14417         * docs/manual/advanced-threads.xml:
14418         * docs/manual/appendix-porting.xml:
14419         * docs/manual/basics-bins.xml:
14420         * docs/manual/basics-bus.xml:
14421         * docs/manual/basics-elements.xml:
14422         * docs/manual/basics-helloworld.xml:
14423         * docs/manual/basics-pads.xml:
14424         * docs/manual/highlevel-components.xml:
14425         * docs/manual/manual.xml:
14426         * docs/manual/thread.fig:
14427           Update (until threads/scheduling) Application Development Manual;
14428           remove GstThread, add GstBus, add simple porting checklist, add
14429           documentation for tag writing, clocks, make all examples until this
14430           part compile and run.
14431         * examples/manual/Makefile.am:
14432           Update from changes to Application Development Manual; add bus
14433           example, remove thread example.
14434
14435 2005-06-28  Wim Taymans  <wim@fluendo.com>
14436
14437         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14438         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14439         (gst_bus_source_dispatch):
14440         Add debugging messages.
14441         Make internal methods static.
14442         Handle the case where the bus is flushed in the handler.
14443         
14444         * gst/gstelement.c: (gst_element_get_bus):
14445         Fix refcount in _get_bus();
14446
14447         * gst/gstpipeline.c: (gst_pipeline_change_state),
14448         (gst_pipeline_get_clock_func):
14449         Clock refcounting fixes.
14450         Handle the case where preroll timed out more gracefully.
14451         
14452         * gst/gstsystemclock.c: (gst_system_clock_dispose):
14453         Clean up the internal thread in dispose. This is needed
14454         for subclasses that actually get disposed.
14455         
14456         * gst/schedulers/threadscheduler.c:
14457         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14458         (gst_thread_scheduler_dispose):
14459         Free thread pool in dispose.
14460
14461 2005-06-28  Andy Wingo  <wingo@pobox.com>
14462
14463         * tests/network-clock-utils.scm (debug, print-event): New utils.
14464
14465         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14466         (*packet-loss*): Unified loss probability.
14467         (network-time): Report out-of-band events.
14468
14469         * tests/plot-data: Add support for out-of-band events. Hack it
14470         into this script instead of passing it down the pipe; should fix
14471         this later.
14472
14473 2005-06-28  Wim Taymans  <wim@fluendo.com>
14474
14475         * docs/gst/gstreamer.types:
14476         * docs/gst/tmpl/gstbasesrc.sgml:
14477         * docs/gst/tmpl/gstpad.sgml:
14478         Docs fixes.
14479
14480 2005-06-28  Wim Taymans  <wim@fluendo.com>
14481
14482         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14483         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14484         (gst_proxy_pad_do_fixatecaps):
14485         Correctly proxy the check_pull_range function.
14486
14487 2005-06-28  Andy Wingo  <wingo@pobox.com>
14488
14489         * tests/network-clock.scm: Removed need for slib.
14490         
14491 2005-06-28  Wim Taymans  <wim@fluendo.com>
14492
14493         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14494         (gst_basesink_preroll_queue_flush):
14495         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14496         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14497         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14498         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14499         (gst_proxy_pad_set_property):
14500         * gst/gstpad.c:
14501         * gst/gstpad.h:
14502         * gst/gstqueue.c: (gst_queue_init):
14503         The deprecated pad loop function is removed now.
14504
14505 2005-06-28  Andy Wingo  <wingo@pobox.com>
14506
14507         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14508         New parameters, simulate network packet loss.
14509
14510         * tests/network-clock-utils.scm: Initialize the RNG.
14511
14512 2005-06-28  Wim Taymans  <wim@fluendo.com>
14513
14514         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14515         (gst_basesink_event), (gst_basesink_deactivate):
14516         Flushing the preroll queue always needs to unlock the waiters.
14517
14518 2005-06-28  Edward Hervey  <edward@fluendo.com>
14519
14520         * gst/gstpipeline.c: (gst_pipeline_send_event): 
14521         Wheen a seek was successful on a pipeline, set the stream_time to the
14522         seek offset in order to have a synchronized stream_time.
14523
14524 2005-06-28  Wim Taymans  <wim@fluendo.com>
14525
14526         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14527         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14528         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14529         (gst_proxy_pad_do_fixatecaps):
14530         Call wrapper function instead of just calling the function
14531         pointers. This takes care of any locking and whatmore.
14532
14533 2005-06-28  Wim Taymans  <wim@fluendo.com>
14534
14535         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14536         (gst_pad_pull_range):
14537         * gst/gstpad.h:
14538         CONNECTED -> LINKED.
14539
14540 2005-06-28  Andy Wingo  <wingo@pobox.com>
14541
14542         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14543         source-munging commit!!!
14544
14545         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
14546         (gst_object_sink): Take gpointer arguments, not GstObject --
14547         avoids casts. Like GLib.
14548
14549         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14550         activate.
14551
14552 2005-06-27  Andy Wingo  <wingo@pobox.com>
14553
14554         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14555         remaining buffer.
14556
14557         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14558         returns a sorted copy of the trace list.
14559         (gst_alloc_trace_print_live): New API, only prints traces with
14560         live objects. Sort the list.
14561         (gst_alloc_trace_print_all): Sort the list.
14562         (gst_alloc_trace_print): Align columns.
14563
14564         * gst/elements/gstttypefindelement.c:
14565         * gst/elements/gsttee.c:
14566         * gst/base/gstbasesrc.c:
14567         * gst/base/gstbasesink.c:
14568         * gst/base/gstbasetransform.c:
14569         * gst/gstqueue.c: Adapt for pad activation changes.
14570
14571         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14572         sched.
14573         (gst_pipeline_dispose): Drop ref on sched.
14574
14575         * gst/gstpad.c (gst_pad_init): Set the default activate func.
14576         (gst_pad_activate_default): Push mode by default.
14577         (pre_activate_switch, post_activate_switch): New stubs, things to
14578         do before and after switching activation modes on pads.
14579         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14580         the pad's activate function to choose which mode to activate.
14581         Shortcut on deactivation and call the right function directly.
14582         (gst_pad_activate_pull): New API, (de)activates a pad in pull
14583         mode.
14584         (gst_pad_activate_push): New API, same for push mode.
14585         (gst_pad_set_activate_function) 
14586         (gst_pad_set_activatepull_function) 
14587         (gst_pad_set_activatepush_function): Setters for new API.
14588
14589         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14590         Trace all miniobjects.
14591         (gst_mini_object_make_writable): Unref the arg if we copy, like
14592         gst_caps_make_writable.
14593
14594         * gst/gstmessage.c (_gst_message_initialize): No trace init.
14595
14596         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
14597         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14598         Adapt for new pad API.
14599
14600         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14601
14602         * gst/gstelement.h:
14603         * gst/gstelement.c (gst_element_iterate_src_pads) 
14604         (gst_element_iterate_sink_pads): New API functions.
14605         
14606         * gst/gstelement.c (iterator_fold_with_resync): New utility,
14607         should fold into gstiterator.c in some form.
14608         (gst_element_pads_activate): Simplified via use of fold and
14609         delegation of decisions to gstpad->activate.
14610
14611         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14612         help in debugging.
14613
14614         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14615         class once in init, like gstmessage. Didn't run into this issue
14616         but it seems correct. Don't initialize a trace, gstminiobject does
14617         that.
14618
14619         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14620         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14621         to the bus.
14622         (assert_live_count): New util function, uses alloc traces to check
14623         cleanup.
14624
14625         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14626         To be modified when unlink drops the internal pad.
14627
14628 2005-06-27  Wim Taymans  <wim@fluendo.com>
14629
14630         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14631         (gst_bin_change_state):
14632         Cleanup the get_state() function a little, make sure it
14633         iterates the same set of elements.
14634         Added stub iterate_state_order().
14635
14636 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14637
14638         * docs/gst/gstreamer-docs.sgml:
14639         * docs/gst/gstreamer-sections.txt:
14640         * docs/gst/gstreamer.types:
14641         * docs/gst/tmpl/gstbasesink.sgml:
14642         * docs/gst/tmpl/gstbasesrc.sgml:
14643         * docs/gst/tmpl/gstbasetransform.sgml:
14644         * docs/gst/tmpl/gstelement.sgml:
14645         * docs/gst/tmpl/gstiterator.sgml:
14646         * gst/base/gstbasesrc.c:
14647         * gst/base/gstbasesrc.h:
14648         * gst/base/gstbasetransform.h:
14649         * gst/gstelement.c:
14650         * gst/gstiterator.h:
14651           adding basetransform and iterator docs
14652
14653 2005-06-27  Andy Wingo  <wingo@pobox.com>
14654
14655         * docs/design/part-activation.txt: Notes on how activation should
14656         work -- not quite implemented yet.
14657
14658 2005-06-25  Wim Taymans  <wim@fluendo.com>
14659
14660         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14661         At least get the chain function correct, needs more
14662         fixing.
14663
14664 2005-06-25  Wim Taymans  <wim@fluendo.com>
14665
14666         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14667         (gst_basesink_handle_object), (gst_basesink_event),
14668         (gst_basesink_do_sync), (gst_basesink_handle_event),
14669         (gst_basesink_change_state):
14670         * gst/gsttask.h:
14671         Right, two problems here: ghostpads don't take locks and
14672         glib _rec_mutex_lock_full() with depth==0 still locks.
14673         Catch illegal locking and g_warn them.
14674
14675 2005-06-25  Wim Taymans  <wim@fluendo.com>
14676
14677         * check/states/sinks.c: (START_TEST), (gst_object_suite):
14678         Have to check for completion now...
14679
14680 2005-06-25  Wim Taymans  <wim@fluendo.com>
14681
14682         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14683         (gst_basesink_handle_object), (gst_basesink_event),
14684         (gst_basesink_do_sync), (gst_basesink_handle_event),
14685         (gst_basesink_change_state):
14686         * gst/gstpad.h:
14687         Unlock STREAM_LOCK whatever the recursion was.
14688
14689 2005-06-25  Wim Taymans  <wim@fluendo.com>
14690
14691         * gst/base/gstbasesink.c: (gst_basesink_set_property),
14692         (gst_basesink_preroll_queue_empty),
14693         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
14694         (gst_basesink_event), (gst_basesink_do_sync),
14695         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
14696         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
14697         (gst_basesink_change_state):
14698         Reworked the base sink, handle event and buffer serialisation
14699         correctly and removed possible deadlock.
14700         Handle EOS correctly.
14701
14702 2005-06-25  Wim Taymans  <wim@fluendo.com>
14703
14704         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
14705         (gst_pipeline_change_state):
14706         * tools/gst-launch.c: (check_intr), (event_loop), (main):
14707         Allow elements to post EOS in the state change function.
14708         Fix up -launch, make it exit the poll loop when the
14709         pipeline actually changed state.
14710         Fix up warning parsing in -launch.
14711
14712 2005-06-25  Wim Taymans  <wim@fluendo.com>
14713
14714         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
14715         (gst_tee_sink_activate):
14716         Core takes STREAM_LOCK for us now.
14717
14718 2005-06-25  Wim Taymans  <wim@fluendo.com>
14719
14720         * gst/gstelement.c: (gst_element_get_state_func),
14721         (gst_element_set_state):
14722         * gst/gstelement.h:
14723         * gst/gstmessage.c: (gst_message_parse_error),
14724         (gst_message_parse_warning):
14725         Keep track of current target state while performing a state
14726         change so that subclasses can do something interesting.
14727         Fix parsing of warning/error messages when GError is NULL.
14728
14729 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14730
14731         * docs/gst/Makefile.am:
14732         * docs/gst/gstreamer-docs.sgml:
14733         * docs/gst/gstreamer-sections.txt:
14734         * docs/gst/gstreamer.types:
14735         * docs/gst/tmpl/gstbasesink.sgml:
14736         * docs/gst/tmpl/gstbasesrc.sgml:
14737         * docs/gst/tmpl/gstbin.sgml:
14738         * docs/gst/tmpl/gstcompat.sgml:
14739         * docs/gst/tmpl/gstfakesink.sgml:
14740         * docs/gst/tmpl/gstfakesrc.sgml:
14741         * docs/gst/tmpl/gstfilesink.sgml:
14742         * docs/gst/tmpl/gstfilesrc.sgml:
14743         * docs/gst/tmpl/gstindex.sgml:
14744         * docs/manual/appendix-quotes.xml:
14745         * gst/base/gstbasesrc.h:
14746         * gst/elements/gstfakesrc.h:
14747         * gst/gstmessage.h:
14748           start pulling in base classes and elements in our docs
14749
14750 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
14751
14752         * docs/gst/Makefile.am:
14753         * docs/libs/Makefile.am:
14754           fixed make distcheck with gtk-doc 1.3
14755
14756 2005-06-23  Wim Taymans  <wim@fluendo.com>
14757
14758         * gst/gstelement.c: (gst_element_get_state_func),
14759         (gst_element_set_state), (gst_element_change_state):
14760         When the state did not change, also report NO_PREROLL
14761         when it matters.
14762
14763 2005-06-23  Wim Taymans  <wim@fluendo.com>
14764
14765         * gst/gstpad.c: (gst_pad_event_default):
14766         * gst/gstqueue.c: (gst_queue_loop):
14767         No unsafe task pausing please.
14768
14769 2005-06-23  Wim Taymans  <wim@fluendo.com>
14770
14771         * gst/schedulers/threadscheduler.c:
14772         (gst_thread_scheduler_task_start),
14773         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
14774         Ref the task before pushing it on the threadpool. This
14775         makes sure that we have a ref when the threadfunction is
14776         actually called.
14777
14778 2005-06-23  Andy Wingo  <wingo@pobox.com>
14779
14780         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
14781         offset is greater than the file's size.
14782
14783         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
14784         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
14785         * gst/gstobject.c (gst_object_class_init): Make the class lock
14786         recursive. Wim won't let me drop deep_notify. Decodebin works
14787         again, whoopdy doo.
14788
14789         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
14790         internal pad, and hacks accordingly. Doesn't do it on the target
14791         pad because we change its caps. Probably catches all cases of
14792         interest tho.
14793         (gst_ghost_pad_set_property): Connect to notify::caps as
14794         appropritate.
14795
14796         * tests/network-clock.scm (plot-simulation): Pipe data to the
14797         elite python skript.
14798
14799         * tests/network-clock-utils.scm (define-parameter): New macro,
14800         defines a parameter that can be set via the command line.
14801         (set-parameter!, parse-parameter-arguments): Command line args
14802         parser.
14803
14804         * tests/plot-data: Simple matplotlib-based plotter, takes input on
14805         stdin.
14806
14807 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
14808
14809         * gst/elements/gsttypefindelement.c:
14810         (gst_type_find_element_handle_event):
14811           Don't restart typefinding on a discont.
14812         * gst/gstelement.c: (gst_element_set_state):
14813           Debug spelling fix.
14814         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
14815           Allow changing mode of an active pad.
14816           Debug output fixes.
14817         * gst/registries/gstlibxmlregistry.c: (load_feature):
14818           Don't cast a static pad template to a normal pad template.
14819
14820 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14821
14822         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14823         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14824           remove gst_strtoll completely, since it didn't actually do
14825           anything more than what g_ascii_strtoull already does.
14826           check for range errors when deserializing
14827           do a cast for the unsigned cases; but further fixing needs
14828           a decision on what the interpretation of "(int)" and
14829           deserialization should be for values that fall outside the
14830           type's boundaries (ie, refuse, or interpret as casting)
14831
14832 2005-06-23  Wim Taymans  <wim@fluendo.com>
14833
14834         * check/Makefile.am:
14835         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
14836         * docs/design/part-live-source.txt:
14837         * docs/design/part-states.txt:
14838         * gst/base/gstbasesrc.c: (gst_basesrc_init),
14839         (gst_basesrc_set_live), (gst_basesrc_is_live),
14840         (gst_basesrc_get_range), (gst_basesrc_activate),
14841         (gst_basesrc_change_state):
14842         * gst/base/gstbasesrc.h:
14843         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14844         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
14845         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
14846         * gst/gstelement.c: (gst_element_get_state_func),
14847         (gst_element_set_state):
14848         * gst/gstelement.h:
14849         * gst/gsttypes.h:
14850         * tools/gst-launch.c: (event_loop), (main):
14851         Added support for live sources and other elements that
14852         cannot do preroll.
14853         Updated design docs, added live-source design doc.
14854         Implemented live source functionality in basesrc
14855         Fix error condition in _bin_get_state()
14856         Implement live source handling in -launch.
14857         Added check for live sources.
14858         Fixed case in GstBin where elements were changed state
14859         multiple times.
14860
14861
14862 2005-06-23  Andy Wingo  <wingo@pobox.com>
14863
14864         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
14865         borken refcounting.
14866
14867         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
14868         gst_caps_replace takes care of this for us.
14869
14870         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
14871         gst_pad_set_caps on the target, not just its setcaps() function.
14872
14873         * tests/network-clock.scm: 
14874         * tests/network-clock-utils.scm: A network clock simulator.
14875         Something of an algorithmic testbed before doing something in C.
14876
14877 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14878
14879         * check/Makefile.am:
14880         * check/gst/capslist.h:
14881           copy over from 0.8, and add two with bitmasks specified with
14882           (int) 0xFF...
14883         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14884           add test to parse everything from capslist.h
14885         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
14886         (main):
14887           add test for structure deserialization
14888         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14889           add tests for deserialization of strings to int types
14890         * gst/gststructure.c: (gst_structure_nth_field_name):
14891         * gst/gststructure.h:
14892           add a way to get the name of a field referenced by index
14893         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14894           instead of checking if the resulting long long lies between
14895           min and max, we check if the long long would fit into
14896           a number of bytes for the final type.
14897           This fixes cases where a string represents 2^32 - 1, which
14898           when cast to int would be the (valid) -1, but is bigger than
14899           G_MAXINT
14900
14901 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14902
14903         * gst/parse/grammar.y:
14904           add a log line for type deserialization
14905
14906 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14907
14908         * check/gst/gstvalue.c: (START_TEST):
14909         * gst/gstvalue.c: (gst_value_deserialize):
14910           return long long, not int, so gint64 deserialization actually
14911           works.  Is there any flag that makes the compiler check this ?
14912           Fixes #308559
14913
14914 2005-06-22  Wim Taymans  <wim@fluendo.com>
14915
14916         * gst/gstbuffer.h:
14917         Added convenience macros for setting buffers in GValue.
14918
14919 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14920
14921         * check/gst/.cvsignore:
14922         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14923           add a test deserializing int64, and comment part out because
14924           it fails, yay !
14925
14926 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14927
14928         * check/Makefile.am:
14929         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
14930         * testsuite/Makefile.am:
14931         * testsuite/caps/Makefile.am:
14932         * testsuite/caps/value_serialize.c:
14933         * testsuite/test_gst_init.c:
14934           move a value_serialize test over
14935
14936 2005-06-20  Wim Taymans  <wim@fluendo.com>
14937
14938         * gst/gstpad.c:
14939         Small doc updates.
14940         
14941         * gst/gstvalue.c: (gst_value_compare_buffer),
14942         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
14943         (gst_value_compare_flags), (gst_value_serialize_flags),
14944         (gst_value_deserialize_flags), (_gst_value_initialize):
14945         Fix serialisation of buffers, they are not boxed types anymore
14946
14947 2005-06-20  Wim Taymans  <wim@fluendo.com>
14948
14949         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14950         Testcase to show error in buffer-on-caps serialisation.
14951
14952 2005-06-20  Andy Wingo  <wingo@pobox.com>
14953
14954         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
14955         will be adding to later.
14956
14957         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
14958         if its socks fill with rocks.
14959         (gst_system_clock_obtain): Set the name on object construction.
14960         Avoid double-checked locking.
14961
14962 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
14963
14964         * gst/gsturi.c: (gst_element_make_from_uri):
14965           Fix potential endless loop.
14966
14967 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
14968
14969         * check/Makefile.am:
14970           add gsttag
14971         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
14972         (main):
14973           move over from testsuite dir and clean up
14974         * configure.ac:
14975         * gst/gsttag.c:
14976         * testsuite/Makefile.am:
14977         * testsuite/tags/.cvsignore:
14978         * testsuite/tags/Makefile.am:
14979         * testsuite/tags/merge.c:
14980           remove testsuite/tags
14981
14982 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
14983
14984         * docs/gst/gstreamer-sections.txt:
14985         * docs/gst/tmpl/gstenumtypes.sgml:
14986         * win32/gstenumtypes.c:
14987           clean up documentation build a little
14988
14989 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
14990
14991         * check/gstcheck.h:
14992           add macros for checking refcounts on objects and caps
14993         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
14994           add some more unit tests
14995         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14996         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
14997           fix leaked refcounts (I hope :)) so unittest works
14998         * gst/gstpad.h:
14999           whitespace removal
15000
15001 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15002
15003         * configure.ac: back to HEAD
15004
15005 === release 0.9.1 ===
15006
15007 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15008
15009         * NEWS:
15010         * RELEASE:
15011           updated
15012
15013 2005-06-17  Andy Wingo  <wingo@pobox.com>
15014
15015         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15016         assert; it's always possible that the pad gets deactivated in
15017         between the checks in gstpad.c and the implementation. Rely on
15018         finish_preroll() to return a FLUSHING or similar instead of on the
15019         assert.
15020         
15021         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15022         clock and post an EOS message if we come out of finish_preroll in
15023         the playing state.
15024
15025 2005-06-16  David Schleef  <ds@schleef.org>
15026
15027         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15028         (gst_capsfilter_set_property): Allow NULL as possible value
15029         for filter_caps property, indicating GST_CAPS_ANY.
15030
15031 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15032
15033         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15034           fix debug output
15035         * gst/schedulers/Makefile.am:
15036           use libgst prefix
15037         * gstreamer.spec.in:
15038           fix spec for it
15039
15040 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15041
15042         * gstreamer.spec.in:
15043           clean up
15044
15045 2005-06-08  Andy Wingo  <wingo@pobox.com>
15046
15047         * gst/gstutils.c: RPAD fixes all around.
15048         (gst_element_link_pads): Refcounting fixes.
15049
15050         * tools/gst-inspect.c:
15051         * tools/gst-xmlinspect.c:
15052         * parse/grammar.y:
15053         * gst/base/gsttypefindhelper.c:
15054         * gst/base/gstbasesink.c:
15055         * gst/gstqueue.c: RPAD fixes.
15056
15057         * gst/gstghostpad.h:
15058         * gst/gstghostpad.c: New ghost pad implementation as full proxy
15059         pads. The tricky thing is they provide both source and sink
15060         interfaces, since they proxy the internal pad for the external
15061         pad, and vice versa. Implement with lower-level ProxyPad objects,
15062         with the interior proxy pad as a child of the exterior ghost pad.
15063         Should write a doc on this.
15064         
15065         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15066         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15067         gst_object API.
15068         
15069         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15070         pads are real pads. No ghost pads in this file. Not documenting
15071         the myriad s/RPAD/PAD/ and REALIZE fixes.
15072         (gst_pad_class_init): Add properties for "direction" and
15073         "template". Both are construct-only, so they can't change during
15074         the life of the pad. Fixes properly deriving from GstPad.
15075         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15076         derived objects, just set properties when creating the objects via
15077         g_object_new.
15078         (gst_pad_get_parent): Implement as a function, return NULL if the
15079         parent is not an element.
15080         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15081         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15082         
15083         * gst/gstobject.c (gst_object_class_init): Make name a construct
15084         property. Don't set it in the object init.
15085
15086         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15087         with UNKNOWN direction.
15088         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15089         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15090         (gst_element_remove_pad): Remove ghost-pad special cases.
15091         (gst_element_pads_activate): Remove rpad cruft.
15092
15093         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15094         catch the pad's-parent-not-an-element case.
15095
15096         * gst/gst.h: Include gstghostpad.h.
15097
15098         * gst/gst.c (init_post): No more real, ghost pads.
15099
15100         * gst/Makefile.am: Add gstghostpad.[ch].
15101
15102         * check/Makefile.am:
15103         * check/gst/gstbin.c:
15104         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15105         into a bin creates ghost pads, and that the refcounts are right.
15106         Partly moved from gstbin.c.
15107
15108 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15109
15110         * check/gst-libs/.cvsignore:
15111         * check/gst/.cvsignore:
15112         * check/pipelines/.cvsignore:
15113           ignore more
15114         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15115         (START_TEST), (cleanup_suite), (main):
15116           add some tests related to cleanup after running pipelines
15117
15118 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15119
15120         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15121           add a testsuite for GstBuffer
15122
15123 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15124
15125         * gst/gstminiobject.h:
15126           add defines for accessing the refcount
15127
15128 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
15129
15130         * Makefile.am: added support for html unit test coverage reports
15131
15132 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
15133
15134         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15135           Free existing caps if the capsfilter changes. Add a FIXME about
15136           setting those caps on the pads.
15137
15138         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15139           Before adding a ghost pad to a parent bin, check that there isn't
15140           already one for the element on the bin. Prevents infinite recursion
15141           when using decodebin in parse pipelines. Andy says he'll rewrite the
15142           way this works anyway, so ignore the hack.
15143
15144 2005-06-02  Andy Wingo  <wingo@pobox.com>
15145
15146         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15147         file size, pass it on to the type find helper.
15148
15149         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15150         segment_start and segment_end properly according to the seek
15151         method. Segment_end is still a bit flaky because offset can be
15152         negative for CUR and END cases, but it takes -1 as an "unset"
15153         value.
15154
15155 2005-06-02  Wim Taymans  <wim@fluendo.com>
15156
15157         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15158         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15159         (gst_basesink_activate):
15160         * gst/base/gstbasesink.h:
15161         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15162         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15163         (gst_pad_query), (gst_pad_start_task):
15164         * gst/gstpad.h:
15165         * gst/gstqueue.c: (gst_queue_bufferalloc),
15166         (gst_queue_handle_sink_event), (gst_queue_chain):
15167         Bufferalloc: return GstFlowReturn to more accuratly report
15168         why allocation failed.
15169
15170 2005-06-02  Wim Taymans  <wim@fluendo.com>
15171
15172         * gst/gstpipeline.c: (gst_pipeline_send_event):
15173         Take snapshot of state without blocking.
15174
15175 2005-06-02  Wim Taymans  <wim@fluendo.com>
15176
15177         * docs/design/part-TODO.txt:
15178         * docs/design/part-caps.txt:
15179         * docs/design/part-clocks.txt:
15180         * docs/design/part-negotiation.txt:
15181         * docs/design/part-preroll.txt:
15182         Small doc updates 
15183
15184 2005-05-30  Wim Taymans  <wim@fluendo.com>
15185
15186         * gst/elements/gstidentity.c: (gst_identity_event),
15187         (gst_identity_transform), (gst_identity_get_property):
15188         Protect last_message property as it is accessed from
15189         multiple threads.
15190
15191 2005-05-30  Wim Taymans  <wim@fluendo.com>
15192
15193         * gst/gstelement.c: (gst_element_init),
15194         (gst_element_pads_activate), (gst_element_change_state):
15195         Slicker pad activation code.
15196
15197 2005-05-30  Wim Taymans  <wim@fluendo.com>
15198
15199         * gst/Makefile.am:
15200         * gst/gstelement.h:
15201         * gst/gstelementfactory.h:
15202         * gst/gsttypes.h:
15203         Move elementfactory methods to separate .h file.
15204
15205 2005-05-30  Wim Taymans  <wim@fluendo.com>
15206
15207         * docs/design/part-overview.txt:
15208         * gst/gstsystemclock.h:
15209         Small typo fixes, doc updates.
15210
15211 2005-05-30  Wim Taymans  <wim@fluendo.com>
15212
15213         * gst/gst.c: (gst_init_get_popt_table), (init_post),
15214         (init_popt_callback):
15215         Remove cpu-opt flag.
15216
15217 2005-05-30  Wim Taymans  <wim@fluendo.com>
15218
15219         * gst/gstbuffer.c: (gst_subbuffer_finalize),
15220         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15221         * gst/gstbuffer.h:
15222         Avoid typechecking in places where not needed.
15223         Added accessor for malloc_data.
15224
15225 2005-05-30  Wim Taymans  <wim@fluendo.com>
15226
15227         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15228         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15229         (gst_pad_configure_sink), (gst_pad_configure_src),
15230         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15231         (gst_pad_start_task):
15232         Propagate errors from _set_caps() in configure_src/sink
15233         functions instead of returning TRUE.
15234         FLUSH events can travel up and downstream
15235
15236
15237 2005-05-30  Wim Taymans  <wim@fluendo.com>
15238
15239         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15240         (gst_basesink_activate):
15241         Handle EOS in preroll.
15242
15243 2005-05-30  Wim Taymans  <wim@fluendo.com>
15244
15245         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15246         (gst_queue_loop), (gst_queue_handle_src_event):
15247         Remove old pieces of code
15248         Flushing the queue in an upstream event is a very bad idea.
15249
15250 2005-05-26  Andy Wingo  <wingo@pobox.com>
15251
15252         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15253         gst_value_set_mini_object so as to add a ref on the object (which
15254         will be removed when the value is unset).
15255
15256         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15257         arg type in ::handoff.
15258
15259         * gst/gstelement.c (gst_element_change_state): Also deactivate
15260         pads in READY->NULL, just in case the element didn't make it to
15261         PAUSED. Wingo tested, Wim approved.
15262
15263 2005-05-26  Wim Taymans  <wim@fluendo.com>
15264
15265         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15266         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15267         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15268         A flushing pad cannot be used to alloc_buffer from.
15269
15270 2005-05-26  Wim Taymans  <wim@fluendo.com>
15271
15272         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15273         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15274         (gst_bus_source_dispatch), (gst_bus_source_finalize),
15275         (gst_bus_create_watch), (gst_bus_add_watch_full):
15276         * gst/gstbus.h:
15277         Implement a real GSource and use g_main_context_wakeup() to
15278         signal new messages instead of the socketpair.
15279
15280 2005-05-25  Wim Taymans  <wim@fluendo.com>
15281
15282         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15283         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15284         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15285         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15286         (gst_pad_send_event), (gst_pad_start_task):
15287         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15288         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15289         (gst_queue_sink_activate), (gst_queue_src_activate),
15290         (gst_queue_change_state):
15291         * gst/gstqueue.h:
15292         Fix state changes for non sinks. We now change sinks, then elements
15293         with unconnected srcpads, then the rest.
15294         More efficient queue unlocking in flush and state changes.
15295         Set the pad activate mode even if it does not have an activate
15296         function.
15297
15298 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15299
15300         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15301           Don't go in pull mode for non-seekable sources.
15302         * gst/elements/gsttypefindelement.h:
15303         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15304         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15305         (free_entry), (stop_typefinding),
15306         (gst_type_find_element_handle_event), (find_peek),
15307         (gst_type_find_element_chain), (do_pull_typefind),
15308         (gst_type_find_element_change_state):
15309           Allow typefinding (w/o seeking) in push-mode, simplified version
15310           of what was in 0.8.
15311         * gst/gstutils.c: (gst_buffer_join):
15312         * gst/gstutils.h:
15313           gst_buffer_join() from 0.8.
15314
15315 2005-05-25  Wim Taymans  <wim@fluendo.com>
15316
15317         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15318         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15319         (gst_pad_send_event), (gst_pad_start_task):
15320         Disable attempt at mode switching until it is figured out.
15321
15322 2005-05-25  Wim Taymans  <wim@fluendo.com>
15323
15324         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15325         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15326         (gst_basesink_finish_preroll), (gst_basesink_chain),
15327         (gst_basesink_loop), (gst_basesink_activate),
15328         (gst_basesink_change_state):
15329         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15330         (gst_basesrc_get_range), (gst_basesrc_loop),
15331         (gst_basesrc_activate):
15332         * gst/elements/gsttee.c: (gst_tee_sink_activate):
15333         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15334         (gst_real_pad_init), (gst_real_pad_set_property),
15335         (gst_real_pad_get_property), (gst_pad_set_active),
15336         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15337         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15338         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15339         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15340         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15341         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15342         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15343         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15344         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15345         (gst_pad_stop_task):
15346         * gst/gstpad.h:
15347         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15348         (gst_queue_loop), (gst_queue_src_activate):
15349         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15350         (gst_task_get_state):
15351         * gst/gsttask.h:
15352         * gst/schedulers/threadscheduler.c:
15353         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15354         Implement gst_pad_pause/start/stop_task(), take STREAM lock
15355         in task function.
15356         Remove ACTIVE pad flag, use FLUSHING everywhere
15357         Added _pad_chain(), _pad_get_range() to call chain/getrange 
15358         functions.
15359         Add locks around IS_FLUSHING when reading.
15360         Take STREAM lock in chain(), get_range() functions so plugins
15361         don't need to take it anymore.
15362         
15363
15364
15365 2005-05-25  Wim Taymans  <wim@fluendo.com>
15366
15367         * tools/gst-launch.c: (event_loop):
15368         Unref message after using its contents instead of
15369         before.
15370
15371 2005-05-24  Wim Taymans  <wim@fluendo.com>
15372
15373         * docs/design/draft-ghostpads.txt:
15374         * docs/design/draft-push-pull.txt:
15375         * docs/design/draft-query.txt:
15376         * docs/design/part-overview.txt:
15377         Docs updates, added general overview doc.
15378
15379 2005-05-21  David Schleef  <ds@schleef.org>
15380
15381         * docs/gst/tmpl/old/GstBin.sgml:
15382         * docs/gst/tmpl/old/GstBuffer.sgml:
15383         * docs/gst/tmpl/old/GstCaps.sgml:
15384         * docs/gst/tmpl/old/GstClock.sgml:
15385         * docs/gst/tmpl/old/GstCompat.sgml:
15386         * docs/gst/tmpl/old/GstData.sgml:
15387         * docs/gst/tmpl/old/GstElement.sgml:
15388         * docs/gst/tmpl/old/GstEvent.sgml:
15389         * docs/gst/tmpl/old/GstIndex.sgml:
15390         * docs/gst/tmpl/old/GstStructure.sgml:
15391         * docs/gst/tmpl/old/GstTag.sgml:
15392         * docs/gst/tmpl/old/cothreads.sgml:
15393         * docs/gst/tmpl/old/cothreads_compat.sgml:
15394         * docs/gst/tmpl/old/gettext.sgml:
15395         * docs/gst/tmpl/old/gobject2gtk.sgml:
15396         * docs/gst/tmpl/old/grammar.tab.sgml:
15397         * docs/gst/tmpl/old/gst-i18n-app.sgml:
15398         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15399         * docs/gst/tmpl/old/gst_private.sgml:
15400         * docs/gst/tmpl/old/gstaggregator.sgml:
15401         * docs/gst/tmpl/old/gstarch.sgml:
15402         * docs/gst/tmpl/old/gstatomic_impl.sgml:
15403         * docs/gst/tmpl/old/gstbufferstore.sgml:
15404         * docs/gst/tmpl/old/gstdata_private.sgml:
15405         * docs/gst/tmpl/old/gstdisksink.sgml:
15406         * docs/gst/tmpl/old/gstdisksrc.sgml:
15407         * docs/gst/tmpl/old/gstelementfactory.sgml:
15408         * docs/gst/tmpl/old/gstextratypes.sgml:
15409         * docs/gst/tmpl/old/gstfakesink.sgml:
15410         * docs/gst/tmpl/old/gstfakesrc.sgml:
15411         * docs/gst/tmpl/old/gstfdsink.sgml:
15412         * docs/gst/tmpl/old/gstfdsrc.sgml:
15413         * docs/gst/tmpl/old/gstfilesink.sgml:
15414         * docs/gst/tmpl/old/gstfilesrc.sgml:
15415         * docs/gst/tmpl/old/gsthttpsrc.sgml:
15416         * docs/gst/tmpl/old/gstidentity.sgml:
15417         * docs/gst/tmpl/old/gstindexfactory.sgml:
15418         * docs/gst/tmpl/old/gstmarshal.sgml:
15419         * docs/gst/tmpl/old/gstmd5sink.sgml:
15420         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15421         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15422         * docs/gst/tmpl/old/gstpadtemplate.sgml:
15423         * docs/gst/tmpl/old/gstpipefilter.sgml:
15424         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15425         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15426         * docs/gst/tmpl/old/gstshaper.sgml:
15427         * docs/gst/tmpl/old/gstspider.sgml:
15428         * docs/gst/tmpl/old/gstspideridentity.sgml:
15429         * docs/gst/tmpl/old/gststatistics.sgml:
15430         * docs/gst/tmpl/old/gsttee.sgml:
15431         * docs/gst/tmpl/old/gsttimecache.sgml:
15432         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15433         * docs/gst/tmpl/old/gstxmlregistry.sgml:
15434         * docs/gst/tmpl/old/gthread-cothreads.sgml:
15435         * docs/gst/tmpl/old/types.sgml:
15436           I didn't intend to add these or check them in.
15437
15438 2005-05-19  David Schleef  <ds@schleef.org>
15439
15440         * configure.ac: Use -no-common everywhere.  In a sane world, it
15441           would be the default in libtool, because without it, you can't
15442           build DLLs on Windows.
15443         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15444         * docs/gst/gstreamer-sections.txt:
15445         * docs/gst/tmpl/gstcpu.sgml:
15446         * docs/gst/tmpl/gstdata.sgml:
15447         * docs/gst/tmpl/gstthread.sgml:
15448
15449 2005-05-19  David Schleef  <ds@schleef.org>
15450
15451         * gst/gstminiobject.c: (gst_value_set_mini_object),
15452         (gst_value_take_mini_object), (gst_value_get_mini_object):
15453         * gst/gstminiobject.h: Add GValue set/get functions.
15454
15455 2005-05-19  Wim Taymans  <wim@fluendo.com>
15456
15457         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15458         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15459         (gst_subbuffer_init), (gst_buffer_is_span_fast):
15460         * gst/gstbuffer.h:
15461         * gst/gstbus.c: (gst_bus_post):
15462         * gst/gstelement.c: (gst_element_get_random_pad):
15463         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15464         Make subbufer unref the parent in finalize.
15465         some more debugging info.
15466
15467
15468 2005-05-19  Wim Taymans  <wim@fluendo.com>
15469
15470         * gst/base/gstbasesink.c: (gst_basesink_class_init),
15471         (gst_basesink_init), (gst_basesink_finalize),
15472         (gst_basesink_activate), (gst_basesink_change_state):
15473         Don't free preroll queue too early.
15474
15475 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15476
15477         * gst/Makefile.am:
15478         * gst/ROADMAP:
15479           Hi, I'm outdated. Please shoot me.
15480
15481 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15482
15483         * gst/gstpipeline.c: (gst_pipeline_send_event):
15484           Do not access variables after they have been deleted.
15485
15486 2005-05-19  Wim Taymans  <wim@fluendo.com>
15487
15488         * tools/gst-inspect.c: (print_plugin_features):
15489         A plugin feature does unfortunatly not use the
15490         object name yet...
15491
15492 2005-05-18  Wim Taymans  <wim@fluendo.com>
15493
15494         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15495         Port _span() functions to new subbuffers.
15496
15497 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15498
15499         * gst/gstbin.c: (gst_bin_add_func):
15500           Fix clock settery in bins when adding kids after the clock has
15501           been selected.
15502
15503 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15504
15505         * gst/elements/gstidentity.c: (gst_identity_class_init):
15506           Workaround until signals support GstMiniObject.
15507
15508 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15509
15510         * gst/gstbuffer.c:
15511         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15512
15513 2005-05-18  Wim Taymans  <wim@fluendo.com>
15514
15515         * gst/base/Makefile.am:
15516         * gst/base/gstadapter.c: (gst_adapter_base_init),
15517         (gst_adapter_class_init), (gst_adapter_init),
15518         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15519         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15520         (gst_adapter_flush), (gst_adapter_available),
15521         (gst_adapter_available_fast):
15522         * gst/base/gstadapter.h:
15523         Ported and added adapter to the base classes.
15524
15525 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15526
15527         * gst/gst.c:
15528         * gst/gstmessage.c:
15529           Make sure the class is reffed/unreffed once before threads can be
15530           used.  Fixes #304551.
15531
15532 2005-05-17  Wim Taymans  <wim@fluendo.com>
15533
15534         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15535         (gst_basesink_chain_unlocked), (gst_basesink_activate):
15536         * gst/gstminiobject.c: (gst_mini_object_get_type),
15537         (gst_mini_object_free):
15538         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15539         (gst_pad_push), (gst_pad_push_event):
15540         * gst/gstqueue.c: (gst_queue_change_state):
15541         Don't queue buffers in basesink when we are flushing.
15542         Unref buffer when flushing in basesink.
15543         Flush queue when going to READY
15544         Unref buffer when _push() returns an error.
15545         Don't free MiniObject instance when refcount is incremented
15546         in _finalize() so that we can recover objects.
15547
15548 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15549
15550         * docs/manual/advanced-schedulers.xml:
15551         * docs/manual/appendix-checklist.xml:
15552         * docs/pwg/advanced-clock.xml:
15553         * docs/pwg/advanced-interfaces.xml:
15554         * docs/pwg/advanced-request.xml:
15555         * docs/pwg/advanced-types.xml:
15556         * docs/pwg/intro-preface.xml:
15557         * examples/plugins/example.c: (gst_example_get_type),
15558         (gst_example_class_init), (gst_example_chain),
15559         (gst_example_set_property), (gst_example_get_property),
15560         (gst_example_change_state), (plugin_init):
15561         * examples/plugins/example.h:
15562           small doc fixes
15563
15564 2005-05-17  Wim Taymans  <wim@fluendo.com>
15565
15566         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15567         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15568         * gst/gstqueue.c: (gst_queue_change_state):
15569         Clear queue when going to READY.
15570         Remove IN_SETCAPS flag too.
15571
15572 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
15573
15574         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15575           Remove implicit cast from gboolean to GstElementStateReturn;
15576           make sure we still return failure in paused => ready case if
15577           the parent class fails to change state and our own stop 
15578           vfunc succeeds.
15579
15580 2005-05-17  Wim Taymans  <wim@fluendo.com>
15581
15582         * tools/gst-launch.c: (event_loop):
15583         Message was unreffed too soon.
15584
15585 2005-05-16  Andy Wingo  <wingo@pobox.com>
15586
15587         * gst/gstbin.c (sink_iterator_filter): Err... um...
15588
15589         * check/gst/gstbin.c (test_ghost_pads): New test for the
15590         ghosting-if-elements-not-in-same-bin behavior.
15591
15592 2005-05-16  David Schleef  <ds@schleef.org>
15593
15594         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15595         accessing refcount directly.
15596
15597 2005-05-15  David Schleef  <ds@schleef.org>
15598
15599         * check/Makefile.am: remove GstData checks
15600         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15601         * gst/Makefile.am: add miniobject, remove data
15602         * gst/gst.h: add miniobject, remove data
15603         * gst/gstdata.c: remove
15604         * gst/gstdata.h: remove
15605         * gst/gstdata_private.h: remove
15606         * gst/gsttypes.h: remove GstEvent and GstMessage
15607         * gst/gstelement.c: (gst_element_post_message): fix for API changes
15608         * gst/gstmarshal.list: change BOXED -> OBJECT
15609
15610         Implement GstMiniObject.
15611         * gst/gstminiobject.c:
15612         * gst/gstminiobject.h:
15613
15614         Modify to be subclasses of GstMiniObject.
15615         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15616         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15617         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15618         (gst_subbuffer_get_type), (gst_subbuffer_init),
15619         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15620         (gst_buffer_span):
15621         * gst/gstbuffer.h:
15622         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15623         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15624         (_gst_event_copy), (gst_event_new):
15625         * gst/gstevent.h:
15626         * gst/gstmessage.c: (_gst_message_initialize),
15627         (gst_message_get_type), (gst_message_class_init),
15628         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15629         (gst_message_new), (gst_message_new_error),
15630         (gst_message_new_warning), (gst_message_new_tag),
15631         (gst_message_new_state_changed), (gst_message_new_application):
15632         * gst/gstmessage.h:
15633         * gst/gstprobe.c: (gst_probe_perform),
15634         (gst_probe_dispatcher_dispatch):
15635         * gst/gstprobe.h:
15636         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15637         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15638         (_gst_query_copy), (gst_query_new):
15639
15640         Update elements for GstData -> GstMiniObject changes
15641         * gst/gstquery.h:
15642         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15643         (gst_queue_chain), (gst_queue_loop):
15644         * gst/elements/gstbufferstore.c:
15645         (gst_buffer_store_add_buffer_func),
15646         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15647         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15648         (gst_fakesink_render):
15649         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15650         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15651         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15652         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15653         (gst_filesrc_create_read):
15654         * gst/elements/gstidentity.c: (gst_identity_class_init):
15655         * gst/elements/gsttypefindelement.c:
15656         (gst_type_find_element_src_event), (free_entry_buffers),
15657         (gst_type_find_element_handle_event):
15658         * libs/gst/dataprotocol/dataprotocol.c:
15659         (gst_dp_header_from_buffer):
15660         * libs/gst/dataprotocol/dataprotocol.h:
15661         * libs/gst/dataprotocol/dp-private.h:
15662
15663 2005-05-15  David Schleef  <ds@schleef.org>
15664
15665         * gst/elements/gstelements.c: Don't include headers that were
15666         just removed.
15667
15668 2005-05-15  David Schleef  <ds@schleef.org>
15669
15670         * gst/elements/Makefile.am: Remove some elements that don't
15671         need to be in the core (or even exist at all).
15672         * gst/elements/gstaggregator.c:
15673         * gst/elements/gstaggregator.h:
15674         * gst/elements/gstmd5sink.c:
15675         * gst/elements/gstmd5sink.h:
15676         * gst/elements/gstmultifilesrc.c:
15677         * gst/elements/gstmultifilesrc.h:
15678         * gst/elements/gstpipefilter.c:
15679         * gst/elements/gstpipefilter.h:
15680         * gst/elements/gstshaper.c:
15681         * gst/elements/gstshaper.h:
15682         * gst/elements/gststatistics.c:
15683         * gst/elements/gststatistics.h:
15684         * po/POTFILES.in: Remove above files.
15685
15686 2005-05-14  Andy Wingo  <wingo@pobox.com>
15687
15688         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
15689         so as to get the refs right.
15690         (sink_iterator_filter): New function, wraps bin_element_is_sink,
15691         unreffing objects that don't pass the filter.
15692
15693         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
15694         gst_element_set_bus.
15695         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
15696         normal cases, this will destroy the bus.
15697
15698         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
15699         object.
15700
15701         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
15702         has no sinks.
15703
15704 2005-05-13  Andy Wingo  <wingo@pobox.com>
15705
15706         * gst/gstutils.c (gst_element_link_pads): Instead of calling
15707         gst_pad_link, call pad_link_maybe_ghosting,
15708         (pad_link_maybe_ghosting): Links pads, making sure that the
15709         elements being linked are in the same bin.
15710         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
15711         Helpers for pad_link_maybe_ghosting.
15712
15713 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15714
15715         * configure.ac:
15716           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
15717
15718 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15719
15720         * docs/design/part-element-source.txt:
15721           Mention GstPushSrc
15722
15723 2005-05-12  Wim Taymans  <wim@fluendo.com>
15724
15725         * gst/base/gstbasesink.c: (gst_basesink_init),
15726         (gst_basesink_activate):
15727         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15728         (gst_basesrc_is_seekable):
15729         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15730         (bin_element_is_sink), (gst_bin_change_state):
15731         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15732         * gst/gstelement.h:
15733         Identify sinks by their flag to avoid overly complicated
15734         checks (fow now).
15735         Do state changes even for elements not reachable from the
15736         sinks.
15737         BaseSink is a sink now :)
15738         Some more debugging info in the basesrc.
15739
15740
15741 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15742
15743         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15744           Implement _query on a bin, similar to _send_event.
15745
15746 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15747
15748         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15749           Discont event offset format should be GST_FORMAT_BYTES,
15750           not GST_FORMAT_TIME.
15751
15752 2005-05-12  Wim Taymans  <wim@fluendo.com>
15753
15754         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15755         Same fix as Ronald's but without the signal. 
15756
15757 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15758
15759         * gst/gstutils.c: (gst_element_query_position):
15760           No, an element is not a pad.
15761
15762 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15763
15764         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
15765         (gst_bin_get_state):
15766           If a child is removed from a bin while we remove the child from
15767           the bin and while we're retrieving its state, signal this to the
15768           get_state function so we abort the wait (instead of waiting for
15769           a timeout) and can immediately re-iterate over all other elements.
15770
15771 2005-05-12  Wim Taymans  <wim@fluendo.com>
15772
15773         * gst/base/Makefile.am:
15774         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
15775         (gst_basesrc_start):
15776         * gst/base/gstbasesrc.h:
15777         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
15778         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
15779         (gst_pushsrc_init), (gst_pushsrc_create):
15780         * gst/base/gstpushsrc.h:
15781         Added is_seekable to BaseSrc
15782         Added simple PushSrc.
15783
15784 2005-05-11  Wim Taymans  <wim@fluendo.com>
15785
15786         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15787         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15788         (gst_element_link_pads), (gst_element_query_position),
15789         (gst_element_query_convert), (intersect_caps_func),
15790         (gst_pad_query_position), (gst_pad_query_convert):
15791         Fix refcounting in utils function.
15792         No point in trying to activate a pad when it's added, it could
15793         be added from the state change function and then we deadlock, the
15794         element has to decide what to do.
15795
15796 2005-05-10  Andy Wingo  <wingo@pobox.com>
15797
15798         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
15799         *all* the arguments.
15800
15801         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
15802         stream lock if it's a FLUSH_DONE; normal flushes don't get the
15803         lock (according to the docs -- if this is wrong change the docs).
15804
15805         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
15806         flush messages in the NULL state.
15807
15808         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
15809         message immediately and return.
15810         (gst_bus_set_flushing): New function. If a bus is flushing, it
15811         flushes out any queued messages and immediately unrefs new
15812         messages. This is so when an element goes to NULL, all of the
15813         unhandled messages coming from it can be freed, and their
15814         references to the element dropped. In other words: message source
15815         ref considered harmful :P
15816
15817         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
15818         we're finished with it.
15819
15820         * gst/gstmessage.c (gst_message_new_state_changed): 
15821
15822 2005-05-10  Wim Taymans  <wim@fluendo.com>
15823
15824         * gst/gstvalue.c: (gst_value_compare_flags),
15825         (gst_value_serialize_flags), (gst_value_deserialize_flags),
15826         (_gst_value_initialize):
15827         Added flags serialize/deserialize/compare code.
15828
15829 2005-05-09  Andy Wingo  <wingo@pobox.com>
15830
15831         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
15832         Intersect the peer's caps with our caps.
15833
15834 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15835
15836         * gst/base/gsttypefindhelper.c: (helper_find_peek):
15837         * gst/elements/gsttypefindelement.c: (find_peek):
15838           Handle negative offsets better. Fixes decodebin.
15839
15840 2005-05-09  Wim Taymans  <wim@fluendo.com>
15841
15842         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
15843         (gst_base_transform_event):
15844         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
15845         Implement accept_caps.
15846         Fix silly lock/unlock mismatch in base class.
15847
15848 2005-05-09  Wim Taymans  <wim@fluendo.com>
15849
15850         * docs/design/draft-push-pull.txt:
15851         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
15852         * gst/elements/gstfilesink.c: (gst_filesink_init),
15853         (gst_filesink_query):
15854         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15855         (gst_type_find_handle_src_query), (find_element_get_length):
15856         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
15857         * gst/gstelement.h:
15858         * gst/gstmessage.c:
15859         * gst/gstmessage.h:
15860         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
15861         (gst_real_pad_get_caps_unlocked),
15862         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
15863         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15864         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
15865         (gst_real_pad_dispose), (gst_real_pad_finalize),
15866         (gst_pad_load_and_link), (gst_pad_save_thyself),
15867         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
15868         (gst_pad_check_pull_range), (gst_pad_pull_range),
15869         (gst_pad_template_get_type), (gst_pad_template_class_init),
15870         (gst_pad_template_init), (gst_pad_template_dispose),
15871         (name_is_valid), (gst_static_pad_template_get),
15872         (gst_pad_template_new), (gst_static_pad_template_get_caps),
15873         (gst_pad_template_get_caps), (gst_pad_set_element_private),
15874         (gst_pad_get_element_private), (gst_pad_start_task),
15875         (gst_pad_pause_task), (gst_pad_stop_task),
15876         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
15877         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
15878         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
15879         (gst_ghost_pad_new):
15880         * gst/gstpad.h:
15881         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
15882         (gst_query_new_position), (gst_query_set_position),
15883         (gst_query_parse_position), (gst_query_new_convert),
15884         (gst_query_set_convert), (gst_query_parse_convert):
15885         * gst/gstquery.h:
15886         * gst/gstqueryutils.c:
15887         * gst/gstqueryutils.h:
15888         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15889         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15890         (gst_queue_handle_src_query):
15891         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15892         (gst_element_query_position), (gst_element_query_convert),
15893         (intersect_caps_func), (gst_pad_query_position),
15894         (gst_pad_query_convert):
15895         * gst/gstutils.h:
15896         * tools/gst-inspect.c: (print_pad_info):
15897         * tools/gst-xmlinspect.c: (print_element_info):
15898         Remove old query functions. Ported old code.
15899         Added position/convert helper functions to gstutils.
15900         Reordered gstpad.c code, grouping relevant things.
15901         Remove gst_message_new(), always need to speficy a specific
15902         message.
15903
15904
15905 2005-05-09  Andy Wingo  <wingo@pobox.com>
15906
15907         * gst/gstiterator.h: Add some includes.
15908
15909         * gst/gstqueryutils.h: Include more headers.
15910
15911         * gst/gstpad.h:
15912         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
15913         some uses of gst_pad_query.
15914
15915         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
15916         NULL out parameters.
15917         (gst_query_new_position): New proc, allocates a new position
15918         query.
15919
15920         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
15921         gstqueryutils.c to the build.
15922
15923         * gst/gststructure.c (gst_structure_set_valist): Implement with
15924         the generic G_VALUE_COLLECT.
15925         
15926 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
15927
15928         * gst/Makefile.am: (gst_headers):
15929         Added gstqueryutils.h to the list of headers to install, that was
15930         a 'nachty' move wingo :)
15931
15932 2005-05-06  Andy Wingo  <wingo@pobox.com>
15933
15934         * gst/gstquery.h
15935         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
15936         GstData, init a memchunk.
15937         (standard_definitions): Add a few query types, deprecate a few.
15938         (gst_query_get_type): New proc.
15939         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
15940         implementation.
15941         (gst_query_new_application, gst_query_get_structure): New public
15942         procs.
15943
15944         * docs/design/draft-query.txt: Removed LINKS from the query types,
15945         because all the rest can be dispatched to other pads -- seemed
15946         ugly to have a query that couldn't be dispatched. internal_links
15947         is fine as a pad method.
15948
15949         * gst/gstpad.h: Add query2 as a pad method, add the new functions
15950         in gstpad.c, but maintain binary compatibility for the moment.
15951         Will fix before 0.9 is out.
15952
15953         * gst/gstqueryutils.c: 
15954         * gst/gstqueryutils.h: New files, implement 3 methods for each
15955         query type: parse_query, parse_response, and set. Probably need an
15956         allocator as well.
15957
15958         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
15959
15960         * gst/elements/gstfilesink.c (gst_filesink_query2):
15961         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
15962         query_types, and formats methods.
15963
15964         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
15965         (gst_pad_set_query2_function): New functions.
15966         (gst_real_pad_init): Set query2_default as the default query2
15967         function. Basically just dispatches to internally linked pads.
15968
15969         Needs review!
15970         
15971         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
15972         without using the atomic operations. Only one thread can possibly
15973         be accessing the data at this point. Changed so as to avoid
15974         gst_atomic operations.
15975
15976 2005-05-06  Wim Taymans  <wim@fluendo.com>
15977
15978         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
15979         Also set caps if we use the fallback buffer alloc.
15980
15981 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
15982
15983         * docs/gst/Makefile.am:
15984         * docs/gst/gstreamer-docs.sgml:
15985         * docs/gst/gstreamer-sections.txt:
15986         * docs/gst/tmpl/gstatomic.sgml:
15987         * docs/gst/tmpl/gstmemchunk.sgml:
15988         * testsuite/elements/struct_i386.h:
15989         * win32/GStreamer.vcproj:
15990         * win32/Makefile:
15991           Purge GstAtomic stuff from docs and win32 makefiles as well
15992
15993 2005-05-06  Wim Taymans  <wim@fluendo.com>
15994
15995         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
15996         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
15997         * gst/gstpad.c: (gst_pad_peer_get_caps):
15998         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15999         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16000         (gst_queue_src_activate), (gst_queue_change_state):
16001         * gst/gstqueue.h:
16002         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16003         (intersect_caps_func):
16004         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16005         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16006         Some fixes for the peer_get_caps() change.
16007
16008 2005-05-06  Wim Taymans  <wim@fluendo.com>
16009
16010         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16011         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16012         (gst_basesink_activate):
16013         Actually do something with error codes returned from the push
16014         functions.
16015
16016 2005-05-06  Wim Taymans  <wim@fluendo.com>
16017
16018         * docs/design/part-element-sink.txt:
16019         * docs/design/part-element-source.txt:
16020         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16021         (gst_basesink_event), (gst_basesink_activate):
16022         * gst/base/gstbasesink.h:
16023         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16024         (gst_basesrc_activate):
16025         * gst/base/gstbasesrc.h:
16026         * gst/gstelement.c: (gst_element_pads_activate):
16027         Some more documentation.
16028         Fixed scheduling decision in _pads_activate().
16029
16030 2005-05-05  Andy Wingo  <wingo@pobox.com>
16031
16032         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16033         the test suite.
16034
16035 2005-05-05  Wim Taymans  <wim@fluendo.com>
16036
16037         * gst/base/Makefile.am:
16038         * gst/base/gstbasesink.h:
16039         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16040         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16041         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16042         (gst_collectpads_class_init), (gst_collectpads_init),
16043         (gst_collectpads_finalize), (gst_collectpads_new),
16044         (gst_collectpads_set_function), (gst_collectpads_add_pad),
16045         (find_pad), (gst_collectpads_remove_pad),
16046         (gst_collectpads_is_active), (gst_collectpads_collect),
16047         (gst_collectpads_collect_range), (gst_collectpads_start),
16048         (gst_collectpads_stop), (gst_collectpads_peek),
16049         (gst_collectpads_pop), (gst_collectpads_available),
16050         (gst_collectpads_read), (gst_collectpads_flush),
16051         (gst_collectpads_chain):
16052         * gst/base/gstcollectpads.h:
16053         * gst/elements/Makefile.am:
16054         * gst/elements/gstelements.c:
16055         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16056         (gst_fakesink_get_times), (gst_fakesink_event),
16057         (gst_fakesink_preroll), (gst_fakesink_render):
16058         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16059         (gst_filesink_init), (gst_filesink_set_location),
16060         (gst_filesink_open_file), (gst_filesink_close_file),
16061         (gst_filesink_pad_query), (gst_filesink_event),
16062         (gst_filesink_render), (gst_filesink_change_state):
16063         * gst/elements/gstfilesink.h:
16064         Added object to help in making collect pad based elements.
16065         Ported filesink.
16066         Make event function in sink baseclass return gboolean.
16067
16068 2005-05-05  Wim Taymans  <wim@fluendo.com>
16069
16070         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16071         (gst_bin_get_by_name):
16072         * gst/gstbuffer.h:
16073         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16074         (gst_clock_finalize):
16075         * gst/gstdata.c: (gst_data_replace):
16076         * gst/gstdata.h:
16077         * gst/gstelement.c: (gst_element_request_pad),
16078         (gst_element_pads_activate):
16079         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16080         (gst_object_unref):
16081         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16082         (gst_pad_set_checkgetrange_function),
16083         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16084         (gst_pad_check_pull_range), (gst_pad_pull_range),
16085         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16086         (gst_pad_pause_task), (gst_pad_stop_task):
16087         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16088         (gst_element_request_pad), (gst_pad_proxy_getcaps):
16089         Fix name lookup in GstBin.
16090         Added _data_replace() function and _buffer_replace()
16091         Use finalize method to clean up clock.
16092         Fix refcounting on request pads.
16093         Fix pad schedule mode error.
16094         Some more object refcounting debug info,
16095
16096
16097 2005-05-04  Andy Wingo <wingo@pobox.com>
16098
16099         * check/Makefile.am:
16100         * docs/gst/tmpl/gstatomic.sgml:
16101         * docs/gst/tmpl/gstplugin.sgml:
16102         * gst/base/gstbasesink.c: (gst_basesink_activate):
16103         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16104         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16105         (gst_basesrc_query), (gst_basesrc_set_property),
16106         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16107         (gst_basesrc_activate):
16108         * gst/base/gstbasesrc.h:
16109         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16110         (gst_base_transform_src_activate):
16111         * gst/elements/gstelements.c:
16112         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16113         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16114         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16115         * gst/elements/gsttypefindelement.c: (find_element_get_length),
16116         (gst_type_find_element_checkgetrange),
16117         (gst_type_find_element_activate):
16118         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16119         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16120         (gst_caps_load_thyself):
16121         * gst/gstelement.c: (gst_element_pads_activate),
16122         (gst_element_save_thyself), (gst_element_restore_thyself):
16123         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16124         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16125         * gst/gstpad.h:
16126         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16127         (gst_xml_parse_file), (gst_xml_parse_memory),
16128         (gst_xml_get_element), (gst_xml_make_element):
16129         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16130         (_file_index_id_save_xml), (gst_file_index_commit):
16131         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16132         (read_enum), (load_pad_template), (load_feature), (load_plugin),
16133         (load_paths):
16134         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16135         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16136         * tools/gst-complete.c: (main):
16137         * tools/gst-compprep.c: (main):
16138         * tools/gst-inspect.c: (print_element_properties_info):
16139         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16140         * tools/gst-xmlinspect.c: (print_element_properties):
16141         GCC 4 fixen.
16142         
16143 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16144
16145         * gst/gstplugin.c: (gst_plugin_check_module),
16146         (gst_plugin_check_file), (gst_plugin_load_file):
16147             apply patch from #172526 to make register work on MacOSX
16148
16149 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16150
16151         * docs/gst/tmpl/gstconfig.sgml:
16152         * gst/gstconfig.h.in:
16153           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
16154         * testsuite/debug/printf_extension.c: (main):
16155           Do not use GST_PTR_FORMAT on pointers to types with
16156           sizeof < sizeof(gpointer).  Fixes test on 64-bit
16157         * testsuite/elements/property.h:
16158           use correct printf format
16159
16160 2005-05-02  Wim Taymans  <wim@fluendo.com>
16161
16162         * docs/design/draft-push-pull.txt:
16163         * docs/design/draft-query.txt:
16164         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16165         (gst_basesrc_start):
16166         Added draft for new query API.
16167         Added draft for better selecting scheduling methods.
16168         Make basesrc ignore length if the subclass does not support
16169         it.
16170
16171 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16172
16173         * gst/Makefile.am:
16174           possible fixes for automake-1.5 - _LIBADD is reserved
16175
16176 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16177
16178         * docs/faq/Makefile.am:
16179         * docs/manual/Makefile.am:
16180         * docs/manuals.mak:
16181         * docs/pwg/Makefile.am:
16182         * gst/Makefile.am:
16183           possible fixes for automake-1.5
16184
16185 2005-04-28  Wim Taymans  <wim@fluendo.com>
16186
16187         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16188         (gst_basesink_pad_getcaps), (gst_basesink_init),
16189         (gst_basesink_do_sync):
16190         * gst/gstclock.c: (gst_clock_entry_new):
16191         * gst/gstevent.c: (gst_event_discont_get_value):
16192         * gst/gstpipeline.c: (pipeline_bus_handler),
16193         (gst_pipeline_change_state):
16194         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16195         Better debugging of clocking info.
16196         Allow NULL values when getting discont values.
16197
16198 2005-04-27  Wim Taymans  <wim@fluendo.com>
16199
16200         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16201         * check/gst/gstpad.c: (gst_pad_suite):
16202         Increase timeout for checks.
16203
16204 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16205
16206         * check/Makefile.am:
16207           fix the broken rule for cleanup.  Apparently this rule is
16208           only needed on FC2, so maybe this warrants further autotool
16209           inspection.
16210
16211 2005-04-26  Wim Taymans  <wim@fluendo.com>
16212
16213         * gst/gsttrashstack.h:
16214         Ooohh. a nasty one! After having a failed pop() from the stack,
16215         it's possible that the stack is empty. In that case, don't
16216         follow the NULL pointer.
16217
16218 2005-04-25  Wim Taymans  <wim@fluendo.com>
16219
16220         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16221         (gst_pad_set_checkgetrange_function),
16222         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16223         (gst_pad_check_pull_range), (gst_pad_pull_range),
16224         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16225         (gst_pad_pause_task), (gst_pad_stop_task):
16226         * gst/gstplugin.c: (gst_plugin_load):
16227         * gst/gstplugin.h:
16228         Remove gst_library_load as it does more harm than good with
16229         the new g_module flags.
16230         Revert bogus caps template check in pad linking, pad caps
16231         are important when linking not the template, which is more
16232         general than the current caps.
16233
16234 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16235
16236         * gst/autoplug/.cvsignore:
16237         * gst/autoplug/Makefile.am:
16238         * gst/autoplug/gstsearchfuncs.c:
16239         * gst/autoplug/gstsearchfuncs.h:
16240         * gst/autoplug/gstspider.c:
16241         * gst/autoplug/gstspider.h:
16242         * gst/autoplug/gstspideridentity.c:
16243         * gst/autoplug/gstspideridentity.h:
16244         * gst/autoplug/spidertest.c:
16245           Die, spider, die.
16246
16247 2005-04-25  Wim Taymans  <wim@fluendo.com>
16248
16249         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16250         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16251         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16252         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16253         * gst/gstpad.h:
16254         Added stubs for unimplemented functions. 
16255
16256 2005-04-24  David Schleef  <ds@schleef.org>
16257
16258         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
16259         please fix.
16260
16261 2005-04-24  David Schleef  <ds@schleef.org>
16262
16263         Convert everything from GstAtomicInt to g_atomic_int_*, and
16264         remove gstatomic.
16265         * gst/Makefile.am:
16266         * gst/gstatomic.c:
16267         * gst/gstatomic.h:
16268         * gst/gstatomic_impl.h:
16269         * gst/gstbuffer.c:
16270         * gst/gstcaps.c:
16271         * gst/gstcaps.h:
16272         * gst/gstclock.c:
16273         * gst/gstclock.h:
16274         * gst/gstdata.c:
16275         * gst/gstdata.h:
16276         * gst/gstdata_private.h:
16277         * gst/gstevent.c:
16278         * gst/gstinfo.c:
16279         * gst/gstinfo.h:
16280         * gst/gstmessage.c:
16281         * gst/gstobject.c:
16282         * gst/gstobject.h:
16283         * gst/gststructure.c:
16284         * gst/gststructure.h:
16285         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16286         * gst/gstutils.h:
16287
16288 2005-04-24  David Schleef  <ds@schleef.org>
16289
16290         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16291         make the regressions tests work.  Remove some code that is no
16292         longer true.
16293         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16294         Disable warning for pads without templates.
16295
16296 2005-04-24  David Schleef  <ds@schleef.org>
16297
16298         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
16299         functions that handle filtered links.
16300         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16301         removed functions.
16302         * gst/gstutils.c: Fix/remove utility functions that handle
16303         filtered caps.
16304         * gst/gstutils.h:
16305         * gst/gstvalue.c: Add serialization/deserialization of caps
16306         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
16307         requires fixing so that the filter caps notation creates
16308         a capsfilter element and sets the filter_caps property.  I
16309         think everyone probably wants to keep the shorthand notation.
16310         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16311         * docs/gst/tmpl/gstpad.sgml:
16312
16313         * gst/elements/gstelements.c: Register capsfilter element.
16314         * gst/Makefile.am: fix spacing
16315         * docs/random/ds/0.9-suggested-changes: random
16316
16317 2005-04-23  David Schleef  <ds@schleef.org>
16318
16319         * gst/elements/Makefile.am:
16320         * gst/elements/gstcapsfilter.c: New element that acts like an
16321         identity, but filters caps.  Will eventually replace filtered
16322         caps in pad linking.
16323         * gst/gstutils.c: (gst_element_create_all_pads): New function
16324         to create all the ALWAYS pads that are registered with an
16325         element class.  This functionality should eventually be
16326         merged in with GstElement initialization.
16327         * gst/gstutils.h:
16328         * testsuite/trigger/README: part of trigger test code that should
16329         have been checked in a long time ago.
16330
16331 2005-04-23  David Schleef  <ds@schleef.org>
16332
16333         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
16334         needed with new versions of libtool (nobody will confirm this),
16335         and hard to carry around.
16336         * gst/autoplug/Makefile.am:
16337         * gst/base/Makefile.am:
16338         * gst/elements/Makefile.am:
16339         * gst/indexers/Makefile.am:
16340         * gst/schedulers/Makefile.am:
16341         * libs/gst/bytestream/Makefile.am:
16342         * libs/gst/control/Makefile.am:
16343         * libs/gst/dataprotocol/Makefile.am:
16344         * libs/gst/getbits/Makefile.am:
16345
16346 2005-04-21  Wim Taymans  <wim@fluendo.com>
16347
16348         * docs/design/draft-push-pull.txt:
16349         * docs/design/part-MT-refcounting.txt:
16350         * docs/design/part-TODO.txt:
16351         * docs/design/part-caps.txt:
16352         * docs/design/part-events.txt:
16353         * docs/design/part-gstbus.txt:
16354         * docs/design/part-gstpipeline.txt:
16355         * docs/design/part-messages.txt:
16356         * docs/design/part-push-pull.txt:
16357         * docs/design/part-query.txt:
16358         Some more docs.
16359
16360 2005-04-21  Wim Taymans  <wim@fluendo.com>
16361
16362         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16363         (gst_message_new), (gst_message_new_error),
16364         (gst_message_new_warning), (gst_message_new_tag),
16365         (gst_message_new_state_changed), (gst_message_new_application),
16366         (gst_message_get_structure):
16367         * gst/gstmessage.h:
16368         * gst/gststructure.c: (gst_structure_set_parent_refcount),
16369         (gst_structure_copy_conditional):
16370         Use parent refcount in GstMessage to ensure GstStructure
16371         consistency.
16372         Cleaned up headers a bit.
16373         
16374
16375 2005-04-20  Wim Taymans  <wim@fluendo.com>
16376
16377         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16378         (gst_basesink_pad_getcaps), (gst_basesink_init),
16379         (gst_basesink_chain_unlocked):
16380         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16381         (gst_type_find_helper):
16382         * gst/elements/gsttypefindelement.c:
16383         (gst_type_find_element_have_type), (gst_type_find_element_init),
16384         (stop_typefinding), (gst_type_find_element_handle_event),
16385         (find_suggest), (gst_type_find_element_chain),
16386         (gst_type_find_element_checkgetrange),
16387         (gst_type_find_element_getrange), (do_typefind),
16388         (gst_type_find_element_activate):
16389         * gst/gstbuffer.c: (_gst_buffer_sub_free),
16390         (gst_buffer_default_free), (gst_buffer_default_copy),
16391         (gst_buffer_set_caps):
16392         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16393         (gst_caps_replace):
16394         * gst/gstmessage.c: (gst_message_new),
16395         (gst_message_new_state_changed):
16396         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16397         (gst_pad_set_checkgetrange_function),
16398         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16399         (gst_pad_set_caps), (gst_pad_check_pull_range),
16400         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16401         * gst/gstpad.h:
16402         * gst/gsttypefind.c: (gst_type_find_register):
16403         Make gst_caps_replace() work like other _replace() functions.
16404         Use _caps_replace() where possible.
16405         Make sure _message_new() initialises its field.
16406         Add gst_static_pad_template_get_caps()
16407
16408
16409 2005-04-18  Andy Wingo  <wingo@pobox.com>
16410
16411         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16412         on the peer, not the pad. I think that was a typo. Pass an extra
16413         arg to see if random access is possible. Activate the pads as
16414         PULL_RANGE if possible.
16415
16416         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16417
16418         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
16419         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16420         to PROP_....
16421
16422 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16423
16424         * docs/faq/using.xml:
16425           Add note on gstreamer-properties (#154996).
16426
16427 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16428
16429         * docs/random/bbb/optional-properties:
16430           Some analysis on optional properties.
16431
16432 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16433
16434         * docs/gst/tmpl/gstelementfactory.sgml:
16435         * gst/gstelement.h:
16436         * gst/gstelementfactory.c: (gst_element_factory_init),
16437         (gst_element_factory_cleanup), (gst_element_register),
16438         (__gst_element_factory_add_static_pad_template),
16439         (gst_element_factory_get_static_pad_templates),
16440         (gst_element_factory_can_src_caps),
16441         (gst_element_factory_can_sink_caps):
16442         * gst/registries/Makefile.am:
16443         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16444         (gst_xml_registry_class_init), (gst_xml_registry_init),
16445         (gst_xml_registry_new), (gst_xml_registry_set_property),
16446         (gst_xml_registry_get_property), (get_time), (make_dir),
16447         (gst_xml_registry_get_perms_func),
16448         (plugin_times_older_than_recurse), (plugin_times_older_than),
16449         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16450         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16451         (add_to_char_array), (read_string), (read_uint), (read_enum),
16452         (load_pad_template), (load_feature), (load_plugin), (load_paths),
16453         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16454         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16455         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16456         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16457         (gst_xml_registry_rebuild):
16458         * gst/registries/gstlibxmlregistry.h:
16459         * tools/gst-compprep.c: (main):
16460         * tools/gst-inspect.c: (print_pad_templates_info):
16461         * tools/gst-xmlinspect.c: (print_element_info):
16462           Use libxml2 for registry parsing, use staticpadtemplates in
16463           elementfactories. Makes gst_init() +/- 10x faster.
16464
16465 2005-04-12  Wim Taymans  <wim@fluendo.com>
16466
16467         * gst/base/Makefile.am:
16468         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16469         (gst_basesink_pad_getcaps), (gst_basesink_init),
16470         (gst_basesink_event), (gst_basesink_change_state):
16471         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16472         (gst_basesrc_init), (gst_basesrc_query),
16473         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16474         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16475         (gst_basesrc_check_get_range), (gst_basesrc_loop),
16476         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16477         (gst_basesrc_stop), (gst_basesrc_activate),
16478         (gst_basesrc_change_state):
16479         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16480         (helper_find_suggest), (gst_type_find_helper):
16481         * gst/base/gsttypefindhelper.h:
16482         * gst/elements/Makefile.am:
16483         * gst/elements/gstelements.c:
16484         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16485         (gst_fakesink_get_times), (gst_fakesink_event),
16486         (gst_fakesink_preroll), (gst_fakesink_render):
16487         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16488         (gst_fakesrc_init), (gst_fakesrc_event_handler),
16489         (gst_fakesrc_get_property), (gst_fakesrc_create),
16490         (gst_fakesrc_start), (gst_fakesrc_stop):
16491         * gst/elements/gstfakesrc.h:
16492         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16493         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16494         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16495         (gst_filesrc_create_read), (gst_filesrc_create),
16496         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16497         (gst_filesrc_start):
16498         * gst/elements/gsttypefindelement.c:
16499         (gst_type_find_element_have_type), (gst_type_find_element_init),
16500         (start_typefinding), (stop_typefinding), (push_buffer_store),
16501         (gst_type_find_element_handle_event),
16502         (gst_type_find_element_chain),
16503         (gst_type_find_element_checkgetrange),
16504         (gst_type_find_element_getrange), (do_typefind),
16505         (gst_type_find_element_activate),
16506         (gst_type_find_element_change_state):
16507         * gst/elements/gsttypefindelement.h:
16508         * gst/gstpipeline.c: (pipeline_bus_handler):
16509         Added typefind helper.
16510         Small preroll fix in the base sink.
16511         Disable typefind code in basesrc.
16512         Crude port of typefindelement.
16513         Fakesrc cleanups.
16514
16515
16516 2005-04-11  Wim Taymans  <wim@fluendo.com>
16517
16518         * check/gst/gstbus.c: (gstbus_suite):
16519         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16520         * check/gstcheck.h:
16521           Fix up the timeout so that the test does not fail.
16522
16523 2005-04-06  Wim Taymans  <wim@fluendo.com>
16524
16525         * gst/base/README:
16526         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16527         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16528         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16529         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16530         (gst_basesrc_check_get_range), (gst_basesrc_loop),
16531         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16532         (gst_basesrc_stop), (gst_basesrc_activate),
16533         (gst_basesrc_change_state), (basesrc_find_peek),
16534         (basesrc_find_suggest), (gst_basesrc_type_find):
16535         * gst/base/gstbasesrc.h:
16536         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16537         (gst_filesrc_class_init), (gst_filesrc_init),
16538         (gst_filesrc_finalize), (gst_filesrc_set_location),
16539         (gst_filesrc_set_property), (gst_filesrc_get_property),
16540         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16541         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16542         (gst_filesrc_create_read), (gst_filesrc_create),
16543         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16544         * gst/elements/gstfilesrc.h:
16545         * gst/gstelement.c: (gst_element_get_state_func),
16546         (gst_element_lost_state), (gst_element_pads_activate):
16547         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16548         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16549         (gst_pad_pull_range):
16550         * gst/gstpad.h:
16551         More work on the generic source base class, implement seeking,
16552         query.
16553         Make filesrc extend the base source class.
16554         Added gst_pad_set_checkgetrange_function to GstPad.
16555
16556 2005-04-06  Andy Wingo  <wingo@pobox.com>
16557
16558         * pkgconfig/gstreamer-base.pc.in:
16559         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16560
16561         * pkgconfig/Makefile.am:
16562         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16563
16564 2005-04-04  Wim Taymans  <wim@fluendo.com>
16565
16566         * gst/base/Makefile.am:
16567         * gst/base/README:
16568         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16569         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16570         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16571         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16572         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16573         (gst_basesrc_base_init), (gst_basesrc_class_init),
16574         (gst_basesrc_init), (gst_basesrc_get_formats),
16575         (gst_basesrc_get_query_types), (gst_basesrc_query),
16576         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16577         (gst_basesrc_set_property), (gst_basesrc_get_property),
16578         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16579         (gst_basesrc_loop), (gst_basesrc_activate),
16580         (gst_basesrc_change_state):
16581         * gst/base/gstbasesrc.h:
16582         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16583         (gst_fakesrc_class_init), (gst_fakesrc_init),
16584         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16585         (gst_fakesrc_get_property), (gst_fakesrc_create):
16586         * gst/elements/gstfakesrc.h:
16587         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16588         (gst_filesrc_open_file), (gst_filesrc_loop),
16589         (gst_filesrc_activate), (filesrc_find_peek),
16590         (gst_filesrc_type_find):
16591         Made base source class, make fakesrc extend it.
16592         Add comments to basesink class.
16593         Some filesrc cleanup.
16594
16595 2005-03-31  David Schleef  <ds@schleef.org>
16596
16597         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16598         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16599         expected to link against libgstreamer.
16600         * gst/base/Makefile.am: link against libgstreamer
16601         * gst/elements/Makefile.am: same
16602
16603 2005-03-31  Andy Wingo  <wingo@pobox.com>
16604
16605         * tests/instantiate/Makefile.am:
16606         * tests/instantiate/caps.c: Add test to test speed of caps copy
16607         and free.
16608
16609         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16610         GMemChunk to be fair.
16611
16612         * gst/gsttrashstack.h: Remove warning about using the fallback
16613         trash stack implementation, it's still faster than malloc.
16614
16615 2005-03-30  Andy Wingo  <wingo@pobox.com>
16616
16617         * tests/complexity.c: Add a copyright.
16618
16619 2005-03-31  Wim Taymans  <wim@fluendo.com>
16620
16621         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16622         (gst_base_transform_class_init), (gst_base_transform_init),
16623         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16624         (gst_base_transform_get_property),
16625         (gst_base_transform_sink_activate),
16626         (gst_base_transform_src_activate),
16627         (gst_base_transform_change_state):
16628         * gst/base/gstbasetransform.h:
16629         * gst/elements/gstidentity.c: (gst_identity_class_init),
16630         (gst_identity_event), (gst_identity_check_perfect),
16631         (gst_identity_transform), (gst_identity_start),
16632         (gst_identity_stop):
16633         Added start/stop methods to transform base class so subclasses 
16634         don't need to deal with state changes even.
16635
16636 2005-03-31  Wim Taymans  <wim@fluendo.com>
16637
16638         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16639         (gst_event_new_discontinuous), (gst_event_discont_get_value):
16640         * gst/gstevent.h:
16641         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16642         (gst_pad_pull_range):
16643         Added rate to the discont event to prepare for variable speed
16644         and reverse playback.
16645
16646 2005-03-29  David Schleef  <ds@schleef.org>
16647
16648         * configure.ac:
16649         * testsuite/trigger/Makefile.am:
16650         * testsuite/trigger/trigger.c: A little example program to show
16651         how trigger-based elements can work.
16652
16653 2005-03-29  Wim Taymans  <wim@fluendo.com>
16654
16655         * gst/base/Makefile.am:
16656         * gst/base/README:
16657         * gst/base/gstbasesink.c: (gst_basesink_get_type),
16658         (gst_basesink_base_init), (gst_basesink_class_init),
16659         (gst_basesink_pad_getcaps), (gst_basesink_init),
16660         (gst_basesink_activate), (gst_basesink_change_state):
16661         * gst/base/gstbasesink.h:
16662         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16663         (gst_base_transform_base_init), (gst_base_transform_finalize),
16664         (gst_base_transform_class_init), (gst_base_transform_init),
16665         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16666         (gst_base_transform_event), (gst_base_transform_getrange),
16667         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16668         (gst_base_transform_set_property),
16669         (gst_base_transform_get_property),
16670         (gst_base_transform_sink_activate),
16671         (gst_base_transform_src_activate),
16672         (gst_base_transform_change_state):
16673         * gst/base/gstbasetransform.h:
16674         * gst/elements/gstidentity.c: (gst_identity_finalize),
16675         (gst_identity_class_init), (gst_identity_init),
16676         (gst_identity_event), (gst_identity_check_perfect),
16677         (gst_identity_transform), (gst_identity_set_property),
16678         (gst_identity_get_property), (gst_identity_change_state):
16679         * gst/elements/gstidentity.h:
16680         * gst/gstelement.c: (gst_element_get_state_func),
16681         (gst_element_lost_state), (gst_element_pads_activate):
16682         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16683         (gst_pad_check_pull_range), (gst_pad_pull_range):
16684         * gst/gstpad.h:
16685         Simplify pad activation.
16686         Added function to check if pull_range can be performed.
16687         Error out when pulling inactive or flushing pads.
16688         Removed const from refcounted types as it does not make sense.
16689         Simplify pad templates in basesink
16690         Added base class for simple 1-to-1 transforms.
16691         Make identity subclass the base transform.
16692
16693 2005-03-29  Andy Wingo  <wingo@pobox.com>
16694
16695         * docs/libs/gstreamer-libs-overrides.txt: 
16696         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
16697         really don't understand what's going on, but like whatever. I want
16698         green buildbot!
16699
16700         * docs/gst/Makefile.am:
16701         * docs/libs/Makefile.am: Dist the overrides files.
16702
16703         * check/Makefile.am (clean-local): Remove .libs directories.
16704
16705         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
16706         elements to EXTRA_DIST, so po/ files are happy.
16707
16708         * po/POTFILES.in: Er, remove it here.
16709
16710         * po/POTFILES: Remove gstspider.c.
16711
16712         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
16713
16714         * docs/libs/gstreamer-libs-docs.sgml: 
16715         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
16716         bytestream.
16717
16718         * tests/complexity.c (main): Set the length of the preroll queue
16719         on the sinks to prevent a lockup.
16720
16721         * libs/gst/dataprotocol/Makefile.am: 
16722         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16723         the same as the one in check/gst-libs/gdp.c.
16724
16725         * po/, docs/gst/: Commit automatic changes to docs and po files.
16726
16727         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16728         the versioned libgstbase.
16729
16730         * check/Makefile.am: Depend on an unversioned gst-register, seems
16731         to make autoconf happier.
16732
16733         * gst/base/Makefile.am: Make libgstbase a versioned lib.
16734
16735 2005-03-28  Wim Taymans  <wim@fluendo.com>
16736
16737         * configure.ac:
16738         * docs/design/part-gstelement.txt:
16739         * docs/design/part-negotiation.txt:
16740         * docs/design/part-preroll.txt:
16741         * docs/design/part-scheduling.txt:
16742         * docs/design/part-states.txt:
16743         * gst/Makefile.am:
16744         * gst/base/Makefile.am:
16745         * gst/base/README:
16746         * gst/base/gstbasesink.c: (gst_basesink_get_template),
16747         (gst_basesink_base_init), (gst_basesink_class_init),
16748         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16749         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16750         (gst_basesink_set_pad_functions),
16751         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16752         (gst_basesink_set_property), (gst_basesink_get_property),
16753         (gst_base_sink_get_template), (gst_base_sink_get_caps),
16754         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16755         (gst_basesink_preroll_queue_push),
16756         (gst_basesink_preroll_queue_empty),
16757         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16758         (gst_basesink_event), (gst_basesink_get_times),
16759         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16760         (gst_basesink_chain_unlocked), (gst_basesink_chain),
16761         (gst_basesink_loop), (gst_basesink_activate),
16762         (gst_basesink_change_state):
16763         * gst/base/gstbasesink.h:
16764         * gst/elements/Makefile.am:
16765         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
16766         (gst_fakesink_class_init), (gst_fakesink_init),
16767         (gst_fakesink_set_property), (gst_fakesink_get_property),
16768         (gst_fakesink_get_times), (gst_fakesink_event),
16769         (gst_fakesink_preroll), (gst_fakesink_render),
16770         (gst_fakesink_change_state):
16771         * gst/elements/gstfakesink.h:
16772         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16773         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
16774         * gst/gstelement.c: (gst_element_add_pad),
16775         (gst_element_get_state_func), (gst_element_abort_state),
16776         (gst_element_commit_state), (gst_element_lost_state),
16777         (gst_element_set_state), (gst_element_pads_activate):
16778         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
16779         * gst/gstpipeline.c: (gst_pipeline_send_event),
16780         (gst_pipeline_change_state):
16781         Added state change code.
16782         Added/updated docs.
16783         Added sink base class, make fakesink extend the base class.
16784         Small cleanups in GstPipeline.
16785
16786 2005-03-26  David Schleef  <ds@schleef.org>
16787
16788         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
16789         is broken and should be implemented in a different library.
16790         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
16791         * gst/gst.h: remove gstcpu.h
16792         * gst/gstcpu.c: remove
16793         * gst/gstcpu.h: remove
16794         * gst/Makefile.am.future: Remove this file.  It's ancient.
16795
16796 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16797
16798         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16799         (gst_bin_send_event):
16800           Add default event/set_manager handlers. The set_manager handler
16801           takes care that the manager is distributed over kids that were
16802           already in the bin before the manager was set. The event handler
16803           is a utility virtual function that sends the event over all sinks,
16804           so that gst_element_send_event (bin, event); has the expected
16805           behaviour.
16806         * gst/gstpad.c: (gst_pad_event_default):
16807           Re-install default event handling for discontinuities, so that
16808           seeking works without requiring hacks in applications or extra
16809           code in sinks.
16810         * gst/gstpipeline.c: (gst_pipeline_class_init),
16811         (gst_pipeline_send_event):
16812           Half hack, half utility: set a pipeline to PAUSED for seek events,
16813           since that is the only way we can guarantee a/v sync. Means that
16814           you can do gst_element_seek (pipeline, method, pos); on a pipeline
16815           and it "just works".
16816
16817 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16818
16819         * gst/gstpipeline.c: (gst_pipeline_use_clock):
16820           Lock/unlock mismatch.
16821
16822 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16823
16824         * docs/faq/gst-uninstalled:
16825           add gst-plugins-base
16826         * docs/gst/Makefile.am:
16827           don't error out until docs are fixed
16828         * docs/gst/gstreamer.types:
16829           remove thread
16830
16831 2005-03-22  Wim Taymans  <wim@fluendo.com>
16832
16833         * check/Makefile.am:
16834         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
16835         * gst/gststructure.c: (gst_structure_set_valist),
16836         (gst_structure_copy_conditional):
16837         Activated more tests.
16838         Added message test.
16839         Added G_TYPE_POINTER to GstStructure.
16840         
16841
16842 2005-03-22  Wim Taymans  <wim@fluendo.com>
16843
16844         * docs/design/part-TODO.txt:
16845         * docs/design/part-events.txt:
16846         * docs/design/part-gstbin.txt:
16847         * docs/design/part-gstbus.txt:
16848         * docs/design/part-gstpipeline.txt:
16849         * docs/design/part-messages.txt:
16850         * gst/gstbus.c:
16851         * gst/gstmessage.c:
16852         Docs updates
16853
16854 2005-03-21  Wim Taymans  <wim@fluendo.com>
16855
16856         * gst/gstbus.c: (gst_bus_post):
16857         Fix copy-and-paste error.
16858
16859 2005-03-21  Wim Taymans  <wim@fluendo.com>
16860
16861         * check/Makefile.am:
16862         * gst/Makefile.am:
16863         * gst/elements/Makefile.am:
16864         * gst/elements/gstelements.c:
16865         * gst/elements/gstfakesink.c: (gst_fakesink_init),
16866         (gst_fakesink_event), (gst_fakesink_chain):
16867         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16868         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
16869         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
16870         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
16871         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16872         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
16873         (gst_fakesrc_loop), (gst_fakesrc_activate),
16874         (gst_fakesrc_change_state):
16875         * gst/elements/gstfakesrc.h:
16876         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
16877         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
16878         (gst_filesrc_open_file), (gst_filesrc_loop),
16879         (gst_filesrc_activate), (gst_filesrc_change_state),
16880         (filesrc_find_peek), (filesrc_find_suggest),
16881         (gst_filesrc_type_find):
16882         * gst/elements/gstidentity.c: (gst_identity_finalize),
16883         (gst_identity_class_init), (gst_identity_init),
16884         (gst_identity_proxy_getcaps), (identity_queue_push),
16885         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
16886         (gst_identity_getrange), (gst_identity_chain),
16887         (gst_identity_sink_loop), (gst_identity_src_loop),
16888         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
16889         (gst_identity_set_property), (gst_identity_get_property),
16890         (gst_identity_change_state):
16891         * gst/elements/gstidentity.h:
16892         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
16893         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
16894         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
16895         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
16896         (gst_tee_sink_activate):
16897         * gst/elements/gsttee.h:
16898         * gst/gst.c: (gst_register_core_elements), (init_post):
16899         * gst/gst.h:
16900         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
16901         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
16902         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
16903         (gst_bin_change_state):
16904         * gst/gstbin.h:
16905         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
16906         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
16907         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
16908         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
16909         (gst_bus_set_sync_handler), (gst_bus_create_watch),
16910         (bus_watch_callback), (bus_watch_destroy),
16911         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
16912         (poll_timeout), (gst_bus_poll):
16913         * gst/gstbus.h:
16914         * gst/gstcaps.h:
16915         * gst/gstdata.h:
16916         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16917         (gst_element_post_message), (gst_element_message_full),
16918         (gst_element_get_state_func), (gst_element_get_state),
16919         (gst_element_abort_state), (gst_element_commit_state),
16920         (gst_element_lost_state), (gst_element_set_state),
16921         (gst_element_pads_activate), (gst_element_change_state),
16922         (gst_element_dispose), (gst_element_set_manager_func),
16923         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
16924         (gst_element_set_manager), (gst_element_get_manager),
16925         (gst_element_set_bus), (gst_element_get_bus),
16926         (gst_element_set_scheduler), (gst_element_get_scheduler):
16927         * gst/gstelement.h:
16928         * gst/gstevent.c: (gst_event_new_segment_seek),
16929         (gst_event_new_flush):
16930         * gst/gstevent.h:
16931         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
16932         (_gst_message_free), (gst_message_get_type), (gst_message_new),
16933         (gst_message_new_eos), (gst_message_new_error),
16934         (gst_message_new_warning), (gst_message_new_tag),
16935         (gst_message_new_state_changed), (gst_message_new_application),
16936         (gst_message_get_structure), (gst_message_parse_tag),
16937         (gst_message_parse_state_changed), (gst_message_parse_error),
16938         (gst_message_parse_warning):
16939         * gst/gstmessage.h:
16940         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
16941         (gst_real_pad_set_property), (gst_pad_set_active),
16942         (gst_pad_is_active), (gst_pad_set_blocked_async),
16943         (gst_pad_set_blocked), (gst_pad_is_blocked),
16944         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
16945         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
16946         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
16947         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
16948         (gst_pad_link_filtered), (gst_pad_relink_filtered),
16949         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
16950         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
16951         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
16952         (gst_pad_set_caps), (gst_pad_configure_sink),
16953         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
16954         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
16955         (gst_real_pad_dispose), (gst_real_pad_finalize),
16956         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
16957         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16958         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
16959         * gst/gstpad.h:
16960         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
16961         (pipeline_bus_handler), (gst_pipeline_change_state),
16962         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
16963         * gst/gstpipeline.h:
16964         * gst/gstprobe.h:
16965         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16966         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
16967         (gst_queue_link_src), (gst_queue_bufferalloc),
16968         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16969         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
16970         (gst_queue_loop), (gst_queue_handle_src_event),
16971         (gst_queue_handle_src_query), (gst_queue_src_activate),
16972         (gst_queue_change_state):
16973         * gst/gstqueue.h:
16974         * gst/gstscheduler.c: (gst_scheduler_init),
16975         (gst_scheduler_dispose), (gst_scheduler_create_task),
16976         (gst_scheduler_factory_create):
16977         * gst/gstscheduler.h:
16978         * gst/gststructure.c: (gst_structure_get_type),
16979         (gst_structure_copy_conditional):
16980         * gst/gststructure.h:
16981         * gst/gsttaginterface.h:
16982         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16983         (gst_task_init), (gst_task_dispose), (gst_task_create),
16984         (gst_task_get_state), (gst_task_start), (gst_task_stop),
16985         (gst_task_pause):
16986         * gst/gsttask.h:
16987         * gst/gstthread.c:
16988         * gst/gstthread.h:
16989         * gst/gsttypes.h:
16990         * gst/schedulers/Makefile.am:
16991         * gst/schedulers/cothreads_compat.h:
16992         * gst/schedulers/entryscheduler.c:
16993         * gst/schedulers/faircothreads.c:
16994         * gst/schedulers/faircothreads.h:
16995         * gst/schedulers/fairscheduler.c:
16996         * gst/schedulers/gstbasicscheduler.c:
16997         * gst/schedulers/gstoptimalscheduler.c:
16998         * gst/schedulers/gthread-cothreads.h:
16999         * gst/schedulers/threadscheduler.c:
17000         (gst_thread_scheduler_task_get_type),
17001         (gst_thread_scheduler_task_class_init),
17002         (gst_thread_scheduler_task_init),
17003         (gst_thread_scheduler_task_start),
17004         (gst_thread_scheduler_task_stop),
17005         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17006         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17007         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17008         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17009         (plugin_init):
17010         * libs/gst/Makefile.am:
17011         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17012         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17013         (gst_file_pad_parent_set):
17014         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17015         (gst_dp_event_from_packet):
17016         * tests/complexity.c: (main):
17017         * tests/mass_elements.c: (main):
17018         * testsuite/states/locked.c: (message_received), (main):
17019         * testsuite/states/parent.c: (main):
17020         * tools/gst-inspect.c: (print_element_flag_info),
17021         (print_implementation_info), (print_pad_info):
17022         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17023         (main):
17024         * tools/gst-md5sum.c: (event_loop), (main):
17025         * tools/gst-typefind.c: (main):
17026         * tools/gst-xmlinspect.c: (print_element_info):
17027         Next big merge.
17028         Added GstBus for mainloop integration.
17029         Added GstMessage for sending notifications on the bus.
17030         Added GstTask as an abstraction for pipeline entry points.
17031         Removed GstThread.
17032         Removed Schedulers.
17033         Simplified GstQueue for multithreaded core.
17034         Made _link threadsafe, removed old capsnego.
17035         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17036         Added pad blocking functions.
17037         Reworked scheduling functions in GstPad to prepare for
17038         scheduling updates soon.
17039         Moved events out of data stream.
17040         Simplified GstEvent types.
17041         Added return values to push/pull.
17042         Removed clocking from GstElement.
17043         Added prototypes for state change function for next merge.
17044         Removed iterate from bins and state change management.
17045         Fixed some elements, disabled others for now.
17046         Fixed -inspect and -launch.
17047         Added check for GstBus.
17048
17049 2005-03-10  Wim Taymans  <wim@fluendo.com>
17050
17051         * docs/design/part-MT-refcounting.txt:
17052         * docs/design/part-clocks.txt:
17053         * docs/design/part-gstelement.txt:
17054         * docs/design/part-gstobject.txt:
17055         * docs/design/part-standards.txt:
17056         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17057         (gst_bin_remove_func), (gst_bin_remove):
17058         * gst/gstbin.h:
17059         * gst/gstbuffer.c:
17060         * gst/gstcaps.h:
17061         * testsuite/clock/clock1.c: (main):
17062         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17063         (main):
17064         * testsuite/dlopen/loadgst.c: (do_test):
17065         * testsuite/refcounting/bin.c: (add_remove_test1),
17066         (add_remove_test2), (main):
17067         * testsuite/refcounting/element.c: (main):
17068         * testsuite/refcounting/element_pad.c: (main):
17069         * testsuite/refcounting/pad.c: (main):
17070         * tools/gst-launch.c: (sigint_handler_sighandler):
17071         * tools/gst-typefind.c: (main):
17072         Doc updates.
17073         Added doc about clock.
17074         removed gst_bin_iterate_recurse_up(), marked methods
17075         for removal.
17076         Fix more testsuites.
17077
17078 2005-03-09  Wim Taymans  <wim@fluendo.com>
17079
17080         * gst/gstpad.c: (gst_pad_get_direction),
17081         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17082         (gst_pad_collect_valist):
17083         * testsuite/bins/interface.c: (main):
17084         * testsuite/caps/audioscale.c: (test_caps):
17085         * testsuite/caps/caps.c: (test1), (test2), (test3):
17086         * testsuite/caps/deserialize.c: (main):
17087         * testsuite/caps/enumcaps.c: (main):
17088         * testsuite/caps/filtercaps.c: (main):
17089         * testsuite/caps/intersect2.c: (main):
17090         * testsuite/caps/random.c: (main):
17091         * testsuite/caps/renegotiate.c: (my_fixate), (main):
17092         * testsuite/caps/sets.c: (check_caps):
17093         * testsuite/caps/simplify.c: (check_caps), (main):
17094         * testsuite/caps/subtract.c: (check_caps):
17095         Fix _pad_get_direction wrt ghostpads.
17096         Fix caps testsuite.
17097
17098 2005-03-09  Wim Taymans  <wim@fluendo.com>
17099
17100         * check/Makefile.am:
17101         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17102         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17103         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17104         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17105         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17106         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17107         (gst_bin_remove), (gst_bin_iterate_recurse_up),
17108         (bin_element_is_sink), (gst_bin_iterate_sinks),
17109         (gst_bin_iterate_all_by_interface):
17110         * gst/gstbin.h:
17111         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17112         (gst_element_change_state), (gst_element_dispose),
17113         (gst_element_finalize), (gst_element_set_loop_function):
17114         * gst/gstelement.h:
17115         * gst/gstiterator.c: (find_custom_fold_func):
17116         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17117         (gst_pad_collectv), (gst_pad_collect_valist),
17118         (gst_pad_template_new):
17119         * gst/gstpipeline.c: (gst_pipeline_class_init),
17120         (gst_pipeline_dispose), (gst_pipeline_set_property),
17121         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17122         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17123         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17124         * gst/gstutils.h:
17125         * gst/schedulers/entryscheduler.c:
17126         * gst/schedulers/gstbasicscheduler.c:
17127         (gst_basic_scheduler_cothreaded_chain),
17128         (gst_basic_scheduler_chain_add_element):
17129         * testsuite/bins/interface.c: (main):
17130         Added GstBin test.
17131         Added GstSystemClock test.
17132         Implemented clock distribution code in GstBin.
17133         Implemented iterate sinks method for future use.
17134         Rearranged gstelement.h
17135         Fix GstIterator comparison bug.
17136         Moved some code to GstPipeline, mostly clocking related.
17137
17138 2005-03-09  Wim Taymans  <wim@fluendo.com>
17139
17140         * configure.ac:
17141         * gst/gst_private.h:
17142         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17143         (gst_bin_remove_func), (gst_bin_remove),
17144         (gst_bin_get_by_name_recurse_up):
17145         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17146         (gst_clock_id_compare_func), (gst_clock_id_wait),
17147         (gst_clock_id_wait_async), (gst_clock_init),
17148         (gst_clock_adjust_unlocked), (gst_clock_get_time):
17149         * gst/gstelement.h:
17150         * gst/gstinfo.c: (_gst_debug_init):
17151         * gst/gstobject.h:
17152         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17153         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17154         * gst/gstpad.h:
17155         Bump version number, we're now 0.9.0
17156         Add future debugging category.
17157         Fix NULL _unref() in _get_by_name_recurse_up
17158         Rearrange gstpad.h.
17159         Update some docs.
17160
17161 2005-03-08  Wim Taymans  <wim@fluendo.com>
17162
17163         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17164         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17165         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17166         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17167         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17168         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17169         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17170         * gst/elements/gstidentity.c: (gst_identity_class_init):
17171         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17172         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17173         * gst/elements/gstshaper.c: (gst_shaper_class_init):
17174         * gst/elements/gststatistics.c: (gst_statistics_class_init):
17175         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17176         (gst_tee_link):
17177         * gst/gstelement.c: (gst_element_class_init),
17178         (gst_element_base_class_init), (gst_element_init),
17179         (gst_element_get_random_pad), (gst_element_wait_state_change),
17180         (gst_element_change_state), (gst_element_dispose),
17181         (gst_element_finalize), (gst_element_set_loop_function):
17182         * gst/gstelement.h:
17183         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17184         * gst/gstthread.c: (gst_thread_class_init),
17185         (gst_thread_release_children_locks), (gst_thread_change_state):
17186         * gst/schedulers/gstbasicscheduler.c:
17187         (gst_basic_scheduler_loopfunc_wrapper),
17188         (gst_basic_scheduler_chain_wrapper),
17189         (gst_basic_scheduler_src_wrapper),
17190         (gst_basic_scheduler_remove_element):
17191         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17192         Remove threadsafe properties. Fix elements because GObject
17193         complains when installing a property before declaring a
17194         set/get_property handler.
17195         Rearrange gstelement.h file, use STATE macros for state locks.
17196         Free mutexes in the finalize method instead of dispose.
17197
17198 2005-03-08  Wim Taymans  <wim@fluendo.com>
17199
17200         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17201         * gst/gstthread.c: (gst_thread_release_children_locks):
17202         Added parentage check.
17203         Fix build og GstThread again.
17204
17205 2005-03-08  Wim Taymans  <wim@fluendo.com>
17206
17207         * docs/design/part-MT-refcounting.txt:
17208         * docs/design/part-conventions.txt:
17209         * docs/design/part-gstobject.txt:
17210         * docs/design/part-relations.txt:
17211         * docs/design/part-standards.txt:
17212         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17213         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17214         (gst_bin_get_by_name), (gst_bin_get_by_interface),
17215         (gst_bin_iterate_all_by_interface):
17216         * gst/gstbuffer.h:
17217         * gst/gstclock.h:
17218         * gst/gstelement.c: (gst_element_class_init),
17219         (gst_element_change_state), (gst_element_set_loop_function):
17220         * gst/gstelement.h:
17221         * gst/gstiterator.c:
17222         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17223         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17224         (gst_object_dispatch_properties_changed), (gst_object_set_name),
17225         (gst_object_set_parent), (gst_object_unparent),
17226         (gst_object_check_uniqueness):
17227         * gst/gstobject.h:
17228         Docs updates, clean up some headers.
17229
17230 2005-03-07  Wim Taymans  <wim@fluendo.com>
17231
17232         * check/.cvsignore:
17233         * check/Makefile.am:
17234         * check/gst-libs/.cvsignore:
17235         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17236         * check/gst/.cvsignore:
17237         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17238         (START_TEST), (gstbus_suite), (main):
17239         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17240         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17241         (gst_data_suite), (main):
17242         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17243         (add_fold_func), (gstiterator_suite), (main):
17244         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17245         (thread_name_object), (thread_name_object_default),
17246         (gst_object_name_compare), (gst_object_suite), (main):
17247         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17248         (gst_pad_suite), (main):
17249         * check/gstcheck.c: (gst_check_log_message_func),
17250         (gst_check_log_critical_func), (gst_check_init):
17251         * check/gstcheck.h:
17252         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17253         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17254         Added checks.
17255
17256 2005-03-07  Wim Taymans  <wim@fluendo.com>
17257
17258         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17259         (gst_list_iterator_next), (gst_list_iterator_resync),
17260         (gst_list_iterator_free), (gst_iterator_new_list),
17261         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17262         (gst_iterator_free), (gst_iterator_push), (filter_next),
17263         (filter_resync), (filter_uninit), (filter_free),
17264         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17265         (gst_iterator_foreach), (find_custom_fold_func),
17266         (gst_iterator_find_custom):
17267         * gst/gstiterator.h:
17268         Added missing files.
17269
17270 2005-03-07  Wim Taymans  <wim@fluendo.com>
17271
17272         * Makefile.am:
17273         * configure.ac:
17274         * docs/design/part-MT-refcounting.txt:
17275         * docs/design/part-conventions.txt:
17276         * docs/design/part-gstobject.txt:
17277         * docs/design/part-relations.txt:
17278         * examples/mixer/mixer.c: (main):
17279         * examples/thread/thread.c: (eos), (main):
17280         * gst/Makefile.am:
17281         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17282         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17283         (gst_spider_plug_from_srcpad):
17284         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17285         (gst_spider_identity_change_state),
17286         (gst_spider_identity_sink_loop_type_finding):
17287         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17288         * gst/elements/gstidentity.c: (gst_identity_init):
17289         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17290         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17291         * gst/elements/gsttypefindelement.c: (free_entry):
17292         * gst/gst.c:
17293         * gst/gst.h:
17294         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17295         (gst_bin_set_clock_func), (gst_bin_auto_clock),
17296         (gst_bin_set_index), (gst_bin_set_element_sched),
17297         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17298         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17299         (gst_bin_iterate_elements), (iterate_child_recurse),
17300         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17301         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17302         (compare_interface), (gst_bin_get_by_interface),
17303         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17304         * gst/gstbin.h:
17305         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17306         (gst_buffer_default_free), (gst_buffer_default_copy),
17307         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17308         (gst_buffer_create_sub):
17309         * gst/gstbuffer.h:
17310         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17311         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17312         (gst_caps_unref), (gst_static_caps_get),
17313         (gst_caps_remove_and_get_structure), (gst_caps_append),
17314         (gst_caps_append_structure), (gst_caps_remove_structure),
17315         (gst_caps_copy_nth), (gst_caps_set_simple),
17316         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17317         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17318         (gst_caps_structure_intersect_field), (gst_caps_intersect),
17319         (gst_caps_structure_subtract_field), (gst_caps_subtract),
17320         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17321         (gst_caps_structure_figure_out_union),
17322         (gst_caps_switch_structures), (gst_caps_do_simplify),
17323         (gst_caps_replace), (gst_caps_from_string),
17324         (gst_caps_copy_conditional):
17325         * gst/gstcaps.h:
17326         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17327         (_gst_clock_id_free), (gst_clock_id_unref),
17328         (gst_clock_id_compare_func), (gst_clock_id_wait),
17329         (gst_clock_id_wait_async), (gst_clock_class_init),
17330         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17331         (gst_clock_get_time), (gst_clock_set_time_adjust),
17332         (gst_clock_set_property), (gst_clock_get_property):
17333         * gst/gstclock.h:
17334         * gst/gstcompat.h:
17335         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17336         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17337         * gst/gstdata.h:
17338         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17339         (gst_element_requires_clock), (gst_element_provides_clock),
17340         (gst_element_set_clock), (gst_element_clock_wait),
17341         (gst_element_wait), (gst_element_set_time_delay),
17342         (gst_element_is_indexable), (gst_element_add_pad),
17343         (gst_element_add_ghost_pad), (gst_element_remove_pad),
17344         (pad_compare_name), (gst_element_get_static_pad),
17345         (gst_element_request_pad), (gst_element_get_request_pad),
17346         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17347         (gst_element_class_get_pad_template_list),
17348         (gst_element_class_get_pad_template), (gst_element_error_func),
17349         (gst_element_get_random_pad), (gst_element_get_event_masks),
17350         (gst_element_send_event), (gst_element_seek),
17351         (gst_element_get_query_types), (gst_element_query),
17352         (gst_element_get_formats), (gst_element_convert),
17353         (gst_element_is_locked_state), (gst_element_set_locked_state),
17354         (gst_element_sync_state_with_parent), (gst_element_change_state),
17355         (gst_element_finalize), (gst_element_yield),
17356         (gst_element_interrupt), (gst_element_set_scheduler),
17357         (gst_element_get_scheduler), (gst_element_set_loop_function):
17358         * gst/gstelement.h:
17359         * gst/gstevent.h:
17360         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17361         (gst_format_get_by_nick), (gst_format_get_details),
17362         (gst_format_iterate_definitions):
17363         * gst/gstformat.h:
17364         * gst/gstindex.c: (gst_index_gtype_resolver):
17365         * gst/gstinfo.c:
17366         * gst/gstinfo.h:
17367         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17368         (gst_mem_chunk_free):
17369         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17370         (gst_object_ref), (gst_object_unref), (gst_object_sink),
17371         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17372         (gst_object_dispatch_properties_changed),
17373         (gst_object_set_name_default), (gst_object_set_name),
17374         (gst_object_get_name), (gst_object_set_name_prefix),
17375         (gst_object_get_name_prefix), (gst_object_set_parent),
17376         (gst_object_get_parent), (gst_object_unparent),
17377         (gst_object_check_uniqueness), (gst_object_save_thyself),
17378         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17379         (gst_object_set_property), (gst_object_get_property),
17380         (gst_object_get_path_string):
17381         * gst/gstobject.h:
17382         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17383         (gst_real_pad_init), (gst_real_pad_get_property),
17384         (gst_pad_custom_new), (gst_pad_get_direction),
17385         (gst_pad_set_active), (gst_pad_is_active),
17386         (gst_pad_set_event_function), (gst_pad_is_linked),
17387         (gst_pad_link_free), (gst_pad_link_intersect),
17388         (gst_pad_link_fixate), (gst_pad_set_caps),
17389         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17390         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17391         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17392         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17393         (gst_pad_get_caps), (gst_pad_peer_get_caps),
17394         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17395         (gst_pad_realize), (gst_pad_get_allowed_caps),
17396         (gst_real_pad_dispose), (gst_real_pad_finalize),
17397         (gst_pad_collectv), (gst_pad_collect_valist),
17398         (gst_pad_template_dispose), (gst_pad_template_new),
17399         (gst_pad_get_internal_links):
17400         * gst/gstpad.h:
17401         * gst/gstpipeline.c: (gst_pipeline_dispose),
17402         (gst_pipeline_change_state):
17403         * gst/gstpipeline.h:
17404         * gst/gstplugin.c:
17405         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17406         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17407         * gst/gstpluginfeature.h:
17408         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17409         * gst/gstquery.c: (_gst_query_type_initialize),
17410         (gst_query_type_register), (gst_query_type_get_by_nick),
17411         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17412         * gst/gstquery.h:
17413         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17414         * gst/gstscheduler.c: (gst_scheduler_add_element),
17415         (gst_scheduler_factory_create):
17416         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17417         (gst_structure_free), (gst_structure_set_name),
17418         (gst_structure_id_set_value), (gst_structure_set_value),
17419         (gst_structure_set_valist), (gst_structure_remove_field),
17420         (gst_structure_remove_fields),
17421         (gst_structure_remove_fields_valist),
17422         (gst_structure_remove_all_fields), (gst_structure_foreach),
17423         (gst_structure_map_in_place),
17424         (gst_caps_structure_fixate_field_nearest_int),
17425         (gst_caps_structure_fixate_field_nearest_double):
17426         * gst/gststructure.h:
17427         * gst/gstsystemclock.c: (gst_system_clock_class_init),
17428         (gst_system_clock_init), (gst_system_clock_dispose),
17429         (gst_system_clock_async_thread),
17430         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17431         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17432         * gst/gstsystemclock.h:
17433         * gst/gsttag.c: (gst_tag_list_add_value_internal),
17434         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17435         * gst/gsttaginterface.c:
17436         * gst/gstthread.c: (gst_thread_dispose),
17437         (gst_thread_release_children_locks), (gst_thread_change_state),
17438         (gst_thread_main_loop):
17439         * gst/gsttrashstack.h:
17440         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17441         * gst/gsttypes.h:
17442         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17443         (gst_element_request_pad), (gst_element_get_pad_from_template),
17444         (gst_element_request_compatible_pad),
17445         (gst_element_get_compatible_pad_filtered),
17446         (gst_element_get_compatible_pad), (gst_element_state_get_name),
17447         (gst_element_link_pads_filtered), (gst_element_link_filtered),
17448         (gst_element_link_many), (gst_element_link),
17449         (gst_element_link_pads), (gst_element_unlink_pads),
17450         (gst_element_unlink_many), (gst_element_unlink),
17451         (gst_pad_can_link_filtered), (gst_pad_can_link),
17452         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17453         (gst_object_default_error), (gst_bin_add_many),
17454         (gst_bin_remove_many), (gst_element_populate_std_props),
17455         (gst_element_class_install_std_props), (gst_buffer_merge),
17456         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17457         (link_fold_func), (gst_pad_proxy_setcaps):
17458         * gst/gstutils.h:
17459         * gst/gstvalue.c: (gst_value_deserialize_string):
17460         * gst/parse/grammar.y:
17461         * gst/schedulers/gstbasicscheduler.c:
17462         (gst_basic_scheduler_cothreaded_chain),
17463         (gst_basic_scheduler_chain_recursive_add),
17464         (gst_basic_scheduler_pad_link):
17465         * gst/schedulers/gstoptimalscheduler.c:
17466         (get_group_schedule_function),
17467         (gst_opt_scheduler_state_transition),
17468         (gst_opt_scheduler_add_element), (element_get_reachables_func):
17469         * libs/gst/bytestream/bytestream.c:
17470         * libs/gst/dataprotocol/dataprotocol.c:
17471         (gst_dp_header_from_buffer):
17472         * po/nb.po:
17473         * po/ru.po:
17474         * tests/threadstate/threadstate2.c: (eos):
17475         * tools/gst-compprep.c: (main):
17476         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17477         (print_pad_info), (print_children_info):
17478         * tools/gst-launch.c: (idle_func), (main):
17479         * tools/gst-md5sum.c: (idle_func), (main):
17480         * tools/gst-xmlinspect.c: (print_element_info):
17481         First THREADED backport attempt, focusing on adding locks and
17482         making sure the API is threadsafe. Needs more work. More docs
17483         follow this week.
17484
17485 2005-02-24  Andy Wingo  <wingo@pobox.com>
17486
17487         * tests/bench-complexity.scm:
17488         * tests/complexity.gnuplot: New files, good for running complexity
17489         benchmarks.
17490
17491         * tests/Makefile.am:
17492         * tests/complexity.c: New test, sets up N elements, at each level
17493         teeing into M streams per element. Eeeenteresting.
17494
17495         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17496         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17497         running bench-mass_elements.scm.
17498
17499         * tests/bench-mass_elements.scm: New script, runs mass_elements
17500         for various numbers of identities, outputting the results to a
17501         file. Requires guile 1.6. Just for testing.
17502
17503 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17504
17505         * gst/schedulers/fairscheduler.c:
17506           compile with debug disabled
17507
17508 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17509
17510         * configure.ac:
17511           hunting season on 0.9 is now OPEN