gst/gst.c: use _exit() instead of exit() in our forked child; this ensures that none...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * gst/gst.c: (init_post):
4           use _exit() instead of exit() in our forked child; this ensures
5           that none of the registered exit handlers from whatever is using
6           GStreamer get executed.  This fixes gnome-mixer-applet failing
7           to load, because ORBit would shut down.
8           Spotted by: Edward Hervey  <edward@fluendo.com>
9           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10           Fixes #344474
11
12 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13
14         * configure.ac:
15           back to TRUNK
16
17 === release 0.10.7 ===
18
19 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
20
21         * configure.ac:
22           releasing 0.10.7, "Soepeke, ik zie ou"
23
24 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25
26         * configure.ac:
27         * po/af.po:
28         * po/az.po:
29         * po/bg.po:
30         * po/ca.po:
31         * po/cs.po:
32         * po/de.po:
33         * po/en_GB.po:
34         * po/fr.po:
35         * po/it.po:
36         * po/nb.po:
37         * po/nl.po:
38         * po/ru.po:
39         * po/sq.po:
40         * po/sr.po:
41         * po/sv.po:
42         * po/tr.po:
43         * po/uk.po:
44         * po/vi.po:
45         * po/zh_CN.po:
46         * po/zh_TW.po:
47         * win32/common/config.h:
48           0.10.6.2 prerelease
49
50 2006-06-07  Wim Taymans  <wim@fluendo.com>
51
52         * gst/gstindex.c: (gst_index_gtype_resolver):
53         * tools/gst-xmlinspect.c: (print_plugin_info):
54         Fix leak spotted by coverity checker. Fixes #343827
55         Fix another other leak found by paolo borelli.
56
57 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
58
59         * libs/gst/dataprotocol/dataprotocol.c:
60         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
61         (gst_dp_version_get_type), (gst_dp_init),
62         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
63         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
64         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
65         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
66         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
67         (gst_dp_packetizer_free):
68         * libs/gst/dataprotocol/dataprotocol.h:
69           API: add a GstDPPacketizer object, and create/free functions
70           API: add GstDPVersion enum
71           Add 1.0 event function that uses the string serialization
72           Serialize more useful buffer flags
73           Fixes #343988
74
75 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
76
77         * tests/check/Makefile.am:
78         * tests/check/gst/gstabi.c:
79         * tests/check/gst/struct_ppc64.h:
80         * tests/check/libs/libsabi.c:
81         * tests/check/libs/struct_ppc64.h:
82           add ppc64 structure sizes
83
84 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
85
86         * tests/check/Makefile.am:
87         * tests/check/gst/gstabi.c:
88         * tests/check/gst/struct_x86_64.h:
89         * tests/check/libs/libsabi.c:
90         * tests/check/libs/struct_x86_64.h:
91           generate and add structure size lists for x86_64
92
93 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
94
95         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
96         * libs/gst/check/gstcheck.h:
97           factor out the method from tests that checks size of structures,
98           and add code to generate the header containing these sizes
99         * tests/check/gst/gstabi.c: (GST_START_TEST):
100         * tests/check/gst/struct_i386.h:
101         * tests/check/libs/libsabi.c: (GST_START_TEST):
102         * tests/check/libs/struct_i386.h:
103           use it
104
105 2006-06-06  Michael Smith  <msmith@fluendo.com>
106
107         * gst/gstsegment.h:
108           Don't use c++-style comments, fixes #343929
109
110 2006-06-05  Edward Hervey  <edward@fluendo.com>
111
112         * gst/gst.c:
113         plugin_paths is not used if we build without registry support.
114
115         * gst/gstsegment.c: (gst_segment_copy): 
116         _copy() was always returning NULL...
117
118 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
119
120         * libs/gst/dataprotocol/dataprotocol.c:
121         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
122         (gst_dp_packet_from_event):
123           factor out CRC code
124
125 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
126
127         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
128           make sure we unset caps
129
130 2006-06-02  Michael Smith  <msmith@fluendo.com>
131
132         * libs/gst/check/gstcheck.c: (gst_check_init),
133         (gst_check_chain_func):
134         * libs/gst/check/gstcheck.h:
135           Add a cond/mutex to the check support lib, signal this whenever we
136           add to the buffers list. This will allow tests to not busy-wait on
137           the buffer-list.
138
139 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
140
141         * libs/gst/dataprotocol/dataprotocol.c:
142         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
143         (gst_dp_packet_from_event):
144           factor out some common header init code
145
146 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
147
148         * docs/libs/gstreamer-libs-sections.txt:
149         * docs/libs/tmpl/gstdataprotocol.sgml:
150         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
151         * libs/gst/dataprotocol/dataprotocol.h:
152           API: make gst_dp_crc() public
153
154 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
155
156         * plugins/indexers/gstindexers.c: (plugin_init):
157         conditionally register fileindexer (fixes #343598)
158
159 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
160
161         * gst/gsttagsetter.h:
162         Can't cast ifaces to a class
163
164         * libs/gst/net/gstnetclientclock.h:
165         * libs/gst/net/gstnettimeprovider.h:
166         * plugins/elements/gstfakesink.h:
167         * plugins/elements/gstfakesrc.h:
168         * plugins/elements/gstfdsink.h:
169         * plugins/elements/gstfdsrc.h:
170         * plugins/elements/gstfilesink.h:
171         * plugins/elements/gstfilesrc.h:
172         * plugins/elements/gstidentity.h:
173         * plugins/elements/gstqueue.h:
174         * plugins/elements/gsttee.h:
175         * plugins/indexers/gstfileindex.c:
176         * plugins/indexers/gstmemindex.c:
177         * tests/old/examples/plugins/example.h:
178         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
179
180 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
181
182         * libs/gst/dataprotocol/dataprotocol.c:
183         (gst_dp_header_from_buffer):
184           make sure we zero the whole ABI-compatible area
185
186 2006-06-01  Wim Taymans  <wim@fluendo.com>
187
188         Patch by: Alessandro Decina <alessandro at nnva dot org>
189
190         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
191         Make sure the EOS flag is cleared from pads after a flush
192         or stop. Fixes #343538.
193
194         * tests/check/libs/collectpads.c: (GST_START_TEST),
195         (gst_collect_pads_suite):
196         Added test for collectpads reusage after EOS.
197
198 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
199
200         * gst/gst.c:
201          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
202         * win32/common/libgstbase.def:
203          export gst_collect_pads_set_flushing
204         * win32/common/libgstreamer.def:
205          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
206          gst_value_fraction_multiply
207         * win32/vs6/gst_inspect.dsp:
208          add a link to intl.lib
209
210 2006-05-30  Wim Taymans  <wim@fluendo.com>
211
212         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
213         (gst_collect_pads_chain):
214         Handle the case where a pad is removed from the collection
215         that could cause the other pads to become collectable.
216
217 2006-05-30  Wim Taymans  <wim@fluendo.com>
218
219         * gst/gstelement.c:
220         Clarify the use of _release_request_pad() and
221         _get_request_pad() a bit better.
222
223         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
224         (gst_adapter_take_buffer):
225         Fix some doc and comment typos.
226
227 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
228
229         * docs/gst/gstreamer-sections.txt:
230         * docs/libs/gstreamer-libs-sections.txt:
231           add declared symbols
232
233 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
234
235         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
236         Add debug that can be enabled using a #define at the top of the file,
237         for dumping stats about how late/early we were when waking up from
238         waiting on the clock.
239
240 2006-05-30  Wim Taymans  <wim@fluendo.com>
241
242         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
243         When rebuilding the pad list, don't leak the previous list.
244
245 2006-05-30  Wim Taymans  <wim@fluendo.com>
246
247         Patch by: Lutz Mueller <lutz at topfrose dot de>
248
249         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
250         (gst_base_src_get_query_types), (gst_base_src_update_length):
251         Publish supported query types.
252         Update last_stop field in get_range mode so the position
253         query works. Fixes #342321.
254
255 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
256
257         * docs/gst/gstreamer-sections.txt:
258         * gst/gsttaglist.c: (_gst_tag_initialize):
259         * gst/gsttaglist.h:
260           API: add GST_TAG_PREVIEW_IMAGE (#343341).
261
262 2006-05-30  Wim Taymans  <wim@fluendo.com>
263
264         Patch by: Alessandro Decina <alessandro at nnva dot org>
265
266         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
267         Unlock mutex when removing an unknown pad.
268         Fixes #343334.
269
270         * tests/check/Makefile.am:
271         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
272         (push_event), (setup), (teardown), (GST_START_TEST),
273         (gst_collect_pads_suite), (main):
274         Added collecpads check, disabled for now as check crashes for
275         some reason.
276
277 2006-05-29  Wim Taymans  <wim@fluendo.com>
278
279         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
280         Don't leak pads lists.
281
282 2006-05-29  Wim Taymans  <wim@fluendo.com>
283
284         * docs/libs/gstreamer-libs-sections.txt:
285         * libs/gst/base/gstcollectpads.c:
286         (gst_collect_pads_set_flushing_unlocked),
287         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
288         (gst_collect_pads_stop):
289         * libs/gst/base/gstcollectpads.h:
290         API: gst_collect_pads_set_flushing()
291         Added api to set the pads to flushing, useful for seeking
292         code in elements using collectpads.
293         Clear segment when receiving a flush.
294
295 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
296
297         * gst/gst.c: (add_path_func), (init_post):
298           Don't scan registry paths passed via --gst-plugin-path immediately
299           (will crash, because absolutely nothing is set up and no types are
300           registered etc.); do this later in init_post(). Fixes #343057.
301
302 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
303
304         * gst/gst.c: (init_post):
305           if we have fork, fork while reading/rebuilding the registry
306           so the parent doesn't take the hit of having all plugins loaded
307           in memory.  Fixes #342777.
308         * configure.ac:
309           Check if we have fork()
310         * win32/common/config.h.in:
311           no fork() on win32
312
313 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
314
315         * plugins/elements/gstelements.c:
316         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
317         (gst_file_src_init), (gst_file_src_set_property),
318         (gst_file_src_get_property), (gst_file_src_start):
319         * plugins/elements/gstfilesrc.h:
320           API: GstFileSrc::use-mmap
321
322         Add a use-mmap property to enable easier testing of all code paths.
323         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
324         in the absence of gnomevfssrc. (Closes #340501)
325
326 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
327
328         * tools/gst-inspect.c:
329         Add missing include, removes warning of ngettext not being defined on
330         some arches.
331
332 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
333
334         * gst/gstvalue.c: (gst_value_deserialize_fraction):
335         Handle NULL input and output pointers silently as a failed conversion,
336         rather than g_warnings.
337
338 2006-05-25  Wim Taymans  <wim@fluendo.com>
339
340         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
341         Initialize variable before using. Fixes #342820.
342
343 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
344
345         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
346           Fix off-by-one bug that would only allow peeks of N-1 bytes
347           from the start even if the buffer to typefind on contains
348           in fact N bytes of data (makes vorbis typefinding from a
349           vorbis identification header buffer work).
350
351         * tests/check/Makefile.am:
352         * tests/check/libs/.cvsignore:
353         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
354         (gst_typefindhelper_suite), (main), (foobar_typefind),
355         (plugin_init):
356           Add very basic unit test for gst_type_find_helper_for_buffer()
357           that checks for the problem fixed above.
358
359 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
360
361         * tools/gst-inspect.c: (print_interfaces),
362         (print_element_properties_info), (print_element_list), (main):
363           add more translatable strings
364
365 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
366
367         Patch by: Julien Moutte  <julien at moutte net>
368
369         * docs/gst/gstreamer-sections.txt:
370           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
371           
372         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
373         (gst_fake_sink_preroll):
374         * plugins/elements/gstfakesink.h:
375           API: Add new GstFakeSink::preroll-handoff signal (#337100).
376
377 2006-05-23  Wim Taymans  <wim@fluendo.com>
378
379         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
380         * gst/gstpad.h:
381         Added _CUSTOM error and success GstFlowReturn that can be
382         used be elements internally. 
383         Added macro to check for SUCCESS flowreturns.
384         API: GST_FLOW_CUSTOM_SUCCESS
385         API: GST_FLOW_CUSTOM_ERROR
386         API: GST_FLOW_IS_SUCCESS
387
388         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
389         Added check for GstFlowReturn sanity.
390
391 2006-05-23  Wim Taymans  <wim@fluendo.com>
392
393         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
394
395         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
396         (gst_collect_pads_event):
397         clear/reset segment info in FLUSH_STOP.
398         Fixes #336929.
399
400 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
401
402         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
403         (gst_collect_pads_check_collected):
404         Flush queued buffer on _stop(), fixes playing again (#342454)
405
406 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
407
408         * tests/check/gst/gststructure.c: (GST_START_TEST),
409         (gst_structure_suite):
410           add a test for a complete structure
411
412 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
413
414         * docs/faq/developing.xml:
415         * docs/faq/faq.xml:
416         * docs/faq/troubleshooting.xml:
417         * docs/faq/using.xml:
418           Some minor FAQ updates that won't change the fact that
419           our FAQ is badly structured, full of information hardly
420           anyone new to GStreamer needs to know and lacking lots
421           of information people constantly ask for.
422           
423 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
424
425         * gst/gstpad.c: (gst_pad_set_caps):
426           Short-circuit gst_pad_set_caps if setting the existing
427           caps pointer again, and avoid printing debug and 
428           reffing/unreffing the caps.
429
430         * plugins/elements/gstqueue.c: (gst_queue_push_one):
431           There's actually no need to set the caps before pushing -
432           the acceptcaps method will handle it anyway.
433
434 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
435
436         * docs/gst/gstreamer-sections.txt:
437         * win32/common/libgstreamer.def:
438         * gst/gstutils.c: (gst_element_seek_simple):
439         * gst/gstutils.h:
440           API: add gst_element_seek_simple() (#342238).
441
442 2006-05-18  Edward Hervey  <edward@fluendo.com>
443
444         * gst/gsttypefind.c: (gst_type_find_get_type):
445         * gst/gsttypefind.h:
446         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
447         registered for GstTypeFind pointers. This allows wrapping the structure
448         in bindings (i.e. gst-python).
449
450 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
451
452         * gst/gsttagsetter.c:
453           Docs additions and fixes (see #339918).
454
455 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
456
457         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
458         The caps intersection algorithm can produce multiple copies of the
459         caps. Until that is fixed, we need to simplify the result to be
460         sure whether the allowed caps are fixed or not.
461
462         * plugins/elements/gstqueue.c: (gst_queue_init),
463         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
464         (gst_queue_push_one):
465         Proxied buffer alloc should not set the caps on the source pad.
466         When pushing buffers, we always accept the caps change that triggers.
467         This prevents negotiation errors caused by caps changing mid-stream 
468         and then being refused on our source pad (because upstream is now
469         refusing those caps).
470
471 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
472
473         * tests/examples/helloworld/helloworld.c: (main):
474           Must plug audioconvert and audioresample between decoder
475           and audio sink.
476
477 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
478
479         * gst/gstregistryxml.c: (read_string), (load_pad_template),
480         (load_feature), (load_plugin):
481         Allow empty strings for some of the plugin fields so we don't 
482         drop valid plugin entries that were written out correctly
483         (Fixes #341479)
484
485 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
486         
487         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
488           Use g_remove and g_rename instead of remove and rename that don't 
489           handle utf8 characters. rename was failing for users who had specific
490           characters in their name then the registry was built at each 
491           gstreamer init.
492         * win32/vs6/gst_inspect.dsp:
493         * win32/vs6/gst_launch.dsp:
494         * win32/vs6/libgstbase.dsp:
495         * win32/vs6/libgstcoreelements.dsp:
496         * win32/vs6/libgstreamer.dsp:
497           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
498           build of libgstreamer and clean unused libraries in projects link 
499           settings.
500
501 2006-05-17  Edward Hervey  <edward@fluendo.com>
502
503         * plugins/elements/gstqueue.c: (gst_queue_push_one):
504         The queue is not responsible for pushing an EOS when receiving a fatal
505         flow error. It's up to the real element driving the pipeline to do that.
506
507 2006-05-16  Edward Hervey  <edward@fluendo.com>
508
509         * plugins/elements/gstqueue.c: (gst_queue_push_one):
510         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
511         buffer returned a fatal error. It should just send an EOS and stop
512         its task.
513         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
514         when pushing buffers on the queue and will be able to handle the event.
515
516 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
517
518         * docs/manual/basics-bins.xml:
519         * docs/manual/basics-init.xml:
520           Fix typos and minor errors in sample code (#341856).
521
522 2006-05-16  Wim Taymans  <wim@fluendo.com>
523
524         * docs/design/part-qos.txt:
525         Fix indexes in formulas to make more sense.
526
527 2006-05-15  Wim Taymans  <wim@fluendo.com>
528
529         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
530         Don't report POSITION based on clock time if sync is
531         disabled in a sink.
532
533 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
534
535         * gst/gstobject.h:
536           Add cast to make compiler happy - refcount variable was a gint
537           in GstObject but is a guint in GObject and g_atomic_int_get()
538           wants a gint *.
539
540 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
541
542         * gst/parse/Makefile.am:
543           chain commands using &&, which also makes parallel make work
544
545 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
546
547         * docs/gst/gstreamer-sections.txt:
548         * gst/gstevent.c:
549         * gst/gstevent.h:
550         * gst/gstmessage.h:
551           Minor docs fixes.
552
553 === release 0.10.6 ===
554
555 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
556
557         * configure.ac:
558           releasing 0.10.6, "Take the cannoli"
559
560 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
561
562         * tools/gst-launch.c: (print_tag):
563           Fix use of uninitialized variable in the hypothetical
564           case that some broken plugin creates a GST_TAG_IMAGE
565           tag containing a NULL buffer (#341667).
566
567 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
568
569         * tools/gst-launch.c: (print_tag):
570           Print something more intelligible for image tags when
571           using the -t switch (#341556).
572
573 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
574
575         * Makefile.am:
576           updates for win32
577         * configure.ac:
578           define GST_MAJORMINOR so we have it available in win32/common/config.h
579           Possibly remove it from our Makefile.am files later
580         * win32/common/config.h:
581         * win32/common/config.h.in:
582           added GST_MAJORMINOR
583         * win32/common/gstenumtypes.c: (register_gst_resource_error):
584         * win32/common/gstversion.h:
585           updated
586
587 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
588
589         * win32/MANIFEST:
590           Update win32 files listing.
591         * win32/common/gstversion.h:
592           Add GST_MAJORMINOR definition.
593         * win32/common/libgstreamer.def:
594           Add new exported functions.
595           
596 2006-05-12  Michael Smith  <msmith@fluendo.com>
597
598         * gst/gstplugin.c: (gst_plugin_load_file):
599           If an so file has no plugin entry point, unload the module.
600
601 2006-05-11  Wim Taymans  <wim@fluendo.com>
602
603         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
604         (gst_queue_set_property):
605         Don't forget to signal the _chain or _loop function 
606         when the queue size or thresholds change since that might
607         cause them to make progres again.
608
609 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
610
611         * gst/gstclock.c: (gst_clock_class_init):
612         * gst/gstindex.c: (gst_index_class_init):
613         * gst/gstobject.c: (gst_object_class_init):
614         * gst/gstpad.c: (gst_pad_class_init):
615         * gst/gstpipeline.c: (gst_pipeline_class_init):
616         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
617         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
618         * libs/gst/base/gstbasetransform.c:
619         (gst_base_transform_class_init):
620         * libs/gst/net/gstnetclientclock.c:
621         (gst_net_client_clock_class_init):
622         * libs/gst/net/gstnettimeprovider.c:
623         (gst_net_time_provider_class_init):
624         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
625         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
626         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
627         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
628         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
629         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
630         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
631         * plugins/elements/gstidentity.c: (gst_identity_class_init):
632         * plugins/elements/gsttee.c: (gst_tee_class_init):
633         * tests/old/examples/plugins/example.c: (gst_example_class_init):
634         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
635           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
636
637 2006-05-11  Wim Taymans  <wim@fluendo.com>
638
639         * gst/gstbuffer.c: (_gst_buffer_initialize):
640         Register subbufer along with the buffer type so that
641         it does not accidentally gets registered from N
642         different streaming threads in a non threadsafe way.
643
644 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
645
646         * gst/gstbuffer.h:
647         * gst/gstevent.h:
648         * gst/gstmessage.h:
649           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
650           gst_event_ref() and gst_message_ref() functions again
651           (ugly hack, please do fix if there's a better way besides
652           overrides.txt, which doesn't seem to work).
653
654 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
655
656         * libs/gst/check/gstcheck.h:
657           add an assert for setting state to avoid lots of repetitive code
658           in the future
659
660 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
661
662         * gst/gstvalue.c: (gst_value_serialize_flags):
663           fix a leak if no flags are set
664         * tests/check/gst/gstvalue.c: (GST_START_TEST):
665           fix leak in tests
666
667 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
668
669         * docs/manual/basics-pads.xml:
670           Expand a bit on caps and filtered links and update
671           examples that were still using the no longer existing
672           gst_pad_link_filtered() (#338206).
673
674 2006-05-10  Wim Taymans  <wim@fluendo.com>
675
676         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
677         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
678         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
679         (gst_collect_pads_stop):
680         * libs/gst/base/gstcollectpads.h:
681         No need to call _stop in _finalize.
682         Iterate the main pad list in _finalize.
683         Added some more debug.
684         Free lists and data in the right order.
685         Also free data whem doing _remove_pad when stopped for
686         backward compatibility protect ::started with PAD_LOCK as
687         well.
688
689 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
690
691         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
692         (gst_structure_parse_value):
693           add some comments
694           rename a method so that it actually says what it does better
695
696 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
697
698         * gst/gstevent.c: (_gst_event_initialize):
699         * gst/gstformat.c: (_gst_format_initialize):
700           make sure some essential types used by events are registered
701           as part of gst_init()
702         * gst/gstvalue.c: (gst_value_serialize_flags):
703           if no flags are set, serialize them to a value that represents NONE
704           so that deserializing them works
705         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
706           add tests for serialization and deserialization of flags
707
708 2006-05-10  Wim Taymans  <wim@fluendo.com>
709
710         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
711         (gst_collect_pads_collect_range), (gst_collect_pads_available),
712         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
713         (gst_collect_pads_event), (gst_collect_pads_chain):
714         Update docs.
715         Better debug info.
716         Catch and return errors from the collect function
717         Refuse data on eos pads.
718
719 2006-05-10  Edward Hervey  <edward@fluendo.com>
720
721         * gst/gstinterface.h:
722         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
723         GInterface type checking.
724         They were previously using non-defined macros.
725
726 2006-05-09  Wim Taymans  <wim@fluendo.com>
727
728         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
729         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
730         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
731         (gst_collect_pads_start), (gst_collect_pads_stop),
732         (gst_collect_pads_peek), (gst_collect_pads_pop),
733         (gst_collect_pads_available), (gst_collect_pads_read),
734         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
735         (gst_collect_pads_is_collected), (gst_collect_pads_event),
736         (gst_collect_pads_chain):
737         * libs/gst/base/gstcollectpads.h:
738         Clean up the mess that is collectpads, add comments and
739         FIXMEs where needed.
740         Maintain a separate pad list so we can add pads while
741         collecting the other ones. For this we need a new separate 
742         lock (see comics).
743         Fix memory leak in finalize.
744         Refactor some weird code to set/unset pad flushing flags, mark
745         with comments.
746         Don't crash in _available, _read, _flush when we're EOS.
747
748         * tests/check/libs/.cvsignore:
749         Ignore adapter check binary.
750
751 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
752
753         * gst/gstindex.c: (gst_index_resolver_get_type):
754         * plugins/elements/gstfakesink.c:
755         (gst_fake_sink_state_error_get_type):
756         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
757         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
758         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
759           Const-ify GEnumValue arrays.
760
761 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
762
763         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
764           Add test case for flags + gst_buffer_make_metadata_writable().
765
766 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
767
768         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
769           gst_buffer_make_metadata_writable() should maintain the
770           buffer flags (those that make sense at least) (see #340859).
771
772 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
773
774         * tools/gst-inspect.c:
775         * tools/gst-launch.c:
776         * tools/gst-typefind.c:
777         * tools/gst-xmlinspect.c:
778         * tools/tools.h:
779           Fix up includes: need to include stdlib.h in tools.h for exit().
780
781 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
782
783         * gst/gsttaglist.c: (_gst_tag_initialize):
784         * gst/gsttaglist.h:
785           API: add GST_TAG_IMAGE tag (#340721).
786
787 2006-05-08  Wim Taymans  <wim@fluendo.com>
788
789         * gst/gstquery.c:
790         Added some docs for the segment query.
791
792 2006-05-08  Wim Taymans  <wim@fluendo.com>
793
794         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
795         (gst_base_src_loop), (gst_base_src_change_state):
796         Always push non-flushing serialized events in the streaming 
797         thread.
798
799 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
800
801         * gst/gsterror.c: (_gst_stream_errors_init):
802           Add a missing error string.
803
804 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
805
806         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
807         Add applied_rate to the debug
808
809         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
810         Copy applied_rate into the outgoing NEWSEGMENT event
811
812 2006-05-08  Wim Taymans  <wim@fluendo.com>
813
814         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
815
816         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
817         (gst_base_sink_change_state):
818         call ::unlock before taking the PREROLL_LOCK so we can safely
819         handle elements that lock in ::render.
820         Fixes #340174.
821
822 2006-05-08  Edward Hervey  <edward@fluendo.com>
823
824         * autogen.sh: (CONFIGURE_DEF_OPT): 
825         Darwin's libtoolize is in fact called glibtoolize.
826         Adding glibtoolize to the list of accepted names for libtoolize.
827
828 2006-05-08  Wim Taymans  <wim@fluendo.com>
829
830         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
831         Unify error handling, don't post an error message
832         when a push() returns EOS but perform our normal EOS
833         handling code. Fixes #340772.
834
835 2006-05-08  Wim Taymans  <wim@fluendo.com>
836
837         * docs/design/part-overview.txt:
838         Make upsteam/downstream concepts more clear.
839         Give an example of serialized/non-serialized events.
840
841         * docs/design/part-events.txt:
842         * docs/design/part-streams.txt:
843         Mention applied_rate.
844
845         * docs/design/part-trickmodes.txt:
846         Mention applied rate, flesh out some more use cases.
847
848         * gst/gstevent.c: (gst_event_new_new_segment),
849         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
850         (gst_event_parse_new_segment_full), (gst_event_new_tag),
851         (gst_event_parse_tag), (gst_event_new_buffer_size),
852         (gst_event_parse_buffer_size), (gst_event_new_qos),
853         (gst_event_parse_qos), (gst_event_parse_seek),
854         (gst_event_new_navigation):
855         * gst/gstevent.h:
856         Add applied_rate field to NEWSEGMENT event.
857         API: gst_event_new_new_segment_full()
858         API: gst_event_parse_new_segment_full()
859
860         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
861         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
862         (gst_segment_to_stream_time), (gst_segment_to_running_time):
863         * gst/gstsegment.h:
864         Add applied_rate to GstSegment structure.
865         Make calculation of stream_time and running_time more correct
866         wrt rate/applied_rate.
867         Add some more docs.
868         API: GstSegment::applied_rate field
869         API: gst_segment_set_newsegment_full();
870
871         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
872         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
873         * libs/gst/base/gstbasetransform.c:
874         (gst_base_transform_sink_eventfunc),
875         (gst_base_transform_handle_buffer):
876         Parse and use applied_rate in the GstSegment field.
877
878         * tests/check/gst/gstevent.c: (GST_START_TEST):
879         Add check for applied_rate field.
880
881         * tests/check/gst/gstsegment.c: (GST_START_TEST),
882         (gstsegments_suite):
883         Add more checks for various GstSegment operations.
884
885 2006-05-08  Wim Taymans  <wim@fluendo.com>
886
887         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
888         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
889         (gst_base_sink_get_position), (gst_base_sink_change_state):
890         Store the sync time of the buffer end position separatly in a
891         new variable eos_rtime so we can properly sync the EOS event.
892         Fixes #340697.
893         Fix the docs for gst_base_sink_set_qos_enabled().
894         Don't set segment start to invalid value when we receive a 
895         non TIME newsegment.
896         get closer to handling position reporting for negative rates 
897         correctly.
898
899 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
900
901         * gst/gstcaps.c:
902         Docs about how to print caps for debug purposes.
903
904         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
905         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
906
907 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
908
909         * gst/gstelement.c:
910           use full enum names and preprend a '%' in docs strings to make recent 
911           gtk-doc turn that into a link
912
913 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
914
915         * docs/manual/basics-bins.xml:
916         * docs/manual/basics-bus.xml:
917         * docs/manual/basics-pads.xml:
918           Some typo fixes, some additions, some clarifications. 
919
920 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
921
922         * tools/gst-inspect.c: (main):
923         * tools/gst-launch.c: (main):
924         * tools/gst-run.c: (main):
925         * tools/gst-typefind.c: (main):
926         * tools/gst-xmlinspect.c: (main):
927           Use the string passed to g_option_context_new() for
928           what it's intended for - the program name is already
929           printed elsewhere.
930
931 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
932
933         * tools/Makefile.am:
934         * tools/gst-inspect.c: (main):
935         * tools/gst-launch.c: (main):
936         * tools/gst-xmlinspect.c: (main):
937         * tools/tools.h:
938           Add back --version command line option (#340460).
939
940         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
941           Add --version option and use GOption for argument parsing; refactor a
942           bit; accept directories as arguments and recurse into them; lastly,
943           print a decent error message when things go wrong.
944
945 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
946
947         * docs/manual/basics-bins.xml:
948         Don't mention GstThread (#340611)
949         * docs/manual/basics-elements.xml:
950         Update link to GObject tutorial (#340607)
951         
952 2006-05-05  Wim Taymans  <wim@fluendo.com>
953
954         * gst/gstbuffer.h:
955         * gst/gstminiobject.c:
956         Add note about refcounting and miniobject/buffer writeability
957         to docs. Fixes #340604
958
959         * gst/gstelementfactory.h:
960         Added some explanation about @klass.
961
962 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
963
964         * docs/manual/intro-motivation.xml:
965         * docs/manual/manual.xml:
966         Avoid CORBA & Bonobo references (#340598)
967
968 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
969
970         * docs/manual/basics-bus.xml:
971         * docs/manual/basics-pads.xml:
972         Fix up some inaccuracies and omissions (#340609)
973         
974 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
975
976         * gst/gstghostpad.c:
977           Small typo in docs (#340625)
978
979 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
980
981         * gst/parse/Makefile.am:
982           Make 'make -j' proof (see #340698).
983
984 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
985
986         * configure.ac:
987           Require GLib-2.8 here as well.
988
989 2006-05-05  Wim Taymans  <wim@fluendo.com>
990
991         * gst/glib-compat.c:
992         * gst/gst.c: (init_pre):
993         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
994         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
995         (gst_object_dispatch_properties_changed):
996         * gst/gstobject.h:
997         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
998         * gst/gststructure.c: (gst_structure_set_valist):
999         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1000         Remove pre glib2.8 compatibility, fixes #340508
1001
1002 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1003
1004         * gst/gsttaglist.h:
1005           Mention type of tags in doc blurbs.
1006
1007 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
1008
1009         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1010         (gst_pad_configure_src), (gst_pad_push):
1011         Restore acceptcaps checking behaviour now that good plugins have
1012         been released.
1013
1014 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1015
1016         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1017
1018         * gst/gst.c:
1019         * gst/gstbus.c:
1020         * gst/gstclock.c:
1021         * gst/gstevent.c:
1022         * gst/gstformat.c:
1023         * gst/gstmessage.c:
1024         * gst/gstparse.c:
1025         * gst/gstquery.c:
1026         * gst/gstutils.c:
1027         * gst/parse/Makefile.am:
1028         * libs/gst/base/gstadapter.c:
1029         * libs/gst/base/gstbasesrc.c:
1030         * libs/gst/base/gstpushsrc.c:
1031         * libs/gst/base/gsttypefindhelper.c:
1032         * plugins/elements/gstfakesrc.c:
1033         * plugins/elements/gstidentity.c:
1034           Make sure gstprivate.h and/or config.h are
1035           always included first, otherwise some of our
1036           defines (like _FILE_OFFSET_BITS) might be
1037           redefined in the system headers. Fixes build
1038           on opensolaris (#340016).
1039
1040 2006-05-04  Wim Taymans  <wim@fluendo.com>
1041
1042         * docs/libs/gstreamer-libs-sections.txt:
1043         API: addition: gst_adapter_take_buffer()
1044         
1045         * libs/gst/base/gstadapter.c: (gst_adapter_push),
1046         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1047         (gst_adapter_available_fast):
1048         * libs/gst/base/gstadapter.h:
1049         Prepare for optimizing the hell out of this hugely inefficient
1050         piece of code. 
1051         Added gst_adapter_take_buffer() so we can at least start thinking
1052         about subbuffering and merging.
1053         Added some comments.
1054
1055         * tests/check/Makefile.am:
1056         * tests/check/libs/adapter.c: (GST_START_TEST),
1057         (gst_adapter_suite), (main):
1058         Added GstAdapter check.
1059
1060 2006-05-04  Wim Taymans  <wim@fluendo.com>
1061
1062         * docs/design/part-overview.txt:
1063         Fix some typos, add blurb about buffer flags.
1064
1065 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1066
1067         * docs/libs/gstreamer-libs-sections.txt:
1068           make sure GstBaseTransformClass shows up in the docs
1069         * libs/gst/base/gstbasetransform.c:
1070         * libs/gst/base/gstbasetransform.h:
1071           move docs so gtk-doc picks it up now
1072
1073 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1074
1075         * docs/libs/gstreamer-libs-sections.txt:
1076           add missing symbols to docs
1077
1078 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1079
1080         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1081           back out the newsegment handling change, see #340060 for ongoing
1082           discussion
1083
1084 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
1085
1086         * tools/gst-run.c: (get_candidates), (main):
1087           Fix wrong g_file_test() usage (see glib docs for why it doesn't
1088           work); fix typo in error message. Fixes #340079.
1089
1090 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1091
1092         * common/Makefile.am:
1093         * docs/Makefile.am:
1094         * docs/faq/Makefile.am:
1095         * docs/gst/Makefile.am:
1096         * docs/libs/Makefile.am:
1097         * docs/manual/Makefile.am:
1098         * docs/plugins/Makefile.am:
1099         * docs/pwg/Makefile.am:
1100         * docs/slides/Makefile.am:
1101         * docs/upload.mak:
1102         * common/upload.mak:
1103           move upload.mak to common
1104
1105 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1106
1107         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1108           add more asserts on refcounts
1109           do more cleanup at end of tests
1110           fix test leaks showing in FC5
1111
1112 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
1113
1114         * plugins/elements/gsttypefindelement.c:
1115         (gst_type_find_element_handle_event):
1116         reverted wrong change and reflowed code to avoid others falling into
1117         this trap
1118
1119 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1120
1121         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1122           fix changelog entry about last collectpads change,
1123           add notes about proper fix
1124
1125 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1126
1127         * gst/gst.c:
1128         * gst/gstregistry.c: (gst_registry_scan_path_level),
1129         (gst_registry_scan_path):
1130         * gst/gstregistry.h:
1131           only write out registry if it has changed, fixes #338339
1132
1133 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1134
1135         * gst/gstbin.c:
1136         * gst/gstpipeline.c:
1137         * plugins/elements/gstcapsfilter.c:
1138         * plugins/elements/gstfakesink.c:
1139         * plugins/elements/gstfakesrc.c:
1140         * plugins/elements/gstfdsink.c:
1141         * plugins/elements/gstfdsrc.c:
1142         * plugins/elements/gstfilesink.c:
1143         * plugins/elements/gstfilesrc.c:
1144         * plugins/elements/gstidentity.c:
1145         * plugins/elements/gstqueue.c:
1146         * plugins/elements/gsttee.c:
1147         * plugins/elements/gsttypefindelement.c:
1148         (gst_type_find_element_handle_event):
1149           make GstElementDetails const
1150
1151 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1152
1153         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1154         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1155         (gst_collect_pads_is_collected), (gst_collect_pads_event):
1156           more detailed debug and formatting cleanup,
1157           forward newsegments to src-pad (so that e.g. adder not eats them)
1158
1159 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1160
1161         * gst/gstutils.c: (gst_element_link_pads):
1162           cleanup double code
1163
1164 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1165
1166         * libs/gst/controller/gstcontroller.c:
1167         (gst_controller_sync_values):
1168           some little tuning
1169         * tests/check/libs/controller.c: (GST_START_TEST),
1170         (gst_controller_suite):
1171           a new test for live value handling
1172
1173 2006-04-28  Wim Taymans  <wim@fluendo.com>
1174
1175         * gst/gstutils.c: (push_and_ref):
1176         Added some more docs.
1177         Fix refcount issue whith gst_element_found_tags() helper 
1178         function. Fixes #338335
1179
1180         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1181         Added testsuite for gst_element_found_tags().
1182
1183 2006-04-28  Michael Smith  <msmith@fluendo.com>
1184
1185         * gst/gstvalue.c: (gst_value_serialize_flags):
1186           Avoid NULL dereference when trying to serialize flags containing
1187           invalid values.
1188
1189 2006-04-28  Michael Smith  <msmith@fluendo.com>
1190
1191         * plugins/elements/gsttypefindelement.c:
1192         (gst_type_find_element_handle_event):
1193           If we get EOS before any data is accumulated, don't use
1194           uninitialised local variables.
1195
1196 2006-04-28  Michael Smith  <msmith@fluendo.com>
1197
1198         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1199         (gst_dp_event_from_packet):
1200           Fixes in reading/writing events over GDP (not currently used?) - 
1201           dereferencing NULL events for unknown/invalid event types, memory
1202           leak, and change g_warning to GST_WARNING.
1203
1204 2006-04-28  Wim Taymans  <wim@fluendo.com>
1205
1206         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1207         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1208         (gst_base_sink_get_position), (gst_base_sink_change_state):
1209         When frame dropping is enabled, we should not ignore frames
1210         without a duration.
1211         Update some documentation.
1212
1213 2006-04-28  Wim Taymans  <wim@fluendo.com>
1214
1215         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1216         (gst_base_src_send_event), (gst_base_src_change_state):
1217         Documentation updates.
1218
1219 2006-04-28  Wim Taymans  <wim@fluendo.com>
1220
1221         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1222         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1223         handle EAGAIN, EINTR and short writes correctly. Also clean
1224         up some error cases, avoid a deadlock on bad file descriptors and
1225         use GST_DEBUG_OBJECT.
1226         Fixes #339843
1227
1228 2006-04-28  Wim Taymans  <wim@fluendo.com>
1229
1230         * gst/gstvalue.c: (gst_value_serialize_buffer),
1231         (gst_value_deserialize_buffer):
1232         Don't try to serialize a GValue with a NULL buffer. 
1233         Fixes #339821.
1234
1235         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1236         Added check for serialisation of NULL buffers.
1237
1238 2006-04-28  Wim Taymans  <wim@fluendo.com>
1239
1240         * gst/gstminiobject.c: (gst_value_take_mini_object):
1241         Taking a NULL miniobject is valid, fix the case where
1242         we try to unref the NULL miniobject.
1243
1244 2006-04-28  Wim Taymans  <wim@fluendo.com>
1245
1246         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1247
1248         * gst/gstbin.c: (gst_bin_handle_message_func):
1249         Update docs.
1250         Don't leak bin refcount when a state recalc is
1251         in progress and we delay another one #339808.
1252
1253 2006-04-28  Wim Taymans  <wim@fluendo.com>
1254
1255         * docs/design/part-TODO.txt:
1256         Mention QoS as an ongoing work item.
1257
1258         * docs/design/part-buffering.txt:
1259         New doc about buffering that needs to be fleshed out
1260         at some point.
1261
1262         * docs/design/part-qos.txt:
1263         More QoS policy for decoders/demuxers/transforms
1264
1265         * docs/design/part-trickmodes.txt:
1266         Small update.
1267
1268 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1269
1270         * configure.ac:
1271           back to HEAD
1272
1273 === release 0.10.5 ===
1274
1275 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
1276
1277         * configure.ac:
1278           releasing 0.10.5, "Fogo"
1279
1280 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1281
1282         patch by: Wim Taymans
1283
1284         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1285         (gst_pad_configure_src), (gst_pad_push):
1286         * gst/gstpipeline.c: (gst_pipeline_init):
1287           Fix internal data flow errors.  Fixes #338711.
1288
1289 2006-04-12  Wim Taymans  <wim@fluendo.com>
1290
1291         * tests/check/gst/gstelement.c: (GST_START_TEST):
1292         Don't leak the factory.
1293
1294 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1295
1296         * configure.ac:
1297         * win32/common/config.h:
1298           prerelease
1299
1300 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1301
1302         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1303         (gst_controller_unset_all):
1304           Free allocated GstTimedValues when freeing list nodes.
1305           Should fix leaks 'make check-valgrind' complains about.
1306
1307         * win32/common/libgstcontroller.def:
1308           Add gst_controller_unset_all.
1309
1310 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
1311
1312         * docs/libs/gstreamer-libs-sections.txt:
1313         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1314         (gst_controller_unset_all):
1315         * libs/gst/controller/gstcontroller.h:
1316         API: Added new method gst_controller_unset_all()
1317         fixed gst_controller_unset()
1318         * tests/check/libs/controller.c: (GST_START_TEST),
1319         (gst_controller_suite):
1320         Added two testcases for new and fixed method
1321
1322 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
1323
1324         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1325           MSG_DONTWAIT is not defined on Cygwin, so work
1326           around that (fixes #317048).
1327           
1328 2006-04-11  Wim Taymans  <wim@fluendo.com>
1329
1330         * gst/gstelementfactory.c: (gst_element_register),
1331         (gst_element_factory_create), (gst_element_factory_make):
1332         Some cleanups.
1333         Fixed a FIXME.
1334         Updated docs (Fixes #131079)
1335
1336         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1337         Small cleanups.
1338
1339         * tests/check/gst/gstelement.c: (GST_START_TEST),
1340         (gst_element_suite):
1341         Added testcase for elementfactory class field.
1342
1343 2006-04-10  Wim Taymans  <wim@fluendo.com>
1344
1345         * gst/gstsegment.c:
1346         Added some more docs.
1347
1348         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1349         (gst_base_sink_reset_qos):
1350         Calculate more accurate rate values.
1351
1352 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
1353
1354         * gst/gst_private.h:
1355           add a new #ifdef to use __declspec(dllimport) only for
1356           other modules and not for gstreamer core
1357         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1358           use gst_guint64_to_gdouble for conversion
1359         * win32/common/libgstreamer.def:
1360           add new exported functions
1361         * win32/vs6/gst_inspect.dsp:
1362         * win32/vs6/gst_launch.dsp:
1363         * win32/vs6/libgstbase.dsp:
1364         * win32/vs6/libgstcontroller.dsp:
1365         * win32/vs6/libgstcoreelements.dsp:
1366         * win32/vs6/libgstdataprotocol.dsp:
1367         * win32/vs6/libgstnet.dsp:
1368           update project files
1369
1370 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1371
1372         * gst/gstbuffer.c: (gst_subbuffer_class_init):
1373         * gst/gstclock.c: (gst_clock_class_init):
1374         * gst/gstelement.c: (gst_element_class_init):
1375         * gst/gstindex.c: (gst_index_class_init):
1376         * gst/gstindexfactory.c: (gst_index_factory_class_init):
1377         * gst/gstobject.c: (gst_object_class_init),
1378         (gst_signal_object_class_init):
1379         * gst/gstpad.c: (gst_pad_class_init):
1380         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1381         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1382         * gst/gstregistry.c: (gst_registry_class_init):
1383         * gst/gstsystemclock.c: (gst_system_clock_class_init):
1384         * gst/gsttask.c: (gst_task_class_init):
1385         * gst/gstxml.c: (gst_xml_class_init):
1386         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1387         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1388         (gst_base_src_loop):
1389         * libs/gst/controller/gstcontroller.c:/
1390         (_gst_controller_class_init):
1391         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1392         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1393         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1394         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1395         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1396         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1397
1398 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
1399
1400         * gst/gstpad.c: (gst_pad_link):
1401           Must set peer pads before calling the link function, otherwise
1402           a task started from a link function might get a flow-not-linked
1403           result when trying to push because the other thread where the
1404           linking happens hasn't had a chance to set the peers yet. This
1405           might happen for example when a queue gets linked to a downstream
1406           element, as queue starts a streaming task when its source pad
1407           gets linked. Happens in real life when playing back flac/musepack
1408           files in playbin (#332390).
1409           
1410 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1411
1412         * gst/gstindex.h:
1413         * gst/gstxml.h:
1414         * libs/gst/base/gstadapter.h:
1415         * libs/gst/base/gstbasesink.h:
1416         * libs/gst/base/gstbasesrc.h:
1417         * libs/gst/base/gstbasetransform.h:
1418         * libs/gst/base/gstcollectpads.h:
1419         * libs/gst/base/gstpushsrc.h:
1420         Fix broken GObject macros
1421
1422 2006-04-07  Wim Taymans  <wim@fluendo.com>
1423
1424         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1425         Initialize start and stop times, thanks valgrind.
1426
1427 2006-04-07  Wim Taymans  <wim@fluendo.com>
1428
1429         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1430         Be a bit nicer to badly behaving upstream elements that expect
1431         us to deal with non TIME segments and timestamps (such as fakesrc
1432         in the testsuite).
1433
1434 2006-04-07  Wim Taymans  <wim@fluendo.com>
1435
1436         * gst/gstbus.c:
1437         Small documentation clarification about the signal watch.
1438
1439         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1440         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1441         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1442         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1443         (gst_base_sink_get_position_last),
1444         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1445         Convert and store timestamps in stream time and running time, the
1446         raw timestamps are not usefull, also document this better.
1447         Use different window sizes for good and bad QoS observations so
1448         we react to badness a little quicker.
1449         Keep track of the amount of rendered and dropped buffers.
1450         Send QoS timestamps in running time.
1451
1452         * libs/gst/base/gstbasetransform.c:
1453         (gst_base_transform_sink_eventfunc),
1454         (gst_base_transform_handle_buffer):
1455         Compare QoS timestamps against running time.
1456
1457 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1458
1459         * gst/gstpad.c:
1460           Typo fixes in docs.
1461
1462 2006-04-06  Michael Smith  <msmith@fluendo.com>
1463
1464         * gst/gstpad.c: (gst_pad_set_property):
1465           Use g_value_get_object() instead of g_value_dup_gst_object(),
1466           to avoid double-reffing the pad template (which we then sink,
1467           so this worked previously if (and only if) the pad template
1468           was floating.
1469
1470         * gst/gstpadtemplate.c: (gst_pad_template_init),
1471         (gst_pad_template_pad_created):
1472           Never return floating references to pad templates, create
1473           them as initially-sunken.
1474
1475           Document an extra function (and make this stop sinking our
1476           pad template, since that is now guaranteed to do nothing,
1477           since we created it sunken).
1478
1479         * gst/gstghostpad.c:
1480           Fix docs typo.
1481
1482 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1483
1484         * gst/gstinfo.c: (__gst_in_valgrind):
1485           Add some newlines.
1486
1487         * plugins/elements/gsttypefindelement.c:
1488         (gst_type_find_element_chain):
1489           Don't leak buffer caps.
1490
1491 2006-04-06  Michael Smith  <msmith@fluendo.com>
1492
1493         * gst/parse/grammar.y:
1494           Fix a leak in parse-launch for any source-or-sink named element 
1495           references used.
1496
1497         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1498           Unref the pipeline if it exists after we've failed parsing.
1499
1500 2006-04-05  Michael Smith  <msmith@fluendo.com>
1501
1502         * gst/gstpipeline.c: (gst_pipeline_init):
1503           When we create a pipeline bus, initially create it in flushing mode.
1504           Fixes leaks in at least one test, and makes a new pipeline work the
1505           same as one that has gone to READY and then back to NULL.
1506
1507         * gst/gstelement.c:
1508           Typo fix in docs.
1509
1510 2006-04-05  Michael Smith  <msmith@fluendo.com>
1511
1512         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1513           Unref a pad we reffed.
1514         * tests/check/gst/gstutils.c: (GST_START_TEST):
1515           Unref bins
1516
1517 2006-04-05  Michael Smith  <msmith@fluendo.com>
1518
1519         * gst/gstquery.c: (gst_query_set_formats),
1520         (gst_query_set_formatsv):
1521           Fix leaking GValues in queries, as shown by valgrind/testsuite.
1522
1523 2006-04-05  Michael Smith  <msmith@fluendo.com>
1524
1525         * tests/check/generic/sinks.c: (GST_START_TEST):
1526           Fix a variety of memleaks in sinks check, which are only sometimes 
1527           shown by running the tests under valgrind (weird?).
1528
1529 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
1530
1531         * docs/version.entities.in:
1532           Fix the substituted entity name after thomas' changes on the
1533           weekend.
1534
1535 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1536
1537         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1538         VALGRIND_PRINTF
1539         
1540 2006-04-05  Andy Wingo  <wingo@pobox.com>
1541
1542         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1543
1544         * libs/gst/base/gstbasetransform.c
1545         (gst_base_transform_sink_eventfunc): When resetting our segment on
1546         FLUSH_STOP, also update the flag saying we haven't seen a
1547         newsegment.
1548
1549 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1550
1551         Patch by: Paolo Borelli  <pborelli at katamail dot com>
1552
1553         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1554         (gst_plugin_check_license):
1555           minor clean-ups: G_DEFINE_TYPE already takes care of the
1556           parent_class stuff, no need to do it twice. Mark array of
1557           license strings as constant. (#337103)
1558           
1559 2006-04-04  Michael Smith  <msmith@fluendo.com>
1560
1561         * tools/gst-inspect.c: (print_element_list):
1562           Free the right plugin list; fixes a memory leak.
1563
1564 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1565
1566         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
1567
1568         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1569           Don't error out on empty buffers (#336945).
1570           
1571 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
1572
1573         * docs/libs/gstreamer-libs-sections.txt:
1574         * gst/gsttaglist.c:
1575         * libs/gst/base/gstbasesink.c:
1576         * libs/gst/base/gstbasesink.h:
1577         * libs/gst/base/gstbasesrc.c:
1578         * libs/gst/base/gstbasesrc.h:
1579           Documentation updates. Make BaseSink and BaseSrc docs contain the
1580           class structure so that people can actually see the prototypes for
1581           virtual functions they're supposed to be overriding.
1582
1583 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1584
1585         * plugins/elements/gsttypefindelement.c:
1586         (gst_type_find_element_chain):
1587           More debug info; when skipping typefinding, send cached
1588           events in all cases.
1589
1590 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1591
1592         * configure.ac:
1593           use new AS_VERSION and AS_NANO macros
1594         * gst/gst-i18n-lib.h:
1595         * gst/gst.c:
1596         * gst/gsterror.c:
1597         * gst/gstversion.h.in:
1598         * win32/common/config.h:
1599         * win32/common/config.h.in:
1600           update accordingly
1601
1602 2006-03-31  Michael Smith  <msmith@fluendo.com>
1603
1604         * plugins/elements/gsttypefindelement.c:
1605         (gst_type_find_element_chain):
1606           Do not typefind content if the buffers already have caps.
1607           Neccesary for icydemux (#333657), and the right thing to do anyway.
1608
1609 2006-03-30  Wim Taymans  <wim@fluendo.com>
1610
1611         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1612         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1613         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1614         (gst_base_sink_record_qos_observation),
1615         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1616         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1617         (gst_base_sink_change_state):
1618         More QoS measurements as described in the design doc.
1619         Get rid of ringbuffer with observations, running average is
1620         more simple and equally good.
1621         Calculates valid proportion now.
1622         Added beginning of flood measurement.
1623
1624 2006-03-29  Wim Taymans  <wim@fluendo.com>
1625
1626         * docs/design/part-qos.txt:
1627         * gst/gstclock.c:
1628         Small documentation updates and additions.
1629
1630 2006-03-29  Wim Taymans  <wim@fluendo.com>
1631
1632         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1633         (gst_base_src_send_event), (gst_base_src_loop),
1634         (gst_base_src_change_state):
1635         Perform the EOS logic when we reach the segment stop position.
1636         Fix compilation on gcc4.1
1637
1638 2006-03-29  Wim Taymans  <wim@fluendo.com>
1639
1640         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1641
1642         * plugins/elements/gstqueue.c: (gst_queue_init),
1643         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1644         (gst_queue_set_property):
1645         * plugins/elements/gstqueue.h:
1646         In queue, when EOS is received, if minimum threshold > max_size -
1647         current_level, there is chance that queue blocks forever in conditional
1648         item del wait. This is because the queue is not emptied completely due
1649         to minimum threshold.  Here is another approach. Instead of setting
1650         cur_levels to max in EOS, just zero all minimum threshold levels. This
1651         should make sure that queue gives out all data. When going to READY
1652         (stop) state, just reset the original minimum threshold levels.
1653         Fixes #336336.
1654
1655 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
1656
1657         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1658         (gst_type_find_element_handle_event),
1659         (gst_type_find_element_send_cached_events),
1660         (gst_type_find_element_change_state):
1661         * plugins/elements/gsttypefindelement.h:
1662           When typefinding is done in push mode, we should cache
1663           events we receive during typefinding instead of just
1664           dropping them (e.g. newsegment, custom events from
1665           dvdreadsrc etc.) and then send them out once we've
1666           determined the type of the stream (and decodebin
1667           has had a chance to plug in a decoder/demuxer).
1668           
1669 2006-03-27  Wim Taymans  <wim@fluendo.com>
1670
1671         * docs/design/part-qos.txt:
1672         First QoS ideas.
1673
1674 2006-03-27  Wim Taymans  <wim@fluendo.com>
1675
1676         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1677
1678         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1679         (gst_base_src_send_event), (gst_base_src_change_state):
1680         Handle element seek correctly when we are streaming.
1681         Fixes #326998.
1682
1683 2006-03-24  Michael Smith  <msmith@fluendo.com>
1684
1685         * docs/faq/gst-uninstalled:
1686           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1687           allow you to correctly run intalled applications built against old 
1688           core, using plugins that require updated core (e.g. running
1689           installed totem against a full uninstalled gstreamer stack)
1690
1691 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1692
1693         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1694         more debug details
1695
1696 2006-03-24  Wim Taymans  <wim@fluendo.com>
1697
1698         * docs/gst/gstreamer-sections.txt:
1699         Rearrange the order of the methods so that related methods
1700         are grouped together in sections.
1701
1702 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1703
1704         * gst/gstelement.c:
1705           Little clarification in the docs
1706
1707 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1708
1709         * docs/README:
1710         formatting fix
1711         * plugins/elements/gstidentity.c:
1712         * plugins/elements/gstqueue.c:
1713         * plugins/elements/gsttee.c:
1714         * plugins/elements/gsttypefindelement.c:
1715         GST_ELEMENT_DETAILS formatting
1716
1717 2006-03-24  Wim Taymans  <wim@fluendo.com>
1718
1719         * libs/gst/base/gstbasesink.h:
1720         Only add fields, not insert or we break ABI.
1721
1722 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1723
1724         * win32/common/libgstbase.def:
1725         * win32/common/libgstreamer.def:
1726           Update, add recently added functions.
1727
1728 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1729
1730         * docs/gst/gstreamer-sections.txt:
1731         * gst/gstutils.c: (gst_pad_query_peer_position),
1732         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1733         * gst/gstutils.h:
1734           API: add some new utility functions:
1735            - gst_pad_query_peer_position()
1736            - gst_pad_query_peer_duration()
1737            - gst_pad_query_peer_convert()
1738           
1739 2006-03-23  Wim Taymans  <wim@fluendo.com>
1740
1741         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1742         (gst_base_sink_init), (gst_base_sink_finalize),
1743         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1744         (gst_base_sink_set_property), (gst_base_sink_get_property),
1745         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1746         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1747         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1748         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1749         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1750         (gst_base_sink_preroll_object), (gst_base_sink_event),
1751         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1752         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1753         (gst_base_sink_query), (gst_base_sink_change_state):
1754         Decouple max-lateness and the fact that QoS messages are generated
1755         with a new property (qos).
1756         added API: GstBaseSink::async_play()
1757         Add vmethod so subclasses can be notified of ASYNC playing
1758         state changes.
1759         Collect timestamp start and stop to report better current
1760         position in EOS/PLAYING/PAUSED/READY/NULL.
1761         Refactor QoS/frame dropping and other measurements.
1762         API: GstBaseSrc::qos
1763         Fixes #326311
1764
1765         * libs/gst/base/gstbasesink.h:
1766         Added Private struct.
1767         API: gst_base_sink_set_qos_enabled()
1768         API: gst_base_sink_is_qos_enabled()
1769
1770 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1771
1772         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1773           If compiling against GLib-2.8 or newer, try to read the
1774           registry file using GMappedFile first before falling back
1775           to fopen() + fread() (#332151).
1776
1777 2006-03-22  Wim Taymans  <wim@fluendo.com>
1778
1779         * gst/gstinfo.c: (gst_debug_set_active),
1780         (gst_debug_category_set_threshold):
1781         Disable debugging unless explicitly activated.
1782         Fixes #335480.
1783
1784 2006-03-22  Wim Taymans  <wim@fluendo.com>
1785
1786         * gst/gstelement.c: (gst_element_set_locked_state),
1787         (gst_element_dispose):
1788         Cleanup the error case.
1789
1790         * gst/gstobject.c: (gst_object_dispose):
1791         print a critical when some object was disposed with
1792         a parent, also revive the object since it might
1793         crash the parent.
1794
1795 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
1796
1797         * tools/gst-launch.1.in:
1798           Fix another typo.
1799
1800 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1801
1802         * configure.ac:
1803         * tests/check/Makefile.am:
1804           disable some tests when we don't have a registry
1805         * tests/check/gst/gstutils.c: (gst_utils_suite):
1806           don't build the part that needs parsing
1807
1808 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1809
1810         * gst/Makefile.am
1811         * tests/examples/Makefile.am:
1812           fix --disable-parse build
1813
1814 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * tools/gst-feedback.1.in:
1817           Fix typo: s/feeback/feedback/ (#133494).
1818
1819 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1820
1821         * tools/Makefile.am:
1822         * tools/gst-launch.1.in:
1823           Add FILES section and correct entry about GST_REGISTRY_PATH
1824           environment variable (#133495; #133494).
1825
1826 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * tools/Makefile.am:
1829         * tools/gst-md5sum.1.in:
1830         * tools/gst-md5sum.c:
1831           Remove gst-md5sum and man page (the md5sink element
1832           required was removed ages ago)
1833
1834 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1835
1836         * gst/gststructure.c: (gst_structure_id_set_value):
1837           Make sure that string fields in structures/taglists
1838           contain valid UTF-8 - we don't want to pass rubbish to
1839           applications because of a buggy plugin (cp. #334167).
1840
1841 2006-03-21  Edward Hervey  <edward@fluendo.com>
1842
1843         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1844         (gst_bin_handle_message_func):
1845         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
1846         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
1847         (gst_element_set_bus_func):
1848         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
1849         * gst/gstminiobject.c: (gst_value_set_mini_object),
1850         (gst_value_take_mini_object):
1851         * gst/gstpad.c: (gst_pad_set_pad_template):
1852         * gst/gstpipeline.c: (gst_pipeline_dispose),
1853         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1854         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
1855         (gst_collect_pads_chain):
1856         * libs/gst/net/gstnettimeprovider.c:
1857         (gst_net_time_provider_set_property):
1858         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
1859         It's in fact all issues with gst_*object_replace().
1860
1861 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
1864         
1865         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1866         * pkgconfig/gstreamer-check.pc.in:
1867           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
1868
1869 2006-03-21  Edward Hervey  <edward@fluendo.com>
1870
1871         * gst/gstbuffer.h:
1872         * gst/gstevent.h:
1873         * gst/gstmessage.h:
1874         gst_[buffer|event|message]_ref() macros are replaced by a static
1875         inline functions because gcc-4.1 will about if the return value
1876         isn't used.
1877         * tests/check/gst/gstevent.c: (event_probe):
1878         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
1879
1880 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
1881
1882         * gst/gstutils.h:
1883         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
1884         the type' case. (Closes: #335195 for now). In the future, when we
1885         depend on GLib 2.10, we could also intern the type name using
1886         g_intern_static_string()
1887
1888 2006-03-20  Wim Taymans  <wim@fluendo.com>
1889
1890         * gst/gstbin.c: (gst_bin_handle_message_func),
1891         (bin_query_max_init), (bin_query_position_fold),
1892         (bin_query_position_done), (gst_bin_query):
1893         Position query should also take max of all streams.
1894
1895 2006-03-20  Wim Taymans  <wim@fluendo.com>
1896
1897         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1898         (gst_fake_src_finalize):
1899         Fix leaks in fakesrc.
1900
1901         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1902         Fix leaks in the testcase.
1903
1904 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
1905
1906         * gst/gst_private.h:
1907           add win32 specific import decoration(__declspec(dllimport)) 
1908           for all extern GstDebugCategory * variables
1909         * win32/common/libgstbase.def:
1910         * win32/common/libgstcontroller.def:
1911         * win32/common/libgstreamer.def:
1912           Add some exports, remove empty lines
1913         * win32/common/libgstdataprotocol.def:
1914         * win32/common/libgstdataprotocol.dsp:
1915         * win32/common/libgstnet.def:
1916         * win32/common/libgstnet.dsp:
1917           new project files and exportation files added
1918         
1919 2006-03-19  Wim Taymans  <wim@fluendo.com>
1920
1921         * tests/check/libs/basesrc.c: (eos_event_counter):
1922         Use proper return value for probe.
1923
1924 2006-03-17  Wim Taymans  <wim@fluendo.com>
1925
1926         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1927         (gst_pad_push):
1928         Don't leak buffers, caps and pads on negotiation errors.
1929
1930 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
1931
1932         * docs/faq/cvs.xml:
1933         * docs/faq/dependencies.xml:
1934         * docs/faq/developing.xml:
1935         * docs/faq/faq.xml:
1936         * docs/faq/general.xml:
1937         * docs/faq/getting.xml:
1938         * docs/faq/legal.xml:
1939         * docs/faq/troubleshooting.xml:
1940         * docs/faq/using.xml:
1941         Faq review and update.
1942
1943 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
1944
1945         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1946         (gst_pad_push):
1947         Don't pound the cpu to pieces by checking get_caps when accept_caps
1948         is called with the same caps as the pad already has.
1949         Use GST_DEBUG_OBJECT when outputting caps change information.
1950
1951 2006-03-15  Wim Taymans  <wim@fluendo.com>
1952
1953         * gst/gstclock.c: (gst_clock_class_init):
1954         Fix docs.
1955
1956 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
1957
1958         * gst/gstbuffer.h:
1959         Documentation fix.
1960
1961         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
1962         (gst_pad_accept_caps), (gst_pad_configure_sink),
1963         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
1964         Make the default acceptcaps behaviour be to check the requested 
1965         caps against the gst_pad_get_caps output. 
1966
1967         Ensure that gst_pad_accept_caps is used to check caps when a pad
1968         doesn't have a setcaps function, so that pads automatically refuse 
1969         caps that they don't allow in their pad template. (Fixes #332986)
1970
1971         When a buffer with attached caps is pushed, ensure that the source 
1972         pad receives those caps even if the element didn't call
1973         gst_pad_set_caps first.
1974
1975 2006-03-15  Wim Taymans  <wim@fluendo.com>
1976
1977         * libs/gst/base/gstadapter.c:
1978         Add some docs.
1979
1980 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
1981
1982         * win32/common/libgstbase.def:
1983         * win32/common/libgstcontroller.def:
1984         * win32/common/libgstreamer.def:
1985           Add a whole bunch of missing functions (#334434).
1986
1987 2006-03-14  Wim Taymans  <wim@fluendo.com>
1988
1989         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1990         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
1991         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
1992         Better debug info when we receive a segment event.
1993         Reorganize a bit so we can pass the get_times() results around.
1994         Use the segment format when calculating the running time.
1995         Don't do QoS is sync is disabled or we have no clock or the
1996         element does not want us to sync to the clock.
1997         Don't drop buffers if QoS is disabled for now.
1998
1999 2006-03-14  Wim Taymans  <wim@fluendo.com>
2000
2001         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2002         Marked the stats property as unimplemented so people don't get
2003         wild ideas.
2004         Add debug message when regression goes wrong.
2005         Added some more docs.
2006
2007 2006-03-14  Wim Taymans  <wim@fluendo.com>
2008
2009         * gst/gstsegment.c: (gst_segment_to_stream_time):
2010         Return correct return type in case of errors.
2011
2012 2006-03-14  Wim Taymans  <wim@fluendo.com>
2013
2014         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2015           Don't segfault on invalid formats.
2016
2017 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2018
2019         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2020           Can't use gst_segment_to_running_time() when the segment
2021           is not in GST_TIME_FORMAT (like with filesink, for example).
2022           Stops flac encoding pipelines from spewing critical warnings
2023           at EOS (#331248).
2024           
2025 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2026
2027         * gst/gstpipeline.c: (gst_pipeline_class_init):
2028           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2029
2030         * plugins/elements/gsttypefindelement.c:
2031         (gst_type_find_element_handle_event):
2032           Don't try to typefind empty streams.
2033
2034 2006-03-14  Wim Taymans  <wim@fluendo.com>
2035
2036         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2037         (gst_base_sink_do_qos):
2038         Separate QoS calculation.
2039         Only drop buffers when lateness is bigger than the 
2040         duration of the buffer.
2041
2042 2006-03-13  Wim Taymans  <wim@fluendo.com>
2043
2044         * gst/gstpipeline.c: (gst_pipeline_set_property),
2045         (gst_pipeline_get_property), (do_pipeline_seek),
2046         (gst_pipeline_change_state), (gst_pipeline_set_delay),
2047         (gst_pipeline_get_delay):
2048         Don't deadlock when reading properties.
2049
2050 2006-03-13  Wim Taymans  <wim@fluendo.com>
2051
2052         * libs/gst/base/gstbasetransform.c:
2053         (gst_base_transform_class_init), (gst_base_transform_init),
2054         (gst_base_transform_sink_event),
2055         (gst_base_transform_sink_eventfunc),
2056         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2057         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2058         (gst_base_transform_set_property),
2059         (gst_base_transform_get_property),
2060         (gst_base_transform_change_state), (gst_base_transform_update_qos),
2061         (gst_base_transform_set_qos_enabled),
2062         (gst_base_transform_is_qos_enabled):
2063         * libs/gst/base/gstbasetransform.h:
2064         Make basetransform virtual method for src events too.
2065         Handle QOS in basetransform.
2066         API: gst_base_transform_update_qos()
2067         API: gst_base_transform_set_qos_enabled()
2068         API: gst_base_transform_is_qos_enabled()
2069
2070 2006-03-13  Wim Taymans  <wim@fluendo.com>
2071
2072         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2073         (gst_base_sink_do_sync):
2074         Small cleanups.
2075         Use QOS debug category.
2076
2077 2006-03-13  Wim Taymans  <wim@fluendo.com>
2078
2079         * plugins/elements/gstqueue.c:
2080         Very small doc update.
2081
2082 2006-03-13  Wim Taymans  <wim@fluendo.com>
2083
2084         * gst/gst_private.h:
2085         * gst/gstinfo.c: (_gst_debug_init):
2086         Added QOS debug category
2087
2088 2006-03-13  Wim Taymans  <wim@fluendo.com>
2089
2090         * docs/gst/gstreamer-sections.txt:
2091         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2092         * gst/gstbin.h:
2093         * gst/gstbus.c: (gst_bus_class_init):
2094         * gst/gstbus.h:
2095         * gst/gstclock.c:
2096         * gst/gstelement.c: (gst_element_set_locked_state):
2097         * gst/gstsegment.c:
2098         Documentation updates.
2099
2100         * gst/gstpipeline.c: (gst_pipeline_get_type),
2101         (gst_pipeline_class_init), (gst_pipeline_init),
2102         (gst_pipeline_dispose), (gst_pipeline_set_property),
2103         (gst_pipeline_get_property), (do_pipeline_seek),
2104         (gst_pipeline_send_event), (gst_pipeline_change_state),
2105         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2106         (gst_pipeline_get_delay):
2107         * gst/gstpipeline.h:
2108         Added methods for setting the delay.
2109         API: gst_pipeline_set_delay()
2110         API: gst_pipeline_get_delay()
2111         Add pipeline debug category
2112         Various cleanups.
2113         Updated docs.
2114         Don't reset stream time when seek failed.
2115
2116 2006-03-13  Wim Taymans  <wim@fluendo.com>
2117
2118         * docs/design/draft-klass.txt:
2119         * docs/design/part-clocks.txt:
2120         * docs/design/part-events.txt:
2121         * docs/design/part-gstbin.txt:
2122         * docs/design/part-gstpipeline.txt:
2123         * docs/design/part-messages.txt:
2124         * docs/design/part-negotiation.txt:
2125         * docs/design/part-overview.txt:
2126         * docs/design/part-preroll.txt:
2127         * docs/design/part-seeking.txt:
2128         * docs/design/part-states.txt:
2129         * docs/design/part-streams.txt:
2130         Documentation updates.
2131
2132 2006-03-12  Julien MOUTTE  <julien@moutte.net>
2133
2134         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2135         us to leak strings...
2136
2137 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2138
2139         * libs/gst/net/gstnettimeprovider.c:
2140           fix docs
2141         * win32/common/config.h:
2142           update
2143
2144 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2145
2146         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2147
2148         * configure.ac:
2149           Don't check for libgnomeui (leftover from old examples
2150           that aren't built or disted any longer) (#334303).
2151           
2152 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
2153
2154         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2155         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2156           Emit RESOURCE_NO_SPACE_LEFT error here as well when
2157           there's no space left on the device.
2158
2159 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
2160
2161         * gst/gstclock.h:
2162           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2163           to cast the input to GstClockTime before comparing with
2164           another GstClockTime value.
2165
2166 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2167
2168         * configure.ac:
2169           back to trunk
2170
2171 === release 0.10.4 ===
2172
2173 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
2174
2175         * configure.ac:
2176           releasing 0.10.4, "Light"
2177
2178 2006-03-10  Michael Smith  <msmith@fluendo.com>
2179
2180         * libs/gst/dataprotocol/dataprotocol.c:
2181           Fix docs for dataprocotol to not get the return types completely
2182           wrong for a few functions.
2183
2184 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2185
2186         * docs/gst/gstreamer-sections.txt:
2187         * gst/gstpipeline.c: (gst_pipeline_class_init),
2188         (gst_pipeline_init), (gst_pipeline_set_property),
2189         (gst_pipeline_get_property), (gst_pipeline_change_state),
2190         (gst_pipeline_set_auto_flush_bus),
2191         (gst_pipeline_get_auto_flush_bus):
2192         * gst/gstpipeline.h:
2193           Add new API: gst_pipeline_set_auto_flush_bus() and
2194           gst_pipeline_get_auto_flush_bus() to disable automatic
2195           flushing of the pipeline's GstBus when going from READY
2196           to NULL state (#332045).
2197
2198 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2199
2200         * docs/gst/gstreamer-sections.txt:
2201         * gst/gsturi.c: (gst_uri_has_protocol):
2202         * gst/gsturi.h:
2203            Add new API: gst_uri_has_protocol() (#333779).
2204
2205 2006-03-09  Wim Taymans  <wim@fluendo.com>
2206
2207         * gst/gstclock.c: (gst_clock_entry_new),
2208         (gst_clock_id_compare_func), (gst_clock_id_wait),
2209         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2210         (gst_clock_init), (gst_clock_get_internal_time),
2211         (gst_clock_set_master), (do_linear_regression),
2212         (gst_clock_add_observation), (gst_clock_set_property):
2213         * gst/gstclock.h:
2214         Review docs.
2215         Small cleanups.
2216         Fix a possible segfault when the window-size is made smaller.
2217         Calculate jitter before performing the clock wait. Ideally
2218         the clock implementation should calculate jitter but we need
2219         API breakage for that.
2220
2221         * gst/gstsystemclock.c: (gst_system_clock_init):
2222         Docs review.
2223         
2224         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2225         Remove leftover else
2226
2227         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2228         (gst_systemclock_suite):
2229         Added check to test GST_CLOCK_DIFF.
2230
2231 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2232
2233         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2234         (gst_type_find_helper_get_range):
2235           If we are provided with the size, we should implement
2236           GstTypeFind::get_length, so that typefind functions who
2237           want to can actually peek at the middle of a file.
2238
2239 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * docs/manual/advanced-dataaccess.xml:
2242           Add some very very basic error checking.
2243
2244         * docs/pwg/appendix-checklist.xml:
2245           Some updates to the list of things to check when writing an element.
2246
2247 2006-03-08  Wim Taymans  <wim@fluendo.com>
2248
2249         * docs/design/part-element-transform.txt:
2250         Added some docs about the design of tranform elements.
2251
2252         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2253         (gst_base_src_loop), (gst_base_src_change_state):
2254         Mark buffers with the DISCONT flag.
2255
2256 2006-03-08  Michael Smith  <msmith@fluendo.com>
2257
2258         * gst/gstregistry.h:
2259         * gst/gstregistryxml.c: (gst_registry_save),
2260         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2261         (gst_registry_xml_save_pad_template),
2262         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2263         (gst_registry_xml_write_cache):
2264           Rewrite registry-saving to avoid race conditions and check for
2265           failed writes.
2266
2267 2006-03-08  Wim Taymans  <wim@fluendo.com>
2268
2269         * libs/gst/base/gstbasetransform.c:
2270         (gst_base_transform_transform_caps),
2271         (gst_base_transform_transform_size),
2272         (gst_base_transform_prepare_output_buffer),
2273         (gst_base_transform_get_unit_size),
2274         (gst_base_transform_buffer_alloc),
2275         (gst_base_transform_handle_buffer),
2276         (gst_base_transform_change_state):
2277         Cleanups, separate normal flow from errors, add sensible
2278         DEBUG lines.
2279         Don't try to renegotiate when allocating an output buffer.
2280         Also copy DISCONT buffer flag when copying a buffer.
2281         Reset the transform after we finish streaming, not during.
2282
2283 2006-03-08  Wim Taymans  <wim@fluendo.com>
2284
2285         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2286         Use last buffer timestamp in qos message.
2287
2288 2006-03-07  Wim Taymans  <wim@fluendo.com>
2289
2290         Patch by: Christophe Fergeau
2291
2292         * docs/pwg/advanced-tagging.xml:
2293         * docs/pwg/building-pads.xml:
2294           fixes #333416
2295
2296 2006-03-07  Wim Taymans  <wim@fluendo.com>
2297
2298         * docs/libs/gstreamer-libs-sections.txt:
2299         Added basesink new methods.
2300
2301         * gst/gstevent.c:
2302         * gst/gstevent.h:
2303         Docs updates. Flesh out the QoS docs.
2304
2305         * libs/gst/base/gstadapter.c:
2306         Small doc clarification about ownership and flushing.
2307
2308         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2309         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2310         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2311         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2312         * libs/gst/base/gstbasesink.h:
2313         API additions: 
2314         Added new methods to allow subclass to control max-lateness 
2315         and sync.
2316         Generate very basic QoS events based on last sync observation.
2317         Updated docs, fix typo, added some QoS blurb.
2318
2319         * libs/gst/base/gstbasesrc.c:
2320         Remove obsolete _get_state() calls from docs.
2321
2322 2006-03-07  Wim Taymans  <wim@fluendo.com>
2323
2324         * docs/libs/gstreamer-libs-sections.txt:
2325         * libs/gst/base/gstbasetransform.h:
2326         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2327         Fix docs for GstBaseSrc.
2328
2329 2006-03-07  Wim Taymans  <wim@fluendo.com>
2330
2331         * docs/gst/gstreamer-sections.txt:
2332         * gst/gstbuffer.h:
2333         * gst/gstvalue.c:
2334         * libs/gst/base/gstbasetransform.h:
2335         Small documentation fixes.
2336
2337 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2338
2339         * gst/gstvalue.c:
2340           Document thread-unsafety of gst_value_register_foo_func()
2341           when used at the same time as gst_value_foo() (#322628).
2342
2343 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2344
2345         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2346         (gst_push_src_check_get_range):
2347           Push sources don't support pull mode by default.
2348
2349 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2350
2351         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2352         (gst_base_src_init), (gst_base_src_pad_check_get_range),
2353         (gst_base_src_default_check_get_range):
2354         * libs/gst/base/gstbasesrc.h:
2355           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2356           provide default implementation, and rename
2357           gst_base_src_check_get_range() to
2358           gst_base_src_pad_check_get_range() for clarity.
2359
2360 2006-03-06  Wim Taymans  <wim@fluendo.com>
2361
2362         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2363         Make property overridable.
2364
2365 2006-03-06  Wim Taymans  <wim@fluendo.com>
2366
2367         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2368         (gst_base_sink_init), (gst_base_sink_set_property),
2369         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2370         * libs/gst/base/gstbasesink.h:
2371         API addition: Make max-lateness a property.
2372
2373 2006-03-06  Wim Taymans  <wim@fluendo.com>
2374
2375         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2376         (gst_base_sink_do_sync), (gst_base_sink_render_object):
2377         Don't ever draw a frame that is >10ms late.
2378
2379 2006-03-06  Michael Smith  <msmith@fluendo.com>
2380
2381         * gst/gstmessage.c: (_gst_message_copy):
2382           When copying a message, set the parent_refcount of the enclosed
2383           structure to point at the copy, not the original message.
2384
2385 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2386
2387         Patch by: Christophe Fergeau
2388
2389         * gst/gstutils.h:
2390           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2391           usable in c++ code (#333417)
2392
2393 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2394
2395         * gst/gstclock.h:
2396           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2397
2398 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
2399
2400         * libs/gst/base/gstbasetransform.c:
2401         (gst_base_transform_transform_caps):
2402           Make sure caps are writable before passing them to
2403           gst_caps_append().
2404
2405 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2406
2407         * gst/gsterror.h:
2408           Fix some minor docs errors.
2409
2410 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2411
2412           Patch by: Ross Burton <ross at burtonini dot com>
2413
2414         * gst/gsterror.c: (_gst_resource_errors_init):
2415         * gst/gsterror.h:
2416           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2417
2418 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2419
2420         * gst/gst.c:
2421         Add a check and output a g_warning when GStreamer is built
2422         against GLib 2.6 but running against 2.8 or higher, and vice 
2423         versa. (Closes: #323542)
2424
2425 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2426
2427         * gst/parse/parse.l:
2428           Commit patch for parse_launch syntax from #331255. Removes 
2429           support for quoted strings and mimetypes when writing filtered 
2430           caps. See the bug report for more details - I'm pretty sure this
2431           obscure feature is not in use by _anyone_ anywhere.
2432
2433           With this simple change, the size of the gstreamer.so here 
2434           drops from 2193KB to 1565KB.
2435
2436 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2437
2438         * plugins/elements/gsttypefindelement.h:
2439         * plugins/elements/gsttypefindelement.c:
2440         (gst_type_find_element_src_event), (start_typefinding),
2441         (stop_typefinding), (gst_type_find_element_handle_event),
2442         (gst_type_find_element_chain),
2443         (gst_type_find_element_chain_do_typefinding):
2444           Use gst_type_find_helper_for_buffer() for chain-based
2445           typefinding.
2446
2447 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2448
2449         * plugins/elements/gsttypefindelement.c:
2450         (gst_type_find_element_class_init),
2451         (gst_type_find_element_set_property),
2452         (gst_type_find_element_get_property):
2453           Deprecate "maximum" property (not only was it only taken into
2454           account for typefinding in push-mode anyway, it also was never
2455           actually possible to set it in the first place because the
2456           property was registered with the numeric property ID for the
2457           "minimum" property). Register "maximum" property correctly,
2458           for the sake of future copy'n'pasters. Remove some cruft
2459           from property get/set functions.
2460
2461 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2462
2463         * plugins/elements/gsttypefindelement.c:
2464         (gst_type_find_element_activate):
2465           Use gst_type_find_helper_get_range() here, so we
2466           can honour the "minimum" property and also emit
2467           the signal with the correct probability of the found caps.
2468
2469 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
2470
2471         * docs/libs/gstreamer-libs-sections.txt:
2472         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2473         (helper_find_suggest), (gst_type_find_helper_get_range),
2474         (gst_type_find_helper):
2475         * libs/gst/base/gsttypefindhelper.h:
2476           New API: gst_type_find_helper_get_range() (#333042).
2477
2478 2006-03-02  Michael Smith  <msmith@fluendo.com>
2479
2480         * gst/gstregistryxml.c: (load_feature):
2481           Asserting on a failure to read part of the registry is Not Cool.
2482           Just log a warning and return NULL (which is already handled)
2483
2484 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
2485
2486         * win32/common/libgstbase.def:
2487           added export of gst_type_find_helper_for_buffer
2488         * win32/common/libgstbase.def:
2489           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2490           gst_ghost_pad_get_target
2491
2492 2006-02-28  Wim Taymans  <wim@fluendo.com>
2493
2494         * docs/design/draft-klass.txt:
2495         We use Filter now.
2496         Added Connector to mark elements that are only used to
2497         allow pipeline connections.
2498         Moved Debug to extra feature since most of them are 
2499         functionally something else.
2500
2501 2006-02-28  Wim Taymans  <wim@fluendo.com>
2502
2503         * docs/design/draft-klass.txt:
2504         Some updates and clarifications.
2505
2506 2006-02-28  Wim Taymans  <wim@fluendo.com>
2507
2508         * docs/design/draft-klass.txt:
2509         Proposal for klass field values.
2510
2511         * docs/design/part-streams.txt:
2512         Start of a doc describing stream anatomy.
2513
2514 2006-02-28  Wim Taymans  <wim@fluendo.com>
2515
2516         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2517         Help the compiler a bit with type registration.
2518         Use existing forward cod path instead of duplicating it when 
2519         handling a message.
2520         
2521         * gst/gstbus.c: (gst_bus_get_type):
2522         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2523         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2524         * gst/gstclock.c: (gst_clock_get_type):
2525         * gst/gstelement.c: (gst_element_get_type),
2526         * gst/gstelementfactory.c: (gst_element_factory_get_type):
2527         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2528         * gst/gstminiobject.c: (gst_mini_object_get_type):
2529         * gst/gstpad.c: (gst_pad_get_type):
2530         * gst/gstsegment.c: (gst_segment_get_type):
2531         * gst/gststructure.c: (gst_structure_get_type):
2532         * gst/gstsystemclock.c: (gst_system_clock_get_type):
2533         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2534         * gst/gstvalue.c:
2535         Help compiler with type registration.
2536
2537         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2538         Small doc update.
2539
2540 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2541
2542         * plugins/elements/gsttypefindelement.c:
2543         (gst_type_find_element_handle_event):
2544           When we get an EOS event and have not found a type yet
2545           (most likely because we had not yet accumulated
2546           TYPE_FIND_MIN_SIZE of data yet), try to determine the
2547           type given the data we have so far. Fixes typefinding
2548           for very short streams again, most notably quicktime
2549           redirections as used on Apple's trailer site (#331701).
2550
2551 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2552
2553         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2554         (gst_type_find_helper):
2555           Try typefinding factories with the highest rank first.
2556
2557 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2558
2559         * docs/libs/gstreamer-libs-docs.sgml:
2560         * docs/libs/gstreamer-libs-sections.txt:
2561         * libs/gst/base/gsttypefindhelper.c:
2562           Add section for typefind helper and add documentation
2563           for the old and the new function.
2564
2565 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2566
2567         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2568         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2569         (gst_type_find_helper_for_buffer):
2570         * libs/gst/base/gsttypefindhelper.h:
2571           New API: gst_type_find_helper_for_buffer() (#332723).
2572           
2573 2006-02-27  Michael Smith  <msmith@fluendo.com>
2574
2575         Patch by: Loïc Minier
2576
2577         * configure.ac:
2578         * docs/Makefile.am:
2579         * docs/slides/Makefile.am:
2580           prevent CVS directories getting disted.
2581
2582 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2583
2584         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2585           Use the REFCOUNTING category for caps refcounting.
2586           
2587 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
2588
2589         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2590           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2591
2592 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * plugins/elements/gsttypefindelement.c:
2595         (gst_type_find_element_activate):
2596           Use gst_pad_check_pull_range() before _activate_pull()
2597           to avoid unnecessary open/close (see #331690).
2598
2599 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2600
2601         * gst/gstutils.c:
2602           Docs enhancement: make it crystal clear what the
2603           gst_pad_add_*_probe() callbacks should look like.
2604
2605 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2606
2607         * libs/gst/base/gstbasesrc.c:
2608           Document how applications can stop recording from
2609           live sources (see #330996).
2610
2611 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2612
2613         * tests/check/Makefile.am:
2614         * tests/check/libs/basesrc.c: (eos_event_counter),
2615         (basesrc_eos_events_pull), (basesrc_eos_events_push),
2616         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2617         (gst_basesrc_suite), (main):
2618           ... and add some tests for the base source EOS stuff.
2619
2620 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2621
2622         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2623           Test case originally showed the problem fixed below,
2624           but was then amended. Add checks back at the place
2625           where they used to be.
2626
2627 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2628
2629         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2630         (gst_base_src_init), (gst_base_src_loop),
2631         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2632         (gst_base_src_change_state):
2633         * libs/gst/base/gstbasesrc.h:
2634           Don't unconditionally send EOS when going from PAUSED to
2635           READY state, esp. make sure we don't send two EOS events
2636           in some cases (e.g. one when reaching EOS and one when
2637           going from PAUSED to READY). Also, we don't want to send
2638           EOS events when operating in pull mode. However, we do
2639           want to send an EOS event when shutting down a live
2640           source explicitly, for example (fixes #330996).
2641           
2642 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2643
2644         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2645           Update src->read_position after a seek when not using mmap.
2646           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2647
2648 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
2649
2650         * gst/Makefile.am:
2651         * gst/gstparse.h:
2652         * gst/gstutils.c:
2653         * gst/gstutils.h:
2654         Make things work with --disable-parse as they do with 
2655         --disable-load-save - the symbols involved disappear, but the
2656         header is still installed and GST_DISABLE_PARSE is included via
2657         gstconfig.h
2658
2659 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2660
2661         * libs/gst/base/gstbasetransform.c:
2662         (gst_base_transform_change_state): Fix a stupid bug. I was 
2663         sure I compiled that.
2664
2665 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2666
2667         * gst/gstpad.c: (gst_pad_set_blocked_async):
2668         * gst/gstutils.c: (gst_pad_add_data_probe),
2669         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2670         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2671         (gst_pad_remove_buffer_probe): Make those function act on the
2672         ghostpad target when it's a ghostpad. (Closes #331727)
2673
2674 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2675
2676         * libs/gst/base/gstbasetransform.c:
2677         (gst_base_transform_change_state): Make basetransform reusable.
2678         (Closes #331898)
2679
2680 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
2681
2682         * docs/random/release:
2683         Move the current documentation of how to do a release to the top
2684         of the file.
2685
2686         * gst/gstbin.c: (gst_bin_class_init),
2687         (gst_bin_handle_message_func):
2688         Allow multiple state-recalculation threads. (Closes #328873)
2689
2690 2006-02-19  Julien MOUTTE  <julien@moutte.net>
2691
2692         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2693         * gst/gstpad.c: (gst_pad_set_event_function),
2694         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2695         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2696         2 strings. You can't use the STR_NULL macro on that.
2697
2698 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
2699
2700         * gst/gstpad.c: (gst_pad_set_event_function),
2701         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2702         (gst_pad_set_getcaps_function)
2703         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2704           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2705           So now, we can use --gst-debug-level=5 on Windows
2706         * win32/common/libgstcontroller.def:
2707           Added export of gst_controller_init
2708         * win32/vs6/libgstcontroller.dsp:
2709           Fixed Release post build configuration
2710
2711 2006-02-17  Wim Taymans  <wim@fluendo.com>
2712
2713         * tests/check/gst/gstquery.c: (GST_START_TEST):
2714         Added another check.
2715
2716 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
2717
2718         * plugins/elements/gsttypefindelement.c: (find_peek):
2719           We can do peeks at non-zero offsets, as long as they
2720           fall within the buffer we have.
2721
2722 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
2723
2724         * tests/check/Makefile.am:
2725         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2726         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2727         (parse_suite), (main):
2728           Add testsuite for parse launch syntax
2729
2730 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
2731
2732         * plugins/elements/gsttypefindelement.c:
2733         (gst_type_find_element_chain):
2734           When typefinding is unsuccessful in the chain function, don't
2735           error out immediately. Only error out with NO_CAPS_FOUND if
2736           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2737           otherwise simply wait for more data so we can try typefinding
2738           again with more data later. Also, don't attempt to typefind
2739           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2740           this should improve typefinding from network sources where the
2741           size of the first buffer can be somewhat random.
2742
2743 2006-02-14  Wim Taymans  <wim@fluendo.com>
2744
2745         * docs/gst/gstreamer-sections.txt:
2746         * gst/gstpadtemplate.c:
2747         * gst/gstpadtemplate.h:
2748         Fix padtemplate docs, fixes #328805.
2749
2750 2006-02-14  Wim Taymans  <wim@fluendo.com>
2751
2752         * tools/gst-launch.c: (main):
2753         NO_PREROLL is not an ERROR so don't send confusing messages
2754         to the user.
2755
2756 2006-02-14  Wim Taymans  <wim@fluendo.com>
2757
2758         Patch by: Torsten Schoenfeld
2759
2760         * gst/gstregistry.c: (gst_registry_get_default),
2761         (_gst_registry_cleanup):
2762         Protect default registry with lock and ref/sink it.
2763         Fixes #324818
2764
2765 2006-02-14  Wim Taymans  <wim@fluendo.com>
2766
2767         * gst/gstbuffer.c:
2768         * gst/gstquery.c: (gst_query_list_add_format),
2769         (gst_query_set_formatsv), (gst_query_parse_formats_length),
2770         (gst_query_parse_formats_nth):
2771         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2772         Docs fixes.
2773
2774 2006-02-14  Wim Taymans  <wim@fluendo.com>
2775
2776         * docs/gst/gstreamer-sections.txt:
2777         Reworked query docs.
2778
2779         * gst/gstquery.c: (gst_query_new_formats),
2780         (gst_query_list_add_format), (gst_query_set_formats),
2781         (gst_query_set_formatsv), (gst_query_parse_formats_length),
2782         (gst_query_parse_formats_nth):
2783         * gst/gstquery.h:
2784         Flesh out formats query, added some new methods.
2785         Fix part of #324398.
2786
2787         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
2788         Added query creation tests.
2789
2790 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
2791
2792         * gst/gstpad.c: (fixate_value):
2793         Add a default fixation for fraction lists.
2794
2795 2006-02-13  Wim Taymans  <wim@fluendo.com>
2796
2797         * gst/gsttask.c: (gst_task_init), (gst_task_func),
2798         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2799         (gst_task_join):
2800         * gst/gsttask.h:
2801         Detect and warn for obvious deadlocks. fixes #320340
2802         Fix error case where lock was not released.
2803
2804         * tests/check/Makefile.am:
2805         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2806         (task_func), (gst_element_suite), (main):
2807         Add task check.
2808
2809 2006-02-13  Wim Taymans  <wim@fluendo.com>
2810
2811         * docs/gst/gstreamer-sections.txt:
2812         * gst/gstbus.c:
2813         Add new functions to docs.
2814
2815 2006-02-13  Wim Taymans  <wim@fluendo.com>
2816
2817         * docs/design/part-TODO.txt:
2818         Updated TODO list, basesrc supports seeking to non-bytes
2819         formats.
2820
2821         * docs/design/part-element-sink.txt:
2822         Update docs.
2823
2824         * gst/gstbin.c: (bin_replace_message),
2825         (gst_bin_handle_message_func):
2826         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2827         * gst/gstevent.c: (gst_event_finalize):
2828         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2829         (gst_pad_send_event):
2830         Use shiny new _TYPE_NAME macros.
2831
2832         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2833         Move debug statement up.
2834
2835         * gst/gstelement.c: (gst_element_set_locked_state):
2836         Add some debugging.
2837
2838 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
2839
2840         * docs/gst/gstreamer-sections.txt:
2841         * gst/gstmessage.h:
2842         * gst/gstquery.h:
2843           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
2844           macros (#330906). Also, document the already existing
2845           GST_QUERY_TYPE macro.
2846
2847 2006-02-13  Wim Taymans  <wim@fluendo.com>
2848
2849         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
2850         (event_probe), (GST_START_TEST):
2851         Only events up to the pipeline EOS are counted, there are
2852         some more when going to NULL currently which we don't care
2853         about for now.
2854
2855 2006-02-13  Wim Taymans  <wim@fluendo.com>
2856
2857         * gst/gstpad.c: (gst_pad_send_event):
2858         Correctly check flushing and emit probes. fixes #330125
2859
2860 2006-02-10  Andy Wingo  <wingo@pobox.com>
2861
2862         * gst/gstbus.c (gst_bus_class_init): Declare our private data
2863         structure.
2864         (gst_bus_init): Cache the location of the private data in the
2865         instance structure.
2866         (gst_bus_enable_sync_message_emission) 
2867         (gst_bus_disable_sync_message_emission): Implement new public
2868         functions.
2869         (gst_bus_post): Emit the sync-message signal if the user asked for
2870         it. Fixes #330684.
2871
2872         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
2873         location of the bus-private structure.
2874         (gst_bus_enable_sync_message_emission)
2875         (gst_bus_disable_sync_message_emission): API addition
2876
2877 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
2878
2879         Patch by: Vincent Torri
2880
2881         * docs/pwg/building-boiler.xml:
2882         PWG patch from #326800
2883
2884 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2885
2886         * configure.ac:
2887         * docs/Makefile.am:
2888         * docs/design/Makefile.am:
2889           Dist design docs.
2890
2891 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
2892
2893         * configure.ac:
2894           back to CVS
2895
2896 === release 0.10.3 ===
2897
2898 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
2899
2900         * configure.ac:
2901           releasing 0.10.3, "Like a virgin"
2902
2903 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
2904
2905         * configure.ac:
2906           2nd prerelease of 0.10.3
2907           Bump libtool versioning.
2908
2909 2006-02-07  Andy Wingo  <wingo@pobox.com>
2910
2911         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
2912         update last_stop if we're in TIME format and the timestamp is
2913         valid.
2914
2915         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
2916         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
2917         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
2918         If we get a new newsegment with a different format, adapt
2919         accordingly.
2920
2921         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
2922         of 0. Not a problem, really.
2923
2924         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
2925         warn if sync=true.
2926
2927 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
2928
2929         * configure.ac:
2930           Prelease of 0.10.3
2931
2932 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
2933
2934         * win32/vs7:
2935           project files updated to the default vs7 configuration
2936         * win32/common/libgstbase.def:
2937         * win32/common/libgstreamer.def:
2938           added new symbols,
2939           removed empty lines,
2940           sorted all exported symbols alphabetically
2941         * win32/common/dirent.c:
2942         * win32/common/dirent.h:
2943         * win32/common/gchar.h:
2944           use windows line end.
2945           
2946 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
2947
2948         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2949           Send EOS event when stopping.
2950
2951 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * docs/README:
2954           Tell folks what to do if the plugin-foobar.xml file
2955           hasn't been generated for a newly-added plugin.
2956
2957 2006-02-05  Julien MOUTTE  <julien@moutte.net>
2958
2959         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2960         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2961         (gst_collect_pads_start), (gst_collect_pads_stop),
2962         (gst_collect_pads_event): Collectpads now holds a reference
2963         to the GstPad that was added. Indeed we don't want to look
2964         at pads that might just go away with no warning...
2965
2966 2006-02-05  Julien MOUTTE  <julien@moutte.net>
2967
2968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2969         (gst_collect_pads_start), (gst_collect_pads_stop),
2970         (gst_collect_pads_event), (gst_collect_pads_chain):
2971         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
2972         Mark Nauwelaerts's patch on bug #328491.
2973
2974 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2975
2976         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
2977         (gst_utils_suite):
2978           Add some simple tests for gst_parse_bin_from_description() and
2979           gst_bin_find_unconnected_pad() (#329069).
2980
2981 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2982
2983         * tools/gst-launch.c: (event_loop), (main):
2984           Catch errors during preroll (#320084).
2985
2986 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
2987
2988         * plugins/elements/gsttypefindelement.c:
2989         (gst_type_find_element_activate):
2990           Post TYPE_NOT_FOUND error message when typefinding
2991           is unsuccessful in the activate function as well.
2992
2993 2006-02-02  Wim Taymans  <wim@fluendo.com>
2994
2995         * docs/design/part-element-sink.txt:
2996         Updated doc.
2997
2998 2006-02-02  Wim Taymans  <wim@fluendo.com>
2999
3000         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3001         (gst_base_sink_render_object),
3002         (gst_base_sink_queue_object_unlocked):
3003         Only keep track of prerollable items when we are 
3004         prerolling.
3005         Before rendering after preroll, always check if we
3006         have queued items.
3007         Added some more debugging.
3008
3009 2006-02-02  Wim Taymans  <wim@fluendo.com>
3010
3011         * gst/gstelement.c: (gst_element_continue_state),
3012         (gst_element_set_state_func), (gst_element_change_state):
3013         Fixed #326576, been running this for quite some time with
3014         no regressions at all.
3015
3016 2006-02-02  Wim Taymans  <wim@fluendo.com>
3017
3018         * common/gst.supp:
3019         Added more suppressions
3020
3021 2006-02-02  Wim Taymans  <wim@fluendo.com>
3022
3023         * docs/design/part-element-sink.txt:
3024         Updated document.
3025
3026         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3027         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3028         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3029         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3030         (gst_base_sink_do_sync), (gst_base_sink_render_object),
3031         (gst_base_sink_preroll_object),
3032         (gst_base_sink_queue_object_unlocked),
3033         (gst_base_sink_queue_object), (gst_base_sink_event),
3034         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3035         (gst_base_sink_loop), (gst_base_sink_activate_pull),
3036         (gst_base_sink_get_position), (gst_base_sink_change_state):
3037         * libs/gst/base/gstbasesink.h:
3038         Totally refactored matching the design doc.
3039         Use two segments, one to clip incomming buffers and another to
3040         perform sync.
3041         Handle queueing correctly, bypass the queue when playing.
3042         Make EOS cancelable.
3043         Handle errors correctly when operating in pull based mode.
3044
3045         * tests/check/elements/fakesink.c: (GST_START_TEST),
3046         (fakesink_suite):
3047         Added new check for sinks.
3048
3049 2006-02-02  Wim Taymans  <wim@fluendo.com>
3050
3051         * gst/gstsegment.c: (gst_segment_clip):
3052         No reason to refuse to clip when start == -1
3053
3054 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
3055
3056         * docs/README:
3057         * docs/manual/intro-basics.xml:
3058         * docs/manual/intro-preface.xml:
3059         * docs/manual/manual.xml:
3060         * docs/pwg/advanced-dparams.xml:
3061         * docs/pwg/intro-basics.xml:
3062         * docs/pwg/intro-preface.xml:
3063         * docs/pwg/pwg.xml:
3064           describe dparams (controller) for plugins
3065           unify docs a little more
3066
3067 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
3068
3069         * docs/gst/gstreamer-sections.txt:
3070         * gst/gstutils.c: (element_find_unconnected_pad),
3071         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3072         * gst/gstutils.h:
3073           Add new API: gst_parse_bin_from_description() and
3074           gst_bin_find_unconnected_pad() (#329069).
3075
3076 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
3077
3078         * docs/manual/README:
3079           uncover a nasty detail of the docs build
3080
3081 2006-01-31  Wim Taymans  <wim@fluendo.com>
3082
3083         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3084         Don't cache duration messages if we're not going to use or
3085         free them.
3086
3087 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
3088
3089         * docs/manual/advanced-dparams.xml:
3090         * docs/pwg/advanced-dparams.xml:
3091           more dparam docs
3092         * gst/gstindex.c:
3093           fix docs
3094         * libs/gst/controller/lib.c: (gst_controller_init):
3095           init just once
3096
3097 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
3098
3099         * gst/gstelement.c: (gst_element_message_full):
3100           also show file/line/func if no additional debug was given
3101
3102 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
3103         
3104         * win32/vs7/grammar.vcproj:
3105           activate copy of autogenerated files for Release mode
3106
3107 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3108         
3109         * win32/common/libgstreamer.def:
3110           export gst_value_compare
3111
3112 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
3113
3114         * plugins/elements/Makefile.am:
3115         * plugins/elements/gstelements.c:
3116         * plugins/elements/gstfdsink.c: (_do_init),
3117         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3118         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3119         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3120         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3121         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3122         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3123         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3124         * plugins/elements/gstfdsink.h:
3125         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3126
3127 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
3128
3129         * docs/manual/advanced-dparams.xml:
3130           describe controller
3131         * docs/manual/advanced-position.xml:
3132         * docs/manual/basics-init.xml:
3133         * docs/manual/manual.xml:
3134         * docs/manual/titlepage.xml:
3135         * docs/pwg/pwg.xml:
3136         * docs/pwg/titlepage.xml:
3137           cleanup xml (more to come)
3138         * libs/gst/controller/gstcontroller.c:
3139           fix typo
3140
3141 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3142         
3143         * win32/vs6/grammar.dsp:
3144           add autogen of gstmarshal.c,h for Release mode
3145                 
3146 2006-01-30  Wim Taymans  <wim@fluendo.com>
3147
3148         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3149         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3150         (gst_base_sink_handle_object), (gst_base_sink_event),
3151         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3152         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3153         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3154         (gst_base_sink_deactivate), (gst_base_sink_activate),
3155         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3156         (gst_base_sink_query), (gst_base_sink_change_state):
3157         Basesink cleanups, remove some old code.
3158         Handle the case where a subclass can preroll in the render
3159         method (mostly audiosinks).
3160         Handle more events.
3161         Remove some locks around variables that are now protected
3162         with the PREROLL_LOCK (clock_id, flushing, ..).
3163         Optimize position query some more, do correct locking.
3164         Remove old code to push queue in state change, this is not
3165         needed anymore since preroll blocks on all prerollable items 
3166         now.
3167         Almost implemented as described in design doc.
3168
3169 2006-01-30  Wim Taymans  <wim@fluendo.com>
3170
3171         * tests/check/gst/gstbin.c: (GST_START_TEST):
3172         Wait for refcount to settle down before checking.
3173
3174 2006-01-30  Wim Taymans  <wim@fluendo.com>
3175
3176         * docs/design/part-element-sink.txt:
3177         Pseudo code overview of desired sink behaviour regarding
3178         preroll.
3179
3180 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3181         * win32/vs6/grammar.dsp:
3182           fix some bugs in Release mode for autogenerated files
3183                 
3184 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3185         * win32/common/libgstbase.def:
3186         * win32/common/libgstreamer.def:
3187           export some new symbols: gst_base_src_set_format,
3188           gst_iterator_next, gst_structure_set_valist
3189
3190 2006-01-29  Julien MOUTTE  <julien@moutte.net>
3191
3192         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3193         Set pad functions unconditionally. Fixes #329105.
3194
3195 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3196         * win32/vs8:
3197           add vs8 project files created by Sergey Scobich
3198
3199 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
3200
3201         * gst/gstutils.c: (gst_element_unlink_pads):
3202         Don't leak pad references.
3203
3204         * tests/check/elements/fakesink.c: (GST_START_TEST):
3205         * tests/check/generic/sinks.c: (GST_START_TEST):
3206         * tests/check/generic/states.c: (GST_START_TEST):
3207         * tests/check/gst/gstbin.c: (GST_START_TEST):
3208         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3209         * tests/check/gst/gstelement.c: (GST_START_TEST):
3210         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3211         * tests/check/gst/gstiterator.c: (GST_START_TEST):
3212         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3213         Fix a bunch of leaks. Make generic/sinks.c
3214         use a bit less cpu by slowing the buffer rate
3215         between fakesrc and fakesink.
3216         
3217 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
3218         * gst/gstcaps.c:
3219         * gst/gstelement.c: (gst_element_send_event):
3220         * gst/gstevent.c:
3221         * gst/gstinfo.c:
3222         * gst/gstiterator.c:
3223         * gst/gstiterator.h:
3224         * gst/gstpad.c: (gst_pad_send_event):
3225         * gst/gststructure.c:
3226         * gst/gsturi.c:
3227         * gst/gstutils.c:
3228         * gst/gstvalue.c:
3229         * libs/gst/base/gstadapter.c:
3230           doc fixes, to link to function, just write gst_cool_function(), don't
3231           prefix with '#'
3232
3233 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3234
3235         * plugins/elements/gsttee.c: (gst_tee_do_push),
3236         (gst_tee_handle_buffer):
3237         Always prefer an actual return value from a src
3238         pad in place of NOT_LINKED. This means we return
3239         WRONG_STATE when all src pads are WRONG_STATE
3240         instead of NOT_LINKED.
3241
3242         Lock when replacing the last message to prevent
3243         racing with the get_property method.
3244
3245         Add debug output
3246
3247 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3248
3249         * tests/check/Makefile.am:
3250         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3251         (main):
3252         Add a very simple check that should have caught the memleak I fixed
3253         last night (if not for the slice allocator hiding it)
3254
3255 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3256
3257         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3258         (gst_bin_remove_func), (gst_bin_handle_message_func),
3259         (bin_query_duration_fold), (bin_query_generic_fold):
3260         Clean up references to the clock provider when disposed or when
3261         handling a clock-lost message from it.
3262
3263         Unref sinks when performing a query via gst_iterator_fold, as the
3264         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3265
3266         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3267         (gst_clock_set_master):
3268         Drop our reference to the master clock, if any, when we are disposed.
3269
3270         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3271         Chain up in dispose. 
3272
3273 2006-01-26  Wim Taymans  <wim@fluendo.com>
3274
3275         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3276         Add some debugging.
3277
3278 2006-01-26  Julien MOUTTE  <julien@moutte.net>
3279
3280         * plugins/elements/gsttee.c: (gst_tee_do_push),
3281         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3282         handles pad being NOT_LINKED or in WRONG_STATE.
3283
3284 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3285
3286         * win32/MANIFEST:
3287           more updating
3288
3289 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3290
3291         * win32/MANIFEST:
3292           remove obsolete entry
3293
3294 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3295
3296         * docs/gst/gstreamer-sections.txt:
3297         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3298         (gst_bin_iterate_sources), (gst_bin_send_event):
3299         * gst/gstbin.h:
3300         * gst/gstelement.c: (gst_element_send_event):
3301         * gst/gstevent.c:
3302         * gst/gstpad.c: (gst_pad_send_event):
3303           added code for downstream events, reviewed docs in gstevent.c
3304
3305 2006-01-25  Julien MOUTTE  <julien@moutte.net>
3306
3307         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3308         We only query position using the clock in the playing state.
3309         Query peer in the other cases.
3310         * win32/common/config.h: Updates.
3311
3312 2006-01-24  Wim Taymans  <wim@fluendo.com>
3313
3314         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3315         A clock entry that is scheduled for the exact time of the
3316         clock is still in time.
3317
3318         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3319         (gst_base_sink_do_sync):
3320         Add some more debug info.
3321
3322 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3323
3324         * win32/vs7:
3325           Add new vs7 project files and solution.
3326
3327 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3328
3329         * win32/vs7:
3330           all files removed as they were out-dated.
3331
3332 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3333
3334         * docs/random/release:
3335           update notes
3336         * gst/gstbin.c: (gst_bin_init):
3337         * gst/gstbus.c: (gst_bus_new):
3338         * gst/gstbus.h:
3339         * gst/gstpipeline.c: (gst_pipeline_init):
3340           use gst_bus_new(), improve logging, fix docs
3341         * win32/common/config.h:
3342           update for cvs build
3343
3344 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3345
3346         * autogen.sh:
3347           up required version of automake to 1.7
3348
3349 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
3350
3351         * win32/common/libgstreamer.def:
3352           export gst_buffer_is_metadata_writable
3353
3354 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3355
3356         * docs/gst/gstreamer-sections.txt:
3357         * gst/gstevent.h:
3358           Add gst_event_replace() (#327001)
3359
3360 2006-01-20  Wim Taymans  <wim@fluendo.com>
3361
3362         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3363         Make it actually compile too..
3364
3365 2006-01-20  Wim Taymans  <wim@fluendo.com>
3366
3367         * gst/gstcaps.c:
3368         Clarify behaviour of _is_equal() when passing NULL parameters.
3369
3370         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3371         (gst_pad_set_caps):
3372         Cleanups. Don't unref NULL caps.
3373         When setting the same caps, protect caps of the pad with
3374         proper lock.
3375         Use full functionality of _is_equal() when comparing caps.
3376
3377 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3378
3379         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3380         Don't loop infinitely if there are no buffers to present. Partially
3381         fixes #327197, but collectpads is just broken for reusing elements
3382         to do multiple encodes atm.
3383
3384 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3385
3386         * tools/gst-inspect.c: (print_element_features):
3387         * tools/gst-xmlinspect.c: (main):
3388         URL_HANDLER is not a plugin feature we can search for in
3389         the registry.
3390
3391 2006-01-19  Edward Hervey  <edward@fluendo.com>
3392
3393         * gst/gstelement.c: (gst_element_pads_activate): 
3394         When activating, do src pads first, then sink pads.
3395         When de-activating, do sink pads first, then src pads.
3396
3397 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3398
3399         * docs/gst/gstreamer-sections.txt:
3400         Add gst_index_add_associationv to the docs
3401
3402 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3403
3404         * gst/gstevent.c:
3405           Fix docs typo
3406
3407         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3408         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3409           Do some refactoring. Doesn't actually change functionality,
3410           but makes landing the DRAIN event easier later.
3411
3412 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * docs/pwg/advanced-scheduling.xml:
3415           Update from 0.9.x to 0.10 API and make example a bit
3416           clearer.
3417
3418 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3419
3420         * docs/gst/gstreamer-sections.txt:
3421         Add gst_buffer_(is|make)_metadata_writable methods.
3422
3423 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3424
3425         * docs/design/part-sparsestreams.txt:
3426         Update sparse streams doc, hopefully for greater clarity
3427
3428 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
3429
3430         * docs/design/part-events.txt:
3431         Remove mention of FILLER events.
3432         Add DRAIN event.
3433
3434         * docs/design/part-sparsestreams.txt:
3435         Write some things about using NEWSEGMENT to keep sparse streams
3436         flowing.
3437
3438 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
3439
3440         * gst/gstbin.c: (gst_bin_dispose):
3441           Guard gst_object_unref call against a NULL object (dispose
3442           can theoretically be called multiple times).
3443           
3444 2006-01-18  Wim Taymans  <wim@fluendo.com>
3445
3446         * gst/gstbin.c: (gst_bin_element_set_state):
3447         * gst/gstclock.c: (gst_clock_id_wait):
3448         Added some more debug info.
3449
3450         * libs/gst/base/gstadapter.c:
3451         Added more docs.
3452
3453         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3454         (gst_base_sink_do_sync), (gst_base_sink_chain):
3455         Added some comments.
3456
3457 2006-01-18  Wim Taymans  <wim@fluendo.com>
3458
3459         * tests/check/Makefile.am:
3460         * tests/check/elements/fakesink.c: (chain_async_buffer),
3461         (chain_async), (chain_async_return), (GST_START_TEST),
3462         (fakesink_suite), (main):
3463         Added fakesink test that checks prerolling and clipping
3464         behaviour.
3465
3466         * tests/check/gst/gstutils.c: (GST_START_TEST):
3467         Make check run faster so that buildbots don't timeout.
3468
3469 2006-01-18  Wim Taymans  <wim@fluendo.com>
3470
3471         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3472         (gst_base_sink_do_sync):
3473         Some cleanups.
3474         When the sink finishes blocking on the preroll buffer, it can
3475         immediatly render it instead of rendering when the next buffer
3476         arrives.
3477
3478 2006-01-18  Wim Taymans  <wim@fluendo.com>
3479
3480         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3481         (gst_base_sink_get_property), (gst_base_sink_do_sync),
3482         (gst_base_sink_chain):
3483         Small cleanups.
3484         GST_ELEMENT_CLOCK and sync are protected with LOCK.
3485         Don't store _last_stop if the buffer is dropped.
3486
3487 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
3488
3489         * plugins/elements/gsttypefindelement.c:
3490         (gst_type_find_element_class_init):
3491           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3492           object method handler that sets the caps on the pad and we want
3493           that to happen before we emit the signal (fixes e.g. feeding a
3494           plain text file to decodebin).
3495
3496 2006-01-18  Christian Schaller  <Christian@fluendo.com>
3497
3498         * gst/gstplugin.c: Add MPL and Proprietary as license options
3499
3500 2006-01-18  Andy Wingo  <wingo@pobox.com>
3501
3502         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3503         symbol was exported before, it appears this was just an oversight.
3504         Fixes #168703.
3505         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3506
3507         * gst/gstindex.c (gst_index_add_associationv): Changed int in
3508         prototype to gint. OK since this prototype was not in the header.
3509
3510 2006-01-17  Andy Wingo  <wingo@pobox.com>
3511
3512         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3513         registry while we remove plugins.
3514
3515         * tools/gst-inspect.c (print_element_info): Don't unref the
3516         factory arg, that should be the responsibility of whatever code
3517         received the ref. Fixes a double-free when called from
3518         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3519         (main): Unref the factory if we have one.
3520         (print_element_list): No change -- relies on the
3521         plugin_feature_list_free to free the list of features.
3522
3523 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
3524
3525         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3526         (gst_buffer_make_metadata_writable):
3527         * gst/gstbuffer.h:
3528         * libs/gst/base/gstbasetransform.c:
3529         (gst_base_transform_prepare_output_buf):
3530         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3531         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3532           Replace gst_buffer_(make|is)_metadata_writable patch now
3533           that the release is out.
3534
3535 2006-01-17  Andy Wingo  <wingo@pobox.com>
3536
3537         * gst/gstregistry.c: Reflow design comment. Update so as to speak
3538         in the present tense without reference to versions.
3539
3540         * gst/gstregistry.c (gst_registry_add_plugin)
3541         (gst_registry_remove_plugin, gst_registry_remove_feature)
3542         (gst_registry_find_feature, gst_registry_get_feature_list)
3543         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3544         (gst_registry_lookup, gst_registry_scan_path)
3545         (_gst_registry_remove_cache_plugins)
3546         (gst_registry_get_feature_list_by_plugin): Add argument
3547         validation.
3548
3549 === release 0.10.2 ===
3550
3551 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
3552
3553         * configure.ac:
3554           releasing 0.10.2, "If man is five"
3555
3556 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3557
3558         * gst/gstbuffer.c:
3559         * gst/gstbuffer.h:
3560         * libs/gst/base/gstbasetransform.c:
3561         (gst_base_transform_prepare_output_buf):
3562         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3563         * tests/check/gst/gstbuffer.c: (gst_test_suite):
3564           Back out patch until after the release.
3565
3566 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3567
3568         * gst/gstminiobject.c:
3569           Spelling fix in docs.
3570         * ChangeLog - remove conflict indicator
3571
3572 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3573
3574         Reviewed By: Andy Wingo
3575
3576         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3577         (gst_buffer_make_metadata_writable):
3578         * gst/gstbuffer.h:
3579           Add gst_buffer_(is|make)_metadata_writable as analogues of
3580           gst_buffer_(is|make)_writable.
3581
3582         * libs/gst/base/gstbasetransform.c:
3583         (gst_base_transform_prepare_output_buf):
3584         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3585           Use name gst_buffer_(is|make)_metadata_writable functions.
3586
3587         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3588           Test gst_buffer_(is|make)_metadata_writable
3589         
3590           (Closes: #324162)
3591
3592 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3593
3594         * docs/manual/Makefile.am:
3595           don't do parallel make
3596         * configure.ac:
3597           AC_SUBST HOST_CPU
3598         * win32/common/config.h.in:
3599           add generations for HOST_CPU and GST_MAJORMINOR
3600         * win32/common/config.h:
3601           commit generated result
3602
3603 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
3604
3605         * docs/manual/appendix-integration.xml:
3606           Update GNOME integration section to use gst_init_get_option_group()
3607           instead of the old popt stuff (#322911). Also, GNOME applications
3608           should  now use gconf*sink and gconf*src instead of the old gconf
3609           helper lib we had.
3610
3611 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
3612
3613
3614         * docs/gst/gstreamer-docs.sgml:
3615         * docs/gst/gstreamer-sections.txt:
3616         * docs/libs/gstreamer-libs-sections.txt:
3617           add new API entries to the docs
3618         * libs/gst/controller/Makefile.am:
3619         * libs/gst/controller/gstcontroller.c:
3620         * libs/gst/controller/gstcontroller.h:
3621         * libs/gst/controller/gstcontrollerprivate.h:
3622         * libs/gst/controller/gsthelper.c:
3623         * libs/gst/controller/gstinterpolation.c:
3624           move private structs to private header
3625         * po/README:
3626           gstreamer-0.7 -> gstreamer-0.10
3627         * tests/check/libs/struct_i386.h:
3628           remove private structs
3629
3630 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3631
3632         * plugins/indexers/Makefile.am:
3633           Fixes as part of #317048
3634
3635 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3636
3637         * plugins/indexers/Makefile.am:
3638           fix #316086 - compilation when mmap is missing
3639
3640 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
3641
3642         * libs/gst/base/gstbasesink.c:
3643           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
3644           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3645         * win32/common/config.h:
3646           added some defines GST_MAJORMINOR and HOST_CPU
3647         * win32/common/libgstbase.def:
3648         * win32/common/libgstreamer.def:
3649           added some exported functions.
3650
3651 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
3652
3653         * libs/gst/controller/gstcontroller.c:
3654         (gst_controlled_property_set_interpolation_mode),
3655         (gst_controlled_property_new):
3656         * libs/gst/controller/gstcontroller.h:
3657         * libs/gst/controller/gstinterpolation.c:
3658         (interpolate_none_get_string_value_array):
3659           make G_TYPE_STRING controlable
3660
3661 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
3662
3663         * tools/README:
3664         * tools/gst-feedback.1.in:
3665         * tools/gst-inspect.1.in:
3666         * tools/gst-launch.1.in:
3667         * tools/gst-md5sum.1.in:
3668         * tools/gst-typefind.1.in:
3669         * tools/gst-xmlinspect.1.in:
3670         * tools/gst-xmllaunch.1.in:
3671           cleanup man-pages, remove reference to gst-register, document env-vars
3672
3673 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
3674
3675         * gst/gstbuffer.c: (gst_buffer_span):
3676           gst_buffer_span should copy the timestamp of the first buffer
3677           if they were both originally overlapping subbuffers of the 
3678           same parent, using the same logic as the 'slow copy' case.
3679
3680 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
3681
3682         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3683           Need to awaken ALL the pads when we pop a buffer, otherwise
3684           collectpads only works when there is 2 input streams.
3685
3686 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
3687
3688         * docs/random/ensonic/media-device-daemon.txt:
3689           more ideas (dbus)
3690         * gst/gstbuffer.c:
3691           fix doc example, add clarification
3692         * tools/gst-launch.1.in:
3693           add initial info about GST_PLUGIN_PATH, needs more work
3694
3695 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3696
3697         * docs/manual/basics-bins.xml:
3698         * docs/manual/basics-elements.xml:
3699         * docs/manual/intro-basics.xml:
3700           Some more minor docs additions and updates.
3701
3702 2006-01-11  Wim Taymans  <wim@fluendo.com>
3703
3704         * docs/manual/basics-bins.xml:
3705         * docs/manual/basics-elements.xml:
3706         Some small fixes as pointed out by Ser-ver on IRC.
3707
3708 2006-01-10  Edward Hervey  <edward@fluendo.com>
3709
3710         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3711         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3712         the single-segment mode.
3713
3714 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
3715
3716         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3717
3718         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3719         (gst_base_src_perform_seek), (gst_base_src_send_event),
3720         (gst_base_src_set_property), (gst_base_src_get_property),
3721         (gst_base_src_loop), (gst_base_src_start),
3722         (gst_base_src_activate_push):
3723         * libs/gst/base/gstbasesrc.h:
3724           Name (private) union; makes Sun's Forte compiler happy (#324900).
3725
3726 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3727
3728         * README:
3729           gst-register is gone.
3730
3731 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3732
3733         * gst/gstvalue.c: (_gst_value_initialize):
3734           make the G_TYPE_DATE instantiation work if debug is disabled
3735
3736 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
3737
3738         * gst/gstmessage.c: (gst_message_parse_tag),
3739         (gst_message_parse_error), (gst_message_parse_warning):
3740           Don't crash when return location for error/warning debug
3741           string is NULL; add fact that return locations can be
3742           NULL to docs where appropriate.
3743
3744 2006-01-05  Wim Taymans  <wim@fluendo.com>
3745
3746         * gst/gstplugin.c: (gst_plugin_load_file):
3747         Replace strdup by g_strdup.
3748
3749 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3750
3751         * docs/pwg/advanced-types.xml:
3752           fix doc borkage
3753
3754 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3755
3756         submitted by: Abel Cheung
3757
3758         * po/LINGUAS:
3759         * po/zh_TW.po:
3760           Added Chinese (traditional) translation
3761
3762 2006-01-04  Wim Taymans  <wim@fluendo.com>
3763
3764         * docs/manual/basics-pads.xml:
3765         * docs/plugins/Makefile.am:
3766         * docs/plugins/gstreamer-plugins-docs.sgml:
3767         * docs/plugins/gstreamer-plugins-sections.txt:
3768         * docs/pwg/advanced-clock.xml:
3769         * docs/pwg/advanced-scheduling.xml:
3770         * docs/pwg/advanced-types.xml:
3771         * plugins/elements/gstfdsink.c:
3772         * plugins/elements/gstfdsrc.c:
3773         * plugins/elements/gstfdsrc.h:
3774         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3775         * plugins/elements/gstidentity.h:
3776         * plugins/elements/gstqueue.h:
3777         * plugins/elements/gsttee.c:
3778         * plugins/elements/gsttee.h:
3779         * plugins/elements/gsttypefindelement.c:
3780         (gst_type_find_element_class_init):
3781         * plugins/elements/gsttypefindelement.h:
3782         Small updates to various docs.
3783         Added core plugins to docs.
3784
3785 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3786
3787         * common/gst.supp:
3788           add a suppression for liboil's uninitialized variable
3789
3790 2006-01-02  James Livingston  <jrl at ids dot org dot au>
3791
3792         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3793
3794         * gst/gstutils.h:
3795           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
3796           macro, so that gcc doesn't complain if the -Wmissing-prototypes
3797           compiler switch is being used (#325429).
3798
3799 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
3800
3801         * gst/gstbin.c: (gst_bin_query):
3802           Disable duration query caching in bins until it gets
3803           fixed (see #324807).
3804
3805 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
3806
3807         * tools/gst-inspect.c: (print_element_properties_info):
3808           Handle properties of POINTER and BOXED type.
3809
3810 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
3811
3812         * gst/gst.c: (init_post):
3813           Init tags stuff and some other things before loading
3814           any static plugins (there may be other static plugins
3815           than just the GStreamer ones, and they may want to
3816           register their own tags or formats or whatever, and
3817           preferably without segfaulting).
3818
3819         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3820           Print at least a warning in the debug logs if we drop a
3821           query just because we don't know how to adjust the value
3822           in the particular format.
3823
3824 2005-12-24  David Schleef  <ds@schleef.org>
3825
3826         * tools/gstreamer-completion:
3827           Replacement for gst-complete written in sh and sed.  Only
3828           completes names of features, but that's 90% of what I want
3829           it for.  Properties are not available in registry.xml.  (Maybe
3830           they should be...)
3831
3832 === release 0.10.1 ===
3833
3834 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
3835
3836         * configure.ac:
3837           releasing 0.10.1, "Nollaig chridheil"
3838
3839 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
3840
3841         * docs/faq/cvs.xml:
3842           Add missing quote, should be make ERROR_CFLAGS="".
3843
3844 2005-12-20  Wim Taymans  <wim@fluendo.com>
3845
3846         * docs/design/part-trickmodes.txt:
3847         More documentation on trickmodes.
3848
3849 2005-12-20  Edward Hervey  <edward@fluendo.com>
3850
3851         * gst/gstcaps.c: (gst_static_caps_get_type):
3852         * gst/gstcaps.h:
3853           API addition: GST_TYPE_STATIC_CAPS
3854         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
3855         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
3856         * gst/gstpadtemplate.h:
3857           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
3858         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
3859         bindings.
3860
3861 2005-12-18  Wim Taymans  <wim@fluendo.com>
3862
3863         * libs/gst/base/gstadapter.c:
3864         * libs/gst/base/gstadapter.h:
3865         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3866         (gst_base_sink_get_position):
3867         * libs/gst/base/gstbasesink.h:
3868         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3869         (gst_base_src_default_query), (gst_base_src_default_do_seek),
3870         (gst_base_src_do_seek), (gst_base_src_perform_seek),
3871         (gst_base_src_send_event), (gst_base_src_update_length),
3872         (gst_base_src_get_range), (gst_base_src_loop),
3873         (gst_base_src_start):
3874         * libs/gst/base/gstbasesrc.h:
3875         * libs/gst/base/gstbasetransform.h:
3876         * libs/gst/base/gstcollectpads.h:
3877         * libs/gst/base/gstpushsrc.c:
3878         * libs/gst/base/gstpushsrc.h:
3879         * libs/gst/dataprotocol/dataprotocol.c:
3880         * libs/gst/dataprotocol/dataprotocol.h:
3881         * libs/gst/net/gstnetclientclock.h:
3882         * libs/gst/net/gstnettimeprovider.h:
3883         Documentation updates.
3884
3885 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3886
3887         * docs/manual/basics-helloworld.xml:
3888           Remove superfluous closing bracket in helloworld example.
3889
3890 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3891
3892         * tools/gst-launch.1.in:
3893           Update gst-launch man page; add a section with useful
3894           environment variables. Fixes #323882.
3895
3896 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
3897
3898         * gst/gst.c:
3899         * gst/gst_private.h:
3900           change some char* into char[]
3901
3902 2005-12-16  Wim Taymans  <wim@fluendo.com>
3903
3904         * gst/gstregistryxml.c: (load_feature):
3905         Cleanups.
3906         Don't use g_object_unref on GstObjects so that we avoid
3907         leaks on unsafe glibs.
3908
3909 2005-12-16  Wim Taymans  <wim@fluendo.com>
3910
3911         * gst/gstbin.c: (gst_bin_recalc_state):
3912         Small doc updates.
3913
3914 2005-12-16  Wim Taymans  <wim@fluendo.com>
3915
3916         * common/check.mak:
3917         Added make forever target for check.
3918
3919 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3920
3921         * gst/gst.c: (init_post):
3922           make the registry cache file HOST_CPU-dependent
3923
3924 2005-12-16  Andy Wingo  <wingo@pobox.com>
3925
3926         * plugins/elements/gstbufferstore.c
3927         (gst_buffer_store_cleared_func): Pay attention to g_list_append
3928         return value.
3929
3930         * tests/check/gst/gstobject.c
3931         (test_fake_object_name_threaded_unique): Pay attention to
3932         g_list_sort return value.
3933
3934 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3935
3936         * tools/gst-feedback-m.m:
3937           Update for 0.9/0.10 (fixes #323870).
3938
3939 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
3940
3941         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
3942           Fix lcopy for mini objects, the mini object needs to be ref'ed.
3943           
3944         * tests/check/gst/gstminiobject.c: (my_foo_init),
3945         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
3946         (test_value_collection), (gst_mini_object_suite):
3947           Add test to ensure refcounts end up as expected when passing
3948           GstMiniObjects through g_object_get() and g_object_set().
3949
3950 2005-12-14  Julien MOUTTE  <julien@moutte.net>
3951
3952         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3953         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
3954         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
3955         of collectpads. This version removes a lot of races without
3956         touching API/ABI. Yay !
3957
3958 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
3959
3960         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
3961           Don't allow activation of a srcpad in pull_range if it has no
3962           getrange function.
3963           Change some debug statements to be a little clearer
3964
3965         * plugins/elements/gsttypefindelement.c:
3966         (gst_type_find_handle_src_query):
3967           Check that we have a peer before executing queries thereupon.
3968
3969         * tests/examples/metadata/read-metadata.c: (message_loop):
3970           Use gst_bus_pop instead of gst_bus_poll when we just want it to
3971           immediately return us any available message with 0 timeout.
3972
3973 2005-12-12  Michael Smith  <msmith@fluendo.com>
3974
3975         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3976           Don't unref factories after calling them.
3977         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
3978         * plugins/elements/gsttypefindelement.c:
3979         (gst_type_find_element_chain):
3980           Free lists of factories after using them. Fixing typefinding memory
3981           leaks.
3982
3983 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
3984
3985         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3986         (gst_plugin_feature_load):
3987           more meaningful debug output
3988         * configure.ac:
3989         * tests/Makefile.am:
3990         * tests/old/examples/Makefile.am:
3991           make make distcheck happy again
3992
3993 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3994
3995         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3996           Catch the special case where we are operating chain-based,
3997           but the downstream peer pad has no chain function. Emit a
3998           custom error message in this case instead of letting the
3999           core generate one implying that this is some sort of core
4000           bug. It's not, it just means that whatever got plugged
4001           into the pipeline downstream when we announced the type
4002           can only operate pull-based, while our source can only
4003           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4004           Error string has not been marked for translation yet, as
4005           it probably needs some more work first.
4006
4007         (gst_type_find_element_get_best_possibility):
4008           Add helper function to find the best of all available
4009           found possibilities that qualify given the min. threshold.
4010
4011         (gst_type_find_element_handle_event):
4012           Fix the case where we get an EOS while still in TYPEFIND
4013           mode (we want to chose the best of all possible types,
4014           not just the first type that happens to be in our unsorted
4015           list of possible types).
4016
4017         (gst_type_find_element_chain):
4018           Make sure we return GST_FLOW_ERROR when we errored out
4019           in stop_typefinding(); also, don't just find the best of
4020           all found type entries and then use the last examined
4021           type entry, but actually use the best entry.
4022
4023 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * tests/examples/typefind/typefind.c: (type_found):
4026         * tests/examples/xml/runxml.c: (xml_loaded):
4027           More gcc4 fixes and a mem leak fix.
4028
4029 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4030
4031         * tests/examples/xml/createxml.c: (object_saved):
4032           gcc 4 fixes
4033
4034 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4035
4036         * tests/Makefile.am:
4037           enable the examples even more
4038
4039 2005-12-12  Andy Wingo  <wingo@pobox.com>
4040
4041         * libs/gst/net/gstnettimeprovider.c
4042         (gst_net_time_provider_class_init, gst_net_time_provider_init)
4043         (gst_net_time_provider_set_property)
4044         (gst_net_time_provider_get_property):
4045         API addition: Export "active" as a GObject property.
4046         (gst_net_time_provider_thread): Only respond to time queries if
4047         the time provider is active.
4048
4049         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4050         NetTimeProvider, preserving binary compat.
4051
4052 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4053
4054         * tests/examples/controller/audio-example.c: (main):
4055         * tests/examples/launch/Makefile.am:
4056           convert comments again
4057
4058 2005-12-12  Wim Taymans  <wim@fluendo.com>
4059
4060         * libs/gst/base/gstpushsrc.c:
4061         Fix typo.
4062
4063 2005-12-12  Wim Taymans  <wim@fluendo.com>
4064
4065         * docs/libs/gstreamer-libs-sections.txt:
4066         Added new symbol to docs.
4067
4068         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4069         (gst_base_src_init), (gst_base_src_set_format),
4070         (gst_base_src_default_query), (gst_base_src_query),
4071         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4072         (gst_base_src_perform_seek), (gst_base_src_send_event),
4073         (gst_base_src_default_event), (gst_base_src_event_handler),
4074         (gst_base_src_set_property), (gst_base_src_get_property),
4075         (gst_base_src_wait), (gst_base_src_do_sync),
4076         (gst_base_src_update_length), (gst_base_src_get_range),
4077         (gst_base_src_check_get_range), (gst_base_src_loop),
4078         (gst_base_src_default_negotiate), (gst_base_src_start),
4079         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4080         (gst_base_src_change_state):
4081         * libs/gst/base/gstbasesrc.h:
4082         Implement seeking to other formats than _BYTES.
4083         Implement more seeking methods correctly.
4084         Doc updates.
4085         Added query vmethod.
4086         Added do_seek vmethod to make life easier for subclasses
4087         when seeking.
4088         API addition: gst_base_src_set_format()
4089
4090 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4091
4092         * tests/examples/Makefile.am:
4093           added that too
4094
4095 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4096
4097         * configure.ac:
4098         * docs/random/ensonic/media-device-daemon.txt:
4099         * tests/examples/controller/.cvsignore:
4100         * tests/examples/controller/Makefile.am:
4101         * tests/examples/controller/audio-example.c: (main):
4102         * tests/examples/helloworld/.cvsignore:
4103         * tests/examples/helloworld/Makefile.am:
4104         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4105         * tests/examples/launch/.cvsignore:
4106         * tests/examples/launch/Makefile.am:
4107         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4108         * tests/examples/metadata/.cvsignore:
4109         * tests/examples/metadata/Makefile.am:
4110         * tests/examples/metadata/read-metadata.c: (message_loop),
4111         (make_pipeline), (print_tag), (main):
4112         * tests/examples/queue/.cvsignore:
4113         * tests/examples/queue/Makefile.am:
4114         * tests/examples/queue/queue.c: (event_loop), (main):
4115         * tests/examples/typefind/.cvsignore:
4116         * tests/examples/typefind/Makefile.am:
4117         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4118         (main):
4119         * tests/examples/xml/.cvsignore:
4120         * tests/examples/xml/Makefile.am:
4121         * tests/examples/xml/createxml.c: (object_saved), (main):
4122         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4123         * tests/old/examples/Makefile.am:
4124         * tests/old/examples/TODO:
4125         * tests/old/examples/controller/.cvsignore:
4126         * tests/old/examples/controller/Makefile.am:
4127         * tests/old/examples/controller/audio-example.c:
4128         * tests/old/examples/helloworld/.cvsignore:
4129         * tests/old/examples/helloworld/Makefile.am:
4130         * tests/old/examples/helloworld/helloworld.c:
4131         * tests/old/examples/launch/.cvsignore:
4132         * tests/old/examples/launch/Makefile.am:
4133         * tests/old/examples/launch/mp3parselaunch.c:
4134         * tests/old/examples/launch/mp3play:
4135         * tests/old/examples/manual/Makefile.am:
4136         * tests/old/examples/metadata/Makefile.am:
4137         * tests/old/examples/metadata/read-metadata.c:
4138         * tests/old/examples/queue/.cvsignore:
4139         * tests/old/examples/queue/Makefile.am:
4140         * tests/old/examples/queue/queue.c:
4141         * tests/old/examples/typefind/.cvsignore:
4142         * tests/old/examples/typefind/Makefile.am:
4143         * tests/old/examples/typefind/typefind.c:
4144         * tests/old/examples/xml/.cvsignore:
4145         * tests/old/examples/xml/Makefile.am:
4146         * tests/old/examples/xml/createxml.c:
4147         * tests/old/examples/xml/runxml.c:
4148           applied some simple fixing to some examples
4149           re-enabled the working examples
4150
4151 2005-12-12  Wim Taymans  <wim@fluendo.com>
4152
4153         * gst/gstsegment.c: (gst_segment_init),
4154         (gst_segment_set_last_stop), (gst_segment_set_seek),
4155         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4156         (gst_segment_to_running_time):
4157         Added more documentation.
4158         Make sure the last_pos value is updated properly.
4159         Make sure to_stream_time and to_running_time don't
4160         operate on wrong values.
4161
4162         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4163         Update check.
4164
4165 2005-12-12  Michael Smith  <msmith@fluendo.com>
4166
4167         * plugins/elements/gsttypefindelement.c: (free_entry),
4168         (gst_type_find_element_chain):
4169           Now that we're not leaking factories, make sure we keep references
4170           to them while we need them.
4171
4172 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4173
4174         * tests/check/gst/struct_i386.h:
4175           ifdef out the XML structs
4176
4177 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4178
4179         * gst/gstvalue.c: (gst_value_transform_double_fraction):
4180           floor is not needed, F is always positive; this obviates the
4181           need for adding -lm when building without libxml
4182
4183 2005-12-12  Wim Taymans  <wim@fluendo.com>
4184
4185         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4186         Take current playback rate into account when reporting
4187         the position.
4188
4189 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4190
4191         * docs/manual/mime-world.fig:
4192           Let's try this again, this time with a file that is
4193           actually in XFig format.
4194
4195 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4196
4197         * docs/manual/mime-world.fig:
4198           Add audioconvert element to diagram so that it
4199           matches the text and the code (fixes #319526).
4200
4201 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4202
4203         * docs/pwg/building-chainfn.xml:
4204         * docs/pwg/building-pads.xml:
4205         * docs/pwg/building-state.xml:
4206         * docs/pwg/other-source.xml:
4207           Update state change stuff for 0.10 (fixes #322969).
4208
4209 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         * docs/manual/advanced-dataaccess.xml:
4212         * docs/manual/appendix-checklist.xml:
4213         * docs/manual/appendix-programs.xml:
4214         * docs/manual/basics-pads.xml:
4215         * docs/manual/highlevel-components.xml:
4216         * docs/manual/manual.xml:
4217           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4218           add converters in front of pipelines; remove curly
4219           brackets for threads stuff, they no longer exist; use
4220           GST_TYPE_FRACTION for framerates; update some pieces of
4221           code to 0.10, but there's plenty more to do.
4222
4223         * docs/manual/appendix-porting.xml:
4224           Expand on asynchroneous state changes; s/0.9/0.10/;
4225           mention disappearance of gst_init_get_popt_table()
4226           (fixes #322916).
4227
4228 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4229
4230         * docs/faq/using.xml:
4231           Spider no longer exists, and neither does gst-launch-ext.
4232           Update examples to use decodebin and playbin and put
4233           converters in front of sinks (fixes #323726).
4234
4235 2005-12-09  Michael Smith  <msmith@fluendo.com>
4236
4237         * plugins/elements/gsttypefindelement.c: (find_peek),
4238         (gst_type_find_element_chain):
4239           Fix leaking element factories in typefinding.
4240           Fix problem where we forgot about a probable type on non-seekable
4241           files, and thus later mis-typefound it.
4242
4243 2005-12-09  Michael Smith  <msmith@fluendo.com>
4244
4245         * common/m4/gst-makecontext.m4:
4246         * common/m4/gst-mcsc.m4:
4247         * configure.ac:
4248         * win32/common/config.h:
4249         * win32/common/config.h.in:
4250           Remove makecontext stuff; not used in 0.10 and causes problems on
4251           HPUX according to bug #322441
4252
4253 2005-12-07  Wim Taymans  <wim@fluendo.com>
4254
4255         * tests/check/Makefile.am:
4256         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4257         (main):
4258         * tests/check/libs/struct_i386.h:
4259         Added ABI check for libs
4260
4261 2005-12-07  Wim Taymans  <wim@fluendo.com>
4262
4263         * tests/check/Makefile.am:
4264         And add the struct_i386.h to dist.
4265
4266 2005-12-07  Wim Taymans  <wim@fluendo.com>
4267
4268         * tests/check/Makefile.am:
4269         * tests/check/gst/.cvsignore:
4270         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4271         (main):
4272         * tests/check/gst/struct_i386.h:
4273         Added check for ABI compatibility.
4274
4275 2005-12-07  Wim Taymans  <wim@fluendo.com>
4276
4277         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4278         (gst_fake_src_get_times), (gst_fake_src_create):
4279         Fix broken sync option, fixes #323259
4280
4281 2005-12-07  Wim Taymans  <wim@fluendo.com>
4282
4283         * gst/gstbuffer.c:
4284         Small docs update.
4285
4286         * gst/gstcaps.c: (gst_caps_is_equal):
4287         Don't assert on NULL <--> X. Fixes #323260
4288
4289         * gst/gstminiobject.c: (gst_mini_object_replace):
4290         If we're doing atomic operations, we might just as well use
4291         the proper way to get an atomic pointer.
4292
4293         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4294         Clean up debugging.
4295
4296 2005-12-07  Michael Smith  <msmith@fluendo.com>
4297
4298         * gst/parse/grammar.y:
4299           Remove handling of { } for threads.
4300
4301 2005-12-06  David Schleef  <ds@schleef.org>
4302
4303         * libs/gst/base/gstbasetransform.c: speling fix.
4304
4305 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4306
4307         * docs/libs/tmpl/gstdataprotocol.sgml:
4308         * docs/random/omega/testing/gstobject.c:
4309         * gst/gst.c:
4310         * gst/gstclock.c:
4311         * gst/gstelement.c:
4312         * gst/gstelementfactory.c:
4313         * gst/gsterror.c:
4314         * gst/gstevent.c:
4315         * gst/gstghostpad.c:
4316         * gst/gstinfo.c:
4317         * gst/gstpadtemplate.c:
4318         * gst/gstregistryxml.c:
4319         * gst/gsttaglist.c:
4320         * gst/gsttagsetter.c:
4321         * gst/gsttypefind.c:
4322         * gst/gstvalue.c:
4323         * libs/gst/base/gstbasesrc.c:
4324         * libs/gst/net/gstnetclientclock.c:
4325         * libs/gst/net/gstnettimeprovider.c:
4326         * plugins/elements/gstfakesrc.c:
4327         * plugins/elements/gstfdsrc.c:
4328         * plugins/elements/gstfilesrc.c:
4329         * plugins/elements/gstidentity.c:
4330         * plugins/elements/gstqueue.c:
4331         * plugins/elements/gsttypefindelement.c:
4332         * plugins/indexers/gstfileindex.c:
4333         * plugins/indexers/gstmemindex.c:
4334         * tests/check/gst/gsttag.c:
4335         * tests/old/examples/cutter/cutter.c:
4336         * tests/old/examples/mixer/mixer.c:
4337         * tests/old/examples/xml/runxml.c: (main):
4338         * tests/old/testsuite/caps/normalisation.c:
4339         * tests/old/testsuite/debug/global.c:
4340         * tests/old/testsuite/parse/parse1.c:
4341         * tools/gst-xmlinspect.c:
4342         * win32/common/dirent.c:
4343           expand tabs
4344
4345 === release 0.10.0 ===
4346
4347 2005-12-05   <thomas (at) apestaart (dot) org>
4348
4349         * configure.ac:
4350           releasing 0.10.0, "Maroilles"
4351
4352 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4353
4354         submitted by: Funda Wang <fundawang@linux.net.cn>
4355
4356         * po/LINGUAS:
4357         * po/zh_CN.po:
4358           added Chinese (Traditional) translation
4359
4360 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4361
4362         * docs/gst/gstreamer-sections.txt:
4363         * docs/libs/tmpl/gstdataprotocol.sgml:
4364         * docs/random/thomasvs/TODO:
4365         * gst/gstutils.c:
4366         * gst/gstutils.h:
4367           fix docs
4368
4369 2005-12-05  Andy Wingo  <wingo@pobox.com>
4370
4371         patch by: Wim Taymans <wim@fluendo.com>
4372
4373         * libs/gst/base/gstbasetransform.c
4374         (gst_base_transform_prepare_output_buf)
4375         (gst_base_transform_buffer_alloc):
4376         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4377         alloc_buffer_and_set_caps.
4378
4379         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4380         set_caps on the source pad.
4381         (gst_pad_alloc_buffer_and_set_caps): New function, does what
4382         alloc_buffer used to do. Fixes #322874.
4383
4384         * docs/gst/gstreamer-sections.txt: 
4385         * docs/design/part-negotiation.txt: 
4386         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4387         changes.
4388
4389 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4390
4391         patch by: Sebastien Moutte
4392
4393         * win32/MANIFEST:
4394         * win32/common/config.h.in:
4395         * win32/vs6/libgstcontroller.dsp:
4396           win32 build fixes
4397
4398 2005-12-05  Wim Taymans  <wim@fluendo.com>
4399
4400         * gst/gstcaps.c: (gst_caps_is_equal):
4401         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4402         (gst_fake_src_create):
4403         Back out previous code changes, leave doc updates, file bugs 
4404         instead. 
4405
4406 2005-12-05  Wim Taymans  <wim@fluendo.com>
4407
4408         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4409         (gst_fake_src_get_times), (gst_fake_src_create):
4410         * plugins/elements/gstfakesrc.h:
4411         Fix broken sync code.
4412
4413 2005-12-05  Wim Taymans  <wim@fluendo.com>
4414
4415         * gst/gstcaps.c: (gst_caps_is_equal):
4416         Comparing NULL against !NULL yields different caps, not a
4417         failure.
4418
4419 2005-12-05  Wim Taymans  <wim@fluendo.com>
4420
4421         * gst/gstpipeline.c:
4422         Fix small typo in docs.
4423
4424 2005-12-05  Andy Wingo  <wingo@pobox.com>
4425
4426         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
4427
4428         * gst/gst.c (init_post): remove hard-coded 0.9 location for
4429         registries/plugins with a MAJORMINOR one.
4430         (plugin_desc): Rename library from gstcoreleements to
4431         staticelements. Fixes #323222.
4432
4433 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
4434
4435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4436           Change debug category to 'collectpads' from 'collect_pads'
4437           (fixes #323250).
4438
4439 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4440
4441         patch by: Sebastien Moutte
4442
4443         * libs/gst/controller/gstinterpolation.c:
4444           use convert function for uint64/double
4445         * win32/vs6/libgstcontroller.dsp:
4446           link to GLib
4447
4448 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4449
4450         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4451         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4452         * gst/gstutils.h:
4453         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4454           add tests that seem to show that the guint64/gdouble conversions
4455           are correct.
4456
4457 2005-12-02  Wim Taymans  <wim@fluendo.com>
4458
4459         * gst/gstregistry.c: (gst_registry_add_path):
4460         * gst/gstregistry.h:
4461         * gst/gstregistryxml.c:
4462         Fix docs again.
4463
4464 2005-12-02  Wim Taymans  <wim@fluendo.com>
4465
4466         * gst/gstutils.c: (gst_util_uint64_scale_int64),
4467         (gst_util_uint64_scale_int):
4468         Small cleanup.
4469
4470         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4471         Add debug log line.
4472
4473         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4474         Add FIXME.
4475
4476 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4477
4478         * win32/MANIFEST:
4479         * win32/common/config.h:
4480         * win32/vs6/gstreamer.dsw:
4481         * win32/vs6/libgstcoreelements.dsp:
4482         * win32/vs6/libgstelements.dsp:
4483           renamed core elements plugin
4484
4485 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4486
4487         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4488         (get_candidates):
4489           do piece-wise major/minor comparison so 0.9 < 0.10
4490           also allow .exe extensions for tools
4491
4492 2005-12-02  Michael Smith  <msmith@fluendo.com>
4493
4494         * gst/gst.c:
4495           Escape a % to make gtkdoc happier; bug 322958.
4496
4497 === release 0.9.7 ===
4498
4499 2005-12-01   <thomas (at) apestaart (dot) org>
4500
4501         * configure.ac:
4502           releasing 0.9.7, "My Dog Has No Nose"
4503
4504 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4505
4506         * common/gst-xmlinspect.py:
4507         * configure.ac:
4508         * docs/libs/tmpl/gstdataprotocol.sgml:
4509         * docs/random/release:
4510         * po/af.po:
4511         * po/az.po:
4512         * po/bg.po:
4513         * po/ca.po:
4514         * po/cs.po:
4515         * po/de.po:
4516         * po/en_GB.po:
4517         * po/fr.po:
4518         * po/it.po:
4519         * po/nb.po:
4520         * po/nl.po:
4521         * po/ru.po:
4522         * po/sq.po:
4523         * po/sr.po:
4524         * po/sv.po:
4525         * po/tr.po:
4526         * po/uk.po:
4527         * po/vi.po:
4528         * win32/common/config.h:
4529         * win32/common/config.h.in:
4530         * win32/vs6/gst_inspect.dsp:
4531         * win32/vs6/gst_launch.dsp:
4532         * win32/vs6/libgstbase.dsp:
4533         * win32/vs6/libgstelements.dsp:
4534         * win32/vs6/libgstreamer.dsp:
4535         * win32/vs7/GStreamer.vcproj:
4536         * win32/vs7/gst-inspect.vcproj:
4537         * win32/vs7/gst-launch.vcproj:
4538         * win32/vs7/libgstbase.vcproj:
4539           bump GST_MAJORMINOR to 0.10
4540           reset libtool version
4541
4542 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4543
4544         * po/LINGUAS:
4545         * po/bg.po:
4546           Added Bulgarian translation by (Alexander Shopov)
4547
4548 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4549
4550         * tests/check/gst/gstplugin.c:
4551           fix test
4552
4553 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4554
4555         * common/gst-xmlinspect.py:
4556         * common/gtk-doc-plugins.mak:
4557         * configure.ac:
4558         * docs/Makefile.am:
4559         * docs/gst/Makefile.am:
4560         * docs/gst/gstreamer-docs.sgml:
4561         * docs/gst/gstreamer-sections.txt:
4562         * docs/gst/gstreamer.types:
4563         * docs/gst/gstreamer.types.in:
4564         * docs/plugins/Makefile.am:
4565         * docs/plugins/gstreamer-plugins-docs.sgml:
4566         * docs/plugins/gstreamer-plugins-sections.txt:
4567         * docs/plugins/gstreamer-plugins.types:
4568         * docs/plugins/inspect.stamp:
4569         * docs/plugins/inspect/plugin-coreelements.xml:
4570         * docs/plugins/inspect/plugin-coreindexers.xml:
4571         * docs/plugins/scanobj-build.stamp:
4572         * gstreamer.spec.in:
4573         * plugins/elements/Makefile.am:
4574         * plugins/elements/gstelements.c:
4575         * plugins/elements/gstfakesink.c:
4576         * plugins/elements/gstfakesrc.c:
4577         * plugins/elements/gstfilesink.c:
4578         * plugins/elements/gstfilesrc.c:
4579         * plugins/elements/gstqueue.c:
4580         * plugins/indexers/Makefile.am:
4581         * plugins/indexers/gstindexers.c:
4582           document core plugins in a separate document just like all the
4583           others
4584           rename these plugins to something starting with core
4585
4586 2005-12-01  Andy Wingo  <wingo@pobox.com>
4587
4588         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4589         padding here before, but it missed the commit.
4590
4591 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4592
4593         * libs/gst/controller/gstinterpolation.c:
4594           whitespace prices have crashed, we should feel free to use some now
4595           use gst_guint64_to_gdouble
4596
4597 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4598
4599         * libs/gst/controller/gstcontroller.c:
4600         * libs/gst/controller/gsthelper.c:
4601         * libs/gst/controller/gstinterpolation.c:
4602         * libs/gst/controller/lib.c:
4603           wrap config.h include
4604
4605 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4606
4607         * docs/gst/gstreamer-sections.txt:
4608           update docs
4609
4610 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4611
4612         * plugins/elements/gstelements.c:
4613         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4614         (gst_fd_sink__class_init), (gst_fd_sink__init),
4615         (gst_fd_sink__chain), (gst_fd_sink__set_property),
4616         (gst_fd_sink__get_property):
4617         * plugins/elements/gstfdsink.h:
4618         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4619         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4620         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4621         (gst_fd_src_unlock), (gst_fd_src_set_property),
4622         (gst_fd_src_get_property), (gst_fd_src_create),
4623         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4624         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4625         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4626         (gst_fd_src_uri_handler_init):
4627         * plugins/elements/gstfdsrc.h:
4628         * plugins/elements/gstqueue.c: (gst_queue_get_type):
4629           more anal cleanup
4630
4631 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4632
4633         * docs/gst/Makefile.am:
4634         * docs/gst/gstreamer.types.in:
4635         * gst/Makefile.am:
4636           fix the docs build
4637
4638 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4639
4640         * configure.ac:
4641         * gst/Makefile.am:
4642         * gst/gst.c:
4643         * gst/gstplugin.h:
4644         * gst/gstregistry.h:
4645         * tests/benchmarks/complexity.c:
4646         * tests/benchmarks/mass-elements.c:
4647         * tests/check/Makefile.am:
4648         * tools/Makefile.am:
4649         * tools/gst-inspect.c:
4650         * tools/gst-xmlinspect.c:
4651           various fixes to make
4652           --disable-nls --disable-registry --disable-loadsave
4653           --disable-parse --disable-gst-debug
4654           work and get the core .so down to 360444 bytes after stripping
4655
4656 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4657
4658         * Makefile.am:
4659         * configure.ac:
4660           descend into tests
4661         * docs/random/thomasvs/TODO:
4662         * tests/Makefile.am:
4663         * tests/README:
4664           add a README
4665
4666 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4667
4668         * win32/GStreamer.vcproj:
4669         * win32/MANIFEST:
4670         * win32/Makefile:
4671         * win32/Makefile.inspect:
4672         * win32/Makefile.launch:
4673         * win32/Makefile.register:
4674         * win32/README.txt:
4675         * win32/gst-inspect.vcproj:
4676         * win32/gst-launch.vcproj:
4677         * win32/gst-register.vcproj:
4678         * win32/gstelements.vcproj:
4679         * win32/gstgetbits.def:
4680         * win32/gstgetbits.vcproj:
4681         * win32/gstreamer-dbg.def:
4682         * win32/gstreamer.def:
4683         * win32/libgstbase.def:
4684         * win32/libgstbase.vcproj:
4685         * win32/link_oldruntime.c:
4686         * win32/mman.c:
4687         * win32/mman.h:
4688         * win32/mman.inl:
4689         * win32/msvc71.sln:
4690           move even more stuff, win32/ is nice and clean now
4691
4692 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4693
4694         * libs/gst/control/.cvsignore:
4695         * win32/MANIFEST:
4696         * win32/config.h:
4697         * win32/dirent.c:
4698         * win32/dirent.h:
4699         * win32/gstbytestream.def:
4700         * win32/gstbytestream.vcproj:
4701         * win32/gstconfig.h:
4702         * win32/gstenumtypes.c:
4703         * win32/gstenumtypes.h:
4704         * win32/gstoptimalscheduler.vcproj:
4705         * win32/gstversion.h:
4706         * win32/gtchar.h:
4707         * win32/testsuite/bins.vcproj:
4708         * win32/testsuite/bytestream.vcproj:
4709         * win32/testsuite/caps.vcproj:
4710         * win32/testsuite/cleanup.vcproj:
4711         * win32/testsuite/clock.vcproj:
4712         * win32/testsuite/debug.vcproj:
4713         * win32/testsuite/dlopen.vcproj:
4714         * win32/testsuite/dynparams.vcproj:
4715         * win32/testsuite/elements.vcproj:
4716         * win32/testsuite/ghostpads.vcproj:
4717         * win32/testsuite/indexers.vcproj:
4718         * win32/testsuite/negotiation.vcproj:
4719         * win32/testsuite/parse.vcproj:
4720         * win32/testsuite/plugin.vcproj:
4721         * win32/testsuite/refcounting.vcproj:
4722         * win32/testsuite/schedulers.vcproj:
4723         * win32/testsuite/states.vcproj:
4724         * win32/testsuite/tags.vcproj:
4725         * win32/testsuite/threads.vcproj:
4726           remove old win32 stuff that isn't maintained and should be
4727           reorganized
4728
4729 2005-11-30  Andy Wingo  <wingo@pobox.com>
4730
4731         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4732         loading the gst.interfaces python module bork.
4733
4734         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4735         available since GLib 2.2. Fixes #318031.
4736
4737 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4738
4739         * Makefile.am:
4740         * check/.cvsignore:
4741         * check/Makefile.am:
4742         * check/elements/.cvsignore:
4743         * check/elements/fakesrc.c:
4744         * check/elements/fdsrc.c:
4745         * check/elements/identity.c:
4746         * check/generic/.cvsignore:
4747         * check/generic/states.c:
4748         * check/gst-libs/.cvsignore:
4749         * check/gst-libs/controller.c:
4750         * check/gst-libs/gdp.c:
4751         * check/gst/.cvsignore:
4752         * check/gst/capslist.h:
4753         * check/gst/gst.c:
4754         * check/gst/gstbin.c:
4755         * check/gst/gstbuffer.c:
4756         * check/gst/gstbus.c:
4757         * check/gst/gstcaps.c:
4758         * check/gst/gstelement.c:
4759         * check/gst/gstevent.c:
4760         * check/gst/gstghostpad.c:
4761         * check/gst/gstiterator.c:
4762         * check/gst/gstmessage.c:
4763         * check/gst/gstminiobject.c:
4764         * check/gst/gstobject.c:
4765         * check/gst/gstpad.c:
4766         * check/gst/gstpipeline.c:
4767         * check/gst/gstplugin.c:
4768         * check/gst/gstsegment.c:
4769         * check/gst/gststructure.c:
4770         * check/gst/gstsystemclock.c:
4771         * check/gst/gsttag.c:
4772         * check/gst/gstutils.c:
4773         * check/gst/gstvalue.c:
4774         * check/net/.cvsignore:
4775         * check/net/gstnetclientclock.c:
4776         * check/net/gstnettimeprovider.c:
4777         * check/pipelines/.cvsignore:
4778         * check/pipelines/cleanup.c:
4779         * check/pipelines/simple_launch_lines.c:
4780         * check/pipelines/stress.c:
4781         * check/states/.cvsignore:
4782         * check/states/sinks.c:
4783         * configure.ac:
4784         * examples/Makefile.am:
4785         * examples/appreader/.cvsignore:
4786         * examples/appreader/Makefile.am:
4787         * examples/appreader/appreader.c:
4788         * examples/controller/.cvsignore:
4789         * examples/controller/Makefile.am:
4790         * examples/controller/audio-example.c:
4791         * examples/cutter/.cvsignore:
4792         * examples/cutter/Makefile.am:
4793         * examples/cutter/cutter.c:
4794         * examples/cutter/cutter.h:
4795         * examples/events/Makefile.am:
4796         * examples/events/seek.c:
4797         * examples/helloworld/.cvsignore:
4798         * examples/helloworld/Makefile.am:
4799         * examples/helloworld/helloworld.c:
4800         * examples/helloworld2/.cvsignore:
4801         * examples/helloworld2/Makefile.am:
4802         * examples/helloworld2/helloworld2.c:
4803         * examples/launch/.cvsignore:
4804         * examples/launch/Makefile.am:
4805         * examples/launch/mp3parselaunch.c:
4806         * examples/launch/mp3play:
4807         * examples/manual/.cvsignore:
4808         * examples/manual/Makefile.am:
4809         * examples/manual/extract.pl:
4810         * examples/metadata/Makefile.am:
4811         * examples/metadata/read-metadata.c:
4812         * examples/mixer/.cvsignore:
4813         * examples/mixer/Makefile.am:
4814         * examples/mixer/mixer.c:
4815         * examples/mixer/mixer.h:
4816         * examples/pingpong/.cvsignore:
4817         * examples/pingpong/Makefile.am:
4818         * examples/pingpong/pingpong.c:
4819         * examples/plugins/.cvsignore:
4820         * examples/plugins/Makefile.am:
4821         * examples/plugins/example.c:
4822         * examples/plugins/example.h:
4823         * examples/pwg/.cvsignore:
4824         * examples/pwg/Makefile.am:
4825         * examples/pwg/extract.pl:
4826         * examples/queue/.cvsignore:
4827         * examples/queue/Makefile.am:
4828         * examples/queue/queue.c:
4829         * examples/queue2/.cvsignore:
4830         * examples/queue2/Makefile.am:
4831         * examples/queue2/queue2.c:
4832         * examples/queue3/.cvsignore:
4833         * examples/queue3/Makefile.am:
4834         * examples/queue3/queue3.c:
4835         * examples/queue4/.cvsignore:
4836         * examples/queue4/Makefile.am:
4837         * examples/queue4/queue4.c:
4838         * examples/retag/.cvsignore:
4839         * examples/retag/Makefile.am:
4840         * examples/retag/retag.c:
4841         * examples/retag/transcode.c:
4842         * examples/thread/.cvsignore:
4843         * examples/thread/Makefile.am:
4844         * examples/thread/thread.c:
4845         * examples/typefind/.cvsignore:
4846         * examples/typefind/Makefile.am:
4847         * examples/typefind/typefind.c:
4848         * examples/xml/.cvsignore:
4849         * examples/xml/Makefile.am:
4850         * examples/xml/createxml.c:
4851         * examples/xml/runxml.c:
4852         * tests/Makefile.am:
4853         * tests/check/Makefile.am:
4854         * testsuite/.cvsignore:
4855         * testsuite/Makefile.am:
4856         * testsuite/Rules:
4857         * testsuite/caps/.cvsignore:
4858         * testsuite/caps/Makefile.am:
4859         * testsuite/caps/app_fixate.c:
4860         * testsuite/caps/audioscale.c:
4861         * testsuite/caps/caps.c:
4862         * testsuite/caps/caps.h:
4863         * testsuite/caps/caps_strings:
4864         * testsuite/caps/compatibility.c:
4865         * testsuite/caps/deserialize.c:
4866         * testsuite/caps/enumcaps.c:
4867         * testsuite/caps/eratosthenes.c:
4868         * testsuite/caps/filtercaps.c:
4869         * testsuite/caps/fixed.c:
4870         * testsuite/caps/fraction-convert.c:
4871         * testsuite/caps/fraction-multiply-and-zero.c:
4872         * testsuite/caps/intersect2.c:
4873         * testsuite/caps/intersection.c:
4874         * testsuite/caps/normalisation.c:
4875         * testsuite/caps/random.c:
4876         * testsuite/caps/renegotiate.c:
4877         * testsuite/caps/sets.c:
4878         * testsuite/caps/simplify.c:
4879         * testsuite/caps/string-conversions.c:
4880         * testsuite/caps/structure.c:
4881         * testsuite/caps/subtract.c:
4882         * testsuite/caps/union.c:
4883         * testsuite/debug/.cvsignore:
4884         * testsuite/debug/Makefile.am:
4885         * testsuite/debug/category.c:
4886         * testsuite/debug/commandline.c:
4887         * testsuite/debug/global.c:
4888         * testsuite/debug/output.c:
4889         * testsuite/debug/printf_extension.c:
4890         * testsuite/dlopen/.cvsignore:
4891         * testsuite/dlopen/Makefile.am:
4892         * testsuite/dlopen/dlopen_gst.c:
4893         * testsuite/dlopen/loadgst.c:
4894         * testsuite/elements/.cvsignore:
4895         * testsuite/elements/Makefile.am:
4896         * testsuite/elements/gst-inspect-check.in:
4897         * testsuite/elements/struct_i386.h:
4898         * testsuite/elements/struct_size.c:
4899         * testsuite/indexers/.cvsignore:
4900         * testsuite/indexers/Makefile.am:
4901         * testsuite/indexers/cache1.c:
4902         * testsuite/indexers/indexdump.c:
4903         * testsuite/parse/.cvsignore:
4904         * testsuite/parse/Makefile.am:
4905         * testsuite/parse/parse1.c:
4906         * testsuite/parse/parse2.c:
4907         * testsuite/plugin/.cvsignore:
4908         * testsuite/plugin/Makefile.am:
4909         * testsuite/plugin/README:
4910         * testsuite/plugin/dynamic.c:
4911         * testsuite/plugin/linked.c:
4912         * testsuite/plugin/loading.c:
4913         * testsuite/plugin/registry.c:
4914         * testsuite/plugin/static.c:
4915         * testsuite/plugin/static2.c:
4916         * testsuite/plugin/testplugin.c:
4917         * testsuite/plugin/testplugin2.c:
4918         * testsuite/plugin/testplugin2_s.c:
4919         * testsuite/plugin/testplugin_s.c:
4920         * testsuite/refcounting/.cvsignore:
4921         * testsuite/refcounting/Makefile.am:
4922         * testsuite/refcounting/bin.c:
4923         * testsuite/refcounting/element.c:
4924         * testsuite/refcounting/element_pad.c:
4925         * testsuite/refcounting/mainloop.c:
4926         * testsuite/refcounting/mem.c:
4927         * testsuite/refcounting/mem.h:
4928         * testsuite/refcounting/object.c:
4929         * testsuite/refcounting/pad.c:
4930         * testsuite/refcounting/sched.c:
4931         * testsuite/refcounting/thread.c:
4932         * testsuite/states/.cvsignore:
4933         * testsuite/states/Makefile.am:
4934         * testsuite/states/bin.c:
4935         * testsuite/states/locked.c:
4936         * testsuite/states/parent.c:
4937         * testsuite/threads/.cvsignore:
4938         * testsuite/threads/159566.c:
4939         * testsuite/threads/159852.c:
4940         * testsuite/threads/Makefile.am:
4941         * testsuite/threads/queue.c:
4942         * testsuite/threads/signals.c:
4943         * testsuite/threads/staticrec.c:
4944         * testsuite/threads/thread.c:
4945         * testsuite/threads/threadb.c:
4946         * testsuite/threads/threadc.c:
4947         * testsuite/threads/threadd.c:
4948         * testsuite/threads/threade.c:
4949         * testsuite/threads/threadf.c:
4950         * testsuite/threads/threadg.c:
4951         * testsuite/threads/threadh.c:
4952         * testsuite/threads/threadi.c:
4953           move all of these under tests
4954
4955 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4956
4957         * configure.ac:
4958         * tests/Makefile.am:
4959           fix distcheck
4960
4961 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4962
4963         * docs/gst/gstreamer-sections.txt:
4964         * tests/sched/.cvsignore:
4965         * tests/sched/Makefile.am:
4966         * tests/sched/cases/(fs-fs).xml:
4967         * tests/sched/cases/(fs-i-fs).xml:
4968         * tests/sched/cases/(fs-i-i-fs).xml:
4969         * tests/sched/cases/(fs-i-q[i-fs]).xml:
4970         * tests/sched/dynamic-pipeline.c:
4971         * tests/sched/interrupt1.c:
4972         * tests/sched/interrupt2.c:
4973         * tests/sched/interrupt3.c:
4974         * tests/sched/runtestcases:
4975         * tests/sched/runxml.c:
4976         * tests/sched/sched-stress.c:
4977         * tests/sched/sort.c:
4978         * tests/sched/testcases:
4979         * tests/sched/testcases1.tc:
4980         * tests/seeking/.cvsignore:
4981         * tests/seeking/Makefile.am:
4982         * tests/seeking/seeking1.c:
4983         * tests/threadstate/.cvsignore:
4984         * tests/threadstate/Makefile.am:
4985         * tests/threadstate/test1.c:
4986         * tests/threadstate/test2.c:
4987         * tests/threadstate/threadstate1.c:
4988         * tests/threadstate/threadstate2.c:
4989         * tests/threadstate/threadstate3.c:
4990         * tests/threadstate/threadstate4.c:
4991         * tests/threadstate/threadstate5.c:
4992           remove obsolete tests
4993         * configure.ac:
4994         * tests/bench-complexity.scm:
4995         * tests/bench-mass_elements.scm:
4996         * tests/complexity.c:
4997         * tests/complexity.gnuplot:
4998         * tests/instantiate/.cvsignore:
4999         * tests/instantiate/Makefile.am:
5000         * tests/instantiate/caps.c:
5001         * tests/mass_elements.c:
5002         * tests/network-clock-utils.scm:
5003         * tests/network-clock.scm:
5004         * tests/plot-data:
5005         First pass at cleaning up tests/ dir before moving the rest
5006         Combined with CVS surgery
5007
5008 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5009
5010         * po/POTFILES.in:
5011           queue has moved, update
5012
5013 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5014
5015         * docs/gst/gstreamer-sections.txt:
5016           remove double entries from the docs
5017         * gst/gst_private.h:
5018         * gst/gstinfo.c: (_gst_debug_init):
5019           remove the THREAD debug category
5020         * gst/Makefile.am:
5021         * gst/gstqueue.c:
5022         * gst/gstqueue.h:
5023         * docs/gst/gstreamer.types:
5024         * plugins/elements/gstqueue.c: (gst_queue_get_type),
5025         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5026           completely move queue and fix up debugging categories
5027
5028 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5029
5030         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5031           make initialization portable, using LL is not
5032
5033 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5034
5035         * win32/common/gstconfig.h:
5036           add large padding
5037
5038 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5039
5040         * win32/common/libgstreamer.def:
5041           rename symbols; sort base section
5042
5043 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5044
5045         * gst/gstclock.c: (do_linear_regression):
5046           remove crack non-portable handrolled DEBUG macro
5047
5048 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5049
5050         * docs/random/release:
5051           update notes
5052         * win32/common/gstenumtypes.c: (register_gst_object_flags),
5053         (gst_object_flags_get_type), (register_gst_bin_flags),
5054         (gst_bin_flags_get_type), (register_gst_buffer_flag),
5055         (gst_buffer_flag_get_type), (register_gst_bus_flags),
5056         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5057         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5058         (gst_caps_flags_get_type), (register_gst_clock_return),
5059         (gst_clock_return_get_type), (register_gst_clock_entry_type),
5060         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5061         (gst_clock_flags_get_type), (register_gst_state),
5062         (gst_state_get_type), (register_gst_state_change_return),
5063         (gst_state_change_return_get_type), (register_gst_state_change),
5064         (gst_state_change_get_type), (register_gst_element_flags),
5065         (gst_element_flags_get_type), (register_gst_core_error),
5066         (gst_core_error_get_type), (register_gst_library_error),
5067         (gst_library_error_get_type), (register_gst_resource_error),
5068         (gst_resource_error_get_type), (register_gst_stream_error),
5069         (gst_stream_error_get_type), (register_gst_event_type_flags),
5070         (gst_event_type_flags_get_type), (register_gst_event_type),
5071         (gst_event_type_get_type), (register_gst_seek_type),
5072         (gst_seek_type_get_type), (register_gst_seek_flags),
5073         (gst_seek_flags_get_type), (register_gst_format),
5074         (gst_format_get_type), (register_gst_index_certainty),
5075         (gst_index_certainty_get_type), (register_gst_index_entry_type),
5076         (gst_index_entry_type_get_type),
5077         (register_gst_index_lookup_method),
5078         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5079         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5080         (gst_index_resolver_method_get_type), (register_gst_index_flags),
5081         (gst_index_flags_get_type), (register_gst_debug_level),
5082         (gst_debug_level_get_type), (register_gst_debug_color_flags),
5083         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5084         (gst_iterator_result_get_type), (register_gst_iterator_item),
5085         (gst_iterator_item_get_type), (register_gst_message_type),
5086         (gst_message_type_get_type), (register_gst_mini_object_flags),
5087         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5088         (gst_pad_link_return_get_type), (register_gst_flow_return),
5089         (gst_flow_return_get_type), (register_gst_activate_mode),
5090         (gst_activate_mode_get_type), (register_gst_pad_direction),
5091         (gst_pad_direction_get_type), (register_gst_pad_flags),
5092         (gst_pad_flags_get_type), (register_gst_pad_presence),
5093         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5094         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5095         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5096         (gst_plugin_error_get_type), (register_gst_plugin_flags),
5097         (gst_plugin_flags_get_type), (register_gst_rank),
5098         (gst_rank_get_type), (register_gst_query_type),
5099         (gst_query_type_get_type), (register_gst_tag_merge_mode),
5100         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5101         (gst_tag_flag_get_type), (register_gst_task_state),
5102         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5103         (gst_alloc_trace_flags_get_type),
5104         (register_gst_type_find_probability),
5105         (gst_type_find_probability_get_type), (register_gst_uri_type),
5106         (gst_uri_type_get_type), (register_gst_parse_error),
5107         (gst_parse_error_get_type):
5108         * win32/common/gstenumtypes.h:
5109         * win32/common/gstversion.h:
5110           update visual studio generated files
5111
5112 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5113
5114         * win32/vs6/libgstbase.dsp:
5115         * win32/vs6/libgstelements.dsp:
5116           update project files for new locations
5117
5118 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5119
5120         * Makefile.am:
5121           remove some files
5122         * README:
5123           reinstate and update
5124         * DEVEL:
5125         * REQUIREMENTS:
5126           removed
5127         * LICENSE:
5128         * docs/random/LICENSE:
5129           moved to random
5130
5131 2005-11-30  Edward Hervey  <edward@fluendo.com>
5132
5133         * gst/gsttypefind.c: (gst_type_find_register):
5134         * gst/gsttypefind.h:
5135         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5136         (gst_type_find_factory_dispose):
5137         * gst/gsttypefindfactory.h:
5138         Fix memory leak in GstTypeFindFactory.
5139
5140 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5141
5142         * gst/gst.c:
5143         * plugins/elements/Makefile.am:
5144         * plugins/elements/gstelements.c:
5145         * plugins/elements/gstqueue.c:
5146           move queue from core to the elements plugin
5147
5148 2005-11-29  Andy Wingo  <wingo@pobox.com>
5149
5150         * libs/gst/base/gstbasetransform.h: 
5151         * libs/gst/base/gstbasesrc.h: 
5152         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5153
5154         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5155         of pointers by which to pad very extensible base classes (like the
5156         ones in libs/gst/base).
5157
5158 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5159
5160         * docs/gst/gstreamer-docs.sgml:
5161         * docs/gst/gstreamer-sections.txt:
5162         * docs/libs/gstreamer-libs-docs.sgml:
5163         * docs/libs/gstreamer-libs-sections.txt:
5164           moving documentation from core to lib
5165
5166 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5167
5168         * check/Makefile.am:
5169         * configure.ac:
5170         * docs/gst/Makefile.am:
5171         * gst/Makefile.am:
5172         * gst/base/.cvsignore:
5173         * gst/base/Makefile.am:
5174         * gst/base/README:
5175         * gst/base/gstadapter.c:
5176         * gst/base/gstadapter.h:
5177         * gst/base/gstbasesink.c:
5178         * gst/base/gstbasesink.h:
5179         * gst/base/gstbasesrc.c:
5180         * gst/base/gstbasesrc.h:
5181         * gst/base/gstbasetransform.c:
5182         * gst/base/gstbasetransform.h:
5183         * gst/base/gstcollectpads.c:
5184         * gst/base/gstcollectpads.h:
5185         * gst/base/gstpushsrc.c:
5186         * gst/base/gstpushsrc.h:
5187         * gst/base/gsttypefindhelper.c:
5188         * gst/base/gsttypefindhelper.h:
5189         * gst/check/Makefile.am:
5190         * gst/check/gstcheck.c:
5191         * gst/check/gstcheck.h:
5192         * gst/net/Makefile.am:
5193         * gst/net/gstnet.h:
5194         * gst/net/gstnetclientclock.c:
5195         * gst/net/gstnetclientclock.h:
5196         * gst/net/gstnettimepacket.c:
5197         * gst/net/gstnettimepacket.h:
5198         * gst/net/gstnettimeprovider.c:
5199         * gst/net/gstnettimeprovider.h:
5200         * libs/gst/Makefile.am:
5201         * libs/gst/base/Makefile.am:
5202         * libs/gst/base/gstbasetransform.c:
5203         * libs/gst/check/Makefile.am:
5204         * plugins/elements/Makefile.am:
5205         * po/POTFILES.in:
5206           CVS surgery + support to move base, check, and net out of gst
5207           and into libs/gst
5208
5209 2005-11-29  Andy Wingo  <wingo@pobox.com>
5210
5211         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5212
5213         * gst/gststructure.h (struct _GstStructure): Only one pointer of
5214         padding.
5215
5216         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5217
5218         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5219
5220         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5221
5222         * gst/gstobject.h: (struct _GstObject): Only one pointer of
5223         padding; reduces object size by about 30%. We don't expect
5224         anything else to go into gstobject.
5225
5226         * gst/gstminiobject.h (struct _GstMiniObject)
5227         (struct _GstMiniObjectClass): Only one pointer of padding; the
5228         payload is only a pointer and two ints anyway. For the class there
5229         are only two methods as well.
5230         
5231         * gst/gstelement.h (struct _GstElementClass): Removed
5232         the state_changed signal callback, it is not used.
5233
5234 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5235
5236         * docs/gst/gstreamer.types:
5237           fix includes, though they are a little dinky
5238
5239 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5240
5241         * check/Makefile.am:
5242           look in the right place for elements, a lot more chance of
5243           success
5244         * gst/Makefile.am:
5245           remove indexers and elements subdirs
5246         * plugins/Makefile.am:
5247           make indexers conditional
5248
5249 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5250
5251         * Makefile.am:
5252         * configure.ac:
5253         * plugins/elements/Makefile.am:
5254         * plugins/elements/gstcapsfilter.c:
5255         * plugins/elements/gstfilesink.c:
5256         * plugins/elements/gstfilesrc.c:
5257         * plugins/elements/gstidentity.c:
5258         * plugins/indexers/Makefile.am:
5259           do CVS surgery and related build fixery to move elements
5260           and indexers in a new gstreamer/plugins directory, out of the
5261           gst/ directory
5262
5263 2005-11-29  Andy Wingo  <wingo@pobox.com>
5264
5265         * check/Makefile.am:
5266         * pkgconfig/gstreamer-net-uninstalled.pc.in:
5267         * pkgconfig/gstreamer-net.pc.in:
5268         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5269         #322257.
5270
5271 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5272
5273         * tools/Makefile.am:
5274         * tools/gst-complete.1.in:
5275         * tools/gst-complete.c:
5276         * tools/gst-compprep.1.in:
5277         * tools/gst-compprep.c:
5278           removing -compprep and -complete
5279
5280 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5281
5282         * gst/gstevent.c: (gst_event_new_new_segment),
5283         (gst_event_parse_new_segment):
5284         * gst/gstevent.h:
5285           fix #320529 - clean up new_segment API and structure.
5286           Let's hope everyone was using the methods, and not the structure.
5287
5288 2005-11-29  Edward Hervey  <edward@fluendo.com>
5289
5290         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5291         (gst_base_sink_event), (gst_base_sink_do_sync),
5292         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5293         Properly handle non GST_FORMAT_TIME segment
5294         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5295         Properly handle non GST_FORMAT_TIME segment
5296         * gst/gstsegment.c:
5297         This function is valid if the accumulator is 0 and the format
5298         is different from the requested format.
5299         
5300 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5301
5302         * docs/gst/gstreamer-sections.txt:
5303         Add gst_query_new_seeking and gst_query_parse_seeking to the
5304         docs.
5305
5306 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5307
5308         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5309           Treat a pad alloc with new caps the same as if we were not
5310           negotiated, in order to allow a changing upstream output
5311           to produce a new format of data.
5312
5313 2005-11-29  Edward Hervey  <edward@fluendo.com>
5314
5315         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5316         (gst_base_transform_event), (gst_base_transform_eventfunc):
5317         The event virtual method is now properly implemented, with a default
5318         handler
5319         Sub classes should call the parent_class event method. They should
5320         return FALSE if they had a problem handling the given event, or don't
5321         want GstBaseTransform to send that even downstream
5322         * gst/elements/gstidentity.c: (gst_identity_class_init),
5323         (gst_identity_init), (gst_identity_event),
5324         (gst_identity_transform_ip), (gst_identity_set_property),
5325         (gst_identity_get_property):
5326         * gst/elements/gstidentity.h:
5327         Added the single-segment boolean property.
5328         If set to TRUE, it will output a single segment of data, starting from
5329         0, will eat up all incoming newsegment, and modify the timestamp of the
5330         buffers accordingly
5331
5332 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
5333
5334         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5335           Don't ref NULL target pad (#322751). Improve docs.
5336
5337 2005-11-29  Michael Smith  <msmith@fluendo.com>
5338
5339         * gst/gstregistryxml.c: (load_plugin):
5340           Don't crash if we failed to load a feature from a plugin. 
5341
5342 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5343
5344         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5345         (GST_START_TEST):
5346           use more check API and less GLib API
5347
5348 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5349
5350         * Makefile.am:
5351           don't run checks if we don't have check
5352         * common/check.mak:
5353           remove the registry when running make torture
5354         * docs/gst/gstreamer-sections.txt:
5355           remove second multiply
5356         * gst/gstqueue.c: (gst_queue_loop):
5357           fix a compile warning when disabling debug
5358
5359 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5360
5361         * gst/gstinfo.h:
5362         Hey! Let's print the pad name if the pointer != NULL instead
5363         of when it == NULL :-)
5364
5365 2005-11-28  Wim Taymans  <wim@fluendo.com>
5366
5367         * check/gst/gstutils.c: (GST_START_TEST):
5368         Updated check, add some scaling accuracy checking code.
5369
5370         * gst/gstutils.c: (gst_util_div128_64),
5371         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5372         (gst_util_uint64_scale_int):
5373         Fix 6 times faster division code. Optimize for common 
5374         1/1 and less common X/1 cases.
5375
5376 2005-11-28  Wim Taymans  <wim@fluendo.com>
5377
5378         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5379         More checks.
5380
5381         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5382         (do_linear_regression), (gst_clock_add_observation):
5383         Cleanups.
5384         Release lock when the clock cannot be slaved.
5385         Catch the case where the regression returned an invalid denominator.
5386
5387         * gst/gstutils.c: (gst_util_div128_64_iterate),
5388         (gst_util_div128_64), (gst_util_uint64_scale_int64),
5389         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5390         Add protentially more performant non-iterative 128/64 divide function
5391         that unfortunatly does not work yet.
5392         Shortcut the trivial 0/X = 0 case.
5393         Remove the warnings on overflow.
5394
5395 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5396
5397         * gst/gstplugin.c: (gst_plugin_register_func):
5398           everything causing a plugin not to load should be at least a WARNING
5399
5400 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
5401
5402         * docs/random/ensonic/dparams.txt:
5403           some TODOs for the next dev cycle
5404         * libs/gst/controller/gstcontroller.c:
5405         (gst_controlled_property_set_interpolation_mode),
5406         (gst_controlled_property_new):
5407         * libs/gst/controller/gstcontroller.h:
5408           use base type to assign acccessor functions
5409
5410 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5411
5412         * check/Makefile.am:
5413         Oops, that should have been top_srcdir
5414
5415 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5416
5417         * check/Makefile.am:
5418         * check/elements/fdsrc.c: (GST_START_TEST):
5419         Use a cmdline define to specify the location of a file to use for
5420         testing, to avoid breaking distcheck.
5421
5422 2005-11-28  Andy Wingo  <wingo@pobox.com>
5423
5424         * gst/gstpad.c (fixate_value): Use array functions for arrays.
5425
5426 2005-11-28  Edward Hervey  <edward@fluendo.com>
5427
5428         * tools/gst-launch.c: (main):
5429         Clarify the output strings, makes it easier to translate.
5430         Fixes #322626
5431
5432 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5433
5434         * gst/Makefile.am:
5435           don't try and build net if we don't even have <sys/socket.h>
5436
5437 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
5438
5439         * check/Makefile.am:
5440         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5441         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5442           Add tests for fdsrc seekability
5443
5444         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5445         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5446         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5447         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5448         * gst/elements/gstfdsrc.h:
5449           fdsrc should not be a 'live' source.
5450           Implement seeking on seekable fd's.
5451
5452         * gst/gstquery.c: (gst_query_new_seeking),
5453         (gst_query_parse_seeking):
5454         * gst/gstquery.h:
5455           Implement SEEKING query functions: 
5456             *_new_seeking and *_parse_seeking
5457
5458 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
5459
5460         * gst/gstelement.c: (gst_element_dispose):
5461           don't loop forever
5462
5463         * gst/gstiterator.c:
5464         * gst/gststructure.c:
5465           doc fixes
5466
5467         * libs/gst/controller/gstcontroller.c:
5468         (gst_controlled_property_set_interpolation_mode):
5469         * libs/gst/controller/gstcontroller.h:
5470         * libs/gst/controller/gstinterpolation.c:
5471         (interpolate_none_get_enum_value_array):
5472           support controlling enums
5473
5474 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
5475
5476         * gst/gstvalue.c:
5477           Improve documentation for gst_value_union().
5478
5479         * gst/gstvalue.h:
5480           Change return value for union, intersect and subtract functions
5481           from gint to gboolean.
5482
5483 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
5484
5485         * gst/gstvalue.c: (gst_value_serialize_any_list),
5486         (gst_value_transform_any_list_string),
5487         (gst_value_deserialize_list), (gst_value_deserialize_array),
5488         (gst_value_set_int_range), (gst_value_deserialize_int_range),
5489         (gst_value_set_double_range), (gst_value_deserialize_double_range),
5490         (gst_value_set_fraction_range_full),
5491         (gst_value_deserialize_fraction_range),
5492         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5493         (gst_value_deserialize_boolean),
5494         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5495         (gst_value_serialize_float), (gst_value_deserialize_float),
5496         (gst_string_wrap), (gst_value_deserialize_string),
5497         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5498         (gst_value_union_int_range_int_range),
5499         (gst_value_intersect_int_range_int_range),
5500         (gst_value_intersect_double_range_double_range),
5501         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5502         (gst_value_subtract_int_range_int_range),
5503         (gst_value_subtract_double_double_range),
5504         (gst_value_subtract_double_range_double_range),
5505         (gst_value_deserialize_fraction):
5506         * gst/gstvalue.h:
5507           Use gint, gdouble and gchar in our API instead of int, double and
5508           char (and make usage in gstvalue.c more consistent).
5509
5510 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5511
5512         * check/Makefile.am:
5513         * libs/gst/controller/Makefile.am:
5514         * libs/gst/dataprotocol/Makefile.am:
5515           fix up Makefile.am and remove GST_ENABLE_NEW
5516
5517 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5518
5519         * configure.ac:
5520         * gst/Makefile.am:
5521         * gst/base/Makefile.am:
5522         * gst/check/Makefile.am:
5523         * gst/elements/Makefile.am:
5524         * gst/net/Makefile.am:
5525           update LDFLAGS use some more
5526
5527 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5528
5529         * common/m4/gst-doc.m4:
5530           Fixes #312589
5531
5532 2005-11-26  Edward Hervey  <edward@fluendo.com>
5533
5534         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5535         This shouldn't issue a g_warning since it returns NULL if it
5536         couldn't find the plugin, and all functions using this behave
5537         properly on a NULL return. Switching to a GST_WARNING.
5538
5539 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
5540
5541         * gst/gstbin.c: (gst_bin_handle_message_func):
5542         Don't leak clock messages.
5543
5544 2005-11-25  Wim Taymans  <wim@fluendo.com>
5545
5546         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5547         (gst_util_uint64_scale_int):
5548         Optimisations, remove unneeded vars.
5549
5550 2005-11-25  Wim Taymans  <wim@fluendo.com>
5551
5552         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5553         Added more checks for the high precision uint64 cases.
5554
5555         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5556         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5557         Implement high precision (guint64 * guint64) / guint64.
5558
5559 2005-11-24  Wim Taymans  <wim@fluendo.com>
5560
5561         * gst/base/gstbasesrc.c: (gst_base_src_query):
5562         Fix wrong percentage query.
5563
5564         * gst/gstutils.c: (gst_util_uint64_scale),
5565         (gst_util_uint64_scale_int):
5566         Add some more common cases that can be handled 
5567         efficiently to _scale.
5568
5569 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5570
5571         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5572         (gst_mini_object_suite):
5573           don't use check calls from threads; check probably isn't
5574           threadsafe and using a lock to make it threadsafe would
5575           defeat the purpose of this check
5576         * gst/check/gstcheck.c:
5577         * gst/check/gstcheck.h:
5578           use GST_DEBUG some more
5579
5580 2005-11-24  Wim Taymans  <wim@fluendo.com>
5581
5582         * gst/gstutils.c: (gst_util_uint64_scale),
5583         (gst_util_uint64_scale_int):
5584         Chain trivial case to _scale_int.
5585
5586 2005-11-24  Wim Taymans  <wim@fluendo.com>
5587
5588         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5589         Added test for scaling.
5590
5591         * gst/gstclock.h:
5592         Small doc fix.
5593
5594         * gst/gstutils.c: (gst_util_uint64_scale_int):
5595         Implemented high precision scaling code.
5596
5597 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
5598
5599         * gst/gstinfo.h:
5600           do not crash on pad==NULL
5601
5602 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5603
5604         Patch by: Stefan Kost
5605
5606         * common/gtk-doc.mak:
5607         * docs/gst/Makefile.am:
5608         * docs/libs/Makefile.am:
5609           Fix distcheck issues for the libraries docs build
5610           Closes #319599.
5611
5612 2005-11-24  Michael Smith <msmith@fluendo.com>
5613
5614         * docs/manual/basics-helloworld.xml:
5615           Fix bug #315027: memory leak in example code in docs.
5616
5617 2005-11-24  Michael Smith <msmith@fluendo.com>
5618
5619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5620           Unlock the PREROLL_LOCK in a failure case.
5621
5622 2005-11-24  Wim Taymans  <wim@fluendo.com>
5623
5624         * docs/gst/gstreamer-sections.txt:
5625         * gst/base/gstadapter.h:
5626         * gst/base/gstbasesink.h:
5627         * gst/base/gstbasesrc.h:
5628         * gst/base/gstbasetransform.h:
5629         * gst/base/gstpushsrc.h:
5630         * gst/elements/gstfakesink.h:
5631         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5632         * gst/elements/gstfakesrc.h:
5633         * gst/elements/gstfilesink.h:
5634         * gst/elements/gstfilesrc.h:
5635         * gst/gst.c:
5636         * gst/gstbin.c:
5637         * gst/gstbuffer.c: (_gst_buffer_copy):
5638         * gst/gstbus.h:
5639         * gst/gstcaps.c:
5640         * gst/gstchildproxy.c:
5641         * gst/gstclock.c:
5642         * gst/gstelement.c:
5643         * gst/gstelementfactory.c:
5644         * gst/gstelementfactory.h:
5645         * gst/gstevent.c:
5646         * gst/gstghostpad.h:
5647         * gst/gstindex.h:
5648         * gst/gstinterface.h:
5649         * gst/gstminiobject.c:
5650         * gst/gstminiobject.h:
5651         * gst/gstpad.c:
5652         * gst/gstpad.h:
5653         * gst/gstpadtemplate.h:
5654         * gst/gstpipeline.h:
5655         * gst/gstpluginfeature.h:
5656         * gst/gstquery.h:
5657         * gst/gstqueue.h:
5658         * gst/gsttaglist.c:
5659         * gst/gsttaglist.h:
5660         * gst/gsttagsetter.c:
5661         * gst/gsttagsetter.h:
5662         * gst/gsttrace.c:
5663         * gst/gsttrace.h:
5664         * gst/gsttypefind.h:
5665         * gst/gsturi.h:
5666         * gst/gstvalue.c:
5667         * gst/net/gstnetclientclock.c:
5668         * gst/net/gstnetclientclock.h:
5669         * gst/net/gstnettimepacket.c:
5670         * gst/net/gstnettimeprovider.c:
5671         * gst/net/gstnettimeprovider.h:
5672         Doc fixes.
5673
5674 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5675
5676         * configure.ac: back to HEAD
5677
5678 === release 0.9.6 ===
5679
5680 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
5681
5682         * configure.ac:
5683           releasing 0.9.6, "Always On Time"
5684
5685 2005-11-23  Wim Taymans  <wim@fluendo.com>
5686
5687         * docs/gst/gstreamer-sections.txt:
5688         * gst/glib-compat.c:
5689         * gst/gsttagsetter.c:
5690         * gst/gstvalue.c:
5691         * gst/net/gstnetclientclock.c:
5692         * gst/net/gstnettimepacket.h:
5693         Doc updates.
5694
5695 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5696
5697         * docs/faq/using.xml:
5698         * docs/libs/tmpl/gstcontrol.sgml:
5699         * docs/manual/advanced-dparams.xml:
5700         * docs/manual/appendix-checklist.xml:
5701         * docs/manual/basics-elements.xml:
5702         * docs/pwg/other-source.xml:
5703         * docs/random/moving-plugins:
5704         * gst/gstpad.c:
5705         * tools/gst-launch.1.in:
5706           remove mentions of sinesrc
5707
5708 2005-11-23  Michael Smith <msmith@fluendo.com>
5709
5710         * docs/gst/gstreamer-sections.txt:
5711           Update for new API and API changes.
5712         * gst/gstobject.h:
5713           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5714         * gst/gstvalue.c:
5715           Documentation typo fix.
5716         * gst/net/gstnettimepacket.c:
5717           Documentation fixes for arguments.
5718
5719 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
5720
5721         * gst/gststructure.c: (gst_structure_get_fraction),
5722         (gst_structure_parse_value),
5723         (gst_structure_fixate_field_nearest_fraction):
5724         * gst/gststructure.h:
5725         * gst/gstutils.c: (gst_util_uint64_scale_int):
5726         * gst/gstutils.h:
5727         * scripts/update-funcnames:
5728         API Changes. 
5729         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5730         Make gst_structure_fixate_field_nearest_fraction take a numerator
5731         and denominator argument instead of a GValue
5732         add gst_structure_get_fraction helper function.
5733
5734 2005-11-23  Wim Taymans  <wim@fluendo.com>
5735
5736         * docs/design/part-TODO.txt:
5737         Update TODO.
5738
5739         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5740         * gst/net/gstnetclientclock.h:
5741         Use parent fields for timeout and window_size.
5742
5743 2005-11-23  Andy Wingo  <wingo@pobox.com>
5744
5745         * check/net/gstnetclientclock.c (test_functioning): Adjust to
5746         rate_num/rate_denom change.
5747
5748         * gst/net/gstnetclientclock.c
5749         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5750         OBJECT_LOCK. Don't call add_observation with the lock.
5751
5752         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5753         fraction.
5754         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5755         rate fraction.
5756         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5757         deal with rate as a fraction whose numerator and denominator are
5758         GstClockTime values.
5759         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
5760         master; the other fields are protected by the SLAVE_LOCK.
5761         (do_linear_regression): Note that this must be called with the
5762         SLAVE_LOCK.
5763         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
5764         OBJECT_LOCK. Call set_calibration instead of touching the
5765         variables directly.
5766         (gst_clock_set_property, gst_clock_get_property): Protect
5767         master/slave parameters with the SLAVE_LOCK.
5768
5769         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
5770         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
5771         note that all of the instance variables that add_observation and
5772         the set_master functions use are protected by that lock and not
5773         the OBJECT_LOCK.
5774         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
5775
5776         * gst/gstclock.c (gst_clock_add_observation): No longer requires
5777         the caller to take the object lock.
5778
5779 2005-11-23  Wim Taymans  <wim@fluendo.com>
5780
5781         * gst/gsterror.c: (_gst_core_errors_init):
5782         * gst/gsterror.h:
5783         Add error for clock stuff.
5784
5785         * gst/gstpipeline.c: (gst_pipeline_change_state),
5786         (gst_pipeline_set_clock):
5787         Post clock error when clock cannot be used in a pipeline.
5788
5789 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
5790
5791         * docs/gst/gstreamer-sections.txt:
5792           make two symbols from gstinfo private for the docs
5793         * gst/base/gstcollectpads.h:
5794         * gst/gstutils.c:
5795           fix doc typos, update docs
5796
5797 2005-11-22  Wim Taymans  <wim@fluendo.com>
5798
5799         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5800         (gst_base_sink_wait), (gst_base_sink_do_sync),
5801         (gst_base_sink_handle_event):
5802         * gst/base/gstbasesink.h:
5803         No need to store the clock, the parent element class already
5804         has it.
5805
5806         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5807         Updates for clock_set returning a gboolean
5808
5809         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5810         (gst_clock_id_wait_async), (gst_clock_class_init),
5811         (gst_clock_init), (gst_clock_finalize),
5812         (gst_clock_get_internal_time), (gst_clock_get_time),
5813         (gst_clock_slave_callback), (gst_clock_set_master),
5814         (gst_clock_get_master), (do_linear_regression),
5815         (gst_clock_add_observation), (gst_clock_set_property),
5816         (gst_clock_get_property):
5817         * gst/gstclock.h:
5818         Implement master/slave. When setting a clock as a slave, a
5819         periodic timeout is scheduled to sample master and slave times.
5820         Then the slave clock is recalibrated to match offset and rate
5821         of the master clock.
5822         Update logging a bit.
5823         Add flag so that a clock can state that is cannot be slaved to
5824         another clock.
5825
5826         * gst/gstelement.c: (gst_element_set_clock):
5827         * gst/gstelement.h:
5828         The set clock returns a gboolean for when an element cannot
5829         deal with the selected clock in the pipeline. 
5830
5831         * gst/gstpipeline.c: (gst_pipeline_change_state),
5832         (gst_pipeline_set_clock):
5833         * gst/gstpipeline.h:
5834         Handle the case where the selected clock cannot be set on
5835         the pipeline.
5836
5837         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
5838         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5839         (gst_net_client_clock_set_property),
5840         (gst_net_client_clock_get_property),
5841         (gst_net_client_clock_observe_times):
5842         * gst/net/gstnetclientclock.h:
5843         Use regression code in GstClock parent, remove duplicated
5844         functionality.
5845
5846 2005-11-22  Michael Smith <msmith@fluendo.com>
5847
5848         * gst/gstutils.c: (gst_util_clock_time_scale):
5849         * gst/gstutils.h:
5850         * docs/gst/gstreamer-sections.txt:
5851           Rename method to have extra underscore.
5852
5853 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5854
5855         * gst/elements/Makefile.am:
5856         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
5857         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5858         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5859         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
5860         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
5861         * gst/elements/gstfakesrc.h:
5862         * gst/gstqueue.c: (queue_leaky_get_type):
5863           correctly fix GEnumValues so that nick is the short lowercase
5864           dashed tag
5865         * tools/gst-inspect.c: (print_element_properties_info):
5866           also show the nick, since it's useful to use from parse_launch
5867           syntax
5868           Fixes #322139
5869
5870 2005-11-22  Michael Smith <msmith@fluendo.com>
5871
5872         * gst/gstutils.c: (gst_util_clocktime_scale):
5873         * gst/gstutils.h:
5874         * docs/gst/gstreamer-sections.txt:
5875           Add util method for scaling a clocktime by a fraction. Useful 
5876           implementation is left as an exercise for the reader.
5877
5878 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5879
5880         * gst/gstvalue.c: (gst_value_collect_fraction_range):
5881         If needed, allocate storage in the destination value during
5882         collection.
5883
5884 2005-11-22  Edward Hervey  <edward@fluendo.com>
5885
5886         * docs/gst/gstreamer-sections.txt:
5887         * gst/Makefile.am:
5888         * gst/gst.h:
5889         * gst/gsturitype.c:
5890         * gst/gsturitype.h:
5891         * gst/gstutils.c: (gst_util_set_object_arg):
5892         * tools/gst-compprep.c: (main):
5893         * tools/gst-inspect.c: (print_element_properties_info):
5894         Removed GstURI, closes bug #321061
5895
5896 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5897
5898         * check/gst/gststructure.c: (GST_START_TEST):
5899         * gst/gststructure.c: (gst_structure_parse_value):
5900           Oops, broke automatic string type parsing.
5901           Add a test to catch it in future.
5902
5903 2005-11-22  Andy Wingo  <wingo@pobox.com>
5904
5905         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
5906         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
5907         Actually rename the function implementations. Grr.
5908
5909 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5910
5911         * check/gst/capslist.h:
5912           Comment test cases
5913         * check/gst/gststructure.c: (GST_START_TEST),
5914         (gst_structure_suite):
5915           Test automatic value type detection in gst_structure_from_string.
5916         * gst/gststructure.c: (gst_structure_parse_value):
5917           Add fraction as a type we try and guess automatically in
5918           caps/structure strings.
5919
5920 2005-11-22  Andy Wingo  <wingo@pobox.com>
5921
5922         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
5923
5924         * gst/gsttagsetter.h:
5925         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
5926         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
5927         (gst_tag_setter_add_tag_valist)
5928         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
5929         _add_values, _add_valist, and _add_valist_values. Since this is an
5930         interface the function suffixes should be more explicit so
5931         language binding don't end up with element.add_valist ->
5932         gst_tag_setter_add_valist, for example. Fixes #322069.
5933
5934 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5935
5936         * check/gst/gstcaps.c: (GST_START_TEST):
5937           Extend caps string tests to check that a caps to string
5938           conversion is reversible and produces the same caps.
5939
5940         * gst/gststructure.c: (gst_structure_value_get_generic_type):
5941           Output "fraction" as the generic type fraction range, so caps
5942           serialisation and deserialisation works.
5943         * check/gst/capslist.h:
5944         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5945           Support 'MIN' and 'MAX' for deserialising fractions.
5946
5947 2005-11-22  Andy Wingo  <wingo@pobox.com>
5948
5949         * gst/gstevent.h (gst_event_new_new_segment)
5950         (gst_event_parse_new_segment, gst_event_new_buffer_size)
5951         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
5952         Renamed from *_newsegment, *_buffersize, *_notarget.
5953
5954         * scripts/update-funcnames: New script, performs the changes
5955         listed above.
5956
5957 2005-11-22  Wim Taymans  <wim@fluendo.com>
5958
5959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5960         Make sure the GstFlowReturn is returned.
5961
5962         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
5963         (gst_bus_add_signal_watch):
5964         * gst/gstbus.h:
5965         add gst_bus_add_signal_watch_full.
5966
5967         * gst/gstplugin.c: (gst_plugin_load_file):
5968         Small style cleanup.
5969
5970 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5971
5972         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
5973           Block the fakesrc srcpad when we send an event, to avoid
5974           contention on the stream_lock causing random test failures.
5975
5976 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5977
5978         * check/gst/gstvalue.c: (GST_START_TEST):
5979         * gst/gstvalue.c: (gst_value_fraction_subtract):
5980           Fix subtraction.
5981
5982 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
5983
5984         * gst/gst.h:
5985           include "gstchildproxy.h"
5986         * gst/gstchildproxy.h:
5987         * libs/gst/controller/gstcontroller.h:
5988           use G_GNUC_NULL_TERMINATED
5989
5990 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
5991
5992         * check/gst/capslist.h:
5993         * check/gst/gstcaps.c: (GST_START_TEST):
5994         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5995         * gst/gststructure.c: (gst_structure_parse_range),
5996         (gst_structure_fixate_field_nearest_fraction):
5997         * gst/gststructure.h:
5998         * gst/gstvalue.c: (gst_value_init_fraction_range),
5999         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6000         (gst_value_collect_fraction_range),
6001         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6002         (gst_value_set_fraction_range_full),
6003         (gst_value_get_fraction_range_min),
6004         (gst_value_get_fraction_range_max),
6005         (gst_value_serialize_fraction_range),
6006         (gst_value_transform_fraction_range_string),
6007         (gst_value_compare_fraction_range),
6008         (gst_value_deserialize_fraction_range),
6009         (gst_value_intersect_fraction_fraction_range),
6010         (gst_value_intersect_fraction_range_fraction_range),
6011         (gst_value_subtract_fraction_fraction_range),
6012         (gst_value_subtract_fraction_range_fraction),
6013         (gst_value_subtract_fraction_range_fraction_range),
6014         (gst_value_collect_fraction), (gst_value_fraction_multiply),
6015         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6016         (gst_value_transform_string_fraction), (_gst_value_initialize):
6017         * gst/gstvalue.h:
6018           Implement fraction ranges and extend GstFraction to support
6019           arithmetic subtraction, as well as deserialization from integer
6020           strings such as "100"
6021           Add a testsuite as for int and double range set operations
6022
6023 2005-11-21  Andy Wingo  <wingo@pobox.com>
6024
6025         * gst/gsttaglist.h: 
6026         * gst/gstcaps.h: 
6027         * gst/gststructure.h: Add glib-compat.h.
6028
6029 2005-11-21  Wim Taymans  <wim@fluendo.com>
6030
6031         * gst/gstbin.c: (gst_bin_change_state_func):
6032         Fix for #321595
6033
6034 2005-11-21  Wim Taymans  <wim@fluendo.com>
6035
6036         * gst/gstsegment.h:
6037         And add a nice define too.
6038
6039 2005-11-21  Wim Taymans  <wim@fluendo.com>
6040
6041         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6042         (gst_segment_new), (gst_segment_free), (gst_segment_init),
6043         (gst_segment_set_duration), (gst_segment_set_last_stop),
6044         (gst_segment_set_seek), (gst_segment_set_newsegment),
6045         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6046         (gst_segment_clip):
6047         * gst/gstsegment.h:
6048         Make binding friendly.
6049
6050 2005-11-21  Andy Wingo  <wingo@pobox.com>
6051
6052         * gst/gsttagsetter.h: 
6053         * gst/gsttaglist.h: 
6054         * gst/gststructure.h: 
6055         * gst/gstcaps.h: 
6056         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6057         #319940.
6058
6059         * gst/gsterror.c (_gst_core_errors_init):
6060         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6061         category.
6062
6063         * gst/Makefile.am (gst_headers): Add glib-compat.h.
6064         (noinst_HEADERS): noinst the -private.
6065
6066 2005-11-21  Michael Smith <msmith@fluendo.com>
6067
6068         * gst/gstplugin.h:
6069         * gst/gstregistry.h:
6070           Remove unimplemented declarations for which we can see no sensible
6071           use.
6072
6073 2005-11-21  Andy Wingo  <wingo@pobox.com>
6074
6075         * gst/gst.h: Include glib-compat.h.
6076
6077         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6078
6079         * gst/glib-compat.c: Include the public and the private header.
6080
6081         * gst/glib-compat-private.h: Copied here from glib-compat.h.
6082
6083         * gst/gstvalue.c: 
6084         * gst/gstpad.c: 
6085         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6086
6087         * check/gst/gstevent.c (create_custom_events): Check that
6088         FLUSH_STOP is serialized.
6089
6090         * check/elements/identity.c (event_func): 
6091         * check/elements/fakesrc.c (event_func): No stream lock, the core
6092         takes it.
6093
6094         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6095         stream lock taking, yay.
6096
6097         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6098         ensure that core takes the stream lock.
6099
6100         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6101         lock name change.
6102
6103         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6104         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6105         it already. For the flush start we do take it though so we get the
6106         right preroll state change messages.
6107
6108         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6109         the stream lock here, the core does it for us.
6110
6111         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6112         GST_STREAM_GET_LOCK.
6113         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
6114         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
6115         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6116         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6117         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
6118         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6119
6120         * gst/gstpad.c: Update for stream lock name change.
6121
6122         * gst/base/gstbasesink.c: Update for preroll lock name change.
6123
6124 2005-11-21  Wim Taymans  <wim@fluendo.com>
6125
6126         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6127         (gst_clock_get_master):
6128         * gst/gstclock.h:
6129         * gst/gstsystemclock.c: (gst_system_clock_init):
6130         Convert Clock flags to object flags.
6131         Added methods to manage master/slave clocks.
6132
6133 2005-11-21  Wim Taymans  <wim@fluendo.com>
6134
6135         * check/gst/gstsegment.c: (GST_START_TEST):
6136         * docs/design/part-TODO.txt:
6137         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6138         (gst_base_sink_event), (gst_base_sink_do_sync),
6139         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6140         (gst_base_sink_query), (gst_base_sink_change_state):
6141         * gst/base/gstbasesink.h:
6142         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6143         (gst_base_src_default_newsegment),
6144         (gst_base_src_configure_segment), (gst_base_src_do_seek),
6145         (gst_base_src_get_range), (gst_base_src_loop),
6146         (gst_base_src_change_state):
6147         * gst/base/gstbasesrc.h:
6148         * gst/base/gstbasetransform.c:
6149         (gst_base_transform_prepare_output_buf),
6150         (gst_base_transform_event), (gst_base_transform_change_state):
6151         * gst/base/gstbasetransform.h:
6152         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6153         (gst_collect_pads_event):
6154         * gst/base/gstcollectpads.h:
6155         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6156         (gst_fake_src_create):
6157         * gst/elements/gstfakesrc.h:
6158         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6159         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6160         (gst_segment_set_last_stop), (gst_segment_set_seek),
6161         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6162         (gst_segment_to_running_time), (gst_segment_clip):
6163         * gst/gstsegment.h:
6164         More segment updates, replace code in plugins with segment
6165         helper functions.
6166
6167 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6168
6169         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6170         Don't ignore sscanf results
6171
6172 2005-11-21  Andy Wingo  <wingo@pobox.com>
6173
6174         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6175
6176         * *.h:
6177         * *.c: Ran scripts/update-macros. Oh yes.
6178
6179         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6180         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6181         GST_GET_LOCK, etc.
6182
6183         * scripts/update-macros: New script. Run it on your files to
6184         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6185         well.
6186
6187 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6188
6189         * docs/gst/Makefile.am:
6190         * docs/gst/gstreamer-docs.sgml:
6191         * docs/gst/gstreamer-sections.txt:
6192         * docs/gst/gstreamer.types:
6193         * gst/gstinfo.h:
6194           more docs fixes, add new api to the docs
6195
6196 2005-11-21  Andy Wingo  <wingo@pobox.com>
6197
6198         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6199         state_broadcast call.
6200
6201         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6202
6203 2005-11-21  Julien MOUTTE  <julien@moutte.net>
6204
6205         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6206         function calls for arrays.
6207
6208 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6209
6210         * docs/random/ensonic/media-device-daemon.txt:
6211           wild idea, can this be done?
6212         * docs/gst/gstreamer-sections.txt:
6213         * gst/gsterror.h:
6214         * gst/gstfilter.c:
6215         * gst/gstfilter.h:
6216         * gst/gstplugin.h:
6217         * gst/gstpluginfeature.c:
6218         * gst/gsttrace.c:
6219         * gst/gstvalue.c:
6220         * gst/gstvalue.h:
6221           doc fixes and additions
6222
6223 2005-11-21  Andy Wingo  <wingo@pobox.com>
6224
6225         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
6226         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
6227         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
6228         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6229         private to the basesrc implementation.
6230
6231         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6232         behalf of event function if necessary. It should no longer be
6233         necessary to take the stream lock in pad's event functions. Fixes
6234         #320299.
6235
6236 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6237         * docs/gst/gstreamer-sections.txt:
6238         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6239         (gst_structure_fixate_field_nearest_double),
6240         (gst_structure_fixate_field_boolean):
6241         * gst/gststructure.h:
6242         * win32/common/libgstreamer.def:
6243         * win32/gstreamer.def:
6244
6245         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6246         (#322027)
6247
6248 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6249
6250         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6251         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6252         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6253         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6254         (gst_fdsrc_uri_handler_init):
6255         * gst/elements/gstfdsrc.h:
6256           Port fd:// URI handler from 0.8 to fdsrc
6257
6258 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6259
6260         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6261         (gst_value_serialize_fourcc):
6262         * gst/gstvalue.h:
6263           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6264           consistent with our other format defines (#320324).
6265
6266 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6267
6268         * gst/gstvalue.c: (gst_value_is_fixed):
6269           Revert previous commit. Value lists are by definition
6270           not fixed, as they are a list of possible values.
6271
6272 2005-11-21  Andy Wingo  <wingo@pobox.com>
6273
6274         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6275         during the stable series if we need it. Fixes #319178.
6276
6277         * gst/gstevent.c (gst_event_new_filler): Removed.
6278
6279         * check/gst/gstevent.c: Update comment about filler events.
6280
6281 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6282
6283         * gst/gstvalue.c: (gst_value_is_fixed):
6284           Should handle both value arrays and value lists.
6285
6286 2005-11-21  Andy Wingo  <wingo@pobox.com>
6287
6288         patch by: Alessandro Dessina <alessandro nnva org>
6289
6290         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6291         functions to access arrays. Fixes #321962.
6292
6293 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6294
6295         * docs/gst/gstreamer.types:
6296           gst_collectpads_get_type => gst_collect_pads_get_type.
6297           
6298         * gst/base/gstbasetransform.c:
6299           Remove unused SIGNAL_HANDOFF enum.
6300
6301 2005-11-21  Andy Wingo  <wingo@pobox.com>
6302
6303         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6304         the event type (upstream, downstream, serialized). Renamed
6305         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6306         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6307         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6308
6309         * gst/gstevent.c: Update for new CUSTOM event names.
6310
6311         * check/gst/gstevent.c: Update check for new CUSTOM event names.
6312
6313         * gst/gstevent.h:
6314         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6315         bug #319392.
6316
6317 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6318
6319         * docs/gst/gstreamer-sections.txt:
6320         * win32/common/libgstbase.def:
6321         * win32/libgstbase.def:
6322         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6323         (gst_collect_pads_class_init), (gst_collect_pads_init),
6324         (gst_collect_pads_finalize), (gst_collect_pads_new),
6325         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6326         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6327         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6328         (gst_collect_pads_start), (gst_collect_pads_stop),
6329         (gst_collect_pads_peek), (gst_collect_pads_pop),
6330         (gst_collect_pads_available), (gst_collect_pads_read),
6331         (gst_collect_pads_flush), (gst_collect_pads_event),
6332         (gst_collect_pads_chain):
6333         * gst/base/gstcollectpads.h:
6334           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6335           unimplemented functions as unimplemented. Add padding to
6336           GstCollectData. (#320766, #320423)
6337
6338 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6339
6340         * gst/gstmessage.c:
6341           Improve docs for DURATION message (usage of duration parameter)
6342           (#320113)
6343
6344 2005-11-20  Wim Taymans  <wim@fluendo.com>
6345
6346         * check/Makefile.am:
6347         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6348         (main):
6349         * gst/Makefile.am:
6350         * gst/gst.h:
6351         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6352         (gst_segment_set_seek), (gst_segment_set_newsegment),
6353         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6354         (gst_segment_clip):
6355         * gst/gstsegment.h:
6356         Added segment helper structure and methods. Not fully implemented
6357         yet.
6358         Added segment check.
6359
6360 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
6361
6362         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6363           Add a deserialisation test for fractions
6364         * examples/metadata/read-metadata.c: (message_loop),
6365         (make_pipeline), (main):
6366           Fix up metadata reading sample.
6367         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6368           Debug format fix
6369         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6370           Don't try and fixate empty caps
6371         * gst/gst_private.h:
6372           Wrap in G_BEGIN_DECLS/G_END_DECLS
6373         * gst/gstvalue.c: (gst_value_collect_fraction),
6374         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6375         (gst_value_transform_string_fraction),
6376         (gst_value_compare_fraction):
6377           Add some extra guards to ensure that we don't end up 
6378           with an invalid denominator of 0 in a gstfraction and
6379           that fractions always get reduced.
6380
6381 2005-11-20  Wim Taymans  <wim@fluendo.com>
6382
6383         * docs/gst/gstreamer-sections.txt:
6384         * gst/gstbuffer.h:
6385         * gst/gstelement.c:
6386         * gst/gstformat.c:
6387         * gst/gstformat.h:
6388         * gst/gstindex.h:
6389         * gst/gstquery.c:
6390         * gst/gstquery.h:
6391         * gst/gstvalue.c:
6392         Doc fixes.
6393
6394 2005-11-20  Wim Taymans  <wim@fluendo.com>
6395
6396         * docs/design/part-TODO.txt:
6397         * gst/gstcaps.h:
6398         Make a proper enum of the flag.
6399
6400 2005-11-19  Wim Taymans  <wim@fluendo.com>
6401
6402         * docs/design/part-TODO.txt:
6403         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6404         (gst_format_to_quark), (gst_format_register):
6405         * gst/gstformat.h:
6406         * gst/gstquery.c: (_gst_query_initialize),
6407         (gst_query_type_get_name), (gst_query_type_to_quark),
6408         (gst_query_type_register):
6409         * gst/gstquery.h:
6410         Add type to quark and type to string conversions.
6411
6412 2005-11-19  Andy Wingo  <wingo@pobox.com>
6413
6414         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6415         #320097.
6416
6417 2005-11-19  Wim Taymans  <wim@fluendo.com>
6418
6419         * docs/design/part-TODO.txt:
6420         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6421         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6422         (gst_bin_handle_message_func):
6423         * gst/gstbin.h:
6424         Make message handling overridable.
6425
6426 2005-11-19  Andy Wingo  <wingo@pobox.com>
6427
6428         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6429
6430         * gst/gstclock.h:
6431         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6432         be a GstClockTime.
6433         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6434         is a GstClockTime. Fixes #321710.
6435
6436         * gst/gstclock.h (GstClock): Remove offset property. Add
6437         internal_calibration and external_calibration. Fix padding. Pad
6438         also by GstClockTime so we don't run into problems.
6439
6440         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6441         (gst_clock_get_rate_offset): Remove.
6442         (gst_clock_set_time_adjust): Remove. Fixes #321712.
6443
6444         * gst/gstutils.h:
6445         * gst/gstutils.c (g_static_rec_cond_wait)
6446         (g_static_rec_cond_timed_wait): Removed, no longer needed.
6447
6448         * gst/gstbin.c: Remove terrible continue_state prototype.
6449
6450         * gst/gstelement.h (gst_element_continue_state): Make public.
6451
6452         * gst/gstelement.h:
6453         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6454         by continue_state. Fixes #319389.
6455
6456         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6457         Really fixes #168438. However I don't see anywhere where the
6458         filter function is called... stupid GStreamer...
6459         
6460         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6461         don't have a dispose function, so it won't get called when the
6462         object is unreffed, but oh well!
6463
6464         * gst/gstindex.c (gst_index_set_filter_full): New API function,
6465         allows a destroy function to be set so user_data can be freed.
6466         Fixes #168438.
6467         (gst_index_set_filter): Call gst_index_set_filter_full.
6468
6469         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6470
6471         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6472         string should produce an error, given the lack of a way to
6473         represent NULL strings. Fixes #165650.
6474         
6475         * gst/gstvalue.h: 
6476         * gst/gstvalue.c (gst_value_array_append_value) 
6477         (gst_value_array_prepend_value, gst_value_array_get_size) 
6478         (gst_value_array_get_value): New API, copied from
6479         gst_value_list_*, only operates on arrays.
6480         (gst_value_list_append_value, gst_value_list_prepend_value) 
6481         (gst_value_list_concat, gst_value_list_get_size) 
6482         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6483
6484         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6485         init_list, because it works on both.
6486         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6487         (gst_value_copy_list_or_array): Renamed from copy_list.
6488         (gst_value_free_list_or_array): Renamed from free_list.
6489         (gst_value_collect_list_or_array): Renamed from collect_list.
6490         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6491         (gst_value_list_or_array_peek_pointer): Renamed from
6492         list_peek_pointer.
6493         (_gst_value_array_value_table, _gst_value_list_value_table):
6494         Update value table functions.
6495         (gst_value_compare_list_or_array): Renamed from compare_list.
6496
6497         * gsttaglist.h: Whoops, foreach function returns void. Also fix
6498         some constness.
6499
6500         * gst/gsttaglist.c:
6501         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6502         GstTagList*. Fixes #143472.
6503
6504         * gst/gststructure.h: Clarify what the foreach/map functions can
6505         or can't do to their arguments.
6506
6507 2005-11-18  Wim Taymans  <wim@fluendo.com>
6508
6509         * gst/gstclock.c: (gst_clock_set_calibration),
6510         (gst_clock_get_calibration):
6511         Doc and API fixes.
6512         Calibration can be set with internal time equal to current
6513         internal time too.
6514
6515 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6516
6517         * gst/gsterror.c:
6518         * gst/gsterror.h:
6519           document
6520
6521 2005-11-18  Andy Wingo  <wingo@pobox.com>
6522
6523         * configure.ac: 
6524         * pkgconfig/gstreamer-net.pc.in:
6525         * pkgconfig/gstreamer-net-uninstalled.pc.in:
6526         * pkgconfig/Makefile.am: Add net pkgconfig files.
6527
6528 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
6529
6530         * gst/gstcaps.c:
6531         * gst/gstghostpad.c:
6532         * gst/gsttrace.c:
6533         * gst/gstvalue.c:
6534         * gst/gstvalue.h:
6535           docs fixes
6536
6537 2005-11-18  Andy Wingo  <wingo@pobox.com>
6538
6539         * gst/net/gstnetclientclock.c: Turn off debugging.
6540
6541         * check/net/gstnetclientclock.c (test_functioning): Assert that the
6542         times connverge somewhat. Can't make a real test.
6543
6544         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6545         integer arithmetic. Return the minimum of the domain, which can be
6546         set as "internal" for gst_clock_set_calibration.
6547         (gst_net_client_clock_observe_times): Call _set_calibration.
6548         (gst_net_client_clock_new): Call _set_calibration instead of
6549         rate_offset.
6550
6551         * check/net/gstnetclientclock.c (test_functioning): Use the right
6552         adjustment api.
6553
6554         * gst/gstclock.h:
6555         * gst/gstclock.c (gst_clock_get_calibration) 
6556         (gst_clock_set_calibration): New functions, obsolete the ones I
6557         added yesterday. Doh. Precision issues mean we have to extrapolate
6558         from a point in the more recent past than 1970.
6559         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6560         obsolete.
6561         (gst_clock_adjust_unlocked): Use the right calibration data.
6562
6563 2005-11-18  Edward Hervey  <edward@fluendo.com>
6564
6565         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
6566         Also reset the ->current_* values in READY->PAUSED
6567
6568 2005-11-18  Andy Wingo  <wingo@pobox.com>
6569
6570         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6571         Whoops, check the right fd. Also add some debugging.
6572         (gst_net_client_clock_observe_times): Adjust for int64 offset.
6573         (do_linear_regression): Add a crapload of debugging. Subtract off
6574         the minimum values from the input series to discard unneeded bits.
6575         Use only int arithmetic. There is still double arithmetic when
6576         calculating the intercept that needs fixing. Return boolean to
6577         indicate success; FALSE would mean the domain or range is too
6578         great. Still needs fixes.
6579
6580 2005-11-18  Wim Taymans  <wim@fluendo.com>
6581
6582         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6583         For the current position in stream time, we need to subtract
6584         accumulated time.
6585         
6586         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6587         Release lock before calling the callback function of async
6588         entries.
6589
6590 2005-11-18  Andy Wingo  <wingo@pobox.com>
6591
6592         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6593         Port goes all the way to MAXUINT16.
6594
6595         * gst/net/gstnettimeprovider.c: Make the port range the same as
6596         for the kernel: 0 assigns, otherwise ports are less than
6597         MAXUINT16.
6598
6599         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6600         port change.
6601
6602         * check/net/gstnetclientclock.c (test_functioning): Add the start
6603         of another test. 
6604
6605 2005-11-18  Wim Taymans  <wim@fluendo.com>
6606
6607         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6608         (gst_bin_remove_func), (bin_bus_handler):
6609         * gst/gstbin.h:
6610         Removing a clock provider from a bin, triggers a clock lost message
6611         so that a new clock will be selected.
6612         Adding a clock to a bin triggers a clock provider message.
6613         Make sure we reselect a clock when we received a clock lost message.
6614         Keep a reference to the element that provided the clock.
6615
6616 2005-11-18  Andy Wingo  <wingo@pobox.com>
6617
6618         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6619         the clock initially so it produces values around the base time.
6620         (gst_net_client_clock_class_init): Typo fix.
6621         (gst_net_client_clock_thread): Add note on when the socket gets
6622         closed.
6623
6624 2005-11-17  Wim Taymans  <wim@fluendo.com>
6625
6626         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6627         Free remote and local time arrays.
6628
6629 2005-11-17  Wim Taymans  <wim@fluendo.com>
6630
6631         * gst/net/gstnetclientclock.c: (do_linear_regression),
6632         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6633         Fix compilation, uninitialized vars and a forgotten continue.
6634
6635 2005-11-17  Andy Wingo  <wingo@pobox.com>
6636
6637         * check/Makefile.am (check_PROGRAMS): 
6638         * check/net/gstnetclientclock.c: Add a most minimal test for the
6639         net client clock. More to come later.
6640
6641         * gst/net/gstnet.h: 
6642         * gst/net/Makefile.am: Add netclientclock.
6643
6644         * gst/net/gstnetclientclock.h:
6645         * gst/net/gstnetclientclock.c: New files, implement an untested
6646         GstClock that takes its time from a network time provider.
6647         Implements the algorithm in network-clock.scm.
6648
6649         * tests/network-clock.scm (*window-size*): Rename from
6650         *queue-length*.
6651         * tests/network-clock.scm (network-time): 
6652         * tests/network-clock-utils.scm (q-push): Update callers.
6653
6654 2005-11-17  Wim Taymans  <wim@fluendo.com>
6655
6656         * gst/gstbin.c: (gst_bin_provide_clock_func),
6657         (gst_bin_sort_iterator_new):
6658         And unref the child too..
6659
6660 2005-11-17  Wim Taymans  <wim@fluendo.com>
6661
6662         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6663         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6664         Refactor the sort iterator so it can be used while holding the
6665         LOCK too.
6666         Make clock selection select a clock closest to the source.
6667
6668 2005-11-17  Michael Smith <msmith@fluendo.com>
6669
6670         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6671         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6672         * gst/gstclock.h:
6673           Anonymous structs are a gcc (and some other compilers) extension, so
6674           don't use them. Since this is only for ABI-compatibility, and our
6675           API/ABI freeze is over in a few days, this whole thing will only
6676           last a few days, so don't bother trying to think up a meaningful
6677           name for the struct.
6678
6679 2005-11-17  Andy Wingo  <wingo@pobox.com>
6680
6681         * gst/gstclock.h (GstClock): Add rate and offset properties,
6682         preserving ABI stability. Add rate/offset accessors. Will file bug
6683         for the freeze break.
6684
6685         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6686         and offset, trying to keep precision and avoiding
6687         underflow/overflow.
6688         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6689         functions. Make gst_clock_set_time_adjust obsolete.
6690         (gst_clock_set_time_adjust): Note that this function is obsolete.
6691         Will file bug soon.
6692
6693         * gst/base/gstbasetransform.h: Make the ABI-stability hack
6694         greppable by using GST_PADDING-1+1.
6695
6696 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
6697
6698         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6699
6700         * gst/gstmessage.c: (gst_message_parse_clock_lost):
6701           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6702
6703         * gst/gstpadtemplate.h:
6704         * gst/gstpluginfeature.h:
6705           Don't use c++ style comments in headers (#321638).
6706
6707 2005-11-16  Andy Wingo  <wingo@pobox.com>
6708
6709         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6710         buffer.
6711
6712         * check/net/gstnettimeprovider.c: Check to see that the time
6713         provider actually provides times. Works, yo!
6714
6715 2005-11-16  Wim Taymans  <wim@fluendo.com>
6716
6717         * check/Makefile.am:
6718         Enable more tests.
6719
6720         * check/elements/fakesrc.c: (GST_START_TEST):
6721         Set element to NULL before disposing it.
6722
6723 2005-11-16  Andy Wingo  <wingo@pobox.com>
6724
6725         * gst/net/Makefile.am:
6726         * gst/net/gstnet.h:
6727         * gst/net/gstnettimeprovider.c: 
6728         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6729         provider, include it from gstnet.h, and add it to the build.
6730
6731         * gst/net/gstnettimepacket.h: 
6732         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6733         sending and receiving.
6734
6735 2005-11-16  Wim Taymans  <wim@fluendo.com>
6736
6737         * check/Makefile.am:
6738         Enable valgrind check.
6739
6740         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6741         (gst_fake_src_alloc_buffer):
6742         Fix memleak.
6743
6744 2005-11-16  Wim Taymans  <wim@fluendo.com>
6745
6746         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6747         Call parent finalize too.
6748
6749 2005-11-16  Wim Taymans  <wim@fluendo.com>
6750
6751         * check/Makefile.am:
6752         Enable valgrind check that should work fine now.
6753
6754         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6755         * gst/gstqueue.c: (gst_queue_init):
6756         Fix memleaks in pad allocation.
6757
6758 2005-11-16  Andy Wingo  <wingo@pobox.com>
6759
6760         * gst/net/Makefile.am:
6761         * gst/net/gstnet.h: New part of core to hold network elements and
6762         objects. Put in core because it exposes API that applications want
6763         to use. The library is named libgstnet-tempname right now because
6764         of the existing libgstnet in gst-plugins-base. Solution is
6765         probably to rename the one in plugins-base; will file a bug for
6766         the freeze break.
6767
6768         * gst/net/gstnettimeprovider.c: 
6769         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
6770         get_time call over the network.
6771
6772         * configure.ac: 
6773         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
6774
6775         * check/Makefile.am:
6776         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
6777         get additions shortly.
6778
6779 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6780
6781         * gst/gstpad.c: (gst_pad_new_from_static_template):
6782         * gst/gstpad.h:
6783           add gst_pad_new_from_static_template functions
6784         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
6785         (gst_check_setup_sink_pad):
6786         * gst/elements/gsttee.c: (gst_tee_init):
6787           and use them
6788
6789 2005-11-16  Wim Taymans  <wim@fluendo.com>
6790
6791         * gst/gstpad.c: (gst_pad_pause_task):
6792         Removed warning, it's not really an error either.
6793
6794 2005-11-16  Wim Taymans  <wim@fluendo.com>
6795
6796         * gst/base/gstbasetransform.c:
6797         (gst_base_transform_prepare_output_buf),
6798         (gst_base_transform_event):
6799         Check if the caps are NULL, this can happen if the element
6800         is shutting down and the pad caps are set to NULL.
6801
6802 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6803
6804         * gst/elements/gsttee.c: (gst_tee_init):
6805           fix pad template leak in tee
6806
6807 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6808
6809         * gst/glib-compat.c: (g_value_dup_gst_object):
6810         * gst/glib-compat.h:
6811         * gst/gstpad.c: (gst_pad_set_property):
6812           use gst_object_ref when setting the pad template; this will
6813           trigger the pad template leaks on GLib 2.6 and the slaves
6814
6815 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6816
6817         * gst/glib-compat.c: (gst_flags_get_first_value):
6818         * gst/glib-compat.h:
6819         * gst/gstregistryxml.c:
6820           remove functions copied from GLib 2.6
6821
6822 2005-11-16  Michael Smith <msmith@fluendo.com>
6823
6824         * gst/Makefile.am:
6825           Don't link against VALGRIND_LIBS. That was always the wrong thing to
6826           do, but only breaks with newer valgrind versions. We're not a
6827           valgrind tool, we have no link-time dependencies on libcoregrind.
6828
6829 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6830
6831         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6832           some debug changes
6833         * gst/gstmessage.h:
6834           typo fixes
6835
6836 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6837
6838         * gst/base/gstbasesrc.c: (gst_base_src_init):
6839         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6840         * gst/gstqueue.c: (gst_queue_init):
6841         * gst/gstregistryxml.c: (load_feature):
6842           Revert all these unrefs, they don't even pass make check !
6843
6844 2005-11-15  Johan Dahlin  <johan@gnome.org>
6845
6846         * gst/base/gstbasesrc.c: (gst_base_src_init):
6847         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6848         * gst/gstqueue.c: (gst_queue_init): 
6849         Free pad templates, fixes a couple of leaks.
6850
6851 2005-11-15  Daniel Fischer  <dan at f3c dot com>
6852
6853         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6854
6855         * gst/gstpad.c: (gst_pad_get_property):
6856           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
6857           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
6858           (#321452)
6859
6860 2005-11-15  Wim Taymans  <wim@fluendo.com>
6861
6862         * gst/gstevent.c:
6863         Small doc update.
6864
6865 2005-11-15  Andy Wingo  <wingo@pobox.com>
6866
6867         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
6868
6869         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
6870         using GST_CLOCK_TIME_NONE to disable base time management.
6871         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
6872         time if it was NONE before.
6873         (gst_pipeline_change_state): Only munge the base time if
6874         stream_time != GST_CLOCK_TIME_NONE.
6875
6876         * check/gst/gstpipeline.c (test_base_time): Punt around the
6877         problem of the probe not being called, because that's not the
6878         issue I'm looking at. Add a check that setting stream_time to NONE
6879         disables base time management.
6880         
6881 2005-11-15  Wim Taymans  <wim@fluendo.com>
6882
6883         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6884         segment_stop == -1 at startup.
6885
6886         * gst/base/gstbasetransform.c: (gst_base_transform_event),
6887         (gst_base_transform_change_state):
6888         Init segment values at start.
6889
6890 2005-11-15  Wim Taymans  <wim@fluendo.com>
6891
6892         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6893         0 segment values are 0 in any format.
6894
6895         * gst/base/gstbasetransform.c: (gst_base_transform_event):
6896         * gst/base/gstbasetransform.h:
6897         Parse newsegment correctly in basetransform
6898
6899         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6900         Sync to clock using updated segment values.
6901
6902 2005-11-15  Andy Wingo  <wingo@pobox.com>
6903
6904         * check/gst/gstpipeline.c (test_base_time): Add check that the
6905         base time and stream time are reset correctly.
6906
6907 2005-11-15  Wim Taymans  <wim@fluendo.com>
6908
6909         * docs/design/part-TODO.txt:
6910         Some more TODO items.
6911
6912 2005-11-15  Andy Wingo  <wingo@pobox.com>
6913
6914         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
6915         error if the user selected "no clock" as the clocking method.
6916
6917         * check/gst/gstpipeline.c (test_base_time): New test for buffer
6918         timestamps with live capture.
6919
6920         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
6921         is 0 but we are a live source, timestamp the buffers using the
6922         element's clock.
6923
6924 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
6925
6926         * docs/gst/gstreamer-sections.txt:
6927         * gst/gsterror.c:
6928         * gst/gstghostpad.c:
6929         * gst/gstobject.h:
6930         * gst/gstxml.c:
6931           more section docs
6932
6933 2005-11-14  Wim Taymans  <wim@fluendo.com>
6934
6935         * common/gst.supp:
6936           add suppressions from Wim's Debian machine
6937
6938 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6939
6940         * common/gst.supp:
6941           add suppressions from Andy's AMD64 Ubuntu machine
6942
6943 2005-11-14  Andy Wingo  <wingo@pobox.com>
6944
6945         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
6946         STATE_LOCK not necessary. Fixes #311489.
6947
6948         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
6949         #305291.
6950
6951         * gst/gstindex.c (gst_index_add_object): Note in the docs that
6952         this function is not implemented.
6953
6954 2005-11-14  Julien MOUTTE  <julien@moutte.net>
6955
6956         * gst/base/gstbasetransform.c:
6957         (gst_base_transform_prepare_output_buf):
6958         Ref the source pad caps while we need them.
6959         Fixes (#321386)
6960
6961 2005-11-11  Wim Taymans  <wim@fluendo.com>
6962
6963         * docs/gst/gstreamer-sections.txt:
6964         Added some docs for GstCollectData.
6965
6966         * gst/base/gstadapter.c:
6967         Some small code example fix.
6968
6969         * gst/base/gstcollectpads.c:
6970         * gst/base/gstcollectpads.h:
6971         Document some more.
6972
6973 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6974
6975         * configure.ac: back to HEAD
6976
6977 === release 0.9.5 ===
6978
6979 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
6980
6981         * configure.ac:
6982           releasing 0.9.5, "Bike Lunch Day"
6983
6984 2005-11-11  Wim Taymans  <wim@fluendo.com>
6985
6986         * gst/gstbuffer.c: (_gst_buffer_copy):
6987         Copy more flags.
6988
6989         * gst/gstcaps.c: (gst_caps_is_equal):
6990         Fix some docs.
6991         Make _is_equal fast in the trivial cases.
6992
6993         * gst/gstminiobject.c:
6994         * gst/gstminiobject.h:
6995         More docs. Spifify .h file.
6996
6997         * gst/gstutils.c:
6998         Small doc update.
6999
7000 2005-11-11  Wim Taymans  <wim@fluendo.com>
7001
7002         * gst/base/gstbasetransform.c:
7003         (gst_base_transform_prepare_output_buf),
7004         (gst_base_transform_handle_buffer):
7005         Small cleanups.
7006         If we're processing a buffer and need to allocate an output
7007         buffer, we cannot accept a format change. If we did get a 
7008         format change, we have to alloc a buffer ourselves of the 
7009         right size.
7010
7011 2005-11-11  Wim Taymans  <wim@fluendo.com>
7012
7013         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7014         While checking the flag for reentrancy in the gstcaps function
7015         is nice to detect recursive invocations, it also makes it 
7016         impossible to call getcaps from multiple threads, which must be
7017         possible. So, checking for recursive calls has to go.
7018
7019 2005-11-11  Michael Smith <msmith@fluendo.com>
7020
7021         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7022           Don't sync on buffers that fall partially outside our current
7023           segment. Prevents an assertion failure/abort playing some files.
7024
7025 2005-11-10  Andy Wingo  <wingo@pobox.com>
7026
7027         * check/gst/gstbin.c (test_message_state_changed_children): Style
7028         fix..
7029
7030         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7031         gst_bus_poll with the signal watch. Ensures that poll and a signal
7032         watch see the same messages.
7033
7034         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7035         a poll and a watch at the same time get the same messages.
7036
7037 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7038
7039         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7040         * gst/gstcaps.c: (gst_caps_intersect):
7041           Don't call gst_caps_do_simplify - it doesn't respect order of caps
7042           and it's not needed.
7043
7044 2005-11-10  Wim Taymans  <wim@fluendo.com>
7045
7046         * docs/design/part-TODO.txt:
7047         Updated todo.
7048
7049 2005-11-10  Wim Taymans  <wim@fluendo.com>
7050
7051         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7052         * gst/base/gstbasesrc.c: (gst_base_src_wait),
7053         (gst_base_src_do_sync), (gst_base_src_get_range):
7054         Implement clock sync in base class.
7055
7056 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7057
7058         patch by: Tim-Philipp Müller <tim at centricular dot net>
7059
7060         * gst/gststructure.c: (gst_structure_parse_field),
7061         (gst_structure_from_string):
7062           Forward-port a 0.8 patch to handle escaped spaces in structure string,
7063           so that gst_parse_launch() can deal with spaces in filtered link
7064           caps (fixes #164479)
7065         * check/gst/capslist.h:
7066         * check/gst/gststructure.c: (GST_START_TEST):
7067           add unit tests for this change
7068
7069 2005-11-10  Wim Taymans  <wim@fluendo.com>
7070
7071         * docs/gst/gstreamer-sections.txt:
7072         * gst/gstelement.c:
7073         * gst/gstelement.h:
7074         Fix docs, move some STATE macros to private.
7075
7076 2005-11-10  Wim Taymans  <wim@fluendo.com>
7077
7078         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7079         Added check for bug #317341
7080
7081         * gst/gstbuffer.c:
7082         * gst/gstbuffer.h:
7083         Some more spiffifying.
7084
7085         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7086         Call peer linkfunction if we are a source pad. Totally fixes
7087         #317341
7088
7089         * gst/gstpad.c:
7090         Update docs, source pads should call the peer linkfunction
7091         so they can atomically perform the pad link.
7092
7093 2005-11-09  Wim Taymans  <wim@fluendo.com>
7094
7095         * gst/gstbuffer.c:
7096         * gst/gstbuffer.h:
7097         Uber-spiffy-spiffify some more.
7098
7099 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
7100
7101         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7102         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7103         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7104         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7105         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7106         * gst/gstpad.c: (gst_pad_init):
7107           Use GST_DEBUG_FUNCPTR() more extensively.
7108
7109 2005-11-09  Wim Taymans  <wim@fluendo.com>
7110
7111         * gst/gstobject.c: (gst_object_class_init):
7112         * gst/gstobject.h:
7113         Documentation fixes.
7114
7115 2005-11-09  Edward Hervey  <edward@fluendo.com>
7116
7117         * gst/gsttypefindfactory.c:
7118         Fix docs.
7119         
7120 2005-11-09  Edward Hervey  <edward@fluendo.com>
7121
7122         * gst/base/gsttypefindhelper.c:
7123         * gst/gsttypefind.c:
7124         * gst/gsttypefind.h:
7125         Fix docs.
7126
7127 2005-11-09  Wim Taymans  <wim@fluendo.com>
7128
7129         * gst/gstiterator.c:
7130         Fix revision data.
7131
7132         * gst/gsttask.c:
7133         * gst/gsttask.h:
7134         Fix docs.
7135
7136 2005-11-09  Wim Taymans  <wim@fluendo.com>
7137
7138         * gst/gstevent.h:
7139         * gst/gsturi.h:
7140         Fix docs.
7141
7142 2005-11-09  Wim Taymans  <wim@fluendo.com>
7143
7144         * docs/gst/gstreamer-sections.txt:
7145         Moved the message async delivery private lock and cond
7146         to the private section.
7147
7148         * gst/gstmessage.c:
7149         * gst/gstmessage.h:
7150         Fixed docs.
7151
7152 2005-11-09  Edward Hervey  <edward@fluendo.com>
7153
7154         * docs/gst/gstreamer-sections.txt:
7155         * gst/gsturi.c:
7156         * gst/gsturi.h:
7157         Document GstURIHandler
7158
7159 2005-11-09  Wim Taymans  <wim@fluendo.com>
7160
7161         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7162         (gst_iterator_find_custom):
7163         * gst/gstiterator.h:
7164         Fix iterator docs.
7165
7166 2005-11-09  Wim Taymans  <wim@fluendo.com>
7167
7168         * gst/gstbin.h:
7169         Document another field.
7170
7171         * gst/gststructure.c:
7172         * gst/gststructure.h:
7173         Document.
7174
7175 2005-11-09  Wim Taymans  <wim@fluendo.com>
7176
7177         * gst/gstbin.h:
7178         Documented structs.
7179
7180 2005-11-09  Wim Taymans  <wim@fluendo.com>
7181
7182         * docs/gst/gstreamer-sections.txt:
7183         Added some new macros.
7184
7185         * gst/gstclock.c:
7186         * gst/gstclock.h:
7187         * gst/gstobject.h:
7188         Docs updates.
7189
7190 2005-11-09  Wim Taymans  <wim@fluendo.com>
7191
7192         * docs/design/part-TODO.txt:
7193         Some more items for the TODO
7194
7195         * gst/gstcaps.c:
7196         * gst/gstcaps.h:
7197         Document GstCaps.
7198
7199 2005-11-09  Andy Wingo  <wingo@pobox.com>
7200
7201         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7202         to work on something else now tho...
7203
7204         * gst/base/gstadapter.c: More adapter docs.
7205
7206         * gst/elements/gstfilesink.c (gst_file_sink_start) 
7207         (gst_file_sink_stop): New functions, replace the state change
7208         handler.
7209         (gst_file_sink_class_init): Hook up the start and stop functions.
7210         (gst_file_sink_base_init): Don't set the state change handler any
7211         more. It was a bit ugly too, being set from here...
7212         (gst_file_sink_get_property, gst_file_sink_set_property):
7213         Cleanups...
7214         (gst_file_sink_set_location): More robust check that doesn't call
7215         GST_STATE. Ugggggg.
7216
7217 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7218
7219         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7220           Hold STREAM_LOCK while pushing newsegment or tag events as well.
7221
7222 2005-11-08  Wim Taymans  <wim@fluendo.com>
7223
7224         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7225         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7226         (gst_base_sink_chain), (gst_base_sink_change_state):
7227         * gst/base/gstbasesink.h:
7228         * gst/base/gstbasesrc.h:
7229         * gst/gstelement.h:
7230         * gst/gstevent.h:
7231         Avoid excessive typechecking in macros.
7232
7233         * gst/gstminiobject.c: (gst_mini_object_get_type),
7234         (gst_mini_object_init), (gst_mini_object_new),
7235         (gst_mini_object_free):
7236         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7237         (gst_object_finalize):
7238         Remove cruft code, optimize alloc_trace.
7239
7240 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7241
7242         * docs/faq/gst-uninstalled:
7243           fix up PS1 for systems that try to reset it
7244
7245 2005-11-07  Wim Taymans  <wim@fluendo.com>
7246
7247         * gst/base/gstbasesrc.c: (gst_base_src_init),
7248         (gst_base_src_get_range):
7249         Set the segment_end to -1 initially. Fixed typefind.
7250
7251 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7252
7253         * gst/base/gstadapter.c:
7254           Debug category should be 'adapter', not 'GstAdapter'.
7255           
7256         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7257         (gst_collectpads_class_init), (gst_collectpads_init),
7258         (gst_collectpads_peek), (gst_collectpads_pop),
7259         (gst_collectpads_event), (gst_collectpads_chain):
7260           Add debug category and some debugging output. Use boilerplate
7261           macros. Remove some extraneous words from docs.
7262
7263 2005-11-05  Andy Wingo  <wingo@pobox.com>
7264
7265         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7266         macro.
7267
7268 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7269
7270         * docs/gst/gstreamer-sections.txt:
7271         * gst/gstcaps.h:
7272         * gst/gstinfo.c:
7273         * gst/gstminiobject.h:
7274         * gst/gstobject.h:
7275         * gst/gstutils.h:
7276           more docs added
7277
7278 2005-11-04  Wim Taymans  <wim@fluendo.com>
7279
7280         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7281         Small update to stop at the configured segment_end
7282         position.
7283
7284 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7285
7286         * gst/gstregistry.c:
7287         * gst/gstregistry.h:
7288           added missing docs
7289
7290 2005-11-04  Edward Hervey  <edward@fluendo.com>
7291
7292         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7293         Check if we are doing a segment seek and have arrived at the
7294         end of that segment.
7295
7296 2005-11-04  Wim Taymans  <wim@fluendo.com>
7297
7298         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7299         Don't leak a mutex unlock in case of an error.
7300
7301         * gst/gstbus.h:
7302         Doc fixes.
7303
7304 2005-11-04  Wim Taymans  <wim@fluendo.com>
7305
7306         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7307         (gst_bus_post):
7308         Get the context to wake up only once.
7309
7310 2005-11-03  Wim Taymans  <wim@fluendo.com>
7311
7312         * check/states/sinks.c: (GST_START_TEST):
7313         Uncomment fixed check.
7314
7315         * docs/design/part-TODO.txt:
7316         Updated TODO.
7317
7318         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7319         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7320         (gst_base_sink_get_position):
7321         If we are going to PLAYING, post the right pending state
7322         when we post the intermediate paused message.
7323
7324         * gst/gstelement.c: (gst_element_continue_state),
7325         (gst_element_set_state_func), (gst_element_change_state):
7326         Don't post state changes that were between the same state
7327         and were not ASYNC.
7328
7329 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7330
7331         * docs/gst/gstreamer-sections.txt:
7332         * gst/gstcaps.h:
7333         * gst/gstinfo.c:
7334         * gst/gstminiobject.h:
7335         * gst/gstobject.h:
7336         * gst/gstutils.h:
7337           more docs and doc style fixes
7338
7339 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7340
7341         * docs/gst/gstreamer-sections.txt:
7342         * gst/gstelement.c:
7343         * gst/gstminiobject.c:
7344         doc fixes
7345
7346 2005-11-03  Andy Wingo  <wingo@pobox.com>
7347
7348         * check/states/sinks.c (test_livesrc_sink): Add checks that the
7349         state-changed messages actually have the right order and the right
7350         values.
7351
7352 2005-11-03  Wim Taymans  <wim@fluendo.com>
7353
7354         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7355         Added some more checks. Specifically the case where NO_PREROLL
7356         elements are in the pipeline.
7357
7358         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7359         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7360         (gst_base_sink_get_position):
7361         Post READY->PAUSED state change messages too.
7362         Fix bug where VOID was posted as pending state...
7363
7364         * gst/gstbin.c: (gst_bin_recalc_state):
7365         use _element_continue_state() to continue the state change.
7366
7367         * gst/gstelement.c: (gst_element_continue_state),
7368         (gst_element_commit_state), (gst_element_set_state_func),
7369         (gst_element_change_state), (gst_element_change_state_func):
7370         Lots of state change cleanups, assign the STATE_RETURN in
7371         a new continue_state() function that also propagates the
7372         last return value from a state change to the app.
7373         Update some debug statements with proper category.
7374
7375 2005-11-03  Wim Taymans  <wim@fluendo.com>
7376
7377         * docs/design/part-events.txt:
7378         * docs/design/part-gstpipeline.txt:
7379         * docs/design/part-messages.txt:
7380         * docs/design/part-overview.txt:
7381         * docs/design/part-seeking.txt:
7382         * docs/design/part-states.txt:
7383         * docs/design/part-trickmodes.txt:
7384         * docs/manual/advanced-position.xml:
7385         Small docs updates.
7386
7387         * gst/gstobject.h:
7388         People think !! is ugly, this looks better.
7389
7390         * gst/gstpad.c: (gst_pad_set_blocked_async):
7391         Remove !! since it's fixed elsewhere now.
7392
7393 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7394
7395         * gst/gstminiobject.h:
7396         * gst/gstobject.h:
7397           Add !! to _FLAG_IS_SET macros to make the result boolean.
7398
7399 2005-11-03  Edward Hervey  <edward@fluendo.com>
7400
7401         * gst/gstpad.c: (gst_pad_set_blocked_async):
7402         comparing a flag and a gboolean rarely returns coherent results...
7403         Added two characters (!!) to make that work correctly.
7404         
7405 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7406
7407         * gst/gstbus.c: (gst_bus_class_init):
7408           Fix some typos.
7409           
7410         * gst/gstqueue.c: (gst_queue_loop):
7411           Don't assume a miniobject that isn't a buffer is an
7412           event (it could be that there is a refcounting
7413           problem somewhere and the pointer is stale and
7414           refers to an already destroyed miniobject).
7415
7416 2005-11-03  Julien MOUTTE  <julien@moutte.net>
7417
7418         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7419
7420 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7421
7422         * docs/manual/advanced-position.xml:
7423           Update seek example and explanations to current 0.9 API.
7424
7425         * gst/elements/gsttypefindelement.c:
7426         (gst_type_find_element_activate):
7427           Remove FIXME comment now that the found caps
7428           are unreffed.
7429
7430 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7431
7432         * gst/gstregistryxml.c: (load_feature):
7433           Add another GST_STR_NULL instance
7434
7435 2005-11-02  Edward Hervey  <edward@fluendo.com>
7436
7437         * gst/gstpad.c: (handle_pad_block):
7438         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7439         
7440 2005-11-02  Wim Taymans  <wim@fluendo.com>
7441
7442         * gst/gstbin.c:
7443         Fix typo in docs.
7444
7445         * gst/gstelement.c: (gst_element_commit_state):
7446         Remove unused value.
7447
7448         * gst/gstiterator.c:
7449         Mention that the returned element is reffed in the docs.
7450
7451 2005-11-02  Wim Taymans  <wim@fluendo.com>
7452
7453         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7454         (gst_pad_push), (gst_pad_push_event):
7455         Unlock blocked pads when they are flushed.
7456
7457 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7458
7459         * docs/README:
7460         * docs/gst/gstreamer-sections.txt:
7461         * gst/gstbin.c:
7462           doc updates
7463         * gst/gstregistry.c: (gst_registry_scan_path_level):
7464           fix for a nasty little missed situation where an installed plug-in
7465           which was in the cache did not get overridden by an uninstalled one
7466           which was earlier in the plugin path because the newly created plugin
7467           for the uninstalled one (not in the registry) didn't get its
7468           ->registered set to TRUE
7469
7470 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7471
7472         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7473         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7474         (gst_collectpads_is_active), (gst_collectpads_collect),
7475         (gst_collectpads_collect_range), (gst_collectpads_start),
7476         (gst_collectpads_stop), (gst_collectpads_peek),
7477         (gst_collectpads_pop), (gst_collectpads_available),
7478         (gst_collectpads_read), (gst_collectpads_flush):
7479           Guard public API with assertions.
7480         
7481         * gst/gstpad.c:
7482           Fix docs for gst_pad_set_link_function().
7483
7484 2005-11-02  Johan Dahlin  <johan@gnome.org>
7485
7486         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
7487         Unref found_caps after we used it.
7488
7489 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7490
7491         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7492           Don't try to ref NULL.
7493
7494 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7495
7496         * win32/common/config.h.in:
7497           provide a GST_FUNCTION that just gives a string for now
7498
7499 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7500
7501         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7502         (gst_object_flags_get_type), (register_gst_bin_flags),
7503         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7504         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7505         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7506         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7507         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7508         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7509         (gst_clock_flags_get_type), (register_gst_state),
7510         (gst_state_get_type), (register_gst_state_change_return),
7511         (gst_state_change_return_get_type), (register_gst_state_change),
7512         (gst_state_change_get_type), (register_gst_element_flags),
7513         (gst_element_flags_get_type), (register_gst_core_error),
7514         (gst_core_error_get_type), (register_gst_library_error),
7515         (gst_library_error_get_type), (register_gst_resource_error),
7516         (gst_resource_error_get_type), (register_gst_stream_error),
7517         (gst_stream_error_get_type), (register_gst_event_type),
7518         (gst_event_type_get_type), (register_gst_seek_type),
7519         (gst_seek_type_get_type), (register_gst_seek_flags),
7520         (gst_seek_flags_get_type), (register_gst_format),
7521         (gst_format_get_type), (register_gst_index_certainty),
7522         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7523         (gst_index_entry_type_get_type),
7524         (register_gst_index_lookup_method),
7525         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7526         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7527         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7528         (gst_index_flags_get_type), (register_gst_debug_level),
7529         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7530         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7531         (gst_iterator_result_get_type), (register_gst_iterator_item),
7532         (gst_iterator_item_get_type), (register_gst_message_type),
7533         (gst_message_type_get_type), (register_gst_mini_object_flags),
7534         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7535         (gst_pad_link_return_get_type), (register_gst_flow_return),
7536         (gst_flow_return_get_type), (register_gst_activate_mode),
7537         (gst_activate_mode_get_type), (register_gst_pad_direction),
7538         (gst_pad_direction_get_type), (register_gst_pad_flags),
7539         (gst_pad_flags_get_type), (register_gst_pad_presence),
7540         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7541         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7542         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7543         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7544         (gst_plugin_flags_get_type), (register_gst_rank),
7545         (gst_rank_get_type), (register_gst_query_type),
7546         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7547         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7548         (gst_tag_flag_get_type), (register_gst_task_state),
7549         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7550         (gst_alloc_trace_flags_get_type),
7551         (register_gst_type_find_probability),
7552         (gst_type_find_probability_get_type), (register_gst_uri_type),
7553         (gst_uri_type_get_type), (register_gst_parse_error),
7554         (gst_parse_error_get_type):
7555         * win32/common/gstversion.h:
7556           update win32 copies
7557
7558 2005-11-01  Luca Ognibene  <luogni@tin.it>
7559
7560         * gst/gst.c:
7561           fix docs. popt is dead, long live GOption.
7562
7563 2005-10-31  Wim Taymans  <wim@fluendo.com>
7564
7565         * gst/gstbuffer.h:
7566         Small doc fix.
7567
7568 2005-10-31  Andy Wingo  <wingo@pobox.com>
7569
7570         * Boo!
7571
7572         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7573
7574         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7575         need to serialize property notifications on GLib 2.8. GLib 2.6 has
7576         the possibility of deadlocks here if code calling notify() or
7577         set() has a lock that can be taken in another notify handler (ABBA
7578         with class lock and e.g. python GIL state lock).
7579
7580 2005-10-28  Julien MOUTTE  <julien@moutte.net>
7581
7582         * gst/gstbus.c: Doc updates.
7583
7584 2005-10-28  Wim Taymans  <wim@fluendo.com>
7585
7586         * docs/design/part-TODO.txt:
7587         * gst/gstiterator.c:
7588         * gst/gstsystemclock.c:
7589         * gst/gstsystemclock.h:
7590         Doc updates.
7591
7592 2005-10-28  Edward Hervey  <edward@fluendo.com>
7593
7594         * docs/gst/gstreamer-docs.sgml:
7595         * docs/gst/gstreamer-sections.txt:
7596         the GstURIType documentation page is private, it only defines GstURIType
7597         which should be defined in the GstURIHandler page
7598         
7599 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7600
7601         * gst/gstbin.c: (gst_bin_class_init):
7602         * gst/gstbin.h:
7603         * gst/gstutils.c:
7604         Documentation updates.
7605
7606 2005-10-28  Wim Taymans  <wim@fluendo.com>
7607
7608         * docs/gst/gstreamer-sections.txt:
7609         * gst/gstclock.c:
7610         * gst/gstclock.h:
7611         Documented the clocks.
7612
7613 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
7614
7615         * docs/gst/gstreamer-sections.txt:
7616           move some macros to private sections
7617         * gst/gstminiobject.c:
7618         * gst/gstminiobject.h:
7619           add descriptions provided by ds and some more
7620         * gst/gstpad.h:
7621           mark macro as to be removed
7622
7623 2005-10-28  Wim Taymans  <wim@fluendo.com>
7624
7625         * docs/design/part-TODO.txt:
7626         Add an item to TODO.
7627
7628         * gst/gstiterator.c: (gst_iterator_fold),
7629         (gst_iterator_find_custom):
7630         * gst/gstiterator.h:
7631         Add iterator docs.
7632
7633 2005-10-28  Wim Taymans  <wim@fluendo.com>
7634
7635         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7636         (gst_base_transform_init):
7637         Don't leak class.
7638
7639         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7640         An EOS event marks the queue as completely filled.
7641
7642 2005-10-27  Wim Taymans  <wim@fluendo.com>
7643
7644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7645         (gst_base_sink_do_sync), (gst_base_sink_get_position):
7646         Some more debugging.
7647
7648         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7649         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7650         (gst_base_transform_event), (gst_base_transform_getrange),
7651         (gst_base_transform_chain):
7652         * gst/base/gstbasetransform.h:
7653         Fix debugging,
7654         Protect transform and concurrent buffer alloc with a new lock.
7655         Try not to break ABI/API.
7656
7657 2005-10-27  Wim Taymans  <wim@fluendo.com>
7658
7659         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7660         (gst_base_src_init), (gst_base_src_query),
7661         (gst_base_src_default_newsegment),
7662         (gst_base_src_configure_segment), (gst_base_src_do_seek),
7663         (gst_base_src_send_event), (gst_base_src_event_handler),
7664         (gst_base_src_pad_get_range), (gst_base_src_loop),
7665         (gst_base_src_unlock), (gst_base_src_default_negotiate),
7666         (gst_base_src_start), (gst_base_src_deactivate),
7667         (gst_base_src_activate_push), (gst_base_src_change_state):
7668         Move some stuff around and cleanup things.
7669
7670 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
7671
7672         * gst/base/gstbasesrc.c: (gst_base_src_query):
7673           Add missing break statements.
7674
7675 2005-10-27  Wim Taymans  <wim@fluendo.com>
7676
7677         * check/gst/gstbin.c: (GST_START_TEST):
7678         An extra refcount is taken in basesrc.
7679
7680         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7681         (gst_base_src_get_range), (gst_base_src_pad_get_range),
7682         (gst_base_src_loop):
7683         Small cleanups, check for flushing after being unlocked from the 
7684         LIVE_LOCK. take refcounts correctly (not yet everywhere).
7685         Don't send out EOS when going to READY.
7686
7687 2005-10-27  Wim Taymans  <wim@fluendo.com>
7688
7689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7690         (gst_base_sink_get_position):
7691         Some more debug.
7692
7693         * gst/gstbin.c: (message_check), (bin_replace_message),
7694         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7695         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7696         (bin_query_duration_init), (bin_query_duration_fold),
7697         (bin_query_duration_done), (bin_query_generic_fold),
7698         (gst_bin_query):
7699         * tools/gst-launch.c: (main):
7700         Remove old option.
7701
7702 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
7703
7704         * examples/controller/audio-example.c: (main):
7705         * examples/queue/queue.c: (event_loop):
7706         * gst/base/gstbasetransform.h:
7707         * gst/gstelement.c: (gst_element_send_event):
7708         * gst/gstevent.h:
7709         * gst/gstpad.c: (gst_pad_send_event):
7710           fixing examples
7711           fixing docs typos
7712           changing log priority in error situations
7713
7714 2005-10-25  Wim Taymans  <wim@fluendo.com>
7715
7716         * gst/gstbin.c: (message_check), (bin_replace_message),
7717         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7718         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7719         (bin_query_duration_init), (bin_query_duration_fold),
7720         (bin_query_duration_done), (bin_query_generic_fold),
7721         (gst_bin_query):
7722         Some doc and debug updates.
7723         Cache previously requested query DURATION for speed. invalidate
7724         cached duration if element posts a DURATION message.
7725
7726 2005-10-25  Wim Taymans  <wim@fluendo.com>
7727
7728         * docs/design/part-TODO.txt:
7729         Update TODO.
7730
7731         * gst/gstbin.c: (message_check), (bin_replace_message),
7732         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7733         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7734         (bin_query_duration_init), (bin_query_duration_fold),
7735         (bin_query_duration_done), (bin_query_generic_fold),
7736         (gst_bin_query):
7737         Handle SEGMENT_START/DONE messages correctly.
7738         More evolved query algorithm that handles duration queries
7739         correctly.
7740
7741         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7742         (gst_element_get_state_func), (gst_element_abort_state),
7743         (gst_element_commit_state), (gst_element_lost_state):
7744         Some more debugging.
7745
7746         * gst/gstmessage.h:
7747         Added doc.
7748
7749 2005-10-25  Wim Taymans  <wim@fluendo.com>
7750
7751         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7752         Don't use invalid stream_time.
7753
7754         * gst/gstevent.c: (gst_event_new_newsegment):
7755         stream_time in newsegment cannot be undefined.
7756
7757 2005-10-24  Wim Taymans  <wim@fluendo.com>
7758
7759         * gst/gstbus.c:
7760         Doc fix.
7761
7762         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7763         (gst_queue_loop):
7764         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
7765
7766 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
7767
7768         * docs/libs/tmpl/gstdparam.sgml:
7769         * docs/libs/tmpl/gstdplinint.sgml:
7770         * docs/libs/tmpl/gstdpman.sgml:
7771         * docs/libs/tmpl/gstdpsmooth.sgml:
7772         * docs/libs/tmpl/gstunitconvert.sgml:
7773           these are obsolete
7774
7775 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7776
7777         * configure.ac:
7778           back to HEAD
7779
7780 === release 0.9.4 ===
7781
7782 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7783
7784         * configure.ac:
7785           releasing 0.9.4, "Tyrannosaurus Rex"
7786
7787 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
7788
7789         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7790         (gst_file_sink_get_current_offset):
7791           Use fseeko() and ftello() if available. When falling back on
7792           lseek() to get the current offset, fflush() first to make sure
7793           everything is up-to-date and we get the right offset.
7794
7795 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7796
7797         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7798         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7799         * gst/gsterror.c: (_gst_stream_errors_init):
7800         * gst/gsterror.h:
7801         * gst/gstqueue.c: (gst_queue_loop):
7802         * po/POTFILES.in:
7803           remove prematurely added error category and clean up the instances
7804
7805 2005-10-21  Wim Taymans  <wim@fluendo.com>
7806
7807         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7808         (gst_base_sink_get_position), (gst_base_sink_query),
7809         (gst_base_sink_change_state):
7810         Simply set the right flag when going to playing, that's all
7811         we need to do instead of calling a function inside the object
7812         lock (that could take the lock as well and deadlock)
7813
7814 2005-10-21  Wim Taymans  <wim@fluendo.com>
7815
7816         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7817         (gst_base_src_loop):
7818         Don't warn, the peer element knows what to do best when
7819         the seek failed, it might try something else.
7820
7821 2005-10-21  Wim Taymans  <wim@fluendo.com>
7822
7823         * gst/base/gstbasesrc.c: (gst_base_src_init),
7824         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7825         Fix seeking.
7826
7827 2005-10-21  Wim Taymans  <wim@fluendo.com>
7828
7829         * docs/design/part-segments.txt:
7830         More docs.
7831
7832         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7833         Correctly set caps, even on the subbufer.
7834
7835 2005-10-21  Wim Taymans  <wim@fluendo.com>
7836
7837         * docs/gst/gstreamer-docs.sgml:
7838         * docs/gst/gstreamer-sections.txt:
7839         * gst/gstelement.h:
7840         * gst/gstevent.c:
7841         * gst/gstevent.h:
7842         * gst/gstmessage.h:
7843         * gst/gstpad.h:
7844         * gst/gstparse.h:
7845         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
7846         * gst/gsttask.h:
7847         * gst/gstutils.c:
7848         * gst/gstutils.h:
7849         And 2% more doc coverage.
7850
7851 2005-10-21  Andy Wingo  <wingo@pobox.com>
7852
7853         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
7854         position reporting.
7855
7856 2005-10-20  Wim Taymans  <wim@fluendo.com>
7857
7858         * gst/gsterror.c: (gst_error_get_message):
7859         * gst/gstparse.h:
7860         * gst/gstquery.h:
7861         * gst/gststructure.c:
7862         * gst/gsttrace.c:
7863         * gst/gstutils.c:
7864         More docs.
7865
7866 2005-10-20  Wim Taymans  <wim@fluendo.com>
7867
7868         * gst/gstbuffer.h:
7869         * gst/gstpad.c:
7870         * gst/gstparse.c:
7871         Another 1% more coverage.
7872
7873 2005-10-20  Wim Taymans  <wim@fluendo.com>
7874
7875         * docs/gst/gstreamer-sections.txt:
7876         * gst/gstelement.c: (gst_element_get_state_func),
7877         (gst_element_abort_state), (gst_element_commit_state),
7878         (gst_element_lost_state):
7879         * gst/gstevent.h:
7880         * gst/gstquery.c: (gst_query_set_position),
7881         (gst_query_parse_position), (gst_query_set_duration),
7882         (gst_query_parse_duration), (gst_query_new_convert):
7883         * gst/gstutils.c:
7884         Yay! 1% more docs coverage.
7885
7886 2005-10-20  Wim Taymans  <wim@fluendo.com>
7887
7888         * gst/gstpad.h:
7889         * gst/gstquery.c: (gst_query_set_position),
7890         (gst_query_parse_position), (gst_query_set_duration),
7891         (gst_query_parse_duration), (gst_query_new_convert):
7892         * gst/gstquery.h:
7893         * gst/gstutils.c: (gst_element_query_convert):
7894         * gst/gstutils.h:
7895         Docs and consistency fixes.
7896
7897 2005-10-20  Wim Taymans  <wim@fluendo.com>
7898
7899         * gst/gsttask.c:
7900         * gst/gsttask.h:
7901         More docs.
7902
7903 2005-10-20  Wim Taymans  <wim@fluendo.com>
7904
7905         * gst/gstbin.c: (message_check), (bin_replace_message),
7906         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7907         (update_degree), (gst_bin_sort_iterator_next),
7908         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
7909         Reworked the message handling a bit, cache the messages instead of
7910         only the senders. alows us to do more in the future.
7911
7912 2005-10-20  Wim Taymans  <wim@fluendo.com>
7913
7914         * docs/design/part-TODO.txt:
7915         Update TODO
7916
7917         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7918         (gst_base_sink_query):
7919         Don't use clock time to report position when in EOS.
7920
7921 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
7922
7923         * tools/gst-inspect.c: (print_interfaces),
7924         (print_element_properties_info), (print_element_info):
7925           Fix interface output with gst-inspect -a; don't print
7926           newlines after double/float properties.
7927
7928 2005-10-20  Wim Taymans  <wim@fluendo.com>
7929
7930         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7931         (gst_base_sink_query):
7932         Speed up current position calculation.
7933
7934         * gst/base/gstbasesrc.c: (gst_base_src_query),
7935         (gst_base_src_default_newsegment):
7936         Correctly set stream position in newsegment.
7937
7938         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
7939         (update_degree), (gst_bin_sort_iterator_next),
7940         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
7941         * gst/gstmessage.c: (gst_message_new_custom):
7942         Clean up debugging info
7943
7944         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7945         (gst_queue_loop), (gst_queue_handle_src_query):
7946         Pause task faster.
7947
7948 2005-10-19  Wim Taymans  <wim@fluendo.com>
7949
7950         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7951         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7952         Fix query handling again.
7953
7954 2005-10-19  Wim Taymans  <wim@fluendo.com>
7955
7956         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7957         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7958         * gst/base/gstbasesrc.c: (gst_base_src_query):
7959         * gst/elements/gstfilesink.c: (gst_file_sink_query):
7960         * gst/elements/gsttypefindelement.c:
7961         (gst_type_find_handle_src_query), (find_element_get_length),
7962         (gst_type_find_element_activate):
7963         API change fix.
7964
7965         * gst/gstquery.c: (gst_query_new_position),
7966         (gst_query_set_position), (gst_query_parse_position),
7967         (gst_query_new_duration), (gst_query_set_duration),
7968         (gst_query_parse_duration), (gst_query_set_segment),
7969         (gst_query_parse_segment):
7970         * gst/gstquery.h:
7971         Bundling query position/duration is not a good idea since duration
7972         does not change much and we don't want to recalculate it for every
7973         position query, so they are separated again..
7974         Base value in segment query is not needed.
7975
7976         * gst/gstqueue.c: (gst_queue_handle_src_query):
7977         * gst/gstutils.c: (gst_element_query_position),
7978         (gst_element_query_duration), (gst_pad_query_position),
7979         (gst_pad_query_duration):
7980         * gst/gstutils.h:
7981         Updates for query API change.
7982         Added some docs here and there.
7983
7984 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7985
7986         * check/gst/gstbin.c: (GST_START_TEST):
7987         * check/gst/gstghostpad.c: (GST_START_TEST):
7988         * check/pipelines/cleanup.c: (GST_START_TEST):
7989           wait on thread to die so we can check refcount correctly
7990
7991 2005-10-18  Wim Taymans  <wim@fluendo.com>
7992
7993         * check/pipelines/stress.c: (GST_START_TEST):
7994         Make check a little more time consuming.
7995
7996 2005-10-18  Wim Taymans  <wim@fluendo.com>
7997
7998         * check/Makefile.am:
7999         * check/pipelines/stress.c: (GST_START_TEST),
8000         (simple_launch_lines_suite), (main):
8001         Small state change torture test.
8002
8003         * docs/design/part-states.txt:
8004         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8005         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8006         (gst_base_sink_change_state):
8007         Never take state lock from streaming thread, clean up ugly
8008         hacks. Unfortunatly core does not yet support nice ways to
8009         async commit state.
8010         
8011         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8012         (bin_bus_handler):
8013         Start state recalc if a STATE_DIRTY message is posted, but only
8014         on the toplevel bin.
8015
8016         * gst/gstelement.c: (gst_element_sync_state_with_parent),
8017         (gst_element_get_state_func), (gst_element_abort_state),
8018         (gst_element_commit_state), (gst_element_lost_state),
8019         (gst_element_set_state_func), (gst_element_change_state):
8020         * gst/gstelement.h:
8021         State variables are now protected with the LOCK, the state
8022         lock is only used to serialize _set_state().
8023
8024 2005-10-18  Wim Taymans  <wim@fluendo.com>
8025
8026         * check/gst/gstbin.c: (GST_START_TEST):
8027         * check/gst/gstmessage.c: (GST_START_TEST):
8028         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8029         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8030         (bin_bus_handler):
8031         * gst/gstelement.c: (gst_element_abort_state),
8032         (gst_element_commit_state), (gst_element_lost_state):
8033         * gst/gstmessage.c: (gst_message_new_state_changed),
8034         (gst_message_new_state_dirty), (gst_message_new_segment_start),
8035         (gst_message_new_segment_done), (gst_message_new_duration),
8036         (gst_message_parse_state_changed),
8037         (gst_message_parse_segment_start),
8038         (gst_message_parse_segment_done), (gst_message_parse_duration):
8039         * gst/gstmessage.h:
8040         * tools/gst-launch.c: (event_loop):
8041         Seriously, this is better than a previous commit as we only need
8042         to notify the fact that an element changed state in a streaming
8043         thread, marking the state of the parents dirty, hence the 
8044         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8045         message.
8046
8047 2005-10-18  Wim Taymans  <wim@fluendo.com>
8048
8049         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8050         (gst_bin_recalc_func):
8051         * gst/gstelement.c: (gst_element_set_clock),
8052         (gst_element_abort_state), (gst_element_lost_state):
8053         Cleanups, prepare for state change fixes.
8054
8055 2005-10-18  Wim Taymans  <wim@fluendo.com>
8056
8057         * gst/gstbin.h:
8058         * gst/gstelement.c: (gst_element_class_init),
8059         (gst_element_set_state), (gst_element_set_state_func):
8060         * gst/gstelement.h:
8061         Pending ABI changes.
8062         GThreadPool in GstBinClass to monitor async state changes.
8063         state_cookie in GstElement to detect concurrent gst/set state.
8064         set_state is now virtual too in case a very complicated element
8065         has to be constructed.
8066
8067 2005-10-18  Wim Taymans  <wim@fluendo.com>
8068
8069         * check/gst/gstbin.c: (GST_START_TEST):
8070         * check/gst/gstmessage.c: (GST_START_TEST):
8071         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8072         * gst/gstbin.c: (bin_bus_handler):
8073         * gst/gstelement.c: (gst_element_commit_state),
8074         (gst_element_lost_state):
8075         * gst/gstmessage.c: (gst_message_new_state_changed),
8076         (gst_message_new_segment_start), (gst_message_new_segment_done),
8077         (gst_message_new_duration), (gst_message_parse_state_changed),
8078         (gst_message_parse_segment_start),
8079         (gst_message_parse_segment_done), (gst_message_parse_duration):
8080         * gst/gstmessage.h:
8081         * tools/gst-launch.c: (event_loop):
8082         Make messages future proof.
8083         state-change gets a flag if it was a message comming from the
8084         streaming thread.
8085         segment-start/stop can also be specified in other formats.
8086         A message to notify an app that a pipeline changed playback 
8087         duration.
8088         Also fix a GstMessage leak in -launch
8089
8090 2005-10-18  Andy Wingo  <wingo@pobox.com>
8091
8092         * gst/gstelement.c (gst_element_dispose): More helpful message.
8093
8094 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8095
8096         reviewed by: <delete if not using a buddy>
8097
8098         * common/gtk-doc.mak:
8099
8100 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8101
8102         * gst/gstregistry.c: (gst_registry_scan_path_level):
8103           unref a plug-in we get that was already initialized
8104
8105 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
8106
8107         * docs/gst/gstreamer-sections.txt:
8108         * docs/libs/gstreamer-libs-sections.txt:
8109         * gst/gstelement.h:
8110           add new api entries
8111           hide internal macro
8112
8113 2005-10-17  Andy Wingo  <wingo@pobox.com>
8114
8115         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8116         cleanup.
8117
8118         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8119
8120         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8121
8122         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8123         (gst_element_get_state_func): Better debug message.
8124         (gst_element_commit_state): s/INFO/DEBUG/.
8125         (gst_element_lost_state, gst_element_change_state): 
8126
8127         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8128         (gst_message_new_custom): s/INFO/LOG/.
8129
8130 2005-10-17  Michael Smith <msmith@fluendo.com>
8131
8132         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8133           Check if end time is valid using end time, not start time.
8134
8135 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
8136
8137         * check/gst-libs/controller.c: (GST_START_TEST),
8138         (gst_controller_suite):
8139         * libs/gst/controller/gstcontroller.c:
8140         (gst_controlled_property_set_interpolation_mode):
8141         * libs/gst/controller/gstcontroller.h:
8142         * libs/gst/controller/gstinterpolation.c:
8143         * testsuite/controller/.cvsignore:
8144         * testsuite/controller/Makefile.am:
8145         * testsuite/controller/interpolator.c:
8146           merge controller testsuites
8147           fix broken tests
8148           remove mem-chunk from docs
8149
8150 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8151
8152         * gst/gstmemchunk.c:
8153         * gst/gstmemchunk.h:
8154         * gst/gsttrashstack.c:
8155         * gst/gsttrashstack.h:
8156           out.  get out.  you're fired.  to the Attic !
8157
8158 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8159
8160         * gst/gstcaps.c: (gst_caps_intersect):
8161           fix signedness issues in a (hopefully) correct way
8162         * gst/gstelement.c: (gst_element_pads_activate):
8163           some debugging
8164         * gst/gstobject.c: (gst_object_set_parent):
8165           some debugging
8166
8167 2005-10-17  Julien MOUTTE  <julien@moutte.net>
8168
8169         * gst/gstvalue.h: Fix prototypes.
8170
8171 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8172
8173         * docs/gst/gstreamer-sections.txt:
8174         * gst/gst.c: (gst_version_string):
8175         * gst/gst.h:
8176         * gst/gstversion.h.in:
8177         * win32/common/libgstreamer.def:
8178           add gst_version_string ()
8179
8180 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8181
8182         * configure.ac:
8183           clean up further
8184         * gst/gst.c: (init_post):
8185         * win32/common/config.h.in:
8186           it's PLUGINDIR now
8187         * gst/gstcaps.c: (gst_caps_intersect):
8188           use gint64, the range could be bigger than a guint
8189
8190 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8191
8192         * gst/gstclock.h:
8193           document potential problem in 2038
8194
8195 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8196
8197         * gst/gstcaps.c: (gst_caps_intersect):
8198           Fix guint j diving under 0
8199
8200 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8201
8202         * configure.ac:
8203         * win32/common/config.h:
8204         * win32/common/config.h.in:
8205           check for process.h, declares getpid() on Windows
8206         * gst/gstinfo.c:
8207           include process.h if we have it
8208         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8209         * gst/gstmemchunk.h:
8210           fix signedness issues
8211         * win32/common/libgstreamer.def:
8212           fix get_type's
8213
8214 2005-10-16  Julien MOUTTE  <julien@moutte.net>
8215
8216         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8217         fix. Because of unsigned ints, caps intersection was going nuts and
8218         trying to access structures with G_MAXUINT index. That fixes
8219         videotestsrc ! ffmpegcolorspace ! fakesink
8220         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8221         consistency.
8222
8223 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8224
8225         * configure.ac:
8226           use the gettext macro
8227         * gst/elements/gstelements.c:
8228         * gst/gst.c:
8229         * gst/indexers/gstindexers.c:
8230           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8231         * win32/common/config.h:
8232           updated config.h
8233         * win32/common/config.h.in:
8234           add the template to generate config.h
8235         * win32/common/gstenumtypes.c:
8236         * win32/common/gstversion.h:
8237           updated copies
8238
8239 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8240
8241         * gst/gst.c: (gst_version):
8242         * gst/gstversion.h.in:
8243           add the nano
8244
8245 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8246
8247         * gst/gstevent.h:
8248           Oops, add missing closing bracket.
8249
8250 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8251
8252         * configure.ac:
8253           use common m4's for argument checking
8254
8255 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8256
8257         * docs/gst/gstreamer-sections.txt:
8258         * gst/gstevent.h:
8259           Add GST_EVENT_TYPE_NAME() macro.
8260
8261 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8262
8263         * gst/gstinfo.c:
8264         * gst/gstpluginfeature.c:
8265         * gst/gsttask.c:
8266           privatize more symbols
8267
8268 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8269
8270         * configure.ac:
8271           add srcdir, builddir includes to GST_ALL_CFLAGS, since
8272           everything that uses GStreamer API should have the includes
8273
8274 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8275
8276         * docs/gst/gstreamer-sections.txt:
8277         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8278         * gst/gstvalue.h:
8279           give each value a _get_type, removes the DATA exports
8280
8281 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8282
8283         * gst/gst.c:
8284         * gst/gst.h:
8285           remove _gst_registry_auto_load, not used anymore
8286         * gst/gstbin.c: (gst_bin_get_type):
8287         * gst/gstbin.h:
8288         * gst/gstelement.c: (gst_element_get_type):
8289         * gst/gstelement.h:
8290         * gst/gstobject.c: (gst_object_get_type):
8291         * gst/gstobject.h:
8292         * gst/gstpad.c: (gst_pad_get_type):
8293         * gst/gstpad.h:
8294           make _get_type functions similar, fixes data export from library
8295
8296 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8297
8298         * configure.ac:
8299           correctly make conditionals
8300         * gst/elements/Makefile.am:
8301         * gst/elements/gstelements.c:
8302           fix typo causing fdsrc not to build
8303
8304 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8305
8306         * testsuite/Makefile.am:
8307         * testsuite/bytestream/.cvsignore:
8308         * testsuite/bytestream/Makefile.am:
8309         * testsuite/bytestream/filepadsink.c:
8310         * testsuite/bytestream/gstbstest.c:
8311         * testsuite/bytestream/test1.c:
8312         * testsuite/bytestream/testfile1:
8313         * testsuite/caps/normalisation.c:
8314         * testsuite/caps/random.c: (main):
8315         * testsuite/cleanup/.cvsignore:
8316         * testsuite/cleanup/Makefile.am:
8317         * testsuite/cleanup/cleanup1.c:
8318         * testsuite/cleanup/cleanup2.c:
8319         * testsuite/cleanup/cleanup3.c:
8320         * testsuite/cleanup/cleanup4.c:
8321         * testsuite/cleanup/cleanup5.c:
8322         * testsuite/controller/interpolator.c:
8323         * testsuite/debug/printf_extension.c: (main):
8324         * testsuite/elements/tee.c:
8325         * testsuite/negotiation/.cvsignore:
8326         * testsuite/negotiation/Makefile.am:
8327         * testsuite/negotiation/pad_link.c:
8328         * testsuite/pad/Makefile.am:
8329         * testsuite/pad/chainnopull.c:
8330         * testsuite/pad/getnopush.c:
8331         * testsuite/pad/link.c:
8332         * testsuite/refcounting/sched.c: (create_pipeline):
8333         * testsuite/registry/Makefile.am:
8334         * testsuite/registry/gst-print-formats.c:
8335         * testsuite/schedulers/.cvsignore:
8336         * testsuite/schedulers/142183-2.c:
8337         * testsuite/schedulers/142183.c:
8338         * testsuite/schedulers/143777-2.c:
8339         * testsuite/schedulers/143777.c:
8340         * testsuite/schedulers/147713.c:
8341         * testsuite/schedulers/147819.c:
8342         * testsuite/schedulers/147894-2.c:
8343         * testsuite/schedulers/147894.c:
8344         * testsuite/schedulers/Makefile.am:
8345         * testsuite/schedulers/group_link.c:
8346         * testsuite/schedulers/queue_link.c:
8347         * testsuite/schedulers/relink.c:
8348         * testsuite/schedulers/unlink.c:
8349         * testsuite/schedulers/unref.c:
8350         * testsuite/schedulers/useless_iteration.c:
8351         * testsuite/states/bin.c:
8352           clean out/remove some stuff from the testsuite directories
8353
8354 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8355
8356         * configure.ac:
8357           check for some headers
8358         * gst/elements/Makefile.am:
8359         * gst/elements/gstelements.c:
8360           don't compile fdsrc without sys/socket.h
8361         * gst/indexers/Makefile.am:
8362         * gst/indexers/gstindexers.c: (plugin_init):
8363           don't compile fileindex without mmap
8364
8365 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8366
8367         * configure.ac:
8368           reorganize
8369           clean up
8370           document more
8371           remove cruft
8372         * check/Makefile.am:
8373         * docs/gst/Makefile.am:
8374         * examples/helloworld/Makefile.am:
8375         * gst/Makefile.am:
8376         * gst/base/Makefile.am:
8377         * gst/check/Makefile.am:
8378         * gst/elements/Makefile.am:
8379         * gst/indexers/Makefile.am:
8380         * gst/parse/Makefile.am:
8381         * libs/gst/controller/Makefile.am:
8382         * libs/gst/dataprotocol/Makefile.am:
8383         * examples/helloworld/helloworld.c: (event_loop):
8384           compile fixes, though it's not being compiled currently
8385
8386 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8387
8388         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8389           Add some simple tests for the new taglist date API.
8390
8391 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8392
8393         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8394         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8395           Beautify 'last-message' output: print 'none' for buffer timestamps
8396           and durations if none is set; improve alignment with next messages.
8397
8398 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8399
8400         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8401         * gst/gstpluginfeature.h:
8402         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8403         * gst/gstregistry.h:
8404         * docs/gst/gstreamer-sections.txt:
8405           Add new API to check plugin feature version requirements.
8406
8407         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8408           Some basic tests for the above.         
8409
8410 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8411
8412         * gst/gststructure.c: (gst_structure_to_string):
8413           guard against NULL printf - happens when for example
8414           a message structure with GstClock gets serialized
8415
8416 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8417
8418         * gst/base/gstcollectpads.c: (gst_collectpads_event):
8419           Fix presumable copy'n'pasto.
8420
8421 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8422
8423         * gst/elements/gstfakesrc.h:
8424         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8425         * gst/elements/gsttypefindelement.c:
8426           fix some signedness
8427         * gst/elements/gstfilesink.c: (gst_file_sink_render):
8428           I wonder if this could actually write +2GB files before
8429
8430 2005-10-13  Andy Wingo  <wingo@pobox.com>
8431
8432         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8433         Fix Timmeke Waymans bug.
8434         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8435         string of the proper length to gst_caps_from_string. There's a
8436         potential for, before this fix, that this could cause someone
8437         connecting over the network to cause a segfault if the payload is
8438         not NUL-terminated.
8439
8440 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
8441
8442         * docs/design/draft-push-pull.txt:
8443         * docs/design/part-overview.txt:
8444         * docs/random/TODO-pre-0.9:
8445         * docs/random/old/ChangeLog.gstreamer:
8446         * gst/base/gstpushsrc.c:
8447         * gst/gstclock.c:
8448           fixed typos
8449
8450 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8451
8452         * gst/glib-compat.c: (gst_flags_get_first_value):
8453         * gst/glib-compat.h:
8454         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8455         (gst_value_compare_double), (gst_value_serialize_flags):
8456           GLib 2.6 g_flags_get_first_value has a bug that triggers an
8457           infinite loop
8458
8459 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8460
8461         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8462         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8463           fix up debugging
8464         * tools/gst-launch.c: (event_loop):
8465           print out clock nicely
8466
8467 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8468
8469         * docs/gst/gstreamer-sections.txt:
8470         * gst/gsttaglist.h:
8471         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8472         (gst_tag_list_get_date_index):
8473           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8474           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8475
8476 2005-10-13  Julien MOUTTE  <julien@moutte.net>
8477
8478         * gst/base/gstcollectpads.c: (gst_collectpads_event),
8479         (gst_collectpads_chain):
8480         * gst/base/gstcollectpads.h: Handle newsegment and store informations
8481         in CollectData.
8482
8483 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
8484
8485         * docs/gst/gstreamer-sections.txt:
8486         * gst/gst.c:
8487         * gst/gsterror.h:
8488         * tools/gst-inspect.c: (main):
8489         * tools/gst-launch.c: (main):
8490         * tools/gst-run.c: (main):
8491         * tools/gst-xmlinspect.c: (main):
8492           fix GOption context leaks
8493           doc fixes
8494
8495 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8496
8497         * gst/gstbus.c:
8498           use HAVE_UNISTD_H
8499         * win32/common/config.h:
8500           update config
8501         * win32/vs6/grammar.dsp:
8502         * win32/vs6/libgstelements.dsp:
8503         * win32/vs6/libgstreamer.dsp:
8504           update vs6 files
8505
8506 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8507
8508         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8509         * gst/base/gstbasesrc.c: (gst_base_src_query):
8510           fix more guint64<->gdouble conversions
8511
8512 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8513
8514         * Makefile.am:
8515           add win32-update target
8516         * win32/common/gstconfig.h:
8517         * win32/common/gstenumtypes.c:
8518         * win32/common/gstenumtypes.h:
8519         * win32/common/gstversion.h:
8520           add files that visual studio can't generate
8521
8522 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8523
8524         * Makefile.am:
8525           add a win32-update target
8526         * configure.ac:
8527
8528 2005-10-12  Wim Taymans  <wim@fluendo.com>
8529
8530         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8531         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8532         * gst/gstelement.c: (gst_element_commit_state),
8533         (gst_element_set_state):
8534         Protect flags with proper lock.
8535         unref provided cached clock in dispose.
8536
8537 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
8538
8539         * gst/gst.c:
8540         * gst/gstminiobject.h:
8541         * gst/gstpad.h:
8542         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8543           removed unused flags from miniobject
8544           doc fixes
8545
8546 2005-10-12  Wim Taymans  <wim@fluendo.com>
8547
8548         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8549         (gst_file_sink_event), (gst_file_sink_render):
8550         Flush before seeking.
8551
8552 2005-10-12  Andy Wingo  <wingo@pobox.com>
8553
8554         * gst/gst.c (gst_init_check): Ignore unknown options, as has
8555         always been the case.
8556
8557 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
8558
8559         * check/gst/gstbin.c: (GST_START_TEST):
8560         * docs/gst/gstreamer-sections.txt:
8561         * gst/base/gstbasesink.c: (gst_base_sink_init):
8562         * gst/base/gstbasesrc.c: (gst_base_src_init),
8563         (gst_base_src_get_range), (gst_base_src_check_get_range),
8564         (gst_base_src_start), (gst_base_src_stop):
8565         * gst/base/gstbasesrc.h:
8566         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8567         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8568         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8569         (bin_bus_handler):
8570         * gst/gstbin.h:
8571         * gst/gstbuffer.h:
8572         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8573         * gst/gstbus.h:
8574         * gst/gstelement.c: (gst_element_is_locked_state),
8575         (gst_element_set_locked_state), (gst_element_commit_state),
8576         (gst_element_set_state):
8577         * gst/gstelement.h:
8578         * gst/gstindex.c: (gst_index_init):
8579         * gst/gstindex.h:
8580         * gst/gstminiobject.h:
8581         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8582         (gst_object_set_parent):
8583         * gst/gstobject.h:
8584         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8585         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8586         * gst/gstpad.h:
8587         * gst/gstpadtemplate.h:
8588         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8589         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8590         * gst/gstpipeline.h:
8591         * gst/indexers/gstfileindex.c: (gst_file_index_load),
8592         (gst_file_index_commit):
8593         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8594         * testsuite/pad/link.c: (gst_test_src_init),
8595         (gst_test_filter_init), (gst_test_sink_init):
8596         * testsuite/states/locked.c: (main):
8597           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8598           moved bitshift from macro to enum definition
8599
8600 2005-10-12  Wim Taymans  <wim@fluendo.com>
8601
8602         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8603         * gst/elements/gstfilesink.c: (gst_file_sink_event),
8604         (gst_file_sink_render):
8605         Some more debugging info.
8606
8607 2005-10-12  Wim Taymans  <wim@fluendo.com>
8608
8609         * docs/design/part-states.txt:
8610         * tools/gst-launch.c: (main):
8611         Some doc updates.
8612         Revert non-intentional change.
8613
8614 2005-10-12  Wim Taymans  <wim@fluendo.com>
8615
8616         * check/gst/gstbin.c: (GST_START_TEST):
8617         * check/gst/gstelement.c: (GST_START_TEST):
8618         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8619         * check/gst/gstghostpad.c: (GST_START_TEST):
8620         * check/gst/gstpipeline.c: (GST_START_TEST):
8621         * check/pipelines/simple_launch_lines.c: (run_pipeline):
8622         * check/states/sinks.c: (GST_START_TEST):
8623         * gst/elements/gsttypefindelement.c: (stop_typefinding):
8624         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8625         (gst_bin_remove_func), (gst_bin_get_state_func),
8626         (gst_bin_recalc_state), (gst_bin_change_state_func),
8627         (bin_bus_handler):
8628         * gst/gstelement.c: (gst_element_get_state_func),
8629         (gst_element_get_state), (gst_element_abort_state),
8630         (gst_element_commit_state), (gst_element_set_state),
8631         (gst_element_change_state), (gst_element_change_state_func):
8632         * gst/gstelement.h:
8633         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8634         (gst_pipeline_provide_clock_func):
8635         * gst/gstutils.c: (gst_element_link_pads_filtered):
8636         * tools/gst-launch.c: (main):
8637         * tools/gst-typefind.c: (main):
8638         Use GstClockTime in _get_state() instead of GTimeVal.
8639         Remove old code in gstutils.c
8640
8641 2005-10-12  Andy Wingo  <wingo@pobox.com>
8642
8643         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8644         removed.
8645
8646         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8647         there is no task. Shouldn't affect any code, as nothing in our
8648         plugins checks this return value.
8649         (gst_pad_stop_task): Also take the stream lock if the pad has no
8650         task. Docs updated.
8651
8652 2005-10-12  Wim Taymans  <wim@fluendo.com>
8653
8654         * gst/gstpad.c: (pre_activate), (post_activate),
8655         (gst_pad_activate_pull), (gst_pad_activate_push):
8656         Cleanup activation code. Reset old state if
8657         activation failed.
8658
8659 2005-10-12  Wim Taymans  <wim@fluendo.com>
8660
8661         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8662         (gst_base_sink_change_state):
8663         No need to prerol after receiving EOS.
8664
8665         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8666         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8667         * gst/elements/gstidentity.c: (gst_identity_event):
8668         Print events more verbosely.
8669
8670 2005-10-12  Wim Taymans  <wim@fluendo.com>
8671
8672         * check/Makefile.am:
8673         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8674         * check/states/sinks2.c:
8675         Moved sinks2 testcode in sinks check.
8676
8677         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8678         (gst_bin_remove_func), (gst_bin_recalc_state),
8679         (gst_bin_change_state_func), (bin_bus_handler):
8680         Fix potential race condition when _get_state() iterated over an
8681         ASYNC element right before it posted a state completion.
8682
8683         * gst/gstclock.h:
8684         Do proper cast here.
8685
8686         * gst/gstevent.c: (gst_event_new_newsegment),
8687         (gst_event_parse_newsegment):
8688         A playback rate of 0.0 is not allowed.
8689
8690 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8691
8692         * win32/common/config.h:
8693         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8694         (_trewinddir), (_ttelldir), (_tseekdir):
8695         * win32/common/dirent.h:
8696         * win32/common/gtchar.h:
8697         * win32/common/libgstbase.def:
8698         * win32/common/libgstreamer.def:
8699         * win32/vs6/grammar.dsp:
8700         * win32/vs6/gst_inspect.dsp:
8701         * win32/vs6/gst_launch.dsp:
8702         * win32/vs6/gstreamer.dsw:
8703         * win32/vs6/libgstbase.dsp:
8704         * win32/vs6/libgstelements.dsp:
8705         * win32/vs6/libgstreamer.dsp:
8706           Visual Studio 6 project files, and a new common directory.
8707           Phear.
8708
8709 2005-10-11  Wim Taymans  <wim@fluendo.com>
8710
8711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8712         (gst_base_sink_do_sync), (gst_base_sink_query),
8713         (gst_base_sink_change_state):
8714         * gst/base/gstbasesink.h:
8715         Correctly parse newsegment info.
8716
8717 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8718
8719         * gst/gst.c: (init_post):
8720           split plugin paths correctly
8721
8722 2005-10-11  Wim Taymans  <wim@fluendo.com>
8723
8724         * check/gst/gstevent.c: (GST_START_TEST):
8725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8726         (gst_base_sink_change_state):
8727         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8728         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8729         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8730         * gst/gstevent.c: (gst_event_new_newsegment),
8731         (gst_event_parse_newsegment):
8732         * gst/gstevent.h:
8733         Added extra flag to newsegment for future API freeze.
8734         Updated check and base elements.
8735
8736 2005-10-11  Julien MOUTTE  <julien@moutte.net>
8737
8738         * gst/base/gstcollectpads.c: (gst_collectpads_init),
8739         (gst_collectpads_add_pad), (gst_collectpads_pop),
8740         (gst_collectpads_event), (gst_collectpads_chain):
8741         * gst/base/gstcollectpads.h: Handle EOS correctly.
8742
8743 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8744
8745         * tools/gst-launch.c: (main):
8746           more null protecting
8747
8748 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8749
8750         * gst/gst-i18n-lib.h:
8751           check for ENABLE_NLS, not GETTEXT_PACKAGE
8752         * gst/gstregistry.c: (gst_registry_add_plugin),
8753         (gst_registry_scan_path_level),
8754         (_gst_registry_remove_cache_plugins):
8755           protect possibly NULL strings
8756         * gst/parse/types.h:
8757           config.h already included before
8758         * tools/gst-inspect.c: (main):
8759           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
8760           check for ENABLE_NLS, not GETTEXT_PACKAGE
8761         * tools/gst-launch.c: (main):
8762           check for ENABLE_NLS, not GETTEXT_PACKAGE
8763
8764 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8765
8766         * configure.ac:
8767           if we don't have glib, fail before testing 2.8
8768         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
8769           fix a leak, should fix plugins-base testsuite
8770
8771 2005-10-11  Andy Wingo  <wingo@pobox.com>
8772
8773         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
8774         take the mode we're going to as an arg. Go head and set the mode
8775         and flushing flags now, so that if the activate function starts a
8776         thread all the flags will be in the right state.
8777         (post_activate): Renamed also. Just handle making sure streaming
8778         finishes for the deactivation case, and setting the deactivated
8779         mode.
8780         (gst_pad_set_active): Complain loudly if deactivation fails.
8781         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
8782         (gst_pad_activate_push): Adapt to pre/post_activate changes,
8783         remove the terrible hack.
8784
8785 2005-10-11  Wim Taymans  <wim@fluendo.com>
8786
8787         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8788         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
8789         (gst_bin_recalc_state), (gst_bin_change_state_func),
8790         (gst_bin_dispose), (bin_bus_handler):
8791         * gst/gstbin.h:
8792         Prepare to make current EOS message queue more generic.
8793         Fix some typos.
8794
8795         * gst/gstevent.c: (gst_event_new_newsegment),
8796         (gst_event_parse_newsegment):
8797         * gst/gstevent.h:
8798         Rename base to stream_time.
8799
8800         * gst/gstmessage.h:
8801         Fix typo in docs.
8802
8803 2005-10-11  Wim Taymans  <wim@fluendo.com>
8804
8805         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8806         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8807         (gst_bin_change_state_func), (bin_bus_handler):
8808         * gst/gstbin.h:
8809         Work on proper clock selection.
8810
8811 2005-10-11  Edward Hervey  <edward@fluendo.com>
8812
8813         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
8814         * libs/gst/controller/gstcontroller.h:
8815         Added GList* version of _remove_properties() in order to be able to wrap
8816         it in bindings.
8817
8818 2005-10-11  Wim Taymans  <wim@fluendo.com>
8819
8820         * docs/design/part-states.txt:
8821         Some more docs.
8822
8823         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8824         (gst_bin_change_state_func), (bin_bus_handler):
8825         Doc updates. Don't distribute the same clock over and over again.
8826
8827         * gst/gstclock.c:
8828         * gst/gstclock.h:
8829         Doc updates.
8830
8831         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8832         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8833         (gst_pad_send_event):
8834         * gst/gstpad.h:
8835         Make probe emission threadsafe again.
8836         Register quarks and move _get_name() from utils.
8837         Doc updates.
8838
8839         * gst/gstpipeline.c: (gst_pipeline_class_init),
8840         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8841         Only redistribute the clock of it changed.
8842
8843         * gst/gstsystemclock.h:
8844         Doc updates. 
8845
8846         * gst/gstutils.c:
8847         * gst/gstutils.h:
8848         Moved the _flow_get_name() to GstPad.
8849
8850 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8851
8852         * check/gst-libs/gdp.c: (GST_START_TEST):
8853         * check/gst/gstcaps.c: (GST_START_TEST):
8854         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8855         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
8856         (gst_dp_packet_from_caps):
8857           fix more valgrind warnings before turning up the heat
8858
8859 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8860
8861         * gst/parse/grammar.y:
8862           some cleanup before the hacking
8863
8864 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8865
8866         * gst/base/gstbasesrc.c: (gst_base_src_query):
8867           use conversions
8868         * gst/gstutils.c: (gst_guint64_to_gdouble),
8869         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
8870         * gst/gstutils.h:
8871           externalize, basesrc uses it
8872           obviously the implementation needs testing
8873
8874 2005-10-10  Wim Taymans  <wim@fluendo.com>
8875
8876         * tests/sched/Makefile.am:
8877         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
8878         (make_pipeline3), (make_pipeline4), (print_elem), (main):
8879
8880 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8881
8882         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
8883           apparently converting from guint64 to double is not implemented
8884           on MSVC
8885
8886 2005-10-10  Wim Taymans  <wim@fluendo.com>
8887
8888         * check/Makefile.am:
8889         * check/generic/states.c: (GST_START_TEST):
8890         * check/gst/gstbin.c: (GST_START_TEST):
8891         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8892         * check/states/sinks.c: (GST_START_TEST):
8893         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
8894         (main):
8895         Check fixes, use API as stated in design docs, remove hacks.
8896
8897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8898         (gst_base_sink_change_state):
8899         Catch stopping our task while we're shutting down.
8900
8901         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8902         (gst_bin_remove_func), (gst_bin_get_state_func),
8903         (gst_bin_recalc_state), (gst_bin_change_state_func),
8904         (bin_bus_handler):
8905         * gst/gstbin.h:
8906         * gst/gstelement.c: (gst_element_init),
8907         (gst_element_get_state_func), (gst_element_abort_state),
8908         (gst_element_commit_state), (gst_element_lost_state),
8909         (gst_element_set_state), (gst_element_change_state),
8910         (gst_element_change_state_func):
8911         * gst/gstelement.h:
8912         New state change algorithm (see #318116)
8913
8914         * gst/gstpipeline.c: (gst_pipeline_class_init),
8915         (gst_pipeline_init), (gst_pipeline_set_property),
8916         (gst_pipeline_get_property), (do_pipeline_seek),
8917         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8918         * gst/gstpipeline.h:
8919         Remove crude state change hacks.
8920
8921         * gst/gstutils.h:
8922         Remove crude hacks.
8923
8924         * tools/gst-launch.c: (main):
8925         Fixes for state change. Needs some more work to fully use the
8926         new stuff.
8927
8928 2005-10-10  Andy Wingo  <wingo@pobox.com>
8929
8930         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
8931
8932         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
8933         this flag, but it's not even in GLib 2.6. Odd. Hack around the
8934         issue.
8935
8936 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
8937
8938         * gst/gstiterator.c: (gst_iterator_new):
8939           Fix my previous commit: GTypes passed to gst_iterator_new()
8940           can be fundamental types.
8941
8942 2005-10-10  Wim Taymans  <wim@fluendo.com>
8943
8944         * gst/gstelement.c: (gst_element_iterate_pad_list),
8945         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
8946         (gst_element_iterate_sink_pads):
8947         Use src/sink pads lists for the respective iterators instead
8948         of filtering.
8949
8950 2005-10-10  Andy Wingo  <wingo@pobox.com>
8951
8952         Merged in popt removal + GOption addition patch from Ronald, bug
8953         #169772.
8954
8955         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
8956         GstElement macros around, remove popt-related symbols, add goption
8957         stuff.
8958
8959         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
8960         
8961         * docs/gst/Makefile.am:
8962         * docs/libs/Makefile.am: No POPT_CFLAGS.
8963         
8964         * examples/manual/Makefile.am:
8965         * docs/manual/basics-init.xml: Doc updates with an example.
8966         
8967         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8968         (gst_init), (parse_one_option), (parse_goption_arg):
8969         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
8970         bit of hand merging and debugging to get the GOption stuff working
8971         tho.
8972         
8973         * tests/Makefile.am:
8974         * tools/Makefile.am:
8975         * tools/gst-inspect.c: (main):
8976         * tools/gst-launch.c: (main):
8977         * tools/gst-run.c: (main):
8978         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
8979
8980 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
8981
8982         * gst/gstiterator.c: (gst_iterator_new):
8983           Add assertions to make sure passed GType is likely to really
8984           be a GType (as the compiler won't catch it if the size and
8985           GType arguments get mixed up, see #318447).
8986
8987 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
8988
8989         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8990
8991         * gst/gstbin.c: (gst_bin_iterate_sorted):
8992           Pass GType and size arguments to gst_iterator_new() in the right
8993           order (maybe we should make _new() take the GType as first argument
8994           just like _new_list()?) (#318447).
8995           
8996
8997 2005-10-10  Wim Taymans  <wim@fluendo.com>
8998
8999         * gst/gstelement.c: (gst_element_finalize):
9000         And free the GStaticRecMutex too
9001
9002 2005-10-10  Andy Wingo  <wingo@pobox.com>
9003
9004         * gst/gstelement.c (gst_element_init, gst_element_finalize):
9005         Allocate and free the mutex properly.
9006
9007         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9008         New macros.
9009         (GstElement): The state_lock is now recursive. Rebuild your
9010         plugins, suckers. Old macros adapted.
9011
9012         * docs/gst/gstreamer-sections.txt: Doc updates.
9013
9014         * gst/gstutils.h:
9015         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
9016         (g_static_rec_cond_wait): Ported from state changes patch, while
9017         we wait on bug #317802 to be solved in a well-distributed GLib.
9018
9019         * gst/gstelement.c (gst_element_change_state_func): Renamed from
9020         gst_element_change_state, variable name changes.
9021         (gst_element_change_state): Split out of gst_element_set_state in
9022         preparation for the state change merge. Doesn't pay attention to
9023         the 'transition' argument.
9024         (gst_element_set_state): Updates, hopefully purely cosmetic.
9025         (gst_element_sync_state_with_parent): MT-safety. Ported from the
9026         state change patch.
9027         (gst_element_get_state_func): Renamed from get_state, cosmetic
9028         changes.
9029
9030 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9031
9032         * gst/elements/gstelements.c:
9033         * win32/GStreamer.vcproj:
9034         * win32/config.h:
9035         * win32/dirent.c: (_tseekdir):
9036         * win32/gst-inspect.vcproj:
9037         * win32/gst-launch.vcproj:
9038         * win32/gstconfig.h:
9039         * win32/gstelements.vcproj:
9040         * win32/gstenumtypes.c: (gst_object_flags_get_type):
9041         * win32/gstreamer.def:
9042         * win32/msvc71.sln:
9043           updates for the win32 build (patch from Sebastien Moutte)
9044
9045 2005-10-10  Andy Wingo  <wingo@pobox.com>
9046
9047         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9048         gst_bin_get_state, cleaned up (but no logic changes).
9049         (bin_element_is_sink): Comment updates.
9050         (sink_iterator_filter): Remove needless cast.
9051         (gst_bin_iterate_sinks): Doc update.
9052         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9053         cleaned up (but no logic changes).
9054
9055         * check/states/sinks.c (test_src_sink): Cleanups from the state
9056         change patch.
9057         (test_livesrc_sink): Sync on the state.
9058
9059         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9060         the state change patch.
9061
9062         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9063         change patch.
9064
9065         * check/gst/gstbin.c: Merge in some style fixes and additional
9066         checks from Wim's state change patch.
9067
9068 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9069
9070         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9071         (gst_type_find_helper):
9072           Check whether we have the requested data already in our list of
9073           cached buffers before pulling a new buffer; also make the buffer
9074           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9075
9076 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9077
9078         * gst/gstcaps.c:
9079         * gst/gstevent.c:
9080           doc updates
9081         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9082           don't use long long, it's not portable.  Replacing with
9083           gint64 seems to work; let's hope no skeletons fall out of the closet.
9084
9085 2005-10-10  Andy Wingo  <wingo@pobox.com>
9086
9087         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9088
9089 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
9090
9091         * docs/gst/gstreamer-sections.txt:
9092         * gst/gstevent.c:
9093         * gst/gstevent.h:
9094         * gst/gstinfo.c:
9095         * gst/gstinfo.h:
9096         * gst/gstmessage.c: (gst_message_parse_state_changed):
9097         * gst/gstpad.c:
9098         * gst/gstpad.h:
9099           more docs, fix compilation
9100
9101 2005-10-09  Philippe Khalaf <burger@speedy.org>
9102         * gst/gstmessage.c:
9103           Fixed a few forgotten variables on previous commit
9104
9105 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9106
9107         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9108           Fix evil typefind crasher: getrange() might return a short
9109           buffer at the end of a file, but gst_type_find_peek() must
9110           either return the full data as requested or NULL, but
9111           never a short buffer.
9112
9113 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9114
9115         * gst/gstmessage.c: (gst_message_new_state_changed),
9116         (gst_message_parse_state_changed):
9117         * gst/gstmessage.h:
9118           don't use "new", it's a C++ keyword
9119
9120 2005-10-08  Wim Taymans  <wim@fluendo.com>
9121
9122         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9123         * gst/gstelement.c: (gst_element_post_message):
9124         * gst/gstpipeline.c: (gst_pipeline_change_state):
9125         Small docs and debug updates.
9126
9127 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9128
9129         * docs/gst/gstreamer-sections.txt:
9130         * gst/gstelementfactory.c:
9131         * gst/gstevent.c:
9132         * gst/gsttaglist.c:
9133           more docs
9134
9135 2005-10-08  Wim Taymans  <wim@fluendo.com>
9136
9137         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9138         (gst_bin_dispose), (bin_bus_handler):
9139         Fix typos, add comments.
9140         Clear EOS list when going to PAUSED from any direction and do it
9141         in a threadsafe way.
9142         Get base time in a threadsafe way too.
9143         Fix confusing debug in the change_state function.
9144         Various other small cleanups.
9145         
9146         * gst/gstelement.c: (gst_element_post_message):
9147         Fix very verbose bus posting code.
9148
9149         * gst/gstpipeline.c: (gst_pipeline_class_init),
9150         (gst_pipeline_set_property), (gst_pipeline_get_property),
9151         (gst_pipeline_change_state):
9152         Small ARG_ -> PROP_ cleanup
9153
9154 2005-10-08  Wim Taymans  <wim@fluendo.com>
9155
9156         * gst/gstbin.c: (is_eos), (bin_bus_handler):
9157         Do a less CPU demanding EOS check because we can.
9158
9159 2005-10-08  Wim Taymans  <wim@fluendo.com>
9160
9161         * libs/gst/dataprotocol/dataprotocol.c:
9162         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9163         (gst_dp_packet_from_event):
9164         * libs/gst/dataprotocol/dataprotocol.h:
9165         * libs/gst/dataprotocol/dp-private.h:
9166         It's about time we bump the version number.
9167         Since event types don't fit in the guint8 anymore describing
9168         the payload type, make payload type 16 bits wide.
9169
9170 2005-10-08  Wim Taymans  <wim@fluendo.com>
9171
9172         * docs/design/part-TODO.txt:
9173         * docs/design/part-clocks.txt:
9174         * docs/design/part-events.txt:
9175         * docs/design/part-gstbin.txt:
9176         * docs/design/part-gstelement.txt:
9177         * docs/design/part-gstpipeline.txt:
9178         * docs/design/part-live-source.txt:
9179         * docs/design/part-messages.txt:
9180         * docs/design/part-overview.txt:
9181         * docs/design/part-states.txt:
9182         Many doc updates.
9183
9184 2005-10-08  Wim Taymans  <wim@fluendo.com>
9185
9186         * gst/gstevent.c:
9187         * gst/gstevent.h:
9188         Fix event quark registration.
9189         Add some space between events so we can insert them in the
9190         right groups.
9191
9192 2005-10-08  Wim Taymans  <wim@fluendo.com>
9193
9194         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9195         (gst_base_sink_handle_buffer):
9196         Better log message.
9197
9198         * gst/gstbus.h:
9199         * gst/gstelement.h:
9200         More docs.
9201
9202         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9203         (gst_queue_set_property), (gst_queue_get_property):
9204         * gst/gstqueue.h:
9205         Remove old unused properties.
9206
9207 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9208         * docs/gst/gstreamer-sections.txt:
9209         * gst/gstmessage.c:
9210         * gst/gstmessage.h:
9211         * gst/gstminiobject.c:
9212         * gst/gstminiobject.h:
9213         * gst/gstobject.h:
9214         * gst/gstpad.h:
9215         * gst/gstutils.h:
9216           lots of new docs and doc fixes
9217
9218 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9219
9220         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9221         * gst/gstplugin.h:
9222         * gst/gstregistry.c: (gst_registry_lookup_locked),
9223         (gst_registry_scan_path_level):
9224         * gst/gstregistryxml.c: (load_plugin):
9225           Only ever load one plugin for a given plugin basename.
9226           This ensures correct overriding of GST_PLUGIN_PATH over
9227           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9228           system installed plugins.
9229
9230 2005-10-08  Wim Taymans  <wim@fluendo.com>
9231
9232         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9233         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9234         Prepare for doing QOS.
9235
9236 2005-10-08  Wim Taymans  <wim@fluendo.com>
9237
9238         * check/gst/gstbin.c: (GST_START_TEST):
9239         * check/pipelines/cleanup.c: (GST_START_TEST):
9240         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9241         Allow new clock message too.
9242
9243 2005-10-08  Wim Taymans  <wim@fluendo.com>
9244
9245         * gst/gstmessage.c: (gst_message_new_error),
9246         (gst_message_new_warning), (gst_message_new_tag),
9247         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9248         (gst_message_new_clock_lost), (gst_message_new_new_clock),
9249         (gst_message_new_segment_start), (gst_message_new_segment_done),
9250         (gst_message_parse_state_changed),
9251         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9252         (gst_message_parse_new_clock):
9253         * gst/gstmessage.h:
9254         Also carry the clock in question.
9255
9256 2005-10-08  Wim Taymans  <wim@fluendo.com>
9257
9258         * gst/gstmessage.c: (gst_message_new_custom),
9259         (gst_message_new_eos), (gst_message_new_error),
9260         (gst_message_new_warning), (gst_message_new_tag),
9261         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9262         (gst_message_new_new_clock), (gst_message_new_segment_start),
9263         (gst_message_new_segment_done), (gst_message_parse_state_changed),
9264         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9265         * gst/gstmessage.h:
9266         Clean up.
9267         Added clock related messages.
9268
9269         * gst/gstpipeline.c: (gst_pipeline_change_state):
9270         Post message when the clock changed.
9271
9272         * tools/gst-launch.c: (event_loop):
9273         Print new clock.
9274
9275 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9276
9277         * tools/gst-inspect.c: (print_element_properties_info):
9278           Can't pass NULL strings to g_print() on windows.
9279
9280 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * docs/Makefile.am:
9283         * docs/gst/Makefile.am:
9284         * docs/gst/gstreamer-docs.sgml:
9285         * docs/gst/running.xml:
9286         * docs/version.entities.in:
9287           add a chapter on running GStreamer.
9288           document GST_DEBUG and GST_PLUGIN* env vars
9289
9290 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9291
9292         * Makefile.am:
9293           remove include dir
9294         * configure.ac:
9295           remove PLUGINS_BUILDDIR stuff
9296         * gst/gst.c: (init_post):
9297           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9298         * idiottest.mak:
9299           remove, it was condescending and not needed
9300
9301 2005-10-08  Wim Taymans  <wim@fluendo.com>
9302
9303         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9304         (gst_base_sink_handle_object), (gst_base_sink_event),
9305         (gst_base_sink_wait), (gst_base_sink_handle_event),
9306         (gst_base_sink_change_state):
9307         * gst/base/gstbasesink.h:
9308         Repost EOS message while going to PLAYING if still EOS.
9309         Make sure that when receiving a FLUSH_START we don't attempt
9310         to sync on the clock anymore.
9311
9312 2005-10-08  Wim Taymans  <wim@fluendo.com>
9313
9314         * tools/gst-launch.c: (event_loop):
9315         Better message printout.
9316
9317 2005-10-08  Wim Taymans  <wim@fluendo.com>
9318
9319         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9320         (gst_bin_child_proxy_get_children_count):
9321         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9322         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9323         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9324         (gst_child_proxy_set_valist):
9325         * gst/parse/grammar.y:
9326         Make ChildProxy threadsafe and fix mem leaks.
9327
9328 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9329
9330         * gst/gst.c: (init_post):
9331           debug the GST_PLUGIN_ env vars
9332
9333 2005-10-08  Wim Taymans  <wim@fluendo.com>
9334
9335         * check/gst/gstbin.c: (GST_START_TEST):
9336         * check/gst/gstmessage.c: (GST_START_TEST):
9337         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9338         * gst/gstelement.c: (gst_element_commit_state),
9339         (gst_element_lost_state):
9340         * gst/gstmessage.c: (gst_message_new_state_changed),
9341         (gst_message_parse_state_changed):
9342         * gst/gstmessage.h:
9343         * tools/gst-launch.c: (event_loop):
9344         Added extra field to STATE_CHANGE message with the pending
9345         state, which will be different from the new state soon.
9346
9347 2005-10-08  Wim Taymans  <wim@fluendo.com>
9348
9349         * gst/gstbus.c: (gst_bus_pop):
9350         * gst/gstclock.c:
9351         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9352         Small cleanups and doc updates.
9353
9354 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9355
9356         * gst/gst.c: (init_pre):
9357         * gst/gstbin.c: (gst_bin_add_func):
9358           log distributing clocks and base time
9359         * gst/gstregistry.c: (gst_registry_add_plugin),
9360         (gst_registry_scan_path_level), (gst_registry_scan_path):
9361           clean up the debugging output a little
9362         * gst/gstutils.c: (gst_element_state_get_name):
9363           warn about a memleak (I've actually seen this be used, though
9364           it was probably a bug)
9365
9366 2005-10-07  Wim Taymans  <wim@fluendo.com>
9367
9368         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9369         (gst_base_src_init), (gst_base_src_default_newsegment),
9370         (gst_base_src_newsegment), (gst_base_src_do_seek),
9371         (gst_base_src_loop), (gst_base_src_start):
9372         * gst/base/gstbasesrc.h:
9373         Make the newsegment event customizable by subclasses.
9374
9375 2005-10-07  Wim Taymans  <wim@fluendo.com>
9376
9377         * gst/gstevent.c: (gst_event_new_buffersize),
9378         (gst_event_parse_buffersize):
9379         * gst/gstevent.h:
9380         New event for future idea.
9381
9382 2005-10-07  Andy Wingo  <wingo@pobox.com>
9383
9384         * gst/gstelement.c (gst_element_post_message): Doc update.
9385
9386         * docs/gst/gstreamer-sections.txt: Update.
9387
9388         * gst/gstmessage.c (gst_message_new_application): Made into a
9389         function like honest API calls.
9390         (gst_message_new_element): New message type.
9391
9392         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9393
9394         * check/elements/fakesrc.c (test_no_preroll): New check, checks
9395         that setting a live fakesrc to PAUSED returns NO_PREROLL both
9396         times.
9397
9398         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9399         NO_PREROLL from gst_element_change_state to fall through.
9400
9401 2005-10-07  Wim Taymans  <wim@fluendo.com>
9402
9403         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9404         (gst_ghost_pad_do_activate_push):
9405         Activating a ghostpad with no internal pad in push mode
9406         is ok.
9407
9408 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9409
9410         * gst/gstobject.h:
9411           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9412           Fixes compilation on Windows.
9413
9414 2005-10-07  Michael Smith <msmith@fluendo.com>
9415
9416         * tools/gst-inspect.c:
9417           Print out feature and plugin count at the end when printing out
9418           all features.
9419
9420 2005-10-04  Michael Smith <msmith@fluendo.com>
9421
9422         * gst/gsterror.c: (_gst_stream_errors_init):
9423           Add another error string used in a few existing plugins.
9424
9425         * gst/gstplugin.c:
9426         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9427         * tools/gst-inspect.c: (print_element_info):
9428           When a feature disappears from a plugin (and the feature exists in
9429           the cached registry file), things went horribly wrong. This isn't a
9430           complete fix, we should actually be removing the 'missing' features
9431           from the features list when we load the actual plugin. That's not
9432           yet implemented. 
9433
9434 2005-10-04  Johan Dahlin  <johan@gnome.org>
9435
9436         * check/gst/gstiterator.c: (GST_START_TEST):
9437         * gst/gstbin.c: (gst_bin_iterate_elements),
9438         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9439         * gst/gstelement.c: (gst_element_iterate_pads):
9440         * gst/gstformat.c: (gst_format_iterate_definitions):
9441         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9442         (gst_iterator_new_list), (gst_iterator_filter):
9443         * gst/gstiterator.h:
9444         * gst/gstquery.c: (gst_query_type_iterate_definitions):
9445         Add a GType to GstIterator, update callsites and tests.
9446
9447 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9448
9449         * gst/gstpad.c: (gst_pad_event_default_dispatch):
9450           give events a chance to be handled by event probes when the pad
9451           is not linked
9452
9453 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9454
9455         * gst/gstevent.c: (gst_event_type_get_name),
9456         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9457         * gst/gstevent.h:
9458           add string representations for event types
9459
9460 2005-10-06  Wim Taymans  <wim@fluendo.com>
9461
9462         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9463         Don't use NULL pointers.
9464
9465 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9466
9467         * gst/gst_private.h:
9468         * gst/gstbus.c:
9469         * gst/gstelement.c:
9470         * gst/gstinfo.c:
9471         * gst/gstpluginfeature.c:
9472           widen the debug category in output to fit the biggest one we have
9473           add a bus category and use it
9474           play with the colors
9475           fix up some categories
9476
9477 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9478
9479         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9480           add push activation of sink ghost pads.
9481           Andye, please verify
9482
9483 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9484
9485         * gst/gstutils.c: (gst_element_link_pads):
9486           fix a bug in the case where neither element has a pad
9487         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9488           add a test for that case
9489
9490 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9491
9492         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9493           emit have-data before checking for peers.  This allows
9494           for probe handlers to connect elements.  This helps autopluggers.
9495         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9496         (gst_pad_suite):
9497           add six checks, linked/unlinked with no/true/false probe
9498
9499 2005-10-04  Wim Taymans  <wim@fluendo.com>
9500
9501         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9502         (gst_fake_sink_event), (gst_fake_sink_preroll),
9503         (gst_fake_sink_render), (gst_fake_sink_change_state):
9504         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9505         (gst_fake_src_get_property), (gst_fake_src_create),
9506         (gst_fake_src_stop):
9507         * gst/elements/gstidentity.c: (gst_identity_stop):
9508         Protect last_message with lock.
9509
9510 2005-10-04  Edward Hervey  <edward@fluendo.com>
9511
9512         * gst/gstformat.h: 
9513         Added precision in the comments for GST_FORMAT_DEFAULT
9514
9515 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
9516
9517         * tools/gst-launch.c: (main):
9518           Don't try to run erroneous pipelines.
9519
9520 2005-10-04  Julien MOUTTE  <julien@moutte.net>
9521
9522         * gst/gstbus.c: We don't need this header.
9523
9524 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9525
9526         * configure.ac:
9527           back to development
9528
9529 === release 0.9.3 ===
9530
9531 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9532
9533         * README:
9534         * configure.ac:
9535           Releasing 0.9.3, "Unregistered"
9536
9537 2005-10-03  Andy Wingo  <wingo@pobox.com>
9538
9539         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9540         whereby calling a pad's activatepush() function can start a thread
9541         that starts to push or pull before the pad gets the FLUSHING flag
9542         unset. Hack around it by holding the stream lock until the flag is
9543         set. Need to replace this with a proper solution. Together with
9544         the ghost pad fixes, this fixes mp3 playing/tagreading.
9545
9546         * docs/design/part-gstghostpad.txt: Add a note about activation of
9547         proxy pads outside of ghost pads.
9548
9549         * gst/gstghostpad.c: Implement the ghost pad activation design.
9550
9551 2005-10-02  Andy Wingo  <wingo@pobox.com>
9552
9553         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9554         It is volatile, after all.
9555
9556         * docs/design/part-gstghostpad.txt: Flesh out activation with
9557         ghost pads.
9558
9559         * gst/base/gstbasesrc.c (gst_base_src_init): Use
9560         GST_DEBUG_FUNCPTR.
9561
9562 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * configure.ac:
9565           Fix (unused) AM_CONDITIONAL tests.
9566
9567 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
9568
9569         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9570
9571         * gst/gstutils.c: (gst_pad_query_convert):
9572           Add assertion that makes sure src_val is >=0, just like
9573           gst_query_new_convert() has. (#315895)
9574
9575 2005-09-30  Edward Hervey  <edward@fluendo.com>
9576
9577         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9578         Let's not iterate pads we're not interested in, it avoids getting 
9579         sky-high refcounts on sinkpad.
9580
9581 2005-09-30  Wim Taymans  <wim@fluendo.com>
9582
9583         * gst/gstelement.c: (gst_element_set_state),
9584         (gst_element_change_state):
9585         Small tweak, element in ASYNC remains ASYNC.
9586
9587 2005-09-30  Wim Taymans  <wim@fluendo.com>
9588
9589         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9590         Only error is an error.
9591
9592         * gst/gstbin.c: (gst_bin_change_state):
9593         Better debugging.
9594
9595         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9596         Also call pad_block in pad alloc.
9597
9598         * gst/gstutils.c: (gst_flow_get_name):
9599         Better debugging.
9600
9601 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9602
9603         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9604         (gst_base_src_get_range):
9605           Fix documentation typos. Add some more debug info.
9606
9607 2005-09-29  David Schleef  <ds@schleef.org>
9608
9609         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9610           more end-user friendly.
9611         * tools/gst-inspect.c: (main): Check if command-line argument is
9612           a file and attempt to load that file as a plugin.
9613
9614 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9615
9616         * check/gst/gstbin.c:
9617         * check/states/sinks.c:
9618           fix tests for the new warning
9619         * check/gst/gstpipeline.c:
9620           add a test for pipeline and bus interaction
9621         * gst/gstelement.c:
9622           elements should be NULL if they get disposed; add a warning if not
9623
9624 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9625
9626         * gst/gstobject.c:
9627           for 2.6 refcounting, make debug log more correct by printing
9628           the actual refcounts at the time of swap (Wim)
9629
9630 2005-09-29  Andy Wingo  <wingo@pobox.com>
9631
9632         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9633         removes signal watches previously added via
9634         gst_bus_add_signal_watch.
9635         (gst_bus_add_signal_watch): Don't return the source id, just store
9636         it on the bus if there wasn't an id already.
9637
9638         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9639         add_signal_watch and remove_signal_watch.
9640
9641 2005-09-29  Edward Hervey  <edward@fluendo.com>
9642
9643         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
9644         Better if we actually iterate the list :)
9645
9646 2005-09-29  Wim Taymans  <wim@fluendo.com>
9647
9648         * check/gst/gstbin.c: (GST_START_TEST):
9649         Change for new bus API.
9650
9651         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9652         (send_messages), (GST_START_TEST), (gstbus_suite):
9653         Change for new bus signal API.
9654
9655         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9656         (gst_bus_source_prepare), (gst_bus_source_check),
9657         (gst_bus_create_watch), (gst_bus_add_watch_full),
9658         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9659         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9660         * gst/gstbus.h:
9661         Remove support for multiple GSources operating on different
9662         message types as it is too complex and unneeded when using
9663         signals.
9664         Added support for receiving signals from the bus.
9665
9666 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9667
9668         * docs/libs/tmpl/gstdataprotocol.sgml:
9669         * docs/manual/advanced-dataaccess.xml:
9670         * gst/elements/gstcapsfilter.c:
9671         * gst/gstutils.c:
9672           rename filter-caps to caps property
9673
9674 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9675
9676         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9677           More robust fraction string parsing.
9678
9679         * docs/pwg/appendix-porting.xml:
9680           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9681
9682 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         * gst/gstcaps.c: (gst_caps_do_simplify):
9685           Thou shalt not free a structure and then continue using it
9686           in the next loop iteration.
9687
9688         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9689         (gst_caps_suite):
9690           Add test case for caps simplification.
9691
9692 2005-09-29  Wim Taymans  <wim@fluendo.com>
9693
9694         * check/gst/gstbin.c: (GST_START_TEST):
9695         Oops.
9696
9697 2005-09-29  Wim Taymans  <wim@fluendo.com>
9698
9699         * check/gst/gstbin.c: (GST_START_TEST):
9700         Add bus to bin.
9701
9702         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9703         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9704         (find_element), (gst_bin_sort_iterator_next),
9705         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9706         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9707         (gst_bin_change_state), (gst_bin_dispose):
9708         A bin does not have a bus, it gets the bus from the parent.
9709
9710         * gst/gstelement.c: (gst_element_requires_clock),
9711         (gst_element_provides_clock), (gst_element_is_indexable),
9712         (gst_element_is_locked_state), (gst_element_change_state),
9713         (gst_element_set_bus_func):
9714         Small cleanups.
9715
9716         * gst/gstpipeline.c: (gst_pipeline_class_init),
9717         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9718         The pipeline provides a bus.
9719
9720 2005-09-28  Johan Dahlin  <johan@gnome.org>
9721
9722         * gst/gstmessage.c (gst_message_parse_state_changed): Use
9723         gst_structure_get_enum instead of gst_structure_get_int
9724
9725         * gst/gststructure.c (gst_structure_get_enum): Impl.
9726
9727         * gst/gststructure.h (gst_structure_get_enum): Add
9728
9729         * docs/gst/gstreamer-sections.txt: Ditto
9730
9731         * gst/gstmessage.c (gst_message_new_state_changed): Use
9732         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9733         which does introspection.
9734         Reviewed by Christian Schaller
9735
9736 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
9737
9738         * gst/gstinfo.c: (gst_debug_log_default):
9739           don't do dummy g_strdup()s
9740         * libs/gst/controller/gstcontroller.c:
9741         (on_object_controlled_property_changed),
9742         (gst_controlled_property_new), (gst_controller_new_valist),
9743         (gst_controller_new_list),
9744         (gst_controller_remove_properties_valist), (gst_controller_set),
9745         (gst_controller_get), (gst_controller_sync_values),
9746         (gst_controller_get_value_array), (_gst_controller_class_init),
9747         (gst_controller_get_type):
9748         * libs/gst/controller/gstcontroller.h:
9749         * libs/gst/controller/gstinterpolation.c:
9750         (gst_controlled_property_find_timed_value_node):
9751           convert // to /**/ comments
9752
9753 2005-09-28  Wim Taymans  <wim@fluendo.com>
9754
9755         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9756         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9757         (gst_bus_sync_signal_handler):
9758         * gst/gstbus.h:
9759         Added async-message and sync-message signals to the bus.
9760         Added helper BusFunc to emit signals for all posted messages.
9761
9762         * gst/gstmessage.c: (gst_message_type_get_name),
9763         (gst_message_type_to_quark), (gst_message_get_type):
9764         * gst/gstmessage.h:
9765         Register quarks for message names.
9766
9767 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
9768
9769         * docs/libs/gstreamer-libs-sections.txt:
9770         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9771         (gst_controller_new_list):
9772         * libs/gst/controller/gstcontroller.h:
9773           added another constructor for language bindings
9774
9775 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9776
9777         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9778           add another check
9779         * gst/gstbus.c:
9780           add some doc
9781         * gst/gstinfo.c: (_gst_debug_init):
9782           slightly more readable color for refcount debugging
9783
9784 2005-09-28  Wim Taymans  <wim@fluendo.com>
9785
9786         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9787         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9788         (find_element), (gst_bin_sort_iterator_next),
9789         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9790         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9791         (gst_bin_change_state), (gst_bin_dispose):
9792         Small doc fixes. get_clock -> provide_clock.
9793
9794         * gst/gstelement.c: (gst_element_class_init),
9795         (gst_element_provides_clock), (gst_element_provide_clock),
9796         (gst_element_get_clock), (gst_element_commit_state),
9797         (gst_element_lost_state):
9798         * gst/gstelement.h:
9799         Make get/set_clock() symetric. Add provide_clock vmethod since
9800         that is actually what this function does.
9801
9802         * gst/gstpipeline.c: (gst_pipeline_class_init),
9803         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9804         (gst_pipeline_get_clock):
9805         get_clock -> provide_clock.
9806
9807 2005-09-28  Andy Wingo  <wingo@pobox.com>
9808
9809         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9810         lieu of real docs...
9811
9812         * gst/elements/gstfdsrc.c: Cleaned up a bit.
9813
9814 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
9815
9816         * gst/elements/gstcapsfilter.c:
9817         * gst/elements/gstfakesink.c:
9818         * gst/elements/gstfakesrc.c:
9819         * gst/elements/gstfdsink.c:
9820         * gst/elements/gstfdsrc.c:
9821         * gst/elements/gstfilesink.c:
9822         * gst/elements/gstfilesrc.c:
9823         * gst/elements/gstidentity.c:
9824         * gst/elements/gsttee.c:
9825         * gst/elements/gsttypefindelement.c:
9826           Make element details static.
9827
9828 2005-09-28  Wim Taymans  <wim@fluendo.com>
9829
9830         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9831         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9832         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9833         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9834         (gst_bin_change_state), (gst_bin_dispose):
9835         Some documentation updates.
9836         Clean up dispose handlers.
9837
9838         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
9839         * gst/gstpad.c: (gst_pad_dispose):
9840         Clean up dispose handler.
9841
9842         * gst/gstpipeline.c: (gst_pipeline_change_state):
9843         Removed spurious UNLOCK.
9844
9845 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
9846
9847         * docs/gst/gstreamer-sections.txt:
9848         * gst/base/gstbasesrc.h:
9849         * gst/gstelement.h:
9850         * gst/gstevent.h:
9851         * gst/gstobject.h:
9852         * gst/gstpad.h:
9853         * gst/gstpipeline.c:
9854         * gst/gstpipeline.h:
9855         * gst/gstutils.h:
9856         * gst/gstxml.h:
9857           added two new functions to the docs
9858                 documents all undocumented GstXXXFlags
9859                 completed some incomplete docs 
9860
9861 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9862
9863         * gst/gstbin.c: (gst_bin_dispose):
9864         * gst/gstelement.c: (gst_element_dispose):
9865           remove now useless and leaky resurrection code in dispose
9866         * gst/base/gstbasesrc.c: (gst_base_src_init):
9867         * gst/gstelementfactory.c: (gst_element_factory_create):
9868         * gst/gstobject.c: (gst_object_set_parent):
9869           add some debugging
9870
9871 2005-09-27  Wim Taymans  <wim@fluendo.com>
9872
9873         * docs/design/part-TODO.txt:
9874         Update TODO.
9875
9876         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9877         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9878         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9879         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9880         (gst_bin_change_state):
9881         * gst/gstelement.h:
9882         Remove element variable, we keep element info in the iterator now.
9883
9884 2005-09-27  Andy Wingo  <wingo@pobox.com>
9885
9886         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
9887         values.
9888
9889 2005-09-27  Wim Taymans  <wim@fluendo.com>
9890
9891         * check/gst/gstbin.c: (GST_START_TEST):
9892         Enable check that works now.
9893
9894         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9895         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9896         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9897         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9898         (gst_bin_change_state):
9899         * gst/gstbin.h:
9900         Redid the state change algorithm using a topological sort algo.
9901         Handles all cases correctly.
9902         Exposed iterator for state change order.
9903
9904         * gst/gstelement.h:
9905         Temp storage for state changes. Need to get rid of this soon.
9906
9907 2005-09-27  Wim Taymans  <wim@fluendo.com>
9908
9909         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
9910         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
9911         (link_fold_func), (gst_pad_proxy_setcaps):
9912         Leak fixes, the fold functions need to unref the passed object and
9913         _get_parent_*() returns ref to parent.
9914
9915 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9916
9917         * check/gst/gstbuffer.c: (test_make_writable):
9918           Plug leak in test case and fix 'make check-valgrind'
9919
9920 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9921
9922         * gst/gstbuffer.c: (gst_subbuffer_init):
9923           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
9924           works correctly in all circumstances (we could have just copied
9925           the parent buffer's readonly flag, but conceptually it seems
9926           cleaner to mark all subbuffers as read-only). (based on patch
9927           by Alessandro Decina, #314710).
9928         
9929         * check/gst/gstbuffer.c: (create_read_only_buffer),
9930         (test_make_writable), (test_subbuffer_make_writable),
9931         (gst_test_suite):
9932           Add some tests for gst_buffer_make_writable().
9933
9934 2005-09-27  Wim Taymans  <wim@fluendo.com>
9935
9936         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
9937         use gst_object_has_ancestor().
9938
9939         * gst/gstobject.c: (gst_object_has_ancestor):
9940         * gst/gstobject.h:
9941         gst_object_has_ancestor() copied from gstbin.c as it is a
9942         usefull function.
9943
9944         * tests/instantiate/create.c: (create_all_elements):
9945         * tests/lat.c: (handoff_src), (handoff_sink):
9946         * tests/sched/runxml.c: (main):
9947         * tests/seeking/seeking1.c: (main):
9948         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9949         (main):
9950         Fix compilation of some tests.
9951
9952 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9953
9954         * gst/gsterror.h:
9955           Remove comment. GST_TYPE_G_ERROR is here to stay,
9956           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
9957           (#316961, #300610).
9958
9959 2005-09-26  Wim Taymans  <wim@fluendo.com>
9960
9961         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9962         Added check that shows error in state change order.
9963
9964 2005-09-26  Wim Taymans  <wim@fluendo.com>
9965
9966         * gst/gstbin.c: (gst_bin_change_state):
9967         Make state change function use 3 queues again, we were
9968         adding elements in the wrong order.
9969
9970         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9971         Some debug info,
9972
9973         * gst/gstpad.c: (gst_pad_dispose):
9974         Added some debug info first.
9975
9976 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
9977
9978         * docs/design/draft-push-pull.txt:
9979         * docs/design/part-events.txt:
9980         * docs/design/part-overview.txt:
9981         * docs/design/part-scheduling.txt:
9982           Replace all _pull_region() with _pull_range()
9983           
9984 2005-09-26  Andy Wingo  <wingo@pobox.com>
9985
9986         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
9987
9988         * check/gst-libs/controller.c: Update for controller api change.
9989
9990         * configure.ac: 
9991         * tests/Makefile.am:
9992         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
9993         over by GLib bug 118439.
9994         
9995         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
9996         routines to a function.
9997
9998         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
9999
10000         * libs/gst/controller/gsthelper.c:
10001         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10002         (gst_object_sync_values): Renamed from sink_values. Ugh.
10003
10004         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10005
10006         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10007         Renamed from controller_key, as it is exported.
10008
10009         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10010
10011 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
10012
10013         * gst/Makefile.am:
10014         * gst/gst.h:
10015         * gst/gstpad.h:
10016         * gst/gstpadtemplate.h:
10017         * gst/gstquery.c:
10018         * gst/gstquery.h:
10019         * gst/gstqueryutils.c:
10020         * gst/gstqueryutils.h:
10021           remove queryutils headers after moving the two used functions
10022           to gstquery.  also fixes build problem for gstsiddec
10023
10024 2005-09-26  Michael Smith <msmith@fluendo.com>
10025
10026         * tools/gst-launch.1.in:
10027         Correct documentation in manpage of debug syntax
10028
10029 2005-09-26  Wim Taymans  <wim@fluendo.com>
10030
10031         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10032         (gst_base_src_is_seekable), (gst_base_src_change_state):
10033         Some more debugging info.
10034
10035 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10036
10037         * docs/gst/gstreamer-sections.txt:
10038         * gst/base/gstbasetransform.h:
10039         * gst/gstindex.h:
10040           added more docs
10041
10042 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10043
10044         * docs/gst/.cvsignore:
10045         * docs/gst/tmpl/.cvsignore:
10046         * docs/gst/tmpl/gstpipeline.sgml:
10047         * docs/gst/tmpl/gstplugin.sgml:
10048         * gst/gstpipeline.c:
10049         * gst/gstplugin.c:
10050         * gst/gstplugin.h:
10051           inlined the last two docs files
10052           removed the tmpl directory from cvs (no more conflicts here!)
10053
10054 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10055
10056         * docs/gst/gstreamer-sections.txt:
10057         * docs/gst/tmpl/.cvsignore:
10058         * docs/gst/tmpl/gstpad.sgml:
10059         * docs/gst/tmpl/gstpadtemplate.sgml:
10060         * gst/Makefile.am:
10061         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10062         (gst_pad_finalize), (gst_pad_set_pad_template):
10063         * gst/gstpad.h:
10064         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10065         (gst_pad_template_class_init), (gst_pad_template_init),
10066         (gst_pad_template_dispose), (name_is_valid),
10067         (gst_static_pad_template_get), (gst_pad_template_new),
10068         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10069         (gst_pad_template_pad_created):
10070         * gst/gstpadtemplate.h:
10071           inlined two more docs
10072           factored gstpadtemplate out of gstpad
10073
10074 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
10075
10076         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10077         (test_children_state_change_order_semi_sink):
10078           Fix test case: we can't rely on a fixed state change order when
10079           going from READY => PAUSED because the sink might commit its 
10080           new state first when the first buffer created by the source 
10081           reaches the sink before the source has finished its change state.
10082           (Test case still fails at times, see #316856, comment 5 onwards)
10083
10084 2005-09-24  Wim Taymans  <wim@fluendo.com>
10085
10086         * docs/design/part-events.txt:
10087         * docs/design/part-gstbus.txt:
10088         * docs/design/part-gstpipeline.txt:
10089         * docs/design/part-messages.txt:
10090         * docs/design/part-overview.txt:
10091         * docs/design/part-segments.txt:
10092         * gst/gstbin.c:
10093         * gst/gstbuffer.c:
10094         * gst/gstclock.c:
10095         * gst/gstelement.c:
10096         * gst/gstevent.c:
10097         * gst/gstfilter.c:
10098         * gst/gstiterator.c:
10099         Various documentation updates.
10100
10101 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10102
10103         * gst/gstclock.h:
10104           Well, that's embarassing.  Luckily we weren't using
10105           GST_CLOCK_DIFF anywhere.
10106
10107 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10108
10109         * common/gtk-doc.mak:
10110           don't fail on building XML, FC4 slave shows a bunch of doc
10111           missing bits that I don't get
10112         * gst/gstpad.c:
10113         * gst/gstpipeline.c:
10114         * gst/gststructure.c:
10115           some doc updates
10116
10117 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10118
10119         * docs/design/part-gstbin.txt:
10120         * docs/design/part-gstbus.txt:
10121         * gst/gstbus.c:
10122           Add blurb about how the bus goes into flushing mode and
10123           drops all messages when its bin goes from READY into NULL 
10124           state.
10125
10126 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10127
10128         * docs/gst/gstreamer-sections.txt:
10129         * gst/gststructure.c: (gst_structure_get_clock_time):
10130         * gst/gststructure.h:
10131           add a method to get a GstClockTime out of a structure
10132
10133 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10134
10135         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10136         (test_children_state_change_order_semi_sink), (gst_bin_suite):
10137           Added test to check state change order in bins (can still be made
10138           to fail here under heavy disk load; bails out with 'Push on pad
10139           fakesink:sink0, but it was not activated in push mode').
10140
10141         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10142           Fix state change order when there is only a semi sink (#316856)
10143
10144         * gst/gstbus.c: (gst_bus_class_init):
10145           Use _class_peek_parent(), not _class_ref(); fix docs to say
10146           'default main context' instead of 'mainloop' where that is
10147           what's meant.
10148
10149         * gst/gstelement.c: (gst_element_commit_state),
10150         (gst_element_set_state):
10151           Fix typos in debug messages
10152
10153 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10154
10155         * docs/README:
10156         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10157         * gst/gstpluginfeature.c:
10158         * gst/gstutils.c:
10159           various doc updates
10160         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10161           change an assert into an error until it gets fixed properly
10162
10163 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
10164
10165         * docs/gst/gstreamer-sections.txt:
10166         * docs/gst/tmpl/.cvsignore:
10167         * docs/gst/tmpl/gstelement.sgml:
10168         * docs/gst/tmpl/gstinfo.sgml:
10169         * docs/gst/tmpl/gstobject.sgml:
10170         * gst/gstelement.c:
10171         * gst/gstelement.h:
10172         * gst/gstinfo.c:
10173         * gst/gstinfo.h:
10174         * gst/gstobject.c: (gst_object_class_init):
10175         * gst/gstobject.h:
10176           inlined 3 more biiiig doc files and added some missing docs on the fly
10177
10178 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10179
10180         * check/gst/.cvsignore:
10181         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10182         * gst/gstregistryxml.c: (load_plugin),
10183         (gst_registry_xml_save_plugin):
10184           put back source in registry.  add checks for find_plugin.
10185         * testsuite/states/bin.c: (assert_state), (empty_bin),
10186         (test_adding_one_element), (main):
10187         * testsuite/states/locked.c: (main):
10188           some compile/run fixes
10189
10190 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10191
10192         * check/gst/gstvalue.c: (GST_START_TEST):
10193           fix leaks in the test itself
10194
10195 2005-09-22  Wim Taymans  <wim@fluendo.com>
10196
10197         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10198         (gst_base_sink_send_event), (gst_base_sink_peer_query),
10199         (gst_base_sink_query):
10200         Prepare for more accurate position reporting and query
10201         handling.
10202
10203         * gst/gstelement.c: (gst_element_send_event),
10204         (gst_element_set_state):
10205         Add some comment.
10206
10207 2005-09-22  Wim Taymans  <wim@fluendo.com>
10208
10209         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10210         (gst_query_parse_segment):
10211         * gst/gstquery.h:
10212         More documentation.
10213         Add segment query for future use.
10214
10215 2005-09-22  Wim Taymans  <wim@fluendo.com>
10216
10217         * gst/gstbin.c: (gst_bin_add_func):
10218         Some more debug info.
10219
10220         * gst/gstelement.c: (gst_element_send_event):
10221         Simplify send_event
10222
10223         * gst/gstelement.h:
10224         Don't know how flags got broken.
10225
10226         * gst/gstquery.h:
10227         Added new query.
10228
10229 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10230
10231         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10232           Add simplistic test suite for GST_TYPE_DATE serialisation and
10233           deserialisation.
10234
10235 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10236
10237         * docs/gst/gstreamer-sections.txt:
10238         * gst/gststructure.c: (gst_structure_set_valist),
10239         (gst_structure_get_date):
10240         * gst/gststructure.h:
10241         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10242         (gst_date_copy), (gst_value_compare_date),
10243         (gst_value_serialize_date), (gst_value_deserialize_date),
10244         (gst_value_transform_date_string),
10245         (gst_value_transform_string_date), (_gst_value_initialize):
10246         * gst/gstvalue.h:
10247           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10248           bunch of utility functions along with a hack that checks that
10249           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10250           is required. Part of the grand scheme in #170777.
10251
10252 2005-09-22  Andy Wingo  <wingo@pobox.com>
10253
10254         * gst/gstconfig.h.in: Psych out gtk-doc.
10255
10256         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10257
10258         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10259
10260         * tools/gst-inspect.c (print_element_list): Plug some
10261         inconsequential leaks.
10262
10263         * gst/gstregistry.c (gst_registry_get_default): Doc.
10264
10265         * check/gst/gstplugin.c: 
10266         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10267         * gst/gstelementfactory.c (gst_element_factory_create): 
10268         * gst/gstindexfactory.c (gst_index_factory_create): Update for
10269         refcount changes.
10270
10271         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10272         (gst_plugin_feature_load): Doc, don't eat refs.
10273
10274         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10275         (gst_plugin_list_free): Doc.
10276         (gst_plugin_load_file): Doc updates.
10277
10278         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10279         accessors returning refcounted objects, return a ref.
10280
10281         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10282         accessor for caps. IDEMPOTENCE. Oh yes.
10283
10284 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
10285
10286         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10287
10288         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10289         (_gst_debug_register_funcptr):
10290           Add mutex to serialise access to the hash table with
10291           the function pointer => function name string mapping;
10292           make that hash table static scope (#316809).
10293
10294         * gst/registries/.cvsignore:
10295           Remove left-over file.
10296
10297 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10298
10299         * docs/pwg/appendix-porting.xml:
10300           And something about newsegment events and caps-on-buffers to
10301           the porting guide (feel free to improve).
10302
10303 2005-09-21  Andy Wingo  <wingo@pobox.com>
10304
10305         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10306         data and event probes on the same pad.
10307         (test_buffer_probe_once): Test that removing probes from within
10308         the probe functions works.
10309
10310 2005-09-21  Andy Wingo  <wingo@pobox.com>
10311
10312         * check/gst/gstutils.c: New file.
10313         (test_buffer_probe_n_times): A simple buffer probe test. More to
10314         come, foolios.
10315
10316         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10317         have-data::buffer, not have-data.
10318         (gst_pad_add_event_probe): Likewise for have-data::event.
10319         (gst_pad_add_data_probe): More docs. The part about 'resolving the
10320         peer' isn't quite right yet though.
10321         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
10322         (gst_pad_remove_data_probe): Change to take the guint handler_id
10323         as their arg, not the function+data, which is more glib-like.
10324
10325         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10326         the signal emission to indicate if the data is a buffer or an
10327         event.
10328         (gst_pad_get_type): Initialize buffer and event quarks.
10329         (gst_pad_class_init): have-data is now a detailed signal, yes it
10330         is.
10331
10332 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10333
10334         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10335         * gst/gstutils.c: (gst_util_set_value_from_string),
10336         (gst_util_set_object_arg):
10337           Don't put functional code in g_return_if_fail() or
10338           g_return_val_if_fail() statements, otherwise things will 
10339           break when G_DISABLE_CHECKS is defined during compilation.
10340
10341 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10342
10343         * docs/gst/tmpl/.cvsignore:
10344         * docs/gst/tmpl/gstvalue.sgml:
10345         * gst/gstvalue.c:
10346         * gst/gstvalue.h:
10347           inlied another one and added  some obvious docs
10348
10349 2005-09-21  Wim Taymans  <wim@fluendo.com>
10350
10351         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10352         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10353         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10354         (gst_fdsrc_get_property), (gst_fdsrc_create):
10355         * gst/elements/gstfdsrc.h:
10356         Properly implement fdsrc. Removed signal and timeout,
10357         better implemented somewhere else.
10358
10359 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10360
10361         * docs/gst/tmpl/.cvsignore:
10362         * docs/gst/tmpl/gstimplementsinterface.sgml:
10363         * gst/gstinterface.c:
10364           inlined more docs
10365
10366 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10367
10368         * docs/gst/gstreamer-sections.txt:
10369         * docs/gst/tmpl/.cvsignore:
10370         * docs/gst/tmpl/gstenumtypes.sgml:
10371           remove obsolete doc file
10372
10373 2005-09-21  David Schleef  <ds@schleef.org>
10374
10375         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10376         little beer, fix a little leak.
10377
10378 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10379
10380         * docs/gst/gstreamer-docs.sgml:
10381         * docs/gst/gstreamer-sections.txt:
10382         * docs/gst/tmpl/.cvsignore:
10383         * gst/Makefile.am:
10384         * gst/gst.h:
10385         * gst/gstbin.c:
10386         * gst/gstelement.h:
10387         * gst/gstindex.c: (gst_index_class_init):
10388         * gst/gstindex.h:
10389         * gst/gstindexfactory.c: (gst_index_factory_get_type),
10390         (gst_index_factory_class_init), (gst_index_factory_init),
10391         (gst_index_factory_finalize), (gst_index_factory_new),
10392         (gst_index_factory_destroy), (gst_index_factory_find),
10393         (gst_index_factory_create), (gst_index_factory_make):
10394         * gst/gstindexfactory.h:
10395         * gst/gstpluginfeature.c:
10396         * gst/gstpluginfeature.h:
10397         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10398           more docs inlined, splitted gstindex.{c,h}
10399
10400 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10401
10402         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10403           fix a leak
10404
10405 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10406
10407         * gst/elements/gstfilesink.c: (gst_file_sink_init):
10408           Set sync to FALSE by default.
10409
10410 2005-09-20  Wim Taymans  <wim@fluendo.com>
10411
10412         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10413         (gst_base_sink_init):
10414         Make sync property settable from subclass.
10415
10416         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10417         (gst_fake_sink_change_state):
10418         Set sync to FALSE by default.
10419
10420 2005-09-20  Wim Taymans  <wim@fluendo.com>
10421
10422         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10423         * tools/gst-launch.c: (main):
10424         The timeout handler should have lower priority than the source
10425         so we don't timeout before popping a message with 0 timeout.
10426         Dump error messages after failed state change.
10427
10428 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10429
10430         * tools/gst-inspect.c: (print_element_properties_info):
10431           Fix two typos.
10432
10433 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10434
10435         * check/gst/gstevent.c:
10436         * gst/elements/gstfakesink.c:
10437         * gst/elements/gstfakesink.h:
10438           remove the sync property from fakesink.
10439           has the side effect of setting sync TRUE
10440           for fakesink, which is a change.  Anyone who knows how
10441           to fix this nicely in a GObject-y way, feel free.
10442
10443 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10444
10445         * docs/gst/gstreamer-docs.sgml:
10446           remove probe refsection
10447
10448 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10449
10450         * check/Makefile.am:
10451           disable valgrinding the controller test again
10452         * docs/gst/gstreamer-sections.txt:
10453           update for api-changes
10454
10455 2005-09-20  Wim Taymans  <wim@fluendo.com>
10456
10457         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10458         (gst_base_sink_set_property), (gst_base_sink_get_property),
10459         (gst_base_sink_do_sync):
10460         * gst/base/gstbasesink.h:
10461         Added sync property to basesink to disable clock sync.
10462
10463 2005-09-20  Andy Wingo  <wingo@pobox.com>
10464
10465         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10466         eating the caller's refcount.
10467
10468         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
10469         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10470         refcount.
10471
10472         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10473         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10474         of GLib 2.8 public, so we can know which refcount to check in
10475         tests.
10476
10477         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10478         (gst_object_init): Only set the gst refcount if we're going ahead
10479         with the refcount hack.
10480
10481 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10482
10483         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10484         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10485           more leaks plumbed, added more debug-logging
10486         * gst/gstmacros.h:
10487           whitespace fix
10488
10489 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10490
10491         * gst/gstmessage.c:
10492           remove include of gstmemchunk.h
10493
10494 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10495
10496         * gst/gstclock.c: (_gst_clock_id_free):
10497           Commit from the Political Party For More Atomic CVS Commits,
10498           so that people don't waste too much of their day fishing
10499           out obvious leaks out of massive commits.
10500           Oh, and fix a pretty damn obvious leak in the memchunk
10501           removal code.
10502
10503 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10504
10505         * check/Makefile.am:
10506         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10507           plug mem-leak, re-add to valgrindable tests
10508
10509 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10510
10511         * gst/gstplugin.h:
10512           unbreak the build for those who have chronic arthritis
10513           and typing "make check" is just too taxing on the hands
10514
10515 2005-09-20  Andy Wingo  <wingo@pobox.com>
10516
10517         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10518         really want it out, you should fix plugins at the same time.
10519
10520 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
10521
10522         * configure.ac:
10523         * docs/gst/gstreamer-sections.txt:
10524         * gst/gstobject.c:
10525           added missing symbols to api docs
10526           disable ref-count hack if we have glib >= 2.8
10527
10528 2005-09-19  David Schleef  <ds@schleef.org>
10529
10530         * docs/gst/Makefile.am: Ignore a few more internal headers
10531         * docs/gst/gstreamer-docs.sgml: Remove old sections
10532         * docs/gst/gstreamer-sections.txt: Remove old sections
10533         * docs/gst/tmpl/gstobject.sgml: update
10534         * docs/gst/tmpl/gstplugin.sgml: update
10535         * docs/gst/tmpl/gstpluginfeature.sgml: update
10536         * docs/random/ds/0.9-suggested-changes: update.
10537         * gst/Makefile.am: remove memchunk and trashstack, since they're
10538           not used.
10539         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10540         * gst/gst.h: don't include some headers
10541         * gst/gstchildproxy.c: add gstmarshal.h
10542         * gst/gstclock.c: Don't use memchunks
10543         * gst/gstminiobject.c: Add some docs
10544         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10545         * gst/gstobject.h: same
10546         * gst/gstplugin.c: include gstmacros.h
10547         * gst/gstplugin.h: don't include gstmacros.h, since it's private
10548         * gst/gstquery.c: don't use memchunks
10549         * gst/gstregistry.c: rename gst_registry_deinit()
10550         * gst/gstregistry.h: same
10551
10552 2005-09-19  David Schleef  <ds@schleef.org>
10553
10554         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10555         * docs/libs/gstreamer-libs-sections.txt:
10556         * docs/libs/tmpl/gstgetbits.sgml:
10557         * docs/libs/tmpl/gstputbits.sgml:
10558
10559 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
10560
10561         * win32/gstenumtypes.c:
10562         * win32/gstenumtypes.h:
10563           Update.
10564
10565 2005-09-19  Wim Taymans  <wim@fluendo.com>
10566
10567         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10568         Automatically PAUSE and RESUME a pipeline when a flushing seek
10569         is performed.
10570
10571 2005-09-19  Andy Wingo  <wingo@pobox.com>
10572
10573         * gst/gstregistry.h: Spacing fixen.
10574
10575 2005-09-19  Wim Taymans  <wim@fluendo.com>
10576
10577         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10578         Handle state change failure more correctly.
10579
10580 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10581
10582         * check/Makefile.am:
10583         * check/pipelines/cleanup.c: (run_pipeline):
10584         * check/pipelines/simple_launch_lines.c: (run_pipeline),
10585         (GST_START_TEST):
10586           enable cleanup again after fixing the leak
10587         * docs/README:
10588           some more info on docs
10589
10590 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10591
10592         * check/Makefile.am:
10593           re-enable tests now that leaks are plugged
10594         * check/gst/gst.c:
10595         * check/gst/gstbin.c:
10596         * check/gst/gstpipeline.c:
10597           add some more tests while fixing leaks
10598         * common/check.mak:
10599           make sure binaries are uptodate when valgrinding/gdbing
10600         * gst/gst.c:
10601         * gst/gstelementfactory.c:
10602           remove a ref too many, and add a FIXME for when we get
10603           round to disposing of classes
10604         * gst/gstplugin.c:
10605           fix the refcounting when loading a plugin from a file and
10606           the code pretends that the pointer is the same even though
10607           of course it can change
10608         * gst/gstpluginfeature.c:
10609           unref plugins marked cached (a bit confusing as a name)
10610           as the docs state should be done
10611           various doc additions to explain refcounting
10612         * gst/gstregistry.c:
10613         * gst/gstregistryxml.c:
10614           debugging
10615
10616 2005-09-19  Wim Taymans  <wim@fluendo.com>
10617
10618         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10619         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10620         (send_messages), (GST_START_TEST), (gstbus_suite):
10621         * check/gst/gstpipeline.c: (GST_START_TEST):
10622         * check/pipelines/cleanup.c: (run_pipeline):
10623         * check/pipelines/simple_launch_lines.c: (run_pipeline),
10624         (GST_START_TEST):
10625         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10626         (gst_bus_source_check), (gst_bus_source_dispatch),
10627         (gst_bus_create_watch), (gst_bus_add_watch_full),
10628         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10629         * gst/gstbus.h:
10630         * tools/gst-launch.c: (event_loop):
10631         * tools/gst-md5sum.c: (event_loop):
10632         GstBusHandler -> GstBusFunc, return value has the same meaning as
10633         any other GSource (FALSE == remove source).
10634         _add_watch() and _add_watch_full() now take a MessageType mask to
10635         only handle specific types of messages.
10636         _poll() returns the GstMessage instead of the message type to avoid
10637         race conditions.
10638         _have_pending() takes a MessageType mask now too.
10639         Added testsuite for multiple bus watches.
10640         Fix testsuites and applications for new bus API.
10641
10642 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10643
10644         * check/Makefile.am:
10645           mark a bunch of the tests as to fix until we fix them
10646
10647 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10648
10649         * common/check.mak:
10650           use GST_PLUGIN settings for valgrind tests as well, so we're
10651           valgrinding the correct thing
10652         * gst/gst.c: (init_post):
10653           plug another leak
10654
10655 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10656
10657         * gst/gst.c: (init_post), (gst_deinit):
10658         * gst/gstelementfactory.c: (gst_element_factory_class_init),
10659         (gst_element_factory_finalize), (gst_element_factory_cleanup):
10660         * gst/gstindex.c: (gst_index_factory_class_init),
10661         (gst_index_factory_finalize):
10662         * gst/gstobject.c: (gst_object_dispose):
10663         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10664         (gst_plugin_load_file), (gst_plugin_desc_free):
10665         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10666         (gst_plugin_feature_finalize):
10667         * gst/gstregistry.c: (gst_registry_class_init),
10668         (gst_registry_init), (gst_registry_finalize),
10669         (gst_registry_get_default), (gst_registry_deinit):
10670         * gst/gstregistry.h:
10671         * gst/gstregistryxml.c: (load_feature), (load_plugin):
10672           various cleanups and memleak plugging.  make valgrind is happy now.
10673
10674 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10675
10676         * common/check.mak:
10677           add a check-valgrind target
10678
10679 2005-09-18  David Schleef  <ds@schleef.org>
10680
10681         * tools/gst-inspect.c: Revert the GOption code.
10682
10683 2005-09-17  David Schleef  <ds@schleef.org>
10684
10685         * check/Makefile.am: Fix environment variables.
10686         * check/gst/gstplugin.c: Fix for API changes.
10687         * tools/gst-inspect.c: Fix for API changes.
10688         * tools/gst-xmlinspect.c: Fix for API changes.
10689         * gst/gstelementfactory.c:
10690         * gst/gstplugin.c:
10691         * gst/gstplugin.h:
10692         * gst/gstpluginfeature.c:
10693         * gst/gstpluginfeature.h:
10694         * gst/gstregistry.c:
10695         * gst/gstregistry.h:
10696         * gst/gstregistryxml.c:
10697         * gst/gsttypefind.c:
10698         * gst/gsttypefindfactory.c:
10699         * gst/indexers/gstfileindex.c:
10700         * gst/indexers/gstmemindex.c:
10701         * gst/schedulers/Makefile.am:
10702           Change registry to keep track of both plugins and features,
10703           removing the feature tracking from plugins themselves.
10704
10705 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10706
10707         * check/Makefile.am:
10708         * tools/gst-register.1.in:
10709           remove gst-register
10710
10711 2005-09-15  David Schleef  <ds@schleef.org>
10712
10713         * check/gst/gstplugin.c:
10714         * gst/gstelementfactory.c:
10715         * gst/gstplugin.c:
10716         * gst/gstpluginfeature.c:
10717         * gst/gstregistry.c:
10718           Getting tired of debugging.  Disabled all the unreffing of
10719           plugins and features, which fixes the segfaults, but of
10720           course leaks like crazy.  At least playbin works.
10721
10722 2005-09-15  David Schleef  <ds@schleef.org>
10723
10724         * check/gst/gstplugin.c: (register_check_elements),
10725         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10726         More testing
10727         * gst/elements/gsttypefindelement.c: Fix refcounting.
10728         * gst/gsttypefind.c:
10729         * gst/gsttypefindfactory.c:
10730         * gst/gsttypefindfactory.h:
10731
10732 2005-09-15  David Schleef  <ds@schleef.org>
10733
10734         * gst/gstindex.c: get refcounting correct.
10735         * gst/gstregistry.c: Handle the case where a feature/plugin is
10736           not found.
10737
10738 2005-09-15  David Schleef  <ds@schleef.org>
10739
10740         * check/Makefile.am:
10741         * check/gst/gstplugin.c: Add test
10742         * gst/gstplugin.c: Fix problems noticed by testsuite
10743         * gst/gstplugin.h:
10744         * gst/gstregistry.c: 
10745         * gst/gstregistry.h:
10746
10747 2005-09-15  David Schleef  <ds@schleef.org>
10748
10749         * gst/gstplugin.c: Implement semi-decent recounting and locking
10750           in plugins and plugin features.
10751         * gst/gstplugin.h:
10752         * gst/gstpluginfeature.c:
10753         * gst/gstpluginfeature.h:
10754         * gst/gstregistry.c:
10755
10756 2005-09-15  Michael Smith <msmith@fluendo.com>
10757
10758         * gst/gstregistry.c: (gst_registry_get_feature_list):
10759           Implement this. Makes oggdemux work; decodebin still broken.
10760
10761 2005-09-14  David Schleef  <ds@schleef.org>
10762
10763         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
10764           #316076)
10765         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
10766         * gst/check/Makefile.am:
10767         * libs/gst/controller/Makefile.am:
10768         * libs/gst/dataprotocol/Makefile.am:
10769
10770 2005-09-14  David Schleef  <ds@schleef.org>
10771
10772         * configure.ac: Remove getbits library.  Nothing uses it, and
10773           it should be in something like liboil if someone did want
10774           to use it.
10775         * libs/gst/Makefile.am:
10776         * libs/gst/getbits/Makefile.am:
10777         * libs/gst/getbits/gbtest.c:
10778         * libs/gst/getbits/getbits.c:
10779         * libs/gst/getbits/getbits.h:
10780         * libs/gst/getbits/gstgetbits_generic.c:
10781         * libs/gst/getbits/gstgetbits_i386.s:
10782         * libs/gst/getbits/gstgetbits_inl.h:
10783
10784 2005-09-14  David Schleef  <ds@schleef.org>
10785
10786         * gst/Makefile.am: Dist glib-compat.h
10787
10788 2005-09-14  David Schleef  <ds@schleef.org>
10789
10790         * configure.ac: Remove gst/registries, since it's no longer used.
10791         * gst/registries/Makefile.am:
10792         * gst/registries/gstlibxmlregistry.c:
10793         * gst/registries/gstlibxmlregistry.h:
10794         * gst/registries/gstxmlregistry.c:
10795         * gst/registries/gstxmlregistry.h:
10796         * gst/registries/registrytest.c:
10797
10798 2005-09-14  David Schleef  <ds@schleef.org>
10799
10800         * gst/glib-compat.h:
10801         * gst/gstregistryxml.c:
10802           Convergence is near.  Seriously.
10803
10804 2005-09-14  David Schleef  <ds@schleef.org>
10805
10806         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10807         * gst/glib-compat.h:
10808           Attempt #4 to appease the buildbots.
10809
10810 2005-09-14  David Schleef  <ds@schleef.org>
10811
10812         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10813           Attempt #3.
10814
10815 2005-09-14  David Schleef  <ds@schleef.org>
10816
10817         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10818         Attempt #2.
10819
10820 2005-09-14  David Schleef  <ds@schleef.org>
10821
10822         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10823           the new functions.
10824
10825 2005-09-14  David Schleef  <ds@schleef.org>
10826
10827         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10828         * gst/glib-compat.h: Add some functions that are in newer versions
10829           of glib than we care to require.
10830         * gst/gstregistryxml.c: Use them.
10831
10832 2005-09-14  David Schleef  <ds@schleef.org>
10833
10834         * po/POTFILES.in: remove gst-register.c
10835
10836 2005-09-14  David Schleef  <ds@schleef.org>
10837
10838         * docs/gst/gstreamer-docs.sgml:
10839         * docs/gst/gstreamer-sections.txt:
10840         * docs/gst/gstreamer.types:
10841         * docs/gst/tmpl/gstelement.sgml:
10842         * docs/gst/tmpl/gstplugin.sgml:
10843         * docs/gst/tmpl/gstpluginfeature.sgml:
10844           Documentation updates for registry changes.
10845
10846 2005-09-14  David Schleef  <ds@schleef.org>
10847
10848         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
10849           because we don't require glib-2.8.
10850
10851 2005-09-14  David Schleef  <ds@schleef.org>
10852
10853         * gst/gstregistryxml.c: Added.  Essentially moved out of the
10854           registries directory.
10855
10856 2005-09-14  David Schleef  <ds@schleef.org>
10857
10858         * check/Makefile.am:
10859         * check/generic/states.c:
10860         * gst/Makefile.am:
10861         * gst/gst.c:
10862         * gst/gst.h:
10863         * gst/gst_private.h:
10864         * gst/gstelementfactory.c:
10865         * gst/gstindex.c:
10866         * gst/gstinfo.c:
10867         * gst/gstplugin.c:
10868         * gst/gstplugin.h:
10869         * gst/gstpluginfeature.c:
10870         * gst/gstpluginfeature.h:
10871         * gst/gstregistry.c:
10872         * gst/gstregistry.h:
10873         * gst/gstregistrypool.c: remove
10874         * gst/gstregistrypool.h: remove
10875         * gst/gsttypefind.c:
10876         * gst/gsttypefindfactory.c:
10877         * gst/gsturi.c:
10878         * tools/Makefile.am:
10879         * tools/gst-compprep.c:
10880         * tools/gst-inspect.c:
10881         * tools/gst-register.c: remove
10882         * tools/gst-xmlinspect.c:
10883           Registry rewrite.  Changes registry from being a file created
10884           by a tool into a simple cache file created automatically by 
10885           libgstreamer.  Removed gst-register (because it's no longer
10886           needed).  Remove registry pools, because we only have one
10887           registry implementation (XML).  Fix up other subsystems as
10888           necessary.
10889
10890 2005-09-13  Michael Smith <msmith@fluendo.com>
10891
10892         * gst/gstconfig.h.in:
10893           Don't Use windows linking attributes for MinGW. Fixes #316157
10894
10895 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10896
10897         * gst/gstutils.c: (set_state_async_thread_func),
10898         (gst_element_set_state_async):
10899           Apparently people think it's better if this function doesn't
10900           try to set the state to whatever state was asked for on the first
10901           call to this function for any object.  Seriously.
10902
10903 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10904
10905         * check/gst/gstpipeline.c: (GST_START_TEST):
10906         * docs/gst/gstreamer-sections.txt:
10907         * gst/gstutils.c: (set_state_async_thread_func),
10908         (gst_element_set_state_async):
10909         * gst/gstutils.h:
10910           add a "gst_element_set_state_async" method that
10911           sets the state and starts a thread to make sure the state
10912           change completes as best as it can
10913
10914 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10915
10916         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10917           codify design+behaviour in testsuite after discussion
10918
10919 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10920
10921         * docs/gst/tmpl/gstelement.sgml:
10922         * docs/manual/appendix-quotes.xml:
10923           add a quote
10924         * gst/gstelement.c: (gst_element_set_state):
10925           add some debug
10926
10927 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
10928
10929         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10930         (gst_base_transform_prepare_output_buf),
10931         (gst_base_transform_handle_buffer):
10932         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
10933         (gst_capsfilter_prepare_buf):
10934           Remove the requirement for sub-classes to call the parent
10935           implementation of prepare_output_buffer with a wrapper function.
10936           
10937         * gst/gsttaglist.h:
10938         * gst/gsttagsetter.h:
10939           Fix #define wrapper
10940
10941 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
10942
10943         * docs/gst/gstreamer-sections.txt:
10944           more doc cleanups
10945
10946 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10947
10948         * docs/gst/gstreamer-sections.txt:
10949         * docs/gst/tmpl/gstelement.sgml:
10950         * docs/gst/tmpl/gstplugin.sgml:
10951         * gst/gstminiobject.c:
10952         * gst/gstvalue.h:
10953           docs now stop throwing warnings
10954
10955 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10956
10957         * docs/gst/gstreamer-sections.txt:
10958         * docs/gst/gstreamer.types:
10959         * docs/gst/tmpl/gstpad.sgml:
10960         * docs/gst/tmpl/gsttypes.sgml:
10961         * gst/base/gstadapter.h:
10962         * gst/base/gstbasesink.h:
10963         * gst/base/gstbasesrc.h:
10964         * gst/gstbin.h:
10965         * gst/gstbuffer.h:
10966         * gst/gstbus.h:
10967         * gst/gstcaps.h:
10968         * gst/gstclock.h:
10969         * gst/gstelement.h:
10970         * gst/gstevent.h:
10971         * gst/gstmessage.h:
10972         * gst/gstpad.h:
10973         * gst/gststructure.c:
10974         * gst/registries/gstlibxmlregistry.h:
10975           various documentation fixes
10976
10977 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10978
10979         * docs/gst/gstreamer-sections.txt:
10980         * docs/gst/tmpl/gstvalue.sgml:
10981           rearrange gstvalue section
10982         * gst/gstutils.c: (gst_element_state_get_name):
10983           NONE -> VOID
10984         * gst/gstvalue.c: (_gst_value_initialize):
10985         * gst/gstvalue.h:
10986           doc updates
10987
10988 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
10989
10990         * check/gst-libs/controller.c:
10991           Header include fix.
10992         * gst/base/gstbasetransform.c:
10993         (gst_base_transform_default_prepare_buf),
10994         (gst_base_transform_handle_buffer):
10995         * gst/base/gstbasetransform.h:
10996           Some more basetransform changes and fixes to enable sub-classes
10997           that modify buffer metadata only.
10998         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10999         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11000         (gst_capsfilter_prepare_buf):
11001           If the output pad has fixed allowed caps and input buffers 
11002           don't have any, set the fixed caps on outgoing buffers.
11003
11004 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
11005         * check/elements/identity.c: (GST_START_TEST):
11006           Make the error a little clearer when the test fails because
11007           identity made a copy of the buffer.
11008         * docs/gst/gstreamer-sections.txt:
11009           New symbols in gstbasetransform.h
11010         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11011         (gst_base_transform_init), (gst_base_transform_transform_size),
11012         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11013         (gst_base_transform_default_prepare_buf),
11014         (gst_base_transform_get_unit_size),
11015         (gst_base_transform_buffer_alloc),
11016         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11017         (gst_base_transform_change_state),
11018         (gst_base_transform_set_passthrough),
11019         (gst_base_transform_set_in_place),
11020         (gst_base_transform_is_in_place):
11021         * gst/base/gstbasetransform.h:
11022           Change BaseTransform to separate in_place operate from same_caps
11023           output. in_place implies that the element can perform the transform
11024           on incoming buffers in-place, even if the caps on the output are
11025           different.
11026           Sub-class elements can now implement special buffer allocation
11027           methods for outgoing buffers if they wish to.
11028           Big documentation addition.
11029         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11030         * gst/elements/gstelements.c:
11031           Changes for basetransform modifications.
11032         * gst/elements/Makefile.am:
11033         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11034           Compile fix. Extra debug output.
11035
11036 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11037
11038         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11039         (gst_pad_suite):
11040           add tests for valid pad naming
11041         * gst/check/gstcheck.c: (gst_check_log_message_func),
11042         (gst_check_log_critical_func):
11043           add ASSERT_WARNING
11044           remove printing of code, it is fragile when the code contains
11045           % and the line number is enough info
11046         * gst/check/gstcheck.h:
11047         * gst/gstpad.c: (gst_pad_template_new):
11048           fix memleaks
11049
11050 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11051
11052         * configure.ac:
11053           say what CHECK flags we use
11054         * docs/libs/gstreamer-libs.types:
11055         * libs/gst/controller/Makefile.am:
11056         * libs/gst/controller/gst-controller.c:
11057         * libs/gst/controller/gst-controller.h:
11058         * libs/gst/controller/gst-helper.c:
11059         * libs/gst/controller/gst-interpolation.c:
11060         * libs/gst/controller/gstcontroller.c:
11061         * libs/gst/controller/gsthelper.c:
11062         * libs/gst/controller/gstinterpolation.c:
11063         * tools/gst-inspect.c: (print_plugin_info):
11064           we don't use dashes in header names
11065
11066 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11067
11068         * check/Makefile.am:
11069         * check/gst/.cvsignore:
11070         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11071         (gst_pipeline_suite), (main):
11072           adding a test for pipelines and state changes
11073         * gst/gstutils.c: (get_state_func):
11074           add some debugging
11075         * gstreamer.spec.in:
11076           fix up spec file
11077
11078 2005-09-08  Michael Smith <msmith@fluendo.com>
11079
11080         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11081         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11082         (gst_file_src_is_seekable), (gst_file_src_get_size),
11083         (gst_file_src_start):
11084         * gst/elements/gstfilesrc.h:
11085           Various fixes for unseekable, unmmapable, and non-normal files, so
11086           that fallback to read() rather than mmap() works.
11087         * gst/gstevent.c: (gst_event_new_newsegment):
11088           Allow newsegment events with segment_start == segment_end, as will
11089           correctly happen if you use filesrc on a zero-size file, for
11090           example.
11091
11092 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11093
11094         * gst/gstplugin.c: (gst_plugin_load_file):
11095           Call g_module_close when we don't load the module
11096
11097         * gst/registries/gstlibxmlregistry.c:
11098         (gst_xml_registry_get_property):
11099           Port leak fix from 0.8
11100
11101 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11102
11103         * docs/gst/gstreamer-docs.sgml:
11104         * docs/gst/tmpl/.cvsignore:
11105         * docs/gst/tmpl/gsttrace.sgml:
11106         * docs/gst/tmpl/gsttrashstack.sgml:
11107         * gst/Makefile.am:
11108         * gst/gst.h:
11109         * gst/gstelement.h:
11110         * gst/gstevent.h:
11111         * gst/gstmessage.c:
11112         * gst/gstmessage.h:
11113         * gst/gsttag.c:
11114         * gst/gsttag.h:
11115         * gst/gsttaginterface.c:
11116         * gst/gsttaginterface.h:
11117         * gst/gsttaglist.c:
11118         * gst/gsttaglist.h:
11119         * gst/gsttagsetter.c:
11120         * gst/gsttagsetter.h:
11121         * gst/gsttrace.c:
11122         * gst/gsttrace.h:
11123         * gst/gsttrashstack.c:
11124           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11125           inlined docs for gsttrace, gsttrashstack
11126
11127 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11128
11129         * gst/Makefile.am:
11130         * gst/elements/gstbufferstore.h:
11131         * gst/elements/gsttypefindelement.c:
11132         * gst/elements/gsttypefindelement.h:
11133         * gst/gst.h:
11134         * gst/gsttypefind.c:
11135         * gst/gsttypefind.h:
11136         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11137         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11138         (gst_type_find_factory_dispose),
11139         (gst_type_find_factory_unload_thyself),
11140         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11141         (gst_type_find_factory_get_caps),
11142         (gst_type_find_factory_get_extensions),
11143         (gst_type_find_factory_call_function):
11144         * gst/gsttypefindfactory.h:
11145         * gst/registries/gstlibxmlregistry.c:
11146         * gst/registries/gstxmlregistry.c:
11147           splitted gsttypefind into gsttypefind, gsttypefindfactory
11148
11149 2005-09-07  Andy Wingo  <wingo@pobox.com>
11150
11151         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11152         condition whereby the pad's task function is entered before the
11153         pad_mode variable was set.
11154
11155 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11156
11157         * gst/gstpad.c: (gst_pad_alloc_buffer):
11158           Catch misbehaving pad_alloc functions that don't
11159           set up caps and do it for them.
11160
11161 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11162
11163         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11164           test for pipe!=NULL
11165         * docs/gst/tmpl/.cvsignore:
11166         * docs/gst/tmpl/gstmemchunk.sgml:
11167         * docs/gst/tmpl/gstparse.sgml:
11168         * docs/gst/tmpl/gsttaglist.sgml:
11169         * docs/gst/tmpl/gsttagsetter.sgml:
11170         * docs/gst/tmpl/gsttypefind.sgml:
11171         * docs/gst/tmpl/gsttypefindfactory.sgml:
11172         * gst/gstmemchunk.c:
11173         * gst/gstparse.c:
11174         * gst/gsttag.c:
11175         * gst/gsttaginterface.c:
11176         * gst/gsttypefind.c:
11177         * gst/gsttypefind.h:
11178           inlined more docs
11179
11180 === release 0.9.2 ===
11181
11182 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11183
11184         * NEWS:
11185         * RELEASE:
11186         * configure.ac:
11187           releasing 0.9.2, "South"
11188
11189 2005-09-05  Andy Wingo  <wingo@pobox.com>
11190
11191         * gst/registries/gstxmlregistry.h:
11192         * gst/registries/gstxmlregistry.c: Um... resurrect...
11193         
11194         * gst/registries/gstxmlregistry.h:
11195         * gst/registries/gstxmlregistry.c: and update to newer API.
11196         Incidentally they should be a bit faster now that they don't have
11197         to parse the caps.
11198         
11199 2005-09-05  Andy Wingo  <wingo@pobox.com>
11200
11201         * gst/registries/gstxmlregistry.h:
11202         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11203         replaced by the libxml registry a while back
11204
11205 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11206
11207         * docs/gst/tmpl/gstplugin.sgml:
11208         * gst/elements/gstelements.c:
11209         * gst/gst.c:
11210         * gst/gstplugin.c: (gst_plugin_register_func),
11211         (gst_plugin_desc_copy), (gst_plugin_desc_free),
11212         (gst_plugin_get_source):
11213         * gst/gstplugin.h:
11214         * gst/registries/gstlibxmlregistry.c: (load_plugin),
11215         (gst_xml_registry_save_plugin):
11216         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11217         (gst_xml_registry_save_plugin):
11218         * tools/gst-inspect.c: (print_plugin_info):
11219           add a "source" plugin description field, to represent the source
11220           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
11221           will set it to PACKAGE, which is automake's idea of the name of
11222           the source project.
11223
11224 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11225
11226         * Makefile.am:
11227         * autogen.sh:
11228         * configure.ac:
11229         * docs/Makefile.am:
11230         * docs/faq/Makefile.am:
11231         * docs/gst/tmpl/gstelement.sgml:
11232         * docs/gst/tmpl/gsttypes.sgml:
11233         * docs/htmlinstall.mak:
11234         * docs/manual/Makefile.am:
11235         * docs/pwg/Makefile.am:
11236           reorganize doc build a little
11237           split out docbook and gtk-doc stuff
11238           have two separate --enable's and enable them through autogen
11239           but disable by default in configure (to be similar to other
11240           projects)
11241         * gstreamer.spec.in:
11242           clean up docs install
11243         * po/af.po:
11244         * po/az.po:
11245         * po/ca.po:
11246         * po/cs.po:
11247         * po/de.po:
11248         * po/en_GB.po:
11249         * po/fr.po:
11250         * po/it.po:
11251         * po/nb.po:
11252         * po/nl.po:
11253         * po/ru.po:
11254         * po/sq.po:
11255         * po/sr.po:
11256         * po/sv.po:
11257         * po/tr.po:
11258         * po/uk.po:
11259         * po/vi.po:
11260           translation updates
11261
11262 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11263
11264         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11265           Add comment.
11266           
11267         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11268         (gst_fake_sink_change_state):
11269           Make state change function thread-safe.
11270           
11271         * gst/gstpad.c: (gst_pad_alloc_buffer):
11272           Set offset on generic buffer allocated by fallback.
11273
11274 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
11275
11276         * docs/gst/gstreamer-sections.txt:
11277         * docs/gst/tmpl/gstelement.sgml:
11278         * gst/gstpad.c:
11279         * libs/gst/controller/gst-controller.c:
11280         (gst_controlled_property_set_interpolation_mode),
11281         (gst_controlled_property_new),
11282         (gst_controller_find_controlled_property):
11283          run the wingo-magic script against the docs
11284
11285 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11286
11287         * docs/gst/gstreamer-docs.sgml:
11288         * docs/gst/gstreamer-sections.txt:
11289         * docs/gst/tmpl/.cvsignore:
11290         * docs/gst/tmpl/gstelementdetails.sgml:
11291         * docs/gst/tmpl/gstelementfactory.sgml:
11292         * gst/gst.c:
11293         * gst/gstbus.c:
11294         * gst/gstelementfactory.c:
11295         * gst/gstelementfactory.h:
11296           merged elementdetails docs into elementfactory docs
11297           inlined both
11298
11299 2005-09-02  Andy Wingo  <wingo@pobox.com>
11300
11301         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11302         consider this enum an enum and not a flags.
11303
11304 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11305
11306         * docs/gst/gstreamer-docs.sgml:
11307         * docs/gst/tmpl/.cvsignore:
11308         * docs/gst/tmpl/gstghostpad.sgml:
11309         * docs/gst/tmpl/gstiterator.sgml:
11310         * docs/gst/tmpl/gstmacros.sgml:
11311         * docs/gst/tmpl/gstrealpad.sgml:
11312         * docs/gst/tmpl/gstregistry.sgml:
11313         * docs/gst/tmpl/gstregistrypool.sgml:
11314         * docs/gst/tmpl/gststructure.sgml:
11315         * docs/gst/tmpl/gstsystemclock.sgml:
11316         * docs/gst/tmpl/gsttrace.sgml:
11317         * gst/gstghostpad.c:
11318         * gst/gstmacros.h:
11319         * gst/gstmemchunk.c:
11320         * gst/gstmemchunk.h:
11321         * gst/gstqueue.c:
11322         * gst/gstregistry.c:
11323         * gst/gstregistrypool.c:
11324         * gst/gststructure.c:
11325         * gst/gstsystemclock.c:
11326           more docs inlined
11327
11328 2005-09-02  Andy Wingo  <wingo@pobox.com>
11329
11330         * gst/gstelement.h (GstState): Renamed from GstElementState,
11331         changed to be a normal enum instead of flags.
11332         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11333         munged to be GST_STATE_CHANGE_*.
11334         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11335         work with the new state representation.
11336         (GstStateChange): New enumeration of possible state transitions.
11337         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11338         (GstElementClass::change_state): Pass the GstStateChange along as
11339         an argument. Helps language bindings, so they don't have to use
11340         tricky lock-needing macros like GST_STATE_CHANGE ().
11341
11342         * scripts/update-states (file): New script. Run it on a file to
11343         update it for state naming and API changes. Updates files in
11344         place.
11345
11346         * All files updated for the new API.
11347
11348 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11349
11350         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11351         * gst/gstutils.c: (gst_util_set_value_from_string),
11352         (gst_util_set_object_arg):
11353           fix a bunch of unchecked return values
11354         * tools/gst-complete.c: (main):
11355         * gstreamer.spec.in:
11356           clean up a little
11357
11358 2005-09-01  Wim Taymans  <wim@fluendo.com>
11359
11360         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11361         (gst_base_sink_event), (gst_base_sink_do_sync),
11362         (gst_base_sink_handle_event):
11363         * gst/base/gstbasesink.h:
11364         Handle newsegments more correctly.
11365
11366         * gst/gstbus.c:
11367         Fix docs.
11368
11369         * gst/gstevent.c: (gst_event_new_newsegment):
11370         A newsegment cannot have a start_time of -1
11371
11372 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11373
11374         * win32/gstenumtypes.c:
11375         * win32/gstenumtypes.h:
11376           Update
11377
11378 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11379
11380         * libs/gst/controller/gst-controller.c:
11381         (gst_controlled_property_set_interpolation_mode),
11382         (gst_controlled_property_new):
11383          fixed boolean again
11384
11385 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11386
11387         * docs/faq/gst-uninstalled:
11388           add -good
11389         * gst/gstevent.c:
11390         * gst/gstevent.h:
11391           remove wrong docs
11392         * gst/gstutils.c: (gst_element_link_filtered):
11393         * gst/gstutils.h:
11394           add gst_element_link_filtered
11395
11396 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11397
11398         * docs/gst/gstreamer-docs.sgml:
11399         * docs/gst/gstreamer-sections.txt:
11400         * docs/gst/tmpl/.cvsignore:
11401         * docs/gst/tmpl/gsterror.sgml:
11402         * docs/gst/tmpl/gstfilter.sgml:
11403         * docs/gst/tmpl/gsturihandler.sgml:
11404         * docs/gst/tmpl/gsturitype.sgml:
11405         * docs/gst/tmpl/gstutils.sgml:
11406         * docs/gst/tmpl/gstxml.sgml:
11407         * gst/gsterror.c:
11408         * gst/gsterror.h:
11409         * gst/gstfilter.c:
11410         * gst/gsturi.c:
11411         * gst/gsturitype.c:
11412         * gst/gstutils.c:
11413         * gst/gstxml.c:
11414           inlined more docs, fixed double id-ref
11415
11416 2005-08-31  Wim Taymans  <wim@fluendo.com>
11417
11418         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11419         (gst_base_transform_handle_buffer):
11420         Passthrough elements don't need the caps as they don't care.
11421
11422 2005-08-31  Wim Taymans  <wim@fluendo.com>
11423
11424         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11425         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11426         Don't leak refcounts on buffers.
11427
11428 2005-08-31  Wim Taymans  <wim@fluendo.com>
11429
11430         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11431         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11432         (gst_base_transform_chain), (gst_base_transform_change_state):
11433         * gst/base/gstbasetransform.h:
11434         Handle the case where we are not negotiated more gracefully.
11435
11436 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
11437
11438         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11439         (gst_file_src_map_region):
11440           Set READONLY flag on mmap'ed buffers, otherwise
11441           gst_buffer_make_writable() won't work properly (#314708).
11442
11443 2005-08-31  Wim Taymans  <wim@fluendo.com>
11444
11445         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11446         passthrough elements can even do inplace on non writable
11447         buffers (as they don't touch them).
11448
11449 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11450
11451         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11452         (gst_test_mono_source_set_property),
11453         (gst_test_mono_source_class_init), (GST_START_TEST),
11454         (gst_controller_suite):
11455           more tests (hehe I have the most)
11456         * gst/gstbus.c:
11457           describe popping messages whenusing mulltiple sources
11458         * libs/gst/controller/gst-controller.c:
11459         (gst_controlled_property_set_interpolation_mode),
11460         (gst_controlled_property_new):
11461         * libs/gst/controller/gst-controller.h:
11462         * libs/gst/controller/gst-interpolation.c:
11463           implement boolean properties
11464
11465 2005-08-31  Wim Taymans  <wim@fluendo.com>
11466
11467         * gst/gstminiobject.c: (gst_mini_object_ref):
11468         Cannot assert that the refcount has to be positive
11469         since a disposed object can be resurrected.
11470
11471 2005-08-31  Wim Taymans  <wim@fluendo.com>
11472
11473         * gst/gstpad.c: (gst_pad_init):
11474         Revert change, need to first fix badly behaving 
11475         apps.
11476
11477 2005-08-30  Wim Taymans  <wim@fluendo.com>
11478
11479         * check/elements/fakesrc.c: (setup_fakesrc):
11480         * check/elements/identity.c: (setup_identity):
11481         Activate pads before using them.
11482
11483 2005-08-30  Wim Taymans  <wim@fluendo.com>
11484
11485         * gst/base/gstadapter.c: (gst_adapter_flush):
11486         Flushing out 0 bytes is ok for this function.
11487
11488         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11489         no newsegment gives a warning and sets the start/stop to 
11490         invalid.
11491
11492         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11493         (gst_base_transform_set_passthrough):
11494         Some debug info.
11495
11496         * gst/gstminiobject.c: (gst_mini_object_ref):
11497         Check refcount here too.
11498
11499         * gst/gstpad.c: (gst_pad_init):
11500         Pads are initially flushing and refusing data.
11501
11502         * gst/gstutils.c: (gst_element_link_pads_filtered):
11503         When adding a capsfilter element make sure it has the
11504         same state as the parent bin.
11505
11506 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11507
11508         * docs/gst/tmpl/.cvsignore:
11509         * docs/gst/tmpl/gstformat.sgml:
11510         * docs/gst/tmpl/gstversion.sgml:
11511         * gst/gstbus.h:
11512         * gst/gstformat.c:
11513         * gst/gstformat.h:
11514         * gst/gstversion.h.in:
11515           more docs and two more inlined
11516
11517 2005-08-30  Wim Taymans  <wim@fluendo.com>
11518
11519         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11520         Don't sync to clock.
11521
11522 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11523
11524         * docs/gst/gstreamer-sections.txt:
11525           ultral33t func10ns deserve to appear in the docs actually
11526         * docs/gst/tmpl/.cvsignore:
11527         * docs/gst/tmpl/gstcompat.sgml:
11528         * docs/gst/tmpl/gstconfig.sgml:
11529         * gst/check/gstcheck.c:
11530         * gst/gstcompat.h:
11531         * gst/gstconfig.h.in:
11532           inlined more docs
11533
11534 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11535
11536         * docs/gst/tmpl/.cvsignore:
11537         * docs/gst/tmpl/gstquery.sgml:
11538         * docs/gst/tmpl/gstutils.sgml:
11539         * gst/gstquery.c:
11540         * gst/gstquery.h:
11541           inlined and extended docs
11542
11543 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11544
11545         * check/gst-libs/controller.c: (GST_START_TEST),
11546         (gst_controller_suite):
11547           more tests
11548         * docs/gst/tmpl/gstutils.sgml:
11549         * docs/libs/gstreamer-libs-sections.txt:
11550         * docs/libs/tmpl/gstdataprotocol.sgml:
11551           include path fixes
11552         * examples/controller/audio-example.c: (main):
11553           controller example works now
11554         * gst/gstclock.h:
11555           doc fixes
11556         * tools/gst-inspect.c: (print_element_properties_info):
11557           show param spec flags
11558
11559 2005-08-29  Andy Wingo  <wingo@pobox.com>
11560
11561         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11562
11563 2005-08-28  Andy Wingo  <wingo@pobox.com>
11564
11565         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11566         as having two arguments instead of just one. Allows superclasses
11567         to access information on subclasses -- see the terrible for() loop
11568         in gtype.c:g_type_create_instance for the reason why. All callers
11569         changed.
11570
11571 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11572
11573         * docs/design/part-messages.txt:
11574           update info
11575         * docs/gst/tmpl/.cvsignore:
11576         * docs/gst/tmpl/gstcaps.sgml:
11577         * docs/gst/tmpl/gstclock.sgml:
11578         * gst/gstbus.c:
11579         * gst/gstcaps.c:
11580         * gst/gstcaps.h:
11581         * gst/gstclock.c:
11582         * gst/gstclock.h:
11583         * gst/gstmessage.c:
11584           added descriptions for bus and message
11585           inline caps and clock docs
11586
11587 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11588
11589         * gst/gstmessage.c:
11590         * gst/gstmessage.h:
11591           doc fixes
11592
11593 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11594
11595         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11596           fix div-by-zero
11597
11598 2005-08-26  Andy Wingo  <wingo@pobox.com>
11599
11600         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11601         element_set_state's return val.
11602         (test_2_elements): Add test that's been disabled for months.
11603
11604         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11605         can-activate-pull properties.
11606
11607         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11608         can-activate-pull properties. Implement is_seekable so fakesrc can
11609         operate in pull mode.
11610
11611         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11612         properties.
11613         (gst_base_sink_activate, gst_base_sink_activate_pull)
11614         (gst_base_sink_activate_push): Make activation mode choosing work.
11615         Cleanups.
11616         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11617         is right. Make pull mode work. Post an eos before pausing in pull
11618         mode.
11619         (gst_base_sink_change_state): Pay attention to the core's
11620         change_state() return val.
11621         
11622         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11623         has-getrange properties. Cleanups.
11624         
11625         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11626         has_getrange and replace with can_activate_pull and
11627         can_activate_push.
11628
11629         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11630         locking comments. Remove has_loop, has_chain and replace with
11631         can_activate_pull and can_activate_push.
11632
11633 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
11634
11635         * configure.ac:
11636         * examples/Makefile.am:
11637         * examples/metadata/Makefile.am:
11638         * examples/metadata/read-metadata.c: (message_loop),
11639         (have_pad_handler), (make_pipeline), (print_tag), (main):
11640           Add metadata reading example that loops over a list of filenames,
11641           dumping any tags found.
11642
11643         * gst/gstbus.c: (gst_bus_dispose):
11644         * gst/gstelement.c: (gst_element_dispose):
11645           Release a few potentially-held references in dispose.
11646
11647 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11648
11649         * docs/gst/tmpl/gstminiobject.sgml:
11650           do *not* add tmpl/*.sgml files to CVS!
11651
11652 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11653
11654         * libs/gst/bytestream/.cvsignore:
11655         * libs/gst/bytestream/Makefile.am:
11656         * libs/gst/bytestream/adapter.c:
11657         * libs/gst/bytestream/adapter.h:
11658         * libs/gst/bytestream/bytestream.c:
11659         * libs/gst/bytestream/bytestream.h:
11660         * libs/gst/bytestream/filepad.c:
11661         * libs/gst/bytestream/filepad.h:
11662           removing obsolete files
11663
11664 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11665
11666         * docs/gst/gstreamer-docs.sgml:
11667         * docs/libs/gstreamer-libs-docs.sgml:
11668           disabed additional index entries again, as this makes docs-gen just
11669           slow and they aren't useful yet
11670         * docs/libs/gstreamer-libs-sections.txt:
11671           little -section.txt cleanup for libs
11672
11673 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
11674
11675         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11676         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11677           fix up some debugging
11678         (gst_base_transform_get_unit_size),
11679         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11680         (gst_base_transform_handle_buffer):
11681         * gst/base/gstbasetransform.h:
11682           handle and store timed NEWSEGMENT events so that subclasses that
11683           calculate time by counting samples have a segment_start time they
11684           need to add to their timestamps - see audioresample
11685
11686 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11687
11688         * gst/gstbin.h:
11689           removed ';' from the end of macro defs
11690         * docs/gst/gstreamer-docs.sgml:
11691         * docs/gst/gstreamer-sections.txt:
11692         * docs/gst/tmpl/.cvsignore:
11693         * gst/gstbus.h:
11694         * gst/gstelement.c: (gst_element_class_init),
11695         (gst_element_set_state), (activate_pads),
11696         (gst_element_save_thyself):
11697         * gst/gstevent.c: (gst_event_new_newsegment):
11698         * gst/gstevent.h:
11699         * gst/gstiterator.c:
11700         * gst/gstiterator.h:
11701         * gst/gstpad.c:
11702         * gst/gstprobe.h:
11703         * gst/gstutils.c: (gst_pad_query_convert):
11704         * gst/gstutils.h:
11705           fixed parameter name mismatches between source, header and docs
11706           added some more docs, resolved the last batch of unused elements in
11707           docs (now someone needs to doc them)
11708
11709 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11710
11711         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11712         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11713           don't walk through the plugins backwards.  Where is all this
11714           reversed logic coming from ?
11715
11716 2005-08-25  Wim Taymans  <wim@fluendo.com>
11717
11718         * gst/base/gstbasetransform.c: (gst_base_transform_init),
11719         (gst_base_transform_transform_size),
11720         (gst_base_transform_configure_caps),
11721         (gst_base_transform_get_unit_size),
11722         (gst_base_transform_buffer_alloc),
11723         (gst_base_transform_change_state):
11724         * gst/base/gstbasetransform.h:
11725         Cache caps unit_size.
11726         Make sure we cannot negotiate up and downstream at the
11727         same time.
11728
11729 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11730
11731         * gst/gst.c: (init_pre), (init_post):
11732           register the installed plugin path after the env var
11733         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11734         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11735           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11736           directories, so the tests can prefer uninstalled over installed
11737
11738 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11739
11740         * gst/base/gstbasetransform.h:
11741           comment
11742         * gst/gstpad.c:
11743           add to docs
11744
11745 2005-08-25  Wim Taymans  <wim@fluendo.com>
11746
11747         * gst/gstbin.c: (bin_bus_handler):
11748         Be a bit more conservative about the posted message.
11749         
11750         * gst/gstbus.c: (gst_bus_post):
11751         Some cleanups, warn wrong return values.
11752
11753 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
11754
11755         * check/gst/gstbin.c: (GST_START_TEST):
11756         * gst/gstbin.c: (bin_bus_handler):
11757         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11758         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11759         (gst_message_new_warning), (gst_message_new_tag),
11760         (gst_message_new_state_changed), (gst_message_new_segment_start),
11761         (gst_message_new_segment_done), (gst_message_new_custom):
11762         * gst/gstmessage.h:
11763         * tools/gst-launch.c: (event_loop):
11764         * tools/gst-md5sum.c: (event_loop):
11765           Revert unpopular change for GST_MESSAGE_SRC to GObject.
11766
11767 2005-08-25  Wim Taymans  <wim@fluendo.com>
11768
11769         * check/generic/states.c: (GST_START_TEST):
11770         Cleanup can be done at the end.
11771
11772         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
11773         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11774         (gst_task_get_state), (gst_task_start), (gst_task_pause):
11775         Oh boy.. Thanks for finding this, Thomas. 
11776
11777 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
11778
11779         * docs/gst/gstreamer.types:
11780           added missing types
11781
11782 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
11783
11784         * docs/gst/gstreamer-docs.sgml:
11785         * docs/gst/gstreamer-sections.txt:
11786         * docs/gst/tmpl/.cvsignore:
11787         * gst/gstbin.c:
11788         * gst/gstiterator.c:
11789         * gst/gstutils.c:
11790         * gst/registries/gstxmlregistry.h:
11791           added missing classes and symbols (123 more to go)
11792           removed removed symbols from section file
11793           fixed many doc-comments
11794
11795 2005-08-24  Wim Taymans  <wim@fluendo.com>
11796
11797         * check/generic/states.c: (GST_START_TEST):
11798         Make sure all tasks are stopped.
11799
11800         * check/gst/gstbin.c: (GST_START_TEST):
11801         Unref after usage for proper valgrinding.
11802
11803         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11804         Really wait for the task to stop before destroying the
11805         mutex.
11806
11807         * gst/gstqueue.c: (gst_queue_sink_activate_push),
11808         (gst_queue_src_activate_push):
11809         Small cleanups. Don't stop the task when we did not start
11810         it.
11811
11812         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11813         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11814         (gst_task_get_state), (gst_task_start), (gst_task_pause),
11815         (gst_task_join):
11816         * gst/gsttask.h:
11817         Protect the stream lock with the object lock.
11818         Disallow setting the stream lock when running.
11819         Add cleanup_all to wait for the threadpool to finish.
11820         Remove code to autoallocate a mutex if none was provided.
11821         Add _join() to wait for a task to stop.
11822         Protect the thread pool with a global lock.
11823
11824 2005-08-24  Wim Taymans  <wim@fluendo.com>
11825
11826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11827         (gst_base_sink_get_times), (gst_base_sink_do_sync),
11828         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11829         * gst/base/gstbasesink.h:
11830         Handle newsegment events correctly.
11831         Drop buffers out of the segment range.
11832
11833 2005-08-22  Andy Wingo  <wingo@pobox.com>
11834
11835         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11836         macro, implements an interface and gstimplementsinterface for a
11837         new type.
11838
11839 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11840
11841         * check/Makefile.am:
11842         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
11843           add a test that does a bunch of state changes on elements
11844           needs some fixing for valgrind
11845         * check/states/sinks.c: (gst_object_suite):
11846           whitespace
11847         * gst/gstcaps.h:
11848           add prototype for gst_caps_is_equal_fixed
11849         * gst/gstplugin.c:
11850         * gst/gstregistrypool.c:
11851           doc fixes
11852
11853 2005-08-24  Andy Wingo  <wingo@pobox.com>
11854
11855         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
11856         convert a negative value. Doesn't make much sense. Mostly this is
11857         here to force callers to ensure -1 maps to -1.
11858
11859 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
11860
11861         * docs/pwg/advanced-types.xml:
11862           Well done to Michael for catching my deliberate introduction
11863           of this spelling mistake. 
11864         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
11865         * gst/gstelement.h:
11866           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
11867           unlink pads before removing the element from the bin.
11868
11869 2005-08-24  Andy Wingo  <wingo@pobox.com>
11870
11871         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
11872         the same thing as GST_DEBUG=*:4.
11873         (parse_debug_level, parse_debug_category): New helper parsers.
11874
11875 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11876
11877         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11878         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
11879         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
11880         (gst_base_transform_buffer_alloc),
11881         (gst_base_transform_handle_buffer):
11882           use gboolean return values and pointers to size so we can use the
11883           full GST_BUFFER_SIZE range (guint) for buffer sizes
11884           use GstPadDirection for transform_caps
11885         * gst/base/gstbasetransform.h:
11886           rename get_size to get_unit_size since that's what it is
11887         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
11888           use GstPadDirection for transform_caps
11889         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11890         * gst/gstutils.h:
11891           cleanup and debugging
11892
11893 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
11894
11895         * gst/gstelement.c: (gst_element_class_init),
11896         (gst_element_set_state), (activate_pads),
11897         (gst_element_save_thyself):
11898         * tools/gst-compprep.c: (main):
11899         * tools/gst-inspect.c: (print_element_properties_info):
11900         * tools/gst-xmlinspect.c: (print_element_properties):
11901           Fixed long standing mem-leak
11902
11903 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
11904
11905         * check/gst/gstbin.c: (GST_START_TEST):
11906         * gst/gstbin.c: (bin_bus_handler):
11907         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11908         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11909         (gst_message_new_warning), (gst_message_new_tag),
11910         (gst_message_new_state_changed), (gst_message_new_segment_start),
11911         (gst_message_new_segment_done), (gst_message_new_custom):
11912         * gst/gstmessage.h:
11913         * tools/gst-launch.c: (event_loop):
11914         * tools/gst-md5sum.c: (event_loop):
11915           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
11916           that applications can sensibly post custom messages with references
11917           to their own objects.
11918
11919 2005-08-24  Andy Wingo  <wingo@pobox.com>
11920
11921         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
11922         already.
11923
11924 2005-08-24  Wim Taymans  <wim@fluendo.com>
11925
11926         * gst/base/gstbasetransform.c: (gst_base_transform_init),
11927         (gst_base_transform_transform_caps),
11928         (gst_base_transform_transform_size),
11929         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11930         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11931         (gst_base_transform_handle_buffer):
11932         * gst/base/gstbasetransform.h:
11933         Many fixes and new features added by Thomas. Can now also do
11934         transforms with variable sizes and a custom fixate_caps function.
11935
11936 2005-08-24  Wim Taymans  <wim@fluendo.com>
11937
11938         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11939         Some debugging.
11940
11941         * gst/gstclock.h:
11942         Cast to ClockTime before formatting to time.
11943
11944         * gst/gstutils.h:
11945         Cleanups.
11946
11947 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
11948
11949         * check/gst-libs/controller.c: (GST_START_TEST),
11950         (gst_controller_suite):
11951         * docs/gst/tmpl/gstcaps.sgml:
11952         * docs/gst/tmpl/gstghostpad.sgml:
11953         * docs/gst/tmpl/gstquery.sgml:
11954         * docs/gst/tmpl/gstutils.sgml:
11955         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
11956         (gst_object_sink_values), (gst_object_get_value_arrays),
11957         (gst_object_get_value_array):
11958           gracefully handle helper method calls to objects that are not beeing
11959           controlled, added test case for that          
11960
11961 2005-08-23  Wim Taymans  <wim@fluendo.com>
11962
11963         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
11964         (gst_event_new_newsegment), (gst_event_parse_newsegment),
11965         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
11966         (gst_event_parse_qos), (gst_event_new_seek),
11967         (gst_event_parse_seek):
11968         * gst/gstevent.h:
11969         Some more debugging output and doc cleanups.
11970
11971         * gst/gstqueue.c: (gst_queue_handle_sink_event):
11972         Fix possible deadlock.
11973
11974 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
11975
11976         * docs/gst/gstreamer-docs.sgml:
11977         * docs/gst/gstreamer-sections.txt:
11978         * docs/gst/gstreamer.types:
11979         * docs/gst/tmpl/.cvsignore:
11980         * gst/gstbin.h:
11981         * gst/gstbus.c:
11982         * gst/gstelement.c:
11983         * gst/gstevent.h:
11984           added 100 symbols from gstreamer-unused.txt to the right sections
11985           fixed more broken comments
11986           added GstBus to docs
11987
11988 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
11989
11990         * docs/gst/gstreamer-sections.txt:
11991         * docs/gst/tmpl/.cvsignore:
11992         * docs/gst/tmpl/gstbin.sgml:
11993         * docs/gst/tmpl/gstbuffer.sgml:
11994         * gst/base/gstbasesrc.c:
11995         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
11996         * gst/gstbuffer.c:
11997         * gst/gstbuffer.h:
11998         * tools/gst-launch.1.in:
11999           inlined more doc comments, added missing comments and fixed comments
12000           fixed typos
12001
12002 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12003
12004         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12005           some debugging
12006         * gst/gstcaps.h:
12007           whitespace fixes
12008         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12009           more debugging
12010         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12011         * gst/gststructure.h:
12012           add a fixate function for booleans; add a FIXME that these func
12013           names should probably be gst_structure_fixate_*
12014
12015 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12016
12017         * docs/gst/gstreamer-docs.sgml:
12018         * docs/gst/gstreamer-sections.txt:
12019         * gst/Makefile.am:
12020         * gst/gstbin.c: (gst_bin_get_type),
12021         (gst_bin_child_proxy_get_child_by_index),
12022         (gst_bin_child_proxy_get_children_count),
12023         (gst_bin_child_proxy_init):
12024         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12025         (gst_child_proxy_get_child_by_index),
12026         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12027         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12028         (gst_child_proxy_get), (gst_child_proxy_set_property),
12029         (gst_child_proxy_set_valist), (gst_child_proxy_set),
12030         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12031         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12032         * gst/gstchildproxy.h:
12033         * gst/parse/grammar.y:
12034         * tools/gst-inspect.c: (print_interfaces),
12035         (print_element_properties_info), (print_element_info):
12036           ported gstchildproxy over from 0.8
12037           ported gst-inspect fixes and enhancements over from 0.8
12038
12039 2005-08-22  Wim Taymans  <wim@fluendo.com>
12040
12041         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12042         (gst_base_transform_handle_buffer):
12043         Also call the transform function if we have ANY caps.
12044
12045         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12046         Fix debug info.
12047
12048 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12049
12050         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12051           Don't pretend to handle seek events if the source is not seekable
12052
12053 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12054
12055         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12056           Remove extra parameter to debug output
12057
12058         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12059         (gst_base_src_do_seek), (gst_base_src_activate_push):
12060           Fix seek event handling.
12061
12062         * gst/gstpipeline.c: (gst_pipeline_change_state):
12063         * gst/gstqueue.c: (gst_queue_handle_sink_event),
12064         (gst_queue_src_activate_push):
12065           Don't start the src pad task on FLUSH_STOP if the pad
12066           isn't linked.
12067           Debug changes.
12068
12069 2005-08-22  Wim Taymans  <wim@fluendo.com>
12070
12071         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12072         Added check for gst_static_caps_get() refcounting.
12073
12074 2005-08-22  Wim Taymans  <wim@fluendo.com>
12075
12076         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12077         Make _static_caps_get() refcounting sane.
12078         
12079         * gst/gstelement.c: (gst_element_set_state):
12080         Add g_return_val_if_fail() to protect against segfaults.
12081
12082 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
12083
12084         * docs/gst/tmpl/gstevent.sgml:
12085         * gst/gstevent.c:
12086         * gst/gstevent.h:
12087           inlined remaining docs, added missing doc comments
12088
12089 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12090
12091         * check/gst/gstbin.c: (GST_START_TEST):
12092           since we don't know when preroll is done, use refcount range
12093           check for the sink
12094         * gst/check/gstcheck.h:
12095           add macro for checking refcount range
12096
12097 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12098
12099         * check/Makefile.am:
12100           clean up environment for when registry gets built versus
12101           when actual tests are run; valgrind seems to not report
12102           leaks if GST_PLUGIN_PATH is set to some specific values
12103         * check/gst/gstbin.c: (GST_START_TEST):
12104           add more refcounting checks; maybe this exposes a
12105           preroll lock bug ?
12106         * common/check.mak:
12107         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12108         * gst/check/gstcheck.h:
12109         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12110         (gst_bin_change_state):
12111         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12112           add/fix debugging/whitespace
12113
12114 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12115
12116         * check/gst/gstevent.c: (event_probe), (test_event),
12117         (GST_START_TEST):
12118          Er, don't call gst_bin_watch_for_state_change you idiot.
12119
12120 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12121
12122         * check/Makefile.am:
12123           Use CHECK_CFLAGS and CHECK_LIBS
12124         * check/gst/gstevent.c: (event_probe), (test_event),
12125         (GST_START_TEST):
12126           Don't leak events.
12127         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12128         (gst_base_src_start), (gst_base_src_stop),
12129         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12130         (gst_base_src_change_state):
12131           Sprinkle gst_base_src_stop liberally around error paths to fix
12132           problems reusing a source after failed state changes.
12133         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12134         (helper_find_suggest), (gst_type_find_helper):
12135           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12136         * gst/gstevent.h:
12137         * docs/gst/tmpl/gstevent.sgml:
12138           Migrate part of the docs from the SGML file. Wait for ensonic to
12139           tell me how I did it wrong ;)
12140         * tools/gst-typefind.c: (main):
12141           Extra robustness to state changes between files.
12142
12143 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12144
12145         * check/Makefile.am:
12146           don't valgrind the controller test - it's leaking - Stefan, HELP
12147         * gst/check/gstcheck.c: (gst_check_message_error),
12148         (gst_check_chain_func), (gst_check_setup_element),
12149         (gst_check_teardown_element), (gst_check_setup_src_pad),
12150         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12151         (gst_check_teardown_sink_pad):
12152         * gst/check/gstcheck.h:
12153           add a bunch of methods to set up elements, and src and sink pads
12154         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12155         * check/elements/identity.c: (setup_identity), (cleanup_identity),
12156         (GST_START_TEST):
12157           use them
12158         * gst/gstmessage.c:
12159         * gst/gsttag.h:
12160           whitespace/doc fixes
12161
12162 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12163
12164         * gst/gstelement.h:
12165           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12166           be handled by the application and not always printed as well
12167
12168 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12169
12170         * check/Makefile.am:
12171           set GST_TOOLS_DIR
12172         * gst/check/gstcheck.c: (gst_check_message_error):
12173         * gst/check/gstcheck.h:
12174           add a fail_unless_equals_int
12175           add fail_unless for error messages
12176
12177 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12178
12179         * check/Makefile.am:
12180         * check/gst.supp:
12181         * common/Makefile.am:
12182         * common/check.mak:
12183         * common/gst.supp:
12184           factor out some of the common stuff so we can use it
12185
12186 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12187
12188         * check/Makefile.am:
12189         * check/gst/gstiterator.c: (GST_START_TEST):
12190         * check/gst/gstsystemclock.c: (GST_START_TEST),
12191         (gst_systemclock_suite):
12192         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12193         * gst/gstclock.c:
12194           valgrind more tests
12195
12196 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12197
12198         * check/elements/.cvsignore:
12199         * check/elements/gstfakesrc.c:
12200           rename to name of element
12201         * check/elements/identity.c: (chain_func), (event_func),
12202         (setup_identity), (cleanup_identity), (GST_START_TEST),
12203         (identity_suite), (main):
12204           add a test for identity
12205         * check/Makefile.am:
12206         * pkgconfig/Makefile.am:
12207         * pkgconfig/gstreamer-check.pc.in:
12208         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12209         * gst/check:
12210         * gst/Makefile.am:
12211         * configure.ac:
12212           move the check stuff to a library that gets installed
12213         * check/gst-libs/controller.c: (GST_START_TEST):
12214         * check/gst-libs/gdp.c:
12215         * check/gst/gst.c: (GST_START_TEST):
12216         * check/gst/gstbin.c:
12217         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12218         * check/gst/gstbus.c:
12219         * check/gst/gstcaps.c: (GST_START_TEST):
12220         * check/gst/gstelement.c:
12221         * check/gst/gstghostpad.c:
12222         * check/gst/gstiterator.c:
12223         * check/gst/gstmessage.c:
12224         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12225         * check/gst/gstobject.c:
12226         * check/gst/gstpad.c: (GST_START_TEST):
12227         * check/gst/gststructure.c: (GST_START_TEST):
12228         * check/gst/gstsystemclock.c: (GST_START_TEST),
12229         (gst_systemclock_suite):
12230         * check/gst/gsttag.c: (gst_tag_suite):
12231         * check/gst/gstvalue.c:
12232         * check/pipelines/cleanup.c:
12233         * check/pipelines/simple_launch_lines.c:
12234         * check/states/sinks.c:
12235           change include statement
12236
12237         * docs/gst/gstreamer-sections.txt:
12238         * docs/gst/tmpl/gstpad.sgml:
12239           document more pad stuff
12240         * gst/gstminiobject.c: (gst_mini_object_ref),
12241         (gst_mini_object_unref):
12242           debug refcounting
12243
12244 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
12245
12246         * docs/gst/tmpl/gst.sgml:
12247         * gst/gst.c:
12248           eliminate another tmpl file, fix spelling in the long-description
12249
12250 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12251
12252         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12253         (test_event), (timediff), (gstevents_suite):
12254           Should fix build on 64-bit arch's
12255
12256 2005-08-18  Andy Wingo  <wingo@pobox.com>
12257
12258         Make sure that when a pipeline goes to PLAYING, that data has
12259         actually hit the sink.
12260
12261         * check/states/sinks.c (test_sink): A sink that doesn't get any
12262         data shouldn't return SUCCESS for going to either PLAYING or
12263         PAUSED. Test also the return values on the way back down.
12264
12265         * gst/gstelement.c (gst_element_set_state): When changing the
12266         state of an element currently changing state asynchronously, go to
12267         lost-state after commiting the pending state. Makes future calls
12268         to get_state continue to return ASYNC.
12269
12270         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12271         ASYNC when going to PLAYING if we still don't have preroll, as can
12272         happen with live sources.
12273
12274 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12275
12276         * docs/pwg/advanced-types.xml:
12277           Hack long paragraph into 2 chunks as a workaround for buggy
12278           jadetex version in sid and breezy that loops infinitely and
12279           eats all RAM.
12280
12281 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12282
12283         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12284         (test_event), (timediff), (gstevents_suite):
12285           Provide more error margin in clock measurements to allow for 
12286           g_get_current_time inaccuracies.
12287
12288 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12289
12290         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12291         (test_event), (timediff), (gstevents_suite):
12292            Fix error message output so I might be able to tell why the
12293            test works here but fails on the build farm.
12294
12295 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12296
12297         * check/Makefile.am:
12298         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12299         (test_event), (timediff), (gstevents_suite), (main):
12300           I wrote a test!
12301
12302         * docs/design/part-seeking.txt:
12303           Spelling correction
12304
12305         * docs/gst/tmpl/gstevent.sgml:
12306         * docs/gst/tmpl/gstfakesrc.sgml:
12307           Docs updates.
12308
12309         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12310           Treat a buffer-without-newsegment the same as a receiving 
12311           a newsegment not in time format, and disable syncing to the clock
12312           with a warning.
12313
12314         * gst/gstbus.c: (gst_bus_set_sync_handler):
12315           Assert if anyone tries to replace the existing sync_handler for bus, 
12316           as only the owner should be setting it.
12317
12318         * gst/gstevent.h:
12319           Have a fixed set of custom event enums with events identified by
12320           their structure name (as in 0.8), rather than a free-for-all
12321           allowing collisions between enum values from different plugins.
12322
12323         * gst/gstpad.c: (gst_pad_class_init):
12324           Docs change.
12325           
12326         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12327           Handle out-of-band downstream events from the sending thread.
12328
12329 2005-08-17  Andy Wingo  <wingo@pobox.com>
12330
12331         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12332         play-timeout==0 to mean no timeout at all. In that case, don't
12333         bother with a get_state or a warning, just return directly, even
12334         if it's ASYNC.
12335
12336         * gst/base/gstbasetransform.c: Debug changes.
12337
12338         * gst/gstutils.h:
12339         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12340         ensure bins post state change messages. A bit of a hack but I can't
12341         think of a way to avoid it.
12342
12343         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12344
12345 2005-08-16  Andy Wingo  <wingo@pobox.com>
12346
12347         * gst/base/gstadapter.h:
12348         * gst/base/gstadapter.c (gst_adapter_take): New function, like
12349         peek() but you own the data. Not terribly efficient atm.
12350
12351 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12352
12353         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12354         (gst_element_found_tags):
12355         * gst/gstutils.h:
12356           Add two utility functions for tag handling.
12357
12358 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12359
12360         * docs/manual/advanced-dataaccess.xml:
12361         * docs/manual/basics-helloworld.xml:
12362           Fix docs to use _bin_add() before _link(), which fixes the examples
12363           with recent core versions (reported by Madhan Raj M
12364           <raj_madan@rediffmail.com>, #313199).
12365
12366 2005-08-16  Wim Taymans  <wim@fluendo.com>
12367
12368         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12369         Added subtract checks.
12370
12371         * docs/design/part-events.txt:
12372         Some more docs about newsegment
12373
12374         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12375         Fix FIXME
12376
12377         * gst/gstcaps.c: (gst_caps_to_string):
12378         Add comments, cleanups.
12379         
12380         * gst/gstelement.c: (gst_element_save_thyself):
12381         cleanups
12382         
12383         * gst/gstvalue.c: (gst_value_collect_int_range),
12384         (gst_string_unwrap), (gst_value_union_int_int_range),
12385         (gst_value_union_int_range_int_range),
12386         (gst_value_intersect_int_int_range),
12387         (gst_value_intersect_int_range_int_range),
12388         (gst_value_intersect_double_double_range),
12389         (gst_value_intersect_double_range_double_range),
12390         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12391         (gst_value_subtract_int_range_int),
12392         (gst_value_subtract_double_range_double),
12393         (gst_value_subtract_double_range_double_range),
12394         (gst_value_subtract_from_list), (gst_value_subtract_list),
12395         (gst_value_can_compare), (gst_value_compare_fraction):
12396         Cleanups, add comments, remove unneeded asserts.
12397
12398 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12399
12400         * tools/gst-launch.c: (event_loop):
12401           don't convert NULL structures to strings
12402
12403 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
12404
12405         * docs/gst/gstreamer-sections.txt:
12406           made some defines private
12407         * docs/gst/tmpl/gstconfig.sgml:
12408         * docs/gst/tmpl/gstqueue.sgml:
12409         * docs/gst/tmpl/gsttaglist.sgml:
12410         * docs/gst/tmpl/gsttypes.sgml:
12411         * docs/gst/tmpl/gstutils.sgml:
12412         * docs/pwg/appendix-porting.xml:
12413         * gst/base/gstbasesink.h:
12414         * gst/base/gstbasesrc.c:
12415         * gst/base/gstbasesrc.h:
12416         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12417         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12418         * gst/gstelement.c: (gst_element_class_init):
12419         * gst/gstpad.c: (gst_pad_class_init):
12420         * gst/gstqueue.c: (gst_queue_class_init):
12421         * gst/gstxml.c: (gst_xml_class_init):
12422           documented all undocumented signal inline
12423         * libs/gst/controller/gst-controller.h:
12424           added padding
12425
12426 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12427
12428         * docs/pwg/appendix-porting.xml:
12429           Document _set_link_function -> _set_setcaps_function.
12430
12431 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12432
12433         * check/Makefile.am:
12434           add a .check target for running the check
12435         * check/gst-libs/controller.c: (GST_START_TEST):
12436           cosmetic fixups
12437         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12438           complete checks for gstbuffer; would be nice if I could get the
12439           gcov stuff to work so I can see if I actually completed gstbuffer.c
12440         * check/gstcheck.h:
12441           add ASSERT_BUFFER_REFCOUNT
12442
12443 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
12444
12445         * docs/gst/gstreamer-sections.txt:
12446         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12447         * gst/gsttag.h:
12448           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12449           spew out a warning if a tag that is already registered
12450           is re-registered, unless it is re-registered with a 
12451           different type (#308438).
12452
12453 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
12454
12455         * docs/pwg/appendix-porting.xml:
12456         * docs/pwg/building-state.xml:
12457           Add some paragraphs about state changes in 0.9 to the PWG
12458           and the porting guide, in particular about the new meaning
12459           of GST_STATE_PAUSED and how to write state change functions
12460           with concurrent access by multiple threads in mind.
12461
12462 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
12463
12464         * docs/gst/gstreamer-docs.sgml:
12465         * docs/libs/gstreamer-libs-docs.sgml:
12466           added deprecation and since indexes
12467         * libs/gst/controller/gst-controller.c:
12468         * libs/gst/controller/gst-helper.c:
12469           added since tags
12470
12471
12472 2005-08-11  Wim Taymans  <wim@fluendo.com>
12473
12474         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12475         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12476         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12477         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12478         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12479         (gst_ghost_pad_set_target):
12480         Actually implement (re)setting the target on a ghostpad
12481         as described in the docs.
12482
12483 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
12484
12485         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12486           Check whether GST_DEBUG_NO_COLOR environment variable is
12487           set and disable coloured debug output if that is the case.
12488
12489 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
12490
12491         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12492         (gst_type_find_helper):
12493           The memory returned by gst_type_find_peek() needs to
12494           stay valid until the end of a typefind function, and
12495           typefind functions may keep results from different 
12496           offsets around, so we can't just unref the buffer from
12497           the previous _peek(), but have to save all buffers 
12498           returned by _peek() until typefinding is done and only
12499           free them then.
12500
12501 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12502
12503         * docs/gst/gstreamer-sections.txt:
12504         * gst/gstutils.h:
12505           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12506
12507 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12508
12509         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12510           Fix a pretty good memleak.
12511
12512 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12513
12514         * gst/gstiterator.h:
12515           Fix wrong include and 'make distcheck'.
12516
12517 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12518
12519         * gst/gstbin.c: (bin_bus_handler):
12520           Use gst_element_post_message() instead.
12521
12522 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12523
12524         * gst/base/gstadapter.h:
12525         * gst/base/gstbasesink.h:
12526         * gst/base/gstbasesrc.h:
12527         * gst/base/gstbasetransform.h:
12528         * gst/base/gstcollectpads.h:
12529         * gst/base/gstpushsrc.h:
12530         * gst/gstiterator.h:
12531           Add padding to our base elements' class and instance structs and
12532           to GstIterator (you will need to rebuild all plugins and apps!)
12533
12534 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12535
12536         * gst/gstbin.c: (bin_bus_handler):
12537           Make default message forwarding from child->bus to bin->bus
12538           threadsafe and make it not emit warnings if the parent has no bus.
12539
12540 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12541
12542         * gst/gstelement.c: (activate_pads):
12543           On paused->ready, set pad->caps to NULL, as is the documented
12544           behaviour in this state change. Fixes playback of series of
12545           media files when visualization is enabled in Totem.
12546
12547 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12548
12549         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12550           Allow NULL as filter-caps (which means "any").
12551
12552 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12553
12554         * docs/libs/gstreamer-libs-sections.txt:
12555         * libs/gst/controller/gst-controller.c:
12556         * libs/gst/controller/gst-controller.h:
12557         * libs/gst/controller/gst-helper.c:
12558           adding more entries to the docs and fix small doc-bugs
12559
12560 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12561
12562         * docs/gst/gstreamer-docs.sgml:
12563         * docs/gst/gstreamer-sections.txt:
12564         * docs/gst/gstreamer.types:
12565         * docs/gst/tmpl/gstbasesink.sgml:
12566         * docs/gst/tmpl/gstbasesrc.sgml:
12567         * docs/gst/tmpl/gstbasetransform.sgml:
12568         * docs/gst/tmpl/gstfakesrc.sgml:
12569         * gst/base/gstcollectpads.c:
12570         * gst/base/gstcollectpads.h:
12571         * libs/gst/controller/gst-controller.c:
12572         * libs/gst/controller/gst-controller.h:
12573         * libs/gst/controller/gst-helper.c:
12574         * libs/gst/controller/gst-interpolation.c:
12575         * libs/gst/controller/lib.c:
12576           added long/short desc for controller docs
12577           added collectpads base class docs
12578           added correct includes to base-class docs
12579
12580 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12581
12582         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12583         (gst_test_mono_source_set_property),
12584         (gst_test_mono_source_class_init), (GST_START_TEST),
12585         (gst_controller_suite):
12586         * docs/gst/gstreamer-docs.sgml:
12587         * docs/gst/gstreamer-sections.txt:
12588         * docs/gst/gstreamer.types:
12589         * docs/libs/gstreamer-libs-docs.sgml:
12590         * docs/libs/gstreamer-libs-sections.txt:
12591         * gst/base/gstadapter.c:
12592         * libs/gst/controller/gst-controller.c:
12593         (gst_controlled_property_new), (gst_controlled_property_free),
12594         (gst_controller_new_valist),
12595         (gst_controller_remove_properties_valist),
12596         (gst_controller_sink_values), (_gst_controller_finalize):
12597         * libs/gst/controller/gst-controller.h:
12598         * libs/gst/controller/gst-helper.c:
12599         (gst_object_control_properties), (gst_object_uncontrol_properties),
12600         (gst_object_get_controller), (gst_object_set_controller),
12601         (gst_object_sink_values), (gst_object_get_value_arrays),
12602         (gst_object_get_value_array):
12603           more tests (and fixes) for the controller
12604           more docs for the controller
12605           integrated companies docs for the adapter 
12606
12607 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12608
12609         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12610         (GST_START_TEST), (fakesrc_suite):
12611           add tests for sizetype
12612
12613 2005-08-04  Andy Wingo  <wingo@pobox.com>
12614
12615         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12616         fixes buffer_alloc proxying among other things.
12617
12618         * gst/base/gstbasetransform.c:
12619         * gst/base/gstbasetransform.h:
12620         Revert patch to gstbasetransform from 7-28 removing
12621         delay_configure.
12622
12623         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12624         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12625         Semantics changed, should return not the size of the output buffer
12626         but the byte size of a buffer with a given caps.
12627
12628         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12629         debug object.
12630         (gst_base_transform_configure_caps): Don't set out_size here: (in,
12631         out) are not the pad caps until setcaps finishes.
12632         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12633         not-in-place case as well. Deal with changing from in-place to
12634         not-in-place within calling pad_alloc_buffer. Still a bit
12635         concerned about the overhead here...
12636
12637 2005-08-03  Andy Wingo  <wingo@pobox.com>
12638
12639         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12640         fixating is an error.
12641
12642 2005-08-04  Edward Hervey  <edward@fluendo.com>
12643
12644         * gst/base/gstadapter.h: 
12645         Added gst_adapter_get_type() to the header
12646
12647 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12648
12649         * check/Makefile.am:
12650         * check/gst-libs/controller.c:
12651         * libs/gst/controller/gst-controller.c:
12652         (gst_controller_new_valist):
12653           added check test suite for the controller
12654         * gst/base/gstpushsrc.c:
12655           fixed a doc typo
12656
12657 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12658
12659         * docs/gst/Makefile.am:
12660         * docs/gst/gstreamer-docs.sgml:
12661         * docs/gst/gstreamer-sections.txt:
12662         * docs/gst/gstreamer.types:
12663         * docs/gst/tmpl/gstfakesrc.sgml:
12664         * gst/base/README:
12665         * gst/base/gstbasesink.c:
12666         * gst/base/gstbasesink.h:
12667         * gst/base/gstbasesrc.c:
12668         * gst/base/gstbasesrc.h:
12669         * gst/base/gstbasetransform.c:
12670         * gst/base/gstpushsrc.c:
12671         * gst/base/gstpushsrc.h:
12672           add short/long description docs to base classes
12673           add pushsrc to the docs
12674           remove consolidated doc fragments
12675
12676 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12677
12678         * configure.ac:
12679         * docs/libs/Makefile.am:
12680         * docs/libs/gstreamer-libs-docs.sgml:
12681         * docs/libs/gstreamer-libs-sections.txt:
12682         * docs/libs/gstreamer-libs.types:
12683         * examples/Makefile.am:
12684         * examples/controller/.cvsignore:
12685         * examples/controller/Makefile.am:
12686         * examples/controller/audio-example.c: (main):
12687         * libs/gst/Makefile.am:
12688         * libs/gst/controller/.cvsignore:
12689         * libs/gst/controller/Makefile.am:
12690         * libs/gst/controller/gst-controller.c:
12691         (on_object_controlled_property_changed), (gst_timed_value_compare),
12692         (gst_timed_value_find),
12693         (gst_controlled_property_set_interpolation_mode),
12694         (gst_controlled_property_new), (gst_controlled_property_free),
12695         (gst_controller_find_controlled_property),
12696         (gst_controller_new_valist), (gst_controller_new),
12697         (gst_controller_remove_properties_valist),
12698         (gst_controller_remove_properties), (gst_controller_set),
12699         (gst_controller_set_from_list), (gst_controller_unset),
12700         (gst_controller_get), (gst_controller_get_all),
12701         (gst_controller_sink_values), (gst_controller_get_value_arrays),
12702         (gst_controller_get_value_array),
12703         (gst_controller_set_interpolation_mode),
12704         (_gst_controller_finalize), (_gst_controller_init),
12705         (_gst_controller_class_init), (gst_controller_get_type):
12706         * libs/gst/controller/gst-controller.h:
12707         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12708         (g_object_uncontrol_properties), (g_object_get_controller),
12709         (g_object_set_controller), (g_object_sink_values),
12710         (g_object_get_value_arrays), (g_object_get_value_array):
12711         * libs/gst/controller/gst-interpolation.c:
12712         (gst_controlled_property_find_timed_value_node),
12713         (interpolate_none_get), (interpolate_trigger_get),
12714         (interpolate_trigger_get_value_array):
12715         * libs/gst/controller/lib.c: (gst_controller_init):
12716         * pkgconfig/Makefile.am:
12717         * pkgconfig/gstreamer-control-uninstalled.pc.in:
12718         * pkgconfig/gstreamer-control.pc.in:
12719         * testsuite/Makefile.am:
12720         * testsuite/controller/.cvsignore:
12721         * testsuite/controller/Makefile.am:
12722         * testsuite/controller/interpolator.c: (main):
12723           added controller code
12724           removed dparam pc files
12725
12726 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
12727         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12728         (gst_collectpads_stop):
12729           Broadcast the condition when shutting down, to make sure we wake all
12730           threads up. Shut down pads on finalize, for safety.
12731
12732 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
12733         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12734         (gst_base_transform_handle_buffer),
12735         (gst_base_transform_change_state):
12736           Handle PAUSED->READY->PAUSED transition after negotiation
12737           occurred already.
12738         * gst/gstmessage.c: (gst_message_init):
12739           Extra piece of debug for new messages.
12740
12741 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
12742
12743         * configure.ac:
12744         * docs/gst/tmpl/gstbasesrc.sgml:
12745         * docs/gst/tmpl/gstelement.sgml:
12746         * docs/gst/tmpl/gstevent.sgml:
12747         * docs/gst/tmpl/gstfakesrc.sgml:
12748         * docs/gst/tmpl/gstformat.sgml:
12749         * docs/gst/tmpl/gstghostpad.sgml:
12750         * docs/gst/tmpl/gstpad.sgml:
12751         * docs/gst/tmpl/gstquery.sgml:
12752         * docs/gst/tmpl/gststructure.sgml:
12753         * docs/gst/tmpl/gsttaglist.sgml:
12754         * docs/gst/tmpl/gstvalue.sgml:
12755         * docs/libs/gstreamer-libs-docs.sgml:
12756         * docs/libs/gstreamer-libs-sections.txt:
12757         * docs/libs/gstreamer-libs.types:
12758         * libs/gst/Makefile.am:
12759         * libs/gst/control/.cvsignore:
12760         * libs/gst/control/Makefile.am:
12761         * libs/gst/control/control.c:
12762         * libs/gst/control/control.h:
12763         * libs/gst/control/dparam.c:
12764         * libs/gst/control/dparam.h:
12765         * libs/gst/control/dparam_smooth.c:
12766         * libs/gst/control/dparam_smooth.h:
12767         * libs/gst/control/dparamcommon.h:
12768         * libs/gst/control/dparammanager.c:
12769         * libs/gst/control/dparammanager.h:
12770         * libs/gst/control/dplinearinterp.c:
12771         * libs/gst/control/dplinearinterp.h:
12772         * libs/gst/control/unitconvert.c:
12773         * libs/gst/control/unitconvert.h:
12774         * testsuite/Makefile.am:
12775         * testsuite/dynparams/.cvsignore:
12776         * testsuite/dynparams/Makefile.am:
12777         * testsuite/dynparams/dparamstest.c:
12778         * tools/Makefile.am:
12779         * tools/gst-inspect.c: (print_element_info), (main):
12780         * tools/gst-xmlinspect.c: (print_element_info), (main):
12781           deactivate and remove dparams (libgstcontrol)
12782
12783 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
12784
12785         * gst/elements/gsttypefindelement.c:
12786         (gst_type_find_element_have_type), (gst_type_find_element_init),
12787         (stop_typefinding), (gst_type_find_element_handle_event),
12788         (gst_type_find_element_chain), (gst_type_find_element_getrange):
12789         * gst/elements/gsttypefindelement.h:
12790           Set caps on all outgoing buffers, not just the first one.
12791
12792 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
12793
12794         * gst/elements/gsttypefindelement.c:
12795         (gst_type_find_element_have_type),
12796         (gst_type_find_element_check_set_buffer_caps),
12797         (gst_type_find_element_init), (stop_typefinding),
12798         (gst_type_find_element_handle_event),
12799         (gst_type_find_element_chain), (gst_type_find_element_getrange):
12800         * gst/elements/gsttypefindelement.h:
12801           Set caps on first outgoing buffer when we've found the type.
12802
12803 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
12804
12805         * docs/gst/gstreamer-docs.sgml:
12806         * docs/gst/gstreamer-sections.txt:
12807         * docs/gst/tmpl/gstscheduler.sgml:
12808         * docs/gst/tmpl/gstschedulerfactory.sgml:
12809           Remove some old cruft from docs.
12810
12811 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
12812
12813         * gst/gstpad.h:
12814           Fix inline docs for GstPadLinkReturn.
12815           
12816         * gst/gststructure.c: (gst_structure_has_name):
12817         * gst/gststructure.h:
12818         * docs/gst/gstreamer-sections.txt:
12819           New API: gst_structure_has_name().
12820
12821 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
12822
12823         * configure.ac:
12824           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12825           and _LARGEFILE_SOURCE in config.h as required. Do not 
12826           export those flags in our .pc files any longer (#142209).
12827
12828           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12829
12830         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12831         (gst_file_sink_do_seek), (gst_file_sink_event),
12832         (gst_file_sink_get_current_offset), (gst_file_sink_render):
12833           Redo seek/tell calls with large file support in mind; add some
12834           debugging messages; add log message that tells us when large
12835           file support is unavailable or not enabled for some reason.
12836
12837         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
12838           Add log message that tells us when large file support 
12839           is unavailable or not enabled for some reason.
12840
12841 2005-07-29  Wim Taymans  <wim@fluendo.com>
12842
12843         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12844         Added test for removing an element with ghostpad from a bin.
12845         Fixed test as current implementation does the right thing.
12846
12847         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
12848         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
12849         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
12850         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
12851         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
12852         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12853         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12854         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12855         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
12856         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
12857         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
12858         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
12859         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12860         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
12861         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
12862         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12863         * gst/gstghostpad.h:
12864         Clean up ghostpads, remove properties for internal stuff.
12865         Make threadsafe.
12866         Fix refcounting.
12867         Prepare for switching targets, not all use cases work yet.
12868
12869 2005-07-29  Wim Taymans  <wim@fluendo.com>
12870
12871         * docs/design/part-gstghostpad.txt:
12872         Small update.
12873
12874         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12875         (gst_bin_remove_func):
12876         Unlinking pads while holding the bin LOCK is not a good
12877         idea.
12878
12879         * gst/gstpad.c: (gst_pad_class_init),
12880         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
12881         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
12882         No prob setting template after creating the pad.
12883
12884 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
12885
12886         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
12887         (gst_bus_peek), (gst_bus_source_dispatch),
12888         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
12889         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
12890           gst_bus_poll may be called from other threads. Handle
12891           this nicely by not making poll_data disappear off the
12892           stack once gst_bus_poll returns.
12893           gst_bus_peek now increments the refcount on the returned
12894           message.
12895
12896 2005-07-29  Wim Taymans  <wim@fluendo.com>
12897
12898         * docs/design/part-gstghostpad.txt:
12899         Overview of current GhostPad datastructures and use
12900         cases for changing the target.
12901
12902 2005-07-28  Wim Taymans  <wim@fluendo.com>
12903
12904         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12905         Added checks for hierarchy consistency whan adding linked
12906         elements to bins.
12907
12908         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12909         Added check to test element scheduling without bin/pipeline.
12910
12911         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12912         First add elements to bin, then link.
12913         
12914         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12915         (gst_bin_remove_func):
12916         Unlink pads from elements added/removed from bin to maintain
12917         hierarchy consistency.
12918
12919 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12920
12921         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12922         (gst_base_transform_handle_buffer):
12923         * gst/base/gstbasetransform.h:
12924           Remove broken delay_configure (fixes renegotiation of software
12925           scaling pipelines); remove some leftover printf()s.
12926
12927 2005-07-28  Wim Taymans  <wim@fluendo.com>
12928
12929         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12930         Added some more tests for wrong hierarchy
12931
12932         * docs/design/part-overview.txt:
12933         Some updates.
12934
12935         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
12936         Cleanups.
12937
12938         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
12939         (gst_element_dispose):
12940         Some more cleanups.
12941
12942         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12943         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
12944         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12945         (gst_pad_set_caps), (gst_pad_send_event):
12946         Check for correct hierarchy when linking pads. Moving to
12947         strict requirement for ghostpads when linking elements in
12948         different bins.
12949
12950         * gst/gstpad.h:
12951         Clean ups. Added WRONG_HIERARCHY return value.
12952
12953 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12954
12955         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12956           Better debug if no transform is possible.
12957
12958 2005-07-27  Wim Taymans  <wim@fluendo.com>
12959
12960         * docs/random/wtay/network-transp:
12961         Some old doc I had.
12962
12963 2005-07-27  Wim Taymans  <wim@fluendo.com>
12964
12965         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12966         (gst_dp_event_from_packet):
12967         Fix serialization of seek events.
12968
12969 2005-07-27  Wim Taymans  <wim@fluendo.com>
12970
12971         * check/gst-libs/gdp.c: (GST_START_TEST):
12972         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12973         Fix compilation and fix event serialization.
12974
12975 2005-07-27  Wim Taymans  <wim@fluendo.com>
12976
12977         * CHANGES-0.9:
12978         * docs/design/part-TODO.txt:
12979         * docs/design/part-events.txt:
12980         Some docs updates
12981
12982         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12983         (gst_base_sink_event), (gst_base_sink_do_sync),
12984         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12985         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12986         (gst_base_src_do_seek), (gst_base_src_event_handler),
12987         (gst_base_src_loop):
12988         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12989         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12990         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12991         (gst_base_transform_event), (gst_base_transform_handle_buffer),
12992         (gst_base_transform_set_passthrough),
12993         (gst_base_transform_is_passthrough):
12994         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12995         * gst/elements/gstfilesink.c: (gst_file_sink_event):
12996         Event updates.
12997
12998         * gst/gstbuffer.h:
12999         Use faster casts.
13000
13001         * gst/gstelement.c: (gst_element_seek):
13002         * gst/gstelement.h:
13003         Update gst_element_seek.
13004
13005         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13006         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13007         (gst_event_new_flush_start), (gst_event_new_flush_stop),
13008         (gst_event_new_eos), (gst_event_new_newsegment),
13009         (gst_event_parse_newsegment), (gst_event_new_tag),
13010         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13011         (gst_event_parse_qos), (gst_event_new_seek),
13012         (gst_event_parse_seek), (gst_event_new_navigation):
13013         * gst/gstevent.h:
13014         Make GstEvent use GstStructure. Add parsing code, make sure the
13015         API is sufficiently generic.
13016         Mark possible directions of events and serialization.
13017
13018         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13019         (_gst_message_copy), (gst_message_new_segment_start),
13020         (gst_message_new_segment_done), (gst_message_new_custom),
13021         (gst_message_parse_segment_start),
13022         (gst_message_parse_segment_done):
13023         Small cleanups.
13024
13025         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13026         (gst_pad_set_caps), (gst_pad_send_event):
13027         Update for new events. 
13028         Catch events sent in wrong directions.
13029
13030         * gst/gstqueue.c: (gst_queue_link_src),
13031         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13032         (gst_queue_handle_src_query):
13033         Event updates.
13034
13035         * gst/gsttag.c:
13036         * gst/gsttag.h:
13037         Remove event code from this file.
13038
13039         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13040         (gst_dp_event_from_packet):
13041         Event updates.
13042
13043 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13044
13045         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13046         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13047         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13048           Make debugging actually useful.
13049
13050 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13051
13052         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13053         (gst_pad_fixate_caps):
13054           Implement default fixation once again, so that gst_pad_fixate()
13055           actually does anything at all. This probably needs to be some
13056           sort of a last resort, and use profile-based fixation first, but
13057           since that doesn't exist yet, this is the best we have. Fixes
13058           visualization in Totem.
13059
13060 2005-07-22  Wim Taymans  <wim@fluendo.com>
13061
13062         * docs/design/part-events.txt:
13063         Small update.
13064
13065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13066         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13067         (gst_base_sink_activate_pull):
13068         Some more comments.
13069
13070         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13071         (gst_fake_src_create):
13072         Fix handoff marshall.
13073
13074         * gst/elements/gstidentity.c: (gst_identity_class_init),
13075         (gst_identity_transform_ip):
13076         We're a real inplace element.
13077
13078         * gst/gstbus.c: (gst_bus_post):
13079         Added some comments.
13080
13081         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13082         * tests/muxing/case1.c: (main):
13083         * tests/sched/dynamic-pipeline.c: (main):
13084         * tests/sched/interrupt1.c: (main):
13085         * tests/sched/interrupt2.c: (main):
13086         * tests/sched/interrupt3.c: (main):
13087         * tests/sched/runxml.c: (main):
13088         * tests/sched/sched-stress.c: (main):
13089         * tests/seeking/seeking1.c: (event_received), (main):
13090         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13091         (main):
13092         * tests/threadstate/threadstate3.c: (main):
13093         * tests/threadstate/threadstate4.c: (main):
13094         * tests/threadstate/threadstate5.c: (main):
13095         Fix the tests.
13096
13097 2005-07-21  Wim Taymans  <wim@fluendo.com>
13098
13099         * docs/design/part-seeking.txt:
13100         Some small additions.
13101
13102         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13103         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13104         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13105         * gst/base/gstbasesink.h:
13106         discont values are gint64, handle the math correctly.
13107
13108         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13109         Make the basesrc report error if the source pad is not linked.
13110
13111         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13112         (gst_queue_loop), (gst_queue_handle_src_query),
13113         (gst_queue_src_activate_push):
13114         Make queue collect data even if the srcpad is not linked.
13115         Start pushing out data as soon as it is linked.
13116
13117         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13118         * gst/gstutils.h:
13119         Added gst_flow_get_name() to ease error reporting.
13120
13121 2005-07-20  Wim Taymans  <wim@fluendo.com>
13122
13123         * gst/gstmessage.c: (gst_message_new_segment_start),
13124         (gst_message_new_segment_done), (gst_message_parse_segment_start),
13125         (gst_message_parse_segment_done):
13126         * gst/gstmessage.h:
13127         Added a bunch of messages for advanced seeking.
13128
13129         * gst/parse/grammar.y:
13130         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13131         (gst_dpman_state_changed):
13132         Fix some new-pad -> pad-added signals
13133
13134 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13135
13136         * docs/manual/appendix-porting.xml:
13137         * docs/pwg/appendix-porting.xml:
13138           Document new-pad/state-change signal renames and the FixedList
13139           type rename.
13140
13141 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13142
13143         * docs/manual/advanced-autoplugging.xml:
13144         * docs/manual/basics-helloworld.xml:
13145         * docs/manual/basics-pads.xml:
13146         * docs/random/ds/0.9-suggested-changes:
13147         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13148         * gst/gstelement.h:
13149         * gst/gstevent.h:
13150         * gst/gstformat.h:
13151         * gst/gstquery.h:
13152         * gst/gststructure.c: (gst_structure_value_get_generic_type),
13153         (gst_structure_parse_array), (gst_structure_parse_value):
13154         * gst/gstvalue.c: (gst_type_is_fixed),
13155         (gst_value_list_prepend_value), (gst_value_list_append_value),
13156         (gst_value_list_get_size), (gst_value_list_get_value),
13157         (gst_value_transform_array_string), (gst_value_serialize_array),
13158         (gst_value_deserialize_array), (gst_value_intersect_array),
13159         (gst_value_is_fixed), (_gst_value_initialize):
13160         * gst/gstvalue.h:
13161           GstElement::new-pad -> pad-added, GstElement::state-change ->
13162           state-changed, GstValueFixedList -> GstValueArray, add format and
13163           flags as their own arguments in gst_element_seek() (should improve
13164           "bindeability"), remove function generators since they don't work
13165           under a whole bunch of compilers (they were deprecated already
13166           anyway).
13167
13168 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13169
13170         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13171         (_gst_debug_register_funcptr):
13172         * gst/gstinfo.h:
13173           Fix illegal cast on some platforms (#309253).
13174
13175 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13176
13177         * gst/gstmessage.c: (gst_message_new_custom):
13178         * gst/gstmessage.h:
13179           Add _new_custom, make _new_application a macro to _new_custom.
13180
13181 2005-07-20  Wim Taymans  <wim@fluendo.com>
13182
13183         * gst/base/gstbasesrc.c: (gst_base_src_init),
13184         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13185         * gst/base/gstbasesrc.h:
13186         Add a gboolean to decide when to push out a discont.
13187
13188         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13189         (gst_queue_loop), (gst_queue_handle_src_query),
13190         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13191         (gst_queue_set_property), (gst_queue_get_property):
13192         Some cleanups.
13193
13194         * tests/threadstate/threadstate1.c: (main):
13195         Make a thread test compile and run... very silly..
13196
13197
13198 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13199
13200         * docs/manual/appendix-porting.xml:
13201           Mention removal of libgstgconf-0.9.la and existence of gconf
13202           elements.
13203
13204 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13205
13206         * docs/pwg/advanced-clock.xml:
13207         * docs/pwg/appendix-porting.xml:
13208         * docs/pwg/intro-preface.xml:
13209         * docs/pwg/other-base.xml:
13210         * docs/pwg/other-manager.xml:
13211         * docs/pwg/other-nton.xml:
13212         * docs/pwg/other-ntoone.xml:
13213         * docs/pwg/other-oneton.xml:
13214         * docs/pwg/pwg.xml:
13215           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13216           demuxer), remove n-to-n (was never written), fix some code examples
13217           and links and update the porting section to include all this.
13218
13219 2005-07-19  Wim Taymans  <wim@fluendo.com>
13220
13221         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13222         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13223         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13224         (gst_queue_src_activate_push), (gst_queue_change_state),
13225         (gst_queue_get_property):
13226         * gst/gstqueue.h:
13227         Propagate GstFlowReturn more intelligently upstream and output
13228         an ERROR/EOS when streaming stopped due to fatal error.
13229
13230 2005-07-19  Wim Taymans  <wim@fluendo.com>
13231
13232         * tools/gst-launch.c: (check_intr), (event_loop), (main):
13233         Don't block forever for the state change to complete, the
13234         pipeline already did with a sensible timeout.
13235
13236 2005-07-19  Wim Taymans  <wim@fluendo.com>
13237
13238         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13239         Make sure we never call the create function is we
13240         got deactivated.
13241
13242 2005-07-19  Andy Wingo  <wingo@pobox.com>
13243
13244         * gst/parse/parse.l: Attempt to solve bug #172815.
13245
13246 2005-07-19  Wim Taymans  <wim@fluendo.com>
13247
13248         * docs/design/part-clocks.txt:
13249         * docs/design/part-events.txt:
13250         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13251         Small docs updates.
13252         Only update the seeking values when we are not
13253         busy streaming.
13254
13255 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13256
13257         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13258           Oops, ignore the result of gst_pad_push_event here.
13259
13260 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13261
13262         * gst/base/gstbasesrc.c: (gst_base_src_loop),
13263         (gst_base_src_activate_push):
13264           Send discont event from the loop function, as pads
13265           aren't activated yet in the activate_push handler.
13266
13267         * gst/gstbin.c: (bin_bus_handler):
13268           Don't leak element name.
13269
13270 2005-07-18  Andy Wingo  <wingo@pobox.com>
13271
13272         * configure.ac: Use AS_LIBTOOL_TAGS.
13273
13274 2005-07-18  Wim Taymans  <wim@fluendo.com>
13275
13276         * docs/gst/gstreamer.types:
13277         Remove deleted types.
13278
13279 2005-07-18  Wim Taymans  <wim@fluendo.com>
13280
13281         * check/elements/gstfakesrc.c: (GST_START_TEST):
13282         * configure.ac:
13283         * gst/Makefile.am:
13284         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13285         (init_popt_callback):
13286         * gst/gst.h:
13287         * gst/gst_private.h:
13288         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13289         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13290         * gst/gstbin.h:
13291         * gst/gstbus.h:
13292         * gst/gstconfig.h.in:
13293         * gst/gstelement.c: (gst_element_class_init),
13294         (gst_element_set_base_time), (gst_element_get_base_time),
13295         (iterator_fold_with_resync), (gst_element_change_state),
13296         (gst_element_dispose), (gst_element_get_bus):
13297         * gst/gstelement.h:
13298         * gst/gstelementfactory.h:
13299         * gst/gsterror.c: (_gst_core_errors_init):
13300         * gst/gsterror.h:
13301         * gst/gstevent.h:
13302         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13303         * gst/gstindex.c:
13304         * gst/gstinfo.c: (_gst_debug_init):
13305         * gst/gstmessage.c: (_gst_message_copy):
13306         * gst/gstmessage.h:
13307         * gst/gstminiobject.h:
13308         * gst/gstobject.c:
13309         * gst/gstobject.h:
13310         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13311         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13312         * gst/gstpad.h:
13313         * gst/gstparse.h:
13314         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13315         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13316         (gst_pipeline_get_last_stream_time):
13317         * gst/gstpipeline.h:
13318         * gst/gstpluginfeature.h:
13319         * gst/gstquery.h:
13320         * gst/gstscheduler.c:
13321         * gst/gstscheduler.h:
13322         * gst/gststructure.h:
13323         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13324         (gst_task_finalize), (gst_task_func), (gst_task_create),
13325         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13326         (gst_task_stop), (gst_task_pause):
13327         * gst/gsttask.h:
13328         * gst/gsttypefind.h:
13329         * gst/gsttypes.h:
13330         * gst/registries/gstlibxmlregistry.c: (load_feature),
13331         (gst_xml_registry_load), (gst_xml_registry_save_feature):
13332         * gst/registries/gstxmlregistry.c:
13333         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13334         * gst/schedulers/threadscheduler.c:
13335         * libs/gst/control/dparammanager.h:
13336         * tools/gst-inspect.c: (print_element_list),
13337         (print_plugin_features), (print_element_features):
13338         * tools/gst-xmlinspect.c: (print_element_list),
13339         (print_plugin_info), (main):
13340         Removed plugable schedulers.
13341         Removed Scheduler/Manager from elements.
13342         Removed gsttypes.h, rearranged includes.
13343         Removed dependency pad<->element, element<>pipeline, and
13344         various others,  fix includes.
13345         implement gst_pad_get_parent() with gst_object_get_parent()
13346         Make GstTask sefcontained.
13347         Fix _get_state() on GstBin, it did not return ASYNC with a 0
13348         timeout.
13349         Fix endless loop in iterator_fold_with_resync.
13350
13351
13352 2005-07-18  Wim Taymans  <wim@fluendo.com>
13353
13354         * gst/Makefile.am:
13355         * gst/gstarch.h:
13356         Remove old file.
13357
13358 2005-07-18  Wim Taymans  <wim@fluendo.com>
13359
13360         * gst/Makefile.am:
13361         No more cothreads.h
13362
13363 2005-07-18  Wim Taymans  <wim@fluendo.com>
13364
13365         * gst/cothreads.c:
13366         * gst/cothreads.h:
13367         Let's remove these.
13368
13369 2005-07-18  Wim Taymans  <wim@fluendo.com>
13370
13371         * docs/design/part-dynamic.txt:
13372         * docs/design/part-events.txt:
13373         * docs/design/part-seeking.txt:
13374         Some more docs in the works.
13375
13376         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13377         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13378         (gst_base_transform_setcaps), (gst_base_transform_get_size),
13379         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13380         (gst_base_transform_handle_buffer),
13381         (gst_base_transform_sink_activate_push),
13382         (gst_base_transform_src_activate_pull),
13383         (gst_base_transform_set_passthrough),
13384         (gst_base_transform_is_passthrough):
13385         Refcounting fixes.
13386
13387         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13388         Cleanups.
13389
13390         * gst/gstevent.c: (gst_event_finalize):
13391         Set SRC to NULL.
13392
13393         * gst/gstutils.c: (gst_element_unlink),
13394         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13395         (gst_pad_proxy_setcaps):
13396         * gst/gstutils.h:
13397         Add _get_parent_element() to get a pads parent as an element.
13398
13399 2005-07-18  Wim Taymans  <wim@fluendo.com>
13400
13401         * check/gst/gstbin.c: (GST_START_TEST):
13402         Remove bogus test.
13403
13404 2005-07-18  Wim Taymans  <wim@fluendo.com>
13405
13406         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13407         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13408         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13409         (gst_base_sink_event), (gst_base_sink_do_sync),
13410         (gst_base_sink_chain), (gst_base_sink_loop),
13411         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13412         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13413         Refcounting fixes.
13414         Fix logic for returning ASYNC when not prerolled.
13415
13416 2005-07-18  Wim Taymans  <wim@fluendo.com>
13417
13418         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13419         Fix nasty refcount bug.
13420
13421 2005-07-16 Philippe Khalaf <burger@speedy.org>
13422
13423         * gst/elements/gstfdsrc.c:
13424         * gst/elements/gstfdsrc.h:
13425         * gst/elements/gstelements.c:
13426         * gst/elements/Makefile.am:
13427         Ported fdsrc to 0.9.
13428
13429 2005-07-16  Wim Taymans  <wim@fluendo.com>
13430
13431         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13432         (gst_base_sink_do_sync):
13433         Fix compile error.
13434
13435 2005-07-16  Wim Taymans  <wim@fluendo.com>
13436
13437         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13438         (gst_base_sink_event), (gst_base_sink_get_times),
13439         (gst_base_sink_do_sync), (gst_base_sink_change_state):
13440         * gst/base/gstbasesink.h:
13441         Store and use discont values when syncing buffers as described
13442         in design docs.
13443         
13444         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13445         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13446         (gst_base_src_activate_push):
13447         Push discont event when starting.
13448
13449         * gst/elements/gstidentity.c: (gst_identity_transform):
13450         Small cleanups.
13451
13452         * gst/gstbin.c: (gst_bin_change_state):
13453         Small cleanups in base_time  distribution.
13454
13455         * gst/gstelement.c: (gst_element_set_base_time),
13456         (gst_element_get_base_time), (gst_element_change_state):
13457         * gst/gstelement.h:
13458         Added methods for the base_time of the element.
13459         Some MT fixes.
13460
13461         * gst/gstpipeline.c: (gst_pipeline_send_event),
13462         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13463         (gst_pipeline_get_last_stream_time):
13464         * gst/gstpipeline.h:
13465         MT fixes.
13466         Handle seeking as described in design doc, remove stream_time
13467         hack.
13468         Cleanups clock and stream_time selection code. Added accessors
13469         for the stream_time.
13470         
13471
13472 2005-07-16  Andy Wingo  <wingo@pobox.com>
13473
13474         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13475         (#305291).
13476
13477 2005-07-16  Wim Taymans  <wim@fluendo.com>
13478
13479         * check/gst/gstbin.c: (GST_START_TEST):
13480         Make elements silent as the deep_notify refs the
13481         parent, which might make the test fail.
13482
13483         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13484         Don't hold the lock for too long.
13485
13486 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
13487
13488         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13489           Don't unref the caps we passed to gst_caps_make_writable() after
13490           passing them. gst_caps_make_writable() will do that for us.
13491
13492 2005-07-15  Andy Wingo  <wingo@pobox.com>
13493
13494         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13495         (#157311).
13496
13497         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13498         own marshalling function for the handoff signal. Properly type the
13499         buffer as a buffer. Fixes some warnings. Should do a more general
13500         solution.
13501         (gst_identity_class_init): Plug into the right marshaller.
13502
13503 2005-07-15  Wim Taymans  <wim@fluendo.com>
13504
13505         * docs/design/part-TODO.txt:
13506         * docs/design/part-clocks.txt:
13507         * docs/design/part-element-sink.txt:
13508         * docs/design/part-events.txt:
13509         * docs/design/part-gstpipeline.txt:
13510         Updated docs, mostly DISCONT related.
13511
13512 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
13513
13514         * docs/pwg/building-pads.xml:
13515           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13516
13517 2005-07-15  Andy Wingo  <wingo@pobox.com>
13518
13519         * tools/gst-typefind.c: Update, add copyright block.
13520
13521         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13522         Normalize and truncate caps before fixation.
13523
13524         * gst/gstcaps.h:
13525         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13526         discards all but the first structure from its argument.
13527
13528 2005-07-15  Wim Taymans  <wim@fluendo.com>
13529
13530         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13531         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13532         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13533         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13534         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13535         (gst_base_transform_chain), (gst_base_transform_change_state),
13536         (gst_base_transform_set_passthrough),
13537         (gst_base_transform_is_passthrough):
13538         * gst/base/gstbasetransform.h:
13539         Make passthrough work using the bufferpools.
13540         Changed API a bit, subclasses have to write into a buffer
13541         provided by the base class.
13542         More debug info in nego functions.
13543         
13544         * gst/elements/gstidentity.c: (gst_identity_init),
13545         (gst_identity_transform):
13546         Port to new base class.
13547
13548 2005-07-15  Wim Taymans  <wim@fluendo.com>
13549
13550         * gst/gstmessage.c: (gst_message_new_state_changed):
13551         * tools/gst-launch.c: (event_loop), (main):
13552         Totally dump messages in -launch with the -m option.
13553         Fix message name for State messages,
13554
13555 2005-07-14  Wim Taymans  <wim@fluendo.com>
13556
13557         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13558         Post error messages on errors.
13559
13560 2005-07-14  Wim Taymans  <wim@fluendo.com>
13561
13562         * gst/gstcaps.c: (gst_caps_do_simplify):
13563         Remove debug info.
13564
13565         * gst/gsterror.h:
13566         Define error for stream stopped.
13567
13568         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13569         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13570         Do proper return values.
13571
13572         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13573         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13574         (gst_pad_get_range):
13575         Better return values.
13576
13577         * gst/gstpad.h:
13578         Reorganise return values, add macro to check for fatal errors.
13579
13580         * gst/gstqueue.c: (gst_queue_chain):
13581         Return proper GstFlowReturn values,
13582
13583 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13584
13585         * docs/gst/gstreamer-sections.txt:
13586         * docs/gst/gstreamer.types:
13587         * docs/gst/tmpl/gst.sgml:
13588         * docs/gst/tmpl/gstbasesink.sgml:
13589         * docs/gst/tmpl/gstbasesrc.sgml:
13590         * docs/gst/tmpl/gstbasetransform.sgml:
13591         * docs/gst/tmpl/gstbin.sgml:
13592         * docs/gst/tmpl/gstbuffer.sgml:
13593         * docs/gst/tmpl/gstcaps.sgml:
13594         * docs/gst/tmpl/gstclock.sgml:
13595         * docs/gst/tmpl/gstcompat.sgml:
13596         * docs/gst/tmpl/gstconfig.sgml:
13597         * docs/gst/tmpl/gstelement.sgml:
13598         * docs/gst/tmpl/gstelementdetails.sgml:
13599         * docs/gst/tmpl/gstelementfactory.sgml:
13600         * docs/gst/tmpl/gstenumtypes.sgml:
13601         * docs/gst/tmpl/gsterror.sgml:
13602         * docs/gst/tmpl/gstevent.sgml:
13603         * docs/gst/tmpl/gstfakesink.sgml:
13604         * docs/gst/tmpl/gstfakesrc.sgml:
13605         * docs/gst/tmpl/gstfilesink.sgml:
13606         * docs/gst/tmpl/gstfilesrc.sgml:
13607         * docs/gst/tmpl/gstfilter.sgml:
13608         * docs/gst/tmpl/gstformat.sgml:
13609         * docs/gst/tmpl/gstghostpad.sgml:
13610         * docs/gst/tmpl/gstimplementsinterface.sgml:
13611         * docs/gst/tmpl/gstindex.sgml:
13612         * docs/gst/tmpl/gstindexfactory.sgml:
13613         * docs/gst/tmpl/gstinfo.sgml:
13614         * docs/gst/tmpl/gstiterator.sgml:
13615         * docs/gst/tmpl/gstmacros.sgml:
13616         * docs/gst/tmpl/gstmemchunk.sgml:
13617         * docs/gst/tmpl/gstminiobject.sgml:
13618         * docs/gst/tmpl/gstobject.sgml:
13619         * docs/gst/tmpl/gstpad.sgml:
13620         * docs/gst/tmpl/gstpadtemplate.sgml:
13621         * docs/gst/tmpl/gstparse.sgml:
13622         * docs/gst/tmpl/gstpipeline.sgml:
13623         * docs/gst/tmpl/gstplugin.sgml:
13624         * docs/gst/tmpl/gstpluginfeature.sgml:
13625         * docs/gst/tmpl/gstquery.sgml:
13626         * docs/gst/tmpl/gstqueue.sgml:
13627         * docs/gst/tmpl/gstregistry.sgml:
13628         * docs/gst/tmpl/gstregistrypool.sgml:
13629         * docs/gst/tmpl/gstscheduler.sgml:
13630         * docs/gst/tmpl/gstschedulerfactory.sgml:
13631         * docs/gst/tmpl/gststructure.sgml:
13632         * docs/gst/tmpl/gstsystemclock.sgml:
13633         * docs/gst/tmpl/gsttaglist.sgml:
13634         * docs/gst/tmpl/gsttagsetter.sgml:
13635         * docs/gst/tmpl/gsttrace.sgml:
13636         * docs/gst/tmpl/gsttrashstack.sgml:
13637         * docs/gst/tmpl/gsttypefind.sgml:
13638         * docs/gst/tmpl/gsttypefindfactory.sgml:
13639         * docs/gst/tmpl/gsttypes.sgml:
13640         * docs/gst/tmpl/gsturihandler.sgml:
13641         * docs/gst/tmpl/gsturitype.sgml:
13642         * docs/gst/tmpl/gstutils.sgml:
13643         * docs/gst/tmpl/gstvalue.sgml:
13644         * docs/gst/tmpl/gstversion.sgml:
13645         * docs/gst/tmpl/gstxml.sgml:
13646         * docs/libs/tmpl/gstcontrol.sgml:
13647         * docs/libs/tmpl/gstdataprotocol.sgml:
13648         * docs/libs/tmpl/gstdparam.sgml:
13649         * docs/libs/tmpl/gstdplinint.sgml:
13650         * docs/libs/tmpl/gstdpman.sgml:
13651         * docs/libs/tmpl/gstdpsmooth.sgml:
13652         * docs/libs/tmpl/gstgetbits.sgml:
13653         * docs/libs/tmpl/gstunitconvert.sgml:
13654         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13655         (gst_push_src_base_init), (gst_push_src_class_init),
13656         (gst_push_src_init), (gst_push_src_create):
13657         * gst/base/gstpushsrc.h:
13658         * gst/elements/gstelements.c:
13659         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13660         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13661         (gst_fake_sink_init), (gst_fake_sink_set_property),
13662         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13663         (gst_fake_sink_event), (gst_fake_sink_preroll),
13664         (gst_fake_sink_render), (gst_fake_sink_change_state):
13665         * gst/elements/gstfakesink.h:
13666         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13667         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13668         (gst_fake_src_base_init), (gst_fake_src_class_init),
13669         (gst_fake_src_init), (gst_fake_src_event_handler),
13670         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13671         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13672         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13673         (gst_fake_src_create_buffer), (gst_fake_src_create),
13674         (gst_fake_src_start), (gst_fake_src_stop):
13675         * gst/elements/gstfakesrc.h:
13676         * gst/elements/gstfilesink.c: (_do_init),
13677         (gst_file_sink_base_init), (gst_file_sink_class_init),
13678         (gst_file_sink_init), (gst_file_sink_dispose),
13679         (gst_file_sink_set_location), (gst_file_sink_set_property),
13680         (gst_file_sink_get_property), (gst_file_sink_open_file),
13681         (gst_file_sink_close_file), (gst_file_sink_query),
13682         (gst_file_sink_event), (gst_file_sink_render),
13683         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13684         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13685         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13686         * gst/elements/gstfilesink.h:
13687         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13688         (gst_file_src_class_init), (gst_file_src_init),
13689         (gst_file_src_finalize), (gst_file_src_set_location),
13690         (gst_file_src_set_property), (gst_file_src_get_property),
13691         (gst_file_src_map_region), (gst_file_src_map_small_region),
13692         (gst_file_src_create_mmap), (gst_file_src_create_read),
13693         (gst_file_src_create), (gst_file_src_is_seekable),
13694         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13695         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13696         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13697         (gst_file_src_uri_handler_init):
13698         * gst/elements/gstfilesrc.h:
13699           more autistic cleanliness in functions/names/defines
13700
13701 2005-07-13  Andy Wingo  <wingo@pobox.com>
13702
13703         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13704         source couldn't negotiate.
13705
13706         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13707         connections again.
13708
13709         * gst/gstutils.h:
13710         * gst/gstutils.c (gst_element_link_pads_filtered): New old
13711         function. I am channeling Hades. Put your boots on suckers!!!
13712
13713 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13714
13715         * testsuite/caps/Makefile.am:
13716         * testsuite/caps/value_compare.c:
13717         * testsuite/caps/value_intersect.c:
13718         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13719           move two testsuite apps over to the check dir
13720
13721 2005-07-12  Wim Taymans  <wim@fluendo.com>
13722
13723         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13724         Added more debug info in the negotiate process.
13725
13726         * gst/gstmessage.h:
13727         Prepare for segment playback.
13728
13729         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13730         Better debugging.
13731
13732         * gst/gstutils.c:
13733         Some more docs.
13734
13735         * tools/gst-launch.c: (main):
13736         NULL pipeline on errors.
13737
13738 2005-07-12  Andy Wingo  <wingo@pobox.com>
13739
13740         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13741         not it comes from a malloc region. Make sure our copy gets freed.
13742
13743 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13744
13745         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13746         * check/gst/gstmessage.c: (GST_START_TEST):
13747         * check/gst/gststructure.c: (GST_START_TEST),
13748         (gst_structure_suite), (main):
13749           more testing
13750         * gst/gstelement.c: (gst_element_message_full):
13751           clean up GError and debug string now that they get copied
13752         * gst/gstmessage.c: (gst_message_new_error),
13753         (gst_message_new_warning), (gst_message_parse_error),
13754         (gst_message_parse_warning):
13755           use GST_TYPE_G_ERROR for structure_new, and take copies of
13756           arguments, so that we don't mess up refcounting
13757
13758 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13759
13760         * check/Makefile.am:
13761           add per-test valgrind targets
13762         * check/gst-libs/gdp.c: (GST_START_TEST),
13763         (gst_data_protocol_suite), (main):
13764           clean up
13765
13766 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13767
13768         * check/Makefile.am:
13769           instate more valgrindable tests
13770         * check/elements/gstfakesrc.c: (chain_func), (event_func),
13771         (GST_START_TEST), (fakesrc_suite):
13772         * check/gst/gstpad.c: (GST_START_TEST):
13773         * check/gst/gststructure.c: (GST_START_TEST):
13774           fix test leaks
13775         * docs/gst/tmpl/gstminiobject.sgml:
13776         * gst/gstpad.c: (gst_pad_finalize):
13777           fix the static mutex leak
13778
13779 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13780
13781         * check/Makefile.am:
13782           add two more tests for valgrinding
13783         * check/gst/gstvalue.c: (GST_START_TEST):
13784           test refcount of deserialized buffer, found a leak
13785         * docs/gst/gstreamer-docs.sgml:
13786         * docs/gst/gstreamer-sections.txt:
13787         * docs/gst/gstreamer.types:
13788         * docs/gst/tmpl/gstminiobject.sgml:
13789           add miniobject to docs
13790         * gst/gstminiobject.c:
13791           add some docs
13792         * gst/gstvalue.c: (gst_value_deserialize_buffer),
13793         (gst_string_unwrap):
13794           fix a hard-to-find invalid write for one of the tests
13795           fix a leak for deserialized buffers
13796
13797 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13798
13799         * docs/pwg/advanced-events.xml:
13800         * docs/pwg/advanced-request.xml:
13801         * docs/pwg/advanced-scheduling.xml:
13802         * docs/pwg/appendix-porting.xml:
13803         * docs/pwg/building-boiler.xml:
13804         * docs/pwg/intro-preface.xml:
13805         * docs/pwg/other-ntoone.xml:
13806           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13807           of example code and explanation for pad activation, loop() and
13808           getrange() functions and a bit more. Remove old comments pointing
13809           to loop-functions.
13810         * examples/pwg/Makefile.am:
13811           Add loop/getrange examples.
13812
13813 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13814
13815         * configure.ac:
13816           check for valgrind binary + some fixes
13817         * check/gst.supp:
13818           valgrind suppressions for the tests
13819         * check/Makefile.am:
13820           add a valgrind: target that valgrinds the unit tests
13821         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13822         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13823         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13824         * check/gst/gstghostpad.c:
13825           added some cleanup
13826         * check/gst/gstdata.c:
13827           removed
13828         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13829         (thread_unref), (gst_mini_object_suite), (main):
13830           added
13831         * gst/gst.c: (gst_deinit):
13832         * gst/gst.h:
13833           add a method to clean up.
13834         * gst/gstsystemclock.c: (gst_system_clock_dispose),
13835         (gst_system_clock_obtain):
13836           allow for disposing the system clock.
13837         * tools/gst-launch.c: (main):
13838           deinit
13839
13840 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13841
13842         * docs/gst/tmpl/gstbasesrc.sgml:
13843         * docs/gst/tmpl/gstfakesrc.sgml:
13844         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13845         (gst_base_src_init), (gst_base_src_set_property),
13846         (gst_base_src_get_property), (gst_base_src_get_range),
13847         (gst_base_src_start):
13848         * gst/base/gstbasesrc.h:
13849           add num-buffers property
13850         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13851         (gst_fakesrc_init), (gst_fakesrc_set_property),
13852         (gst_fakesrc_get_property), (gst_fakesrc_create),
13853         (gst_fakesrc_start):
13854           remove num-buffers property
13855
13856 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13857
13858         * docs/gst/gstreamer-sections.txt:
13859         * docs/gst/tmpl/gstbasesink.sgml:
13860         * docs/gst/tmpl/gstbasesrc.sgml:
13861         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13862         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13863         (gst_base_sink_finalize), (gst_base_sink_set_clock),
13864         (gst_base_sink_set_property), (gst_base_sink_get_property),
13865         (gst_base_sink_handle_object), (gst_base_sink_event),
13866         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13867         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
13868         (gst_base_sink_loop), (gst_base_sink_deactivate),
13869         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
13870         (gst_base_sink_change_state):
13871         * gst/base/gstbasesink.h:
13872         * gst/base/gstbasesrc.h:
13873         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
13874         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13875         (gst_filesink_init):
13876           more macro splitting
13877
13878 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13879
13880         * gst/gstelement.c: (gst_element_get_bus):
13881           add debug
13882         * tools/gst-launch.c: (check_intr), (event_loop):
13883           fix bus leaks
13884
13885 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13888           fix a caps leak
13889
13890 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13891
13892         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13893         (gst_base_src_finalize):
13894           add finalize method and clean up properly
13895         * gst/gstpipeline.c: (gst_pipeline_dispose):
13896           add debug
13897
13898 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13899
13900         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
13901         (gst_bin_suite):
13902           add more things to check
13903         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13904         * gst/gstelement.c:
13905           more debug
13906
13907 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13908
13909         * check/elements/gstfakesrc.c: (chain_func), (event_func),
13910         (GST_START_TEST), (fakesrc_suite):
13911         * check/gst-libs/gdp.c: (GST_START_TEST):
13912         * check/gst/gst.c: (GST_START_TEST):
13913         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13914         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13915         * check/gst/gstbus.c: (GST_START_TEST):
13916         * check/gst/gstcaps.c: (GST_START_TEST):
13917         * check/gst/gstdata.c: (GST_START_TEST):
13918         * check/gst/gstelement.c: (GST_START_TEST):
13919         * check/gst/gstghostpad.c: (GST_START_TEST):
13920         * check/gst/gstiterator.c: (GST_START_TEST):
13921         * check/gst/gstmessage.c: (GST_START_TEST):
13922         * check/gst/gstobject.c: (GST_START_TEST):
13923         * check/gst/gstpad.c: (GST_START_TEST):
13924         * check/gst/gststructure.c: (GST_START_TEST):
13925         * check/gst/gstsystemclock.c: (GST_START_TEST),
13926         (gst_systemclock_suite):
13927         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13928         * check/gst/gstvalue.c: (GST_START_TEST):
13929         * check/pipelines/cleanup.c: (GST_START_TEST):
13930         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13931         * check/states/sinks.c: (GST_START_TEST):
13932         * check/gstcheck.c: (gst_check_init):
13933         * check/gstcheck.h:
13934           add debugging category
13935           use GST_START_TEST now, so we add a debug line
13936
13937 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13938
13939         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
13940           add test for state change message on a bin
13941         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
13942           add another test
13943         * gst/gstbin.c: (gst_bin_init):
13944         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
13945         * gst/gstelement.c: (gst_element_post_message),
13946         (gst_element_set_state):
13947         * gst/gstelementfactory.c: (gst_element_factory_create):
13948         * gst/gstmessage.c: (gst_message_new):
13949         * gst/gstscheduler.c:
13950           various debugging additions and cleanups
13951
13952 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13953
13954         * check/Makefile.am:
13955         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
13956         (main):
13957           adding tests for elements
13958         * gst/gstelement.c: (gst_element_dispose):
13959
13960 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13961
13962         * gst/registries/gstlibxmlregistry.c: (load_feature):
13963           plug more leaks.  A simple gst_init() now is leakfree, yay.
13964
13965 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13966
13967         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
13968         (gst_xml_registry_load):
13969           plug another memleak
13970
13971 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13972
13973         * configure.ac:
13974           use GST_SET_ERROR_CFLAGS
13975         * docs/faq/cvs.xml:
13976           change to ERROR_CFLAGS
13977
13978 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13979
13980         * configure.ac:
13981           make GST_ERROR_CFLAGS overridable and re-enable Werror
13982         * docs/faq/cvs.xml:
13983           add a note about error CFLAGS
13984         * docs/gst/tmpl/gstfakesrc.sgml:
13985         * gst/elements/gstfakesrc.c:
13986           comment out some unused code
13987         * gst/gst.c: (split_and_iterate):
13988         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
13989         (load_feature):
13990           plug some memleaks
13991
13992 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13993
13994         * common/Makefile.am:
13995         * common/gtk-doc.mak:
13996         * docs/gst/Makefile.am:
13997           factor out gtk-doc.mak
13998
13999 2005-07-07  Wim Taymans  <wim@fluendo.com>
14000
14001         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14002         (gst_thread_scheduler_dispose):
14003         Unlock the STREAM_LOCK completely.
14004
14005 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14006
14007         * check/Makefile.am:
14008         * check/elements/.cvsignore:
14009         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14010         (START_TEST), (fakesrc_suite), (main):
14011         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14012         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14013         (gst_fakesrc_create), (gst_fakesrc_start):
14014         * gst/elements/gstfakesrc.h:
14015           adding a first element test
14016
14017 2005-07-07  Andy Wingo  <wingo@pobox.com>
14018
14019         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14020         debug message.
14021
14022 2005-07-07  Wim Taymans  <wim@fluendo.com>
14023
14024         * gst/gstquery.c:
14025         * gst/gstquery.h:
14026         Remove old types
14027
14028 2005-07-07  Wim Taymans  <wim@fluendo.com>
14029
14030         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14031         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14032         Allow subclasses to implement their own negotiation.
14033
14034 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14035
14036         * docs/design/part-gstbin.txt:
14037         * docs/design/part-gstpipeline.txt:
14038           Update design notes to reflect the movement of
14039           responsibility for bus handling from GstPipeline to
14040           GstBin
14041
14042 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14043
14044         * configure.ac:
14045           Remove unnecessary queue2/3/4 examples.
14046
14047 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14048
14049         * examples/Makefile.am:
14050         * examples/helloworld/helloworld.c: (event_loop), (main):
14051         * examples/queue/queue.c: (event_loop), (main):
14052         * examples/queue2/queue2.c: (main):
14053           Update a couple of the examples to work again.
14054
14055         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14056         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14057          Spelling corrections and extra debug.
14058         
14059         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14060         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14061         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14062         * gst/gstbin.h:
14063         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14064         (gst_pipeline_change_state):
14065         * gst/gstpipeline.h:
14066           Move the bus handler for children to the GstBin, and create a
14067           separate bus for receiving messages from children to the one the
14068           bus sends 'upwards' on.
14069
14070 2005-07-06  Wim Taymans  <wim@fluendo.com>
14071
14072         * gst/base/README:
14073         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14074         (gst_base_sink_handle_object), (gst_base_sink_loop),
14075         (gst_base_sink_change_state):
14076         * gst/base/gstbasesink.h:
14077         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14078         (gst_base_src_init), (gst_base_src_setcaps),
14079         (gst_base_src_getcaps), (gst_base_src_loop),
14080         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14081         (gst_base_src_start), (gst_base_src_change_state):
14082         * gst/base/gstbasesrc.h:
14083         Make basesrc negotiate.
14084         Handle the case where preroll fails in basesink.
14085         Update README.
14086
14087 2005-07-06  Wim Taymans  <wim@fluendo.com>
14088
14089         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14090         Implement the fixate function.
14091         Clean up acceptcaps.
14092
14093 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14094
14095         * docs/pwg/building-filterfactory.xml:
14096         * docs/pwg/pwg.xml:
14097           Remove never-written filter-factory chapter; I'll add the various
14098           base classes to part 4 ("other element types") later on.
14099
14100 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14101
14102         * docs/pwg/advanced-negotiation.xml:
14103         * docs/pwg/building-boiler.xml:
14104         * docs/pwg/building-pads.xml:
14105         * docs/pwg/pwg.xml:
14106         * examples/pwg/Makefile.am:
14107           Add a chapter on caps negotiation, simplify the original code
14108           samples a bit w.r.t. caps negotiation, add link to the advanced
14109           section. Add a bunch of examples showing different use cases of
14110           different types of caps negotiation. Upstream renegotiation isn't
14111           fully documented yet since nobody knows how that works.
14112
14113 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14114
14115         * check/gst/gstpad.c:
14116         * check/gstcheck.c:
14117         * gst/gstpad.c: (gst_pad_get_internal_links_default):
14118           if pad has no parent, return NULL as list of internal links
14119
14120 2005-07-05  Andy Wingo  <wingo@pobox.com>
14121
14122         * gst/elements/gstfilesrc.c:
14123         * gst/elements/gstfakesrc.c: 
14124         * gst/base/gstpushsrc.c:
14125         * gst/base/gstbasesrc.h: 
14126         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14127         
14128 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
14129
14130         * Makefile.am:
14131           better report generation target (lcov needs a patch)
14132
14133 2005-07-05  Andy Wingo  <wingo@pobox.com>
14134
14135         * gst/elements, testsuite: Null if we got it...
14136
14137 2005-07-05  Wim Taymans  <wim@fluendo.com>
14138
14139         * configure.ac:
14140         * libs/gst/dataprotocol/Makefile.am:
14141         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14142         * libs/gst/dataprotocol/dataprotocol.h:
14143         * pkgconfig/Makefile.am:
14144         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14145         * pkgconfig/gstreamer-dataprotocol.pc.in:
14146         Ported dataprotol to 0.9. 
14147         Added pkgconfig files.
14148
14149 2005-07-05  Andy Wingo  <wingo@pobox.com>
14150
14151         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14152         Default to returning TRUE for the case when tranform_caps returns
14153         a fixed caps, like for identity or volume.
14154
14155         * check/gst/gstbus.c (pound_bus_with_messages): 
14156         * check/gst/gstmessage.c (START_TEST): 
14157         * check/pipelines/simple_launch_lines.c (got_handoff): Application
14158         message API change.
14159
14160         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14161         logic weaks here: always run transform_caps, trying passthrough
14162         operation only if the original caps intersects with the transform.
14163
14164         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14165         source and sink caps.
14166
14167         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14168         Intersect the peer caps with the pad template before going into
14169         transform_caps.
14170         (gst_base_transform_transform_caps): More debugging.
14171
14172         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14173         src argument.
14174
14175 2005-07-04  Edward Hervey  <edward@fluendo.com>
14176
14177         * gst/gstutils.c:
14178         * gst/gstutils.h:
14179         (gst_pad_add_*_probe): now returns the signal id for better wrapping
14180         in bindings.
14181
14182 2005-07-04  Andy Wingo  <wingo@pobox.com>
14183
14184         * check/gst/gstpad.c: Only set explicit caps on pads.
14185
14186 2005-07-01  Andy Wingo  <wingo@pobox.com>
14187
14188         * tests/network-clock.scm: Commentary update.
14189
14190         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14191         Didn't really make sense, not implementable with basetransform,
14192         etc.
14193         (gst_identity_transform): Unref inbuf via make_writable. Feeble
14194         attempt at implementing the sync property, needs an unlock method.
14195
14196         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14197         New func, by default returns the same caps (the identity
14198         transformation).
14199         (gst_base_transform_getcaps): Uses transform_caps to return
14200         something sensible.
14201         (gst_base_transform_setcaps): Complicated logic to get caps on
14202         both pads, even if they are different, and to call set_caps once
14203         for every time both pads get their caps set.
14204         (gst_base_transform_handle_buffer): Give the ref to the transform
14205         function. Allows in-place modification of the buffer.
14206
14207         * gst/base/gstbasetransform.h (transform_caps): New class method.
14208         Given caps on one side, what can I do on the other.
14209         (set_caps): Take two caps, one for each side of the element.
14210
14211         * gst/gstpad.h:
14212         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14213         caps in place. This is safe because we can check the mutability of
14214         the caps, and a good idea because fixate functions are just called
14215         as a matter of last resort. (Not actually implemented.)
14216         (gst_pad_set_caps): If the caps we're setting is actually the same
14217         as the existing pad caps, just update the pointer without calling
14218         setcaps. Assert that caps is either NULL or fixed, as per the
14219         docs.
14220
14221         * gst/gstghostpad.c: Update for fixate changes.
14222
14223 2005-07-02  Andy Wingo  <wingo@pobox.com>
14224
14225         * gst/gstcaps.c:
14226         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14227         two refcounts makes it immutable, which is enough. Doc more.
14228
14229 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
14230
14231         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14232           Put the mini_object into GValue as a mini_object,
14233           not a gpointer, since that's how we declared
14234           the signal.
14235
14236 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14237
14238         * examples/pwg/Makefile.am:
14239           Fix buildbot again.
14240
14241 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14242
14243         * docs/pwg/building-testapp.xml:
14244           Add extra check.
14245         * examples/pwg/Makefile.am:
14246           Fix buildbot.
14247
14248 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14249
14250         * configure.ac:
14251         * examples/Makefile.am:
14252         * examples/pwg/Makefile.am:
14253         * examples/pwg/extract.pl:
14254           Enable building the PWG examples.
14255         * docs/pwg/advanced-interfaces.xml:
14256           Add URI interface stub.
14257         * docs/pwg/advanced-types.xml:
14258         * docs/pwg/other-autoplugger.xml:
14259         * docs/pwg/appendix-porting.xml:
14260         * docs/pwg/pwg.xml:
14261           Add porting guide (mostly stubs), remove autoplugging (see ADM).
14262         * docs/pwg/building-boiler.xml:
14263         * docs/pwg/building-chainfn.xml:
14264         * docs/pwg/building-pads.xml:
14265         * docs/pwg/building-props.xml:
14266         * docs/pwg/building-state.xml:
14267         * docs/pwg/building-testapp.xml:
14268           Update the building-*.xml parts for 0.9 changes. All examples
14269           code blocks compile in examples/pwg/*.
14270
14271 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14272
14273         * docs/manual/advanced-autoplugging.xml:
14274         * docs/manual/appendix-checklist.xml:
14275         * docs/manual/appendix-integration.xml:
14276         * docs/manual/highlevel-components.xml:
14277           Fix playbin/decodebin examples, update docs a bit, mention bus
14278           instead of signals in various places, mention kmplayer and
14279           kaffeine since they have a working GStreamer backend in the KDE
14280           section.
14281
14282 2005-06-30  Wim Taymans  <wim@fluendo.com>
14283
14284         * CHANGES-0.9:
14285         * docs/design/draft-ghostpads.txt:
14286         * docs/design/draft-push-pull.txt:
14287         * docs/design/draft-query.txt:
14288         * docs/design/part-TODO.txt:
14289         * docs/design/part-query.txt:
14290         Added CHANGES-0.9 doc, updated status of other docs.
14291         
14292         * gst/gstquery.h:
14293         Remove "hmm" macro
14294
14295 2005-06-30  Wim Taymans  <wim@fluendo.com>
14296
14297         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14298         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14299         (gst_base_sink_change_state):
14300         * gst/base/gstbasesink.h:
14301         Some tweaks, only EOS and a buffer complete a preroll.
14302
14303 2005-06-30  Andy Wingo  <wingo@pobox.com>
14304
14305         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14306         activate_push down to the internal pad as well.
14307
14308 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
14309
14310         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14311
14312         * gst/gsttaginterface.c:
14313           Some documentation fixes (#307394 and #307397).
14314
14315 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
14316
14317         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14318
14319         * gst/gstvalue.c: (gst_value_intersect_list):
14320           Fix memleak (#309125).
14321
14322 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14323
14324         * docs/manual/advanced-dataaccess.xml:
14325           Fix fakesrc example to compile; doesn't work, bug somewhere...?
14326         * docs/manual/basics-pads.xml:
14327           Add reference for filtered caps to above chapter.
14328
14329 2005-06-30  Wim Taymans  <wim@fluendo.com>
14330
14331         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14332         (gst_bin_change_state):
14333         Probes are gone.
14334         Lame attempt at making the state change function a bit
14335         more readable.
14336
14337 2005-06-30  Wim Taymans  <wim@fluendo.com>
14338
14339         * docs/design/part-clocks.txt:
14340         * docs/design/part-element-sink.txt:
14341         * docs/design/part-events.txt:
14342         * docs/design/part-preroll.txt:
14343         * docs/design/part-states.txt:
14344         Some more tweeks and additions to the docs.
14345
14346 2005-06-30  Wim Taymans  <wim@fluendo.com>
14347
14348         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14349         (default_have_data), (gst_pad_class_init), (gst_pad_init),
14350         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14351         (gst_pad_check_pull_range), (gst_pad_get_range),
14352         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14353         * gst/gstpad.h:
14354         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14355         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14356         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14357         (gst_pad_remove_buffer_probe):
14358         Removed atomic operations, use existing LOCK.
14359         Move exception handling out of main code path.
14360
14361 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14362
14363         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14364         (silly_return_true_function), (gst_pad_class_init),
14365         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14366         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14367         (gst_pad_send_event):
14368           Fix accumulator, add default value by using _emitv() instead
14369           of _emit() for signal emission.
14370
14371 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14372
14373         * docs/manual/advanced-dataaccess.xml:
14374         * examples/manual/Makefile.am:
14375           Add probe example.
14376         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14377           Make work (??).
14378
14379 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
14380
14381         * gst/elements/gstfilesink.c: (gst_filesink_render):
14382           Simplify code so that we don't have to handle short
14383           writes and return GST_FLOW_ERROR if an error occured.
14384
14385 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14386
14387         * docs/gst/gstreamer-docs.sgml:
14388           Remove probes more.
14389
14390 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14391
14392         * docs/gst/gstreamer-sections.txt:
14393         * docs/gst/tmpl/gstpad.sgml:
14394         * docs/gst/tmpl/gstprobe.sgml:
14395         * gst/Makefile.am:
14396         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14397         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14398         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14399         (gst_pad_push_event), (gst_pad_send_event):
14400         * gst/gstpad.h:
14401         * gst/gstutils.c: (gst_pad_add_data_probe),
14402         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14403         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14404         (gst_pad_remove_buffer_probe):
14405         * gst/gstutils.h:
14406           Remove old probes, add new g-signal-based probes and some utility
14407           functions.
14408
14409 2005-06-29  Edward Hervey  <edward@fluendo.com>
14410
14411         * gst/gstelementfactory.c:
14412         * gst/gstutils.h:
14413         * gst/gstutils.c:
14414         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14415         the definition to the header file.
14416
14417 2005-06-29  Andy Wingo  <wingo@pobox.com>
14418
14419         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14420         plugins from the source directory.
14421
14422 2005-06-29  Wim Taymans  <wim@fluendo.com>
14423
14424         * docs/gst/tmpl/gstbuffer.sgml:
14425         * docs/gst/tmpl/gstclock.sgml:
14426         Some fixings for blantently wrong text.
14427
14428 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14429
14430         * check/Makefile.am:
14431         * gst/gst.c: (add_path_func), (init_pre):
14432         * gst/gstregistry.c: (gst_registry_add_path):
14433           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14434           only scan the GST_PLUGIN_PATH locations, and not add
14435           system locations
14436
14437 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14438
14439         * docs/gst/gstreamer-sections.txt:
14440         * docs/gst/tmpl/gstbasesrc.sgml:
14441         * gst/gstelement.c:
14442         * gst/gstelement.h:
14443         * gst/gstevent.c:
14444         * gst/gstutils.c:
14445           doc fixes
14446
14447 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14448
14449         * docs/manual/advanced-autoplugging.xml:
14450           Fix autoplugging example.
14451
14452 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14453
14454         * docs/manual/advanced-autoplugging.xml:
14455         * docs/manual/mime-world.fig:
14456           Try to get autoplugging working, fix type detection. Fix text
14457           in hello-world image.
14458
14459 2005-06-29  Wim Taymans  <wim@fluendo.com>
14460
14461         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14462         (gst_base_sink_change_state):
14463         Small debug line.
14464
14465         * gst/gstclock.h:
14466         map SIGNAL and BROADCAST to the right function.
14467
14468         * gst/gstobject.h:
14469         Remove redundant braces.
14470
14471         * gst/gstpad.c: (gst_pad_set_caps):
14472         Don't call setcaps function when reseting caps to NULL.
14473
14474         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14475         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14476         (gst_system_clock_id_unschedule):
14477         Use BROADCAST as this is what we do.
14478
14479 2005-06-29  Wim Taymans  <wim@fluendo.com>
14480
14481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14482         We are actually prerolling before commiting the state
14483         change. 
14484
14485 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14486
14487         * docs/manual/advanced-clocks.xml:
14488         * docs/manual/advanced-interfaces.xml:
14489         * docs/manual/advanced-metadata.xml:
14490         * docs/manual/advanced-position.xml:
14491         * docs/manual/advanced-schedulers.xml:
14492         * docs/manual/advanced-threads.xml:
14493         * docs/manual/appendix-porting.xml:
14494         * docs/manual/basics-bins.xml:
14495         * docs/manual/basics-bus.xml:
14496         * docs/manual/basics-elements.xml:
14497         * docs/manual/basics-helloworld.xml:
14498         * docs/manual/basics-pads.xml:
14499         * docs/manual/highlevel-components.xml:
14500         * docs/manual/manual.xml:
14501         * docs/manual/thread.fig:
14502           Update (until threads/scheduling) Application Development Manual;
14503           remove GstThread, add GstBus, add simple porting checklist, add
14504           documentation for tag writing, clocks, make all examples until this
14505           part compile and run.
14506         * examples/manual/Makefile.am:
14507           Update from changes to Application Development Manual; add bus
14508           example, remove thread example.
14509
14510 2005-06-28  Wim Taymans  <wim@fluendo.com>
14511
14512         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14513         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14514         (gst_bus_source_dispatch):
14515         Add debugging messages.
14516         Make internal methods static.
14517         Handle the case where the bus is flushed in the handler.
14518         
14519         * gst/gstelement.c: (gst_element_get_bus):
14520         Fix refcount in _get_bus();
14521
14522         * gst/gstpipeline.c: (gst_pipeline_change_state),
14523         (gst_pipeline_get_clock_func):
14524         Clock refcounting fixes.
14525         Handle the case where preroll timed out more gracefully.
14526         
14527         * gst/gstsystemclock.c: (gst_system_clock_dispose):
14528         Clean up the internal thread in dispose. This is needed
14529         for subclasses that actually get disposed.
14530         
14531         * gst/schedulers/threadscheduler.c:
14532         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14533         (gst_thread_scheduler_dispose):
14534         Free thread pool in dispose.
14535
14536 2005-06-28  Andy Wingo  <wingo@pobox.com>
14537
14538         * tests/network-clock-utils.scm (debug, print-event): New utils.
14539
14540         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14541         (*packet-loss*): Unified loss probability.
14542         (network-time): Report out-of-band events.
14543
14544         * tests/plot-data: Add support for out-of-band events. Hack it
14545         into this script instead of passing it down the pipe; should fix
14546         this later.
14547
14548 2005-06-28  Wim Taymans  <wim@fluendo.com>
14549
14550         * docs/gst/gstreamer.types:
14551         * docs/gst/tmpl/gstbasesrc.sgml:
14552         * docs/gst/tmpl/gstpad.sgml:
14553         Docs fixes.
14554
14555 2005-06-28  Wim Taymans  <wim@fluendo.com>
14556
14557         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14558         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14559         (gst_proxy_pad_do_fixatecaps):
14560         Correctly proxy the check_pull_range function.
14561
14562 2005-06-28  Andy Wingo  <wingo@pobox.com>
14563
14564         * tests/network-clock.scm: Removed need for slib.
14565         
14566 2005-06-28  Wim Taymans  <wim@fluendo.com>
14567
14568         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14569         (gst_basesink_preroll_queue_flush):
14570         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14571         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14572         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14573         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14574         (gst_proxy_pad_set_property):
14575         * gst/gstpad.c:
14576         * gst/gstpad.h:
14577         * gst/gstqueue.c: (gst_queue_init):
14578         The deprecated pad loop function is removed now.
14579
14580 2005-06-28  Andy Wingo  <wingo@pobox.com>
14581
14582         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14583         New parameters, simulate network packet loss.
14584
14585         * tests/network-clock-utils.scm: Initialize the RNG.
14586
14587 2005-06-28  Wim Taymans  <wim@fluendo.com>
14588
14589         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14590         (gst_basesink_event), (gst_basesink_deactivate):
14591         Flushing the preroll queue always needs to unlock the waiters.
14592
14593 2005-06-28  Edward Hervey  <edward@fluendo.com>
14594
14595         * gst/gstpipeline.c: (gst_pipeline_send_event): 
14596         Wheen a seek was successful on a pipeline, set the stream_time to the
14597         seek offset in order to have a synchronized stream_time.
14598
14599 2005-06-28  Wim Taymans  <wim@fluendo.com>
14600
14601         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14602         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14603         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14604         (gst_proxy_pad_do_fixatecaps):
14605         Call wrapper function instead of just calling the function
14606         pointers. This takes care of any locking and whatmore.
14607
14608 2005-06-28  Wim Taymans  <wim@fluendo.com>
14609
14610         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14611         (gst_pad_pull_range):
14612         * gst/gstpad.h:
14613         CONNECTED -> LINKED.
14614
14615 2005-06-28  Andy Wingo  <wingo@pobox.com>
14616
14617         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14618         source-munging commit!!!
14619
14620         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
14621         (gst_object_sink): Take gpointer arguments, not GstObject --
14622         avoids casts. Like GLib.
14623
14624         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14625         activate.
14626
14627 2005-06-27  Andy Wingo  <wingo@pobox.com>
14628
14629         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14630         remaining buffer.
14631
14632         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14633         returns a sorted copy of the trace list.
14634         (gst_alloc_trace_print_live): New API, only prints traces with
14635         live objects. Sort the list.
14636         (gst_alloc_trace_print_all): Sort the list.
14637         (gst_alloc_trace_print): Align columns.
14638
14639         * gst/elements/gstttypefindelement.c:
14640         * gst/elements/gsttee.c:
14641         * gst/base/gstbasesrc.c:
14642         * gst/base/gstbasesink.c:
14643         * gst/base/gstbasetransform.c:
14644         * gst/gstqueue.c: Adapt for pad activation changes.
14645
14646         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14647         sched.
14648         (gst_pipeline_dispose): Drop ref on sched.
14649
14650         * gst/gstpad.c (gst_pad_init): Set the default activate func.
14651         (gst_pad_activate_default): Push mode by default.
14652         (pre_activate_switch, post_activate_switch): New stubs, things to
14653         do before and after switching activation modes on pads.
14654         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14655         the pad's activate function to choose which mode to activate.
14656         Shortcut on deactivation and call the right function directly.
14657         (gst_pad_activate_pull): New API, (de)activates a pad in pull
14658         mode.
14659         (gst_pad_activate_push): New API, same for push mode.
14660         (gst_pad_set_activate_function) 
14661         (gst_pad_set_activatepull_function) 
14662         (gst_pad_set_activatepush_function): Setters for new API.
14663
14664         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14665         Trace all miniobjects.
14666         (gst_mini_object_make_writable): Unref the arg if we copy, like
14667         gst_caps_make_writable.
14668
14669         * gst/gstmessage.c (_gst_message_initialize): No trace init.
14670
14671         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
14672         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14673         Adapt for new pad API.
14674
14675         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14676
14677         * gst/gstelement.h:
14678         * gst/gstelement.c (gst_element_iterate_src_pads) 
14679         (gst_element_iterate_sink_pads): New API functions.
14680         
14681         * gst/gstelement.c (iterator_fold_with_resync): New utility,
14682         should fold into gstiterator.c in some form.
14683         (gst_element_pads_activate): Simplified via use of fold and
14684         delegation of decisions to gstpad->activate.
14685
14686         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14687         help in debugging.
14688
14689         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14690         class once in init, like gstmessage. Didn't run into this issue
14691         but it seems correct. Don't initialize a trace, gstminiobject does
14692         that.
14693
14694         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14695         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14696         to the bus.
14697         (assert_live_count): New util function, uses alloc traces to check
14698         cleanup.
14699
14700         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14701         To be modified when unlink drops the internal pad.
14702
14703 2005-06-27  Wim Taymans  <wim@fluendo.com>
14704
14705         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14706         (gst_bin_change_state):
14707         Cleanup the get_state() function a little, make sure it
14708         iterates the same set of elements.
14709         Added stub iterate_state_order().
14710
14711 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14712
14713         * docs/gst/gstreamer-docs.sgml:
14714         * docs/gst/gstreamer-sections.txt:
14715         * docs/gst/gstreamer.types:
14716         * docs/gst/tmpl/gstbasesink.sgml:
14717         * docs/gst/tmpl/gstbasesrc.sgml:
14718         * docs/gst/tmpl/gstbasetransform.sgml:
14719         * docs/gst/tmpl/gstelement.sgml:
14720         * docs/gst/tmpl/gstiterator.sgml:
14721         * gst/base/gstbasesrc.c:
14722         * gst/base/gstbasesrc.h:
14723         * gst/base/gstbasetransform.h:
14724         * gst/gstelement.c:
14725         * gst/gstiterator.h:
14726           adding basetransform and iterator docs
14727
14728 2005-06-27  Andy Wingo  <wingo@pobox.com>
14729
14730         * docs/design/part-activation.txt: Notes on how activation should
14731         work -- not quite implemented yet.
14732
14733 2005-06-25  Wim Taymans  <wim@fluendo.com>
14734
14735         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14736         At least get the chain function correct, needs more
14737         fixing.
14738
14739 2005-06-25  Wim Taymans  <wim@fluendo.com>
14740
14741         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14742         (gst_basesink_handle_object), (gst_basesink_event),
14743         (gst_basesink_do_sync), (gst_basesink_handle_event),
14744         (gst_basesink_change_state):
14745         * gst/gsttask.h:
14746         Right, two problems here: ghostpads don't take locks and
14747         glib _rec_mutex_lock_full() with depth==0 still locks.
14748         Catch illegal locking and g_warn them.
14749
14750 2005-06-25  Wim Taymans  <wim@fluendo.com>
14751
14752         * check/states/sinks.c: (START_TEST), (gst_object_suite):
14753         Have to check for completion now...
14754
14755 2005-06-25  Wim Taymans  <wim@fluendo.com>
14756
14757         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14758         (gst_basesink_handle_object), (gst_basesink_event),
14759         (gst_basesink_do_sync), (gst_basesink_handle_event),
14760         (gst_basesink_change_state):
14761         * gst/gstpad.h:
14762         Unlock STREAM_LOCK whatever the recursion was.
14763
14764 2005-06-25  Wim Taymans  <wim@fluendo.com>
14765
14766         * gst/base/gstbasesink.c: (gst_basesink_set_property),
14767         (gst_basesink_preroll_queue_empty),
14768         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
14769         (gst_basesink_event), (gst_basesink_do_sync),
14770         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
14771         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
14772         (gst_basesink_change_state):
14773         Reworked the base sink, handle event and buffer serialisation
14774         correctly and removed possible deadlock.
14775         Handle EOS correctly.
14776
14777 2005-06-25  Wim Taymans  <wim@fluendo.com>
14778
14779         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
14780         (gst_pipeline_change_state):
14781         * tools/gst-launch.c: (check_intr), (event_loop), (main):
14782         Allow elements to post EOS in the state change function.
14783         Fix up -launch, make it exit the poll loop when the
14784         pipeline actually changed state.
14785         Fix up warning parsing in -launch.
14786
14787 2005-06-25  Wim Taymans  <wim@fluendo.com>
14788
14789         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
14790         (gst_tee_sink_activate):
14791         Core takes STREAM_LOCK for us now.
14792
14793 2005-06-25  Wim Taymans  <wim@fluendo.com>
14794
14795         * gst/gstelement.c: (gst_element_get_state_func),
14796         (gst_element_set_state):
14797         * gst/gstelement.h:
14798         * gst/gstmessage.c: (gst_message_parse_error),
14799         (gst_message_parse_warning):
14800         Keep track of current target state while performing a state
14801         change so that subclasses can do something interesting.
14802         Fix parsing of warning/error messages when GError is NULL.
14803
14804 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14805
14806         * docs/gst/Makefile.am:
14807         * docs/gst/gstreamer-docs.sgml:
14808         * docs/gst/gstreamer-sections.txt:
14809         * docs/gst/gstreamer.types:
14810         * docs/gst/tmpl/gstbasesink.sgml:
14811         * docs/gst/tmpl/gstbasesrc.sgml:
14812         * docs/gst/tmpl/gstbin.sgml:
14813         * docs/gst/tmpl/gstcompat.sgml:
14814         * docs/gst/tmpl/gstfakesink.sgml:
14815         * docs/gst/tmpl/gstfakesrc.sgml:
14816         * docs/gst/tmpl/gstfilesink.sgml:
14817         * docs/gst/tmpl/gstfilesrc.sgml:
14818         * docs/gst/tmpl/gstindex.sgml:
14819         * docs/manual/appendix-quotes.xml:
14820         * gst/base/gstbasesrc.h:
14821         * gst/elements/gstfakesrc.h:
14822         * gst/gstmessage.h:
14823           start pulling in base classes and elements in our docs
14824
14825 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
14826
14827         * docs/gst/Makefile.am:
14828         * docs/libs/Makefile.am:
14829           fixed make distcheck with gtk-doc 1.3
14830
14831 2005-06-23  Wim Taymans  <wim@fluendo.com>
14832
14833         * gst/gstelement.c: (gst_element_get_state_func),
14834         (gst_element_set_state), (gst_element_change_state):
14835         When the state did not change, also report NO_PREROLL
14836         when it matters.
14837
14838 2005-06-23  Wim Taymans  <wim@fluendo.com>
14839
14840         * gst/gstpad.c: (gst_pad_event_default):
14841         * gst/gstqueue.c: (gst_queue_loop):
14842         No unsafe task pausing please.
14843
14844 2005-06-23  Wim Taymans  <wim@fluendo.com>
14845
14846         * gst/schedulers/threadscheduler.c:
14847         (gst_thread_scheduler_task_start),
14848         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
14849         Ref the task before pushing it on the threadpool. This
14850         makes sure that we have a ref when the threadfunction is
14851         actually called.
14852
14853 2005-06-23  Andy Wingo  <wingo@pobox.com>
14854
14855         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
14856         offset is greater than the file's size.
14857
14858         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
14859         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
14860         * gst/gstobject.c (gst_object_class_init): Make the class lock
14861         recursive. Wim won't let me drop deep_notify. Decodebin works
14862         again, whoopdy doo.
14863
14864         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
14865         internal pad, and hacks accordingly. Doesn't do it on the target
14866         pad because we change its caps. Probably catches all cases of
14867         interest tho.
14868         (gst_ghost_pad_set_property): Connect to notify::caps as
14869         appropritate.
14870
14871         * tests/network-clock.scm (plot-simulation): Pipe data to the
14872         elite python skript.
14873
14874         * tests/network-clock-utils.scm (define-parameter): New macro,
14875         defines a parameter that can be set via the command line.
14876         (set-parameter!, parse-parameter-arguments): Command line args
14877         parser.
14878
14879         * tests/plot-data: Simple matplotlib-based plotter, takes input on
14880         stdin.
14881
14882 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
14883
14884         * gst/elements/gsttypefindelement.c:
14885         (gst_type_find_element_handle_event):
14886           Don't restart typefinding on a discont.
14887         * gst/gstelement.c: (gst_element_set_state):
14888           Debug spelling fix.
14889         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
14890           Allow changing mode of an active pad.
14891           Debug output fixes.
14892         * gst/registries/gstlibxmlregistry.c: (load_feature):
14893           Don't cast a static pad template to a normal pad template.
14894
14895 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14896
14897         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14898         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14899           remove gst_strtoll completely, since it didn't actually do
14900           anything more than what g_ascii_strtoull already does.
14901           check for range errors when deserializing
14902           do a cast for the unsigned cases; but further fixing needs
14903           a decision on what the interpretation of "(int)" and
14904           deserialization should be for values that fall outside the
14905           type's boundaries (ie, refuse, or interpret as casting)
14906
14907 2005-06-23  Wim Taymans  <wim@fluendo.com>
14908
14909         * check/Makefile.am:
14910         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
14911         * docs/design/part-live-source.txt:
14912         * docs/design/part-states.txt:
14913         * gst/base/gstbasesrc.c: (gst_basesrc_init),
14914         (gst_basesrc_set_live), (gst_basesrc_is_live),
14915         (gst_basesrc_get_range), (gst_basesrc_activate),
14916         (gst_basesrc_change_state):
14917         * gst/base/gstbasesrc.h:
14918         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14919         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
14920         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
14921         * gst/gstelement.c: (gst_element_get_state_func),
14922         (gst_element_set_state):
14923         * gst/gstelement.h:
14924         * gst/gsttypes.h:
14925         * tools/gst-launch.c: (event_loop), (main):
14926         Added support for live sources and other elements that
14927         cannot do preroll.
14928         Updated design docs, added live-source design doc.
14929         Implemented live source functionality in basesrc
14930         Fix error condition in _bin_get_state()
14931         Implement live source handling in -launch.
14932         Added check for live sources.
14933         Fixed case in GstBin where elements were changed state
14934         multiple times.
14935
14936
14937 2005-06-23  Andy Wingo  <wingo@pobox.com>
14938
14939         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
14940         borken refcounting.
14941
14942         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
14943         gst_caps_replace takes care of this for us.
14944
14945         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
14946         gst_pad_set_caps on the target, not just its setcaps() function.
14947
14948         * tests/network-clock.scm: 
14949         * tests/network-clock-utils.scm: A network clock simulator.
14950         Something of an algorithmic testbed before doing something in C.
14951
14952 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14953
14954         * check/Makefile.am:
14955         * check/gst/capslist.h:
14956           copy over from 0.8, and add two with bitmasks specified with
14957           (int) 0xFF...
14958         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14959           add test to parse everything from capslist.h
14960         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
14961         (main):
14962           add test for structure deserialization
14963         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14964           add tests for deserialization of strings to int types
14965         * gst/gststructure.c: (gst_structure_nth_field_name):
14966         * gst/gststructure.h:
14967           add a way to get the name of a field referenced by index
14968         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14969           instead of checking if the resulting long long lies between
14970           min and max, we check if the long long would fit into
14971           a number of bytes for the final type.
14972           This fixes cases where a string represents 2^32 - 1, which
14973           when cast to int would be the (valid) -1, but is bigger than
14974           G_MAXINT
14975
14976 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14977
14978         * gst/parse/grammar.y:
14979           add a log line for type deserialization
14980
14981 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14982
14983         * check/gst/gstvalue.c: (START_TEST):
14984         * gst/gstvalue.c: (gst_value_deserialize):
14985           return long long, not int, so gint64 deserialization actually
14986           works.  Is there any flag that makes the compiler check this ?
14987           Fixes #308559
14988
14989 2005-06-22  Wim Taymans  <wim@fluendo.com>
14990
14991         * gst/gstbuffer.h:
14992         Added convenience macros for setting buffers in GValue.
14993
14994 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14995
14996         * check/gst/.cvsignore:
14997         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14998           add a test deserializing int64, and comment part out because
14999           it fails, yay !
15000
15001 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15002
15003         * check/Makefile.am:
15004         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15005         * testsuite/Makefile.am:
15006         * testsuite/caps/Makefile.am:
15007         * testsuite/caps/value_serialize.c:
15008         * testsuite/test_gst_init.c:
15009           move a value_serialize test over
15010
15011 2005-06-20  Wim Taymans  <wim@fluendo.com>
15012
15013         * gst/gstpad.c:
15014         Small doc updates.
15015         
15016         * gst/gstvalue.c: (gst_value_compare_buffer),
15017         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15018         (gst_value_compare_flags), (gst_value_serialize_flags),
15019         (gst_value_deserialize_flags), (_gst_value_initialize):
15020         Fix serialisation of buffers, they are not boxed types anymore
15021
15022 2005-06-20  Wim Taymans  <wim@fluendo.com>
15023
15024         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15025         Testcase to show error in buffer-on-caps serialisation.
15026
15027 2005-06-20  Andy Wingo  <wingo@pobox.com>
15028
15029         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15030         will be adding to later.
15031
15032         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15033         if its socks fill with rocks.
15034         (gst_system_clock_obtain): Set the name on object construction.
15035         Avoid double-checked locking.
15036
15037 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
15038
15039         * gst/gsturi.c: (gst_element_make_from_uri):
15040           Fix potential endless loop.
15041
15042 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15043
15044         * check/Makefile.am:
15045           add gsttag
15046         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15047         (main):
15048           move over from testsuite dir and clean up
15049         * configure.ac:
15050         * gst/gsttag.c:
15051         * testsuite/Makefile.am:
15052         * testsuite/tags/.cvsignore:
15053         * testsuite/tags/Makefile.am:
15054         * testsuite/tags/merge.c:
15055           remove testsuite/tags
15056
15057 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15058
15059         * docs/gst/gstreamer-sections.txt:
15060         * docs/gst/tmpl/gstenumtypes.sgml:
15061         * win32/gstenumtypes.c:
15062           clean up documentation build a little
15063
15064 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15065
15066         * check/gstcheck.h:
15067           add macros for checking refcounts on objects and caps
15068         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15069           add some more unit tests
15070         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15071         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15072           fix leaked refcounts (I hope :)) so unittest works
15073         * gst/gstpad.h:
15074           whitespace removal
15075
15076 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15077
15078         * configure.ac: back to HEAD
15079
15080 === release 0.9.1 ===
15081
15082 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15083
15084         * NEWS:
15085         * RELEASE:
15086           updated
15087
15088 2005-06-17  Andy Wingo  <wingo@pobox.com>
15089
15090         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15091         assert; it's always possible that the pad gets deactivated in
15092         between the checks in gstpad.c and the implementation. Rely on
15093         finish_preroll() to return a FLUSHING or similar instead of on the
15094         assert.
15095         
15096         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15097         clock and post an EOS message if we come out of finish_preroll in
15098         the playing state.
15099
15100 2005-06-16  David Schleef  <ds@schleef.org>
15101
15102         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15103         (gst_capsfilter_set_property): Allow NULL as possible value
15104         for filter_caps property, indicating GST_CAPS_ANY.
15105
15106 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15107
15108         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15109           fix debug output
15110         * gst/schedulers/Makefile.am:
15111           use libgst prefix
15112         * gstreamer.spec.in:
15113           fix spec for it
15114
15115 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15116
15117         * gstreamer.spec.in:
15118           clean up
15119
15120 2005-06-08  Andy Wingo  <wingo@pobox.com>
15121
15122         * gst/gstutils.c: RPAD fixes all around.
15123         (gst_element_link_pads): Refcounting fixes.
15124
15125         * tools/gst-inspect.c:
15126         * tools/gst-xmlinspect.c:
15127         * parse/grammar.y:
15128         * gst/base/gsttypefindhelper.c:
15129         * gst/base/gstbasesink.c:
15130         * gst/gstqueue.c: RPAD fixes.
15131
15132         * gst/gstghostpad.h:
15133         * gst/gstghostpad.c: New ghost pad implementation as full proxy
15134         pads. The tricky thing is they provide both source and sink
15135         interfaces, since they proxy the internal pad for the external
15136         pad, and vice versa. Implement with lower-level ProxyPad objects,
15137         with the interior proxy pad as a child of the exterior ghost pad.
15138         Should write a doc on this.
15139         
15140         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15141         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15142         gst_object API.
15143         
15144         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15145         pads are real pads. No ghost pads in this file. Not documenting
15146         the myriad s/RPAD/PAD/ and REALIZE fixes.
15147         (gst_pad_class_init): Add properties for "direction" and
15148         "template". Both are construct-only, so they can't change during
15149         the life of the pad. Fixes properly deriving from GstPad.
15150         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15151         derived objects, just set properties when creating the objects via
15152         g_object_new.
15153         (gst_pad_get_parent): Implement as a function, return NULL if the
15154         parent is not an element.
15155         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15156         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15157         
15158         * gst/gstobject.c (gst_object_class_init): Make name a construct
15159         property. Don't set it in the object init.
15160
15161         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15162         with UNKNOWN direction.
15163         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15164         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15165         (gst_element_remove_pad): Remove ghost-pad special cases.
15166         (gst_element_pads_activate): Remove rpad cruft.
15167
15168         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15169         catch the pad's-parent-not-an-element case.
15170
15171         * gst/gst.h: Include gstghostpad.h.
15172
15173         * gst/gst.c (init_post): No more real, ghost pads.
15174
15175         * gst/Makefile.am: Add gstghostpad.[ch].
15176
15177         * check/Makefile.am:
15178         * check/gst/gstbin.c:
15179         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15180         into a bin creates ghost pads, and that the refcounts are right.
15181         Partly moved from gstbin.c.
15182
15183 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * check/gst-libs/.cvsignore:
15186         * check/gst/.cvsignore:
15187         * check/pipelines/.cvsignore:
15188           ignore more
15189         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15190         (START_TEST), (cleanup_suite), (main):
15191           add some tests related to cleanup after running pipelines
15192
15193 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15194
15195         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15196           add a testsuite for GstBuffer
15197
15198 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15199
15200         * gst/gstminiobject.h:
15201           add defines for accessing the refcount
15202
15203 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
15204
15205         * Makefile.am: added support for html unit test coverage reports
15206
15207 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
15208
15209         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15210           Free existing caps if the capsfilter changes. Add a FIXME about
15211           setting those caps on the pads.
15212
15213         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15214           Before adding a ghost pad to a parent bin, check that there isn't
15215           already one for the element on the bin. Prevents infinite recursion
15216           when using decodebin in parse pipelines. Andy says he'll rewrite the
15217           way this works anyway, so ignore the hack.
15218
15219 2005-06-02  Andy Wingo  <wingo@pobox.com>
15220
15221         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15222         file size, pass it on to the type find helper.
15223
15224         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15225         segment_start and segment_end properly according to the seek
15226         method. Segment_end is still a bit flaky because offset can be
15227         negative for CUR and END cases, but it takes -1 as an "unset"
15228         value.
15229
15230 2005-06-02  Wim Taymans  <wim@fluendo.com>
15231
15232         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15233         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15234         (gst_basesink_activate):
15235         * gst/base/gstbasesink.h:
15236         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15237         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15238         (gst_pad_query), (gst_pad_start_task):
15239         * gst/gstpad.h:
15240         * gst/gstqueue.c: (gst_queue_bufferalloc),
15241         (gst_queue_handle_sink_event), (gst_queue_chain):
15242         Bufferalloc: return GstFlowReturn to more accuratly report
15243         why allocation failed.
15244
15245 2005-06-02  Wim Taymans  <wim@fluendo.com>
15246
15247         * gst/gstpipeline.c: (gst_pipeline_send_event):
15248         Take snapshot of state without blocking.
15249
15250 2005-06-02  Wim Taymans  <wim@fluendo.com>
15251
15252         * docs/design/part-TODO.txt:
15253         * docs/design/part-caps.txt:
15254         * docs/design/part-clocks.txt:
15255         * docs/design/part-negotiation.txt:
15256         * docs/design/part-preroll.txt:
15257         Small doc updates 
15258
15259 2005-05-30  Wim Taymans  <wim@fluendo.com>
15260
15261         * gst/elements/gstidentity.c: (gst_identity_event),
15262         (gst_identity_transform), (gst_identity_get_property):
15263         Protect last_message property as it is accessed from
15264         multiple threads.
15265
15266 2005-05-30  Wim Taymans  <wim@fluendo.com>
15267
15268         * gst/gstelement.c: (gst_element_init),
15269         (gst_element_pads_activate), (gst_element_change_state):
15270         Slicker pad activation code.
15271
15272 2005-05-30  Wim Taymans  <wim@fluendo.com>
15273
15274         * gst/Makefile.am:
15275         * gst/gstelement.h:
15276         * gst/gstelementfactory.h:
15277         * gst/gsttypes.h:
15278         Move elementfactory methods to separate .h file.
15279
15280 2005-05-30  Wim Taymans  <wim@fluendo.com>
15281
15282         * docs/design/part-overview.txt:
15283         * gst/gstsystemclock.h:
15284         Small typo fixes, doc updates.
15285
15286 2005-05-30  Wim Taymans  <wim@fluendo.com>
15287
15288         * gst/gst.c: (gst_init_get_popt_table), (init_post),
15289         (init_popt_callback):
15290         Remove cpu-opt flag.
15291
15292 2005-05-30  Wim Taymans  <wim@fluendo.com>
15293
15294         * gst/gstbuffer.c: (gst_subbuffer_finalize),
15295         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15296         * gst/gstbuffer.h:
15297         Avoid typechecking in places where not needed.
15298         Added accessor for malloc_data.
15299
15300 2005-05-30  Wim Taymans  <wim@fluendo.com>
15301
15302         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15303         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15304         (gst_pad_configure_sink), (gst_pad_configure_src),
15305         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15306         (gst_pad_start_task):
15307         Propagate errors from _set_caps() in configure_src/sink
15308         functions instead of returning TRUE.
15309         FLUSH events can travel up and downstream
15310
15311
15312 2005-05-30  Wim Taymans  <wim@fluendo.com>
15313
15314         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15315         (gst_basesink_activate):
15316         Handle EOS in preroll.
15317
15318 2005-05-30  Wim Taymans  <wim@fluendo.com>
15319
15320         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15321         (gst_queue_loop), (gst_queue_handle_src_event):
15322         Remove old pieces of code
15323         Flushing the queue in an upstream event is a very bad idea.
15324
15325 2005-05-26  Andy Wingo  <wingo@pobox.com>
15326
15327         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15328         gst_value_set_mini_object so as to add a ref on the object (which
15329         will be removed when the value is unset).
15330
15331         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15332         arg type in ::handoff.
15333
15334         * gst/gstelement.c (gst_element_change_state): Also deactivate
15335         pads in READY->NULL, just in case the element didn't make it to
15336         PAUSED. Wingo tested, Wim approved.
15337
15338 2005-05-26  Wim Taymans  <wim@fluendo.com>
15339
15340         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15341         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15342         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15343         A flushing pad cannot be used to alloc_buffer from.
15344
15345 2005-05-26  Wim Taymans  <wim@fluendo.com>
15346
15347         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15348         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15349         (gst_bus_source_dispatch), (gst_bus_source_finalize),
15350         (gst_bus_create_watch), (gst_bus_add_watch_full):
15351         * gst/gstbus.h:
15352         Implement a real GSource and use g_main_context_wakeup() to
15353         signal new messages instead of the socketpair.
15354
15355 2005-05-25  Wim Taymans  <wim@fluendo.com>
15356
15357         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15358         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15359         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15360         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15361         (gst_pad_send_event), (gst_pad_start_task):
15362         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15363         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15364         (gst_queue_sink_activate), (gst_queue_src_activate),
15365         (gst_queue_change_state):
15366         * gst/gstqueue.h:
15367         Fix state changes for non sinks. We now change sinks, then elements
15368         with unconnected srcpads, then the rest.
15369         More efficient queue unlocking in flush and state changes.
15370         Set the pad activate mode even if it does not have an activate
15371         function.
15372
15373 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15374
15375         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15376           Don't go in pull mode for non-seekable sources.
15377         * gst/elements/gsttypefindelement.h:
15378         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15379         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15380         (free_entry), (stop_typefinding),
15381         (gst_type_find_element_handle_event), (find_peek),
15382         (gst_type_find_element_chain), (do_pull_typefind),
15383         (gst_type_find_element_change_state):
15384           Allow typefinding (w/o seeking) in push-mode, simplified version
15385           of what was in 0.8.
15386         * gst/gstutils.c: (gst_buffer_join):
15387         * gst/gstutils.h:
15388           gst_buffer_join() from 0.8.
15389
15390 2005-05-25  Wim Taymans  <wim@fluendo.com>
15391
15392         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15393         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15394         (gst_pad_send_event), (gst_pad_start_task):
15395         Disable attempt at mode switching until it is figured out.
15396
15397 2005-05-25  Wim Taymans  <wim@fluendo.com>
15398
15399         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15400         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15401         (gst_basesink_finish_preroll), (gst_basesink_chain),
15402         (gst_basesink_loop), (gst_basesink_activate),
15403         (gst_basesink_change_state):
15404         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15405         (gst_basesrc_get_range), (gst_basesrc_loop),
15406         (gst_basesrc_activate):
15407         * gst/elements/gsttee.c: (gst_tee_sink_activate):
15408         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15409         (gst_real_pad_init), (gst_real_pad_set_property),
15410         (gst_real_pad_get_property), (gst_pad_set_active),
15411         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15412         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15413         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15414         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15415         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15416         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15417         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15418         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15419         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15420         (gst_pad_stop_task):
15421         * gst/gstpad.h:
15422         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15423         (gst_queue_loop), (gst_queue_src_activate):
15424         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15425         (gst_task_get_state):
15426         * gst/gsttask.h:
15427         * gst/schedulers/threadscheduler.c:
15428         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15429         Implement gst_pad_pause/start/stop_task(), take STREAM lock
15430         in task function.
15431         Remove ACTIVE pad flag, use FLUSHING everywhere
15432         Added _pad_chain(), _pad_get_range() to call chain/getrange 
15433         functions.
15434         Add locks around IS_FLUSHING when reading.
15435         Take STREAM lock in chain(), get_range() functions so plugins
15436         don't need to take it anymore.
15437         
15438
15439
15440 2005-05-25  Wim Taymans  <wim@fluendo.com>
15441
15442         * tools/gst-launch.c: (event_loop):
15443         Unref message after using its contents instead of
15444         before.
15445
15446 2005-05-24  Wim Taymans  <wim@fluendo.com>
15447
15448         * docs/design/draft-ghostpads.txt:
15449         * docs/design/draft-push-pull.txt:
15450         * docs/design/draft-query.txt:
15451         * docs/design/part-overview.txt:
15452         Docs updates, added general overview doc.
15453
15454 2005-05-21  David Schleef  <ds@schleef.org>
15455
15456         * docs/gst/tmpl/old/GstBin.sgml:
15457         * docs/gst/tmpl/old/GstBuffer.sgml:
15458         * docs/gst/tmpl/old/GstCaps.sgml:
15459         * docs/gst/tmpl/old/GstClock.sgml:
15460         * docs/gst/tmpl/old/GstCompat.sgml:
15461         * docs/gst/tmpl/old/GstData.sgml:
15462         * docs/gst/tmpl/old/GstElement.sgml:
15463         * docs/gst/tmpl/old/GstEvent.sgml:
15464         * docs/gst/tmpl/old/GstIndex.sgml:
15465         * docs/gst/tmpl/old/GstStructure.sgml:
15466         * docs/gst/tmpl/old/GstTag.sgml:
15467         * docs/gst/tmpl/old/cothreads.sgml:
15468         * docs/gst/tmpl/old/cothreads_compat.sgml:
15469         * docs/gst/tmpl/old/gettext.sgml:
15470         * docs/gst/tmpl/old/gobject2gtk.sgml:
15471         * docs/gst/tmpl/old/grammar.tab.sgml:
15472         * docs/gst/tmpl/old/gst-i18n-app.sgml:
15473         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15474         * docs/gst/tmpl/old/gst_private.sgml:
15475         * docs/gst/tmpl/old/gstaggregator.sgml:
15476         * docs/gst/tmpl/old/gstarch.sgml:
15477         * docs/gst/tmpl/old/gstatomic_impl.sgml:
15478         * docs/gst/tmpl/old/gstbufferstore.sgml:
15479         * docs/gst/tmpl/old/gstdata_private.sgml:
15480         * docs/gst/tmpl/old/gstdisksink.sgml:
15481         * docs/gst/tmpl/old/gstdisksrc.sgml:
15482         * docs/gst/tmpl/old/gstelementfactory.sgml:
15483         * docs/gst/tmpl/old/gstextratypes.sgml:
15484         * docs/gst/tmpl/old/gstfakesink.sgml:
15485         * docs/gst/tmpl/old/gstfakesrc.sgml:
15486         * docs/gst/tmpl/old/gstfdsink.sgml:
15487         * docs/gst/tmpl/old/gstfdsrc.sgml:
15488         * docs/gst/tmpl/old/gstfilesink.sgml:
15489         * docs/gst/tmpl/old/gstfilesrc.sgml:
15490         * docs/gst/tmpl/old/gsthttpsrc.sgml:
15491         * docs/gst/tmpl/old/gstidentity.sgml:
15492         * docs/gst/tmpl/old/gstindexfactory.sgml:
15493         * docs/gst/tmpl/old/gstmarshal.sgml:
15494         * docs/gst/tmpl/old/gstmd5sink.sgml:
15495         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15496         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15497         * docs/gst/tmpl/old/gstpadtemplate.sgml:
15498         * docs/gst/tmpl/old/gstpipefilter.sgml:
15499         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15500         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15501         * docs/gst/tmpl/old/gstshaper.sgml:
15502         * docs/gst/tmpl/old/gstspider.sgml:
15503         * docs/gst/tmpl/old/gstspideridentity.sgml:
15504         * docs/gst/tmpl/old/gststatistics.sgml:
15505         * docs/gst/tmpl/old/gsttee.sgml:
15506         * docs/gst/tmpl/old/gsttimecache.sgml:
15507         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15508         * docs/gst/tmpl/old/gstxmlregistry.sgml:
15509         * docs/gst/tmpl/old/gthread-cothreads.sgml:
15510         * docs/gst/tmpl/old/types.sgml:
15511           I didn't intend to add these or check them in.
15512
15513 2005-05-19  David Schleef  <ds@schleef.org>
15514
15515         * configure.ac: Use -no-common everywhere.  In a sane world, it
15516           would be the default in libtool, because without it, you can't
15517           build DLLs on Windows.
15518         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15519         * docs/gst/gstreamer-sections.txt:
15520         * docs/gst/tmpl/gstcpu.sgml:
15521         * docs/gst/tmpl/gstdata.sgml:
15522         * docs/gst/tmpl/gstthread.sgml:
15523
15524 2005-05-19  David Schleef  <ds@schleef.org>
15525
15526         * gst/gstminiobject.c: (gst_value_set_mini_object),
15527         (gst_value_take_mini_object), (gst_value_get_mini_object):
15528         * gst/gstminiobject.h: Add GValue set/get functions.
15529
15530 2005-05-19  Wim Taymans  <wim@fluendo.com>
15531
15532         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15533         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15534         (gst_subbuffer_init), (gst_buffer_is_span_fast):
15535         * gst/gstbuffer.h:
15536         * gst/gstbus.c: (gst_bus_post):
15537         * gst/gstelement.c: (gst_element_get_random_pad):
15538         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15539         Make subbufer unref the parent in finalize.
15540         some more debugging info.
15541
15542
15543 2005-05-19  Wim Taymans  <wim@fluendo.com>
15544
15545         * gst/base/gstbasesink.c: (gst_basesink_class_init),
15546         (gst_basesink_init), (gst_basesink_finalize),
15547         (gst_basesink_activate), (gst_basesink_change_state):
15548         Don't free preroll queue too early.
15549
15550 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15551
15552         * gst/Makefile.am:
15553         * gst/ROADMAP:
15554           Hi, I'm outdated. Please shoot me.
15555
15556 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15557
15558         * gst/gstpipeline.c: (gst_pipeline_send_event):
15559           Do not access variables after they have been deleted.
15560
15561 2005-05-19  Wim Taymans  <wim@fluendo.com>
15562
15563         * tools/gst-inspect.c: (print_plugin_features):
15564         A plugin feature does unfortunatly not use the
15565         object name yet...
15566
15567 2005-05-18  Wim Taymans  <wim@fluendo.com>
15568
15569         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15570         Port _span() functions to new subbuffers.
15571
15572 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15573
15574         * gst/gstbin.c: (gst_bin_add_func):
15575           Fix clock settery in bins when adding kids after the clock has
15576           been selected.
15577
15578 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15579
15580         * gst/elements/gstidentity.c: (gst_identity_class_init):
15581           Workaround until signals support GstMiniObject.
15582
15583 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15584
15585         * gst/gstbuffer.c:
15586         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15587
15588 2005-05-18  Wim Taymans  <wim@fluendo.com>
15589
15590         * gst/base/Makefile.am:
15591         * gst/base/gstadapter.c: (gst_adapter_base_init),
15592         (gst_adapter_class_init), (gst_adapter_init),
15593         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15594         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15595         (gst_adapter_flush), (gst_adapter_available),
15596         (gst_adapter_available_fast):
15597         * gst/base/gstadapter.h:
15598         Ported and added adapter to the base classes.
15599
15600 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15601
15602         * gst/gst.c:
15603         * gst/gstmessage.c:
15604           Make sure the class is reffed/unreffed once before threads can be
15605           used.  Fixes #304551.
15606
15607 2005-05-17  Wim Taymans  <wim@fluendo.com>
15608
15609         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15610         (gst_basesink_chain_unlocked), (gst_basesink_activate):
15611         * gst/gstminiobject.c: (gst_mini_object_get_type),
15612         (gst_mini_object_free):
15613         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15614         (gst_pad_push), (gst_pad_push_event):
15615         * gst/gstqueue.c: (gst_queue_change_state):
15616         Don't queue buffers in basesink when we are flushing.
15617         Unref buffer when flushing in basesink.
15618         Flush queue when going to READY
15619         Unref buffer when _push() returns an error.
15620         Don't free MiniObject instance when refcount is incremented
15621         in _finalize() so that we can recover objects.
15622
15623 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15624
15625         * docs/manual/advanced-schedulers.xml:
15626         * docs/manual/appendix-checklist.xml:
15627         * docs/pwg/advanced-clock.xml:
15628         * docs/pwg/advanced-interfaces.xml:
15629         * docs/pwg/advanced-request.xml:
15630         * docs/pwg/advanced-types.xml:
15631         * docs/pwg/intro-preface.xml:
15632         * examples/plugins/example.c: (gst_example_get_type),
15633         (gst_example_class_init), (gst_example_chain),
15634         (gst_example_set_property), (gst_example_get_property),
15635         (gst_example_change_state), (plugin_init):
15636         * examples/plugins/example.h:
15637           small doc fixes
15638
15639 2005-05-17  Wim Taymans  <wim@fluendo.com>
15640
15641         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15642         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15643         * gst/gstqueue.c: (gst_queue_change_state):
15644         Clear queue when going to READY.
15645         Remove IN_SETCAPS flag too.
15646
15647 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
15648
15649         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15650           Remove implicit cast from gboolean to GstElementStateReturn;
15651           make sure we still return failure in paused => ready case if
15652           the parent class fails to change state and our own stop 
15653           vfunc succeeds.
15654
15655 2005-05-17  Wim Taymans  <wim@fluendo.com>
15656
15657         * tools/gst-launch.c: (event_loop):
15658         Message was unreffed too soon.
15659
15660 2005-05-16  Andy Wingo  <wingo@pobox.com>
15661
15662         * gst/gstbin.c (sink_iterator_filter): Err... um...
15663
15664         * check/gst/gstbin.c (test_ghost_pads): New test for the
15665         ghosting-if-elements-not-in-same-bin behavior.
15666
15667 2005-05-16  David Schleef  <ds@schleef.org>
15668
15669         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15670         accessing refcount directly.
15671
15672 2005-05-15  David Schleef  <ds@schleef.org>
15673
15674         * check/Makefile.am: remove GstData checks
15675         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15676         * gst/Makefile.am: add miniobject, remove data
15677         * gst/gst.h: add miniobject, remove data
15678         * gst/gstdata.c: remove
15679         * gst/gstdata.h: remove
15680         * gst/gstdata_private.h: remove
15681         * gst/gsttypes.h: remove GstEvent and GstMessage
15682         * gst/gstelement.c: (gst_element_post_message): fix for API changes
15683         * gst/gstmarshal.list: change BOXED -> OBJECT
15684
15685         Implement GstMiniObject.
15686         * gst/gstminiobject.c:
15687         * gst/gstminiobject.h:
15688
15689         Modify to be subclasses of GstMiniObject.
15690         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15691         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15692         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15693         (gst_subbuffer_get_type), (gst_subbuffer_init),
15694         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15695         (gst_buffer_span):
15696         * gst/gstbuffer.h:
15697         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15698         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15699         (_gst_event_copy), (gst_event_new):
15700         * gst/gstevent.h:
15701         * gst/gstmessage.c: (_gst_message_initialize),
15702         (gst_message_get_type), (gst_message_class_init),
15703         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15704         (gst_message_new), (gst_message_new_error),
15705         (gst_message_new_warning), (gst_message_new_tag),
15706         (gst_message_new_state_changed), (gst_message_new_application):
15707         * gst/gstmessage.h:
15708         * gst/gstprobe.c: (gst_probe_perform),
15709         (gst_probe_dispatcher_dispatch):
15710         * gst/gstprobe.h:
15711         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15712         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15713         (_gst_query_copy), (gst_query_new):
15714
15715         Update elements for GstData -> GstMiniObject changes
15716         * gst/gstquery.h:
15717         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15718         (gst_queue_chain), (gst_queue_loop):
15719         * gst/elements/gstbufferstore.c:
15720         (gst_buffer_store_add_buffer_func),
15721         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15722         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15723         (gst_fakesink_render):
15724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15725         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15726         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15727         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15728         (gst_filesrc_create_read):
15729         * gst/elements/gstidentity.c: (gst_identity_class_init):
15730         * gst/elements/gsttypefindelement.c:
15731         (gst_type_find_element_src_event), (free_entry_buffers),
15732         (gst_type_find_element_handle_event):
15733         * libs/gst/dataprotocol/dataprotocol.c:
15734         (gst_dp_header_from_buffer):
15735         * libs/gst/dataprotocol/dataprotocol.h:
15736         * libs/gst/dataprotocol/dp-private.h:
15737
15738 2005-05-15  David Schleef  <ds@schleef.org>
15739
15740         * gst/elements/gstelements.c: Don't include headers that were
15741         just removed.
15742
15743 2005-05-15  David Schleef  <ds@schleef.org>
15744
15745         * gst/elements/Makefile.am: Remove some elements that don't
15746         need to be in the core (or even exist at all).
15747         * gst/elements/gstaggregator.c:
15748         * gst/elements/gstaggregator.h:
15749         * gst/elements/gstmd5sink.c:
15750         * gst/elements/gstmd5sink.h:
15751         * gst/elements/gstmultifilesrc.c:
15752         * gst/elements/gstmultifilesrc.h:
15753         * gst/elements/gstpipefilter.c:
15754         * gst/elements/gstpipefilter.h:
15755         * gst/elements/gstshaper.c:
15756         * gst/elements/gstshaper.h:
15757         * gst/elements/gststatistics.c:
15758         * gst/elements/gststatistics.h:
15759         * po/POTFILES.in: Remove above files.
15760
15761 2005-05-14  Andy Wingo  <wingo@pobox.com>
15762
15763         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
15764         so as to get the refs right.
15765         (sink_iterator_filter): New function, wraps bin_element_is_sink,
15766         unreffing objects that don't pass the filter.
15767
15768         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
15769         gst_element_set_bus.
15770         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
15771         normal cases, this will destroy the bus.
15772
15773         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
15774         object.
15775
15776         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
15777         has no sinks.
15778
15779 2005-05-13  Andy Wingo  <wingo@pobox.com>
15780
15781         * gst/gstutils.c (gst_element_link_pads): Instead of calling
15782         gst_pad_link, call pad_link_maybe_ghosting,
15783         (pad_link_maybe_ghosting): Links pads, making sure that the
15784         elements being linked are in the same bin.
15785         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
15786         Helpers for pad_link_maybe_ghosting.
15787
15788 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15789
15790         * configure.ac:
15791           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
15792
15793 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15794
15795         * docs/design/part-element-source.txt:
15796           Mention GstPushSrc
15797
15798 2005-05-12  Wim Taymans  <wim@fluendo.com>
15799
15800         * gst/base/gstbasesink.c: (gst_basesink_init),
15801         (gst_basesink_activate):
15802         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15803         (gst_basesrc_is_seekable):
15804         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15805         (bin_element_is_sink), (gst_bin_change_state):
15806         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15807         * gst/gstelement.h:
15808         Identify sinks by their flag to avoid overly complicated
15809         checks (fow now).
15810         Do state changes even for elements not reachable from the
15811         sinks.
15812         BaseSink is a sink now :)
15813         Some more debugging info in the basesrc.
15814
15815
15816 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15817
15818         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15819           Implement _query on a bin, similar to _send_event.
15820
15821 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15822
15823         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15824           Discont event offset format should be GST_FORMAT_BYTES,
15825           not GST_FORMAT_TIME.
15826
15827 2005-05-12  Wim Taymans  <wim@fluendo.com>
15828
15829         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15830         Same fix as Ronald's but without the signal. 
15831
15832 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15833
15834         * gst/gstutils.c: (gst_element_query_position):
15835           No, an element is not a pad.
15836
15837 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15838
15839         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
15840         (gst_bin_get_state):
15841           If a child is removed from a bin while we remove the child from
15842           the bin and while we're retrieving its state, signal this to the
15843           get_state function so we abort the wait (instead of waiting for
15844           a timeout) and can immediately re-iterate over all other elements.
15845
15846 2005-05-12  Wim Taymans  <wim@fluendo.com>
15847
15848         * gst/base/Makefile.am:
15849         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
15850         (gst_basesrc_start):
15851         * gst/base/gstbasesrc.h:
15852         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
15853         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
15854         (gst_pushsrc_init), (gst_pushsrc_create):
15855         * gst/base/gstpushsrc.h:
15856         Added is_seekable to BaseSrc
15857         Added simple PushSrc.
15858
15859 2005-05-11  Wim Taymans  <wim@fluendo.com>
15860
15861         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15862         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15863         (gst_element_link_pads), (gst_element_query_position),
15864         (gst_element_query_convert), (intersect_caps_func),
15865         (gst_pad_query_position), (gst_pad_query_convert):
15866         Fix refcounting in utils function.
15867         No point in trying to activate a pad when it's added, it could
15868         be added from the state change function and then we deadlock, the
15869         element has to decide what to do.
15870
15871 2005-05-10  Andy Wingo  <wingo@pobox.com>
15872
15873         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
15874         *all* the arguments.
15875
15876         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
15877         stream lock if it's a FLUSH_DONE; normal flushes don't get the
15878         lock (according to the docs -- if this is wrong change the docs).
15879
15880         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
15881         flush messages in the NULL state.
15882
15883         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
15884         message immediately and return.
15885         (gst_bus_set_flushing): New function. If a bus is flushing, it
15886         flushes out any queued messages and immediately unrefs new
15887         messages. This is so when an element goes to NULL, all of the
15888         unhandled messages coming from it can be freed, and their
15889         references to the element dropped. In other words: message source
15890         ref considered harmful :P
15891
15892         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
15893         we're finished with it.
15894
15895         * gst/gstmessage.c (gst_message_new_state_changed): 
15896
15897 2005-05-10  Wim Taymans  <wim@fluendo.com>
15898
15899         * gst/gstvalue.c: (gst_value_compare_flags),
15900         (gst_value_serialize_flags), (gst_value_deserialize_flags),
15901         (_gst_value_initialize):
15902         Added flags serialize/deserialize/compare code.
15903
15904 2005-05-09  Andy Wingo  <wingo@pobox.com>
15905
15906         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
15907         Intersect the peer's caps with our caps.
15908
15909 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15910
15911         * gst/base/gsttypefindhelper.c: (helper_find_peek):
15912         * gst/elements/gsttypefindelement.c: (find_peek):
15913           Handle negative offsets better. Fixes decodebin.
15914
15915 2005-05-09  Wim Taymans  <wim@fluendo.com>
15916
15917         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
15918         (gst_base_transform_event):
15919         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
15920         Implement accept_caps.
15921         Fix silly lock/unlock mismatch in base class.
15922
15923 2005-05-09  Wim Taymans  <wim@fluendo.com>
15924
15925         * docs/design/draft-push-pull.txt:
15926         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
15927         * gst/elements/gstfilesink.c: (gst_filesink_init),
15928         (gst_filesink_query):
15929         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15930         (gst_type_find_handle_src_query), (find_element_get_length):
15931         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
15932         * gst/gstelement.h:
15933         * gst/gstmessage.c:
15934         * gst/gstmessage.h:
15935         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
15936         (gst_real_pad_get_caps_unlocked),
15937         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
15938         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15939         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
15940         (gst_real_pad_dispose), (gst_real_pad_finalize),
15941         (gst_pad_load_and_link), (gst_pad_save_thyself),
15942         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
15943         (gst_pad_check_pull_range), (gst_pad_pull_range),
15944         (gst_pad_template_get_type), (gst_pad_template_class_init),
15945         (gst_pad_template_init), (gst_pad_template_dispose),
15946         (name_is_valid), (gst_static_pad_template_get),
15947         (gst_pad_template_new), (gst_static_pad_template_get_caps),
15948         (gst_pad_template_get_caps), (gst_pad_set_element_private),
15949         (gst_pad_get_element_private), (gst_pad_start_task),
15950         (gst_pad_pause_task), (gst_pad_stop_task),
15951         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
15952         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
15953         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
15954         (gst_ghost_pad_new):
15955         * gst/gstpad.h:
15956         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
15957         (gst_query_new_position), (gst_query_set_position),
15958         (gst_query_parse_position), (gst_query_new_convert),
15959         (gst_query_set_convert), (gst_query_parse_convert):
15960         * gst/gstquery.h:
15961         * gst/gstqueryutils.c:
15962         * gst/gstqueryutils.h:
15963         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15964         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15965         (gst_queue_handle_src_query):
15966         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15967         (gst_element_query_position), (gst_element_query_convert),
15968         (intersect_caps_func), (gst_pad_query_position),
15969         (gst_pad_query_convert):
15970         * gst/gstutils.h:
15971         * tools/gst-inspect.c: (print_pad_info):
15972         * tools/gst-xmlinspect.c: (print_element_info):
15973         Remove old query functions. Ported old code.
15974         Added position/convert helper functions to gstutils.
15975         Reordered gstpad.c code, grouping relevant things.
15976         Remove gst_message_new(), always need to speficy a specific
15977         message.
15978
15979
15980 2005-05-09  Andy Wingo  <wingo@pobox.com>
15981
15982         * gst/gstiterator.h: Add some includes.
15983
15984         * gst/gstqueryutils.h: Include more headers.
15985
15986         * gst/gstpad.h:
15987         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
15988         some uses of gst_pad_query.
15989
15990         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
15991         NULL out parameters.
15992         (gst_query_new_position): New proc, allocates a new position
15993         query.
15994
15995         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
15996         gstqueryutils.c to the build.
15997
15998         * gst/gststructure.c (gst_structure_set_valist): Implement with
15999         the generic G_VALUE_COLLECT.
16000         
16001 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
16002
16003         * gst/Makefile.am: (gst_headers):
16004         Added gstqueryutils.h to the list of headers to install, that was
16005         a 'nachty' move wingo :)
16006
16007 2005-05-06  Andy Wingo  <wingo@pobox.com>
16008
16009         * gst/gstquery.h
16010         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16011         GstData, init a memchunk.
16012         (standard_definitions): Add a few query types, deprecate a few.
16013         (gst_query_get_type): New proc.
16014         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16015         implementation.
16016         (gst_query_new_application, gst_query_get_structure): New public
16017         procs.
16018
16019         * docs/design/draft-query.txt: Removed LINKS from the query types,
16020         because all the rest can be dispatched to other pads -- seemed
16021         ugly to have a query that couldn't be dispatched. internal_links
16022         is fine as a pad method.
16023
16024         * gst/gstpad.h: Add query2 as a pad method, add the new functions
16025         in gstpad.c, but maintain binary compatibility for the moment.
16026         Will fix before 0.9 is out.
16027
16028         * gst/gstqueryutils.c: 
16029         * gst/gstqueryutils.h: New files, implement 3 methods for each
16030         query type: parse_query, parse_response, and set. Probably need an
16031         allocator as well.
16032
16033         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16034
16035         * gst/elements/gstfilesink.c (gst_filesink_query2):
16036         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16037         query_types, and formats methods.
16038
16039         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16040         (gst_pad_set_query2_function): New functions.
16041         (gst_real_pad_init): Set query2_default as the default query2
16042         function. Basically just dispatches to internally linked pads.
16043
16044         Needs review!
16045         
16046         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16047         without using the atomic operations. Only one thread can possibly
16048         be accessing the data at this point. Changed so as to avoid
16049         gst_atomic operations.
16050
16051 2005-05-06  Wim Taymans  <wim@fluendo.com>
16052
16053         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16054         Also set caps if we use the fallback buffer alloc.
16055
16056 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
16057
16058         * docs/gst/Makefile.am:
16059         * docs/gst/gstreamer-docs.sgml:
16060         * docs/gst/gstreamer-sections.txt:
16061         * docs/gst/tmpl/gstatomic.sgml:
16062         * docs/gst/tmpl/gstmemchunk.sgml:
16063         * testsuite/elements/struct_i386.h:
16064         * win32/GStreamer.vcproj:
16065         * win32/Makefile:
16066           Purge GstAtomic stuff from docs and win32 makefiles as well
16067
16068 2005-05-06  Wim Taymans  <wim@fluendo.com>
16069
16070         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16071         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16072         * gst/gstpad.c: (gst_pad_peer_get_caps):
16073         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16074         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16075         (gst_queue_src_activate), (gst_queue_change_state):
16076         * gst/gstqueue.h:
16077         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16078         (intersect_caps_func):
16079         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16080         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16081         Some fixes for the peer_get_caps() change.
16082
16083 2005-05-06  Wim Taymans  <wim@fluendo.com>
16084
16085         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16086         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16087         (gst_basesink_activate):
16088         Actually do something with error codes returned from the push
16089         functions.
16090
16091 2005-05-06  Wim Taymans  <wim@fluendo.com>
16092
16093         * docs/design/part-element-sink.txt:
16094         * docs/design/part-element-source.txt:
16095         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16096         (gst_basesink_event), (gst_basesink_activate):
16097         * gst/base/gstbasesink.h:
16098         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16099         (gst_basesrc_activate):
16100         * gst/base/gstbasesrc.h:
16101         * gst/gstelement.c: (gst_element_pads_activate):
16102         Some more documentation.
16103         Fixed scheduling decision in _pads_activate().
16104
16105 2005-05-05  Andy Wingo  <wingo@pobox.com>
16106
16107         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16108         the test suite.
16109
16110 2005-05-05  Wim Taymans  <wim@fluendo.com>
16111
16112         * gst/base/Makefile.am:
16113         * gst/base/gstbasesink.h:
16114         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16115         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16116         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16117         (gst_collectpads_class_init), (gst_collectpads_init),
16118         (gst_collectpads_finalize), (gst_collectpads_new),
16119         (gst_collectpads_set_function), (gst_collectpads_add_pad),
16120         (find_pad), (gst_collectpads_remove_pad),
16121         (gst_collectpads_is_active), (gst_collectpads_collect),
16122         (gst_collectpads_collect_range), (gst_collectpads_start),
16123         (gst_collectpads_stop), (gst_collectpads_peek),
16124         (gst_collectpads_pop), (gst_collectpads_available),
16125         (gst_collectpads_read), (gst_collectpads_flush),
16126         (gst_collectpads_chain):
16127         * gst/base/gstcollectpads.h:
16128         * gst/elements/Makefile.am:
16129         * gst/elements/gstelements.c:
16130         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16131         (gst_fakesink_get_times), (gst_fakesink_event),
16132         (gst_fakesink_preroll), (gst_fakesink_render):
16133         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16134         (gst_filesink_init), (gst_filesink_set_location),
16135         (gst_filesink_open_file), (gst_filesink_close_file),
16136         (gst_filesink_pad_query), (gst_filesink_event),
16137         (gst_filesink_render), (gst_filesink_change_state):
16138         * gst/elements/gstfilesink.h:
16139         Added object to help in making collect pad based elements.
16140         Ported filesink.
16141         Make event function in sink baseclass return gboolean.
16142
16143 2005-05-05  Wim Taymans  <wim@fluendo.com>
16144
16145         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16146         (gst_bin_get_by_name):
16147         * gst/gstbuffer.h:
16148         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16149         (gst_clock_finalize):
16150         * gst/gstdata.c: (gst_data_replace):
16151         * gst/gstdata.h:
16152         * gst/gstelement.c: (gst_element_request_pad),
16153         (gst_element_pads_activate):
16154         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16155         (gst_object_unref):
16156         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16157         (gst_pad_set_checkgetrange_function),
16158         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16159         (gst_pad_check_pull_range), (gst_pad_pull_range),
16160         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16161         (gst_pad_pause_task), (gst_pad_stop_task):
16162         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16163         (gst_element_request_pad), (gst_pad_proxy_getcaps):
16164         Fix name lookup in GstBin.
16165         Added _data_replace() function and _buffer_replace()
16166         Use finalize method to clean up clock.
16167         Fix refcounting on request pads.
16168         Fix pad schedule mode error.
16169         Some more object refcounting debug info,
16170
16171
16172 2005-05-04  Andy Wingo <wingo@pobox.com>
16173
16174         * check/Makefile.am:
16175         * docs/gst/tmpl/gstatomic.sgml:
16176         * docs/gst/tmpl/gstplugin.sgml:
16177         * gst/base/gstbasesink.c: (gst_basesink_activate):
16178         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16179         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16180         (gst_basesrc_query), (gst_basesrc_set_property),
16181         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16182         (gst_basesrc_activate):
16183         * gst/base/gstbasesrc.h:
16184         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16185         (gst_base_transform_src_activate):
16186         * gst/elements/gstelements.c:
16187         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16188         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16189         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16190         * gst/elements/gsttypefindelement.c: (find_element_get_length),
16191         (gst_type_find_element_checkgetrange),
16192         (gst_type_find_element_activate):
16193         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16194         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16195         (gst_caps_load_thyself):
16196         * gst/gstelement.c: (gst_element_pads_activate),
16197         (gst_element_save_thyself), (gst_element_restore_thyself):
16198         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16199         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16200         * gst/gstpad.h:
16201         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16202         (gst_xml_parse_file), (gst_xml_parse_memory),
16203         (gst_xml_get_element), (gst_xml_make_element):
16204         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16205         (_file_index_id_save_xml), (gst_file_index_commit):
16206         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16207         (read_enum), (load_pad_template), (load_feature), (load_plugin),
16208         (load_paths):
16209         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16210         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16211         * tools/gst-complete.c: (main):
16212         * tools/gst-compprep.c: (main):
16213         * tools/gst-inspect.c: (print_element_properties_info):
16214         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16215         * tools/gst-xmlinspect.c: (print_element_properties):
16216         GCC 4 fixen.
16217         
16218 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16219
16220         * gst/gstplugin.c: (gst_plugin_check_module),
16221         (gst_plugin_check_file), (gst_plugin_load_file):
16222             apply patch from #172526 to make register work on MacOSX
16223
16224 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16225
16226         * docs/gst/tmpl/gstconfig.sgml:
16227         * gst/gstconfig.h.in:
16228           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
16229         * testsuite/debug/printf_extension.c: (main):
16230           Do not use GST_PTR_FORMAT on pointers to types with
16231           sizeof < sizeof(gpointer).  Fixes test on 64-bit
16232         * testsuite/elements/property.h:
16233           use correct printf format
16234
16235 2005-05-02  Wim Taymans  <wim@fluendo.com>
16236
16237         * docs/design/draft-push-pull.txt:
16238         * docs/design/draft-query.txt:
16239         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16240         (gst_basesrc_start):
16241         Added draft for new query API.
16242         Added draft for better selecting scheduling methods.
16243         Make basesrc ignore length if the subclass does not support
16244         it.
16245
16246 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16247
16248         * gst/Makefile.am:
16249           possible fixes for automake-1.5 - _LIBADD is reserved
16250
16251 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16252
16253         * docs/faq/Makefile.am:
16254         * docs/manual/Makefile.am:
16255         * docs/manuals.mak:
16256         * docs/pwg/Makefile.am:
16257         * gst/Makefile.am:
16258           possible fixes for automake-1.5
16259
16260 2005-04-28  Wim Taymans  <wim@fluendo.com>
16261
16262         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16263         (gst_basesink_pad_getcaps), (gst_basesink_init),
16264         (gst_basesink_do_sync):
16265         * gst/gstclock.c: (gst_clock_entry_new):
16266         * gst/gstevent.c: (gst_event_discont_get_value):
16267         * gst/gstpipeline.c: (pipeline_bus_handler),
16268         (gst_pipeline_change_state):
16269         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16270         Better debugging of clocking info.
16271         Allow NULL values when getting discont values.
16272
16273 2005-04-27  Wim Taymans  <wim@fluendo.com>
16274
16275         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16276         * check/gst/gstpad.c: (gst_pad_suite):
16277         Increase timeout for checks.
16278
16279 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16280
16281         * check/Makefile.am:
16282           fix the broken rule for cleanup.  Apparently this rule is
16283           only needed on FC2, so maybe this warrants further autotool
16284           inspection.
16285
16286 2005-04-26  Wim Taymans  <wim@fluendo.com>
16287
16288         * gst/gsttrashstack.h:
16289         Ooohh. a nasty one! After having a failed pop() from the stack,
16290         it's possible that the stack is empty. In that case, don't
16291         follow the NULL pointer.
16292
16293 2005-04-25  Wim Taymans  <wim@fluendo.com>
16294
16295         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16296         (gst_pad_set_checkgetrange_function),
16297         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16298         (gst_pad_check_pull_range), (gst_pad_pull_range),
16299         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16300         (gst_pad_pause_task), (gst_pad_stop_task):
16301         * gst/gstplugin.c: (gst_plugin_load):
16302         * gst/gstplugin.h:
16303         Remove gst_library_load as it does more harm than good with
16304         the new g_module flags.
16305         Revert bogus caps template check in pad linking, pad caps
16306         are important when linking not the template, which is more
16307         general than the current caps.
16308
16309 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16310
16311         * gst/autoplug/.cvsignore:
16312         * gst/autoplug/Makefile.am:
16313         * gst/autoplug/gstsearchfuncs.c:
16314         * gst/autoplug/gstsearchfuncs.h:
16315         * gst/autoplug/gstspider.c:
16316         * gst/autoplug/gstspider.h:
16317         * gst/autoplug/gstspideridentity.c:
16318         * gst/autoplug/gstspideridentity.h:
16319         * gst/autoplug/spidertest.c:
16320           Die, spider, die.
16321
16322 2005-04-25  Wim Taymans  <wim@fluendo.com>
16323
16324         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16325         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16326         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16327         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16328         * gst/gstpad.h:
16329         Added stubs for unimplemented functions. 
16330
16331 2005-04-24  David Schleef  <ds@schleef.org>
16332
16333         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
16334         please fix.
16335
16336 2005-04-24  David Schleef  <ds@schleef.org>
16337
16338         Convert everything from GstAtomicInt to g_atomic_int_*, and
16339         remove gstatomic.
16340         * gst/Makefile.am:
16341         * gst/gstatomic.c:
16342         * gst/gstatomic.h:
16343         * gst/gstatomic_impl.h:
16344         * gst/gstbuffer.c:
16345         * gst/gstcaps.c:
16346         * gst/gstcaps.h:
16347         * gst/gstclock.c:
16348         * gst/gstclock.h:
16349         * gst/gstdata.c:
16350         * gst/gstdata.h:
16351         * gst/gstdata_private.h:
16352         * gst/gstevent.c:
16353         * gst/gstinfo.c:
16354         * gst/gstinfo.h:
16355         * gst/gstmessage.c:
16356         * gst/gstobject.c:
16357         * gst/gstobject.h:
16358         * gst/gststructure.c:
16359         * gst/gststructure.h:
16360         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16361         * gst/gstutils.h:
16362
16363 2005-04-24  David Schleef  <ds@schleef.org>
16364
16365         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16366         make the regressions tests work.  Remove some code that is no
16367         longer true.
16368         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16369         Disable warning for pads without templates.
16370
16371 2005-04-24  David Schleef  <ds@schleef.org>
16372
16373         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
16374         functions that handle filtered links.
16375         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16376         removed functions.
16377         * gst/gstutils.c: Fix/remove utility functions that handle
16378         filtered caps.
16379         * gst/gstutils.h:
16380         * gst/gstvalue.c: Add serialization/deserialization of caps
16381         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
16382         requires fixing so that the filter caps notation creates
16383         a capsfilter element and sets the filter_caps property.  I
16384         think everyone probably wants to keep the shorthand notation.
16385         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16386         * docs/gst/tmpl/gstpad.sgml:
16387
16388         * gst/elements/gstelements.c: Register capsfilter element.
16389         * gst/Makefile.am: fix spacing
16390         * docs/random/ds/0.9-suggested-changes: random
16391
16392 2005-04-23  David Schleef  <ds@schleef.org>
16393
16394         * gst/elements/Makefile.am:
16395         * gst/elements/gstcapsfilter.c: New element that acts like an
16396         identity, but filters caps.  Will eventually replace filtered
16397         caps in pad linking.
16398         * gst/gstutils.c: (gst_element_create_all_pads): New function
16399         to create all the ALWAYS pads that are registered with an
16400         element class.  This functionality should eventually be
16401         merged in with GstElement initialization.
16402         * gst/gstutils.h:
16403         * testsuite/trigger/README: part of trigger test code that should
16404         have been checked in a long time ago.
16405
16406 2005-04-23  David Schleef  <ds@schleef.org>
16407
16408         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
16409         needed with new versions of libtool (nobody will confirm this),
16410         and hard to carry around.
16411         * gst/autoplug/Makefile.am:
16412         * gst/base/Makefile.am:
16413         * gst/elements/Makefile.am:
16414         * gst/indexers/Makefile.am:
16415         * gst/schedulers/Makefile.am:
16416         * libs/gst/bytestream/Makefile.am:
16417         * libs/gst/control/Makefile.am:
16418         * libs/gst/dataprotocol/Makefile.am:
16419         * libs/gst/getbits/Makefile.am:
16420
16421 2005-04-21  Wim Taymans  <wim@fluendo.com>
16422
16423         * docs/design/draft-push-pull.txt:
16424         * docs/design/part-MT-refcounting.txt:
16425         * docs/design/part-TODO.txt:
16426         * docs/design/part-caps.txt:
16427         * docs/design/part-events.txt:
16428         * docs/design/part-gstbus.txt:
16429         * docs/design/part-gstpipeline.txt:
16430         * docs/design/part-messages.txt:
16431         * docs/design/part-push-pull.txt:
16432         * docs/design/part-query.txt:
16433         Some more docs.
16434
16435 2005-04-21  Wim Taymans  <wim@fluendo.com>
16436
16437         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16438         (gst_message_new), (gst_message_new_error),
16439         (gst_message_new_warning), (gst_message_new_tag),
16440         (gst_message_new_state_changed), (gst_message_new_application),
16441         (gst_message_get_structure):
16442         * gst/gstmessage.h:
16443         * gst/gststructure.c: (gst_structure_set_parent_refcount),
16444         (gst_structure_copy_conditional):
16445         Use parent refcount in GstMessage to ensure GstStructure
16446         consistency.
16447         Cleaned up headers a bit.
16448         
16449
16450 2005-04-20  Wim Taymans  <wim@fluendo.com>
16451
16452         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16453         (gst_basesink_pad_getcaps), (gst_basesink_init),
16454         (gst_basesink_chain_unlocked):
16455         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16456         (gst_type_find_helper):
16457         * gst/elements/gsttypefindelement.c:
16458         (gst_type_find_element_have_type), (gst_type_find_element_init),
16459         (stop_typefinding), (gst_type_find_element_handle_event),
16460         (find_suggest), (gst_type_find_element_chain),
16461         (gst_type_find_element_checkgetrange),
16462         (gst_type_find_element_getrange), (do_typefind),
16463         (gst_type_find_element_activate):
16464         * gst/gstbuffer.c: (_gst_buffer_sub_free),
16465         (gst_buffer_default_free), (gst_buffer_default_copy),
16466         (gst_buffer_set_caps):
16467         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16468         (gst_caps_replace):
16469         * gst/gstmessage.c: (gst_message_new),
16470         (gst_message_new_state_changed):
16471         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16472         (gst_pad_set_checkgetrange_function),
16473         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16474         (gst_pad_set_caps), (gst_pad_check_pull_range),
16475         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16476         * gst/gstpad.h:
16477         * gst/gsttypefind.c: (gst_type_find_register):
16478         Make gst_caps_replace() work like other _replace() functions.
16479         Use _caps_replace() where possible.
16480         Make sure _message_new() initialises its field.
16481         Add gst_static_pad_template_get_caps()
16482
16483
16484 2005-04-18  Andy Wingo  <wingo@pobox.com>
16485
16486         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16487         on the peer, not the pad. I think that was a typo. Pass an extra
16488         arg to see if random access is possible. Activate the pads as
16489         PULL_RANGE if possible.
16490
16491         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16492
16493         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
16494         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16495         to PROP_....
16496
16497 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16498
16499         * docs/faq/using.xml:
16500           Add note on gstreamer-properties (#154996).
16501
16502 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16503
16504         * docs/random/bbb/optional-properties:
16505           Some analysis on optional properties.
16506
16507 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16508
16509         * docs/gst/tmpl/gstelementfactory.sgml:
16510         * gst/gstelement.h:
16511         * gst/gstelementfactory.c: (gst_element_factory_init),
16512         (gst_element_factory_cleanup), (gst_element_register),
16513         (__gst_element_factory_add_static_pad_template),
16514         (gst_element_factory_get_static_pad_templates),
16515         (gst_element_factory_can_src_caps),
16516         (gst_element_factory_can_sink_caps):
16517         * gst/registries/Makefile.am:
16518         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16519         (gst_xml_registry_class_init), (gst_xml_registry_init),
16520         (gst_xml_registry_new), (gst_xml_registry_set_property),
16521         (gst_xml_registry_get_property), (get_time), (make_dir),
16522         (gst_xml_registry_get_perms_func),
16523         (plugin_times_older_than_recurse), (plugin_times_older_than),
16524         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16525         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16526         (add_to_char_array), (read_string), (read_uint), (read_enum),
16527         (load_pad_template), (load_feature), (load_plugin), (load_paths),
16528         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16529         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16530         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16531         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16532         (gst_xml_registry_rebuild):
16533         * gst/registries/gstlibxmlregistry.h:
16534         * tools/gst-compprep.c: (main):
16535         * tools/gst-inspect.c: (print_pad_templates_info):
16536         * tools/gst-xmlinspect.c: (print_element_info):
16537           Use libxml2 for registry parsing, use staticpadtemplates in
16538           elementfactories. Makes gst_init() +/- 10x faster.
16539
16540 2005-04-12  Wim Taymans  <wim@fluendo.com>
16541
16542         * gst/base/Makefile.am:
16543         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16544         (gst_basesink_pad_getcaps), (gst_basesink_init),
16545         (gst_basesink_event), (gst_basesink_change_state):
16546         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16547         (gst_basesrc_init), (gst_basesrc_query),
16548         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16549         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16550         (gst_basesrc_check_get_range), (gst_basesrc_loop),
16551         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16552         (gst_basesrc_stop), (gst_basesrc_activate),
16553         (gst_basesrc_change_state):
16554         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16555         (helper_find_suggest), (gst_type_find_helper):
16556         * gst/base/gsttypefindhelper.h:
16557         * gst/elements/Makefile.am:
16558         * gst/elements/gstelements.c:
16559         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16560         (gst_fakesink_get_times), (gst_fakesink_event),
16561         (gst_fakesink_preroll), (gst_fakesink_render):
16562         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16563         (gst_fakesrc_init), (gst_fakesrc_event_handler),
16564         (gst_fakesrc_get_property), (gst_fakesrc_create),
16565         (gst_fakesrc_start), (gst_fakesrc_stop):
16566         * gst/elements/gstfakesrc.h:
16567         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16568         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16569         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16570         (gst_filesrc_create_read), (gst_filesrc_create),
16571         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16572         (gst_filesrc_start):
16573         * gst/elements/gsttypefindelement.c:
16574         (gst_type_find_element_have_type), (gst_type_find_element_init),
16575         (start_typefinding), (stop_typefinding), (push_buffer_store),
16576         (gst_type_find_element_handle_event),
16577         (gst_type_find_element_chain),
16578         (gst_type_find_element_checkgetrange),
16579         (gst_type_find_element_getrange), (do_typefind),
16580         (gst_type_find_element_activate),
16581         (gst_type_find_element_change_state):
16582         * gst/elements/gsttypefindelement.h:
16583         * gst/gstpipeline.c: (pipeline_bus_handler):
16584         Added typefind helper.
16585         Small preroll fix in the base sink.
16586         Disable typefind code in basesrc.
16587         Crude port of typefindelement.
16588         Fakesrc cleanups.
16589
16590
16591 2005-04-11  Wim Taymans  <wim@fluendo.com>
16592
16593         * check/gst/gstbus.c: (gstbus_suite):
16594         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16595         * check/gstcheck.h:
16596           Fix up the timeout so that the test does not fail.
16597
16598 2005-04-06  Wim Taymans  <wim@fluendo.com>
16599
16600         * gst/base/README:
16601         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16602         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16603         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16604         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16605         (gst_basesrc_check_get_range), (gst_basesrc_loop),
16606         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16607         (gst_basesrc_stop), (gst_basesrc_activate),
16608         (gst_basesrc_change_state), (basesrc_find_peek),
16609         (basesrc_find_suggest), (gst_basesrc_type_find):
16610         * gst/base/gstbasesrc.h:
16611         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16612         (gst_filesrc_class_init), (gst_filesrc_init),
16613         (gst_filesrc_finalize), (gst_filesrc_set_location),
16614         (gst_filesrc_set_property), (gst_filesrc_get_property),
16615         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16616         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16617         (gst_filesrc_create_read), (gst_filesrc_create),
16618         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16619         * gst/elements/gstfilesrc.h:
16620         * gst/gstelement.c: (gst_element_get_state_func),
16621         (gst_element_lost_state), (gst_element_pads_activate):
16622         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16623         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16624         (gst_pad_pull_range):
16625         * gst/gstpad.h:
16626         More work on the generic source base class, implement seeking,
16627         query.
16628         Make filesrc extend the base source class.
16629         Added gst_pad_set_checkgetrange_function to GstPad.
16630
16631 2005-04-06  Andy Wingo  <wingo@pobox.com>
16632
16633         * pkgconfig/gstreamer-base.pc.in:
16634         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16635
16636         * pkgconfig/Makefile.am:
16637         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16638
16639 2005-04-04  Wim Taymans  <wim@fluendo.com>
16640
16641         * gst/base/Makefile.am:
16642         * gst/base/README:
16643         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16644         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16645         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16646         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16647         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16648         (gst_basesrc_base_init), (gst_basesrc_class_init),
16649         (gst_basesrc_init), (gst_basesrc_get_formats),
16650         (gst_basesrc_get_query_types), (gst_basesrc_query),
16651         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16652         (gst_basesrc_set_property), (gst_basesrc_get_property),
16653         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16654         (gst_basesrc_loop), (gst_basesrc_activate),
16655         (gst_basesrc_change_state):
16656         * gst/base/gstbasesrc.h:
16657         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16658         (gst_fakesrc_class_init), (gst_fakesrc_init),
16659         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16660         (gst_fakesrc_get_property), (gst_fakesrc_create):
16661         * gst/elements/gstfakesrc.h:
16662         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16663         (gst_filesrc_open_file), (gst_filesrc_loop),
16664         (gst_filesrc_activate), (filesrc_find_peek),
16665         (gst_filesrc_type_find):
16666         Made base source class, make fakesrc extend it.
16667         Add comments to basesink class.
16668         Some filesrc cleanup.
16669
16670 2005-03-31  David Schleef  <ds@schleef.org>
16671
16672         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16673         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16674         expected to link against libgstreamer.
16675         * gst/base/Makefile.am: link against libgstreamer
16676         * gst/elements/Makefile.am: same
16677
16678 2005-03-31  Andy Wingo  <wingo@pobox.com>
16679
16680         * tests/instantiate/Makefile.am:
16681         * tests/instantiate/caps.c: Add test to test speed of caps copy
16682         and free.
16683
16684         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16685         GMemChunk to be fair.
16686
16687         * gst/gsttrashstack.h: Remove warning about using the fallback
16688         trash stack implementation, it's still faster than malloc.
16689
16690 2005-03-30  Andy Wingo  <wingo@pobox.com>
16691
16692         * tests/complexity.c: Add a copyright.
16693
16694 2005-03-31  Wim Taymans  <wim@fluendo.com>
16695
16696         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16697         (gst_base_transform_class_init), (gst_base_transform_init),
16698         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16699         (gst_base_transform_get_property),
16700         (gst_base_transform_sink_activate),
16701         (gst_base_transform_src_activate),
16702         (gst_base_transform_change_state):
16703         * gst/base/gstbasetransform.h:
16704         * gst/elements/gstidentity.c: (gst_identity_class_init),
16705         (gst_identity_event), (gst_identity_check_perfect),
16706         (gst_identity_transform), (gst_identity_start),
16707         (gst_identity_stop):
16708         Added start/stop methods to transform base class so subclasses 
16709         don't need to deal with state changes even.
16710
16711 2005-03-31  Wim Taymans  <wim@fluendo.com>
16712
16713         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16714         (gst_event_new_discontinuous), (gst_event_discont_get_value):
16715         * gst/gstevent.h:
16716         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16717         (gst_pad_pull_range):
16718         Added rate to the discont event to prepare for variable speed
16719         and reverse playback.
16720
16721 2005-03-29  David Schleef  <ds@schleef.org>
16722
16723         * configure.ac:
16724         * testsuite/trigger/Makefile.am:
16725         * testsuite/trigger/trigger.c: A little example program to show
16726         how trigger-based elements can work.
16727
16728 2005-03-29  Wim Taymans  <wim@fluendo.com>
16729
16730         * gst/base/Makefile.am:
16731         * gst/base/README:
16732         * gst/base/gstbasesink.c: (gst_basesink_get_type),
16733         (gst_basesink_base_init), (gst_basesink_class_init),
16734         (gst_basesink_pad_getcaps), (gst_basesink_init),
16735         (gst_basesink_activate), (gst_basesink_change_state):
16736         * gst/base/gstbasesink.h:
16737         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16738         (gst_base_transform_base_init), (gst_base_transform_finalize),
16739         (gst_base_transform_class_init), (gst_base_transform_init),
16740         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16741         (gst_base_transform_event), (gst_base_transform_getrange),
16742         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16743         (gst_base_transform_set_property),
16744         (gst_base_transform_get_property),
16745         (gst_base_transform_sink_activate),
16746         (gst_base_transform_src_activate),
16747         (gst_base_transform_change_state):
16748         * gst/base/gstbasetransform.h:
16749         * gst/elements/gstidentity.c: (gst_identity_finalize),
16750         (gst_identity_class_init), (gst_identity_init),
16751         (gst_identity_event), (gst_identity_check_perfect),
16752         (gst_identity_transform), (gst_identity_set_property),
16753         (gst_identity_get_property), (gst_identity_change_state):
16754         * gst/elements/gstidentity.h:
16755         * gst/gstelement.c: (gst_element_get_state_func),
16756         (gst_element_lost_state), (gst_element_pads_activate):
16757         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16758         (gst_pad_check_pull_range), (gst_pad_pull_range):
16759         * gst/gstpad.h:
16760         Simplify pad activation.
16761         Added function to check if pull_range can be performed.
16762         Error out when pulling inactive or flushing pads.
16763         Removed const from refcounted types as it does not make sense.
16764         Simplify pad templates in basesink
16765         Added base class for simple 1-to-1 transforms.
16766         Make identity subclass the base transform.
16767
16768 2005-03-29  Andy Wingo  <wingo@pobox.com>
16769
16770         * docs/libs/gstreamer-libs-overrides.txt: 
16771         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
16772         really don't understand what's going on, but like whatever. I want
16773         green buildbot!
16774
16775         * docs/gst/Makefile.am:
16776         * docs/libs/Makefile.am: Dist the overrides files.
16777
16778         * check/Makefile.am (clean-local): Remove .libs directories.
16779
16780         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
16781         elements to EXTRA_DIST, so po/ files are happy.
16782
16783         * po/POTFILES.in: Er, remove it here.
16784
16785         * po/POTFILES: Remove gstspider.c.
16786
16787         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
16788
16789         * docs/libs/gstreamer-libs-docs.sgml: 
16790         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
16791         bytestream.
16792
16793         * tests/complexity.c (main): Set the length of the preroll queue
16794         on the sinks to prevent a lockup.
16795
16796         * libs/gst/dataprotocol/Makefile.am: 
16797         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16798         the same as the one in check/gst-libs/gdp.c.
16799
16800         * po/, docs/gst/: Commit automatic changes to docs and po files.
16801
16802         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16803         the versioned libgstbase.
16804
16805         * check/Makefile.am: Depend on an unversioned gst-register, seems
16806         to make autoconf happier.
16807
16808         * gst/base/Makefile.am: Make libgstbase a versioned lib.
16809
16810 2005-03-28  Wim Taymans  <wim@fluendo.com>
16811
16812         * configure.ac:
16813         * docs/design/part-gstelement.txt:
16814         * docs/design/part-negotiation.txt:
16815         * docs/design/part-preroll.txt:
16816         * docs/design/part-scheduling.txt:
16817         * docs/design/part-states.txt:
16818         * gst/Makefile.am:
16819         * gst/base/Makefile.am:
16820         * gst/base/README:
16821         * gst/base/gstbasesink.c: (gst_basesink_get_template),
16822         (gst_basesink_base_init), (gst_basesink_class_init),
16823         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16824         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16825         (gst_basesink_set_pad_functions),
16826         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16827         (gst_basesink_set_property), (gst_basesink_get_property),
16828         (gst_base_sink_get_template), (gst_base_sink_get_caps),
16829         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16830         (gst_basesink_preroll_queue_push),
16831         (gst_basesink_preroll_queue_empty),
16832         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16833         (gst_basesink_event), (gst_basesink_get_times),
16834         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16835         (gst_basesink_chain_unlocked), (gst_basesink_chain),
16836         (gst_basesink_loop), (gst_basesink_activate),
16837         (gst_basesink_change_state):
16838         * gst/base/gstbasesink.h:
16839         * gst/elements/Makefile.am:
16840         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
16841         (gst_fakesink_class_init), (gst_fakesink_init),
16842         (gst_fakesink_set_property), (gst_fakesink_get_property),
16843         (gst_fakesink_get_times), (gst_fakesink_event),
16844         (gst_fakesink_preroll), (gst_fakesink_render),
16845         (gst_fakesink_change_state):
16846         * gst/elements/gstfakesink.h:
16847         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16848         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
16849         * gst/gstelement.c: (gst_element_add_pad),
16850         (gst_element_get_state_func), (gst_element_abort_state),
16851         (gst_element_commit_state), (gst_element_lost_state),
16852         (gst_element_set_state), (gst_element_pads_activate):
16853         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
16854         * gst/gstpipeline.c: (gst_pipeline_send_event),
16855         (gst_pipeline_change_state):
16856         Added state change code.
16857         Added/updated docs.
16858         Added sink base class, make fakesink extend the base class.
16859         Small cleanups in GstPipeline.
16860
16861 2005-03-26  David Schleef  <ds@schleef.org>
16862
16863         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
16864         is broken and should be implemented in a different library.
16865         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
16866         * gst/gst.h: remove gstcpu.h
16867         * gst/gstcpu.c: remove
16868         * gst/gstcpu.h: remove
16869         * gst/Makefile.am.future: Remove this file.  It's ancient.
16870
16871 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16872
16873         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16874         (gst_bin_send_event):
16875           Add default event/set_manager handlers. The set_manager handler
16876           takes care that the manager is distributed over kids that were
16877           already in the bin before the manager was set. The event handler
16878           is a utility virtual function that sends the event over all sinks,
16879           so that gst_element_send_event (bin, event); has the expected
16880           behaviour.
16881         * gst/gstpad.c: (gst_pad_event_default):
16882           Re-install default event handling for discontinuities, so that
16883           seeking works without requiring hacks in applications or extra
16884           code in sinks.
16885         * gst/gstpipeline.c: (gst_pipeline_class_init),
16886         (gst_pipeline_send_event):
16887           Half hack, half utility: set a pipeline to PAUSED for seek events,
16888           since that is the only way we can guarantee a/v sync. Means that
16889           you can do gst_element_seek (pipeline, method, pos); on a pipeline
16890           and it "just works".
16891
16892 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16893
16894         * gst/gstpipeline.c: (gst_pipeline_use_clock):
16895           Lock/unlock mismatch.
16896
16897 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16898
16899         * docs/faq/gst-uninstalled:
16900           add gst-plugins-base
16901         * docs/gst/Makefile.am:
16902           don't error out until docs are fixed
16903         * docs/gst/gstreamer.types:
16904           remove thread
16905
16906 2005-03-22  Wim Taymans  <wim@fluendo.com>
16907
16908         * check/Makefile.am:
16909         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
16910         * gst/gststructure.c: (gst_structure_set_valist),
16911         (gst_structure_copy_conditional):
16912         Activated more tests.
16913         Added message test.
16914         Added G_TYPE_POINTER to GstStructure.
16915         
16916
16917 2005-03-22  Wim Taymans  <wim@fluendo.com>
16918
16919         * docs/design/part-TODO.txt:
16920         * docs/design/part-events.txt:
16921         * docs/design/part-gstbin.txt:
16922         * docs/design/part-gstbus.txt:
16923         * docs/design/part-gstpipeline.txt:
16924         * docs/design/part-messages.txt:
16925         * gst/gstbus.c:
16926         * gst/gstmessage.c:
16927         Docs updates
16928
16929 2005-03-21  Wim Taymans  <wim@fluendo.com>
16930
16931         * gst/gstbus.c: (gst_bus_post):
16932         Fix copy-and-paste error.
16933
16934 2005-03-21  Wim Taymans  <wim@fluendo.com>
16935
16936         * check/Makefile.am:
16937         * gst/Makefile.am:
16938         * gst/elements/Makefile.am:
16939         * gst/elements/gstelements.c:
16940         * gst/elements/gstfakesink.c: (gst_fakesink_init),
16941         (gst_fakesink_event), (gst_fakesink_chain):
16942         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16943         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
16944         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
16945         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
16946         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16947         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
16948         (gst_fakesrc_loop), (gst_fakesrc_activate),
16949         (gst_fakesrc_change_state):
16950         * gst/elements/gstfakesrc.h:
16951         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
16952         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
16953         (gst_filesrc_open_file), (gst_filesrc_loop),
16954         (gst_filesrc_activate), (gst_filesrc_change_state),
16955         (filesrc_find_peek), (filesrc_find_suggest),
16956         (gst_filesrc_type_find):
16957         * gst/elements/gstidentity.c: (gst_identity_finalize),
16958         (gst_identity_class_init), (gst_identity_init),
16959         (gst_identity_proxy_getcaps), (identity_queue_push),
16960         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
16961         (gst_identity_getrange), (gst_identity_chain),
16962         (gst_identity_sink_loop), (gst_identity_src_loop),
16963         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
16964         (gst_identity_set_property), (gst_identity_get_property),
16965         (gst_identity_change_state):
16966         * gst/elements/gstidentity.h:
16967         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
16968         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
16969         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
16970         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
16971         (gst_tee_sink_activate):
16972         * gst/elements/gsttee.h:
16973         * gst/gst.c: (gst_register_core_elements), (init_post):
16974         * gst/gst.h:
16975         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
16976         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
16977         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
16978         (gst_bin_change_state):
16979         * gst/gstbin.h:
16980         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
16981         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
16982         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
16983         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
16984         (gst_bus_set_sync_handler), (gst_bus_create_watch),
16985         (bus_watch_callback), (bus_watch_destroy),
16986         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
16987         (poll_timeout), (gst_bus_poll):
16988         * gst/gstbus.h:
16989         * gst/gstcaps.h:
16990         * gst/gstdata.h:
16991         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16992         (gst_element_post_message), (gst_element_message_full),
16993         (gst_element_get_state_func), (gst_element_get_state),
16994         (gst_element_abort_state), (gst_element_commit_state),
16995         (gst_element_lost_state), (gst_element_set_state),
16996         (gst_element_pads_activate), (gst_element_change_state),
16997         (gst_element_dispose), (gst_element_set_manager_func),
16998         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
16999         (gst_element_set_manager), (gst_element_get_manager),
17000         (gst_element_set_bus), (gst_element_get_bus),
17001         (gst_element_set_scheduler), (gst_element_get_scheduler):
17002         * gst/gstelement.h:
17003         * gst/gstevent.c: (gst_event_new_segment_seek),
17004         (gst_event_new_flush):
17005         * gst/gstevent.h:
17006         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17007         (_gst_message_free), (gst_message_get_type), (gst_message_new),
17008         (gst_message_new_eos), (gst_message_new_error),
17009         (gst_message_new_warning), (gst_message_new_tag),
17010         (gst_message_new_state_changed), (gst_message_new_application),
17011         (gst_message_get_structure), (gst_message_parse_tag),
17012         (gst_message_parse_state_changed), (gst_message_parse_error),
17013         (gst_message_parse_warning):
17014         * gst/gstmessage.h:
17015         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17016         (gst_real_pad_set_property), (gst_pad_set_active),
17017         (gst_pad_is_active), (gst_pad_set_blocked_async),
17018         (gst_pad_set_blocked), (gst_pad_is_blocked),
17019         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17020         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17021         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17022         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17023         (gst_pad_link_filtered), (gst_pad_relink_filtered),
17024         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17025         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17026         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17027         (gst_pad_set_caps), (gst_pad_configure_sink),
17028         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17029         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17030         (gst_real_pad_dispose), (gst_real_pad_finalize),
17031         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17032         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17033         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17034         * gst/gstpad.h:
17035         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17036         (pipeline_bus_handler), (gst_pipeline_change_state),
17037         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17038         * gst/gstpipeline.h:
17039         * gst/gstprobe.h:
17040         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17041         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17042         (gst_queue_link_src), (gst_queue_bufferalloc),
17043         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17044         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17045         (gst_queue_loop), (gst_queue_handle_src_event),
17046         (gst_queue_handle_src_query), (gst_queue_src_activate),
17047         (gst_queue_change_state):
17048         * gst/gstqueue.h:
17049         * gst/gstscheduler.c: (gst_scheduler_init),
17050         (gst_scheduler_dispose), (gst_scheduler_create_task),
17051         (gst_scheduler_factory_create):
17052         * gst/gstscheduler.h:
17053         * gst/gststructure.c: (gst_structure_get_type),
17054         (gst_structure_copy_conditional):
17055         * gst/gststructure.h:
17056         * gst/gsttaginterface.h:
17057         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17058         (gst_task_init), (gst_task_dispose), (gst_task_create),
17059         (gst_task_get_state), (gst_task_start), (gst_task_stop),
17060         (gst_task_pause):
17061         * gst/gsttask.h:
17062         * gst/gstthread.c:
17063         * gst/gstthread.h:
17064         * gst/gsttypes.h:
17065         * gst/schedulers/Makefile.am:
17066         * gst/schedulers/cothreads_compat.h:
17067         * gst/schedulers/entryscheduler.c:
17068         * gst/schedulers/faircothreads.c:
17069         * gst/schedulers/faircothreads.h:
17070         * gst/schedulers/fairscheduler.c:
17071         * gst/schedulers/gstbasicscheduler.c:
17072         * gst/schedulers/gstoptimalscheduler.c:
17073         * gst/schedulers/gthread-cothreads.h:
17074         * gst/schedulers/threadscheduler.c:
17075         (gst_thread_scheduler_task_get_type),
17076         (gst_thread_scheduler_task_class_init),
17077         (gst_thread_scheduler_task_init),
17078         (gst_thread_scheduler_task_start),
17079         (gst_thread_scheduler_task_stop),
17080         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17081         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17082         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17083         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17084         (plugin_init):
17085         * libs/gst/Makefile.am:
17086         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17087         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17088         (gst_file_pad_parent_set):
17089         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17090         (gst_dp_event_from_packet):
17091         * tests/complexity.c: (main):
17092         * tests/mass_elements.c: (main):
17093         * testsuite/states/locked.c: (message_received), (main):
17094         * testsuite/states/parent.c: (main):
17095         * tools/gst-inspect.c: (print_element_flag_info),
17096         (print_implementation_info), (print_pad_info):
17097         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17098         (main):
17099         * tools/gst-md5sum.c: (event_loop), (main):
17100         * tools/gst-typefind.c: (main):
17101         * tools/gst-xmlinspect.c: (print_element_info):
17102         Next big merge.
17103         Added GstBus for mainloop integration.
17104         Added GstMessage for sending notifications on the bus.
17105         Added GstTask as an abstraction for pipeline entry points.
17106         Removed GstThread.
17107         Removed Schedulers.
17108         Simplified GstQueue for multithreaded core.
17109         Made _link threadsafe, removed old capsnego.
17110         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17111         Added pad blocking functions.
17112         Reworked scheduling functions in GstPad to prepare for
17113         scheduling updates soon.
17114         Moved events out of data stream.
17115         Simplified GstEvent types.
17116         Added return values to push/pull.
17117         Removed clocking from GstElement.
17118         Added prototypes for state change function for next merge.
17119         Removed iterate from bins and state change management.
17120         Fixed some elements, disabled others for now.
17121         Fixed -inspect and -launch.
17122         Added check for GstBus.
17123
17124 2005-03-10  Wim Taymans  <wim@fluendo.com>
17125
17126         * docs/design/part-MT-refcounting.txt:
17127         * docs/design/part-clocks.txt:
17128         * docs/design/part-gstelement.txt:
17129         * docs/design/part-gstobject.txt:
17130         * docs/design/part-standards.txt:
17131         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17132         (gst_bin_remove_func), (gst_bin_remove):
17133         * gst/gstbin.h:
17134         * gst/gstbuffer.c:
17135         * gst/gstcaps.h:
17136         * testsuite/clock/clock1.c: (main):
17137         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17138         (main):
17139         * testsuite/dlopen/loadgst.c: (do_test):
17140         * testsuite/refcounting/bin.c: (add_remove_test1),
17141         (add_remove_test2), (main):
17142         * testsuite/refcounting/element.c: (main):
17143         * testsuite/refcounting/element_pad.c: (main):
17144         * testsuite/refcounting/pad.c: (main):
17145         * tools/gst-launch.c: (sigint_handler_sighandler):
17146         * tools/gst-typefind.c: (main):
17147         Doc updates.
17148         Added doc about clock.
17149         removed gst_bin_iterate_recurse_up(), marked methods
17150         for removal.
17151         Fix more testsuites.
17152
17153 2005-03-09  Wim Taymans  <wim@fluendo.com>
17154
17155         * gst/gstpad.c: (gst_pad_get_direction),
17156         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17157         (gst_pad_collect_valist):
17158         * testsuite/bins/interface.c: (main):
17159         * testsuite/caps/audioscale.c: (test_caps):
17160         * testsuite/caps/caps.c: (test1), (test2), (test3):
17161         * testsuite/caps/deserialize.c: (main):
17162         * testsuite/caps/enumcaps.c: (main):
17163         * testsuite/caps/filtercaps.c: (main):
17164         * testsuite/caps/intersect2.c: (main):
17165         * testsuite/caps/random.c: (main):
17166         * testsuite/caps/renegotiate.c: (my_fixate), (main):
17167         * testsuite/caps/sets.c: (check_caps):
17168         * testsuite/caps/simplify.c: (check_caps), (main):
17169         * testsuite/caps/subtract.c: (check_caps):
17170         Fix _pad_get_direction wrt ghostpads.
17171         Fix caps testsuite.
17172
17173 2005-03-09  Wim Taymans  <wim@fluendo.com>
17174
17175         * check/Makefile.am:
17176         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17177         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17178         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17179         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17180         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17181         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17182         (gst_bin_remove), (gst_bin_iterate_recurse_up),
17183         (bin_element_is_sink), (gst_bin_iterate_sinks),
17184         (gst_bin_iterate_all_by_interface):
17185         * gst/gstbin.h:
17186         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17187         (gst_element_change_state), (gst_element_dispose),
17188         (gst_element_finalize), (gst_element_set_loop_function):
17189         * gst/gstelement.h:
17190         * gst/gstiterator.c: (find_custom_fold_func):
17191         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17192         (gst_pad_collectv), (gst_pad_collect_valist),
17193         (gst_pad_template_new):
17194         * gst/gstpipeline.c: (gst_pipeline_class_init),
17195         (gst_pipeline_dispose), (gst_pipeline_set_property),
17196         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17197         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17198         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17199         * gst/gstutils.h:
17200         * gst/schedulers/entryscheduler.c:
17201         * gst/schedulers/gstbasicscheduler.c:
17202         (gst_basic_scheduler_cothreaded_chain),
17203         (gst_basic_scheduler_chain_add_element):
17204         * testsuite/bins/interface.c: (main):
17205         Added GstBin test.
17206         Added GstSystemClock test.
17207         Implemented clock distribution code in GstBin.
17208         Implemented iterate sinks method for future use.
17209         Rearranged gstelement.h
17210         Fix GstIterator comparison bug.
17211         Moved some code to GstPipeline, mostly clocking related.
17212
17213 2005-03-09  Wim Taymans  <wim@fluendo.com>
17214
17215         * configure.ac:
17216         * gst/gst_private.h:
17217         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17218         (gst_bin_remove_func), (gst_bin_remove),
17219         (gst_bin_get_by_name_recurse_up):
17220         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17221         (gst_clock_id_compare_func), (gst_clock_id_wait),
17222         (gst_clock_id_wait_async), (gst_clock_init),
17223         (gst_clock_adjust_unlocked), (gst_clock_get_time):
17224         * gst/gstelement.h:
17225         * gst/gstinfo.c: (_gst_debug_init):
17226         * gst/gstobject.h:
17227         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17228         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17229         * gst/gstpad.h:
17230         Bump version number, we're now 0.9.0
17231         Add future debugging category.
17232         Fix NULL _unref() in _get_by_name_recurse_up
17233         Rearrange gstpad.h.
17234         Update some docs.
17235
17236 2005-03-08  Wim Taymans  <wim@fluendo.com>
17237
17238         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17239         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17240         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17241         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17242         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17243         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17244         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17245         * gst/elements/gstidentity.c: (gst_identity_class_init):
17246         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17247         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17248         * gst/elements/gstshaper.c: (gst_shaper_class_init):
17249         * gst/elements/gststatistics.c: (gst_statistics_class_init):
17250         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17251         (gst_tee_link):
17252         * gst/gstelement.c: (gst_element_class_init),
17253         (gst_element_base_class_init), (gst_element_init),
17254         (gst_element_get_random_pad), (gst_element_wait_state_change),
17255         (gst_element_change_state), (gst_element_dispose),
17256         (gst_element_finalize), (gst_element_set_loop_function):
17257         * gst/gstelement.h:
17258         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17259         * gst/gstthread.c: (gst_thread_class_init),
17260         (gst_thread_release_children_locks), (gst_thread_change_state):
17261         * gst/schedulers/gstbasicscheduler.c:
17262         (gst_basic_scheduler_loopfunc_wrapper),
17263         (gst_basic_scheduler_chain_wrapper),
17264         (gst_basic_scheduler_src_wrapper),
17265         (gst_basic_scheduler_remove_element):
17266         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17267         Remove threadsafe properties. Fix elements because GObject
17268         complains when installing a property before declaring a
17269         set/get_property handler.
17270         Rearrange gstelement.h file, use STATE macros for state locks.
17271         Free mutexes in the finalize method instead of dispose.
17272
17273 2005-03-08  Wim Taymans  <wim@fluendo.com>
17274
17275         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17276         * gst/gstthread.c: (gst_thread_release_children_locks):
17277         Added parentage check.
17278         Fix build og GstThread again.
17279
17280 2005-03-08  Wim Taymans  <wim@fluendo.com>
17281
17282         * docs/design/part-MT-refcounting.txt:
17283         * docs/design/part-conventions.txt:
17284         * docs/design/part-gstobject.txt:
17285         * docs/design/part-relations.txt:
17286         * docs/design/part-standards.txt:
17287         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17288         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17289         (gst_bin_get_by_name), (gst_bin_get_by_interface),
17290         (gst_bin_iterate_all_by_interface):
17291         * gst/gstbuffer.h:
17292         * gst/gstclock.h:
17293         * gst/gstelement.c: (gst_element_class_init),
17294         (gst_element_change_state), (gst_element_set_loop_function):
17295         * gst/gstelement.h:
17296         * gst/gstiterator.c:
17297         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17298         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17299         (gst_object_dispatch_properties_changed), (gst_object_set_name),
17300         (gst_object_set_parent), (gst_object_unparent),
17301         (gst_object_check_uniqueness):
17302         * gst/gstobject.h:
17303         Docs updates, clean up some headers.
17304
17305 2005-03-07  Wim Taymans  <wim@fluendo.com>
17306
17307         * check/.cvsignore:
17308         * check/Makefile.am:
17309         * check/gst-libs/.cvsignore:
17310         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17311         * check/gst/.cvsignore:
17312         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17313         (START_TEST), (gstbus_suite), (main):
17314         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17315         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17316         (gst_data_suite), (main):
17317         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17318         (add_fold_func), (gstiterator_suite), (main):
17319         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17320         (thread_name_object), (thread_name_object_default),
17321         (gst_object_name_compare), (gst_object_suite), (main):
17322         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17323         (gst_pad_suite), (main):
17324         * check/gstcheck.c: (gst_check_log_message_func),
17325         (gst_check_log_critical_func), (gst_check_init):
17326         * check/gstcheck.h:
17327         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17328         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17329         Added checks.
17330
17331 2005-03-07  Wim Taymans  <wim@fluendo.com>
17332
17333         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17334         (gst_list_iterator_next), (gst_list_iterator_resync),
17335         (gst_list_iterator_free), (gst_iterator_new_list),
17336         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17337         (gst_iterator_free), (gst_iterator_push), (filter_next),
17338         (filter_resync), (filter_uninit), (filter_free),
17339         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17340         (gst_iterator_foreach), (find_custom_fold_func),
17341         (gst_iterator_find_custom):
17342         * gst/gstiterator.h:
17343         Added missing files.
17344
17345 2005-03-07  Wim Taymans  <wim@fluendo.com>
17346
17347         * Makefile.am:
17348         * configure.ac:
17349         * docs/design/part-MT-refcounting.txt:
17350         * docs/design/part-conventions.txt:
17351         * docs/design/part-gstobject.txt:
17352         * docs/design/part-relations.txt:
17353         * examples/mixer/mixer.c: (main):
17354         * examples/thread/thread.c: (eos), (main):
17355         * gst/Makefile.am:
17356         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17357         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17358         (gst_spider_plug_from_srcpad):
17359         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17360         (gst_spider_identity_change_state),
17361         (gst_spider_identity_sink_loop_type_finding):
17362         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17363         * gst/elements/gstidentity.c: (gst_identity_init):
17364         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17365         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17366         * gst/elements/gsttypefindelement.c: (free_entry):
17367         * gst/gst.c:
17368         * gst/gst.h:
17369         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17370         (gst_bin_set_clock_func), (gst_bin_auto_clock),
17371         (gst_bin_set_index), (gst_bin_set_element_sched),
17372         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17373         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17374         (gst_bin_iterate_elements), (iterate_child_recurse),
17375         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17376         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17377         (compare_interface), (gst_bin_get_by_interface),
17378         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17379         * gst/gstbin.h:
17380         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17381         (gst_buffer_default_free), (gst_buffer_default_copy),
17382         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17383         (gst_buffer_create_sub):
17384         * gst/gstbuffer.h:
17385         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17386         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17387         (gst_caps_unref), (gst_static_caps_get),
17388         (gst_caps_remove_and_get_structure), (gst_caps_append),
17389         (gst_caps_append_structure), (gst_caps_remove_structure),
17390         (gst_caps_copy_nth), (gst_caps_set_simple),
17391         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17392         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17393         (gst_caps_structure_intersect_field), (gst_caps_intersect),
17394         (gst_caps_structure_subtract_field), (gst_caps_subtract),
17395         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17396         (gst_caps_structure_figure_out_union),
17397         (gst_caps_switch_structures), (gst_caps_do_simplify),
17398         (gst_caps_replace), (gst_caps_from_string),
17399         (gst_caps_copy_conditional):
17400         * gst/gstcaps.h:
17401         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17402         (_gst_clock_id_free), (gst_clock_id_unref),
17403         (gst_clock_id_compare_func), (gst_clock_id_wait),
17404         (gst_clock_id_wait_async), (gst_clock_class_init),
17405         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17406         (gst_clock_get_time), (gst_clock_set_time_adjust),
17407         (gst_clock_set_property), (gst_clock_get_property):
17408         * gst/gstclock.h:
17409         * gst/gstcompat.h:
17410         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17411         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17412         * gst/gstdata.h:
17413         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17414         (gst_element_requires_clock), (gst_element_provides_clock),
17415         (gst_element_set_clock), (gst_element_clock_wait),
17416         (gst_element_wait), (gst_element_set_time_delay),
17417         (gst_element_is_indexable), (gst_element_add_pad),
17418         (gst_element_add_ghost_pad), (gst_element_remove_pad),
17419         (pad_compare_name), (gst_element_get_static_pad),
17420         (gst_element_request_pad), (gst_element_get_request_pad),
17421         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17422         (gst_element_class_get_pad_template_list),
17423         (gst_element_class_get_pad_template), (gst_element_error_func),
17424         (gst_element_get_random_pad), (gst_element_get_event_masks),
17425         (gst_element_send_event), (gst_element_seek),
17426         (gst_element_get_query_types), (gst_element_query),
17427         (gst_element_get_formats), (gst_element_convert),
17428         (gst_element_is_locked_state), (gst_element_set_locked_state),
17429         (gst_element_sync_state_with_parent), (gst_element_change_state),
17430         (gst_element_finalize), (gst_element_yield),
17431         (gst_element_interrupt), (gst_element_set_scheduler),
17432         (gst_element_get_scheduler), (gst_element_set_loop_function):
17433         * gst/gstelement.h:
17434         * gst/gstevent.h:
17435         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17436         (gst_format_get_by_nick), (gst_format_get_details),
17437         (gst_format_iterate_definitions):
17438         * gst/gstformat.h:
17439         * gst/gstindex.c: (gst_index_gtype_resolver):
17440         * gst/gstinfo.c:
17441         * gst/gstinfo.h:
17442         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17443         (gst_mem_chunk_free):
17444         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17445         (gst_object_ref), (gst_object_unref), (gst_object_sink),
17446         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17447         (gst_object_dispatch_properties_changed),
17448         (gst_object_set_name_default), (gst_object_set_name),
17449         (gst_object_get_name), (gst_object_set_name_prefix),
17450         (gst_object_get_name_prefix), (gst_object_set_parent),
17451         (gst_object_get_parent), (gst_object_unparent),
17452         (gst_object_check_uniqueness), (gst_object_save_thyself),
17453         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17454         (gst_object_set_property), (gst_object_get_property),
17455         (gst_object_get_path_string):
17456         * gst/gstobject.h:
17457         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17458         (gst_real_pad_init), (gst_real_pad_get_property),
17459         (gst_pad_custom_new), (gst_pad_get_direction),
17460         (gst_pad_set_active), (gst_pad_is_active),
17461         (gst_pad_set_event_function), (gst_pad_is_linked),
17462         (gst_pad_link_free), (gst_pad_link_intersect),
17463         (gst_pad_link_fixate), (gst_pad_set_caps),
17464         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17465         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17466         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17467         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17468         (gst_pad_get_caps), (gst_pad_peer_get_caps),
17469         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17470         (gst_pad_realize), (gst_pad_get_allowed_caps),
17471         (gst_real_pad_dispose), (gst_real_pad_finalize),
17472         (gst_pad_collectv), (gst_pad_collect_valist),
17473         (gst_pad_template_dispose), (gst_pad_template_new),
17474         (gst_pad_get_internal_links):
17475         * gst/gstpad.h:
17476         * gst/gstpipeline.c: (gst_pipeline_dispose),
17477         (gst_pipeline_change_state):
17478         * gst/gstpipeline.h:
17479         * gst/gstplugin.c:
17480         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17481         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17482         * gst/gstpluginfeature.h:
17483         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17484         * gst/gstquery.c: (_gst_query_type_initialize),
17485         (gst_query_type_register), (gst_query_type_get_by_nick),
17486         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17487         * gst/gstquery.h:
17488         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17489         * gst/gstscheduler.c: (gst_scheduler_add_element),
17490         (gst_scheduler_factory_create):
17491         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17492         (gst_structure_free), (gst_structure_set_name),
17493         (gst_structure_id_set_value), (gst_structure_set_value),
17494         (gst_structure_set_valist), (gst_structure_remove_field),
17495         (gst_structure_remove_fields),
17496         (gst_structure_remove_fields_valist),
17497         (gst_structure_remove_all_fields), (gst_structure_foreach),
17498         (gst_structure_map_in_place),
17499         (gst_caps_structure_fixate_field_nearest_int),
17500         (gst_caps_structure_fixate_field_nearest_double):
17501         * gst/gststructure.h:
17502         * gst/gstsystemclock.c: (gst_system_clock_class_init),
17503         (gst_system_clock_init), (gst_system_clock_dispose),
17504         (gst_system_clock_async_thread),
17505         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17506         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17507         * gst/gstsystemclock.h:
17508         * gst/gsttag.c: (gst_tag_list_add_value_internal),
17509         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17510         * gst/gsttaginterface.c:
17511         * gst/gstthread.c: (gst_thread_dispose),
17512         (gst_thread_release_children_locks), (gst_thread_change_state),
17513         (gst_thread_main_loop):
17514         * gst/gsttrashstack.h:
17515         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17516         * gst/gsttypes.h:
17517         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17518         (gst_element_request_pad), (gst_element_get_pad_from_template),
17519         (gst_element_request_compatible_pad),
17520         (gst_element_get_compatible_pad_filtered),
17521         (gst_element_get_compatible_pad), (gst_element_state_get_name),
17522         (gst_element_link_pads_filtered), (gst_element_link_filtered),
17523         (gst_element_link_many), (gst_element_link),
17524         (gst_element_link_pads), (gst_element_unlink_pads),
17525         (gst_element_unlink_many), (gst_element_unlink),
17526         (gst_pad_can_link_filtered), (gst_pad_can_link),
17527         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17528         (gst_object_default_error), (gst_bin_add_many),
17529         (gst_bin_remove_many), (gst_element_populate_std_props),
17530         (gst_element_class_install_std_props), (gst_buffer_merge),
17531         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17532         (link_fold_func), (gst_pad_proxy_setcaps):
17533         * gst/gstutils.h:
17534         * gst/gstvalue.c: (gst_value_deserialize_string):
17535         * gst/parse/grammar.y:
17536         * gst/schedulers/gstbasicscheduler.c:
17537         (gst_basic_scheduler_cothreaded_chain),
17538         (gst_basic_scheduler_chain_recursive_add),
17539         (gst_basic_scheduler_pad_link):
17540         * gst/schedulers/gstoptimalscheduler.c:
17541         (get_group_schedule_function),
17542         (gst_opt_scheduler_state_transition),
17543         (gst_opt_scheduler_add_element), (element_get_reachables_func):
17544         * libs/gst/bytestream/bytestream.c:
17545         * libs/gst/dataprotocol/dataprotocol.c:
17546         (gst_dp_header_from_buffer):
17547         * po/nb.po:
17548         * po/ru.po:
17549         * tests/threadstate/threadstate2.c: (eos):
17550         * tools/gst-compprep.c: (main):
17551         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17552         (print_pad_info), (print_children_info):
17553         * tools/gst-launch.c: (idle_func), (main):
17554         * tools/gst-md5sum.c: (idle_func), (main):
17555         * tools/gst-xmlinspect.c: (print_element_info):
17556         First THREADED backport attempt, focusing on adding locks and
17557         making sure the API is threadsafe. Needs more work. More docs
17558         follow this week.
17559
17560 2005-02-24  Andy Wingo  <wingo@pobox.com>
17561
17562         * tests/bench-complexity.scm:
17563         * tests/complexity.gnuplot: New files, good for running complexity
17564         benchmarks.
17565
17566         * tests/Makefile.am:
17567         * tests/complexity.c: New test, sets up N elements, at each level
17568         teeing into M streams per element. Eeeenteresting.
17569
17570         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17571         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17572         running bench-mass_elements.scm.
17573
17574         * tests/bench-mass_elements.scm: New script, runs mass_elements
17575         for various numbers of identities, outputting the results to a
17576         file. Requires guile 1.6. Just for testing.
17577
17578 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17579
17580         * gst/schedulers/fairscheduler.c:
17581           compile with debug disabled
17582
17583 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17584
17585         * configure.ac:
17586           hunting season on 0.9 is now OPEN