gst/gstbin.c: And unref the child too..
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-17  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstbin.c: (gst_bin_provide_clock_func),
4         (gst_bin_sort_iterator_new):
5         And unref the child too..
6
7 2005-11-17  Wim Taymans  <wim@fluendo.com>
8
9         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11         Refactor the sort iterator so it can be used while holding the
12         LOCK too.
13         Make clock selection select a clock closest to the source.
14
15 2005-11-17  Michael Smith <msmith@fluendo.com>
16
17         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19         * gst/gstclock.h:
20           Anonymous structs are a gcc (and some other compilers) extension, so
21           don't use them. Since this is only for ABI-compatibility, and our
22           API/ABI freeze is over in a few days, this whole thing will only
23           last a few days, so don't bother trying to think up a meaningful
24           name for the struct.
25
26 2005-11-17  Andy Wingo  <wingo@pobox.com>
27
28         * gst/gstclock.h (GstClock): Add rate and offset properties,
29         preserving ABI stability. Add rate/offset accessors. Will file bug
30         for the freeze break.
31
32         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
33         and offset, trying to keep precision and avoiding
34         underflow/overflow.
35         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
36         functions. Make gst_clock_set_time_adjust obsolete.
37         (gst_clock_set_time_adjust): Note that this function is obsolete.
38         Will file bug soon.
39
40         * gst/base/gstbasetransform.h: Make the ABI-stability hack
41         greppable by using GST_PADDING-1+1.
42
43 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
44
45         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
46
47         * gst/gstmessage.c: (gst_message_parse_clock_lost):
48           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
49
50         * gst/gstpadtemplate.h:
51         * gst/gstpluginfeature.h:
52           Don't use c++ style comments in headers (#321638).
53
54 2005-11-16  Andy Wingo  <wingo@pobox.com>
55
56         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
57         buffer.
58
59         * check/net/gstnettimeprovider.c: Check to see that the time
60         provider actually provides times. Works, yo!
61
62 2005-11-16  Wim Taymans  <wim@fluendo.com>
63
64         * check/Makefile.am:
65         Enable more tests.
66
67         * check/elements/fakesrc.c: (GST_START_TEST):
68         Set element to NULL before disposing it.
69
70 2005-11-16  Andy Wingo  <wingo@pobox.com>
71
72         * gst/net/Makefile.am:
73         * gst/net/gstnet.h:
74         * gst/net/gstnettimeprovider.c: 
75         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
76         provider, include it from gstnet.h, and add it to the build.
77
78         * gst/net/gstnettimepacket.h: 
79         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
80         sending and receiving.
81
82 2005-11-16  Wim Taymans  <wim@fluendo.com>
83
84         * check/Makefile.am:
85         Enable valgrind check.
86
87         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
88         (gst_fake_src_alloc_buffer):
89         Fix memleak.
90
91 2005-11-16  Wim Taymans  <wim@fluendo.com>
92
93         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
94         Call parent finalize too.
95
96 2005-11-16  Wim Taymans  <wim@fluendo.com>
97
98         * check/Makefile.am:
99         Enable valgrind check that should work fine now.
100
101         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
102         * gst/gstqueue.c: (gst_queue_init):
103         Fix memleaks in pad allocation.
104
105 2005-11-16  Andy Wingo  <wingo@pobox.com>
106
107         * gst/net/Makefile.am:
108         * gst/net/gstnet.h: New part of core to hold network elements and
109         objects. Put in core because it exposes API that applications want
110         to use. The library is named libgstnet-tempname right now because
111         of the existing libgstnet in gst-plugins-base. Solution is
112         probably to rename the one in plugins-base; will file a bug for
113         the freeze break.
114
115         * gst/net/gstnettimeprovider.c: 
116         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
117         get_time call over the network.
118
119         * configure.ac: 
120         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
121
122         * check/Makefile.am:
123         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
124         get additions shortly.
125
126 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
127
128         * gst/gstpad.c: (gst_pad_new_from_static_template):
129         * gst/gstpad.h:
130           add gst_pad_new_from_static_template functions
131         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
132         (gst_check_setup_sink_pad):
133         * gst/elements/gsttee.c: (gst_tee_init):
134           and use them
135
136 2005-11-16  Wim Taymans  <wim@fluendo.com>
137
138         * gst/gstpad.c: (gst_pad_pause_task):
139         Removed warning, it's not really an error either.
140
141 2005-11-16  Wim Taymans  <wim@fluendo.com>
142
143         * gst/base/gstbasetransform.c:
144         (gst_base_transform_prepare_output_buf),
145         (gst_base_transform_event):
146         Check if the caps are NULL, this can happen if the element
147         is shutting down and the pad caps are set to NULL.
148
149 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
150
151         * gst/elements/gsttee.c: (gst_tee_init):
152           fix pad tempalte leak in tee
153
154 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
155
156         * gst/glib-compat.c: (g_value_dup_gst_object):
157         * gst/glib-compat.h:
158         * gst/gstpad.c: (gst_pad_set_property):
159           use gst_object_ref when setting the pad template; this will
160           trigger the pad template leaks on GLib 2.6 and the slaves
161
162 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
163
164         * gst/glib-compat.c: (gst_flags_get_first_value):
165         * gst/glib-compat.h:
166         * gst/gstregistryxml.c:
167           remove functions copied from GLib 2.6
168
169 2005-11-16  Michael Smith <msmith@fluendo.com>
170
171         * gst/Makefile.am:
172           Don't link against VALGRIND_LIBS. That was always the wrong thing to
173           do, but only breaks with newer valgrind versions. We're not a
174           valgrind tool, we have no link-time dependencies on libcoregrind.
175
176 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
177
178         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
179           some debug changes
180         * gst/gstmessage.h:
181           typo fixes
182
183 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
184
185         * gst/base/gstbasesrc.c: (gst_base_src_init):
186         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
187         * gst/gstqueue.c: (gst_queue_init):
188         * gst/gstregistryxml.c: (load_feature):
189           Revert all these unrefs, they don't even pass make check !
190
191 2005-11-15  Johan Dahlin  <johan@gnome.org>
192
193         * gst/base/gstbasesrc.c: (gst_base_src_init):
194         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
195         * gst/gstqueue.c: (gst_queue_init): 
196         Free pad templates, fixes a couple of leaks.
197
198 2005-11-15  Daniel Fischer  <dan at f3c dot com>
199
200         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
201
202         * gst/gstpad.c: (gst_pad_get_property):
203           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
204           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
205           (#321452)
206
207 2005-11-15  Wim Taymans  <wim@fluendo.com>
208
209         * gst/gstevent.c:
210         Small doc update.
211
212 2005-11-15  Andy Wingo  <wingo@pobox.com>
213
214         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
215
216         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
217         using GST_CLOCK_TIME_NONE to disable base time management.
218         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
219         time if it was NONE before.
220         (gst_pipeline_change_state): Only munge the base time if
221         stream_time != GST_CLOCK_TIME_NONE.
222
223         * check/gst/gstpipeline.c (test_base_time): Punt around the
224         problem of the probe not being called, because that's not the
225         issue I'm looking at. Add a check that setting stream_time to NONE
226         disables base time management.
227         
228 2005-11-15  Wim Taymans  <wim@fluendo.com>
229
230         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
231         segment_stop == -1 at startup.
232
233         * gst/base/gstbasetransform.c: (gst_base_transform_event),
234         (gst_base_transform_change_state):
235         Init segment values at start.
236
237 2005-11-15  Wim Taymans  <wim@fluendo.com>
238
239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
240         0 segment values are 0 in any format.
241
242         * gst/base/gstbasetransform.c: (gst_base_transform_event):
243         * gst/base/gstbasetransform.h:
244         Parse newsegment correctly in basetransform
245
246         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
247         Sync to clock using updated segment values.
248
249 2005-11-15  Andy Wingo  <wingo@pobox.com>
250
251         * check/gst/gstpipeline.c (test_base_time): Add check that the
252         base time and stream time are reset correctly.
253
254 2005-11-15  Wim Taymans  <wim@fluendo.com>
255
256         * docs/design/part-TODO.txt:
257         Some more TODO items.
258
259 2005-11-15  Andy Wingo  <wingo@pobox.com>
260
261         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
262         error if the user selected "no clock" as the clocking method.
263
264         * check/gst/gstpipeline.c (test_base_time): New test for buffer
265         timestamps with live capture.
266
267         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
268         is 0 but we are a live source, timestamp the buffers using the
269         element's clock.
270
271 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
272
273         * docs/gst/gstreamer-sections.txt:
274         * gst/gsterror.c:
275         * gst/gstghostpad.c:
276         * gst/gstobject.h:
277         * gst/gstxml.c:
278           more section docs
279
280 2005-11-14  Wim Taymans  <wim@fluendo.com>
281
282         * common/gst.supp:
283           add suppressions from Wim's Debian machine
284
285 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
286
287         * common/gst.supp:
288           add suppressions from Andy's AMD64 Ubuntu machine
289
290 2005-11-14  Andy Wingo  <wingo@pobox.com>
291
292         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
293         STATE_LOCK not necessary. Fixes #311489.
294
295         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
296         #305291.
297
298         * gst/gstindex.c (gst_index_add_object): Note in the docs that
299         this function is not implemented.
300
301 2005-11-14  Julien MOUTTE  <julien@moutte.net>
302
303         * gst/base/gstbasetransform.c:
304         (gst_base_transform_prepare_output_buf):
305         Ref the source pad caps while we need them.
306         Fixes (#321386)
307
308 2005-11-11  Wim Taymans  <wim@fluendo.com>
309
310         * docs/gst/gstreamer-sections.txt:
311         Added some docs for GstCollectData.
312
313         * gst/base/gstadapter.c:
314         Some small code example fix.
315
316         * gst/base/gstcollectpads.c:
317         * gst/base/gstcollectpads.h:
318         Document some more.
319
320 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
321
322         * configure.ac: back to HEAD
323
324 === release 0.9.5 ===
325
326 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
327
328         * configure.ac:
329           releasing 0.9.5, "Bike Lunch Day"
330
331 2005-11-11  Wim Taymans  <wim@fluendo.com>
332
333         * gst/gstbuffer.c: (_gst_buffer_copy):
334         Copy more flags.
335
336         * gst/gstcaps.c: (gst_caps_is_equal):
337         Fix some docs.
338         Make _is_equal fast in the trivial cases.
339
340         * gst/gstminiobject.c:
341         * gst/gstminiobject.h:
342         More docs. Spifify .h file.
343
344         * gst/gstutils.c:
345         Small doc update.
346
347 2005-11-11  Wim Taymans  <wim@fluendo.com>
348
349         * gst/base/gstbasetransform.c:
350         (gst_base_transform_prepare_output_buf),
351         (gst_base_transform_handle_buffer):
352         Small cleanups.
353         If we're processing a buffer and need to allocate an output
354         buffer, we cannot accept a format change. If we did get a 
355         format change, we have to alloc a buffer ourselves of the 
356         right size.
357
358 2005-11-11  Wim Taymans  <wim@fluendo.com>
359
360         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
361         While checking the flag for reentrancy in the gstcaps function
362         is nice to detect recursive invocations, it also makes it 
363         impossible to call getcaps from multiple threads, which must be
364         possible. So, checking for recursive calls has to go.
365
366 2005-11-11  Michael Smith <msmith@fluendo.com>
367
368         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
369           Don't sync on buffers that fall partially outside our current
370           segment. Prevents an assertion failure/abort playing some files.
371
372 2005-11-10  Andy Wingo  <wingo@pobox.com>
373
374         * check/gst/gstbin.c (test_message_state_changed_children): Style
375         fix..
376
377         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
378         gst_bus_poll with the signal watch. Ensures that poll and a signal
379         watch see the same messages.
380
381         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
382         a poll and a watch at the same time get the same messages.
383
384 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
385
386         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
387         * gst/gstcaps.c: (gst_caps_intersect):
388           Don't call gst_caps_do_simplify - it doesn't respect order of caps
389           and it's not needed.
390
391 2005-11-10  Wim Taymans  <wim@fluendo.com>
392
393         * docs/design/part-TODO.txt:
394         Updated todo.
395
396 2005-11-10  Wim Taymans  <wim@fluendo.com>
397
398         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
399         * gst/base/gstbasesrc.c: (gst_base_src_wait),
400         (gst_base_src_do_sync), (gst_base_src_get_range):
401         Implement clock sync in base class.
402
403 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
404
405         patch by: Tim-Philipp Müller <tim at centricular dot net>
406
407         * gst/gststructure.c: (gst_structure_parse_field),
408         (gst_structure_from_string):
409           Forward-port a 0.8 patch to handle escaped spaces in structure string,
410           so that gst_parse_launch() can deal with spaces in filtered link
411           caps (fixes #164479)
412         * check/gst/capslist.h:
413         * check/gst/gststructure.c: (GST_START_TEST):
414           add unit tests for this change
415
416 2005-11-10  Wim Taymans  <wim@fluendo.com>
417
418         * docs/gst/gstreamer-sections.txt:
419         * gst/gstelement.c:
420         * gst/gstelement.h:
421         Fix docs, move some STATE macros to private.
422
423 2005-11-10  Wim Taymans  <wim@fluendo.com>
424
425         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
426         Added check for bug #317341
427
428         * gst/gstbuffer.c:
429         * gst/gstbuffer.h:
430         Some more spiffifying.
431
432         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
433         Call peer linkfunction if we are a source pad. Totally fixes
434         #317341
435
436         * gst/gstpad.c:
437         Update docs, source pads should call the peer linkfunction
438         so they can atomically perform the pad link.
439
440 2005-11-09  Wim Taymans  <wim@fluendo.com>
441
442         * gst/gstbuffer.c:
443         * gst/gstbuffer.h:
444         Uber-spiffy-spiffify some more.
445
446 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
447
448         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
449         * gst/elements/gstfilesink.c: (gst_file_sink_init):
450         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
451         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
452         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
453         * gst/gstpad.c: (gst_pad_init):
454           Use GST_DEBUG_FUNCPTR() more extensively.
455
456 2005-11-09  Wim Taymans  <wim@fluendo.com>
457
458         * gst/gstobject.c: (gst_object_class_init):
459         * gst/gstobject.h:
460         Documentation fixes.
461
462 2005-11-09  Edward Hervey  <edward@fluendo.com>
463
464         * gst/gsttypefindfactory.c:
465         Fix docs.
466         
467 2005-11-09  Edward Hervey  <edward@fluendo.com>
468
469         * gst/base/gsttypefindhelper.c:
470         * gst/gsttypefind.c:
471         * gst/gsttypefind.h:
472         Fix docs.
473
474 2005-11-09  Wim Taymans  <wim@fluendo.com>
475
476         * gst/gstiterator.c:
477         Fix revision data.
478
479         * gst/gsttask.c:
480         * gst/gsttask.h:
481         Fix docs.
482
483 2005-11-09  Wim Taymans  <wim@fluendo.com>
484
485         * gst/gstevent.h:
486         * gst/gsturi.h:
487         Fix docs.
488
489 2005-11-09  Wim Taymans  <wim@fluendo.com>
490
491         * docs/gst/gstreamer-sections.txt:
492         Moved the message async delivery private lock and cond
493         to the private section.
494
495         * gst/gstmessage.c:
496         * gst/gstmessage.h:
497         Fixed docs.
498
499 2005-11-09  Edward Hervey  <edward@fluendo.com>
500
501         * docs/gst/gstreamer-sections.txt:
502         * gst/gsturi.c:
503         * gst/gsturi.h:
504         Document GstURIHandler
505
506 2005-11-09  Wim Taymans  <wim@fluendo.com>
507
508         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
509         (gst_iterator_find_custom):
510         * gst/gstiterator.h:
511         Fix iterator docs.
512
513 2005-11-09  Wim Taymans  <wim@fluendo.com>
514
515         * gst/gstbin.h:
516         Document another field.
517
518         * gst/gststructure.c:
519         * gst/gststructure.h:
520         Document.
521
522 2005-11-09  Wim Taymans  <wim@fluendo.com>
523
524         * gst/gstbin.h:
525         Documented structs.
526
527 2005-11-09  Wim Taymans  <wim@fluendo.com>
528
529         * docs/gst/gstreamer-sections.txt:
530         Added some new macros.
531
532         * gst/gstclock.c:
533         * gst/gstclock.h:
534         * gst/gstobject.h:
535         Docs updates.
536
537 2005-11-09  Wim Taymans  <wim@fluendo.com>
538
539         * docs/design/part-TODO.txt:
540         Some more items for the TODO
541
542         * gst/gstcaps.c:
543         * gst/gstcaps.h:
544         Document GstCaps.
545
546 2005-11-09  Andy Wingo  <wingo@pobox.com>
547
548         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
549         to work on something else now tho...
550
551         * gst/base/gstadapter.c: More adapter docs.
552
553         * gst/elements/gstfilesink.c (gst_file_sink_start) 
554         (gst_file_sink_stop): New functions, replace the state change
555         handler.
556         (gst_file_sink_class_init): Hook up the start and stop functions.
557         (gst_file_sink_base_init): Don't set the state change handler any
558         more. It was a bit ugly too, being set from here...
559         (gst_file_sink_get_property, gst_file_sink_set_property):
560         Cleanups...
561         (gst_file_sink_set_location): More robust check that doesn't call
562         GST_STATE. Ugggggg.
563
564 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
565
566         * gst/base/gstbasetransform.c: (gst_base_transform_event):
567           Hold STREAM_LOCK while pushing newsegment or tag events as well.
568
569 2005-11-08  Wim Taymans  <wim@fluendo.com>
570
571         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
572         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
573         (gst_base_sink_chain), (gst_base_sink_change_state):
574         * gst/base/gstbasesink.h:
575         * gst/base/gstbasesrc.h:
576         * gst/gstelement.h:
577         * gst/gstevent.h:
578         Avoid excessive typechecking in macros.
579
580         * gst/gstminiobject.c: (gst_mini_object_get_type),
581         (gst_mini_object_init), (gst_mini_object_new),
582         (gst_mini_object_free):
583         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
584         (gst_object_finalize):
585         Remove cruft code, optimize alloc_trace.
586
587 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
588
589         * docs/faq/gst-uninstalled:
590           fix up PS1 for systems that try to reset it
591
592 2005-11-07  Wim Taymans  <wim@fluendo.com>
593
594         * gst/base/gstbasesrc.c: (gst_base_src_init),
595         (gst_base_src_get_range):
596         Set the segment_end to -1 initially. Fixed typefind.
597
598 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
599
600         * gst/base/gstadapter.c:
601           Debug category should be 'adapter', not 'GstAdapter'.
602           
603         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
604         (gst_collectpads_class_init), (gst_collectpads_init),
605         (gst_collectpads_peek), (gst_collectpads_pop),
606         (gst_collectpads_event), (gst_collectpads_chain):
607           Add debug category and some debugging output. Use boilerplate
608           macros. Remove some extraneous words from docs.
609
610 2005-11-05  Andy Wingo  <wingo@pobox.com>
611
612         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
613         macro.
614
615 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
616
617         * docs/gst/gstreamer-sections.txt:
618         * gst/gstcaps.h:
619         * gst/gstinfo.c:
620         * gst/gstminiobject.h:
621         * gst/gstobject.h:
622         * gst/gstutils.h:
623           more docs added
624
625 2005-11-04  Wim Taymans  <wim@fluendo.com>
626
627         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
628         Small update to stop at the configured segment_end
629         position.
630
631 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
632
633         * gst/gstregistry.c:
634         * gst/gstregistry.h:
635           added missing docs
636
637 2005-11-04  Edward Hervey  <edward@fluendo.com>
638
639         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
640         Check if we are doing a segment seek and have arrived at the
641         end of that segment.
642
643 2005-11-04  Wim Taymans  <wim@fluendo.com>
644
645         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
646         Don't leak a mutex unlock in case of an error.
647
648         * gst/gstbus.h:
649         Doc fixes.
650
651 2005-11-04  Wim Taymans  <wim@fluendo.com>
652
653         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
654         (gst_bus_post):
655         Get the context to wake up only once.
656
657 2005-11-03  Wim Taymans  <wim@fluendo.com>
658
659         * check/states/sinks.c: (GST_START_TEST):
660         Uncomment fixed check.
661
662         * docs/design/part-TODO.txt:
663         Updated TODO.
664
665         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
666         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
667         (gst_base_sink_get_position):
668         If we are going to PLAYING, post the right pending state
669         when we post the intermediate paused message.
670
671         * gst/gstelement.c: (gst_element_continue_state),
672         (gst_element_set_state_func), (gst_element_change_state):
673         Don't post state changes that were between the same state
674         and were not ASYNC.
675
676 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
677
678         * docs/gst/gstreamer-sections.txt:
679         * gst/gstcaps.h:
680         * gst/gstinfo.c:
681         * gst/gstminiobject.h:
682         * gst/gstobject.h:
683         * gst/gstutils.h:
684           more docs and doc style fixes
685
686 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
687
688         * docs/gst/gstreamer-sections.txt:
689         * gst/gstelement.c:
690         * gst/gstminiobject.c:
691         doc fixes
692
693 2005-11-03  Andy Wingo  <wingo@pobox.com>
694
695         * check/states/sinks.c (test_livesrc_sink): Add checks that the
696         state-changed messages actually have the right order and the right
697         values.
698
699 2005-11-03  Wim Taymans  <wim@fluendo.com>
700
701         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
702         Added some more checks. Specifically the case where NO_PREROLL
703         elements are in the pipeline.
704
705         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
706         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
707         (gst_base_sink_get_position):
708         Post READY->PAUSED state change messages too.
709         Fix bug where VOID was posted as pending state...
710
711         * gst/gstbin.c: (gst_bin_recalc_state):
712         use _element_continue_state() to continue the state change.
713
714         * gst/gstelement.c: (gst_element_continue_state),
715         (gst_element_commit_state), (gst_element_set_state_func),
716         (gst_element_change_state), (gst_element_change_state_func):
717         Lots of state change cleanups, assign the STATE_RETURN in
718         a new continue_state() function that also propagates the
719         last return value from a state change to the app.
720         Update some debug statements with proper category.
721
722 2005-11-03  Wim Taymans  <wim@fluendo.com>
723
724         * docs/design/part-events.txt:
725         * docs/design/part-gstpipeline.txt:
726         * docs/design/part-messages.txt:
727         * docs/design/part-overview.txt:
728         * docs/design/part-seeking.txt:
729         * docs/design/part-states.txt:
730         * docs/design/part-trickmodes.txt:
731         * docs/manual/advanced-position.xml:
732         Small docs updates.
733
734         * gst/gstobject.h:
735         People think !! is ugly, this looks better.
736
737         * gst/gstpad.c: (gst_pad_set_blocked_async):
738         Remove !! since it's fixed elsewhere now.
739
740 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
741
742         * gst/gstminiobject.h:
743         * gst/gstobject.h:
744           Add !! to _FLAG_IS_SET macros to make the result boolean.
745
746 2005-11-03  Edward Hervey  <edward@fluendo.com>
747
748         * gst/gstpad.c: (gst_pad_set_blocked_async):
749         comparing a flag and a gboolean rarely returns coherent results...
750         Added two characters (!!) to make that work correctly.
751         
752 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
753
754         * gst/gstbus.c: (gst_bus_class_init):
755           Fix some typos.
756           
757         * gst/gstqueue.c: (gst_queue_loop):
758           Don't assume a miniobject that isn't a buffer is an
759           event (it could be that there is a refcounting
760           problem somewhere and the pointer is stale and
761           refers to an already destroyed miniobject).
762
763 2005-11-03  Julien MOUTTE  <julien@moutte.net>
764
765         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
766
767 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
768
769         * docs/manual/advanced-position.xml:
770           Update seek example and explanations to current 0.9 API.
771
772         * gst/elements/gsttypefindelement.c:
773         (gst_type_find_element_activate):
774           Remove FIXME comment now that the found caps
775           are unreffed.
776
777 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
778
779         * gst/gstregistryxml.c: (load_feature):
780           Add another GST_STR_NULL instance
781
782 2005-11-02  Edward Hervey  <edward@fluendo.com>
783
784         * gst/gstpad.c: (handle_pad_block):
785         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
786         
787 2005-11-02  Wim Taymans  <wim@fluendo.com>
788
789         * gst/gstbin.c:
790         Fix typo in docs.
791
792         * gst/gstelement.c: (gst_element_commit_state):
793         Remove unused value.
794
795         * gst/gstiterator.c:
796         Mention that the returned element is reffed in the docs.
797
798 2005-11-02  Wim Taymans  <wim@fluendo.com>
799
800         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
801         (gst_pad_push), (gst_pad_push_event):
802         Unlock blocked pads when they are flushed.
803
804 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
805
806         * docs/README:
807         * docs/gst/gstreamer-sections.txt:
808         * gst/gstbin.c:
809           doc updates
810         * gst/gstregistry.c: (gst_registry_scan_path_level):
811           fix for a nasty little missed situation where an installed plug-in
812           which was in the cache did not get overridden by an uninstalled one
813           which was earlier in the plugin path because the newly created plugin
814           for the uninstalled one (not in the registry) didn't get its
815           ->registered set to TRUE
816
817 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
818
819         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
820         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
821         (gst_collectpads_is_active), (gst_collectpads_collect),
822         (gst_collectpads_collect_range), (gst_collectpads_start),
823         (gst_collectpads_stop), (gst_collectpads_peek),
824         (gst_collectpads_pop), (gst_collectpads_available),
825         (gst_collectpads_read), (gst_collectpads_flush):
826           Guard public API with assertions.
827         
828         * gst/gstpad.c:
829           Fix docs for gst_pad_set_link_function().
830
831 2005-11-02  Johan Dahlin  <johan@gnome.org>
832
833         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
834         Unref found_caps after we used it.
835
836 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
837
838         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
839           Don't try to ref NULL.
840
841 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
842
843         * win32/common/config.h.in:
844           provide a GST_FUNCTION that just gives a string for now
845
846 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
847
848         * win32/common/gstenumtypes.c: (register_gst_object_flags),
849         (gst_object_flags_get_type), (register_gst_bin_flags),
850         (gst_bin_flags_get_type), (register_gst_buffer_flag),
851         (gst_buffer_flag_get_type), (register_gst_bus_flags),
852         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
853         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
854         (gst_clock_return_get_type), (register_gst_clock_entry_type),
855         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
856         (gst_clock_flags_get_type), (register_gst_state),
857         (gst_state_get_type), (register_gst_state_change_return),
858         (gst_state_change_return_get_type), (register_gst_state_change),
859         (gst_state_change_get_type), (register_gst_element_flags),
860         (gst_element_flags_get_type), (register_gst_core_error),
861         (gst_core_error_get_type), (register_gst_library_error),
862         (gst_library_error_get_type), (register_gst_resource_error),
863         (gst_resource_error_get_type), (register_gst_stream_error),
864         (gst_stream_error_get_type), (register_gst_event_type),
865         (gst_event_type_get_type), (register_gst_seek_type),
866         (gst_seek_type_get_type), (register_gst_seek_flags),
867         (gst_seek_flags_get_type), (register_gst_format),
868         (gst_format_get_type), (register_gst_index_certainty),
869         (gst_index_certainty_get_type), (register_gst_index_entry_type),
870         (gst_index_entry_type_get_type),
871         (register_gst_index_lookup_method),
872         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
873         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
874         (gst_index_resolver_method_get_type), (register_gst_index_flags),
875         (gst_index_flags_get_type), (register_gst_debug_level),
876         (gst_debug_level_get_type), (register_gst_debug_color_flags),
877         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
878         (gst_iterator_result_get_type), (register_gst_iterator_item),
879         (gst_iterator_item_get_type), (register_gst_message_type),
880         (gst_message_type_get_type), (register_gst_mini_object_flags),
881         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
882         (gst_pad_link_return_get_type), (register_gst_flow_return),
883         (gst_flow_return_get_type), (register_gst_activate_mode),
884         (gst_activate_mode_get_type), (register_gst_pad_direction),
885         (gst_pad_direction_get_type), (register_gst_pad_flags),
886         (gst_pad_flags_get_type), (register_gst_pad_presence),
887         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
888         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
889         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
890         (gst_plugin_error_get_type), (register_gst_plugin_flags),
891         (gst_plugin_flags_get_type), (register_gst_rank),
892         (gst_rank_get_type), (register_gst_query_type),
893         (gst_query_type_get_type), (register_gst_tag_merge_mode),
894         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
895         (gst_tag_flag_get_type), (register_gst_task_state),
896         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
897         (gst_alloc_trace_flags_get_type),
898         (register_gst_type_find_probability),
899         (gst_type_find_probability_get_type), (register_gst_uri_type),
900         (gst_uri_type_get_type), (register_gst_parse_error),
901         (gst_parse_error_get_type):
902         * win32/common/gstversion.h:
903           update win32 copies
904
905 2005-11-01  Luca Ognibene  <luogni@tin.it>
906
907         * gst/gst.c:
908           fix docs. popt is dead, long live GOption.
909
910 2005-10-31  Wim Taymans  <wim@fluendo.com>
911
912         * gst/gstbuffer.h:
913         Small doc fix.
914
915 2005-10-31  Andy Wingo  <wingo@pobox.com>
916
917         * Boo!
918
919         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
920
921         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
922         need to serialize property notifications on GLib 2.8. GLib 2.6 has
923         the possibility of deadlocks here if code calling notify() or
924         set() has a lock that can be taken in another notify handler (ABBA
925         with class lock and e.g. python GIL state lock).
926
927 2005-10-28  Julien MOUTTE  <julien@moutte.net>
928
929         * gst/gstbus.c: Doc updates.
930
931 2005-10-28  Wim Taymans  <wim@fluendo.com>
932
933         * docs/design/part-TODO.txt:
934         * gst/gstiterator.c:
935         * gst/gstsystemclock.c:
936         * gst/gstsystemclock.h:
937         Doc updates.
938
939 2005-10-28  Edward Hervey  <edward@fluendo.com>
940
941         * docs/gst/gstreamer-docs.sgml:
942         * docs/gst/gstreamer-sections.txt:
943         the GstURIType documentation page is private, it only defines GstURIType
944         which should be defined in the GstURIHandler page
945         
946 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
947
948         * gst/gstbin.c: (gst_bin_class_init):
949         * gst/gstbin.h:
950         * gst/gstutils.c:
951         Documentation updates.
952
953 2005-10-28  Wim Taymans  <wim@fluendo.com>
954
955         * docs/gst/gstreamer-sections.txt:
956         * gst/gstclock.c:
957         * gst/gstclock.h:
958         Documented the clocks.
959
960 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
961
962         * docs/gst/gstreamer-sections.txt:
963           move some macros to private sections
964         * gst/gstminiobject.c:
965         * gst/gstminiobject.h:
966           add descriptions provided by ds and some more
967         * gst/gstpad.h:
968           mark macro as to be removed
969
970 2005-10-28  Wim Taymans  <wim@fluendo.com>
971
972         * docs/design/part-TODO.txt:
973         Add an item to TODO.
974
975         * gst/gstiterator.c: (gst_iterator_fold),
976         (gst_iterator_find_custom):
977         * gst/gstiterator.h:
978         Add iterator docs.
979
980 2005-10-28  Wim Taymans  <wim@fluendo.com>
981
982         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
983         (gst_base_transform_init):
984         Don't leak class.
985
986         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
987         An EOS event marks the queue as completely filled.
988
989 2005-10-27  Wim Taymans  <wim@fluendo.com>
990
991         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
992         (gst_base_sink_do_sync), (gst_base_sink_get_position):
993         Some more debugging.
994
995         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
996         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
997         (gst_base_transform_event), (gst_base_transform_getrange),
998         (gst_base_transform_chain):
999         * gst/base/gstbasetransform.h:
1000         Fix debugging,
1001         Protect transform and concurrent buffer alloc with a new lock.
1002         Try not to break ABI/API.
1003
1004 2005-10-27  Wim Taymans  <wim@fluendo.com>
1005
1006         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1007         (gst_base_src_init), (gst_base_src_query),
1008         (gst_base_src_default_newsegment),
1009         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1010         (gst_base_src_send_event), (gst_base_src_event_handler),
1011         (gst_base_src_pad_get_range), (gst_base_src_loop),
1012         (gst_base_src_unlock), (gst_base_src_default_negotiate),
1013         (gst_base_src_start), (gst_base_src_deactivate),
1014         (gst_base_src_activate_push), (gst_base_src_change_state):
1015         Move some stuff around and cleanup things.
1016
1017 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
1018
1019         * gst/base/gstbasesrc.c: (gst_base_src_query):
1020           Add missing break statements.
1021
1022 2005-10-27  Wim Taymans  <wim@fluendo.com>
1023
1024         * check/gst/gstbin.c: (GST_START_TEST):
1025         An extra refcount is taken in basesrc.
1026
1027         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1028         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1029         (gst_base_src_loop):
1030         Small cleanups, check for flushing after being unlocked from the 
1031         LIVE_LOCK. take refcounts correctly (not yet everywhere).
1032         Don't send out EOS when going to READY.
1033
1034 2005-10-27  Wim Taymans  <wim@fluendo.com>
1035
1036         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1037         (gst_base_sink_get_position):
1038         Some more debug.
1039
1040         * gst/gstbin.c: (message_check), (bin_replace_message),
1041         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1042         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1043         (bin_query_duration_init), (bin_query_duration_fold),
1044         (bin_query_duration_done), (bin_query_generic_fold),
1045         (gst_bin_query):
1046         * tools/gst-launch.c: (main):
1047         Remove old option.
1048
1049 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
1050
1051         * examples/controller/audio-example.c: (main):
1052         * examples/queue/queue.c: (event_loop):
1053         * gst/base/gstbasetransform.h:
1054         * gst/gstelement.c: (gst_element_send_event):
1055         * gst/gstevent.h:
1056         * gst/gstpad.c: (gst_pad_send_event):
1057           fixing examples
1058           fixing docs typos
1059           changing log priority in error situations
1060
1061 2005-10-25  Wim Taymans  <wim@fluendo.com>
1062
1063         * gst/gstbin.c: (message_check), (bin_replace_message),
1064         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1065         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1066         (bin_query_duration_init), (bin_query_duration_fold),
1067         (bin_query_duration_done), (bin_query_generic_fold),
1068         (gst_bin_query):
1069         Some doc and debug updates.
1070         Cache previously requested query DURATION for speed. invalidate
1071         cached duration if element posts a DURATION message.
1072
1073 2005-10-25  Wim Taymans  <wim@fluendo.com>
1074
1075         * docs/design/part-TODO.txt:
1076         Update TODO.
1077
1078         * gst/gstbin.c: (message_check), (bin_replace_message),
1079         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1080         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1081         (bin_query_duration_init), (bin_query_duration_fold),
1082         (bin_query_duration_done), (bin_query_generic_fold),
1083         (gst_bin_query):
1084         Handle SEGMENT_START/DONE messages correctly.
1085         More evolved query algorithm that handles duration queries
1086         correctly.
1087
1088         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1089         (gst_element_get_state_func), (gst_element_abort_state),
1090         (gst_element_commit_state), (gst_element_lost_state):
1091         Some more debugging.
1092
1093         * gst/gstmessage.h:
1094         Added doc.
1095
1096 2005-10-25  Wim Taymans  <wim@fluendo.com>
1097
1098         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1099         Don't use invalid stream_time.
1100
1101         * gst/gstevent.c: (gst_event_new_newsegment):
1102         stream_time in newsegment cannot be undefined.
1103
1104 2005-10-24  Wim Taymans  <wim@fluendo.com>
1105
1106         * gst/gstbus.c:
1107         Doc fix.
1108
1109         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1110         (gst_queue_loop):
1111         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1112
1113 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
1114
1115         * docs/libs/tmpl/gstdparam.sgml:
1116         * docs/libs/tmpl/gstdplinint.sgml:
1117         * docs/libs/tmpl/gstdpman.sgml:
1118         * docs/libs/tmpl/gstdpsmooth.sgml:
1119         * docs/libs/tmpl/gstunitconvert.sgml:
1120           these are obsolete
1121
1122 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1123
1124         * configure.ac:
1125           back to HEAD
1126
1127 === release 0.9.4 ===
1128
1129 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1130
1131         * configure.ac:
1132           releasing 0.9.4, "Tyrannosaurus Rex"
1133
1134 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
1135
1136         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1137         (gst_file_sink_get_current_offset):
1138           Use fseeko() and ftello() if available. When falling back on
1139           lseek() to get the current offset, fflush() first to make sure
1140           everything is up-to-date and we get the right offset.
1141
1142 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1143
1144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1145         * gst/base/gstbasesrc.c: (gst_base_src_loop):
1146         * gst/gsterror.c: (_gst_stream_errors_init):
1147         * gst/gsterror.h:
1148         * gst/gstqueue.c: (gst_queue_loop):
1149         * po/POTFILES.in:
1150           remove prematurely added error category and clean up the instances
1151
1152 2005-10-21  Wim Taymans  <wim@fluendo.com>
1153
1154         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1155         (gst_base_sink_get_position), (gst_base_sink_query),
1156         (gst_base_sink_change_state):
1157         Simply set the right flag when going to playing, that's all
1158         we need to do instead of calling a function inside the object
1159         lock (that could take the lock as well and deadlock)
1160
1161 2005-10-21  Wim Taymans  <wim@fluendo.com>
1162
1163         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1164         (gst_base_src_loop):
1165         Don't warn, the peer element knows what to do best when
1166         the seek failed, it might try something else.
1167
1168 2005-10-21  Wim Taymans  <wim@fluendo.com>
1169
1170         * gst/base/gstbasesrc.c: (gst_base_src_init),
1171         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1172         Fix seeking.
1173
1174 2005-10-21  Wim Taymans  <wim@fluendo.com>
1175
1176         * docs/design/part-segments.txt:
1177         More docs.
1178
1179         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1180         Correctly set caps, even on the subbufer.
1181
1182 2005-10-21  Wim Taymans  <wim@fluendo.com>
1183
1184         * docs/gst/gstreamer-docs.sgml:
1185         * docs/gst/gstreamer-sections.txt:
1186         * gst/gstelement.h:
1187         * gst/gstevent.c:
1188         * gst/gstevent.h:
1189         * gst/gstmessage.h:
1190         * gst/gstpad.h:
1191         * gst/gstparse.h:
1192         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1193         * gst/gsttask.h:
1194         * gst/gstutils.c:
1195         * gst/gstutils.h:
1196         And 2% more doc coverage.
1197
1198 2005-10-21  Andy Wingo  <wingo@pobox.com>
1199
1200         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1201         position reporting.
1202
1203 2005-10-20  Wim Taymans  <wim@fluendo.com>
1204
1205         * gst/gsterror.c: (gst_error_get_message):
1206         * gst/gstparse.h:
1207         * gst/gstquery.h:
1208         * gst/gststructure.c:
1209         * gst/gsttrace.c:
1210         * gst/gstutils.c:
1211         More docs.
1212
1213 2005-10-20  Wim Taymans  <wim@fluendo.com>
1214
1215         * gst/gstbuffer.h:
1216         * gst/gstpad.c:
1217         * gst/gstparse.c:
1218         Another 1% more coverage.
1219
1220 2005-10-20  Wim Taymans  <wim@fluendo.com>
1221
1222         * docs/gst/gstreamer-sections.txt:
1223         * gst/gstelement.c: (gst_element_get_state_func),
1224         (gst_element_abort_state), (gst_element_commit_state),
1225         (gst_element_lost_state):
1226         * gst/gstevent.h:
1227         * gst/gstquery.c: (gst_query_set_position),
1228         (gst_query_parse_position), (gst_query_set_duration),
1229         (gst_query_parse_duration), (gst_query_new_convert):
1230         * gst/gstutils.c:
1231         Yay! 1% more docs coverage.
1232
1233 2005-10-20  Wim Taymans  <wim@fluendo.com>
1234
1235         * gst/gstpad.h:
1236         * gst/gstquery.c: (gst_query_set_position),
1237         (gst_query_parse_position), (gst_query_set_duration),
1238         (gst_query_parse_duration), (gst_query_new_convert):
1239         * gst/gstquery.h:
1240         * gst/gstutils.c: (gst_element_query_convert):
1241         * gst/gstutils.h:
1242         Docs and consistency fixes.
1243
1244 2005-10-20  Wim Taymans  <wim@fluendo.com>
1245
1246         * gst/gsttask.c:
1247         * gst/gsttask.h:
1248         More docs.
1249
1250 2005-10-20  Wim Taymans  <wim@fluendo.com>
1251
1252         * gst/gstbin.c: (message_check), (bin_replace_message),
1253         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1254         (update_degree), (gst_bin_sort_iterator_next),
1255         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1256         Reworked the message handling a bit, cache the messages instead of
1257         only the senders. alows us to do more in the future.
1258
1259 2005-10-20  Wim Taymans  <wim@fluendo.com>
1260
1261         * docs/design/part-TODO.txt:
1262         Update TODO
1263
1264         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1265         (gst_base_sink_query):
1266         Don't use clock time to report position when in EOS.
1267
1268 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
1269
1270         * tools/gst-inspect.c: (print_interfaces),
1271         (print_element_properties_info), (print_element_info):
1272           Fix interface output with gst-inspect -a; don't print
1273           newlines after double/float properties.
1274
1275 2005-10-20  Wim Taymans  <wim@fluendo.com>
1276
1277         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1278         (gst_base_sink_query):
1279         Speed up current position calculation.
1280
1281         * gst/base/gstbasesrc.c: (gst_base_src_query),
1282         (gst_base_src_default_newsegment):
1283         Correctly set stream position in newsegment.
1284
1285         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1286         (update_degree), (gst_bin_sort_iterator_next),
1287         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1288         * gst/gstmessage.c: (gst_message_new_custom):
1289         Clean up debugging info
1290
1291         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1292         (gst_queue_loop), (gst_queue_handle_src_query):
1293         Pause task faster.
1294
1295 2005-10-19  Wim Taymans  <wim@fluendo.com>
1296
1297         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1298         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1299         Fix query handling again.
1300
1301 2005-10-19  Wim Taymans  <wim@fluendo.com>
1302
1303         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1304         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1305         * gst/base/gstbasesrc.c: (gst_base_src_query):
1306         * gst/elements/gstfilesink.c: (gst_file_sink_query):
1307         * gst/elements/gsttypefindelement.c:
1308         (gst_type_find_handle_src_query), (find_element_get_length),
1309         (gst_type_find_element_activate):
1310         API change fix.
1311
1312         * gst/gstquery.c: (gst_query_new_position),
1313         (gst_query_set_position), (gst_query_parse_position),
1314         (gst_query_new_duration), (gst_query_set_duration),
1315         (gst_query_parse_duration), (gst_query_set_segment),
1316         (gst_query_parse_segment):
1317         * gst/gstquery.h:
1318         Bundling query position/duration is not a good idea since duration
1319         does not change much and we don't want to recalculate it for every
1320         position query, so they are separated again..
1321         Base value in segment query is not needed.
1322
1323         * gst/gstqueue.c: (gst_queue_handle_src_query):
1324         * gst/gstutils.c: (gst_element_query_position),
1325         (gst_element_query_duration), (gst_pad_query_position),
1326         (gst_pad_query_duration):
1327         * gst/gstutils.h:
1328         Updates for query API change.
1329         Added some docs here and there.
1330
1331 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1332
1333         * check/gst/gstbin.c: (GST_START_TEST):
1334         * check/gst/gstghostpad.c: (GST_START_TEST):
1335         * check/pipelines/cleanup.c: (GST_START_TEST):
1336           wait on thread to die so we can check refcount correctly
1337
1338 2005-10-18  Wim Taymans  <wim@fluendo.com>
1339
1340         * check/pipelines/stress.c: (GST_START_TEST):
1341         Make check a little more time consuming.
1342
1343 2005-10-18  Wim Taymans  <wim@fluendo.com>
1344
1345         * check/Makefile.am:
1346         * check/pipelines/stress.c: (GST_START_TEST),
1347         (simple_launch_lines_suite), (main):
1348         Small state change torture test.
1349
1350         * docs/design/part-states.txt:
1351         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1352         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1353         (gst_base_sink_change_state):
1354         Never take state lock from streaming thread, clean up ugly
1355         hacks. Unfortunatly core does not yet support nice ways to
1356         async commit state.
1357         
1358         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1359         (bin_bus_handler):
1360         Start state recalc if a STATE_DIRTY message is posted, but only
1361         on the toplevel bin.
1362
1363         * gst/gstelement.c: (gst_element_sync_state_with_parent),
1364         (gst_element_get_state_func), (gst_element_abort_state),
1365         (gst_element_commit_state), (gst_element_lost_state),
1366         (gst_element_set_state_func), (gst_element_change_state):
1367         * gst/gstelement.h:
1368         State variables are now protected with the LOCK, the state
1369         lock is only used to serialize _set_state().
1370
1371 2005-10-18  Wim Taymans  <wim@fluendo.com>
1372
1373         * check/gst/gstbin.c: (GST_START_TEST):
1374         * check/gst/gstmessage.c: (GST_START_TEST):
1375         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1376         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1377         (bin_bus_handler):
1378         * gst/gstelement.c: (gst_element_abort_state),
1379         (gst_element_commit_state), (gst_element_lost_state):
1380         * gst/gstmessage.c: (gst_message_new_state_changed),
1381         (gst_message_new_state_dirty), (gst_message_new_segment_start),
1382         (gst_message_new_segment_done), (gst_message_new_duration),
1383         (gst_message_parse_state_changed),
1384         (gst_message_parse_segment_start),
1385         (gst_message_parse_segment_done), (gst_message_parse_duration):
1386         * gst/gstmessage.h:
1387         * tools/gst-launch.c: (event_loop):
1388         Seriously, this is better than a previous commit as we only need
1389         to notify the fact that an element changed state in a streaming
1390         thread, marking the state of the parents dirty, hence the 
1391         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1392         message.
1393
1394 2005-10-18  Wim Taymans  <wim@fluendo.com>
1395
1396         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1397         (gst_bin_recalc_func):
1398         * gst/gstelement.c: (gst_element_set_clock),
1399         (gst_element_abort_state), (gst_element_lost_state):
1400         Cleanups, prepare for state change fixes.
1401
1402 2005-10-18  Wim Taymans  <wim@fluendo.com>
1403
1404         * gst/gstbin.h:
1405         * gst/gstelement.c: (gst_element_class_init),
1406         (gst_element_set_state), (gst_element_set_state_func):
1407         * gst/gstelement.h:
1408         Pending ABI changes.
1409         GThreadPool in GstBinClass to monitor async state changes.
1410         state_cookie in GstElement to detect concurrent gst/set state.
1411         set_state is now virtual too in case a very complicated element
1412         has to be constructed.
1413
1414 2005-10-18  Wim Taymans  <wim@fluendo.com>
1415
1416         * check/gst/gstbin.c: (GST_START_TEST):
1417         * check/gst/gstmessage.c: (GST_START_TEST):
1418         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1419         * gst/gstbin.c: (bin_bus_handler):
1420         * gst/gstelement.c: (gst_element_commit_state),
1421         (gst_element_lost_state):
1422         * gst/gstmessage.c: (gst_message_new_state_changed),
1423         (gst_message_new_segment_start), (gst_message_new_segment_done),
1424         (gst_message_new_duration), (gst_message_parse_state_changed),
1425         (gst_message_parse_segment_start),
1426         (gst_message_parse_segment_done), (gst_message_parse_duration):
1427         * gst/gstmessage.h:
1428         * tools/gst-launch.c: (event_loop):
1429         Make messages future proof.
1430         state-change gets a flag if it was a message comming from the
1431         streaming thread.
1432         segment-start/stop can also be specified in other formats.
1433         A message to notify an app that a pipeline changed playback 
1434         duration.
1435         Also fix a GstMessage leak in -launch
1436
1437 2005-10-18  Andy Wingo  <wingo@pobox.com>
1438
1439         * gst/gstelement.c (gst_element_dispose): More helpful message.
1440
1441 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1442
1443         reviewed by: <delete if not using a buddy>
1444
1445         * common/gtk-doc.mak:
1446
1447 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1448
1449         * gst/gstregistry.c: (gst_registry_scan_path_level):
1450           unref a plug-in we get that was already initialized
1451
1452 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
1453
1454         * docs/gst/gstreamer-sections.txt:
1455         * docs/libs/gstreamer-libs-sections.txt:
1456         * gst/gstelement.h:
1457           add new api entries
1458           hide internal macro
1459
1460 2005-10-17  Andy Wingo  <wingo@pobox.com>
1461
1462         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1463         cleanup.
1464
1465         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1466
1467         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1468
1469         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1470         (gst_element_get_state_func): Better debug message.
1471         (gst_element_commit_state): s/INFO/DEBUG/.
1472         (gst_element_lost_state, gst_element_change_state): 
1473
1474         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1475         (gst_message_new_custom): s/INFO/LOG/.
1476
1477 2005-10-17  Michael Smith <msmith@fluendo.com>
1478
1479         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1480           Check if end time is valid using end time, not start time.
1481
1482 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
1483
1484         * check/gst-libs/controller.c: (GST_START_TEST),
1485         (gst_controller_suite):
1486         * libs/gst/controller/gstcontroller.c:
1487         (gst_controlled_property_set_interpolation_mode):
1488         * libs/gst/controller/gstcontroller.h:
1489         * libs/gst/controller/gstinterpolation.c:
1490         * testsuite/controller/.cvsignore:
1491         * testsuite/controller/Makefile.am:
1492         * testsuite/controller/interpolator.c:
1493           merge controller testsuites
1494           fix broken tests
1495           remove mem-chunk from docs
1496
1497 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1498
1499         * gst/gstmemchunk.c:
1500         * gst/gstmemchunk.h:
1501         * gst/gsttrashstack.c:
1502         * gst/gsttrashstack.h:
1503           out.  get out.  you're fired.  to the Attic !
1504
1505 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1506
1507         * gst/gstcaps.c: (gst_caps_intersect):
1508           fix signedness issues in a (hopefully) correct way
1509         * gst/gstelement.c: (gst_element_pads_activate):
1510           some debugging
1511         * gst/gstobject.c: (gst_object_set_parent):
1512           some debugging
1513
1514 2005-10-17  Julien MOUTTE  <julien@moutte.net>
1515
1516         * gst/gstvalue.h: Fix prototypes.
1517
1518 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1519
1520         * docs/gst/gstreamer-sections.txt:
1521         * gst/gst.c: (gst_version_string):
1522         * gst/gst.h:
1523         * gst/gstversion.h.in:
1524         * win32/common/libgstreamer.def:
1525           add gst_version_string ()
1526
1527 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1528
1529         * configure.ac:
1530           clean up further
1531         * gst/gst.c: (init_post):
1532         * win32/common/config.h.in:
1533           it's PLUGINDIR now
1534         * gst/gstcaps.c: (gst_caps_intersect):
1535           use gint64, the range could be bigger than a guint
1536
1537 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1538
1539         * gst/gstclock.h:
1540           document potential problem in 2038
1541
1542 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1543
1544         * gst/gstcaps.c: (gst_caps_intersect):
1545           Fix guint j diving under 0
1546
1547 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1548
1549         * configure.ac:
1550         * win32/common/config.h:
1551         * win32/common/config.h.in:
1552           check for process.h, declares getpid() on Windows
1553         * gst/gstinfo.c:
1554           include process.h if we have it
1555         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1556         * gst/gstmemchunk.h:
1557           fix signedness issues
1558         * win32/common/libgstreamer.def:
1559           fix get_type's
1560
1561 2005-10-16  Julien MOUTTE  <julien@moutte.net>
1562
1563         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1564         fix. Because of unsigned ints, caps intersection was going nuts and
1565         trying to access structures with G_MAXUINT index. That fixes
1566         videotestsrc ! ffmpegcolorspace ! fakesink
1567         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1568         consistency.
1569
1570 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1571
1572         * configure.ac:
1573           use the gettext macro
1574         * gst/elements/gstelements.c:
1575         * gst/gst.c:
1576         * gst/indexers/gstindexers.c:
1577           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1578         * win32/common/config.h:
1579           updated config.h
1580         * win32/common/config.h.in:
1581           add the template to generate config.h
1582         * win32/common/gstenumtypes.c:
1583         * win32/common/gstversion.h:
1584           updated copies
1585
1586 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1587
1588         * gst/gst.c: (gst_version):
1589         * gst/gstversion.h.in:
1590           add the nano
1591
1592 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1593
1594         * gst/gstevent.h:
1595           Oops, add missing closing bracket.
1596
1597 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1598
1599         * configure.ac:
1600           use common m4's for argument checking
1601
1602 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1603
1604         * docs/gst/gstreamer-sections.txt:
1605         * gst/gstevent.h:
1606           Add GST_EVENT_TYPE_NAME() macro.
1607
1608 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1609
1610         * gst/gstinfo.c:
1611         * gst/gstpluginfeature.c:
1612         * gst/gsttask.c:
1613           privatize more symbols
1614
1615 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1616
1617         * configure.ac:
1618           add srcdir, builddir includes to GST_ALL_CFLAGS, since
1619           everything that uses GStreamer API should have the includes
1620
1621 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1622
1623         * docs/gst/gstreamer-sections.txt:
1624         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1625         * gst/gstvalue.h:
1626           give each value a _get_type, removes the DATA exports
1627
1628 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1629
1630         * gst/gst.c:
1631         * gst/gst.h:
1632           remove _gst_registry_auto_load, not used anymore
1633         * gst/gstbin.c: (gst_bin_get_type):
1634         * gst/gstbin.h:
1635         * gst/gstelement.c: (gst_element_get_type):
1636         * gst/gstelement.h:
1637         * gst/gstobject.c: (gst_object_get_type):
1638         * gst/gstobject.h:
1639         * gst/gstpad.c: (gst_pad_get_type):
1640         * gst/gstpad.h:
1641           make _get_type functions similar, fixes data export from library
1642
1643 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1644
1645         * configure.ac:
1646           correctly make conditionals
1647         * gst/elements/Makefile.am:
1648         * gst/elements/gstelements.c:
1649           fix typo causing fdsrc not to build
1650
1651 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1652
1653         * testsuite/Makefile.am:
1654         * testsuite/bytestream/.cvsignore:
1655         * testsuite/bytestream/Makefile.am:
1656         * testsuite/bytestream/filepadsink.c:
1657         * testsuite/bytestream/gstbstest.c:
1658         * testsuite/bytestream/test1.c:
1659         * testsuite/bytestream/testfile1:
1660         * testsuite/caps/normalisation.c:
1661         * testsuite/caps/random.c: (main):
1662         * testsuite/cleanup/.cvsignore:
1663         * testsuite/cleanup/Makefile.am:
1664         * testsuite/cleanup/cleanup1.c:
1665         * testsuite/cleanup/cleanup2.c:
1666         * testsuite/cleanup/cleanup3.c:
1667         * testsuite/cleanup/cleanup4.c:
1668         * testsuite/cleanup/cleanup5.c:
1669         * testsuite/controller/interpolator.c:
1670         * testsuite/debug/printf_extension.c: (main):
1671         * testsuite/elements/tee.c:
1672         * testsuite/negotiation/.cvsignore:
1673         * testsuite/negotiation/Makefile.am:
1674         * testsuite/negotiation/pad_link.c:
1675         * testsuite/pad/Makefile.am:
1676         * testsuite/pad/chainnopull.c:
1677         * testsuite/pad/getnopush.c:
1678         * testsuite/pad/link.c:
1679         * testsuite/refcounting/sched.c: (create_pipeline):
1680         * testsuite/registry/Makefile.am:
1681         * testsuite/registry/gst-print-formats.c:
1682         * testsuite/schedulers/.cvsignore:
1683         * testsuite/schedulers/142183-2.c:
1684         * testsuite/schedulers/142183.c:
1685         * testsuite/schedulers/143777-2.c:
1686         * testsuite/schedulers/143777.c:
1687         * testsuite/schedulers/147713.c:
1688         * testsuite/schedulers/147819.c:
1689         * testsuite/schedulers/147894-2.c:
1690         * testsuite/schedulers/147894.c:
1691         * testsuite/schedulers/Makefile.am:
1692         * testsuite/schedulers/group_link.c:
1693         * testsuite/schedulers/queue_link.c:
1694         * testsuite/schedulers/relink.c:
1695         * testsuite/schedulers/unlink.c:
1696         * testsuite/schedulers/unref.c:
1697         * testsuite/schedulers/useless_iteration.c:
1698         * testsuite/states/bin.c:
1699           clean out/remove some stuff from the testsuite directories
1700
1701 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1702
1703         * configure.ac:
1704           check for some headers
1705         * gst/elements/Makefile.am:
1706         * gst/elements/gstelements.c:
1707           don't compile fdsrc without sys/socket.h
1708         * gst/indexers/Makefile.am:
1709         * gst/indexers/gstindexers.c: (plugin_init):
1710           don't compile fileindex without mmap
1711
1712 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1713
1714         * configure.ac:
1715           reorganize
1716           clean up
1717           document more
1718           remove cruft
1719         * check/Makefile.am:
1720         * docs/gst/Makefile.am:
1721         * examples/helloworld/Makefile.am:
1722         * gst/Makefile.am:
1723         * gst/base/Makefile.am:
1724         * gst/check/Makefile.am:
1725         * gst/elements/Makefile.am:
1726         * gst/indexers/Makefile.am:
1727         * gst/parse/Makefile.am:
1728         * libs/gst/controller/Makefile.am:
1729         * libs/gst/dataprotocol/Makefile.am:
1730         * examples/helloworld/helloworld.c: (event_loop):
1731           compile fixes, though it's not being compiled currently
1732
1733 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
1734
1735         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1736           Add some simple tests for the new taglist date API.
1737
1738 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1741         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1742           Beautify 'last-message' output: print 'none' for buffer timestamps
1743           and durations if none is set; improve alignment with next messages.
1744
1745 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
1746
1747         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1748         * gst/gstpluginfeature.h:
1749         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1750         * gst/gstregistry.h:
1751         * docs/gst/gstreamer-sections.txt:
1752           Add new API to check plugin feature version requirements.
1753
1754         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1755           Some basic tests for the above.         
1756
1757 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1758
1759         * gst/gststructure.c: (gst_structure_to_string):
1760           guard against NULL printf - happens when for example
1761           a message structure with GstClock gets serialized
1762
1763 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1764
1765         * gst/base/gstcollectpads.c: (gst_collectpads_event):
1766           Fix presumable copy'n'pasto.
1767
1768 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1769
1770         * gst/elements/gstfakesrc.h:
1771         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1772         * gst/elements/gsttypefindelement.c:
1773           fix some signedness
1774         * gst/elements/gstfilesink.c: (gst_file_sink_render):
1775           I wonder if this could actually write +2GB files before
1776
1777 2005-10-13  Andy Wingo  <wingo@pobox.com>
1778
1779         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1780         Fix Timmeke Waymans bug.
1781         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1782         string of the proper length to gst_caps_from_string. There's a
1783         potential for, before this fix, that this could cause someone
1784         connecting over the network to cause a segfault if the payload is
1785         not NUL-terminated.
1786
1787 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
1788
1789         * docs/design/draft-push-pull.txt:
1790         * docs/design/part-overview.txt:
1791         * docs/random/TODO-pre-0.9:
1792         * docs/random/old/ChangeLog.gstreamer:
1793         * gst/base/gstpushsrc.c:
1794         * gst/gstclock.c:
1795           fixed typos
1796
1797 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1798
1799         * gst/glib-compat.c: (gst_flags_get_first_value):
1800         * gst/glib-compat.h:
1801         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1802         (gst_value_compare_double), (gst_value_serialize_flags):
1803           GLib 2.6 g_flags_get_first_value has a bug that triggers an
1804           infinite loop
1805
1806 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1807
1808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1809         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1810           fix up debugging
1811         * tools/gst-launch.c: (event_loop):
1812           print out clock nicely
1813
1814 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * docs/gst/gstreamer-sections.txt:
1817         * gst/gsttaglist.h:
1818         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1819         (gst_tag_list_get_date_index):
1820           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1821           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1822
1823 2005-10-13  Julien MOUTTE  <julien@moutte.net>
1824
1825         * gst/base/gstcollectpads.c: (gst_collectpads_event),
1826         (gst_collectpads_chain):
1827         * gst/base/gstcollectpads.h: Handle newsegment and store informations
1828         in CollectData.
1829
1830 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
1831
1832         * docs/gst/gstreamer-sections.txt:
1833         * gst/gst.c:
1834         * gst/gsterror.h:
1835         * tools/gst-inspect.c: (main):
1836         * tools/gst-launch.c: (main):
1837         * tools/gst-run.c: (main):
1838         * tools/gst-xmlinspect.c: (main):
1839           fix GOption context leaks
1840           doc fixes
1841
1842 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1843
1844         * gst/gstbus.c:
1845           use HAVE_UNISTD_H
1846         * win32/common/config.h:
1847           update config
1848         * win32/vs6/grammar.dsp:
1849         * win32/vs6/libgstelements.dsp:
1850         * win32/vs6/libgstreamer.dsp:
1851           update vs6 files
1852
1853 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1854
1855         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1856         * gst/base/gstbasesrc.c: (gst_base_src_query):
1857           fix more guint64<->gdouble conversions
1858
1859 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1860
1861         * Makefile.am:
1862           add win32-update target
1863         * win32/common/gstconfig.h:
1864         * win32/common/gstenumtypes.c:
1865         * win32/common/gstenumtypes.h:
1866         * win32/common/gstversion.h:
1867           add files that visual studio can't generate
1868
1869 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1870
1871         * Makefile.am:
1872           add a win32-update target
1873         * configure.ac:
1874
1875 2005-10-12  Wim Taymans  <wim@fluendo.com>
1876
1877         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1878         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1879         * gst/gstelement.c: (gst_element_commit_state),
1880         (gst_element_set_state):
1881         Protect flags with proper lock.
1882         unref provided cached clock in dispose.
1883
1884 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
1885
1886         * gst/gst.c:
1887         * gst/gstminiobject.h:
1888         * gst/gstpad.h:
1889         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1890           removed unused flags from miniobject
1891           doc fixes
1892
1893 2005-10-12  Wim Taymans  <wim@fluendo.com>
1894
1895         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1896         (gst_file_sink_event), (gst_file_sink_render):
1897         Flush before seeking.
1898
1899 2005-10-12  Andy Wingo  <wingo@pobox.com>
1900
1901         * gst/gst.c (gst_init_check): Ignore unknown options, as has
1902         always been the case.
1903
1904 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
1905
1906         * check/gst/gstbin.c: (GST_START_TEST):
1907         * docs/gst/gstreamer-sections.txt:
1908         * gst/base/gstbasesink.c: (gst_base_sink_init):
1909         * gst/base/gstbasesrc.c: (gst_base_src_init),
1910         (gst_base_src_get_range), (gst_base_src_check_get_range),
1911         (gst_base_src_start), (gst_base_src_stop):
1912         * gst/base/gstbasesrc.h:
1913         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1914         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1915         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1916         (bin_bus_handler):
1917         * gst/gstbin.h:
1918         * gst/gstbuffer.h:
1919         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1920         * gst/gstbus.h:
1921         * gst/gstelement.c: (gst_element_is_locked_state),
1922         (gst_element_set_locked_state), (gst_element_commit_state),
1923         (gst_element_set_state):
1924         * gst/gstelement.h:
1925         * gst/gstindex.c: (gst_index_init):
1926         * gst/gstindex.h:
1927         * gst/gstminiobject.h:
1928         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1929         (gst_object_set_parent):
1930         * gst/gstobject.h:
1931         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1932         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1933         * gst/gstpad.h:
1934         * gst/gstpadtemplate.h:
1935         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1936         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1937         * gst/gstpipeline.h:
1938         * gst/indexers/gstfileindex.c: (gst_file_index_load),
1939         (gst_file_index_commit):
1940         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1941         * testsuite/pad/link.c: (gst_test_src_init),
1942         (gst_test_filter_init), (gst_test_sink_init):
1943         * testsuite/states/locked.c: (main):
1944           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1945           moved bitshift from macro to enum definition
1946
1947 2005-10-12  Wim Taymans  <wim@fluendo.com>
1948
1949         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1950         * gst/elements/gstfilesink.c: (gst_file_sink_event),
1951         (gst_file_sink_render):
1952         Some more debugging info.
1953
1954 2005-10-12  Wim Taymans  <wim@fluendo.com>
1955
1956         * docs/design/part-states.txt:
1957         * tools/gst-launch.c: (main):
1958         Some doc updates.
1959         Revert non-intentional change.
1960
1961 2005-10-12  Wim Taymans  <wim@fluendo.com>
1962
1963         * check/gst/gstbin.c: (GST_START_TEST):
1964         * check/gst/gstelement.c: (GST_START_TEST):
1965         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1966         * check/gst/gstghostpad.c: (GST_START_TEST):
1967         * check/gst/gstpipeline.c: (GST_START_TEST):
1968         * check/pipelines/simple_launch_lines.c: (run_pipeline):
1969         * check/states/sinks.c: (GST_START_TEST):
1970         * gst/elements/gsttypefindelement.c: (stop_typefinding):
1971         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1972         (gst_bin_remove_func), (gst_bin_get_state_func),
1973         (gst_bin_recalc_state), (gst_bin_change_state_func),
1974         (bin_bus_handler):
1975         * gst/gstelement.c: (gst_element_get_state_func),
1976         (gst_element_get_state), (gst_element_abort_state),
1977         (gst_element_commit_state), (gst_element_set_state),
1978         (gst_element_change_state), (gst_element_change_state_func):
1979         * gst/gstelement.h:
1980         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1981         (gst_pipeline_provide_clock_func):
1982         * gst/gstutils.c: (gst_element_link_pads_filtered):
1983         * tools/gst-launch.c: (main):
1984         * tools/gst-typefind.c: (main):
1985         Use GstClockTime in _get_state() instead of GTimeVal.
1986         Remove old code in gstutils.c
1987
1988 2005-10-12  Andy Wingo  <wingo@pobox.com>
1989
1990         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1991         removed.
1992
1993         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1994         there is no task. Shouldn't affect any code, as nothing in our
1995         plugins checks this return value.
1996         (gst_pad_stop_task): Also take the stream lock if the pad has no
1997         task. Docs updated.
1998
1999 2005-10-12  Wim Taymans  <wim@fluendo.com>
2000
2001         * gst/gstpad.c: (pre_activate), (post_activate),
2002         (gst_pad_activate_pull), (gst_pad_activate_push):
2003         Cleanup activation code. Reset old state if
2004         activation failed.
2005
2006 2005-10-12  Wim Taymans  <wim@fluendo.com>
2007
2008         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2009         (gst_base_sink_change_state):
2010         No need to prerol after receiving EOS.
2011
2012         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2013         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2014         * gst/elements/gstidentity.c: (gst_identity_event):
2015         Print events more verbosely.
2016
2017 2005-10-12  Wim Taymans  <wim@fluendo.com>
2018
2019         * check/Makefile.am:
2020         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2021         * check/states/sinks2.c:
2022         Moved sinks2 testcode in sinks check.
2023
2024         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2025         (gst_bin_remove_func), (gst_bin_recalc_state),
2026         (gst_bin_change_state_func), (bin_bus_handler):
2027         Fix potential race condition when _get_state() iterated over an
2028         ASYNC element right before it posted a state completion.
2029
2030         * gst/gstclock.h:
2031         Do proper cast here.
2032
2033         * gst/gstevent.c: (gst_event_new_newsegment),
2034         (gst_event_parse_newsegment):
2035         A playback rate of 0.0 is not allowed.
2036
2037 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2038
2039         * win32/common/config.h:
2040         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2041         (_trewinddir), (_ttelldir), (_tseekdir):
2042         * win32/common/dirent.h:
2043         * win32/common/gtchar.h:
2044         * win32/common/libgstbase.def:
2045         * win32/common/libgstreamer.def:
2046         * win32/vs6/grammar.dsp:
2047         * win32/vs6/gst_inspect.dsp:
2048         * win32/vs6/gst_launch.dsp:
2049         * win32/vs6/gstreamer.dsw:
2050         * win32/vs6/libgstbase.dsp:
2051         * win32/vs6/libgstelements.dsp:
2052         * win32/vs6/libgstreamer.dsp:
2053           Visual Studio 6 project files, and a new common directory.
2054           Phear.
2055
2056 2005-10-11  Wim Taymans  <wim@fluendo.com>
2057
2058         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2059         (gst_base_sink_do_sync), (gst_base_sink_query),
2060         (gst_base_sink_change_state):
2061         * gst/base/gstbasesink.h:
2062         Correctly parse newsegment info.
2063
2064 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2065
2066         * gst/gst.c: (init_post):
2067           split plugin paths correctly
2068
2069 2005-10-11  Wim Taymans  <wim@fluendo.com>
2070
2071         * check/gst/gstevent.c: (GST_START_TEST):
2072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2073         (gst_base_sink_change_state):
2074         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2075         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2076         * gst/elements/gstfilesink.c: (gst_file_sink_event):
2077         * gst/gstevent.c: (gst_event_new_newsegment),
2078         (gst_event_parse_newsegment):
2079         * gst/gstevent.h:
2080         Added extra flag to newsegment for future API freeze.
2081         Updated check and base elements.
2082
2083 2005-10-11  Julien MOUTTE  <julien@moutte.net>
2084
2085         * gst/base/gstcollectpads.c: (gst_collectpads_init),
2086         (gst_collectpads_add_pad), (gst_collectpads_pop),
2087         (gst_collectpads_event), (gst_collectpads_chain):
2088         * gst/base/gstcollectpads.h: Handle EOS correctly.
2089
2090 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2091
2092         * tools/gst-launch.c: (main):
2093           more null protecting
2094
2095 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2096
2097         * gst/gst-i18n-lib.h:
2098           check for ENABLE_NLS, not GETTEXT_PACKAGE
2099         * gst/gstregistry.c: (gst_registry_add_plugin),
2100         (gst_registry_scan_path_level),
2101         (_gst_registry_remove_cache_plugins):
2102           protect possibly NULL strings
2103         * gst/parse/types.h:
2104           config.h already included before
2105         * tools/gst-inspect.c: (main):
2106           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2107           check for ENABLE_NLS, not GETTEXT_PACKAGE
2108         * tools/gst-launch.c: (main):
2109           check for ENABLE_NLS, not GETTEXT_PACKAGE
2110
2111 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2112
2113         * configure.ac:
2114           if we don't have glib, fail before testing 2.8
2115         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2116           fix a leak, should fix plugins-base testsuite
2117
2118 2005-10-11  Andy Wingo  <wingo@pobox.com>
2119
2120         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2121         take the mode we're going to as an arg. Go head and set the mode
2122         and flushing flags now, so that if the activate function starts a
2123         thread all the flags will be in the right state.
2124         (post_activate): Renamed also. Just handle making sure streaming
2125         finishes for the deactivation case, and setting the deactivated
2126         mode.
2127         (gst_pad_set_active): Complain loudly if deactivation fails.
2128         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2129         (gst_pad_activate_push): Adapt to pre/post_activate changes,
2130         remove the terrible hack.
2131
2132 2005-10-11  Wim Taymans  <wim@fluendo.com>
2133
2134         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2135         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2136         (gst_bin_recalc_state), (gst_bin_change_state_func),
2137         (gst_bin_dispose), (bin_bus_handler):
2138         * gst/gstbin.h:
2139         Prepare to make current EOS message queue more generic.
2140         Fix some typos.
2141
2142         * gst/gstevent.c: (gst_event_new_newsegment),
2143         (gst_event_parse_newsegment):
2144         * gst/gstevent.h:
2145         Rename base to stream_time.
2146
2147         * gst/gstmessage.h:
2148         Fix typo in docs.
2149
2150 2005-10-11  Wim Taymans  <wim@fluendo.com>
2151
2152         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2153         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2154         (gst_bin_change_state_func), (bin_bus_handler):
2155         * gst/gstbin.h:
2156         Work on proper clock selection.
2157
2158 2005-10-11  Edward Hervey  <edward@fluendo.com>
2159
2160         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
2161         * libs/gst/controller/gstcontroller.h:
2162         Added GList* version of _remove_properties() in order to be able to wrap
2163         it in bindings.
2164
2165 2005-10-11  Wim Taymans  <wim@fluendo.com>
2166
2167         * docs/design/part-states.txt:
2168         Some more docs.
2169
2170         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2171         (gst_bin_change_state_func), (bin_bus_handler):
2172         Doc updates. Don't distribute the same clock over and over again.
2173
2174         * gst/gstclock.c:
2175         * gst/gstclock.h:
2176         Doc updates.
2177
2178         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2179         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2180         (gst_pad_send_event):
2181         * gst/gstpad.h:
2182         Make probe emission threadsafe again.
2183         Register quarks and move _get_name() from utils.
2184         Doc updates.
2185
2186         * gst/gstpipeline.c: (gst_pipeline_class_init),
2187         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2188         Only redistribute the clock of it changed.
2189
2190         * gst/gstsystemclock.h:
2191         Doc updates. 
2192
2193         * gst/gstutils.c:
2194         * gst/gstutils.h:
2195         Moved the _flow_get_name() to GstPad.
2196
2197 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2198
2199         * check/gst-libs/gdp.c: (GST_START_TEST):
2200         * check/gst/gstcaps.c: (GST_START_TEST):
2201         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2202         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2203         (gst_dp_packet_from_caps):
2204           fix more valgrind warnings before turning up the heat
2205
2206 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2207
2208         * gst/parse/grammar.y:
2209           some cleanup before the hacking
2210
2211 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2212
2213         * gst/base/gstbasesrc.c: (gst_base_src_query):
2214           use conversions
2215         * gst/gstutils.c: (gst_guint64_to_gdouble),
2216         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2217         * gst/gstutils.h:
2218           externalize, basesrc uses it
2219           obviously the implementation needs testing
2220
2221 2005-10-10  Wim Taymans  <wim@fluendo.com>
2222
2223         * tests/sched/Makefile.am:
2224         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2225         (make_pipeline3), (make_pipeline4), (print_elem), (main):
2226
2227 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2228
2229         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2230           apparently converting from guint64 to double is not implemented
2231           on MSVC
2232
2233 2005-10-10  Wim Taymans  <wim@fluendo.com>
2234
2235         * check/Makefile.am:
2236         * check/generic/states.c: (GST_START_TEST):
2237         * check/gst/gstbin.c: (GST_START_TEST):
2238         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2239         * check/states/sinks.c: (GST_START_TEST):
2240         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2241         (main):
2242         Check fixes, use API as stated in design docs, remove hacks.
2243
2244         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2245         (gst_base_sink_change_state):
2246         Catch stopping our task while we're shutting down.
2247
2248         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2249         (gst_bin_remove_func), (gst_bin_get_state_func),
2250         (gst_bin_recalc_state), (gst_bin_change_state_func),
2251         (bin_bus_handler):
2252         * gst/gstbin.h:
2253         * gst/gstelement.c: (gst_element_init),
2254         (gst_element_get_state_func), (gst_element_abort_state),
2255         (gst_element_commit_state), (gst_element_lost_state),
2256         (gst_element_set_state), (gst_element_change_state),
2257         (gst_element_change_state_func):
2258         * gst/gstelement.h:
2259         New state change algorithm (see #318116)
2260
2261         * gst/gstpipeline.c: (gst_pipeline_class_init),
2262         (gst_pipeline_init), (gst_pipeline_set_property),
2263         (gst_pipeline_get_property), (do_pipeline_seek),
2264         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2265         * gst/gstpipeline.h:
2266         Remove crude state change hacks.
2267
2268         * gst/gstutils.h:
2269         Remove crude hacks.
2270
2271         * tools/gst-launch.c: (main):
2272         Fixes for state change. Needs some more work to fully use the
2273         new stuff.
2274
2275 2005-10-10  Andy Wingo  <wingo@pobox.com>
2276
2277         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2278
2279         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2280         this flag, but it's not even in GLib 2.6. Odd. Hack around the
2281         issue.
2282
2283 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2284
2285         * gst/gstiterator.c: (gst_iterator_new):
2286           Fix my previous commit: GTypes passed to gst_iterator_new()
2287           can be fundamental types.
2288
2289 2005-10-10  Wim Taymans  <wim@fluendo.com>
2290
2291         * gst/gstelement.c: (gst_element_iterate_pad_list),
2292         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2293         (gst_element_iterate_sink_pads):
2294         Use src/sink pads lists for the respective iterators instead
2295         of filtering.
2296
2297 2005-10-10  Andy Wingo  <wingo@pobox.com>
2298
2299         Merged in popt removal + GOption addition patch from Ronald, bug
2300         #169772.
2301
2302         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2303         GstElement macros around, remove popt-related symbols, add goption
2304         stuff.
2305
2306         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2307         
2308         * docs/gst/Makefile.am:
2309         * docs/libs/Makefile.am: No POPT_CFLAGS.
2310         
2311         * examples/manual/Makefile.am:
2312         * docs/manual/basics-init.xml: Doc updates with an example.
2313         
2314         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2315         (gst_init), (parse_one_option), (parse_goption_arg):
2316         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2317         bit of hand merging and debugging to get the GOption stuff working
2318         tho.
2319         
2320         * tests/Makefile.am:
2321         * tools/Makefile.am:
2322         * tools/gst-inspect.c: (main):
2323         * tools/gst-launch.c: (main):
2324         * tools/gst-run.c: (main):
2325         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2326
2327 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2328
2329         * gst/gstiterator.c: (gst_iterator_new):
2330           Add assertions to make sure passed GType is likely to really
2331           be a GType (as the compiler won't catch it if the size and
2332           GType arguments get mixed up, see #318447).
2333
2334 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
2335
2336         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2337
2338         * gst/gstbin.c: (gst_bin_iterate_sorted):
2339           Pass GType and size arguments to gst_iterator_new() in the right
2340           order (maybe we should make _new() take the GType as first argument
2341           just like _new_list()?) (#318447).
2342           
2343
2344 2005-10-10  Wim Taymans  <wim@fluendo.com>
2345
2346         * gst/gstelement.c: (gst_element_finalize):
2347         And free the GStaticRecMutex too
2348
2349 2005-10-10  Andy Wingo  <wingo@pobox.com>
2350
2351         * gst/gstelement.c (gst_element_init, gst_element_finalize):
2352         Allocate and free the mutex properly.
2353
2354         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2355         New macros.
2356         (GstElement): The state_lock is now recursive. Rebuild your
2357         plugins, suckers. Old macros adapted.
2358
2359         * docs/gst/gstreamer-sections.txt: Doc updates.
2360
2361         * gst/gstutils.h:
2362         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
2363         (g_static_rec_cond_wait): Ported from state changes patch, while
2364         we wait on bug #317802 to be solved in a well-distributed GLib.
2365
2366         * gst/gstelement.c (gst_element_change_state_func): Renamed from
2367         gst_element_change_state, variable name changes.
2368         (gst_element_change_state): Split out of gst_element_set_state in
2369         preparation for the state change merge. Doesn't pay attention to
2370         the 'transition' argument.
2371         (gst_element_set_state): Updates, hopefully purely cosmetic.
2372         (gst_element_sync_state_with_parent): MT-safety. Ported from the
2373         state change patch.
2374         (gst_element_get_state_func): Renamed from get_state, cosmetic
2375         changes.
2376
2377 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2378
2379         * gst/elements/gstelements.c:
2380         * win32/GStreamer.vcproj:
2381         * win32/config.h:
2382         * win32/dirent.c: (_tseekdir):
2383         * win32/gst-inspect.vcproj:
2384         * win32/gst-launch.vcproj:
2385         * win32/gstconfig.h:
2386         * win32/gstelements.vcproj:
2387         * win32/gstenumtypes.c: (gst_object_flags_get_type):
2388         * win32/gstreamer.def:
2389         * win32/msvc71.sln:
2390           updates for the win32 build (patch from Sebastien Moutte)
2391
2392 2005-10-10  Andy Wingo  <wingo@pobox.com>
2393
2394         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2395         gst_bin_get_state, cleaned up (but no logic changes).
2396         (bin_element_is_sink): Comment updates.
2397         (sink_iterator_filter): Remove needless cast.
2398         (gst_bin_iterate_sinks): Doc update.
2399         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2400         cleaned up (but no logic changes).
2401
2402         * check/states/sinks.c (test_src_sink): Cleanups from the state
2403         change patch.
2404         (test_livesrc_sink): Sync on the state.
2405
2406         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2407         the state change patch.
2408
2409         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2410         change patch.
2411
2412         * check/gst/gstbin.c: Merge in some style fixes and additional
2413         checks from Wim's state change patch.
2414
2415 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2416
2417         * gst/base/gsttypefindhelper.c: (helper_find_peek),
2418         (gst_type_find_helper):
2419           Check whether we have the requested data already in our list of
2420           cached buffers before pulling a new buffer; also make the buffer
2421           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2422
2423 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2424
2425         * gst/gstcaps.c:
2426         * gst/gstevent.c:
2427           doc updates
2428         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2429           don't use long long, it's not portable.  Replacing with
2430           gint64 seems to work; let's hope no skeletons fall out of the closet.
2431
2432 2005-10-10  Andy Wingo  <wingo@pobox.com>
2433
2434         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2435
2436 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
2437
2438         * docs/gst/gstreamer-sections.txt:
2439         * gst/gstevent.c:
2440         * gst/gstevent.h:
2441         * gst/gstinfo.c:
2442         * gst/gstinfo.h:
2443         * gst/gstmessage.c: (gst_message_parse_state_changed):
2444         * gst/gstpad.c:
2445         * gst/gstpad.h:
2446           more docs, fix compilation
2447
2448 2005-10-09  Philippe Khalaf <burger@speedy.org>
2449         * gst/gstmessage.c:
2450           Fixed a few forgotten variables on previous commit
2451
2452 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2453
2454         * gst/base/gsttypefindhelper.c: (helper_find_peek):
2455           Fix evil typefind crasher: getrange() might return a short
2456           buffer at the end of a file, but gst_type_find_peek() must
2457           either return the full data as requested or NULL, but
2458           never a short buffer.
2459
2460 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2461
2462         * gst/gstmessage.c: (gst_message_new_state_changed),
2463         (gst_message_parse_state_changed):
2464         * gst/gstmessage.h:
2465           don't use "new", it's a C++ keyword
2466
2467 2005-10-08  Wim Taymans  <wim@fluendo.com>
2468
2469         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2470         * gst/gstelement.c: (gst_element_post_message):
2471         * gst/gstpipeline.c: (gst_pipeline_change_state):
2472         Small docs and debug updates.
2473
2474 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
2475
2476         * docs/gst/gstreamer-sections.txt:
2477         * gst/gstelementfactory.c:
2478         * gst/gstevent.c:
2479         * gst/gsttaglist.c:
2480           more docs
2481
2482 2005-10-08  Wim Taymans  <wim@fluendo.com>
2483
2484         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2485         (gst_bin_dispose), (bin_bus_handler):
2486         Fix typos, add comments.
2487         Clear EOS list when going to PAUSED from any direction and do it
2488         in a threadsafe way.
2489         Get base time in a threadsafe way too.
2490         Fix confusing debug in the change_state function.
2491         Various other small cleanups.
2492         
2493         * gst/gstelement.c: (gst_element_post_message):
2494         Fix very verbose bus posting code.
2495
2496         * gst/gstpipeline.c: (gst_pipeline_class_init),
2497         (gst_pipeline_set_property), (gst_pipeline_get_property),
2498         (gst_pipeline_change_state):
2499         Small ARG_ -> PROP_ cleanup
2500
2501 2005-10-08  Wim Taymans  <wim@fluendo.com>
2502
2503         * gst/gstbin.c: (is_eos), (bin_bus_handler):
2504         Do a less CPU demanding EOS check because we can.
2505
2506 2005-10-08  Wim Taymans  <wim@fluendo.com>
2507
2508         * libs/gst/dataprotocol/dataprotocol.c:
2509         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2510         (gst_dp_packet_from_event):
2511         * libs/gst/dataprotocol/dataprotocol.h:
2512         * libs/gst/dataprotocol/dp-private.h:
2513         It's about time we bump the version number.
2514         Since event types don't fit in the guint8 anymore describing
2515         the payload type, make payload type 16 bits wide.
2516
2517 2005-10-08  Wim Taymans  <wim@fluendo.com>
2518
2519         * docs/design/part-TODO.txt:
2520         * docs/design/part-clocks.txt:
2521         * docs/design/part-events.txt:
2522         * docs/design/part-gstbin.txt:
2523         * docs/design/part-gstelement.txt:
2524         * docs/design/part-gstpipeline.txt:
2525         * docs/design/part-live-source.txt:
2526         * docs/design/part-messages.txt:
2527         * docs/design/part-overview.txt:
2528         * docs/design/part-states.txt:
2529         Many doc updates.
2530
2531 2005-10-08  Wim Taymans  <wim@fluendo.com>
2532
2533         * gst/gstevent.c:
2534         * gst/gstevent.h:
2535         Fix event quark registration.
2536         Add some space between events so we can insert them in the
2537         right groups.
2538
2539 2005-10-08  Wim Taymans  <wim@fluendo.com>
2540
2541         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2542         (gst_base_sink_handle_buffer):
2543         Better log message.
2544
2545         * gst/gstbus.h:
2546         * gst/gstelement.h:
2547         More docs.
2548
2549         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2550         (gst_queue_set_property), (gst_queue_get_property):
2551         * gst/gstqueue.h:
2552         Remove old unused properties.
2553
2554 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
2555         * docs/gst/gstreamer-sections.txt:
2556         * gst/gstmessage.c:
2557         * gst/gstmessage.h:
2558         * gst/gstminiobject.c:
2559         * gst/gstminiobject.h:
2560         * gst/gstobject.h:
2561         * gst/gstpad.h:
2562         * gst/gstutils.h:
2563           lots of new docs and doc fixes
2564
2565 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2566
2567         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2568         * gst/gstplugin.h:
2569         * gst/gstregistry.c: (gst_registry_lookup_locked),
2570         (gst_registry_scan_path_level):
2571         * gst/gstregistryxml.c: (load_plugin):
2572           Only ever load one plugin for a given plugin basename.
2573           This ensures correct overriding of GST_PLUGIN_PATH over
2574           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2575           system installed plugins.
2576
2577 2005-10-08  Wim Taymans  <wim@fluendo.com>
2578
2579         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2580         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2581         Prepare for doing QOS.
2582
2583 2005-10-08  Wim Taymans  <wim@fluendo.com>
2584
2585         * check/gst/gstbin.c: (GST_START_TEST):
2586         * check/pipelines/cleanup.c: (GST_START_TEST):
2587         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2588         Allow new clock message too.
2589
2590 2005-10-08  Wim Taymans  <wim@fluendo.com>
2591
2592         * gst/gstmessage.c: (gst_message_new_error),
2593         (gst_message_new_warning), (gst_message_new_tag),
2594         (gst_message_new_state_changed), (gst_message_new_clock_provide),
2595         (gst_message_new_clock_lost), (gst_message_new_new_clock),
2596         (gst_message_new_segment_start), (gst_message_new_segment_done),
2597         (gst_message_parse_state_changed),
2598         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2599         (gst_message_parse_new_clock):
2600         * gst/gstmessage.h:
2601         Also carry the clock in question.
2602
2603 2005-10-08  Wim Taymans  <wim@fluendo.com>
2604
2605         * gst/gstmessage.c: (gst_message_new_custom),
2606         (gst_message_new_eos), (gst_message_new_error),
2607         (gst_message_new_warning), (gst_message_new_tag),
2608         (gst_message_new_state_changed), (gst_message_new_clock_provide),
2609         (gst_message_new_new_clock), (gst_message_new_segment_start),
2610         (gst_message_new_segment_done), (gst_message_parse_state_changed),
2611         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2612         * gst/gstmessage.h:
2613         Clean up.
2614         Added clock related messages.
2615
2616         * gst/gstpipeline.c: (gst_pipeline_change_state):
2617         Post message when the clock changed.
2618
2619         * tools/gst-launch.c: (event_loop):
2620         Print new clock.
2621
2622 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2623
2624         * tools/gst-inspect.c: (print_element_properties_info):
2625           Can't pass NULL strings to g_print() on windows.
2626
2627 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2628
2629         * docs/Makefile.am:
2630         * docs/gst/Makefile.am:
2631         * docs/gst/gstreamer-docs.sgml:
2632         * docs/gst/running.xml:
2633         * docs/version.entities.in:
2634           add a chapter on running GStreamer.
2635           document GST_DEBUG and GST_PLUGIN* env vars
2636
2637 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2638
2639         * Makefile.am:
2640           remove include dir
2641         * configure.ac:
2642           remove PLUGINS_BUILDDIR stuff
2643         * gst/gst.c: (init_post):
2644           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2645         * idiottest.mak:
2646           remove, it was condescending and not needed
2647
2648 2005-10-08  Wim Taymans  <wim@fluendo.com>
2649
2650         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2651         (gst_base_sink_handle_object), (gst_base_sink_event),
2652         (gst_base_sink_wait), (gst_base_sink_handle_event),
2653         (gst_base_sink_change_state):
2654         * gst/base/gstbasesink.h:
2655         Repost EOS message while going to PLAYING if still EOS.
2656         Make sure that when receiving a FLUSH_START we don't attempt
2657         to sync on the clock anymore.
2658
2659 2005-10-08  Wim Taymans  <wim@fluendo.com>
2660
2661         * tools/gst-launch.c: (event_loop):
2662         Better message printout.
2663
2664 2005-10-08  Wim Taymans  <wim@fluendo.com>
2665
2666         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2667         (gst_bin_child_proxy_get_children_count):
2668         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2669         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2670         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2671         (gst_child_proxy_set_valist):
2672         * gst/parse/grammar.y:
2673         Make ChildProxy threadsafe and fix mem leaks.
2674
2675 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2676
2677         * gst/gst.c: (init_post):
2678           debug the GST_PLUGIN_ env vars
2679
2680 2005-10-08  Wim Taymans  <wim@fluendo.com>
2681
2682         * check/gst/gstbin.c: (GST_START_TEST):
2683         * check/gst/gstmessage.c: (GST_START_TEST):
2684         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2685         * gst/gstelement.c: (gst_element_commit_state),
2686         (gst_element_lost_state):
2687         * gst/gstmessage.c: (gst_message_new_state_changed),
2688         (gst_message_parse_state_changed):
2689         * gst/gstmessage.h:
2690         * tools/gst-launch.c: (event_loop):
2691         Added extra field to STATE_CHANGE message with the pending
2692         state, which will be different from the new state soon.
2693
2694 2005-10-08  Wim Taymans  <wim@fluendo.com>
2695
2696         * gst/gstbus.c: (gst_bus_pop):
2697         * gst/gstclock.c:
2698         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2699         Small cleanups and doc updates.
2700
2701 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2702
2703         * gst/gst.c: (init_pre):
2704         * gst/gstbin.c: (gst_bin_add_func):
2705           log distributing clocks and base time
2706         * gst/gstregistry.c: (gst_registry_add_plugin),
2707         (gst_registry_scan_path_level), (gst_registry_scan_path):
2708           clean up the debugging output a little
2709         * gst/gstutils.c: (gst_element_state_get_name):
2710           warn about a memleak (I've actually seen this be used, though
2711           it was probably a bug)
2712
2713 2005-10-07  Wim Taymans  <wim@fluendo.com>
2714
2715         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2716         (gst_base_src_init), (gst_base_src_default_newsegment),
2717         (gst_base_src_newsegment), (gst_base_src_do_seek),
2718         (gst_base_src_loop), (gst_base_src_start):
2719         * gst/base/gstbasesrc.h:
2720         Make the newsegment event customizable by subclasses.
2721
2722 2005-10-07  Wim Taymans  <wim@fluendo.com>
2723
2724         * gst/gstevent.c: (gst_event_new_buffersize),
2725         (gst_event_parse_buffersize):
2726         * gst/gstevent.h:
2727         New event for future idea.
2728
2729 2005-10-07  Andy Wingo  <wingo@pobox.com>
2730
2731         * gst/gstelement.c (gst_element_post_message): Doc update.
2732
2733         * docs/gst/gstreamer-sections.txt: Update.
2734
2735         * gst/gstmessage.c (gst_message_new_application): Made into a
2736         function like honest API calls.
2737         (gst_message_new_element): New message type.
2738
2739         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2740
2741         * check/elements/fakesrc.c (test_no_preroll): New check, checks
2742         that setting a live fakesrc to PAUSED returns NO_PREROLL both
2743         times.
2744
2745         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2746         NO_PREROLL from gst_element_change_state to fall through.
2747
2748 2005-10-07  Wim Taymans  <wim@fluendo.com>
2749
2750         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2751         (gst_ghost_pad_do_activate_push):
2752         Activating a ghostpad with no internal pad in push mode
2753         is ok.
2754
2755 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2756
2757         * gst/gstobject.h:
2758           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2759           Fixes compilation on Windows.
2760
2761 2005-10-07  Michael Smith <msmith@fluendo.com>
2762
2763         * tools/gst-inspect.c:
2764           Print out feature and plugin count at the end when printing out
2765           all features.
2766
2767 2005-10-04  Michael Smith <msmith@fluendo.com>
2768
2769         * gst/gsterror.c: (_gst_stream_errors_init):
2770           Add another error string used in a few existing plugins.
2771
2772         * gst/gstplugin.c:
2773         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2774         * tools/gst-inspect.c: (print_element_info):
2775           When a feature disappears from a plugin (and the feature exists in
2776           the cached registry file), things went horribly wrong. This isn't a
2777           complete fix, we should actually be removing the 'missing' features
2778           from the features list when we load the actual plugin. That's not
2779           yet implemented. 
2780
2781 2005-10-04  Johan Dahlin  <johan@gnome.org>
2782
2783         * check/gst/gstiterator.c: (GST_START_TEST):
2784         * gst/gstbin.c: (gst_bin_iterate_elements),
2785         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2786         * gst/gstelement.c: (gst_element_iterate_pads):
2787         * gst/gstformat.c: (gst_format_iterate_definitions):
2788         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2789         (gst_iterator_new_list), (gst_iterator_filter):
2790         * gst/gstiterator.h:
2791         * gst/gstquery.c: (gst_query_type_iterate_definitions):
2792         Add a GType to GstIterator, update callsites and tests.
2793
2794 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2795
2796         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2797           give events a chance to be handled by event probes when the pad
2798           is not linked
2799
2800 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2801
2802         * gst/gstevent.c: (gst_event_type_get_name),
2803         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2804         * gst/gstevent.h:
2805           add string representations for event types
2806
2807 2005-10-06  Wim Taymans  <wim@fluendo.com>
2808
2809         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2810         Don't use NULL pointers.
2811
2812 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2813
2814         * gst/gst_private.h:
2815         * gst/gstbus.c:
2816         * gst/gstelement.c:
2817         * gst/gstinfo.c:
2818         * gst/gstpluginfeature.c:
2819           widen the debug category in output to fit the biggest one we have
2820           add a bus category and use it
2821           play with the colors
2822           fix up some categories
2823
2824 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2825
2826         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2827           add push activation of sink ghost pads.
2828           Andye, please verify
2829
2830 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2831
2832         * gst/gstutils.c: (gst_element_link_pads):
2833           fix a bug in the case where neither element has a pad
2834         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2835           add a test for that case
2836
2837 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2838
2839         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2840           emit have-data before checking for peers.  This allows
2841           for probe handlers to connect elements.  This helps autopluggers.
2842         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2843         (gst_pad_suite):
2844           add six checks, linked/unlinked with no/true/false probe
2845
2846 2005-10-04  Wim Taymans  <wim@fluendo.com>
2847
2848         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2849         (gst_fake_sink_event), (gst_fake_sink_preroll),
2850         (gst_fake_sink_render), (gst_fake_sink_change_state):
2851         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2852         (gst_fake_src_get_property), (gst_fake_src_create),
2853         (gst_fake_src_stop):
2854         * gst/elements/gstidentity.c: (gst_identity_stop):
2855         Protect last_message with lock.
2856
2857 2005-10-04  Edward Hervey  <edward@fluendo.com>
2858
2859         * gst/gstformat.h: 
2860         Added precision in the comments for GST_FORMAT_DEFAULT
2861
2862 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
2863
2864         * tools/gst-launch.c: (main):
2865           Don't try to run erroneous pipelines.
2866
2867 2005-10-04  Julien MOUTTE  <julien@moutte.net>
2868
2869         * gst/gstbus.c: We don't need this header.
2870
2871 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2872
2873         * configure.ac:
2874           back to development
2875
2876 === release 0.9.3 ===
2877
2878 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2879
2880         * README:
2881         * configure.ac:
2882           Releasing 0.9.3, "Unregistered"
2883
2884 2005-10-03  Andy Wingo  <wingo@pobox.com>
2885
2886         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2887         whereby calling a pad's activatepush() function can start a thread
2888         that starts to push or pull before the pad gets the FLUSHING flag
2889         unset. Hack around it by holding the stream lock until the flag is
2890         set. Need to replace this with a proper solution. Together with
2891         the ghost pad fixes, this fixes mp3 playing/tagreading.
2892
2893         * docs/design/part-gstghostpad.txt: Add a note about activation of
2894         proxy pads outside of ghost pads.
2895
2896         * gst/gstghostpad.c: Implement the ghost pad activation design.
2897
2898 2005-10-02  Andy Wingo  <wingo@pobox.com>
2899
2900         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2901         It is volatile, after all.
2902
2903         * docs/design/part-gstghostpad.txt: Flesh out activation with
2904         ghost pads.
2905
2906         * gst/base/gstbasesrc.c (gst_base_src_init): Use
2907         GST_DEBUG_FUNCPTR.
2908
2909 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2910
2911         * configure.ac:
2912           Fix (unused) AM_CONDITIONAL tests.
2913
2914 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
2915
2916         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2917
2918         * gst/gstutils.c: (gst_pad_query_convert):
2919           Add assertion that makes sure src_val is >=0, just like
2920           gst_query_new_convert() has. (#315895)
2921
2922 2005-09-30  Edward Hervey  <edward@fluendo.com>
2923
2924         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2925         Let's not iterate pads we're not interested in, it avoids getting 
2926         sky-high refcounts on sinkpad.
2927
2928 2005-09-30  Wim Taymans  <wim@fluendo.com>
2929
2930         * gst/gstelement.c: (gst_element_set_state),
2931         (gst_element_change_state):
2932         Small tweak, element in ASYNC remains ASYNC.
2933
2934 2005-09-30  Wim Taymans  <wim@fluendo.com>
2935
2936         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2937         Only error is an error.
2938
2939         * gst/gstbin.c: (gst_bin_change_state):
2940         Better debugging.
2941
2942         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2943         Also call pad_block in pad alloc.
2944
2945         * gst/gstutils.c: (gst_flow_get_name):
2946         Better debugging.
2947
2948 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2949
2950         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2951         (gst_base_src_get_range):
2952           Fix documentation typos. Add some more debug info.
2953
2954 2005-09-29  David Schleef  <ds@schleef.org>
2955
2956         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2957           more end-user friendly.
2958         * tools/gst-inspect.c: (main): Check if command-line argument is
2959           a file and attempt to load that file as a plugin.
2960
2961 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2962
2963         * check/gst/gstbin.c:
2964         * check/states/sinks.c:
2965           fix tests for the new warning
2966         * check/gst/gstpipeline.c:
2967           add a test for pipeline and bus interaction
2968         * gst/gstelement.c:
2969           elements should be NULL if they get disposed; add a warning if not
2970
2971 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2972
2973         * gst/gstobject.c:
2974           for 2.6 refcounting, make debug log more correct by printing
2975           the actual refcounts at the time of swap (Wim)
2976
2977 2005-09-29  Andy Wingo  <wingo@pobox.com>
2978
2979         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2980         removes signal watches previously added via
2981         gst_bus_add_signal_watch.
2982         (gst_bus_add_signal_watch): Don't return the source id, just store
2983         it on the bus if there wasn't an id already.
2984
2985         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2986         add_signal_watch and remove_signal_watch.
2987
2988 2005-09-29  Edward Hervey  <edward@fluendo.com>
2989
2990         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
2991         Better if we actually iterate the list :)
2992
2993 2005-09-29  Wim Taymans  <wim@fluendo.com>
2994
2995         * check/gst/gstbin.c: (GST_START_TEST):
2996         Change for new bus API.
2997
2998         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2999         (send_messages), (GST_START_TEST), (gstbus_suite):
3000         Change for new bus signal API.
3001
3002         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3003         (gst_bus_source_prepare), (gst_bus_source_check),
3004         (gst_bus_create_watch), (gst_bus_add_watch_full),
3005         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3006         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3007         * gst/gstbus.h:
3008         Remove support for multiple GSources operating on different
3009         message types as it is too complex and unneeded when using
3010         signals.
3011         Added support for receiving signals from the bus.
3012
3013 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3014
3015         * docs/libs/tmpl/gstdataprotocol.sgml:
3016         * docs/manual/advanced-dataaccess.xml:
3017         * gst/elements/gstcapsfilter.c:
3018         * gst/gstutils.c:
3019           rename filter-caps to caps property
3020
3021 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3022
3023         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3024           More robust fraction string parsing.
3025
3026         * docs/pwg/appendix-porting.xml:
3027           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3028
3029 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3030
3031         * gst/gstcaps.c: (gst_caps_do_simplify):
3032           Thou shalt not free a structure and then continue using it
3033           in the next loop iteration.
3034
3035         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3036         (gst_caps_suite):
3037           Add test case for caps simplification.
3038
3039 2005-09-29  Wim Taymans  <wim@fluendo.com>
3040
3041         * check/gst/gstbin.c: (GST_START_TEST):
3042         Oops.
3043
3044 2005-09-29  Wim Taymans  <wim@fluendo.com>
3045
3046         * check/gst/gstbin.c: (GST_START_TEST):
3047         Add bus to bin.
3048
3049         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3050         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3051         (find_element), (gst_bin_sort_iterator_next),
3052         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3053         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3054         (gst_bin_change_state), (gst_bin_dispose):
3055         A bin does not have a bus, it gets the bus from the parent.
3056
3057         * gst/gstelement.c: (gst_element_requires_clock),
3058         (gst_element_provides_clock), (gst_element_is_indexable),
3059         (gst_element_is_locked_state), (gst_element_change_state),
3060         (gst_element_set_bus_func):
3061         Small cleanups.
3062
3063         * gst/gstpipeline.c: (gst_pipeline_class_init),
3064         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3065         The pipeline provides a bus.
3066
3067 2005-09-28  Johan Dahlin  <johan@gnome.org>
3068
3069         * gst/gstmessage.c (gst_message_parse_state_changed): Use
3070         gst_structure_get_enum instead of gst_structure_get_int
3071
3072         * gst/gststructure.c (gst_structure_get_enum): Impl.
3073
3074         * gst/gststructure.h (gst_structure_get_enum): Add
3075
3076         * docs/gst/gstreamer-sections.txt: Ditto
3077
3078         * gst/gstmessage.c (gst_message_new_state_changed): Use
3079         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3080         which does introspection.
3081         Reviewed by Christian Schaller
3082
3083 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
3084
3085         * gst/gstinfo.c: (gst_debug_log_default):
3086           don't do dummy g_strdup()s
3087         * libs/gst/controller/gstcontroller.c:
3088         (on_object_controlled_property_changed),
3089         (gst_controlled_property_new), (gst_controller_new_valist),
3090         (gst_controller_new_list),
3091         (gst_controller_remove_properties_valist), (gst_controller_set),
3092         (gst_controller_get), (gst_controller_sync_values),
3093         (gst_controller_get_value_array), (_gst_controller_class_init),
3094         (gst_controller_get_type):
3095         * libs/gst/controller/gstcontroller.h:
3096         * libs/gst/controller/gstinterpolation.c:
3097         (gst_controlled_property_find_timed_value_node):
3098           convert // to /**/ comments
3099
3100 2005-09-28  Wim Taymans  <wim@fluendo.com>
3101
3102         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3103         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3104         (gst_bus_sync_signal_handler):
3105         * gst/gstbus.h:
3106         Added async-message and sync-message signals to the bus.
3107         Added helper BusFunc to emit signals for all posted messages.
3108
3109         * gst/gstmessage.c: (gst_message_type_get_name),
3110         (gst_message_type_to_quark), (gst_message_get_type):
3111         * gst/gstmessage.h:
3112         Register quarks for message names.
3113
3114 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
3115
3116         * docs/libs/gstreamer-libs-sections.txt:
3117         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3118         (gst_controller_new_list):
3119         * libs/gst/controller/gstcontroller.h:
3120           added another constructor for language bindings
3121
3122 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3123
3124         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3125           add another check
3126         * gst/gstbus.c:
3127           add some doc
3128         * gst/gstinfo.c: (_gst_debug_init):
3129           slightly more readable color for refcount debugging
3130
3131 2005-09-28  Wim Taymans  <wim@fluendo.com>
3132
3133         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3134         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3135         (find_element), (gst_bin_sort_iterator_next),
3136         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3137         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3138         (gst_bin_change_state), (gst_bin_dispose):
3139         Small doc fixes. get_clock -> provide_clock.
3140
3141         * gst/gstelement.c: (gst_element_class_init),
3142         (gst_element_provides_clock), (gst_element_provide_clock),
3143         (gst_element_get_clock), (gst_element_commit_state),
3144         (gst_element_lost_state):
3145         * gst/gstelement.h:
3146         Make get/set_clock() symetric. Add provide_clock vmethod since
3147         that is actually what this function does.
3148
3149         * gst/gstpipeline.c: (gst_pipeline_class_init),
3150         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3151         (gst_pipeline_get_clock):
3152         get_clock -> provide_clock.
3153
3154 2005-09-28  Andy Wingo  <wingo@pobox.com>
3155
3156         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3157         lieu of real docs...
3158
3159         * gst/elements/gstfdsrc.c: Cleaned up a bit.
3160
3161 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
3162
3163         * gst/elements/gstcapsfilter.c:
3164         * gst/elements/gstfakesink.c:
3165         * gst/elements/gstfakesrc.c:
3166         * gst/elements/gstfdsink.c:
3167         * gst/elements/gstfdsrc.c:
3168         * gst/elements/gstfilesink.c:
3169         * gst/elements/gstfilesrc.c:
3170         * gst/elements/gstidentity.c:
3171         * gst/elements/gsttee.c:
3172         * gst/elements/gsttypefindelement.c:
3173           Make element details static.
3174
3175 2005-09-28  Wim Taymans  <wim@fluendo.com>
3176
3177         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3178         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3179         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3180         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3181         (gst_bin_change_state), (gst_bin_dispose):
3182         Some documentation updates.
3183         Clean up dispose handlers.
3184
3185         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3186         * gst/gstpad.c: (gst_pad_dispose):
3187         Clean up dispose handler.
3188
3189         * gst/gstpipeline.c: (gst_pipeline_change_state):
3190         Removed spurious UNLOCK.
3191
3192 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
3193
3194         * docs/gst/gstreamer-sections.txt:
3195         * gst/base/gstbasesrc.h:
3196         * gst/gstelement.h:
3197         * gst/gstevent.h:
3198         * gst/gstobject.h:
3199         * gst/gstpad.h:
3200         * gst/gstpipeline.c:
3201         * gst/gstpipeline.h:
3202         * gst/gstutils.h:
3203         * gst/gstxml.h:
3204           added two new functions to the docs
3205                 documents all undocumented GstXXXFlags
3206                 completed some incomplete docs 
3207
3208 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
3209
3210         * gst/gstbin.c: (gst_bin_dispose):
3211         * gst/gstelement.c: (gst_element_dispose):
3212           remove now useless and leaky resurrection code in dispose
3213         * gst/base/gstbasesrc.c: (gst_base_src_init):
3214         * gst/gstelementfactory.c: (gst_element_factory_create):
3215         * gst/gstobject.c: (gst_object_set_parent):
3216           add some debugging
3217
3218 2005-09-27  Wim Taymans  <wim@fluendo.com>
3219
3220         * docs/design/part-TODO.txt:
3221         Update TODO.
3222
3223         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3224         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3225         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3226         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3227         (gst_bin_change_state):
3228         * gst/gstelement.h:
3229         Remove element variable, we keep element info in the iterator now.
3230
3231 2005-09-27  Andy Wingo  <wingo@pobox.com>
3232
3233         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3234         values.
3235
3236 2005-09-27  Wim Taymans  <wim@fluendo.com>
3237
3238         * check/gst/gstbin.c: (GST_START_TEST):
3239         Enable check that works now.
3240
3241         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3242         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3243         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3244         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3245         (gst_bin_change_state):
3246         * gst/gstbin.h:
3247         Redid the state change algorithm using a topological sort algo.
3248         Handles all cases correctly.
3249         Exposed iterator for state change order.
3250
3251         * gst/gstelement.h:
3252         Temp storage for state changes. Need to get rid of this soon.
3253
3254 2005-09-27  Wim Taymans  <wim@fluendo.com>
3255
3256         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3257         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3258         (link_fold_func), (gst_pad_proxy_setcaps):
3259         Leak fixes, the fold functions need to unref the passed object and
3260         _get_parent_*() returns ref to parent.
3261
3262 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3263
3264         * check/gst/gstbuffer.c: (test_make_writable):
3265           Plug leak in test case and fix 'make check-valgrind'
3266
3267 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3268
3269         * gst/gstbuffer.c: (gst_subbuffer_init):
3270           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3271           works correctly in all circumstances (we could have just copied
3272           the parent buffer's readonly flag, but conceptually it seems
3273           cleaner to mark all subbuffers as read-only). (based on patch
3274           by Alessandro Decina, #314710).
3275         
3276         * check/gst/gstbuffer.c: (create_read_only_buffer),
3277         (test_make_writable), (test_subbuffer_make_writable),
3278         (gst_test_suite):
3279           Add some tests for gst_buffer_make_writable().
3280
3281 2005-09-27  Wim Taymans  <wim@fluendo.com>
3282
3283         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3284         use gst_object_has_ancestor().
3285
3286         * gst/gstobject.c: (gst_object_has_ancestor):
3287         * gst/gstobject.h:
3288         gst_object_has_ancestor() copied from gstbin.c as it is a
3289         usefull function.
3290
3291         * tests/instantiate/create.c: (create_all_elements):
3292         * tests/lat.c: (handoff_src), (handoff_sink):
3293         * tests/sched/runxml.c: (main):
3294         * tests/seeking/seeking1.c: (main):
3295         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3296         (main):
3297         Fix compilation of some tests.
3298
3299 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3300
3301         * gst/gsterror.h:
3302           Remove comment. GST_TYPE_G_ERROR is here to stay,
3303           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3304           (#316961, #300610).
3305
3306 2005-09-26  Wim Taymans  <wim@fluendo.com>
3307
3308         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3309         Added check that shows error in state change order.
3310
3311 2005-09-26  Wim Taymans  <wim@fluendo.com>
3312
3313         * gst/gstbin.c: (gst_bin_change_state):
3314         Make state change function use 3 queues again, we were
3315         adding elements in the wrong order.
3316
3317         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3318         Some debug info,
3319
3320         * gst/gstpad.c: (gst_pad_dispose):
3321         Added some debug info first.
3322
3323 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
3324
3325         * docs/design/draft-push-pull.txt:
3326         * docs/design/part-events.txt:
3327         * docs/design/part-overview.txt:
3328         * docs/design/part-scheduling.txt:
3329           Replace all _pull_region() with _pull_range()
3330           
3331 2005-09-26  Andy Wingo  <wingo@pobox.com>
3332
3333         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3334
3335         * check/gst-libs/controller.c: Update for controller api change.
3336
3337         * configure.ac: 
3338         * tests/Makefile.am:
3339         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3340         over by GLib bug 118439.
3341         
3342         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3343         routines to a function.
3344
3345         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3346
3347         * libs/gst/controller/gsthelper.c:
3348         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3349         (gst_object_sync_values): Renamed from sink_values. Ugh.
3350
3351         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3352
3353         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3354         Renamed from controller_key, as it is exported.
3355
3356         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3357
3358 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
3359
3360         * gst/Makefile.am:
3361         * gst/gst.h:
3362         * gst/gstpad.h:
3363         * gst/gstpadtemplate.h:
3364         * gst/gstquery.c:
3365         * gst/gstquery.h:
3366         * gst/gstqueryutils.c:
3367         * gst/gstqueryutils.h:
3368           remove queryutils headers after moving the two used functions
3369           to gstquery.  also fixes build problem for gstsiddec
3370
3371 2005-09-26  Michael Smith <msmith@fluendo.com>
3372
3373         * tools/gst-launch.1.in:
3374         Correct documentation in manpage of debug syntax
3375
3376 2005-09-26  Wim Taymans  <wim@fluendo.com>
3377
3378         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3379         (gst_base_src_is_seekable), (gst_base_src_change_state):
3380         Some more debugging info.
3381
3382 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
3383
3384         * docs/gst/gstreamer-sections.txt:
3385         * gst/base/gstbasetransform.h:
3386         * gst/gstindex.h:
3387           added more docs
3388
3389 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
3390
3391         * docs/gst/.cvsignore:
3392         * docs/gst/tmpl/.cvsignore:
3393         * docs/gst/tmpl/gstpipeline.sgml:
3394         * docs/gst/tmpl/gstplugin.sgml:
3395         * gst/gstpipeline.c:
3396         * gst/gstplugin.c:
3397         * gst/gstplugin.h:
3398           inlined the last two docs files
3399           removed the tmpl directory from cvs (no more conflicts here!)
3400
3401 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
3402
3403         * docs/gst/gstreamer-sections.txt:
3404         * docs/gst/tmpl/.cvsignore:
3405         * docs/gst/tmpl/gstpad.sgml:
3406         * docs/gst/tmpl/gstpadtemplate.sgml:
3407         * gst/Makefile.am:
3408         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3409         (gst_pad_finalize), (gst_pad_set_pad_template):
3410         * gst/gstpad.h:
3411         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3412         (gst_pad_template_class_init), (gst_pad_template_init),
3413         (gst_pad_template_dispose), (name_is_valid),
3414         (gst_static_pad_template_get), (gst_pad_template_new),
3415         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3416         (gst_pad_template_pad_created):
3417         * gst/gstpadtemplate.h:
3418           inlined two more docs
3419           factored gstpadtemplate out of gstpad
3420
3421 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
3422
3423         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3424         (test_children_state_change_order_semi_sink):
3425           Fix test case: we can't rely on a fixed state change order when
3426           going from READY => PAUSED because the sink might commit its 
3427           new state first when the first buffer created by the source 
3428           reaches the sink before the source has finished its change state.
3429           (Test case still fails at times, see #316856, comment 5 onwards)
3430
3431 2005-09-24  Wim Taymans  <wim@fluendo.com>
3432
3433         * docs/design/part-events.txt:
3434         * docs/design/part-gstbus.txt:
3435         * docs/design/part-gstpipeline.txt:
3436         * docs/design/part-messages.txt:
3437         * docs/design/part-overview.txt:
3438         * docs/design/part-segments.txt:
3439         * gst/gstbin.c:
3440         * gst/gstbuffer.c:
3441         * gst/gstclock.c:
3442         * gst/gstelement.c:
3443         * gst/gstevent.c:
3444         * gst/gstfilter.c:
3445         * gst/gstiterator.c:
3446         Various documentation updates.
3447
3448 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3449
3450         * gst/gstclock.h:
3451           Well, that's embarassing.  Luckily we weren't using
3452           GST_CLOCK_DIFF anywhere.
3453
3454 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3455
3456         * common/gtk-doc.mak:
3457           don't fail on building XML, FC4 slave shows a bunch of doc
3458           missing bits that I don't get
3459         * gst/gstpad.c:
3460         * gst/gstpipeline.c:
3461         * gst/gststructure.c:
3462           some doc updates
3463
3464 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3465
3466         * docs/design/part-gstbin.txt:
3467         * docs/design/part-gstbus.txt:
3468         * gst/gstbus.c:
3469           Add blurb about how the bus goes into flushing mode and
3470           drops all messages when its bin goes from READY into NULL 
3471           state.
3472
3473 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3474
3475         * docs/gst/gstreamer-sections.txt:
3476         * gst/gststructure.c: (gst_structure_get_clock_time):
3477         * gst/gststructure.h:
3478           add a method to get a GstClockTime out of a structure
3479
3480 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3481
3482         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3483         (test_children_state_change_order_semi_sink), (gst_bin_suite):
3484           Added test to check state change order in bins (can still be made
3485           to fail here under heavy disk load; bails out with 'Push on pad
3486           fakesink:sink0, but it was not activated in push mode').
3487
3488         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3489           Fix state change order when there is only a semi sink (#316856)
3490
3491         * gst/gstbus.c: (gst_bus_class_init):
3492           Use _class_peek_parent(), not _class_ref(); fix docs to say
3493           'default main context' instead of 'mainloop' where that is
3494           what's meant.
3495
3496         * gst/gstelement.c: (gst_element_commit_state),
3497         (gst_element_set_state):
3498           Fix typos in debug messages
3499
3500 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3501
3502         * docs/README:
3503         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3504         * gst/gstpluginfeature.c:
3505         * gst/gstutils.c:
3506           various doc updates
3507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3508           change an assert into an error until it gets fixed properly
3509
3510 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
3511
3512         * docs/gst/gstreamer-sections.txt:
3513         * docs/gst/tmpl/.cvsignore:
3514         * docs/gst/tmpl/gstelement.sgml:
3515         * docs/gst/tmpl/gstinfo.sgml:
3516         * docs/gst/tmpl/gstobject.sgml:
3517         * gst/gstelement.c:
3518         * gst/gstelement.h:
3519         * gst/gstinfo.c:
3520         * gst/gstinfo.h:
3521         * gst/gstobject.c: (gst_object_class_init):
3522         * gst/gstobject.h:
3523           inlined 3 more biiiig doc files and added some missing docs on the fly
3524
3525 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3526
3527         * check/gst/.cvsignore:
3528         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3529         * gst/gstregistryxml.c: (load_plugin),
3530         (gst_registry_xml_save_plugin):
3531           put back source in registry.  add checks for find_plugin.
3532         * testsuite/states/bin.c: (assert_state), (empty_bin),
3533         (test_adding_one_element), (main):
3534         * testsuite/states/locked.c: (main):
3535           some compile/run fixes
3536
3537 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3538
3539         * check/gst/gstvalue.c: (GST_START_TEST):
3540           fix leaks in the test itself
3541
3542 2005-09-22  Wim Taymans  <wim@fluendo.com>
3543
3544         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3545         (gst_base_sink_send_event), (gst_base_sink_peer_query),
3546         (gst_base_sink_query):
3547         Prepare for more accurate position reporting and query
3548         handling.
3549
3550         * gst/gstelement.c: (gst_element_send_event),
3551         (gst_element_set_state):
3552         Add some comment.
3553
3554 2005-09-22  Wim Taymans  <wim@fluendo.com>
3555
3556         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3557         (gst_query_parse_segment):
3558         * gst/gstquery.h:
3559         More documentation.
3560         Add segment query for future use.
3561
3562 2005-09-22  Wim Taymans  <wim@fluendo.com>
3563
3564         * gst/gstbin.c: (gst_bin_add_func):
3565         Some more debug info.
3566
3567         * gst/gstelement.c: (gst_element_send_event):
3568         Simplify send_event
3569
3570         * gst/gstelement.h:
3571         Don't know how flags got broken.
3572
3573         * gst/gstquery.h:
3574         Added new query.
3575
3576 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3577
3578         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3579           Add simplistic test suite for GST_TYPE_DATE serialisation and
3580           deserialisation.
3581
3582 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3583
3584         * docs/gst/gstreamer-sections.txt:
3585         * gst/gststructure.c: (gst_structure_set_valist),
3586         (gst_structure_get_date):
3587         * gst/gststructure.h:
3588         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3589         (gst_date_copy), (gst_value_compare_date),
3590         (gst_value_serialize_date), (gst_value_deserialize_date),
3591         (gst_value_transform_date_string),
3592         (gst_value_transform_string_date), (_gst_value_initialize):
3593         * gst/gstvalue.h:
3594           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3595           bunch of utility functions along with a hack that checks that
3596           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3597           is required. Part of the grand scheme in #170777.
3598
3599 2005-09-22  Andy Wingo  <wingo@pobox.com>
3600
3601         * gst/gstconfig.h.in: Psych out gtk-doc.
3602
3603         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3604
3605         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3606
3607         * tools/gst-inspect.c (print_element_list): Plug some
3608         inconsequential leaks.
3609
3610         * gst/gstregistry.c (gst_registry_get_default): Doc.
3611
3612         * check/gst/gstplugin.c: 
3613         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3614         * gst/gstelementfactory.c (gst_element_factory_create): 
3615         * gst/gstindexfactory.c (gst_index_factory_create): Update for
3616         refcount changes.
3617
3618         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3619         (gst_plugin_feature_load): Doc, don't eat refs.
3620
3621         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3622         (gst_plugin_list_free): Doc.
3623         (gst_plugin_load_file): Doc updates.
3624
3625         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3626         accessors returning refcounted objects, return a ref.
3627
3628         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3629         accessor for caps. IDEMPOTENCE. Oh yes.
3630
3631 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
3632
3633         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3636         (_gst_debug_register_funcptr):
3637           Add mutex to serialise access to the hash table with
3638           the function pointer => function name string mapping;
3639           make that hash table static scope (#316809).
3640
3641         * gst/registries/.cvsignore:
3642           Remove left-over file.
3643
3644 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         * docs/pwg/appendix-porting.xml:
3647           And something about newsegment events and caps-on-buffers to
3648           the porting guide (feel free to improve).
3649
3650 2005-09-21  Andy Wingo  <wingo@pobox.com>
3651
3652         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3653         data and event probes on the same pad.
3654         (test_buffer_probe_once): Test that removing probes from within
3655         the probe functions works.
3656
3657 2005-09-21  Andy Wingo  <wingo@pobox.com>
3658
3659         * check/gst/gstutils.c: New file.
3660         (test_buffer_probe_n_times): A simple buffer probe test. More to
3661         come, foolios.
3662
3663         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3664         have-data::buffer, not have-data.
3665         (gst_pad_add_event_probe): Likewise for have-data::event.
3666         (gst_pad_add_data_probe): More docs. The part about 'resolving the
3667         peer' isn't quite right yet though.
3668         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
3669         (gst_pad_remove_data_probe): Change to take the guint handler_id
3670         as their arg, not the function+data, which is more glib-like.
3671
3672         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3673         the signal emission to indicate if the data is a buffer or an
3674         event.
3675         (gst_pad_get_type): Initialize buffer and event quarks.
3676         (gst_pad_class_init): have-data is now a detailed signal, yes it
3677         is.
3678
3679 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
3680
3681         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3682         * gst/gstutils.c: (gst_util_set_value_from_string),
3683         (gst_util_set_object_arg):
3684           Don't put functional code in g_return_if_fail() or
3685           g_return_val_if_fail() statements, otherwise things will 
3686           break when G_DISABLE_CHECKS is defined during compilation.
3687
3688 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3689
3690         * docs/gst/tmpl/.cvsignore:
3691         * docs/gst/tmpl/gstvalue.sgml:
3692         * gst/gstvalue.c:
3693         * gst/gstvalue.h:
3694           inlied another one and added  some obvious docs
3695
3696 2005-09-21  Wim Taymans  <wim@fluendo.com>
3697
3698         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3699         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3700         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3701         (gst_fdsrc_get_property), (gst_fdsrc_create):
3702         * gst/elements/gstfdsrc.h:
3703         Properly implement fdsrc. Removed signal and timeout,
3704         better implemented somewhere else.
3705
3706 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3707
3708         * docs/gst/tmpl/.cvsignore:
3709         * docs/gst/tmpl/gstimplementsinterface.sgml:
3710         * gst/gstinterface.c:
3711           inlined more docs
3712
3713 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3714
3715         * docs/gst/gstreamer-sections.txt:
3716         * docs/gst/tmpl/.cvsignore:
3717         * docs/gst/tmpl/gstenumtypes.sgml:
3718           remove obsolete doc file
3719
3720 2005-09-21  David Schleef  <ds@schleef.org>
3721
3722         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3723         little beer, fix a little leak.
3724
3725 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3726
3727         * docs/gst/gstreamer-docs.sgml:
3728         * docs/gst/gstreamer-sections.txt:
3729         * docs/gst/tmpl/.cvsignore:
3730         * gst/Makefile.am:
3731         * gst/gst.h:
3732         * gst/gstbin.c:
3733         * gst/gstelement.h:
3734         * gst/gstindex.c: (gst_index_class_init):
3735         * gst/gstindex.h:
3736         * gst/gstindexfactory.c: (gst_index_factory_get_type),
3737         (gst_index_factory_class_init), (gst_index_factory_init),
3738         (gst_index_factory_finalize), (gst_index_factory_new),
3739         (gst_index_factory_destroy), (gst_index_factory_find),
3740         (gst_index_factory_create), (gst_index_factory_make):
3741         * gst/gstindexfactory.h:
3742         * gst/gstpluginfeature.c:
3743         * gst/gstpluginfeature.h:
3744         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3745           more docs inlined, splitted gstindex.{c,h}
3746
3747 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3748
3749         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3750           fix a leak
3751
3752 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3755           Set sync to FALSE by default.
3756
3757 2005-09-20  Wim Taymans  <wim@fluendo.com>
3758
3759         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3760         (gst_base_sink_init):
3761         Make sync property settable from subclass.
3762
3763         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3764         (gst_fake_sink_change_state):
3765         Set sync to FALSE by default.
3766
3767 2005-09-20  Wim Taymans  <wim@fluendo.com>
3768
3769         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3770         * tools/gst-launch.c: (main):
3771         The timeout handler should have lower priority than the source
3772         so we don't timeout before popping a message with 0 timeout.
3773         Dump error messages after failed state change.
3774
3775 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
3776
3777         * tools/gst-inspect.c: (print_element_properties_info):
3778           Fix two typos.
3779
3780 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3781
3782         * check/gst/gstevent.c:
3783         * gst/elements/gstfakesink.c:
3784         * gst/elements/gstfakesink.h:
3785           remove the sync property from fakesink.
3786           has the side effect of setting sync TRUE
3787           for fakesink, which is a change.  Anyone who knows how
3788           to fix this nicely in a GObject-y way, feel free.
3789
3790 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3791
3792         * docs/gst/gstreamer-docs.sgml:
3793           remove probe refsection
3794
3795 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3796
3797         * check/Makefile.am:
3798           disable valgrinding the controller test again
3799         * docs/gst/gstreamer-sections.txt:
3800           update for api-changes
3801
3802 2005-09-20  Wim Taymans  <wim@fluendo.com>
3803
3804         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3805         (gst_base_sink_set_property), (gst_base_sink_get_property),
3806         (gst_base_sink_do_sync):
3807         * gst/base/gstbasesink.h:
3808         Added sync property to basesink to disable clock sync.
3809
3810 2005-09-20  Andy Wingo  <wingo@pobox.com>
3811
3812         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3813         eating the caller's refcount.
3814
3815         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
3816         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3817         refcount.
3818
3819         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3820         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3821         of GLib 2.8 public, so we can know which refcount to check in
3822         tests.
3823
3824         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3825         (gst_object_init): Only set the gst refcount if we're going ahead
3826         with the refcount hack.
3827
3828 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3829
3830         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3831         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3832           more leaks plumbed, added more debug-logging
3833         * gst/gstmacros.h:
3834           whitespace fix
3835
3836 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3837
3838         * gst/gstmessage.c:
3839           remove include of gstmemchunk.h
3840
3841 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3842
3843         * gst/gstclock.c: (_gst_clock_id_free):
3844           Commit from the Political Party For More Atomic CVS Commits,
3845           so that people don't waste too much of their day fishing
3846           out obvious leaks out of massive commits.
3847           Oh, and fix a pretty damn obvious leak in the memchunk
3848           removal code.
3849
3850 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * check/Makefile.am:
3853         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3854           plug mem-leak, re-add to valgrindable tests
3855
3856 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3857
3858         * gst/gstplugin.h:
3859           unbreak the build for those who have chronic arthritis
3860           and typing "make check" is just too taxing on the hands
3861
3862 2005-09-20  Andy Wingo  <wingo@pobox.com>
3863
3864         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3865         really want it out, you should fix plugins at the same time.
3866
3867 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
3868
3869         * configure.ac:
3870         * docs/gst/gstreamer-sections.txt:
3871         * gst/gstobject.c:
3872           added missing symbols to api docs
3873           disable ref-count hack if we have glib >= 2.8
3874
3875 2005-09-19  David Schleef  <ds@schleef.org>
3876
3877         * docs/gst/Makefile.am: Ignore a few more internal headers
3878         * docs/gst/gstreamer-docs.sgml: Remove old sections
3879         * docs/gst/gstreamer-sections.txt: Remove old sections
3880         * docs/gst/tmpl/gstobject.sgml: update
3881         * docs/gst/tmpl/gstplugin.sgml: update
3882         * docs/gst/tmpl/gstpluginfeature.sgml: update
3883         * docs/random/ds/0.9-suggested-changes: update.
3884         * gst/Makefile.am: remove memchunk and trashstack, since they're
3885           not used.
3886         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3887         * gst/gst.h: don't include some headers
3888         * gst/gstchildproxy.c: add gstmarshal.h
3889         * gst/gstclock.c: Don't use memchunks
3890         * gst/gstminiobject.c: Add some docs
3891         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3892         * gst/gstobject.h: same
3893         * gst/gstplugin.c: include gstmacros.h
3894         * gst/gstplugin.h: don't include gstmacros.h, since it's private
3895         * gst/gstquery.c: don't use memchunks
3896         * gst/gstregistry.c: rename gst_registry_deinit()
3897         * gst/gstregistry.h: same
3898
3899 2005-09-19  David Schleef  <ds@schleef.org>
3900
3901         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3902         * docs/libs/gstreamer-libs-sections.txt:
3903         * docs/libs/tmpl/gstgetbits.sgml:
3904         * docs/libs/tmpl/gstputbits.sgml:
3905
3906 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
3907
3908         * win32/gstenumtypes.c:
3909         * win32/gstenumtypes.h:
3910           Update.
3911
3912 2005-09-19  Wim Taymans  <wim@fluendo.com>
3913
3914         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3915         Automatically PAUSE and RESUME a pipeline when a flushing seek
3916         is performed.
3917
3918 2005-09-19  Andy Wingo  <wingo@pobox.com>
3919
3920         * gst/gstregistry.h: Spacing fixen.
3921
3922 2005-09-19  Wim Taymans  <wim@fluendo.com>
3923
3924         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3925         Handle state change failure more correctly.
3926
3927 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3928
3929         * check/Makefile.am:
3930         * check/pipelines/cleanup.c: (run_pipeline):
3931         * check/pipelines/simple_launch_lines.c: (run_pipeline),
3932         (GST_START_TEST):
3933           enable cleanup again after fixing the leak
3934         * docs/README:
3935           some more info on docs
3936
3937 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3938
3939         * check/Makefile.am:
3940           re-enable tests now that leaks are plugged
3941         * check/gst/gst.c:
3942         * check/gst/gstbin.c:
3943         * check/gst/gstpipeline.c:
3944           add some more tests while fixing leaks
3945         * common/check.mak:
3946           make sure binaries are uptodate when valgrinding/gdbing
3947         * gst/gst.c:
3948         * gst/gstelementfactory.c:
3949           remove a ref too many, and add a FIXME for when we get
3950           round to disposing of classes
3951         * gst/gstplugin.c:
3952           fix the refcounting when loading a plugin from a file and
3953           the code pretends that the pointer is the same even though
3954           of course it can change
3955         * gst/gstpluginfeature.c:
3956           unref plugins marked cached (a bit confusing as a name)
3957           as the docs state should be done
3958           various doc additions to explain refcounting
3959         * gst/gstregistry.c:
3960         * gst/gstregistryxml.c:
3961           debugging
3962
3963 2005-09-19  Wim Taymans  <wim@fluendo.com>
3964
3965         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3966         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3967         (send_messages), (GST_START_TEST), (gstbus_suite):
3968         * check/gst/gstpipeline.c: (GST_START_TEST):
3969         * check/pipelines/cleanup.c: (run_pipeline):
3970         * check/pipelines/simple_launch_lines.c: (run_pipeline),
3971         (GST_START_TEST):
3972         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3973         (gst_bus_source_check), (gst_bus_source_dispatch),
3974         (gst_bus_create_watch), (gst_bus_add_watch_full),
3975         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3976         * gst/gstbus.h:
3977         * tools/gst-launch.c: (event_loop):
3978         * tools/gst-md5sum.c: (event_loop):
3979         GstBusHandler -> GstBusFunc, return value has the same meaning as
3980         any other GSource (FALSE == remove source).
3981         _add_watch() and _add_watch_full() now take a MessageType mask to
3982         only handle specific types of messages.
3983         _poll() returns the GstMessage instead of the message type to avoid
3984         race conditions.
3985         _have_pending() takes a MessageType mask now too.
3986         Added testsuite for multiple bus watches.
3987         Fix testsuites and applications for new bus API.
3988
3989 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3990
3991         * check/Makefile.am:
3992           mark a bunch of the tests as to fix until we fix them
3993
3994 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3995
3996         * common/check.mak:
3997           use GST_PLUGIN settings for valgrind tests as well, so we're
3998           valgrinding the correct thing
3999         * gst/gst.c: (init_post):
4000           plug another leak
4001
4002 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4003
4004         * gst/gst.c: (init_post), (gst_deinit):
4005         * gst/gstelementfactory.c: (gst_element_factory_class_init),
4006         (gst_element_factory_finalize), (gst_element_factory_cleanup):
4007         * gst/gstindex.c: (gst_index_factory_class_init),
4008         (gst_index_factory_finalize):
4009         * gst/gstobject.c: (gst_object_dispose):
4010         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4011         (gst_plugin_load_file), (gst_plugin_desc_free):
4012         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4013         (gst_plugin_feature_finalize):
4014         * gst/gstregistry.c: (gst_registry_class_init),
4015         (gst_registry_init), (gst_registry_finalize),
4016         (gst_registry_get_default), (gst_registry_deinit):
4017         * gst/gstregistry.h:
4018         * gst/gstregistryxml.c: (load_feature), (load_plugin):
4019           various cleanups and memleak plugging.  make valgrind is happy now.
4020
4021 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4022
4023         * common/check.mak:
4024           add a check-valgrind target
4025
4026 2005-09-18  David Schleef  <ds@schleef.org>
4027
4028         * tools/gst-inspect.c: Revert the GOption code.
4029
4030 2005-09-17  David Schleef  <ds@schleef.org>
4031
4032         * check/Makefile.am: Fix environment variables.
4033         * check/gst/gstplugin.c: Fix for API changes.
4034         * tools/gst-inspect.c: Fix for API changes.
4035         * tools/gst-xmlinspect.c: Fix for API changes.
4036         * gst/gstelementfactory.c:
4037         * gst/gstplugin.c:
4038         * gst/gstplugin.h:
4039         * gst/gstpluginfeature.c:
4040         * gst/gstpluginfeature.h:
4041         * gst/gstregistry.c:
4042         * gst/gstregistry.h:
4043         * gst/gstregistryxml.c:
4044         * gst/gsttypefind.c:
4045         * gst/gsttypefindfactory.c:
4046         * gst/indexers/gstfileindex.c:
4047         * gst/indexers/gstmemindex.c:
4048         * gst/schedulers/Makefile.am:
4049           Change registry to keep track of both plugins and features,
4050           removing the feature tracking from plugins themselves.
4051
4052 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4053
4054         * check/Makefile.am:
4055         * tools/gst-register.1.in:
4056           remove gst-register
4057
4058 2005-09-15  David Schleef  <ds@schleef.org>
4059
4060         * check/gst/gstplugin.c:
4061         * gst/gstelementfactory.c:
4062         * gst/gstplugin.c:
4063         * gst/gstpluginfeature.c:
4064         * gst/gstregistry.c:
4065           Getting tired of debugging.  Disabled all the unreffing of
4066           plugins and features, which fixes the segfaults, but of
4067           course leaks like crazy.  At least playbin works.
4068
4069 2005-09-15  David Schleef  <ds@schleef.org>
4070
4071         * check/gst/gstplugin.c: (register_check_elements),
4072         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4073         More testing
4074         * gst/elements/gsttypefindelement.c: Fix refcounting.
4075         * gst/gsttypefind.c:
4076         * gst/gsttypefindfactory.c:
4077         * gst/gsttypefindfactory.h:
4078
4079 2005-09-15  David Schleef  <ds@schleef.org>
4080
4081         * gst/gstindex.c: get refcounting correct.
4082         * gst/gstregistry.c: Handle the case where a feature/plugin is
4083           not found.
4084
4085 2005-09-15  David Schleef  <ds@schleef.org>
4086
4087         * check/Makefile.am:
4088         * check/gst/gstplugin.c: Add test
4089         * gst/gstplugin.c: Fix problems noticed by testsuite
4090         * gst/gstplugin.h:
4091         * gst/gstregistry.c: 
4092         * gst/gstregistry.h:
4093
4094 2005-09-15  David Schleef  <ds@schleef.org>
4095
4096         * gst/gstplugin.c: Implement semi-decent recounting and locking
4097           in plugins and plugin features.
4098         * gst/gstplugin.h:
4099         * gst/gstpluginfeature.c:
4100         * gst/gstpluginfeature.h:
4101         * gst/gstregistry.c:
4102
4103 2005-09-15  Michael Smith <msmith@fluendo.com>
4104
4105         * gst/gstregistry.c: (gst_registry_get_feature_list):
4106           Implement this. Makes oggdemux work; decodebin still broken.
4107
4108 2005-09-14  David Schleef  <ds@schleef.org>
4109
4110         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4111           #316076)
4112         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4113         * gst/check/Makefile.am:
4114         * libs/gst/controller/Makefile.am:
4115         * libs/gst/dataprotocol/Makefile.am:
4116
4117 2005-09-14  David Schleef  <ds@schleef.org>
4118
4119         * configure.ac: Remove getbits library.  Nothing uses it, and
4120           it should be in something like liboil if someone did want
4121           to use it.
4122         * libs/gst/Makefile.am:
4123         * libs/gst/getbits/Makefile.am:
4124         * libs/gst/getbits/gbtest.c:
4125         * libs/gst/getbits/getbits.c:
4126         * libs/gst/getbits/getbits.h:
4127         * libs/gst/getbits/gstgetbits_generic.c:
4128         * libs/gst/getbits/gstgetbits_i386.s:
4129         * libs/gst/getbits/gstgetbits_inl.h:
4130
4131 2005-09-14  David Schleef  <ds@schleef.org>
4132
4133         * gst/Makefile.am: Dist glib-compat.h
4134
4135 2005-09-14  David Schleef  <ds@schleef.org>
4136
4137         * configure.ac: Remove gst/registries, since it's no longer used.
4138         * gst/registries/Makefile.am:
4139         * gst/registries/gstlibxmlregistry.c:
4140         * gst/registries/gstlibxmlregistry.h:
4141         * gst/registries/gstxmlregistry.c:
4142         * gst/registries/gstxmlregistry.h:
4143         * gst/registries/registrytest.c:
4144
4145 2005-09-14  David Schleef  <ds@schleef.org>
4146
4147         * gst/glib-compat.h:
4148         * gst/gstregistryxml.c:
4149           Convergence is near.  Seriously.
4150
4151 2005-09-14  David Schleef  <ds@schleef.org>
4152
4153         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4154         * gst/glib-compat.h:
4155           Attempt #4 to appease the buildbots.
4156
4157 2005-09-14  David Schleef  <ds@schleef.org>
4158
4159         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4160           Attempt #3.
4161
4162 2005-09-14  David Schleef  <ds@schleef.org>
4163
4164         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4165         Attempt #2.
4166
4167 2005-09-14  David Schleef  <ds@schleef.org>
4168
4169         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4170           the new functions.
4171
4172 2005-09-14  David Schleef  <ds@schleef.org>
4173
4174         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4175         * gst/glib-compat.h: Add some functions that are in newer versions
4176           of glib than we care to require.
4177         * gst/gstregistryxml.c: Use them.
4178
4179 2005-09-14  David Schleef  <ds@schleef.org>
4180
4181         * po/POTFILES.in: remove gst-register.c
4182
4183 2005-09-14  David Schleef  <ds@schleef.org>
4184
4185         * docs/gst/gstreamer-docs.sgml:
4186         * docs/gst/gstreamer-sections.txt:
4187         * docs/gst/gstreamer.types:
4188         * docs/gst/tmpl/gstelement.sgml:
4189         * docs/gst/tmpl/gstplugin.sgml:
4190         * docs/gst/tmpl/gstpluginfeature.sgml:
4191           Documentation updates for registry changes.
4192
4193 2005-09-14  David Schleef  <ds@schleef.org>
4194
4195         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4196           because we don't require glib-2.8.
4197
4198 2005-09-14  David Schleef  <ds@schleef.org>
4199
4200         * gst/gstregistryxml.c: Added.  Essentially moved out of the
4201           registries directory.
4202
4203 2005-09-14  David Schleef  <ds@schleef.org>
4204
4205         * check/Makefile.am:
4206         * check/generic/states.c:
4207         * gst/Makefile.am:
4208         * gst/gst.c:
4209         * gst/gst.h:
4210         * gst/gst_private.h:
4211         * gst/gstelementfactory.c:
4212         * gst/gstindex.c:
4213         * gst/gstinfo.c:
4214         * gst/gstplugin.c:
4215         * gst/gstplugin.h:
4216         * gst/gstpluginfeature.c:
4217         * gst/gstpluginfeature.h:
4218         * gst/gstregistry.c:
4219         * gst/gstregistry.h:
4220         * gst/gstregistrypool.c: remove
4221         * gst/gstregistrypool.h: remove
4222         * gst/gsttypefind.c:
4223         * gst/gsttypefindfactory.c:
4224         * gst/gsturi.c:
4225         * tools/Makefile.am:
4226         * tools/gst-compprep.c:
4227         * tools/gst-inspect.c:
4228         * tools/gst-register.c: remove
4229         * tools/gst-xmlinspect.c:
4230           Registry rewrite.  Changes registry from being a file created
4231           by a tool into a simple cache file created automatically by 
4232           libgstreamer.  Removed gst-register (because it's no longer
4233           needed).  Remove registry pools, because we only have one
4234           registry implementation (XML).  Fix up other subsystems as
4235           necessary.
4236
4237 2005-09-13  Michael Smith <msmith@fluendo.com>
4238
4239         * gst/gstconfig.h.in:
4240           Don't Use windows linking attributes for MinGW. Fixes #316157
4241
4242 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4243
4244         * gst/gstutils.c: (set_state_async_thread_func),
4245         (gst_element_set_state_async):
4246           Apparently people think it's better if this function doesn't
4247           try to set the state to whatever state was asked for on the first
4248           call to this function for any object.  Seriously.
4249
4250 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4251
4252         * check/gst/gstpipeline.c: (GST_START_TEST):
4253         * docs/gst/gstreamer-sections.txt:
4254         * gst/gstutils.c: (set_state_async_thread_func),
4255         (gst_element_set_state_async):
4256         * gst/gstutils.h:
4257           add a "gst_element_set_state_async" method that
4258           sets the state and starts a thread to make sure the state
4259           change completes as best as it can
4260
4261 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4262
4263         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4264           codify design+behaviour in testsuite after discussion
4265
4266 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4267
4268         * docs/gst/tmpl/gstelement.sgml:
4269         * docs/manual/appendix-quotes.xml:
4270           add a quote
4271         * gst/gstelement.c: (gst_element_set_state):
4272           add some debug
4273
4274 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
4275
4276         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4277         (gst_base_transform_prepare_output_buf),
4278         (gst_base_transform_handle_buffer):
4279         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4280         (gst_capsfilter_prepare_buf):
4281           Remove the requirement for sub-classes to call the parent
4282           implementation of prepare_output_buffer with a wrapper function.
4283           
4284         * gst/gsttaglist.h:
4285         * gst/gsttagsetter.h:
4286           Fix #define wrapper
4287
4288 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
4289
4290         * docs/gst/gstreamer-sections.txt:
4291           more doc cleanups
4292
4293 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4294
4295         * docs/gst/gstreamer-sections.txt:
4296         * docs/gst/tmpl/gstelement.sgml:
4297         * docs/gst/tmpl/gstplugin.sgml:
4298         * gst/gstminiobject.c:
4299         * gst/gstvalue.h:
4300           docs now stop throwing warnings
4301
4302 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4303
4304         * docs/gst/gstreamer-sections.txt:
4305         * docs/gst/gstreamer.types:
4306         * docs/gst/tmpl/gstpad.sgml:
4307         * docs/gst/tmpl/gsttypes.sgml:
4308         * gst/base/gstadapter.h:
4309         * gst/base/gstbasesink.h:
4310         * gst/base/gstbasesrc.h:
4311         * gst/gstbin.h:
4312         * gst/gstbuffer.h:
4313         * gst/gstbus.h:
4314         * gst/gstcaps.h:
4315         * gst/gstclock.h:
4316         * gst/gstelement.h:
4317         * gst/gstevent.h:
4318         * gst/gstmessage.h:
4319         * gst/gstpad.h:
4320         * gst/gststructure.c:
4321         * gst/registries/gstlibxmlregistry.h:
4322           various documentation fixes
4323
4324 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4325
4326         * docs/gst/gstreamer-sections.txt:
4327         * docs/gst/tmpl/gstvalue.sgml:
4328           rearrange gstvalue section
4329         * gst/gstutils.c: (gst_element_state_get_name):
4330           NONE -> VOID
4331         * gst/gstvalue.c: (_gst_value_initialize):
4332         * gst/gstvalue.h:
4333           doc updates
4334
4335 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
4336
4337         * check/gst-libs/controller.c:
4338           Header include fix.
4339         * gst/base/gstbasetransform.c:
4340         (gst_base_transform_default_prepare_buf),
4341         (gst_base_transform_handle_buffer):
4342         * gst/base/gstbasetransform.h:
4343           Some more basetransform changes and fixes to enable sub-classes
4344           that modify buffer metadata only.
4345         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4346         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4347         (gst_capsfilter_prepare_buf):
4348           If the output pad has fixed allowed caps and input buffers 
4349           don't have any, set the fixed caps on outgoing buffers.
4350
4351 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
4352         * check/elements/identity.c: (GST_START_TEST):
4353           Make the error a little clearer when the test fails because
4354           identity made a copy of the buffer.
4355         * docs/gst/gstreamer-sections.txt:
4356           New symbols in gstbasetransform.h
4357         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4358         (gst_base_transform_init), (gst_base_transform_transform_size),
4359         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4360         (gst_base_transform_default_prepare_buf),
4361         (gst_base_transform_get_unit_size),
4362         (gst_base_transform_buffer_alloc),
4363         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4364         (gst_base_transform_change_state),
4365         (gst_base_transform_set_passthrough),
4366         (gst_base_transform_set_in_place),
4367         (gst_base_transform_is_in_place):
4368         * gst/base/gstbasetransform.h:
4369           Change BaseTransform to separate in_place operate from same_caps
4370           output. in_place implies that the element can perform the transform
4371           on incoming buffers in-place, even if the caps on the output are
4372           different.
4373           Sub-class elements can now implement special buffer allocation
4374           methods for outgoing buffers if they wish to.
4375           Big documentation addition.
4376         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4377         * gst/elements/gstelements.c:
4378           Changes for basetransform modifications.
4379         * gst/elements/Makefile.am:
4380         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4381           Compile fix. Extra debug output.
4382
4383 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4384
4385         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4386         (gst_pad_suite):
4387           add tests for valid pad naming
4388         * gst/check/gstcheck.c: (gst_check_log_message_func),
4389         (gst_check_log_critical_func):
4390           add ASSERT_WARNING
4391           remove printing of code, it is fragile when the code contains
4392           % and the line number is enough info
4393         * gst/check/gstcheck.h:
4394         * gst/gstpad.c: (gst_pad_template_new):
4395           fix memleaks
4396
4397 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4398
4399         * configure.ac:
4400           say what CHECK flags we use
4401         * docs/libs/gstreamer-libs.types:
4402         * libs/gst/controller/Makefile.am:
4403         * libs/gst/controller/gst-controller.c:
4404         * libs/gst/controller/gst-controller.h:
4405         * libs/gst/controller/gst-helper.c:
4406         * libs/gst/controller/gst-interpolation.c:
4407         * libs/gst/controller/gstcontroller.c:
4408         * libs/gst/controller/gsthelper.c:
4409         * libs/gst/controller/gstinterpolation.c:
4410         * tools/gst-inspect.c: (print_plugin_info):
4411           we don't use dashes in header names
4412
4413 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4414
4415         * check/Makefile.am:
4416         * check/gst/.cvsignore:
4417         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4418         (gst_pipeline_suite), (main):
4419           adding a test for pipelines and state changes
4420         * gst/gstutils.c: (get_state_func):
4421           add some debugging
4422         * gstreamer.spec.in:
4423           fix up spec file
4424
4425 2005-09-08  Michael Smith <msmith@fluendo.com>
4426
4427         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4428         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4429         (gst_file_src_is_seekable), (gst_file_src_get_size),
4430         (gst_file_src_start):
4431         * gst/elements/gstfilesrc.h:
4432           Various fixes for unseekable, unmmapable, and non-normal files, so
4433           that fallback to read() rather than mmap() works.
4434         * gst/gstevent.c: (gst_event_new_newsegment):
4435           Allow newsegment events with segment_start == segment_end, as will
4436           correctly happen if you use filesrc on a zero-size file, for
4437           example.
4438
4439 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
4440
4441         * gst/gstplugin.c: (gst_plugin_load_file):
4442           Call g_module_close when we don't load the module
4443
4444         * gst/registries/gstlibxmlregistry.c:
4445         (gst_xml_registry_get_property):
4446           Port leak fix from 0.8
4447
4448 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
4449
4450         * docs/gst/gstreamer-docs.sgml:
4451         * docs/gst/tmpl/.cvsignore:
4452         * docs/gst/tmpl/gsttrace.sgml:
4453         * docs/gst/tmpl/gsttrashstack.sgml:
4454         * gst/Makefile.am:
4455         * gst/gst.h:
4456         * gst/gstelement.h:
4457         * gst/gstevent.h:
4458         * gst/gstmessage.c:
4459         * gst/gstmessage.h:
4460         * gst/gsttag.c:
4461         * gst/gsttag.h:
4462         * gst/gsttaginterface.c:
4463         * gst/gsttaginterface.h:
4464         * gst/gsttaglist.c:
4465         * gst/gsttaglist.h:
4466         * gst/gsttagsetter.c:
4467         * gst/gsttagsetter.h:
4468         * gst/gsttrace.c:
4469         * gst/gsttrace.h:
4470         * gst/gsttrashstack.c:
4471           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4472           inlined docs for gsttrace, gsttrashstack
4473
4474 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
4475
4476         * gst/Makefile.am:
4477         * gst/elements/gstbufferstore.h:
4478         * gst/elements/gsttypefindelement.c:
4479         * gst/elements/gsttypefindelement.h:
4480         * gst/gst.h:
4481         * gst/gsttypefind.c:
4482         * gst/gsttypefind.h:
4483         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4484         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4485         (gst_type_find_factory_dispose),
4486         (gst_type_find_factory_unload_thyself),
4487         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4488         (gst_type_find_factory_get_caps),
4489         (gst_type_find_factory_get_extensions),
4490         (gst_type_find_factory_call_function):
4491         * gst/gsttypefindfactory.h:
4492         * gst/registries/gstlibxmlregistry.c:
4493         * gst/registries/gstxmlregistry.c:
4494           splitted gsttypefind into gsttypefind, gsttypefindfactory
4495
4496 2005-09-07  Andy Wingo  <wingo@pobox.com>
4497
4498         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4499         condition whereby the pad's task function is entered before the
4500         pad_mode variable was set.
4501
4502 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
4503
4504         * gst/gstpad.c: (gst_pad_alloc_buffer):
4505           Catch misbehaving pad_alloc functions that don't
4506           set up caps and do it for them.
4507
4508 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
4509
4510         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4511           test for pipe!=NULL
4512         * docs/gst/tmpl/.cvsignore:
4513         * docs/gst/tmpl/gstmemchunk.sgml:
4514         * docs/gst/tmpl/gstparse.sgml:
4515         * docs/gst/tmpl/gsttaglist.sgml:
4516         * docs/gst/tmpl/gsttagsetter.sgml:
4517         * docs/gst/tmpl/gsttypefind.sgml:
4518         * docs/gst/tmpl/gsttypefindfactory.sgml:
4519         * gst/gstmemchunk.c:
4520         * gst/gstparse.c:
4521         * gst/gsttag.c:
4522         * gst/gsttaginterface.c:
4523         * gst/gsttypefind.c:
4524         * gst/gsttypefind.h:
4525           inlined more docs
4526
4527 === release 0.9.2 ===
4528
4529 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4530
4531         * NEWS:
4532         * RELEASE:
4533         * configure.ac:
4534           releasing 0.9.2, "South"
4535
4536 2005-09-05  Andy Wingo  <wingo@pobox.com>
4537
4538         * gst/registries/gstxmlregistry.h:
4539         * gst/registries/gstxmlregistry.c: Um... resurrect...
4540         
4541         * gst/registries/gstxmlregistry.h:
4542         * gst/registries/gstxmlregistry.c: and update to newer API.
4543         Incidentally they should be a bit faster now that they don't have
4544         to parse the caps.
4545         
4546 2005-09-05  Andy Wingo  <wingo@pobox.com>
4547
4548         * gst/registries/gstxmlregistry.h:
4549         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4550         replaced by the libxml registry a while back
4551
4552 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4553
4554         * docs/gst/tmpl/gstplugin.sgml:
4555         * gst/elements/gstelements.c:
4556         * gst/gst.c:
4557         * gst/gstplugin.c: (gst_plugin_register_func),
4558         (gst_plugin_desc_copy), (gst_plugin_desc_free),
4559         (gst_plugin_get_source):
4560         * gst/gstplugin.h:
4561         * gst/registries/gstlibxmlregistry.c: (load_plugin),
4562         (gst_xml_registry_save_plugin):
4563         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4564         (gst_xml_registry_save_plugin):
4565         * tools/gst-inspect.c: (print_plugin_info):
4566           add a "source" plugin description field, to represent the source
4567           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
4568           will set it to PACKAGE, which is automake's idea of the name of
4569           the source project.
4570
4571 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4572
4573         * Makefile.am:
4574         * autogen.sh:
4575         * configure.ac:
4576         * docs/Makefile.am:
4577         * docs/faq/Makefile.am:
4578         * docs/gst/tmpl/gstelement.sgml:
4579         * docs/gst/tmpl/gsttypes.sgml:
4580         * docs/htmlinstall.mak:
4581         * docs/manual/Makefile.am:
4582         * docs/pwg/Makefile.am:
4583           reorganize doc build a little
4584           split out docbook and gtk-doc stuff
4585           have two separate --enable's and enable them through autogen
4586           but disable by default in configure (to be similar to other
4587           projects)
4588         * gstreamer.spec.in:
4589           clean up docs install
4590         * po/af.po:
4591         * po/az.po:
4592         * po/ca.po:
4593         * po/cs.po:
4594         * po/de.po:
4595         * po/en_GB.po:
4596         * po/fr.po:
4597         * po/it.po:
4598         * po/nb.po:
4599         * po/nl.po:
4600         * po/ru.po:
4601         * po/sq.po:
4602         * po/sr.po:
4603         * po/sv.po:
4604         * po/tr.po:
4605         * po/uk.po:
4606         * po/vi.po:
4607           translation updates
4608
4609 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
4610
4611         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4612           Add comment.
4613           
4614         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4615         (gst_fake_sink_change_state):
4616           Make state change function thread-safe.
4617           
4618         * gst/gstpad.c: (gst_pad_alloc_buffer):
4619           Set offset on generic buffer allocated by fallback.
4620
4621 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
4622
4623         * docs/gst/gstreamer-sections.txt:
4624         * docs/gst/tmpl/gstelement.sgml:
4625         * gst/gstpad.c:
4626         * libs/gst/controller/gst-controller.c:
4627         (gst_controlled_property_set_interpolation_mode),
4628         (gst_controlled_property_new),
4629         (gst_controller_find_controlled_property):
4630          run the wingo-magic script against the docs
4631
4632 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
4633
4634         * docs/gst/gstreamer-docs.sgml:
4635         * docs/gst/gstreamer-sections.txt:
4636         * docs/gst/tmpl/.cvsignore:
4637         * docs/gst/tmpl/gstelementdetails.sgml:
4638         * docs/gst/tmpl/gstelementfactory.sgml:
4639         * gst/gst.c:
4640         * gst/gstbus.c:
4641         * gst/gstelementfactory.c:
4642         * gst/gstelementfactory.h:
4643           merged elementdetails docs into elementfactory docs
4644           inlined both
4645
4646 2005-09-02  Andy Wingo  <wingo@pobox.com>
4647
4648         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4649         consider this enum an enum and not a flags.
4650
4651 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
4652
4653         * docs/gst/gstreamer-docs.sgml:
4654         * docs/gst/tmpl/.cvsignore:
4655         * docs/gst/tmpl/gstghostpad.sgml:
4656         * docs/gst/tmpl/gstiterator.sgml:
4657         * docs/gst/tmpl/gstmacros.sgml:
4658         * docs/gst/tmpl/gstrealpad.sgml:
4659         * docs/gst/tmpl/gstregistry.sgml:
4660         * docs/gst/tmpl/gstregistrypool.sgml:
4661         * docs/gst/tmpl/gststructure.sgml:
4662         * docs/gst/tmpl/gstsystemclock.sgml:
4663         * docs/gst/tmpl/gsttrace.sgml:
4664         * gst/gstghostpad.c:
4665         * gst/gstmacros.h:
4666         * gst/gstmemchunk.c:
4667         * gst/gstmemchunk.h:
4668         * gst/gstqueue.c:
4669         * gst/gstregistry.c:
4670         * gst/gstregistrypool.c:
4671         * gst/gststructure.c:
4672         * gst/gstsystemclock.c:
4673           more docs inlined
4674
4675 2005-09-02  Andy Wingo  <wingo@pobox.com>
4676
4677         * gst/gstelement.h (GstState): Renamed from GstElementState,
4678         changed to be a normal enum instead of flags.
4679         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4680         munged to be GST_STATE_CHANGE_*.
4681         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4682         work with the new state representation.
4683         (GstStateChange): New enumeration of possible state transitions.
4684         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4685         (GstElementClass::change_state): Pass the GstStateChange along as
4686         an argument. Helps language bindings, so they don't have to use
4687         tricky lock-needing macros like GST_STATE_CHANGE ().
4688
4689         * scripts/update-states (file): New script. Run it on a file to
4690         update it for state naming and API changes. Updates files in
4691         place.
4692
4693         * All files updated for the new API.
4694
4695 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4696
4697         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4698         * gst/gstutils.c: (gst_util_set_value_from_string),
4699         (gst_util_set_object_arg):
4700           fix a bunch of unchecked return values
4701         * tools/gst-complete.c: (main):
4702         * gstreamer.spec.in:
4703           clean up a little
4704
4705 2005-09-01  Wim Taymans  <wim@fluendo.com>
4706
4707         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4708         (gst_base_sink_event), (gst_base_sink_do_sync),
4709         (gst_base_sink_handle_event):
4710         * gst/base/gstbasesink.h:
4711         Handle newsegments more correctly.
4712
4713         * gst/gstbus.c:
4714         Fix docs.
4715
4716         * gst/gstevent.c: (gst_event_new_newsegment):
4717         A newsegment cannot have a start_time of -1
4718
4719 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * win32/gstenumtypes.c:
4722         * win32/gstenumtypes.h:
4723           Update
4724
4725 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
4726
4727         * libs/gst/controller/gst-controller.c:
4728         (gst_controlled_property_set_interpolation_mode),
4729         (gst_controlled_property_new):
4730          fixed boolean again
4731
4732 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
4733
4734         * docs/faq/gst-uninstalled:
4735           add -good
4736         * gst/gstevent.c:
4737         * gst/gstevent.h:
4738           remove wrong docs
4739         * gst/gstutils.c: (gst_element_link_filtered):
4740         * gst/gstutils.h:
4741           add gst_element_link_filtered
4742
4743 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
4744
4745         * docs/gst/gstreamer-docs.sgml:
4746         * docs/gst/gstreamer-sections.txt:
4747         * docs/gst/tmpl/.cvsignore:
4748         * docs/gst/tmpl/gsterror.sgml:
4749         * docs/gst/tmpl/gstfilter.sgml:
4750         * docs/gst/tmpl/gsturihandler.sgml:
4751         * docs/gst/tmpl/gsturitype.sgml:
4752         * docs/gst/tmpl/gstutils.sgml:
4753         * docs/gst/tmpl/gstxml.sgml:
4754         * gst/gsterror.c:
4755         * gst/gsterror.h:
4756         * gst/gstfilter.c:
4757         * gst/gsturi.c:
4758         * gst/gsturitype.c:
4759         * gst/gstutils.c:
4760         * gst/gstxml.c:
4761           inlined more docs, fixed double id-ref
4762
4763 2005-08-31  Wim Taymans  <wim@fluendo.com>
4764
4765         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4766         (gst_base_transform_handle_buffer):
4767         Passthrough elements don't need the caps as they don't care.
4768
4769 2005-08-31  Wim Taymans  <wim@fluendo.com>
4770
4771         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4772         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4773         Don't leak refcounts on buffers.
4774
4775 2005-08-31  Wim Taymans  <wim@fluendo.com>
4776
4777         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4778         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4779         (gst_base_transform_chain), (gst_base_transform_change_state):
4780         * gst/base/gstbasetransform.h:
4781         Handle the case where we are not negotiated more gracefully.
4782
4783 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
4784
4785         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4786         (gst_file_src_map_region):
4787           Set READONLY flag on mmap'ed buffers, otherwise
4788           gst_buffer_make_writable() won't work properly (#314708).
4789
4790 2005-08-31  Wim Taymans  <wim@fluendo.com>
4791
4792         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4793         passthrough elements can even do inplace on non writable
4794         buffers (as they don't touch them).
4795
4796 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
4797
4798         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4799         (gst_test_mono_source_set_property),
4800         (gst_test_mono_source_class_init), (GST_START_TEST),
4801         (gst_controller_suite):
4802           more tests (hehe I have the most)
4803         * gst/gstbus.c:
4804           describe popping messages whenusing mulltiple sources
4805         * libs/gst/controller/gst-controller.c:
4806         (gst_controlled_property_set_interpolation_mode),
4807         (gst_controlled_property_new):
4808         * libs/gst/controller/gst-controller.h:
4809         * libs/gst/controller/gst-interpolation.c:
4810           implement boolean properties
4811
4812 2005-08-31  Wim Taymans  <wim@fluendo.com>
4813
4814         * gst/gstminiobject.c: (gst_mini_object_ref):
4815         Cannot assert that the refcount has to be positive
4816         since a disposed object can be resurrected.
4817
4818 2005-08-31  Wim Taymans  <wim@fluendo.com>
4819
4820         * gst/gstpad.c: (gst_pad_init):
4821         Revert change, need to first fix badly behaving 
4822         apps.
4823
4824 2005-08-30  Wim Taymans  <wim@fluendo.com>
4825
4826         * check/elements/fakesrc.c: (setup_fakesrc):
4827         * check/elements/identity.c: (setup_identity):
4828         Activate pads before using them.
4829
4830 2005-08-30  Wim Taymans  <wim@fluendo.com>
4831
4832         * gst/base/gstadapter.c: (gst_adapter_flush):
4833         Flushing out 0 bytes is ok for this function.
4834
4835         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4836         no newsegment gives a warning and sets the start/stop to 
4837         invalid.
4838
4839         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4840         (gst_base_transform_set_passthrough):
4841         Some debug info.
4842
4843         * gst/gstminiobject.c: (gst_mini_object_ref):
4844         Check refcount here too.
4845
4846         * gst/gstpad.c: (gst_pad_init):
4847         Pads are initially flushing and refusing data.
4848
4849         * gst/gstutils.c: (gst_element_link_pads_filtered):
4850         When adding a capsfilter element make sure it has the
4851         same state as the parent bin.
4852
4853 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4854
4855         * docs/gst/tmpl/.cvsignore:
4856         * docs/gst/tmpl/gstformat.sgml:
4857         * docs/gst/tmpl/gstversion.sgml:
4858         * gst/gstbus.h:
4859         * gst/gstformat.c:
4860         * gst/gstformat.h:
4861         * gst/gstversion.h.in:
4862           more docs and two more inlined
4863
4864 2005-08-30  Wim Taymans  <wim@fluendo.com>
4865
4866         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4867         Don't sync to clock.
4868
4869 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4870
4871         * docs/gst/gstreamer-sections.txt:
4872           ultral33t func10ns deserve to appear in the docs actually
4873         * docs/gst/tmpl/.cvsignore:
4874         * docs/gst/tmpl/gstcompat.sgml:
4875         * docs/gst/tmpl/gstconfig.sgml:
4876         * gst/check/gstcheck.c:
4877         * gst/gstcompat.h:
4878         * gst/gstconfig.h.in:
4879           inlined more docs
4880
4881 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4882
4883         * docs/gst/tmpl/.cvsignore:
4884         * docs/gst/tmpl/gstquery.sgml:
4885         * docs/gst/tmpl/gstutils.sgml:
4886         * gst/gstquery.c:
4887         * gst/gstquery.h:
4888           inlined and extended docs
4889
4890 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4891
4892         * check/gst-libs/controller.c: (GST_START_TEST),
4893         (gst_controller_suite):
4894           more tests
4895         * docs/gst/tmpl/gstutils.sgml:
4896         * docs/libs/gstreamer-libs-sections.txt:
4897         * docs/libs/tmpl/gstdataprotocol.sgml:
4898           include path fixes
4899         * examples/controller/audio-example.c: (main):
4900           controller example works now
4901         * gst/gstclock.h:
4902           doc fixes
4903         * tools/gst-inspect.c: (print_element_properties_info):
4904           show param spec flags
4905
4906 2005-08-29  Andy Wingo  <wingo@pobox.com>
4907
4908         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4909
4910 2005-08-28  Andy Wingo  <wingo@pobox.com>
4911
4912         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4913         as having two arguments instead of just one. Allows superclasses
4914         to access information on subclasses -- see the terrible for() loop
4915         in gtype.c:g_type_create_instance for the reason why. All callers
4916         changed.
4917
4918 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
4919
4920         * docs/design/part-messages.txt:
4921           update info
4922         * docs/gst/tmpl/.cvsignore:
4923         * docs/gst/tmpl/gstcaps.sgml:
4924         * docs/gst/tmpl/gstclock.sgml:
4925         * gst/gstbus.c:
4926         * gst/gstcaps.c:
4927         * gst/gstcaps.h:
4928         * gst/gstclock.c:
4929         * gst/gstclock.h:
4930         * gst/gstmessage.c:
4931           added descriptions for bus and message
4932           inline caps and clock docs
4933
4934 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * gst/gstmessage.c:
4937         * gst/gstmessage.h:
4938           doc fixes
4939
4940 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
4941
4942         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4943           fix div-by-zero
4944
4945 2005-08-26  Andy Wingo  <wingo@pobox.com>
4946
4947         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4948         element_set_state's return val.
4949         (test_2_elements): Add test that's been disabled for months.
4950
4951         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4952         can-activate-pull properties.
4953
4954         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4955         can-activate-pull properties. Implement is_seekable so fakesrc can
4956         operate in pull mode.
4957
4958         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4959         properties.
4960         (gst_base_sink_activate, gst_base_sink_activate_pull)
4961         (gst_base_sink_activate_push): Make activation mode choosing work.
4962         Cleanups.
4963         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4964         is right. Make pull mode work. Post an eos before pausing in pull
4965         mode.
4966         (gst_base_sink_change_state): Pay attention to the core's
4967         change_state() return val.
4968         
4969         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4970         has-getrange properties. Cleanups.
4971         
4972         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4973         has_getrange and replace with can_activate_pull and
4974         can_activate_push.
4975
4976         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4977         locking comments. Remove has_loop, has_chain and replace with
4978         can_activate_pull and can_activate_push.
4979
4980 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
4981
4982         * configure.ac:
4983         * examples/Makefile.am:
4984         * examples/metadata/Makefile.am:
4985         * examples/metadata/read-metadata.c: (message_loop),
4986         (have_pad_handler), (make_pipeline), (print_tag), (main):
4987           Add metadata reading example that loops over a list of filenames,
4988           dumping any tags found.
4989
4990         * gst/gstbus.c: (gst_bus_dispose):
4991         * gst/gstelement.c: (gst_element_dispose):
4992           Release a few potentially-held references in dispose.
4993
4994 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
4995
4996         * docs/gst/tmpl/gstminiobject.sgml:
4997           do *not* add tmpl/*.sgml files to CVS!
4998
4999 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5000
5001         * libs/gst/bytestream/.cvsignore:
5002         * libs/gst/bytestream/Makefile.am:
5003         * libs/gst/bytestream/adapter.c:
5004         * libs/gst/bytestream/adapter.h:
5005         * libs/gst/bytestream/bytestream.c:
5006         * libs/gst/bytestream/bytestream.h:
5007         * libs/gst/bytestream/filepad.c:
5008         * libs/gst/bytestream/filepad.h:
5009           removing obsolete files
5010
5011 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5012
5013         * docs/gst/gstreamer-docs.sgml:
5014         * docs/libs/gstreamer-libs-docs.sgml:
5015           disabed additional index entries again, as this makes docs-gen just
5016           slow and they aren't useful yet
5017         * docs/libs/gstreamer-libs-sections.txt:
5018           little -section.txt cleanup for libs
5019
5020 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5021
5022         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5023         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5024           fix up some debugging
5025         (gst_base_transform_get_unit_size),
5026         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5027         (gst_base_transform_handle_buffer):
5028         * gst/base/gstbasetransform.h:
5029           handle and store timed NEWSEGMENT events so that subclasses that
5030           calculate time by counting samples have a segment_start time they
5031           need to add to their timestamps - see audioresample
5032
5033 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5034
5035         * gst/gstbin.h:
5036           removed ';' from the end of macro defs
5037         * docs/gst/gstreamer-docs.sgml:
5038         * docs/gst/gstreamer-sections.txt:
5039         * docs/gst/tmpl/.cvsignore:
5040         * gst/gstbus.h:
5041         * gst/gstelement.c: (gst_element_class_init),
5042         (gst_element_set_state), (activate_pads),
5043         (gst_element_save_thyself):
5044         * gst/gstevent.c: (gst_event_new_newsegment):
5045         * gst/gstevent.h:
5046         * gst/gstiterator.c:
5047         * gst/gstiterator.h:
5048         * gst/gstpad.c:
5049         * gst/gstprobe.h:
5050         * gst/gstutils.c: (gst_pad_query_convert):
5051         * gst/gstutils.h:
5052           fixed parameter name mismatches between source, header and docs
5053           added some more docs, resolved the last batch of unused elements in
5054           docs (now someone needs to doc them)
5055
5056 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5057
5058         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5059         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5060           don't walk through the plugins backwards.  Where is all this
5061           reversed logic coming from ?
5062
5063 2005-08-25  Wim Taymans  <wim@fluendo.com>
5064
5065         * gst/base/gstbasetransform.c: (gst_base_transform_init),
5066         (gst_base_transform_transform_size),
5067         (gst_base_transform_configure_caps),
5068         (gst_base_transform_get_unit_size),
5069         (gst_base_transform_buffer_alloc),
5070         (gst_base_transform_change_state):
5071         * gst/base/gstbasetransform.h:
5072         Cache caps unit_size.
5073         Make sure we cannot negotiate up and downstream at the
5074         same time.
5075
5076 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5077
5078         * gst/gst.c: (init_pre), (init_post):
5079           register the installed plugin path after the env var
5080         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5081         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5082           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5083           directories, so the tests can prefer uninstalled over installed
5084
5085 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5086
5087         * gst/base/gstbasetransform.h:
5088           comment
5089         * gst/gstpad.c:
5090           add to docs
5091
5092 2005-08-25  Wim Taymans  <wim@fluendo.com>
5093
5094         * gst/gstbin.c: (bin_bus_handler):
5095         Be a bit more conservative about the posted message.
5096         
5097         * gst/gstbus.c: (gst_bus_post):
5098         Some cleanups, warn wrong return values.
5099
5100 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
5101
5102         * check/gst/gstbin.c: (GST_START_TEST):
5103         * gst/gstbin.c: (bin_bus_handler):
5104         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5105         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5106         (gst_message_new_warning), (gst_message_new_tag),
5107         (gst_message_new_state_changed), (gst_message_new_segment_start),
5108         (gst_message_new_segment_done), (gst_message_new_custom):
5109         * gst/gstmessage.h:
5110         * tools/gst-launch.c: (event_loop):
5111         * tools/gst-md5sum.c: (event_loop):
5112           Revert unpopular change for GST_MESSAGE_SRC to GObject.
5113
5114 2005-08-25  Wim Taymans  <wim@fluendo.com>
5115
5116         * check/generic/states.c: (GST_START_TEST):
5117         Cleanup can be done at the end.
5118
5119         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5120         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5121         (gst_task_get_state), (gst_task_start), (gst_task_pause):
5122         Oh boy.. Thanks for finding this, Thomas. 
5123
5124 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
5125
5126         * docs/gst/gstreamer.types:
5127           added missing types
5128
5129 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
5130
5131         * docs/gst/gstreamer-docs.sgml:
5132         * docs/gst/gstreamer-sections.txt:
5133         * docs/gst/tmpl/.cvsignore:
5134         * gst/gstbin.c:
5135         * gst/gstiterator.c:
5136         * gst/gstutils.c:
5137         * gst/registries/gstxmlregistry.h:
5138           added missing classes and symbols (123 more to go)
5139           removed removed symbols from section file
5140           fixed many doc-comments
5141
5142 2005-08-24  Wim Taymans  <wim@fluendo.com>
5143
5144         * check/generic/states.c: (GST_START_TEST):
5145         Make sure all tasks are stopped.
5146
5147         * check/gst/gstbin.c: (GST_START_TEST):
5148         Unref after usage for proper valgrinding.
5149
5150         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5151         Really wait for the task to stop before destroying the
5152         mutex.
5153
5154         * gst/gstqueue.c: (gst_queue_sink_activate_push),
5155         (gst_queue_src_activate_push):
5156         Small cleanups. Don't stop the task when we did not start
5157         it.
5158
5159         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5160         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5161         (gst_task_get_state), (gst_task_start), (gst_task_pause),
5162         (gst_task_join):
5163         * gst/gsttask.h:
5164         Protect the stream lock with the object lock.
5165         Disallow setting the stream lock when running.
5166         Add cleanup_all to wait for the threadpool to finish.
5167         Remove code to autoallocate a mutex if none was provided.
5168         Add _join() to wait for a task to stop.
5169         Protect the thread pool with a global lock.
5170
5171 2005-08-24  Wim Taymans  <wim@fluendo.com>
5172
5173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5174         (gst_base_sink_get_times), (gst_base_sink_do_sync),
5175         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5176         * gst/base/gstbasesink.h:
5177         Handle newsegment events correctly.
5178         Drop buffers out of the segment range.
5179
5180 2005-08-22  Andy Wingo  <wingo@pobox.com>
5181
5182         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5183         macro, implements an interface and gstimplementsinterface for a
5184         new type.
5185
5186 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5187
5188         * check/Makefile.am:
5189         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5190           add a test that does a bunch of state changes on elements
5191           needs some fixing for valgrind
5192         * check/states/sinks.c: (gst_object_suite):
5193           whitespace
5194         * gst/gstcaps.h:
5195           add prototype for gst_caps_is_equal_fixed
5196         * gst/gstplugin.c:
5197         * gst/gstregistrypool.c:
5198           doc fixes
5199
5200 2005-08-24  Andy Wingo  <wingo@pobox.com>
5201
5202         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5203         convert a negative value. Doesn't make much sense. Mostly this is
5204         here to force callers to ensure -1 maps to -1.
5205
5206 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5207
5208         * docs/pwg/advanced-types.xml:
5209           Well done to Michael for catching my deliberate introduction
5210           of this spelling mistake. 
5211         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5212         * gst/gstelement.h:
5213           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5214           unlink pads before removing the element from the bin.
5215
5216 2005-08-24  Andy Wingo  <wingo@pobox.com>
5217
5218         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5219         the same thing as GST_DEBUG=*:4.
5220         (parse_debug_level, parse_debug_category): New helper parsers.
5221
5222 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5223
5224         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5225         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5226         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5227         (gst_base_transform_buffer_alloc),
5228         (gst_base_transform_handle_buffer):
5229           use gboolean return values and pointers to size so we can use the
5230           full GST_BUFFER_SIZE range (guint) for buffer sizes
5231           use GstPadDirection for transform_caps
5232         * gst/base/gstbasetransform.h:
5233           rename get_size to get_unit_size since that's what it is
5234         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5235           use GstPadDirection for transform_caps
5236         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5237         * gst/gstutils.h:
5238           cleanup and debugging
5239
5240 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
5241
5242         * gst/gstelement.c: (gst_element_class_init),
5243         (gst_element_set_state), (activate_pads),
5244         (gst_element_save_thyself):
5245         * tools/gst-compprep.c: (main):
5246         * tools/gst-inspect.c: (print_element_properties_info):
5247         * tools/gst-xmlinspect.c: (print_element_properties):
5248           Fixed long standing mem-leak
5249
5250 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5251
5252         * check/gst/gstbin.c: (GST_START_TEST):
5253         * gst/gstbin.c: (bin_bus_handler):
5254         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5255         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5256         (gst_message_new_warning), (gst_message_new_tag),
5257         (gst_message_new_state_changed), (gst_message_new_segment_start),
5258         (gst_message_new_segment_done), (gst_message_new_custom):
5259         * gst/gstmessage.h:
5260         * tools/gst-launch.c: (event_loop):
5261         * tools/gst-md5sum.c: (event_loop):
5262           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5263           that applications can sensibly post custom messages with references
5264           to their own objects.
5265
5266 2005-08-24  Andy Wingo  <wingo@pobox.com>
5267
5268         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5269         already.
5270
5271 2005-08-24  Wim Taymans  <wim@fluendo.com>
5272
5273         * gst/base/gstbasetransform.c: (gst_base_transform_init),
5274         (gst_base_transform_transform_caps),
5275         (gst_base_transform_transform_size),
5276         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5277         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5278         (gst_base_transform_handle_buffer):
5279         * gst/base/gstbasetransform.h:
5280         Many fixes and new features added by Thomas. Can now also do
5281         transforms with variable sizes and a custom fixate_caps function.
5282
5283 2005-08-24  Wim Taymans  <wim@fluendo.com>
5284
5285         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5286         Some debugging.
5287
5288         * gst/gstclock.h:
5289         Cast to ClockTime before formatting to time.
5290
5291         * gst/gstutils.h:
5292         Cleanups.
5293
5294 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
5295
5296         * check/gst-libs/controller.c: (GST_START_TEST),
5297         (gst_controller_suite):
5298         * docs/gst/tmpl/gstcaps.sgml:
5299         * docs/gst/tmpl/gstghostpad.sgml:
5300         * docs/gst/tmpl/gstquery.sgml:
5301         * docs/gst/tmpl/gstutils.sgml:
5302         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5303         (gst_object_sink_values), (gst_object_get_value_arrays),
5304         (gst_object_get_value_array):
5305           gracefully handle helper method calls to objects that are not beeing
5306           controlled, added test case for that          
5307
5308 2005-08-23  Wim Taymans  <wim@fluendo.com>
5309
5310         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5311         (gst_event_new_newsegment), (gst_event_parse_newsegment),
5312         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5313         (gst_event_parse_qos), (gst_event_new_seek),
5314         (gst_event_parse_seek):
5315         * gst/gstevent.h:
5316         Some more debugging output and doc cleanups.
5317
5318         * gst/gstqueue.c: (gst_queue_handle_sink_event):
5319         Fix possible deadlock.
5320
5321 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
5322
5323         * docs/gst/gstreamer-docs.sgml:
5324         * docs/gst/gstreamer-sections.txt:
5325         * docs/gst/gstreamer.types:
5326         * docs/gst/tmpl/.cvsignore:
5327         * gst/gstbin.h:
5328         * gst/gstbus.c:
5329         * gst/gstelement.c:
5330         * gst/gstevent.h:
5331           added 100 symbols from gstreamer-unused.txt to the right sections
5332           fixed more broken comments
5333           added GstBus to docs
5334
5335 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
5336
5337         * docs/gst/gstreamer-sections.txt:
5338         * docs/gst/tmpl/.cvsignore:
5339         * docs/gst/tmpl/gstbin.sgml:
5340         * docs/gst/tmpl/gstbuffer.sgml:
5341         * gst/base/gstbasesrc.c:
5342         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5343         * gst/gstbuffer.c:
5344         * gst/gstbuffer.h:
5345         * tools/gst-launch.1.in:
5346           inlined more doc comments, added missing comments and fixed comments
5347           fixed typos
5348
5349 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5350
5351         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5352           some debugging
5353         * gst/gstcaps.h:
5354           whitespace fixes
5355         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5356           more debugging
5357         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5358         * gst/gststructure.h:
5359           add a fixate function for booleans; add a FIXME that these func
5360           names should probably be gst_structure_fixate_*
5361
5362 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * docs/gst/gstreamer-docs.sgml:
5365         * docs/gst/gstreamer-sections.txt:
5366         * gst/Makefile.am:
5367         * gst/gstbin.c: (gst_bin_get_type),
5368         (gst_bin_child_proxy_get_child_by_index),
5369         (gst_bin_child_proxy_get_children_count),
5370         (gst_bin_child_proxy_init):
5371         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5372         (gst_child_proxy_get_child_by_index),
5373         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5374         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5375         (gst_child_proxy_get), (gst_child_proxy_set_property),
5376         (gst_child_proxy_set_valist), (gst_child_proxy_set),
5377         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5378         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5379         * gst/gstchildproxy.h:
5380         * gst/parse/grammar.y:
5381         * tools/gst-inspect.c: (print_interfaces),
5382         (print_element_properties_info), (print_element_info):
5383           ported gstchildproxy over from 0.8
5384           ported gst-inspect fixes and enhancements over from 0.8
5385
5386 2005-08-22  Wim Taymans  <wim@fluendo.com>
5387
5388         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5389         (gst_base_transform_handle_buffer):
5390         Also call the transform function if we have ANY caps.
5391
5392         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5393         Fix debug info.
5394
5395 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
5396
5397         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5398           Don't pretend to handle seek events if the source is not seekable
5399
5400 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
5401
5402         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5403           Remove extra parameter to debug output
5404
5405         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5406         (gst_base_src_do_seek), (gst_base_src_activate_push):
5407           Fix seek event handling.
5408
5409         * gst/gstpipeline.c: (gst_pipeline_change_state):
5410         * gst/gstqueue.c: (gst_queue_handle_sink_event),
5411         (gst_queue_src_activate_push):
5412           Don't start the src pad task on FLUSH_STOP if the pad
5413           isn't linked.
5414           Debug changes.
5415
5416 2005-08-22  Wim Taymans  <wim@fluendo.com>
5417
5418         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5419         Added check for gst_static_caps_get() refcounting.
5420
5421 2005-08-22  Wim Taymans  <wim@fluendo.com>
5422
5423         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5424         Make _static_caps_get() refcounting sane.
5425         
5426         * gst/gstelement.c: (gst_element_set_state):
5427         Add g_return_val_if_fail() to protect against segfaults.
5428
5429 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
5430
5431         * docs/gst/tmpl/gstevent.sgml:
5432         * gst/gstevent.c:
5433         * gst/gstevent.h:
5434           inlined remaining docs, added missing doc comments
5435
5436 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5437
5438         * check/gst/gstbin.c: (GST_START_TEST):
5439           since we don't know when preroll is done, use refcount range
5440           check for the sink
5441         * gst/check/gstcheck.h:
5442           add macro for checking refcount range
5443
5444 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5445
5446         * check/Makefile.am:
5447           clean up environment for when registry gets built versus
5448           when actual tests are run; valgrind seems to not report
5449           leaks if GST_PLUGIN_PATH is set to some specific values
5450         * check/gst/gstbin.c: (GST_START_TEST):
5451           add more refcounting checks; maybe this exposes a
5452           preroll lock bug ?
5453         * common/check.mak:
5454         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5455         * gst/check/gstcheck.h:
5456         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5457         (gst_bin_change_state):
5458         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5459           add/fix debugging/whitespace
5460
5461 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
5462
5463         * check/gst/gstevent.c: (event_probe), (test_event),
5464         (GST_START_TEST):
5465          Er, don't call gst_bin_watch_for_state_change you idiot.
5466
5467 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
5468
5469         * check/Makefile.am:
5470           Use CHECK_CFLAGS and CHECK_LIBS
5471         * check/gst/gstevent.c: (event_probe), (test_event),
5472         (GST_START_TEST):
5473           Don't leak events.
5474         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5475         (gst_base_src_start), (gst_base_src_stop),
5476         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5477         (gst_base_src_change_state):
5478           Sprinkle gst_base_src_stop liberally around error paths to fix
5479           problems reusing a source after failed state changes.
5480         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5481         (helper_find_suggest), (gst_type_find_helper):
5482           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5483         * gst/gstevent.h:
5484         * docs/gst/tmpl/gstevent.sgml:
5485           Migrate part of the docs from the SGML file. Wait for ensonic to
5486           tell me how I did it wrong ;)
5487         * tools/gst-typefind.c: (main):
5488           Extra robustness to state changes between files.
5489
5490 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5491
5492         * check/Makefile.am:
5493           don't valgrind the controller test - it's leaking - Stefan, HELP
5494         * gst/check/gstcheck.c: (gst_check_message_error),
5495         (gst_check_chain_func), (gst_check_setup_element),
5496         (gst_check_teardown_element), (gst_check_setup_src_pad),
5497         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5498         (gst_check_teardown_sink_pad):
5499         * gst/check/gstcheck.h:
5500           add a bunch of methods to set up elements, and src and sink pads
5501         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5502         * check/elements/identity.c: (setup_identity), (cleanup_identity),
5503         (GST_START_TEST):
5504           use them
5505         * gst/gstmessage.c:
5506         * gst/gsttag.h:
5507           whitespace/doc fixes
5508
5509 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5510
5511         * gst/gstelement.h:
5512           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5513           be handled by the application and not always printed as well
5514
5515 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5516
5517         * check/Makefile.am:
5518           set GST_TOOLS_DIR
5519         * gst/check/gstcheck.c: (gst_check_message_error):
5520         * gst/check/gstcheck.h:
5521           add a fail_unless_equals_int
5522           add fail_unless for error messages
5523
5524 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5525
5526         * check/Makefile.am:
5527         * check/gst.supp:
5528         * common/Makefile.am:
5529         * common/check.mak:
5530         * common/gst.supp:
5531           factor out some of the common stuff so we can use it
5532
5533 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5534
5535         * check/Makefile.am:
5536         * check/gst/gstiterator.c: (GST_START_TEST):
5537         * check/gst/gstsystemclock.c: (GST_START_TEST),
5538         (gst_systemclock_suite):
5539         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5540         * gst/gstclock.c:
5541           valgrind more tests
5542
5543 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5544
5545         * check/elements/.cvsignore:
5546         * check/elements/gstfakesrc.c:
5547           rename to name of element
5548         * check/elements/identity.c: (chain_func), (event_func),
5549         (setup_identity), (cleanup_identity), (GST_START_TEST),
5550         (identity_suite), (main):
5551           add a test for identity
5552         * check/Makefile.am:
5553         * pkgconfig/Makefile.am:
5554         * pkgconfig/gstreamer-check.pc.in:
5555         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5556         * gst/check:
5557         * gst/Makefile.am:
5558         * configure.ac:
5559           move the check stuff to a library that gets installed
5560         * check/gst-libs/controller.c: (GST_START_TEST):
5561         * check/gst-libs/gdp.c:
5562         * check/gst/gst.c: (GST_START_TEST):
5563         * check/gst/gstbin.c:
5564         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5565         * check/gst/gstbus.c:
5566         * check/gst/gstcaps.c: (GST_START_TEST):
5567         * check/gst/gstelement.c:
5568         * check/gst/gstghostpad.c:
5569         * check/gst/gstiterator.c:
5570         * check/gst/gstmessage.c:
5571         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5572         * check/gst/gstobject.c:
5573         * check/gst/gstpad.c: (GST_START_TEST):
5574         * check/gst/gststructure.c: (GST_START_TEST):
5575         * check/gst/gstsystemclock.c: (GST_START_TEST),
5576         (gst_systemclock_suite):
5577         * check/gst/gsttag.c: (gst_tag_suite):
5578         * check/gst/gstvalue.c:
5579         * check/pipelines/cleanup.c:
5580         * check/pipelines/simple_launch_lines.c:
5581         * check/states/sinks.c:
5582           change include statement
5583
5584         * docs/gst/gstreamer-sections.txt:
5585         * docs/gst/tmpl/gstpad.sgml:
5586           document more pad stuff
5587         * gst/gstminiobject.c: (gst_mini_object_ref),
5588         (gst_mini_object_unref):
5589           debug refcounting
5590
5591 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
5592
5593         * docs/gst/tmpl/gst.sgml:
5594         * gst/gst.c:
5595           eliminate another tmpl file, fix spelling in the long-description
5596
5597 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5598
5599         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5600         (test_event), (timediff), (gstevents_suite):
5601           Should fix build on 64-bit arch's
5602
5603 2005-08-18  Andy Wingo  <wingo@pobox.com>
5604
5605         Make sure that when a pipeline goes to PLAYING, that data has
5606         actually hit the sink.
5607
5608         * check/states/sinks.c (test_sink): A sink that doesn't get any
5609         data shouldn't return SUCCESS for going to either PLAYING or
5610         PAUSED. Test also the return values on the way back down.
5611
5612         * gst/gstelement.c (gst_element_set_state): When changing the
5613         state of an element currently changing state asynchronously, go to
5614         lost-state after commiting the pending state. Makes future calls
5615         to get_state continue to return ASYNC.
5616
5617         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5618         ASYNC when going to PLAYING if we still don't have preroll, as can
5619         happen with live sources.
5620
5621 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5622
5623         * docs/pwg/advanced-types.xml:
5624           Hack long paragraph into 2 chunks as a workaround for buggy
5625           jadetex version in sid and breezy that loops infinitely and
5626           eats all RAM.
5627
5628 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5629
5630         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5631         (test_event), (timediff), (gstevents_suite):
5632           Provide more error margin in clock measurements to allow for 
5633           g_get_current_time inaccuracies.
5634
5635 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5636
5637         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5638         (test_event), (timediff), (gstevents_suite):
5639            Fix error message output so I might be able to tell why the
5640            test works here but fails on the build farm.
5641
5642 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5643
5644         * check/Makefile.am:
5645         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5646         (test_event), (timediff), (gstevents_suite), (main):
5647           I wrote a test!
5648
5649         * docs/design/part-seeking.txt:
5650           Spelling correction
5651
5652         * docs/gst/tmpl/gstevent.sgml:
5653         * docs/gst/tmpl/gstfakesrc.sgml:
5654           Docs updates.
5655
5656         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5657           Treat a buffer-without-newsegment the same as a receiving 
5658           a newsegment not in time format, and disable syncing to the clock
5659           with a warning.
5660
5661         * gst/gstbus.c: (gst_bus_set_sync_handler):
5662           Assert if anyone tries to replace the existing sync_handler for bus, 
5663           as only the owner should be setting it.
5664
5665         * gst/gstevent.h:
5666           Have a fixed set of custom event enums with events identified by
5667           their structure name (as in 0.8), rather than a free-for-all
5668           allowing collisions between enum values from different plugins.
5669
5670         * gst/gstpad.c: (gst_pad_class_init):
5671           Docs change.
5672           
5673         * gst/gstqueue.c: (gst_queue_handle_sink_event):
5674           Handle out-of-band downstream events from the sending thread.
5675
5676 2005-08-17  Andy Wingo  <wingo@pobox.com>
5677
5678         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5679         play-timeout==0 to mean no timeout at all. In that case, don't
5680         bother with a get_state or a warning, just return directly, even
5681         if it's ASYNC.
5682
5683         * gst/base/gstbasetransform.c: Debug changes.
5684
5685         * gst/gstutils.h:
5686         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5687         ensure bins post state change messages. A bit of a hack but I can't
5688         think of a way to avoid it.
5689
5690         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5691
5692 2005-08-16  Andy Wingo  <wingo@pobox.com>
5693
5694         * gst/base/gstadapter.h:
5695         * gst/base/gstadapter.c (gst_adapter_take): New function, like
5696         peek() but you own the data. Not terribly efficient atm.
5697
5698 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5699
5700         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5701         (gst_element_found_tags):
5702         * gst/gstutils.h:
5703           Add two utility functions for tag handling.
5704
5705 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5706
5707         * docs/manual/advanced-dataaccess.xml:
5708         * docs/manual/basics-helloworld.xml:
5709           Fix docs to use _bin_add() before _link(), which fixes the examples
5710           with recent core versions (reported by Madhan Raj M
5711           <raj_madan@rediffmail.com>, #313199).
5712
5713 2005-08-16  Wim Taymans  <wim@fluendo.com>
5714
5715         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5716         Added subtract checks.
5717
5718         * docs/design/part-events.txt:
5719         Some more docs about newsegment
5720
5721         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5722         Fix FIXME
5723
5724         * gst/gstcaps.c: (gst_caps_to_string):
5725         Add comments, cleanups.
5726         
5727         * gst/gstelement.c: (gst_element_save_thyself):
5728         cleanups
5729         
5730         * gst/gstvalue.c: (gst_value_collect_int_range),
5731         (gst_string_unwrap), (gst_value_union_int_int_range),
5732         (gst_value_union_int_range_int_range),
5733         (gst_value_intersect_int_int_range),
5734         (gst_value_intersect_int_range_int_range),
5735         (gst_value_intersect_double_double_range),
5736         (gst_value_intersect_double_range_double_range),
5737         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5738         (gst_value_subtract_int_range_int),
5739         (gst_value_subtract_double_range_double),
5740         (gst_value_subtract_double_range_double_range),
5741         (gst_value_subtract_from_list), (gst_value_subtract_list),
5742         (gst_value_can_compare), (gst_value_compare_fraction):
5743         Cleanups, add comments, remove unneeded asserts.
5744
5745 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5746
5747         * tools/gst-launch.c: (event_loop):
5748           don't convert NULL structures to strings
5749
5750 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
5751
5752         * docs/gst/gstreamer-sections.txt:
5753           made some defines private
5754         * docs/gst/tmpl/gstconfig.sgml:
5755         * docs/gst/tmpl/gstqueue.sgml:
5756         * docs/gst/tmpl/gsttaglist.sgml:
5757         * docs/gst/tmpl/gsttypes.sgml:
5758         * docs/gst/tmpl/gstutils.sgml:
5759         * docs/pwg/appendix-porting.xml:
5760         * gst/base/gstbasesink.h:
5761         * gst/base/gstbasesrc.c:
5762         * gst/base/gstbasesrc.h:
5763         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5764         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5765         * gst/gstelement.c: (gst_element_class_init):
5766         * gst/gstpad.c: (gst_pad_class_init):
5767         * gst/gstqueue.c: (gst_queue_class_init):
5768         * gst/gstxml.c: (gst_xml_class_init):
5769           documented all undocumented signal inline
5770         * libs/gst/controller/gst-controller.h:
5771           added padding
5772
5773 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5774
5775         * docs/pwg/appendix-porting.xml:
5776           Document _set_link_function -> _set_setcaps_function.
5777
5778 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5779
5780         * check/Makefile.am:
5781           add a .check target for running the check
5782         * check/gst-libs/controller.c: (GST_START_TEST):
5783           cosmetic fixups
5784         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5785           complete checks for gstbuffer; would be nice if I could get the
5786           gcov stuff to work so I can see if I actually completed gstbuffer.c
5787         * check/gstcheck.h:
5788           add ASSERT_BUFFER_REFCOUNT
5789
5790 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
5791
5792         * docs/gst/gstreamer-sections.txt:
5793         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5794         * gst/gsttag.h:
5795           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5796           spew out a warning if a tag that is already registered
5797           is re-registered, unless it is re-registered with a 
5798           different type (#308438).
5799
5800 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
5801
5802         * docs/pwg/appendix-porting.xml:
5803         * docs/pwg/building-state.xml:
5804           Add some paragraphs about state changes in 0.9 to the PWG
5805           and the porting guide, in particular about the new meaning
5806           of GST_STATE_PAUSED and how to write state change functions
5807           with concurrent access by multiple threads in mind.
5808
5809 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
5810
5811         * docs/gst/gstreamer-docs.sgml:
5812         * docs/libs/gstreamer-libs-docs.sgml:
5813           added deprecation and since indexes
5814         * libs/gst/controller/gst-controller.c:
5815         * libs/gst/controller/gst-helper.c:
5816           added since tags
5817
5818
5819 2005-08-11  Wim Taymans  <wim@fluendo.com>
5820
5821         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5822         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5823         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5824         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5825         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5826         (gst_ghost_pad_set_target):
5827         Actually implement (re)setting the target on a ghostpad
5828         as described in the docs.
5829
5830 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5833           Check whether GST_DEBUG_NO_COLOR environment variable is
5834           set and disable coloured debug output if that is the case.
5835
5836 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5837
5838         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5839         (gst_type_find_helper):
5840           The memory returned by gst_type_find_peek() needs to
5841           stay valid until the end of a typefind function, and
5842           typefind functions may keep results from different 
5843           offsets around, so we can't just unref the buffer from
5844           the previous _peek(), but have to save all buffers 
5845           returned by _peek() until typefinding is done and only
5846           free them then.
5847
5848 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5849
5850         * docs/gst/gstreamer-sections.txt:
5851         * gst/gstutils.h:
5852           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5853
5854 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5855
5856         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5857           Fix a pretty good memleak.
5858
5859 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5860
5861         * gst/gstiterator.h:
5862           Fix wrong include and 'make distcheck'.
5863
5864 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5865
5866         * gst/gstbin.c: (bin_bus_handler):
5867           Use gst_element_post_message() instead.
5868
5869 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5870
5871         * gst/base/gstadapter.h:
5872         * gst/base/gstbasesink.h:
5873         * gst/base/gstbasesrc.h:
5874         * gst/base/gstbasetransform.h:
5875         * gst/base/gstcollectpads.h:
5876         * gst/base/gstpushsrc.h:
5877         * gst/gstiterator.h:
5878           Add padding to our base elements' class and instance structs and
5879           to GstIterator (you will need to rebuild all plugins and apps!)
5880
5881 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5882
5883         * gst/gstbin.c: (bin_bus_handler):
5884           Make default message forwarding from child->bus to bin->bus
5885           threadsafe and make it not emit warnings if the parent has no bus.
5886
5887 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5888
5889         * gst/gstelement.c: (activate_pads):
5890           On paused->ready, set pad->caps to NULL, as is the documented
5891           behaviour in this state change. Fixes playback of series of
5892           media files when visualization is enabled in Totem.
5893
5894 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5895
5896         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5897           Allow NULL as filter-caps (which means "any").
5898
5899 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * docs/libs/gstreamer-libs-sections.txt:
5902         * libs/gst/controller/gst-controller.c:
5903         * libs/gst/controller/gst-controller.h:
5904         * libs/gst/controller/gst-helper.c:
5905           adding more entries to the docs and fix small doc-bugs
5906
5907 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
5908
5909         * docs/gst/gstreamer-docs.sgml:
5910         * docs/gst/gstreamer-sections.txt:
5911         * docs/gst/gstreamer.types:
5912         * docs/gst/tmpl/gstbasesink.sgml:
5913         * docs/gst/tmpl/gstbasesrc.sgml:
5914         * docs/gst/tmpl/gstbasetransform.sgml:
5915         * docs/gst/tmpl/gstfakesrc.sgml:
5916         * gst/base/gstcollectpads.c:
5917         * gst/base/gstcollectpads.h:
5918         * libs/gst/controller/gst-controller.c:
5919         * libs/gst/controller/gst-controller.h:
5920         * libs/gst/controller/gst-helper.c:
5921         * libs/gst/controller/gst-interpolation.c:
5922         * libs/gst/controller/lib.c:
5923           added long/short desc for controller docs
5924           added collectpads base class docs
5925           added correct includes to base-class docs
5926
5927 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
5928
5929         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5930         (gst_test_mono_source_set_property),
5931         (gst_test_mono_source_class_init), (GST_START_TEST),
5932         (gst_controller_suite):
5933         * docs/gst/gstreamer-docs.sgml:
5934         * docs/gst/gstreamer-sections.txt:
5935         * docs/gst/gstreamer.types:
5936         * docs/libs/gstreamer-libs-docs.sgml:
5937         * docs/libs/gstreamer-libs-sections.txt:
5938         * gst/base/gstadapter.c:
5939         * libs/gst/controller/gst-controller.c:
5940         (gst_controlled_property_new), (gst_controlled_property_free),
5941         (gst_controller_new_valist),
5942         (gst_controller_remove_properties_valist),
5943         (gst_controller_sink_values), (_gst_controller_finalize):
5944         * libs/gst/controller/gst-controller.h:
5945         * libs/gst/controller/gst-helper.c:
5946         (gst_object_control_properties), (gst_object_uncontrol_properties),
5947         (gst_object_get_controller), (gst_object_set_controller),
5948         (gst_object_sink_values), (gst_object_get_value_arrays),
5949         (gst_object_get_value_array):
5950           more tests (and fixes) for the controller
5951           more docs for the controller
5952           integrated companies docs for the adapter 
5953
5954 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5955
5956         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5957         (GST_START_TEST), (fakesrc_suite):
5958           add tests for sizetype
5959
5960 2005-08-04  Andy Wingo  <wingo@pobox.com>
5961
5962         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5963         fixes buffer_alloc proxying among other things.
5964
5965         * gst/base/gstbasetransform.c:
5966         * gst/base/gstbasetransform.h:
5967         Revert patch to gstbasetransform from 7-28 removing
5968         delay_configure.
5969
5970         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5971         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5972         Semantics changed, should return not the size of the output buffer
5973         but the byte size of a buffer with a given caps.
5974
5975         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5976         debug object.
5977         (gst_base_transform_configure_caps): Don't set out_size here: (in,
5978         out) are not the pad caps until setcaps finishes.
5979         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5980         not-in-place case as well. Deal with changing from in-place to
5981         not-in-place within calling pad_alloc_buffer. Still a bit
5982         concerned about the overhead here...
5983
5984 2005-08-03  Andy Wingo  <wingo@pobox.com>
5985
5986         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5987         fixating is an error.
5988
5989 2005-08-04  Edward Hervey  <edward@fluendo.com>
5990
5991         * gst/base/gstadapter.h: 
5992         Added gst_adapter_get_type() to the header
5993
5994 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
5995
5996         * check/Makefile.am:
5997         * check/gst-libs/controller.c:
5998         * libs/gst/controller/gst-controller.c:
5999         (gst_controller_new_valist):
6000           added check test suite for the controller
6001         * gst/base/gstpushsrc.c:
6002           fixed a doc typo
6003
6004 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
6005
6006         * docs/gst/Makefile.am:
6007         * docs/gst/gstreamer-docs.sgml:
6008         * docs/gst/gstreamer-sections.txt:
6009         * docs/gst/gstreamer.types:
6010         * docs/gst/tmpl/gstfakesrc.sgml:
6011         * gst/base/README:
6012         * gst/base/gstbasesink.c:
6013         * gst/base/gstbasesink.h:
6014         * gst/base/gstbasesrc.c:
6015         * gst/base/gstbasesrc.h:
6016         * gst/base/gstbasetransform.c:
6017         * gst/base/gstpushsrc.c:
6018         * gst/base/gstpushsrc.h:
6019           add short/long description docs to base classes
6020           add pushsrc to the docs
6021           remove consolidated doc fragments
6022
6023 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
6024
6025         * configure.ac:
6026         * docs/libs/Makefile.am:
6027         * docs/libs/gstreamer-libs-docs.sgml:
6028         * docs/libs/gstreamer-libs-sections.txt:
6029         * docs/libs/gstreamer-libs.types:
6030         * examples/Makefile.am:
6031         * examples/controller/.cvsignore:
6032         * examples/controller/Makefile.am:
6033         * examples/controller/audio-example.c: (main):
6034         * libs/gst/Makefile.am:
6035         * libs/gst/controller/.cvsignore:
6036         * libs/gst/controller/Makefile.am:
6037         * libs/gst/controller/gst-controller.c:
6038         (on_object_controlled_property_changed), (gst_timed_value_compare),
6039         (gst_timed_value_find),
6040         (gst_controlled_property_set_interpolation_mode),
6041         (gst_controlled_property_new), (gst_controlled_property_free),
6042         (gst_controller_find_controlled_property),
6043         (gst_controller_new_valist), (gst_controller_new),
6044         (gst_controller_remove_properties_valist),
6045         (gst_controller_remove_properties), (gst_controller_set),
6046         (gst_controller_set_from_list), (gst_controller_unset),
6047         (gst_controller_get), (gst_controller_get_all),
6048         (gst_controller_sink_values), (gst_controller_get_value_arrays),
6049         (gst_controller_get_value_array),
6050         (gst_controller_set_interpolation_mode),
6051         (_gst_controller_finalize), (_gst_controller_init),
6052         (_gst_controller_class_init), (gst_controller_get_type):
6053         * libs/gst/controller/gst-controller.h:
6054         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6055         (g_object_uncontrol_properties), (g_object_get_controller),
6056         (g_object_set_controller), (g_object_sink_values),
6057         (g_object_get_value_arrays), (g_object_get_value_array):
6058         * libs/gst/controller/gst-interpolation.c:
6059         (gst_controlled_property_find_timed_value_node),
6060         (interpolate_none_get), (interpolate_trigger_get),
6061         (interpolate_trigger_get_value_array):
6062         * libs/gst/controller/lib.c: (gst_controller_init):
6063         * pkgconfig/Makefile.am:
6064         * pkgconfig/gstreamer-control-uninstalled.pc.in:
6065         * pkgconfig/gstreamer-control.pc.in:
6066         * testsuite/Makefile.am:
6067         * testsuite/controller/.cvsignore:
6068         * testsuite/controller/Makefile.am:
6069         * testsuite/controller/interpolator.c: (main):
6070           added controller code
6071           removed dparam pc files
6072
6073 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
6074         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6075         (gst_collectpads_stop):
6076           Broadcast the condition when shutting down, to make sure we wake all
6077           threads up. Shut down pads on finalize, for safety.
6078
6079 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
6080         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6081         (gst_base_transform_handle_buffer),
6082         (gst_base_transform_change_state):
6083           Handle PAUSED->READY->PAUSED transition after negotiation
6084           occurred already.
6085         * gst/gstmessage.c: (gst_message_init):
6086           Extra piece of debug for new messages.
6087
6088 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
6089
6090         * configure.ac:
6091         * docs/gst/tmpl/gstbasesrc.sgml:
6092         * docs/gst/tmpl/gstelement.sgml:
6093         * docs/gst/tmpl/gstevent.sgml:
6094         * docs/gst/tmpl/gstfakesrc.sgml:
6095         * docs/gst/tmpl/gstformat.sgml:
6096         * docs/gst/tmpl/gstghostpad.sgml:
6097         * docs/gst/tmpl/gstpad.sgml:
6098         * docs/gst/tmpl/gstquery.sgml:
6099         * docs/gst/tmpl/gststructure.sgml:
6100         * docs/gst/tmpl/gsttaglist.sgml:
6101         * docs/gst/tmpl/gstvalue.sgml:
6102         * docs/libs/gstreamer-libs-docs.sgml:
6103         * docs/libs/gstreamer-libs-sections.txt:
6104         * docs/libs/gstreamer-libs.types:
6105         * libs/gst/Makefile.am:
6106         * libs/gst/control/.cvsignore:
6107         * libs/gst/control/Makefile.am:
6108         * libs/gst/control/control.c:
6109         * libs/gst/control/control.h:
6110         * libs/gst/control/dparam.c:
6111         * libs/gst/control/dparam.h:
6112         * libs/gst/control/dparam_smooth.c:
6113         * libs/gst/control/dparam_smooth.h:
6114         * libs/gst/control/dparamcommon.h:
6115         * libs/gst/control/dparammanager.c:
6116         * libs/gst/control/dparammanager.h:
6117         * libs/gst/control/dplinearinterp.c:
6118         * libs/gst/control/dplinearinterp.h:
6119         * libs/gst/control/unitconvert.c:
6120         * libs/gst/control/unitconvert.h:
6121         * testsuite/Makefile.am:
6122         * testsuite/dynparams/.cvsignore:
6123         * testsuite/dynparams/Makefile.am:
6124         * testsuite/dynparams/dparamstest.c:
6125         * tools/Makefile.am:
6126         * tools/gst-inspect.c: (print_element_info), (main):
6127         * tools/gst-xmlinspect.c: (print_element_info), (main):
6128           deactivate and remove dparams (libgstcontrol)
6129
6130 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
6131
6132         * gst/elements/gsttypefindelement.c:
6133         (gst_type_find_element_have_type), (gst_type_find_element_init),
6134         (stop_typefinding), (gst_type_find_element_handle_event),
6135         (gst_type_find_element_chain), (gst_type_find_element_getrange):
6136         * gst/elements/gsttypefindelement.h:
6137           Set caps on all outgoing buffers, not just the first one.
6138
6139 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
6140
6141         * gst/elements/gsttypefindelement.c:
6142         (gst_type_find_element_have_type),
6143         (gst_type_find_element_check_set_buffer_caps),
6144         (gst_type_find_element_init), (stop_typefinding),
6145         (gst_type_find_element_handle_event),
6146         (gst_type_find_element_chain), (gst_type_find_element_getrange):
6147         * gst/elements/gsttypefindelement.h:
6148           Set caps on first outgoing buffer when we've found the type.
6149
6150 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * docs/gst/gstreamer-docs.sgml:
6153         * docs/gst/gstreamer-sections.txt:
6154         * docs/gst/tmpl/gstscheduler.sgml:
6155         * docs/gst/tmpl/gstschedulerfactory.sgml:
6156           Remove some old cruft from docs.
6157
6158 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
6159
6160         * gst/gstpad.h:
6161           Fix inline docs for GstPadLinkReturn.
6162           
6163         * gst/gststructure.c: (gst_structure_has_name):
6164         * gst/gststructure.h:
6165         * docs/gst/gstreamer-sections.txt:
6166           New API: gst_structure_has_name().
6167
6168 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * configure.ac:
6171           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6172           and _LARGEFILE_SOURCE in config.h as required. Do not 
6173           export those flags in our .pc files any longer (#142209).
6174
6175           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6176
6177         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6178         (gst_file_sink_do_seek), (gst_file_sink_event),
6179         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6180           Redo seek/tell calls with large file support in mind; add some
6181           debugging messages; add log message that tells us when large
6182           file support is unavailable or not enabled for some reason.
6183
6184         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6185           Add log message that tells us when large file support 
6186           is unavailable or not enabled for some reason.
6187
6188 2005-07-29  Wim Taymans  <wim@fluendo.com>
6189
6190         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6191         Added test for removing an element with ghostpad from a bin.
6192         Fixed test as current implementation does the right thing.
6193
6194         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6195         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6196         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6197         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6198         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6199         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6200         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6201         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6202         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6203         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6204         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6205         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6206         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6207         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6208         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6209         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6210         * gst/gstghostpad.h:
6211         Clean up ghostpads, remove properties for internal stuff.
6212         Make threadsafe.
6213         Fix refcounting.
6214         Prepare for switching targets, not all use cases work yet.
6215
6216 2005-07-29  Wim Taymans  <wim@fluendo.com>
6217
6218         * docs/design/part-gstghostpad.txt:
6219         Small update.
6220
6221         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6222         (gst_bin_remove_func):
6223         Unlinking pads while holding the bin LOCK is not a good
6224         idea.
6225
6226         * gst/gstpad.c: (gst_pad_class_init),
6227         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6228         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6229         No prob setting template after creating the pad.
6230
6231 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
6232
6233         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6234         (gst_bus_peek), (gst_bus_source_dispatch),
6235         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6236         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6237           gst_bus_poll may be called from other threads. Handle
6238           this nicely by not making poll_data disappear off the
6239           stack once gst_bus_poll returns.
6240           gst_bus_peek now increments the refcount on the returned
6241           message.
6242
6243 2005-07-29  Wim Taymans  <wim@fluendo.com>
6244
6245         * docs/design/part-gstghostpad.txt:
6246         Overview of current GhostPad datastructures and use
6247         cases for changing the target.
6248
6249 2005-07-28  Wim Taymans  <wim@fluendo.com>
6250
6251         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6252         Added checks for hierarchy consistency whan adding linked
6253         elements to bins.
6254
6255         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6256         Added check to test element scheduling without bin/pipeline.
6257
6258         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6259         First add elements to bin, then link.
6260         
6261         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6262         (gst_bin_remove_func):
6263         Unlink pads from elements added/removed from bin to maintain
6264         hierarchy consistency.
6265
6266 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6267
6268         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6269         (gst_base_transform_handle_buffer):
6270         * gst/base/gstbasetransform.h:
6271           Remove broken delay_configure (fixes renegotiation of software
6272           scaling pipelines); remove some leftover printf()s.
6273
6274 2005-07-28  Wim Taymans  <wim@fluendo.com>
6275
6276         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6277         Added some more tests for wrong hierarchy
6278
6279         * docs/design/part-overview.txt:
6280         Some updates.
6281
6282         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6283         Cleanups.
6284
6285         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6286         (gst_element_dispose):
6287         Some more cleanups.
6288
6289         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6290         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6291         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6292         (gst_pad_set_caps), (gst_pad_send_event):
6293         Check for correct hierarchy when linking pads. Moving to
6294         strict requirement for ghostpads when linking elements in
6295         different bins.
6296
6297         * gst/gstpad.h:
6298         Clean ups. Added WRONG_HIERARCHY return value.
6299
6300 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6301
6302         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6303           Better debug if no transform is possible.
6304
6305 2005-07-27  Wim Taymans  <wim@fluendo.com>
6306
6307         * docs/random/wtay/network-transp:
6308         Some old doc I had.
6309
6310 2005-07-27  Wim Taymans  <wim@fluendo.com>
6311
6312         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6313         (gst_dp_event_from_packet):
6314         Fix serialization of seek events.
6315
6316 2005-07-27  Wim Taymans  <wim@fluendo.com>
6317
6318         * check/gst-libs/gdp.c: (GST_START_TEST):
6319         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6320         Fix compilation and fix event serialization.
6321
6322 2005-07-27  Wim Taymans  <wim@fluendo.com>
6323
6324         * CHANGES-0.9:
6325         * docs/design/part-TODO.txt:
6326         * docs/design/part-events.txt:
6327         Some docs updates
6328
6329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6330         (gst_base_sink_event), (gst_base_sink_do_sync),
6331         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6332         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6333         (gst_base_src_do_seek), (gst_base_src_event_handler),
6334         (gst_base_src_loop):
6335         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6336         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6337         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6338         (gst_base_transform_event), (gst_base_transform_handle_buffer),
6339         (gst_base_transform_set_passthrough),
6340         (gst_base_transform_is_passthrough):
6341         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6342         * gst/elements/gstfilesink.c: (gst_file_sink_event):
6343         Event updates.
6344
6345         * gst/gstbuffer.h:
6346         Use faster casts.
6347
6348         * gst/gstelement.c: (gst_element_seek):
6349         * gst/gstelement.h:
6350         Update gst_element_seek.
6351
6352         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6353         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6354         (gst_event_new_flush_start), (gst_event_new_flush_stop),
6355         (gst_event_new_eos), (gst_event_new_newsegment),
6356         (gst_event_parse_newsegment), (gst_event_new_tag),
6357         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6358         (gst_event_parse_qos), (gst_event_new_seek),
6359         (gst_event_parse_seek), (gst_event_new_navigation):
6360         * gst/gstevent.h:
6361         Make GstEvent use GstStructure. Add parsing code, make sure the
6362         API is sufficiently generic.
6363         Mark possible directions of events and serialization.
6364
6365         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6366         (_gst_message_copy), (gst_message_new_segment_start),
6367         (gst_message_new_segment_done), (gst_message_new_custom),
6368         (gst_message_parse_segment_start),
6369         (gst_message_parse_segment_done):
6370         Small cleanups.
6371
6372         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6373         (gst_pad_set_caps), (gst_pad_send_event):
6374         Update for new events. 
6375         Catch events sent in wrong directions.
6376
6377         * gst/gstqueue.c: (gst_queue_link_src),
6378         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6379         (gst_queue_handle_src_query):
6380         Event updates.
6381
6382         * gst/gsttag.c:
6383         * gst/gsttag.h:
6384         Remove event code from this file.
6385
6386         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6387         (gst_dp_event_from_packet):
6388         Event updates.
6389
6390 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6391
6392         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6393         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6394         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6395           Make debugging actually useful.
6396
6397 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6398
6399         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6400         (gst_pad_fixate_caps):
6401           Implement default fixation once again, so that gst_pad_fixate()
6402           actually does anything at all. This probably needs to be some
6403           sort of a last resort, and use profile-based fixation first, but
6404           since that doesn't exist yet, this is the best we have. Fixes
6405           visualization in Totem.
6406
6407 2005-07-22  Wim Taymans  <wim@fluendo.com>
6408
6409         * docs/design/part-events.txt:
6410         Small update.
6411
6412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6413         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6414         (gst_base_sink_activate_pull):
6415         Some more comments.
6416
6417         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6418         (gst_fake_src_create):
6419         Fix handoff marshall.
6420
6421         * gst/elements/gstidentity.c: (gst_identity_class_init),
6422         (gst_identity_transform_ip):
6423         We're a real inplace element.
6424
6425         * gst/gstbus.c: (gst_bus_post):
6426         Added some comments.
6427
6428         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6429         * tests/muxing/case1.c: (main):
6430         * tests/sched/dynamic-pipeline.c: (main):
6431         * tests/sched/interrupt1.c: (main):
6432         * tests/sched/interrupt2.c: (main):
6433         * tests/sched/interrupt3.c: (main):
6434         * tests/sched/runxml.c: (main):
6435         * tests/sched/sched-stress.c: (main):
6436         * tests/seeking/seeking1.c: (event_received), (main):
6437         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6438         (main):
6439         * tests/threadstate/threadstate3.c: (main):
6440         * tests/threadstate/threadstate4.c: (main):
6441         * tests/threadstate/threadstate5.c: (main):
6442         Fix the tests.
6443
6444 2005-07-21  Wim Taymans  <wim@fluendo.com>
6445
6446         * docs/design/part-seeking.txt:
6447         Some small additions.
6448
6449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6450         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6451         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6452         * gst/base/gstbasesink.h:
6453         discont values are gint64, handle the math correctly.
6454
6455         * gst/base/gstbasesrc.c: (gst_base_src_loop):
6456         Make the basesrc report error if the source pad is not linked.
6457
6458         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6459         (gst_queue_loop), (gst_queue_handle_src_query),
6460         (gst_queue_src_activate_push):
6461         Make queue collect data even if the srcpad is not linked.
6462         Start pushing out data as soon as it is linked.
6463
6464         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6465         * gst/gstutils.h:
6466         Added gst_flow_get_name() to ease error reporting.
6467
6468 2005-07-20  Wim Taymans  <wim@fluendo.com>
6469
6470         * gst/gstmessage.c: (gst_message_new_segment_start),
6471         (gst_message_new_segment_done), (gst_message_parse_segment_start),
6472         (gst_message_parse_segment_done):
6473         * gst/gstmessage.h:
6474         Added a bunch of messages for advanced seeking.
6475
6476         * gst/parse/grammar.y:
6477         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6478         (gst_dpman_state_changed):
6479         Fix some new-pad -> pad-added signals
6480
6481 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6482
6483         * docs/manual/appendix-porting.xml:
6484         * docs/pwg/appendix-porting.xml:
6485           Document new-pad/state-change signal renames and the FixedList
6486           type rename.
6487
6488 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6489
6490         * docs/manual/advanced-autoplugging.xml:
6491         * docs/manual/basics-helloworld.xml:
6492         * docs/manual/basics-pads.xml:
6493         * docs/random/ds/0.9-suggested-changes:
6494         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6495         * gst/gstelement.h:
6496         * gst/gstevent.h:
6497         * gst/gstformat.h:
6498         * gst/gstquery.h:
6499         * gst/gststructure.c: (gst_structure_value_get_generic_type),
6500         (gst_structure_parse_array), (gst_structure_parse_value):
6501         * gst/gstvalue.c: (gst_type_is_fixed),
6502         (gst_value_list_prepend_value), (gst_value_list_append_value),
6503         (gst_value_list_get_size), (gst_value_list_get_value),
6504         (gst_value_transform_array_string), (gst_value_serialize_array),
6505         (gst_value_deserialize_array), (gst_value_intersect_array),
6506         (gst_value_is_fixed), (_gst_value_initialize):
6507         * gst/gstvalue.h:
6508           GstElement::new-pad -> pad-added, GstElement::state-change ->
6509           state-changed, GstValueFixedList -> GstValueArray, add format and
6510           flags as their own arguments in gst_element_seek() (should improve
6511           "bindeability"), remove function generators since they don't work
6512           under a whole bunch of compilers (they were deprecated already
6513           anyway).
6514
6515 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6516
6517         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6518         (_gst_debug_register_funcptr):
6519         * gst/gstinfo.h:
6520           Fix illegal cast on some platforms (#309253).
6521
6522 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6523
6524         * gst/gstmessage.c: (gst_message_new_custom):
6525         * gst/gstmessage.h:
6526           Add _new_custom, make _new_application a macro to _new_custom.
6527
6528 2005-07-20  Wim Taymans  <wim@fluendo.com>
6529
6530         * gst/base/gstbasesrc.c: (gst_base_src_init),
6531         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6532         * gst/base/gstbasesrc.h:
6533         Add a gboolean to decide when to push out a discont.
6534
6535         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6536         (gst_queue_loop), (gst_queue_handle_src_query),
6537         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6538         (gst_queue_set_property), (gst_queue_get_property):
6539         Some cleanups.
6540
6541         * tests/threadstate/threadstate1.c: (main):
6542         Make a thread test compile and run... very silly..
6543
6544
6545 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6546
6547         * docs/manual/appendix-porting.xml:
6548           Mention removal of libgstgconf-0.9.la and existence of gconf
6549           elements.
6550
6551 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6552
6553         * docs/pwg/advanced-clock.xml:
6554         * docs/pwg/appendix-porting.xml:
6555         * docs/pwg/intro-preface.xml:
6556         * docs/pwg/other-base.xml:
6557         * docs/pwg/other-manager.xml:
6558         * docs/pwg/other-nton.xml:
6559         * docs/pwg/other-ntoone.xml:
6560         * docs/pwg/other-oneton.xml:
6561         * docs/pwg/pwg.xml:
6562           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6563           demuxer), remove n-to-n (was never written), fix some code examples
6564           and links and update the porting section to include all this.
6565
6566 2005-07-19  Wim Taymans  <wim@fluendo.com>
6567
6568         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6569         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6570         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6571         (gst_queue_src_activate_push), (gst_queue_change_state),
6572         (gst_queue_get_property):
6573         * gst/gstqueue.h:
6574         Propagate GstFlowReturn more intelligently upstream and output
6575         an ERROR/EOS when streaming stopped due to fatal error.
6576
6577 2005-07-19  Wim Taymans  <wim@fluendo.com>
6578
6579         * tools/gst-launch.c: (check_intr), (event_loop), (main):
6580         Don't block forever for the state change to complete, the
6581         pipeline already did with a sensible timeout.
6582
6583 2005-07-19  Wim Taymans  <wim@fluendo.com>
6584
6585         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6586         Make sure we never call the create function is we
6587         got deactivated.
6588
6589 2005-07-19  Andy Wingo  <wingo@pobox.com>
6590
6591         * gst/parse/parse.l: Attempt to solve bug #172815.
6592
6593 2005-07-19  Wim Taymans  <wim@fluendo.com>
6594
6595         * docs/design/part-clocks.txt:
6596         * docs/design/part-events.txt:
6597         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6598         Small docs updates.
6599         Only update the seeking values when we are not
6600         busy streaming.
6601
6602 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
6603
6604         * gst/base/gstbasesrc.c: (gst_base_src_loop):
6605           Oops, ignore the result of gst_pad_push_event here.
6606
6607 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
6608
6609         * gst/base/gstbasesrc.c: (gst_base_src_loop),
6610         (gst_base_src_activate_push):
6611           Send discont event from the loop function, as pads
6612           aren't activated yet in the activate_push handler.
6613
6614         * gst/gstbin.c: (bin_bus_handler):
6615           Don't leak element name.
6616
6617 2005-07-18  Andy Wingo  <wingo@pobox.com>
6618
6619         * configure.ac: Use AS_LIBTOOL_TAGS.
6620
6621 2005-07-18  Wim Taymans  <wim@fluendo.com>
6622
6623         * docs/gst/gstreamer.types:
6624         Remove deleted types.
6625
6626 2005-07-18  Wim Taymans  <wim@fluendo.com>
6627
6628         * check/elements/gstfakesrc.c: (GST_START_TEST):
6629         * configure.ac:
6630         * gst/Makefile.am:
6631         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6632         (init_popt_callback):
6633         * gst/gst.h:
6634         * gst/gst_private.h:
6635         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6636         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6637         * gst/gstbin.h:
6638         * gst/gstbus.h:
6639         * gst/gstconfig.h.in:
6640         * gst/gstelement.c: (gst_element_class_init),
6641         (gst_element_set_base_time), (gst_element_get_base_time),
6642         (iterator_fold_with_resync), (gst_element_change_state),
6643         (gst_element_dispose), (gst_element_get_bus):
6644         * gst/gstelement.h:
6645         * gst/gstelementfactory.h:
6646         * gst/gsterror.c: (_gst_core_errors_init):
6647         * gst/gsterror.h:
6648         * gst/gstevent.h:
6649         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6650         * gst/gstindex.c:
6651         * gst/gstinfo.c: (_gst_debug_init):
6652         * gst/gstmessage.c: (_gst_message_copy):
6653         * gst/gstmessage.h:
6654         * gst/gstminiobject.h:
6655         * gst/gstobject.c:
6656         * gst/gstobject.h:
6657         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6658         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6659         * gst/gstpad.h:
6660         * gst/gstparse.h:
6661         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6662         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6663         (gst_pipeline_get_last_stream_time):
6664         * gst/gstpipeline.h:
6665         * gst/gstpluginfeature.h:
6666         * gst/gstquery.h:
6667         * gst/gstscheduler.c:
6668         * gst/gstscheduler.h:
6669         * gst/gststructure.h:
6670         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6671         (gst_task_finalize), (gst_task_func), (gst_task_create),
6672         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6673         (gst_task_stop), (gst_task_pause):
6674         * gst/gsttask.h:
6675         * gst/gsttypefind.h:
6676         * gst/gsttypes.h:
6677         * gst/registries/gstlibxmlregistry.c: (load_feature),
6678         (gst_xml_registry_load), (gst_xml_registry_save_feature):
6679         * gst/registries/gstxmlregistry.c:
6680         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6681         * gst/schedulers/threadscheduler.c:
6682         * libs/gst/control/dparammanager.h:
6683         * tools/gst-inspect.c: (print_element_list),
6684         (print_plugin_features), (print_element_features):
6685         * tools/gst-xmlinspect.c: (print_element_list),
6686         (print_plugin_info), (main):
6687         Removed plugable schedulers.
6688         Removed Scheduler/Manager from elements.
6689         Removed gsttypes.h, rearranged includes.
6690         Removed dependency pad<->element, element<>pipeline, and
6691         various others,  fix includes.
6692         implement gst_pad_get_parent() with gst_object_get_parent()
6693         Make GstTask sefcontained.
6694         Fix _get_state() on GstBin, it did not return ASYNC with a 0
6695         timeout.
6696         Fix endless loop in iterator_fold_with_resync.
6697
6698
6699 2005-07-18  Wim Taymans  <wim@fluendo.com>
6700
6701         * gst/Makefile.am:
6702         * gst/gstarch.h:
6703         Remove old file.
6704
6705 2005-07-18  Wim Taymans  <wim@fluendo.com>
6706
6707         * gst/Makefile.am:
6708         No more cothreads.h
6709
6710 2005-07-18  Wim Taymans  <wim@fluendo.com>
6711
6712         * gst/cothreads.c:
6713         * gst/cothreads.h:
6714         Let's remove these.
6715
6716 2005-07-18  Wim Taymans  <wim@fluendo.com>
6717
6718         * docs/design/part-dynamic.txt:
6719         * docs/design/part-events.txt:
6720         * docs/design/part-seeking.txt:
6721         Some more docs in the works.
6722
6723         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6724         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6725         (gst_base_transform_setcaps), (gst_base_transform_get_size),
6726         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6727         (gst_base_transform_handle_buffer),
6728         (gst_base_transform_sink_activate_push),
6729         (gst_base_transform_src_activate_pull),
6730         (gst_base_transform_set_passthrough),
6731         (gst_base_transform_is_passthrough):
6732         Refcounting fixes.
6733
6734         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6735         Cleanups.
6736
6737         * gst/gstevent.c: (gst_event_finalize):
6738         Set SRC to NULL.
6739
6740         * gst/gstutils.c: (gst_element_unlink),
6741         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6742         (gst_pad_proxy_setcaps):
6743         * gst/gstutils.h:
6744         Add _get_parent_element() to get a pads parent as an element.
6745
6746 2005-07-18  Wim Taymans  <wim@fluendo.com>
6747
6748         * check/gst/gstbin.c: (GST_START_TEST):
6749         Remove bogus test.
6750
6751 2005-07-18  Wim Taymans  <wim@fluendo.com>
6752
6753         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6754         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6755         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6756         (gst_base_sink_event), (gst_base_sink_do_sync),
6757         (gst_base_sink_chain), (gst_base_sink_loop),
6758         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6759         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6760         Refcounting fixes.
6761         Fix logic for returning ASYNC when not prerolled.
6762
6763 2005-07-18  Wim Taymans  <wim@fluendo.com>
6764
6765         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6766         Fix nasty refcount bug.
6767
6768 2005-07-16 Philippe Khalaf <burger@speedy.org>
6769
6770         * gst/elements/gstfdsrc.c:
6771         * gst/elements/gstfdsrc.h:
6772         * gst/elements/gstelements.c:
6773         * gst/elements/Makefile.am:
6774         Ported fdsrc to 0.9.
6775
6776 2005-07-16  Wim Taymans  <wim@fluendo.com>
6777
6778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6779         (gst_base_sink_do_sync):
6780         Fix compile error.
6781
6782 2005-07-16  Wim Taymans  <wim@fluendo.com>
6783
6784         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6785         (gst_base_sink_event), (gst_base_sink_get_times),
6786         (gst_base_sink_do_sync), (gst_base_sink_change_state):
6787         * gst/base/gstbasesink.h:
6788         Store and use discont values when syncing buffers as described
6789         in design docs.
6790         
6791         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6792         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6793         (gst_base_src_activate_push):
6794         Push discont event when starting.
6795
6796         * gst/elements/gstidentity.c: (gst_identity_transform):
6797         Small cleanups.
6798
6799         * gst/gstbin.c: (gst_bin_change_state):
6800         Small cleanups in base_time  distribution.
6801
6802         * gst/gstelement.c: (gst_element_set_base_time),
6803         (gst_element_get_base_time), (gst_element_change_state):
6804         * gst/gstelement.h:
6805         Added methods for the base_time of the element.
6806         Some MT fixes.
6807
6808         * gst/gstpipeline.c: (gst_pipeline_send_event),
6809         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6810         (gst_pipeline_get_last_stream_time):
6811         * gst/gstpipeline.h:
6812         MT fixes.
6813         Handle seeking as described in design doc, remove stream_time
6814         hack.
6815         Cleanups clock and stream_time selection code. Added accessors
6816         for the stream_time.
6817         
6818
6819 2005-07-16  Andy Wingo  <wingo@pobox.com>
6820
6821         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6822         (#305291).
6823
6824 2005-07-16  Wim Taymans  <wim@fluendo.com>
6825
6826         * check/gst/gstbin.c: (GST_START_TEST):
6827         Make elements silent as the deep_notify refs the
6828         parent, which might make the test fail.
6829
6830         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6831         Don't hold the lock for too long.
6832
6833 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
6834
6835         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6836           Don't unref the caps we passed to gst_caps_make_writable() after
6837           passing them. gst_caps_make_writable() will do that for us.
6838
6839 2005-07-15  Andy Wingo  <wingo@pobox.com>
6840
6841         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6842         (#157311).
6843
6844         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6845         own marshalling function for the handoff signal. Properly type the
6846         buffer as a buffer. Fixes some warnings. Should do a more general
6847         solution.
6848         (gst_identity_class_init): Plug into the right marshaller.
6849
6850 2005-07-15  Wim Taymans  <wim@fluendo.com>
6851
6852         * docs/design/part-TODO.txt:
6853         * docs/design/part-clocks.txt:
6854         * docs/design/part-element-sink.txt:
6855         * docs/design/part-events.txt:
6856         * docs/design/part-gstpipeline.txt:
6857         Updated docs, mostly DISCONT related.
6858
6859 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
6860
6861         * docs/pwg/building-pads.xml:
6862           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6863
6864 2005-07-15  Andy Wingo  <wingo@pobox.com>
6865
6866         * tools/gst-typefind.c: Update, add copyright block.
6867
6868         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6869         Normalize and truncate caps before fixation.
6870
6871         * gst/gstcaps.h:
6872         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6873         discards all but the first structure from its argument.
6874
6875 2005-07-15  Wim Taymans  <wim@fluendo.com>
6876
6877         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6878         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6879         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6880         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6881         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6882         (gst_base_transform_chain), (gst_base_transform_change_state),
6883         (gst_base_transform_set_passthrough),
6884         (gst_base_transform_is_passthrough):
6885         * gst/base/gstbasetransform.h:
6886         Make passthrough work using the bufferpools.
6887         Changed API a bit, subclasses have to write into a buffer
6888         provided by the base class.
6889         More debug info in nego functions.
6890         
6891         * gst/elements/gstidentity.c: (gst_identity_init),
6892         (gst_identity_transform):
6893         Port to new base class.
6894
6895 2005-07-15  Wim Taymans  <wim@fluendo.com>
6896
6897         * gst/gstmessage.c: (gst_message_new_state_changed):
6898         * tools/gst-launch.c: (event_loop), (main):
6899         Totally dump messages in -launch with the -m option.
6900         Fix message name for State messages,
6901
6902 2005-07-14  Wim Taymans  <wim@fluendo.com>
6903
6904         * gst/base/gstbasesrc.c: (gst_base_src_loop):
6905         Post error messages on errors.
6906
6907 2005-07-14  Wim Taymans  <wim@fluendo.com>
6908
6909         * gst/gstcaps.c: (gst_caps_do_simplify):
6910         Remove debug info.
6911
6912         * gst/gsterror.h:
6913         Define error for stream stopped.
6914
6915         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6916         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6917         Do proper return values.
6918
6919         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6920         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6921         (gst_pad_get_range):
6922         Better return values.
6923
6924         * gst/gstpad.h:
6925         Reorganise return values, add macro to check for fatal errors.
6926
6927         * gst/gstqueue.c: (gst_queue_chain):
6928         Return proper GstFlowReturn values,
6929
6930 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6931
6932         * docs/gst/gstreamer-sections.txt:
6933         * docs/gst/gstreamer.types:
6934         * docs/gst/tmpl/gst.sgml:
6935         * docs/gst/tmpl/gstbasesink.sgml:
6936         * docs/gst/tmpl/gstbasesrc.sgml:
6937         * docs/gst/tmpl/gstbasetransform.sgml:
6938         * docs/gst/tmpl/gstbin.sgml:
6939         * docs/gst/tmpl/gstbuffer.sgml:
6940         * docs/gst/tmpl/gstcaps.sgml:
6941         * docs/gst/tmpl/gstclock.sgml:
6942         * docs/gst/tmpl/gstcompat.sgml:
6943         * docs/gst/tmpl/gstconfig.sgml:
6944         * docs/gst/tmpl/gstelement.sgml:
6945         * docs/gst/tmpl/gstelementdetails.sgml:
6946         * docs/gst/tmpl/gstelementfactory.sgml:
6947         * docs/gst/tmpl/gstenumtypes.sgml:
6948         * docs/gst/tmpl/gsterror.sgml:
6949         * docs/gst/tmpl/gstevent.sgml:
6950         * docs/gst/tmpl/gstfakesink.sgml:
6951         * docs/gst/tmpl/gstfakesrc.sgml:
6952         * docs/gst/tmpl/gstfilesink.sgml:
6953         * docs/gst/tmpl/gstfilesrc.sgml:
6954         * docs/gst/tmpl/gstfilter.sgml:
6955         * docs/gst/tmpl/gstformat.sgml:
6956         * docs/gst/tmpl/gstghostpad.sgml:
6957         * docs/gst/tmpl/gstimplementsinterface.sgml:
6958         * docs/gst/tmpl/gstindex.sgml:
6959         * docs/gst/tmpl/gstindexfactory.sgml:
6960         * docs/gst/tmpl/gstinfo.sgml:
6961         * docs/gst/tmpl/gstiterator.sgml:
6962         * docs/gst/tmpl/gstmacros.sgml:
6963         * docs/gst/tmpl/gstmemchunk.sgml:
6964         * docs/gst/tmpl/gstminiobject.sgml:
6965         * docs/gst/tmpl/gstobject.sgml:
6966         * docs/gst/tmpl/gstpad.sgml:
6967         * docs/gst/tmpl/gstpadtemplate.sgml:
6968         * docs/gst/tmpl/gstparse.sgml:
6969         * docs/gst/tmpl/gstpipeline.sgml:
6970         * docs/gst/tmpl/gstplugin.sgml:
6971         * docs/gst/tmpl/gstpluginfeature.sgml:
6972         * docs/gst/tmpl/gstquery.sgml:
6973         * docs/gst/tmpl/gstqueue.sgml:
6974         * docs/gst/tmpl/gstregistry.sgml:
6975         * docs/gst/tmpl/gstregistrypool.sgml:
6976         * docs/gst/tmpl/gstscheduler.sgml:
6977         * docs/gst/tmpl/gstschedulerfactory.sgml:
6978         * docs/gst/tmpl/gststructure.sgml:
6979         * docs/gst/tmpl/gstsystemclock.sgml:
6980         * docs/gst/tmpl/gsttaglist.sgml:
6981         * docs/gst/tmpl/gsttagsetter.sgml:
6982         * docs/gst/tmpl/gsttrace.sgml:
6983         * docs/gst/tmpl/gsttrashstack.sgml:
6984         * docs/gst/tmpl/gsttypefind.sgml:
6985         * docs/gst/tmpl/gsttypefindfactory.sgml:
6986         * docs/gst/tmpl/gsttypes.sgml:
6987         * docs/gst/tmpl/gsturihandler.sgml:
6988         * docs/gst/tmpl/gsturitype.sgml:
6989         * docs/gst/tmpl/gstutils.sgml:
6990         * docs/gst/tmpl/gstvalue.sgml:
6991         * docs/gst/tmpl/gstversion.sgml:
6992         * docs/gst/tmpl/gstxml.sgml:
6993         * docs/libs/tmpl/gstcontrol.sgml:
6994         * docs/libs/tmpl/gstdataprotocol.sgml:
6995         * docs/libs/tmpl/gstdparam.sgml:
6996         * docs/libs/tmpl/gstdplinint.sgml:
6997         * docs/libs/tmpl/gstdpman.sgml:
6998         * docs/libs/tmpl/gstdpsmooth.sgml:
6999         * docs/libs/tmpl/gstgetbits.sgml:
7000         * docs/libs/tmpl/gstunitconvert.sgml:
7001         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7002         (gst_push_src_base_init), (gst_push_src_class_init),
7003         (gst_push_src_init), (gst_push_src_create):
7004         * gst/base/gstpushsrc.h:
7005         * gst/elements/gstelements.c:
7006         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7007         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7008         (gst_fake_sink_init), (gst_fake_sink_set_property),
7009         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7010         (gst_fake_sink_event), (gst_fake_sink_preroll),
7011         (gst_fake_sink_render), (gst_fake_sink_change_state):
7012         * gst/elements/gstfakesink.h:
7013         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7014         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7015         (gst_fake_src_base_init), (gst_fake_src_class_init),
7016         (gst_fake_src_init), (gst_fake_src_event_handler),
7017         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7018         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7019         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7020         (gst_fake_src_create_buffer), (gst_fake_src_create),
7021         (gst_fake_src_start), (gst_fake_src_stop):
7022         * gst/elements/gstfakesrc.h:
7023         * gst/elements/gstfilesink.c: (_do_init),
7024         (gst_file_sink_base_init), (gst_file_sink_class_init),
7025         (gst_file_sink_init), (gst_file_sink_dispose),
7026         (gst_file_sink_set_location), (gst_file_sink_set_property),
7027         (gst_file_sink_get_property), (gst_file_sink_open_file),
7028         (gst_file_sink_close_file), (gst_file_sink_query),
7029         (gst_file_sink_event), (gst_file_sink_render),
7030         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7031         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7032         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7033         * gst/elements/gstfilesink.h:
7034         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7035         (gst_file_src_class_init), (gst_file_src_init),
7036         (gst_file_src_finalize), (gst_file_src_set_location),
7037         (gst_file_src_set_property), (gst_file_src_get_property),
7038         (gst_file_src_map_region), (gst_file_src_map_small_region),
7039         (gst_file_src_create_mmap), (gst_file_src_create_read),
7040         (gst_file_src_create), (gst_file_src_is_seekable),
7041         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7042         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7043         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7044         (gst_file_src_uri_handler_init):
7045         * gst/elements/gstfilesrc.h:
7046           more autistic cleanliness in functions/names/defines
7047
7048 2005-07-13  Andy Wingo  <wingo@pobox.com>
7049
7050         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7051         source couldn't negotiate.
7052
7053         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7054         connections again.
7055
7056         * gst/gstutils.h:
7057         * gst/gstutils.c (gst_element_link_pads_filtered): New old
7058         function. I am channeling Hades. Put your boots on suckers!!!
7059
7060 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7061
7062         * testsuite/caps/Makefile.am:
7063         * testsuite/caps/value_compare.c:
7064         * testsuite/caps/value_intersect.c:
7065         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7066           move two testsuite apps over to the check dir
7067
7068 2005-07-12  Wim Taymans  <wim@fluendo.com>
7069
7070         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7071         Added more debug info in the negotiate process.
7072
7073         * gst/gstmessage.h:
7074         Prepare for segment playback.
7075
7076         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7077         Better debugging.
7078
7079         * gst/gstutils.c:
7080         Some more docs.
7081
7082         * tools/gst-launch.c: (main):
7083         NULL pipeline on errors.
7084
7085 2005-07-12  Andy Wingo  <wingo@pobox.com>
7086
7087         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7088         not it comes from a malloc region. Make sure our copy gets freed.
7089
7090 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7091
7092         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7093         * check/gst/gstmessage.c: (GST_START_TEST):
7094         * check/gst/gststructure.c: (GST_START_TEST),
7095         (gst_structure_suite), (main):
7096           more testing
7097         * gst/gstelement.c: (gst_element_message_full):
7098           clean up GError and debug string now that they get copied
7099         * gst/gstmessage.c: (gst_message_new_error),
7100         (gst_message_new_warning), (gst_message_parse_error),
7101         (gst_message_parse_warning):
7102           use GST_TYPE_G_ERROR for structure_new, and take copies of
7103           arguments, so that we don't mess up refcounting
7104
7105 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7106
7107         * check/Makefile.am:
7108           add per-test valgrind targets
7109         * check/gst-libs/gdp.c: (GST_START_TEST),
7110         (gst_data_protocol_suite), (main):
7111           clean up
7112
7113 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7114
7115         * check/Makefile.am:
7116           instate more valgrindable tests
7117         * check/elements/gstfakesrc.c: (chain_func), (event_func),
7118         (GST_START_TEST), (fakesrc_suite):
7119         * check/gst/gstpad.c: (GST_START_TEST):
7120         * check/gst/gststructure.c: (GST_START_TEST):
7121           fix test leaks
7122         * docs/gst/tmpl/gstminiobject.sgml:
7123         * gst/gstpad.c: (gst_pad_finalize):
7124           fix the static mutex leak
7125
7126 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7127
7128         * check/Makefile.am:
7129           add two more tests for valgrinding
7130         * check/gst/gstvalue.c: (GST_START_TEST):
7131           test refcount of deserialized buffer, found a leak
7132         * docs/gst/gstreamer-docs.sgml:
7133         * docs/gst/gstreamer-sections.txt:
7134         * docs/gst/gstreamer.types:
7135         * docs/gst/tmpl/gstminiobject.sgml:
7136           add miniobject to docs
7137         * gst/gstminiobject.c:
7138           add some docs
7139         * gst/gstvalue.c: (gst_value_deserialize_buffer),
7140         (gst_string_unwrap):
7141           fix a hard-to-find invalid write for one of the tests
7142           fix a leak for deserialized buffers
7143
7144 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7145
7146         * docs/pwg/advanced-events.xml:
7147         * docs/pwg/advanced-request.xml:
7148         * docs/pwg/advanced-scheduling.xml:
7149         * docs/pwg/appendix-porting.xml:
7150         * docs/pwg/building-boiler.xml:
7151         * docs/pwg/intro-preface.xml:
7152         * docs/pwg/other-ntoone.xml:
7153           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7154           of example code and explanation for pad activation, loop() and
7155           getrange() functions and a bit more. Remove old comments pointing
7156           to loop-functions.
7157         * examples/pwg/Makefile.am:
7158           Add loop/getrange examples.
7159
7160 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7161
7162         * configure.ac:
7163           check for valgrind binary + some fixes
7164         * check/gst.supp:
7165           valgrind suppressions for the tests
7166         * check/Makefile.am:
7167           add a valgrind: target that valgrinds the unit tests
7168         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7169         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7170         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7171         * check/gst/gstghostpad.c:
7172           added some cleanup
7173         * check/gst/gstdata.c:
7174           removed
7175         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7176         (thread_unref), (gst_mini_object_suite), (main):
7177           added
7178         * gst/gst.c: (gst_deinit):
7179         * gst/gst.h:
7180           add a method to clean up.
7181         * gst/gstsystemclock.c: (gst_system_clock_dispose),
7182         (gst_system_clock_obtain):
7183           allow for disposing the system clock.
7184         * tools/gst-launch.c: (main):
7185           deinit
7186
7187 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7188
7189         * docs/gst/tmpl/gstbasesrc.sgml:
7190         * docs/gst/tmpl/gstfakesrc.sgml:
7191         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7192         (gst_base_src_init), (gst_base_src_set_property),
7193         (gst_base_src_get_property), (gst_base_src_get_range),
7194         (gst_base_src_start):
7195         * gst/base/gstbasesrc.h:
7196           add num-buffers property
7197         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7198         (gst_fakesrc_init), (gst_fakesrc_set_property),
7199         (gst_fakesrc_get_property), (gst_fakesrc_create),
7200         (gst_fakesrc_start):
7201           remove num-buffers property
7202
7203 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7204
7205         * docs/gst/gstreamer-sections.txt:
7206         * docs/gst/tmpl/gstbasesink.sgml:
7207         * docs/gst/tmpl/gstbasesrc.sgml:
7208         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7209         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7210         (gst_base_sink_finalize), (gst_base_sink_set_clock),
7211         (gst_base_sink_set_property), (gst_base_sink_get_property),
7212         (gst_base_sink_handle_object), (gst_base_sink_event),
7213         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7214         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7215         (gst_base_sink_loop), (gst_base_sink_deactivate),
7216         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7217         (gst_base_sink_change_state):
7218         * gst/base/gstbasesink.h:
7219         * gst/base/gstbasesrc.h:
7220         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7221         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7222         (gst_filesink_init):
7223           more macro splitting
7224
7225 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7226
7227         * gst/gstelement.c: (gst_element_get_bus):
7228           add debug
7229         * tools/gst-launch.c: (check_intr), (event_loop):
7230           fix bus leaks
7231
7232 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7233
7234         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7235           fix a caps leak
7236
7237 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7238
7239         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7240         (gst_base_src_finalize):
7241           add finalize method and clean up properly
7242         * gst/gstpipeline.c: (gst_pipeline_dispose):
7243           add debug
7244
7245 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7246
7247         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7248         (gst_bin_suite):
7249           add more things to check
7250         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7251         * gst/gstelement.c:
7252           more debug
7253
7254 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7255
7256         * check/elements/gstfakesrc.c: (chain_func), (event_func),
7257         (GST_START_TEST), (fakesrc_suite):
7258         * check/gst-libs/gdp.c: (GST_START_TEST):
7259         * check/gst/gst.c: (GST_START_TEST):
7260         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7261         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7262         * check/gst/gstbus.c: (GST_START_TEST):
7263         * check/gst/gstcaps.c: (GST_START_TEST):
7264         * check/gst/gstdata.c: (GST_START_TEST):
7265         * check/gst/gstelement.c: (GST_START_TEST):
7266         * check/gst/gstghostpad.c: (GST_START_TEST):
7267         * check/gst/gstiterator.c: (GST_START_TEST):
7268         * check/gst/gstmessage.c: (GST_START_TEST):
7269         * check/gst/gstobject.c: (GST_START_TEST):
7270         * check/gst/gstpad.c: (GST_START_TEST):
7271         * check/gst/gststructure.c: (GST_START_TEST):
7272         * check/gst/gstsystemclock.c: (GST_START_TEST),
7273         (gst_systemclock_suite):
7274         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7275         * check/gst/gstvalue.c: (GST_START_TEST):
7276         * check/pipelines/cleanup.c: (GST_START_TEST):
7277         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7278         * check/states/sinks.c: (GST_START_TEST):
7279         * check/gstcheck.c: (gst_check_init):
7280         * check/gstcheck.h:
7281           add debugging category
7282           use GST_START_TEST now, so we add a debug line
7283
7284 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7285
7286         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7287           add test for state change message on a bin
7288         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7289           add another test
7290         * gst/gstbin.c: (gst_bin_init):
7291         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7292         * gst/gstelement.c: (gst_element_post_message),
7293         (gst_element_set_state):
7294         * gst/gstelementfactory.c: (gst_element_factory_create):
7295         * gst/gstmessage.c: (gst_message_new):
7296         * gst/gstscheduler.c:
7297           various debugging additions and cleanups
7298
7299 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7300
7301         * check/Makefile.am:
7302         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7303         (main):
7304           adding tests for elements
7305         * gst/gstelement.c: (gst_element_dispose):
7306
7307 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7308
7309         * gst/registries/gstlibxmlregistry.c: (load_feature):
7310           plug more leaks.  A simple gst_init() now is leakfree, yay.
7311
7312 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7313
7314         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7315         (gst_xml_registry_load):
7316           plug another memleak
7317
7318 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7319
7320         * configure.ac:
7321           use GST_SET_ERROR_CFLAGS
7322         * docs/faq/cvs.xml:
7323           change to ERROR_CFLAGS
7324
7325 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7326
7327         * configure.ac:
7328           make GST_ERROR_CFLAGS overridable and re-enable Werror
7329         * docs/faq/cvs.xml:
7330           add a note about error CFLAGS
7331         * docs/gst/tmpl/gstfakesrc.sgml:
7332         * gst/elements/gstfakesrc.c:
7333           comment out some unused code
7334         * gst/gst.c: (split_and_iterate):
7335         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7336         (load_feature):
7337           plug some memleaks
7338
7339 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7340
7341         * common/Makefile.am:
7342         * common/gtk-doc.mak:
7343         * docs/gst/Makefile.am:
7344           factor out gtk-doc.mak
7345
7346 2005-07-07  Wim Taymans  <wim@fluendo.com>
7347
7348         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7349         (gst_thread_scheduler_dispose):
7350         Unlock the STREAM_LOCK completely.
7351
7352 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7353
7354         * check/Makefile.am:
7355         * check/elements/.cvsignore:
7356         * check/elements/gstfakesrc.c: (chain_func), (event_func),
7357         (START_TEST), (fakesrc_suite), (main):
7358         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7359         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7360         (gst_fakesrc_create), (gst_fakesrc_start):
7361         * gst/elements/gstfakesrc.h:
7362           adding a first element test
7363
7364 2005-07-07  Andy Wingo  <wingo@pobox.com>
7365
7366         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7367         debug message.
7368
7369 2005-07-07  Wim Taymans  <wim@fluendo.com>
7370
7371         * gst/gstquery.c:
7372         * gst/gstquery.h:
7373         Remove old types
7374
7375 2005-07-07  Wim Taymans  <wim@fluendo.com>
7376
7377         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7378         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7379         Allow subclasses to implement their own negotiation.
7380
7381 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
7382
7383         * docs/design/part-gstbin.txt:
7384         * docs/design/part-gstpipeline.txt:
7385           Update design notes to reflect the movement of
7386           responsibility for bus handling from GstPipeline to
7387           GstBin
7388
7389 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
7390
7391         * configure.ac:
7392           Remove unnecessary queue2/3/4 examples.
7393
7394 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
7395
7396         * examples/Makefile.am:
7397         * examples/helloworld/helloworld.c: (event_loop), (main):
7398         * examples/queue/queue.c: (event_loop), (main):
7399         * examples/queue2/queue2.c: (main):
7400           Update a couple of the examples to work again.
7401
7402         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7403         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7404          Spelling corrections and extra debug.
7405         
7406         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7407         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7408         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7409         * gst/gstbin.h:
7410         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7411         (gst_pipeline_change_state):
7412         * gst/gstpipeline.h:
7413           Move the bus handler for children to the GstBin, and create a
7414           separate bus for receiving messages from children to the one the
7415           bus sends 'upwards' on.
7416
7417 2005-07-06  Wim Taymans  <wim@fluendo.com>
7418
7419         * gst/base/README:
7420         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7421         (gst_base_sink_handle_object), (gst_base_sink_loop),
7422         (gst_base_sink_change_state):
7423         * gst/base/gstbasesink.h:
7424         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7425         (gst_base_src_init), (gst_base_src_setcaps),
7426         (gst_base_src_getcaps), (gst_base_src_loop),
7427         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7428         (gst_base_src_start), (gst_base_src_change_state):
7429         * gst/base/gstbasesrc.h:
7430         Make basesrc negotiate.
7431         Handle the case where preroll fails in basesink.
7432         Update README.
7433
7434 2005-07-06  Wim Taymans  <wim@fluendo.com>
7435
7436         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7437         Implement the fixate function.
7438         Clean up acceptcaps.
7439
7440 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7441
7442         * docs/pwg/building-filterfactory.xml:
7443         * docs/pwg/pwg.xml:
7444           Remove never-written filter-factory chapter; I'll add the various
7445           base classes to part 4 ("other element types") later on.
7446
7447 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7448
7449         * docs/pwg/advanced-negotiation.xml:
7450         * docs/pwg/building-boiler.xml:
7451         * docs/pwg/building-pads.xml:
7452         * docs/pwg/pwg.xml:
7453         * examples/pwg/Makefile.am:
7454           Add a chapter on caps negotiation, simplify the original code
7455           samples a bit w.r.t. caps negotiation, add link to the advanced
7456           section. Add a bunch of examples showing different use cases of
7457           different types of caps negotiation. Upstream renegotiation isn't
7458           fully documented yet since nobody knows how that works.
7459
7460 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7461
7462         * check/gst/gstpad.c:
7463         * check/gstcheck.c:
7464         * gst/gstpad.c: (gst_pad_get_internal_links_default):
7465           if pad has no parent, return NULL as list of internal links
7466
7467 2005-07-05  Andy Wingo  <wingo@pobox.com>
7468
7469         * gst/elements/gstfilesrc.c:
7470         * gst/elements/gstfakesrc.c: 
7471         * gst/base/gstpushsrc.c:
7472         * gst/base/gstbasesrc.h: 
7473         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7474         
7475 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
7476
7477         * Makefile.am:
7478           better report generation target (lcov needs a patch)
7479
7480 2005-07-05  Andy Wingo  <wingo@pobox.com>
7481
7482         * gst/elements, testsuite: Null if we got it...
7483
7484 2005-07-05  Wim Taymans  <wim@fluendo.com>
7485
7486         * configure.ac:
7487         * libs/gst/dataprotocol/Makefile.am:
7488         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7489         * libs/gst/dataprotocol/dataprotocol.h:
7490         * pkgconfig/Makefile.am:
7491         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7492         * pkgconfig/gstreamer-dataprotocol.pc.in:
7493         Ported dataprotol to 0.9. 
7494         Added pkgconfig files.
7495
7496 2005-07-05  Andy Wingo  <wingo@pobox.com>
7497
7498         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7499         Default to returning TRUE for the case when tranform_caps returns
7500         a fixed caps, like for identity or volume.
7501
7502         * check/gst/gstbus.c (pound_bus_with_messages): 
7503         * check/gst/gstmessage.c (START_TEST): 
7504         * check/pipelines/simple_launch_lines.c (got_handoff): Application
7505         message API change.
7506
7507         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7508         logic weaks here: always run transform_caps, trying passthrough
7509         operation only if the original caps intersects with the transform.
7510
7511         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7512         source and sink caps.
7513
7514         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7515         Intersect the peer caps with the pad template before going into
7516         transform_caps.
7517         (gst_base_transform_transform_caps): More debugging.
7518
7519         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7520         src argument.
7521
7522 2005-07-04  Edward Hervey  <edward@fluendo.com>
7523
7524         * gst/gstutils.c:
7525         * gst/gstutils.h:
7526         (gst_pad_add_*_probe): now returns the signal id for better wrapping
7527         in bindings.
7528
7529 2005-07-04  Andy Wingo  <wingo@pobox.com>
7530
7531         * check/gst/gstpad.c: Only set explicit caps on pads.
7532
7533 2005-07-01  Andy Wingo  <wingo@pobox.com>
7534
7535         * tests/network-clock.scm: Commentary update.
7536
7537         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7538         Didn't really make sense, not implementable with basetransform,
7539         etc.
7540         (gst_identity_transform): Unref inbuf via make_writable. Feeble
7541         attempt at implementing the sync property, needs an unlock method.
7542
7543         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7544         New func, by default returns the same caps (the identity
7545         transformation).
7546         (gst_base_transform_getcaps): Uses transform_caps to return
7547         something sensible.
7548         (gst_base_transform_setcaps): Complicated logic to get caps on
7549         both pads, even if they are different, and to call set_caps once
7550         for every time both pads get their caps set.
7551         (gst_base_transform_handle_buffer): Give the ref to the transform
7552         function. Allows in-place modification of the buffer.
7553
7554         * gst/base/gstbasetransform.h (transform_caps): New class method.
7555         Given caps on one side, what can I do on the other.
7556         (set_caps): Take two caps, one for each side of the element.
7557
7558         * gst/gstpad.h:
7559         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7560         caps in place. This is safe because we can check the mutability of
7561         the caps, and a good idea because fixate functions are just called
7562         as a matter of last resort. (Not actually implemented.)
7563         (gst_pad_set_caps): If the caps we're setting is actually the same
7564         as the existing pad caps, just update the pointer without calling
7565         setcaps. Assert that caps is either NULL or fixed, as per the
7566         docs.
7567
7568         * gst/gstghostpad.c: Update for fixate changes.
7569
7570 2005-07-02  Andy Wingo  <wingo@pobox.com>
7571
7572         * gst/gstcaps.c:
7573         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7574         two refcounts makes it immutable, which is enough. Doc more.
7575
7576 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
7577
7578         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7579           Put the mini_object into GValue as a mini_object,
7580           not a gpointer, since that's how we declared
7581           the signal.
7582
7583 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7584
7585         * examples/pwg/Makefile.am:
7586           Fix buildbot again.
7587
7588 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7589
7590         * docs/pwg/building-testapp.xml:
7591           Add extra check.
7592         * examples/pwg/Makefile.am:
7593           Fix buildbot.
7594
7595 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7596
7597         * configure.ac:
7598         * examples/Makefile.am:
7599         * examples/pwg/Makefile.am:
7600         * examples/pwg/extract.pl:
7601           Enable building the PWG examples.
7602         * docs/pwg/advanced-interfaces.xml:
7603           Add URI interface stub.
7604         * docs/pwg/advanced-types.xml:
7605         * docs/pwg/other-autoplugger.xml:
7606         * docs/pwg/appendix-porting.xml:
7607         * docs/pwg/pwg.xml:
7608           Add porting guide (mostly stubs), remove autoplugging (see ADM).
7609         * docs/pwg/building-boiler.xml:
7610         * docs/pwg/building-chainfn.xml:
7611         * docs/pwg/building-pads.xml:
7612         * docs/pwg/building-props.xml:
7613         * docs/pwg/building-state.xml:
7614         * docs/pwg/building-testapp.xml:
7615           Update the building-*.xml parts for 0.9 changes. All examples
7616           code blocks compile in examples/pwg/*.
7617
7618 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7619
7620         * docs/manual/advanced-autoplugging.xml:
7621         * docs/manual/appendix-checklist.xml:
7622         * docs/manual/appendix-integration.xml:
7623         * docs/manual/highlevel-components.xml:
7624           Fix playbin/decodebin examples, update docs a bit, mention bus
7625           instead of signals in various places, mention kmplayer and
7626           kaffeine since they have a working GStreamer backend in the KDE
7627           section.
7628
7629 2005-06-30  Wim Taymans  <wim@fluendo.com>
7630
7631         * CHANGES-0.9:
7632         * docs/design/draft-ghostpads.txt:
7633         * docs/design/draft-push-pull.txt:
7634         * docs/design/draft-query.txt:
7635         * docs/design/part-TODO.txt:
7636         * docs/design/part-query.txt:
7637         Added CHANGES-0.9 doc, updated status of other docs.
7638         
7639         * gst/gstquery.h:
7640         Remove "hmm" macro
7641
7642 2005-06-30  Wim Taymans  <wim@fluendo.com>
7643
7644         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7645         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7646         (gst_base_sink_change_state):
7647         * gst/base/gstbasesink.h:
7648         Some tweaks, only EOS and a buffer complete a preroll.
7649
7650 2005-06-30  Andy Wingo  <wingo@pobox.com>
7651
7652         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7653         activate_push down to the internal pad as well.
7654
7655 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
7656
7657         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7658
7659         * gst/gsttaginterface.c:
7660           Some documentation fixes (#307394 and #307397).
7661
7662 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
7663
7664         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7665
7666         * gst/gstvalue.c: (gst_value_intersect_list):
7667           Fix memleak (#309125).
7668
7669 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7670
7671         * docs/manual/advanced-dataaccess.xml:
7672           Fix fakesrc example to compile; doesn't work, bug somewhere...?
7673         * docs/manual/basics-pads.xml:
7674           Add reference for filtered caps to above chapter.
7675
7676 2005-06-30  Wim Taymans  <wim@fluendo.com>
7677
7678         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7679         (gst_bin_change_state):
7680         Probes are gone.
7681         Lame attempt at making the state change function a bit
7682         more readable.
7683
7684 2005-06-30  Wim Taymans  <wim@fluendo.com>
7685
7686         * docs/design/part-clocks.txt:
7687         * docs/design/part-element-sink.txt:
7688         * docs/design/part-events.txt:
7689         * docs/design/part-preroll.txt:
7690         * docs/design/part-states.txt:
7691         Some more tweeks and additions to the docs.
7692
7693 2005-06-30  Wim Taymans  <wim@fluendo.com>
7694
7695         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7696         (default_have_data), (gst_pad_class_init), (gst_pad_init),
7697         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7698         (gst_pad_check_pull_range), (gst_pad_get_range),
7699         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7700         * gst/gstpad.h:
7701         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7702         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7703         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7704         (gst_pad_remove_buffer_probe):
7705         Removed atomic operations, use existing LOCK.
7706         Move exception handling out of main code path.
7707
7708 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7709
7710         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7711         (silly_return_true_function), (gst_pad_class_init),
7712         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7713         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7714         (gst_pad_send_event):
7715           Fix accumulator, add default value by using _emitv() instead
7716           of _emit() for signal emission.
7717
7718 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7719
7720         * docs/manual/advanced-dataaccess.xml:
7721         * examples/manual/Makefile.am:
7722           Add probe example.
7723         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7724           Make work (??).
7725
7726 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
7727
7728         * gst/elements/gstfilesink.c: (gst_filesink_render):
7729           Simplify code so that we don't have to handle short
7730           writes and return GST_FLOW_ERROR if an error occured.
7731
7732 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7733
7734         * docs/gst/gstreamer-docs.sgml:
7735           Remove probes more.
7736
7737 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7738
7739         * docs/gst/gstreamer-sections.txt:
7740         * docs/gst/tmpl/gstpad.sgml:
7741         * docs/gst/tmpl/gstprobe.sgml:
7742         * gst/Makefile.am:
7743         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7744         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7745         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7746         (gst_pad_push_event), (gst_pad_send_event):
7747         * gst/gstpad.h:
7748         * gst/gstutils.c: (gst_pad_add_data_probe),
7749         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7750         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7751         (gst_pad_remove_buffer_probe):
7752         * gst/gstutils.h:
7753           Remove old probes, add new g-signal-based probes and some utility
7754           functions.
7755
7756 2005-06-29  Edward Hervey  <edward@fluendo.com>
7757
7758         * gst/gstelementfactory.c:
7759         * gst/gstutils.h:
7760         * gst/gstutils.c:
7761         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7762         the definition to the header file.
7763
7764 2005-06-29  Andy Wingo  <wingo@pobox.com>
7765
7766         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7767         plugins from the source directory.
7768
7769 2005-06-29  Wim Taymans  <wim@fluendo.com>
7770
7771         * docs/gst/tmpl/gstbuffer.sgml:
7772         * docs/gst/tmpl/gstclock.sgml:
7773         Some fixings for blantently wrong text.
7774
7775 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7776
7777         * check/Makefile.am:
7778         * gst/gst.c: (add_path_func), (init_pre):
7779         * gst/gstregistry.c: (gst_registry_add_path):
7780           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7781           only scan the GST_PLUGIN_PATH locations, and not add
7782           system locations
7783
7784 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7785
7786         * docs/gst/gstreamer-sections.txt:
7787         * docs/gst/tmpl/gstbasesrc.sgml:
7788         * gst/gstelement.c:
7789         * gst/gstelement.h:
7790         * gst/gstevent.c:
7791         * gst/gstutils.c:
7792           doc fixes
7793
7794 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7795
7796         * docs/manual/advanced-autoplugging.xml:
7797           Fix autoplugging example.
7798
7799 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7800
7801         * docs/manual/advanced-autoplugging.xml:
7802         * docs/manual/mime-world.fig:
7803           Try to get autoplugging working, fix type detection. Fix text
7804           in hello-world image.
7805
7806 2005-06-29  Wim Taymans  <wim@fluendo.com>
7807
7808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7809         (gst_base_sink_change_state):
7810         Small debug line.
7811
7812         * gst/gstclock.h:
7813         map SIGNAL and BROADCAST to the right function.
7814
7815         * gst/gstobject.h:
7816         Remove redundant braces.
7817
7818         * gst/gstpad.c: (gst_pad_set_caps):
7819         Don't call setcaps function when reseting caps to NULL.
7820
7821         * gst/gstsystemclock.c: (gst_system_clock_dispose),
7822         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7823         (gst_system_clock_id_unschedule):
7824         Use BROADCAST as this is what we do.
7825
7826 2005-06-29  Wim Taymans  <wim@fluendo.com>
7827
7828         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7829         We are actually prerolling before commiting the state
7830         change. 
7831
7832 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7833
7834         * docs/manual/advanced-clocks.xml:
7835         * docs/manual/advanced-interfaces.xml:
7836         * docs/manual/advanced-metadata.xml:
7837         * docs/manual/advanced-position.xml:
7838         * docs/manual/advanced-schedulers.xml:
7839         * docs/manual/advanced-threads.xml:
7840         * docs/manual/appendix-porting.xml:
7841         * docs/manual/basics-bins.xml:
7842         * docs/manual/basics-bus.xml:
7843         * docs/manual/basics-elements.xml:
7844         * docs/manual/basics-helloworld.xml:
7845         * docs/manual/basics-pads.xml:
7846         * docs/manual/highlevel-components.xml:
7847         * docs/manual/manual.xml:
7848         * docs/manual/thread.fig:
7849           Update (until threads/scheduling) Application Development Manual;
7850           remove GstThread, add GstBus, add simple porting checklist, add
7851           documentation for tag writing, clocks, make all examples until this
7852           part compile and run.
7853         * examples/manual/Makefile.am:
7854           Update from changes to Application Development Manual; add bus
7855           example, remove thread example.
7856
7857 2005-06-28  Wim Taymans  <wim@fluendo.com>
7858
7859         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7860         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7861         (gst_bus_source_dispatch):
7862         Add debugging messages.
7863         Make internal methods static.
7864         Handle the case where the bus is flushed in the handler.
7865         
7866         * gst/gstelement.c: (gst_element_get_bus):
7867         Fix refcount in _get_bus();
7868
7869         * gst/gstpipeline.c: (gst_pipeline_change_state),
7870         (gst_pipeline_get_clock_func):
7871         Clock refcounting fixes.
7872         Handle the case where preroll timed out more gracefully.
7873         
7874         * gst/gstsystemclock.c: (gst_system_clock_dispose):
7875         Clean up the internal thread in dispose. This is needed
7876         for subclasses that actually get disposed.
7877         
7878         * gst/schedulers/threadscheduler.c:
7879         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7880         (gst_thread_scheduler_dispose):
7881         Free thread pool in dispose.
7882
7883 2005-06-28  Andy Wingo  <wingo@pobox.com>
7884
7885         * tests/network-clock-utils.scm (debug, print-event): New utils.
7886
7887         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7888         (*packet-loss*): Unified loss probability.
7889         (network-time): Report out-of-band events.
7890
7891         * tests/plot-data: Add support for out-of-band events. Hack it
7892         into this script instead of passing it down the pipe; should fix
7893         this later.
7894
7895 2005-06-28  Wim Taymans  <wim@fluendo.com>
7896
7897         * docs/gst/gstreamer.types:
7898         * docs/gst/tmpl/gstbasesrc.sgml:
7899         * docs/gst/tmpl/gstpad.sgml:
7900         Docs fixes.
7901
7902 2005-06-28  Wim Taymans  <wim@fluendo.com>
7903
7904         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7905         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7906         (gst_proxy_pad_do_fixatecaps):
7907         Correctly proxy the check_pull_range function.
7908
7909 2005-06-28  Andy Wingo  <wingo@pobox.com>
7910
7911         * tests/network-clock.scm: Removed need for slib.
7912         
7913 2005-06-28  Wim Taymans  <wim@fluendo.com>
7914
7915         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7916         (gst_basesink_preroll_queue_flush):
7917         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7918         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7919         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7920         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7921         (gst_proxy_pad_set_property):
7922         * gst/gstpad.c:
7923         * gst/gstpad.h:
7924         * gst/gstqueue.c: (gst_queue_init):
7925         The deprecated pad loop function is removed now.
7926
7927 2005-06-28  Andy Wingo  <wingo@pobox.com>
7928
7929         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7930         New parameters, simulate network packet loss.
7931
7932         * tests/network-clock-utils.scm: Initialize the RNG.
7933
7934 2005-06-28  Wim Taymans  <wim@fluendo.com>
7935
7936         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7937         (gst_basesink_event), (gst_basesink_deactivate):
7938         Flushing the preroll queue always needs to unlock the waiters.
7939
7940 2005-06-28  Edward Hervey  <edward@fluendo.com>
7941
7942         * gst/gstpipeline.c: (gst_pipeline_send_event): 
7943         Wheen a seek was successful on a pipeline, set the stream_time to the
7944         seek offset in order to have a synchronized stream_time.
7945
7946 2005-06-28  Wim Taymans  <wim@fluendo.com>
7947
7948         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7949         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7950         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7951         (gst_proxy_pad_do_fixatecaps):
7952         Call wrapper function instead of just calling the function
7953         pointers. This takes care of any locking and whatmore.
7954
7955 2005-06-28  Wim Taymans  <wim@fluendo.com>
7956
7957         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7958         (gst_pad_pull_range):
7959         * gst/gstpad.h:
7960         CONNECTED -> LINKED.
7961
7962 2005-06-28  Andy Wingo  <wingo@pobox.com>
7963
7964         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7965         source-munging commit!!!
7966
7967         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
7968         (gst_object_sink): Take gpointer arguments, not GstObject --
7969         avoids casts. Like GLib.
7970
7971         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7972         activate.
7973
7974 2005-06-27  Andy Wingo  <wingo@pobox.com>
7975
7976         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7977         remaining buffer.
7978
7979         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7980         returns a sorted copy of the trace list.
7981         (gst_alloc_trace_print_live): New API, only prints traces with
7982         live objects. Sort the list.
7983         (gst_alloc_trace_print_all): Sort the list.
7984         (gst_alloc_trace_print): Align columns.
7985
7986         * gst/elements/gstttypefindelement.c:
7987         * gst/elements/gsttee.c:
7988         * gst/base/gstbasesrc.c:
7989         * gst/base/gstbasesink.c:
7990         * gst/base/gstbasetransform.c:
7991         * gst/gstqueue.c: Adapt for pad activation changes.
7992
7993         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7994         sched.
7995         (gst_pipeline_dispose): Drop ref on sched.
7996
7997         * gst/gstpad.c (gst_pad_init): Set the default activate func.
7998         (gst_pad_activate_default): Push mode by default.
7999         (pre_activate_switch, post_activate_switch): New stubs, things to
8000         do before and after switching activation modes on pads.
8001         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8002         the pad's activate function to choose which mode to activate.
8003         Shortcut on deactivation and call the right function directly.
8004         (gst_pad_activate_pull): New API, (de)activates a pad in pull
8005         mode.
8006         (gst_pad_activate_push): New API, same for push mode.
8007         (gst_pad_set_activate_function) 
8008         (gst_pad_set_activatepull_function) 
8009         (gst_pad_set_activatepush_function): Setters for new API.
8010
8011         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8012         Trace all miniobjects.
8013         (gst_mini_object_make_writable): Unref the arg if we copy, like
8014         gst_caps_make_writable.
8015
8016         * gst/gstmessage.c (_gst_message_initialize): No trace init.
8017
8018         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
8019         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8020         Adapt for new pad API.
8021
8022         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8023
8024         * gst/gstelement.h:
8025         * gst/gstelement.c (gst_element_iterate_src_pads) 
8026         (gst_element_iterate_sink_pads): New API functions.
8027         
8028         * gst/gstelement.c (iterator_fold_with_resync): New utility,
8029         should fold into gstiterator.c in some form.
8030         (gst_element_pads_activate): Simplified via use of fold and
8031         delegation of decisions to gstpad->activate.
8032
8033         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8034         help in debugging.
8035
8036         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8037         class once in init, like gstmessage. Didn't run into this issue
8038         but it seems correct. Don't initialize a trace, gstminiobject does
8039         that.
8040
8041         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8042         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8043         to the bus.
8044         (assert_live_count): New util function, uses alloc traces to check
8045         cleanup.
8046
8047         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8048         To be modified when unlink drops the internal pad.
8049
8050 2005-06-27  Wim Taymans  <wim@fluendo.com>
8051
8052         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8053         (gst_bin_change_state):
8054         Cleanup the get_state() function a little, make sure it
8055         iterates the same set of elements.
8056         Added stub iterate_state_order().
8057
8058 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8059
8060         * docs/gst/gstreamer-docs.sgml:
8061         * docs/gst/gstreamer-sections.txt:
8062         * docs/gst/gstreamer.types:
8063         * docs/gst/tmpl/gstbasesink.sgml:
8064         * docs/gst/tmpl/gstbasesrc.sgml:
8065         * docs/gst/tmpl/gstbasetransform.sgml:
8066         * docs/gst/tmpl/gstelement.sgml:
8067         * docs/gst/tmpl/gstiterator.sgml:
8068         * gst/base/gstbasesrc.c:
8069         * gst/base/gstbasesrc.h:
8070         * gst/base/gstbasetransform.h:
8071         * gst/gstelement.c:
8072         * gst/gstiterator.h:
8073           adding basetransform and iterator docs
8074
8075 2005-06-27  Andy Wingo  <wingo@pobox.com>
8076
8077         * docs/design/part-activation.txt: Notes on how activation should
8078         work -- not quite implemented yet.
8079
8080 2005-06-25  Wim Taymans  <wim@fluendo.com>
8081
8082         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8083         At least get the chain function correct, needs more
8084         fixing.
8085
8086 2005-06-25  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8089         (gst_basesink_handle_object), (gst_basesink_event),
8090         (gst_basesink_do_sync), (gst_basesink_handle_event),
8091         (gst_basesink_change_state):
8092         * gst/gsttask.h:
8093         Right, two problems here: ghostpads don't take locks and
8094         glib _rec_mutex_lock_full() with depth==0 still locks.
8095         Catch illegal locking and g_warn them.
8096
8097 2005-06-25  Wim Taymans  <wim@fluendo.com>
8098
8099         * check/states/sinks.c: (START_TEST), (gst_object_suite):
8100         Have to check for completion now...
8101
8102 2005-06-25  Wim Taymans  <wim@fluendo.com>
8103
8104         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8105         (gst_basesink_handle_object), (gst_basesink_event),
8106         (gst_basesink_do_sync), (gst_basesink_handle_event),
8107         (gst_basesink_change_state):
8108         * gst/gstpad.h:
8109         Unlock STREAM_LOCK whatever the recursion was.
8110
8111 2005-06-25  Wim Taymans  <wim@fluendo.com>
8112
8113         * gst/base/gstbasesink.c: (gst_basesink_set_property),
8114         (gst_basesink_preroll_queue_empty),
8115         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8116         (gst_basesink_event), (gst_basesink_do_sync),
8117         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8118         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8119         (gst_basesink_change_state):
8120         Reworked the base sink, handle event and buffer serialisation
8121         correctly and removed possible deadlock.
8122         Handle EOS correctly.
8123
8124 2005-06-25  Wim Taymans  <wim@fluendo.com>
8125
8126         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8127         (gst_pipeline_change_state):
8128         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8129         Allow elements to post EOS in the state change function.
8130         Fix up -launch, make it exit the poll loop when the
8131         pipeline actually changed state.
8132         Fix up warning parsing in -launch.
8133
8134 2005-06-25  Wim Taymans  <wim@fluendo.com>
8135
8136         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8137         (gst_tee_sink_activate):
8138         Core takes STREAM_LOCK for us now.
8139
8140 2005-06-25  Wim Taymans  <wim@fluendo.com>
8141
8142         * gst/gstelement.c: (gst_element_get_state_func),
8143         (gst_element_set_state):
8144         * gst/gstelement.h:
8145         * gst/gstmessage.c: (gst_message_parse_error),
8146         (gst_message_parse_warning):
8147         Keep track of current target state while performing a state
8148         change so that subclasses can do something interesting.
8149         Fix parsing of warning/error messages when GError is NULL.
8150
8151 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8152
8153         * docs/gst/Makefile.am:
8154         * docs/gst/gstreamer-docs.sgml:
8155         * docs/gst/gstreamer-sections.txt:
8156         * docs/gst/gstreamer.types:
8157         * docs/gst/tmpl/gstbasesink.sgml:
8158         * docs/gst/tmpl/gstbasesrc.sgml:
8159         * docs/gst/tmpl/gstbin.sgml:
8160         * docs/gst/tmpl/gstcompat.sgml:
8161         * docs/gst/tmpl/gstfakesink.sgml:
8162         * docs/gst/tmpl/gstfakesrc.sgml:
8163         * docs/gst/tmpl/gstfilesink.sgml:
8164         * docs/gst/tmpl/gstfilesrc.sgml:
8165         * docs/gst/tmpl/gstindex.sgml:
8166         * docs/manual/appendix-quotes.xml:
8167         * gst/base/gstbasesrc.h:
8168         * gst/elements/gstfakesrc.h:
8169         * gst/gstmessage.h:
8170           start pulling in base classes and elements in our docs
8171
8172 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
8173
8174         * docs/gst/Makefile.am:
8175         * docs/libs/Makefile.am:
8176           fixed make distcheck with gtk-doc 1.3
8177
8178 2005-06-23  Wim Taymans  <wim@fluendo.com>
8179
8180         * gst/gstelement.c: (gst_element_get_state_func),
8181         (gst_element_set_state), (gst_element_change_state):
8182         When the state did not change, also report NO_PREROLL
8183         when it matters.
8184
8185 2005-06-23  Wim Taymans  <wim@fluendo.com>
8186
8187         * gst/gstpad.c: (gst_pad_event_default):
8188         * gst/gstqueue.c: (gst_queue_loop):
8189         No unsafe task pausing please.
8190
8191 2005-06-23  Wim Taymans  <wim@fluendo.com>
8192
8193         * gst/schedulers/threadscheduler.c:
8194         (gst_thread_scheduler_task_start),
8195         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8196         Ref the task before pushing it on the threadpool. This
8197         makes sure that we have a ref when the threadfunction is
8198         actually called.
8199
8200 2005-06-23  Andy Wingo  <wingo@pobox.com>
8201
8202         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8203         offset is greater than the file's size.
8204
8205         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
8206         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8207         * gst/gstobject.c (gst_object_class_init): Make the class lock
8208         recursive. Wim won't let me drop deep_notify. Decodebin works
8209         again, whoopdy doo.
8210
8211         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8212         internal pad, and hacks accordingly. Doesn't do it on the target
8213         pad because we change its caps. Probably catches all cases of
8214         interest tho.
8215         (gst_ghost_pad_set_property): Connect to notify::caps as
8216         appropritate.
8217
8218         * tests/network-clock.scm (plot-simulation): Pipe data to the
8219         elite python skript.
8220
8221         * tests/network-clock-utils.scm (define-parameter): New macro,
8222         defines a parameter that can be set via the command line.
8223         (set-parameter!, parse-parameter-arguments): Command line args
8224         parser.
8225
8226         * tests/plot-data: Simple matplotlib-based plotter, takes input on
8227         stdin.
8228
8229 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
8230
8231         * gst/elements/gsttypefindelement.c:
8232         (gst_type_find_element_handle_event):
8233           Don't restart typefinding on a discont.
8234         * gst/gstelement.c: (gst_element_set_state):
8235           Debug spelling fix.
8236         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8237           Allow changing mode of an active pad.
8238           Debug output fixes.
8239         * gst/registries/gstlibxmlregistry.c: (load_feature):
8240           Don't cast a static pad template to a normal pad template.
8241
8242 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8243
8244         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8245         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8246           remove gst_strtoll completely, since it didn't actually do
8247           anything more than what g_ascii_strtoull already does.
8248           check for range errors when deserializing
8249           do a cast for the unsigned cases; but further fixing needs
8250           a decision on what the interpretation of "(int)" and
8251           deserialization should be for values that fall outside the
8252           type's boundaries (ie, refuse, or interpret as casting)
8253
8254 2005-06-23  Wim Taymans  <wim@fluendo.com>
8255
8256         * check/Makefile.am:
8257         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8258         * docs/design/part-live-source.txt:
8259         * docs/design/part-states.txt:
8260         * gst/base/gstbasesrc.c: (gst_basesrc_init),
8261         (gst_basesrc_set_live), (gst_basesrc_is_live),
8262         (gst_basesrc_get_range), (gst_basesrc_activate),
8263         (gst_basesrc_change_state):
8264         * gst/base/gstbasesrc.h:
8265         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8266         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8267         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8268         * gst/gstelement.c: (gst_element_get_state_func),
8269         (gst_element_set_state):
8270         * gst/gstelement.h:
8271         * gst/gsttypes.h:
8272         * tools/gst-launch.c: (event_loop), (main):
8273         Added support for live sources and other elements that
8274         cannot do preroll.
8275         Updated design docs, added live-source design doc.
8276         Implemented live source functionality in basesrc
8277         Fix error condition in _bin_get_state()
8278         Implement live source handling in -launch.
8279         Added check for live sources.
8280         Fixed case in GstBin where elements were changed state
8281         multiple times.
8282
8283
8284 2005-06-23  Andy Wingo  <wingo@pobox.com>
8285
8286         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8287         borken refcounting.
8288
8289         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8290         gst_caps_replace takes care of this for us.
8291
8292         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8293         gst_pad_set_caps on the target, not just its setcaps() function.
8294
8295         * tests/network-clock.scm: 
8296         * tests/network-clock-utils.scm: A network clock simulator.
8297         Something of an algorithmic testbed before doing something in C.
8298
8299 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8300
8301         * check/Makefile.am:
8302         * check/gst/capslist.h:
8303           copy over from 0.8, and add two with bitmasks specified with
8304           (int) 0xFF...
8305         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8306           add test to parse everything from capslist.h
8307         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8308         (main):
8309           add test for structure deserialization
8310         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8311           add tests for deserialization of strings to int types
8312         * gst/gststructure.c: (gst_structure_nth_field_name):
8313         * gst/gststructure.h:
8314           add a way to get the name of a field referenced by index
8315         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8316           instead of checking if the resulting long long lies between
8317           min and max, we check if the long long would fit into
8318           a number of bytes for the final type.
8319           This fixes cases where a string represents 2^32 - 1, which
8320           when cast to int would be the (valid) -1, but is bigger than
8321           G_MAXINT
8322
8323 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8324
8325         * gst/parse/grammar.y:
8326           add a log line for type deserialization
8327
8328 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8329
8330         * check/gst/gstvalue.c: (START_TEST):
8331         * gst/gstvalue.c: (gst_value_deserialize):
8332           return long long, not int, so gint64 deserialization actually
8333           works.  Is there any flag that makes the compiler check this ?
8334           Fixes #308559
8335
8336 2005-06-22  Wim Taymans  <wim@fluendo.com>
8337
8338         * gst/gstbuffer.h:
8339         Added convenience macros for setting buffers in GValue.
8340
8341 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8342
8343         * check/gst/.cvsignore:
8344         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8345           add a test deserializing int64, and comment part out because
8346           it fails, yay !
8347
8348 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8349
8350         * check/Makefile.am:
8351         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8352         * testsuite/Makefile.am:
8353         * testsuite/caps/Makefile.am:
8354         * testsuite/caps/value_serialize.c:
8355         * testsuite/test_gst_init.c:
8356           move a value_serialize test over
8357
8358 2005-06-20  Wim Taymans  <wim@fluendo.com>
8359
8360         * gst/gstpad.c:
8361         Small doc updates.
8362         
8363         * gst/gstvalue.c: (gst_value_compare_buffer),
8364         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8365         (gst_value_compare_flags), (gst_value_serialize_flags),
8366         (gst_value_deserialize_flags), (_gst_value_initialize):
8367         Fix serialisation of buffers, they are not boxed types anymore
8368
8369 2005-06-20  Wim Taymans  <wim@fluendo.com>
8370
8371         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8372         Testcase to show error in buffer-on-caps serialisation.
8373
8374 2005-06-20  Andy Wingo  <wingo@pobox.com>
8375
8376         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8377         will be adding to later.
8378
8379         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8380         if its socks fill with rocks.
8381         (gst_system_clock_obtain): Set the name on object construction.
8382         Avoid double-checked locking.
8383
8384 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
8385
8386         * gst/gsturi.c: (gst_element_make_from_uri):
8387           Fix potential endless loop.
8388
8389 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8390
8391         * check/Makefile.am:
8392           add gsttag
8393         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8394         (main):
8395           move over from testsuite dir and clean up
8396         * configure.ac:
8397         * gst/gsttag.c:
8398         * testsuite/Makefile.am:
8399         * testsuite/tags/.cvsignore:
8400         * testsuite/tags/Makefile.am:
8401         * testsuite/tags/merge.c:
8402           remove testsuite/tags
8403
8404 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8405
8406         * docs/gst/gstreamer-sections.txt:
8407         * docs/gst/tmpl/gstenumtypes.sgml:
8408         * win32/gstenumtypes.c:
8409           clean up documentation build a little
8410
8411 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8412
8413         * check/gstcheck.h:
8414           add macros for checking refcounts on objects and caps
8415         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8416           add some more unit tests
8417         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8418         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8419           fix leaked refcounts (I hope :)) so unittest works
8420         * gst/gstpad.h:
8421           whitespace removal
8422
8423 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8424
8425         * configure.ac: back to HEAD
8426
8427 === release 0.9.1 ===
8428
8429 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8430
8431         * NEWS:
8432         * RELEASE:
8433           updated
8434
8435 2005-06-17  Andy Wingo  <wingo@pobox.com>
8436
8437         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8438         assert; it's always possible that the pad gets deactivated in
8439         between the checks in gstpad.c and the implementation. Rely on
8440         finish_preroll() to return a FLUSHING or similar instead of on the
8441         assert.
8442         
8443         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8444         clock and post an EOS message if we come out of finish_preroll in
8445         the playing state.
8446
8447 2005-06-16  David Schleef  <ds@schleef.org>
8448
8449         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8450         (gst_capsfilter_set_property): Allow NULL as possible value
8451         for filter_caps property, indicating GST_CAPS_ANY.
8452
8453 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8454
8455         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8456           fix debug output
8457         * gst/schedulers/Makefile.am:
8458           use libgst prefix
8459         * gstreamer.spec.in:
8460           fix spec for it
8461
8462 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8463
8464         * gstreamer.spec.in:
8465           clean up
8466
8467 2005-06-08  Andy Wingo  <wingo@pobox.com>
8468
8469         * gst/gstutils.c: RPAD fixes all around.
8470         (gst_element_link_pads): Refcounting fixes.
8471
8472         * tools/gst-inspect.c:
8473         * tools/gst-xmlinspect.c:
8474         * parse/grammar.y:
8475         * gst/base/gsttypefindhelper.c:
8476         * gst/base/gstbasesink.c:
8477         * gst/gstqueue.c: RPAD fixes.
8478
8479         * gst/gstghostpad.h:
8480         * gst/gstghostpad.c: New ghost pad implementation as full proxy
8481         pads. The tricky thing is they provide both source and sink
8482         interfaces, since they proxy the internal pad for the external
8483         pad, and vice versa. Implement with lower-level ProxyPad objects,
8484         with the interior proxy pad as a child of the exterior ghost pad.
8485         Should write a doc on this.
8486         
8487         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8488         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8489         gst_object API.
8490         
8491         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8492         pads are real pads. No ghost pads in this file. Not documenting
8493         the myriad s/RPAD/PAD/ and REALIZE fixes.
8494         (gst_pad_class_init): Add properties for "direction" and
8495         "template". Both are construct-only, so they can't change during
8496         the life of the pad. Fixes properly deriving from GstPad.
8497         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8498         derived objects, just set properties when creating the objects via
8499         g_object_new.
8500         (gst_pad_get_parent): Implement as a function, return NULL if the
8501         parent is not an element.
8502         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8503         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8504         
8505         * gst/gstobject.c (gst_object_class_init): Make name a construct
8506         property. Don't set it in the object init.
8507
8508         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8509         with UNKNOWN direction.
8510         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8511         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8512         (gst_element_remove_pad): Remove ghost-pad special cases.
8513         (gst_element_pads_activate): Remove rpad cruft.
8514
8515         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8516         catch the pad's-parent-not-an-element case.
8517
8518         * gst/gst.h: Include gstghostpad.h.
8519
8520         * gst/gst.c (init_post): No more real, ghost pads.
8521
8522         * gst/Makefile.am: Add gstghostpad.[ch].
8523
8524         * check/Makefile.am:
8525         * check/gst/gstbin.c:
8526         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8527         into a bin creates ghost pads, and that the refcounts are right.
8528         Partly moved from gstbin.c.
8529
8530 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8531
8532         * check/gst-libs/.cvsignore:
8533         * check/gst/.cvsignore:
8534         * check/pipelines/.cvsignore:
8535           ignore more
8536         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8537         (START_TEST), (cleanup_suite), (main):
8538           add some tests related to cleanup after running pipelines
8539
8540 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8541
8542         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8543           add a testsuite for GstBuffer
8544
8545 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8546
8547         * gst/gstminiobject.h:
8548           add defines for accessing the refcount
8549
8550 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
8551
8552         * Makefile.am: added support for html unit test coverage reports
8553
8554 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
8555
8556         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8557           Free existing caps if the capsfilter changes. Add a FIXME about
8558           setting those caps on the pads.
8559
8560         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8561           Before adding a ghost pad to a parent bin, check that there isn't
8562           already one for the element on the bin. Prevents infinite recursion
8563           when using decodebin in parse pipelines. Andy says he'll rewrite the
8564           way this works anyway, so ignore the hack.
8565
8566 2005-06-02  Andy Wingo  <wingo@pobox.com>
8567
8568         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8569         file size, pass it on to the type find helper.
8570
8571         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8572         segment_start and segment_end properly according to the seek
8573         method. Segment_end is still a bit flaky because offset can be
8574         negative for CUR and END cases, but it takes -1 as an "unset"
8575         value.
8576
8577 2005-06-02  Wim Taymans  <wim@fluendo.com>
8578
8579         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8580         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8581         (gst_basesink_activate):
8582         * gst/base/gstbasesink.h:
8583         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8584         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8585         (gst_pad_query), (gst_pad_start_task):
8586         * gst/gstpad.h:
8587         * gst/gstqueue.c: (gst_queue_bufferalloc),
8588         (gst_queue_handle_sink_event), (gst_queue_chain):
8589         Bufferalloc: return GstFlowReturn to more accuratly report
8590         why allocation failed.
8591
8592 2005-06-02  Wim Taymans  <wim@fluendo.com>
8593
8594         * gst/gstpipeline.c: (gst_pipeline_send_event):
8595         Take snapshot of state without blocking.
8596
8597 2005-06-02  Wim Taymans  <wim@fluendo.com>
8598
8599         * docs/design/part-TODO.txt:
8600         * docs/design/part-caps.txt:
8601         * docs/design/part-clocks.txt:
8602         * docs/design/part-negotiation.txt:
8603         * docs/design/part-preroll.txt:
8604         Small doc updates 
8605
8606 2005-05-30  Wim Taymans  <wim@fluendo.com>
8607
8608         * gst/elements/gstidentity.c: (gst_identity_event),
8609         (gst_identity_transform), (gst_identity_get_property):
8610         Protect last_message property as it is accessed from
8611         multiple threads.
8612
8613 2005-05-30  Wim Taymans  <wim@fluendo.com>
8614
8615         * gst/gstelement.c: (gst_element_init),
8616         (gst_element_pads_activate), (gst_element_change_state):
8617         Slicker pad activation code.
8618
8619 2005-05-30  Wim Taymans  <wim@fluendo.com>
8620
8621         * gst/Makefile.am:
8622         * gst/gstelement.h:
8623         * gst/gstelementfactory.h:
8624         * gst/gsttypes.h:
8625         Move elementfactory methods to separate .h file.
8626
8627 2005-05-30  Wim Taymans  <wim@fluendo.com>
8628
8629         * docs/design/part-overview.txt:
8630         * gst/gstsystemclock.h:
8631         Small typo fixes, doc updates.
8632
8633 2005-05-30  Wim Taymans  <wim@fluendo.com>
8634
8635         * gst/gst.c: (gst_init_get_popt_table), (init_post),
8636         (init_popt_callback):
8637         Remove cpu-opt flag.
8638
8639 2005-05-30  Wim Taymans  <wim@fluendo.com>
8640
8641         * gst/gstbuffer.c: (gst_subbuffer_finalize),
8642         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8643         * gst/gstbuffer.h:
8644         Avoid typechecking in places where not needed.
8645         Added accessor for malloc_data.
8646
8647 2005-05-30  Wim Taymans  <wim@fluendo.com>
8648
8649         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8650         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8651         (gst_pad_configure_sink), (gst_pad_configure_src),
8652         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8653         (gst_pad_start_task):
8654         Propagate errors from _set_caps() in configure_src/sink
8655         functions instead of returning TRUE.
8656         FLUSH events can travel up and downstream
8657
8658
8659 2005-05-30  Wim Taymans  <wim@fluendo.com>
8660
8661         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8662         (gst_basesink_activate):
8663         Handle EOS in preroll.
8664
8665 2005-05-30  Wim Taymans  <wim@fluendo.com>
8666
8667         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8668         (gst_queue_loop), (gst_queue_handle_src_event):
8669         Remove old pieces of code
8670         Flushing the queue in an upstream event is a very bad idea.
8671
8672 2005-05-26  Andy Wingo  <wingo@pobox.com>
8673
8674         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8675         gst_value_set_mini_object so as to add a ref on the object (which
8676         will be removed when the value is unset).
8677
8678         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8679         arg type in ::handoff.
8680
8681         * gst/gstelement.c (gst_element_change_state): Also deactivate
8682         pads in READY->NULL, just in case the element didn't make it to
8683         PAUSED. Wingo tested, Wim approved.
8684
8685 2005-05-26  Wim Taymans  <wim@fluendo.com>
8686
8687         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8688         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8689         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8690         A flushing pad cannot be used to alloc_buffer from.
8691
8692 2005-05-26  Wim Taymans  <wim@fluendo.com>
8693
8694         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8695         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8696         (gst_bus_source_dispatch), (gst_bus_source_finalize),
8697         (gst_bus_create_watch), (gst_bus_add_watch_full):
8698         * gst/gstbus.h:
8699         Implement a real GSource and use g_main_context_wakeup() to
8700         signal new messages instead of the socketpair.
8701
8702 2005-05-25  Wim Taymans  <wim@fluendo.com>
8703
8704         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8705         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8706         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8707         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8708         (gst_pad_send_event), (gst_pad_start_task):
8709         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8710         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8711         (gst_queue_sink_activate), (gst_queue_src_activate),
8712         (gst_queue_change_state):
8713         * gst/gstqueue.h:
8714         Fix state changes for non sinks. We now change sinks, then elements
8715         with unconnected srcpads, then the rest.
8716         More efficient queue unlocking in flush and state changes.
8717         Set the pad activate mode even if it does not have an activate
8718         function.
8719
8720 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8721
8722         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8723           Don't go in pull mode for non-seekable sources.
8724         * gst/elements/gsttypefindelement.h:
8725         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8726         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8727         (free_entry), (stop_typefinding),
8728         (gst_type_find_element_handle_event), (find_peek),
8729         (gst_type_find_element_chain), (do_pull_typefind),
8730         (gst_type_find_element_change_state):
8731           Allow typefinding (w/o seeking) in push-mode, simplified version
8732           of what was in 0.8.
8733         * gst/gstutils.c: (gst_buffer_join):
8734         * gst/gstutils.h:
8735           gst_buffer_join() from 0.8.
8736
8737 2005-05-25  Wim Taymans  <wim@fluendo.com>
8738
8739         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8740         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8741         (gst_pad_send_event), (gst_pad_start_task):
8742         Disable attempt at mode switching until it is figured out.
8743
8744 2005-05-25  Wim Taymans  <wim@fluendo.com>
8745
8746         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8747         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8748         (gst_basesink_finish_preroll), (gst_basesink_chain),
8749         (gst_basesink_loop), (gst_basesink_activate),
8750         (gst_basesink_change_state):
8751         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8752         (gst_basesrc_get_range), (gst_basesrc_loop),
8753         (gst_basesrc_activate):
8754         * gst/elements/gsttee.c: (gst_tee_sink_activate):
8755         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8756         (gst_real_pad_init), (gst_real_pad_set_property),
8757         (gst_real_pad_get_property), (gst_pad_set_active),
8758         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8759         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8760         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8761         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8762         (gst_pad_event_default_dispatch), (gst_pad_event_default),
8763         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8764         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8765         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8766         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8767         (gst_pad_stop_task):
8768         * gst/gstpad.h:
8769         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8770         (gst_queue_loop), (gst_queue_src_activate):
8771         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8772         (gst_task_get_state):
8773         * gst/gsttask.h:
8774         * gst/schedulers/threadscheduler.c:
8775         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8776         Implement gst_pad_pause/start/stop_task(), take STREAM lock
8777         in task function.
8778         Remove ACTIVE pad flag, use FLUSHING everywhere
8779         Added _pad_chain(), _pad_get_range() to call chain/getrange 
8780         functions.
8781         Add locks around IS_FLUSHING when reading.
8782         Take STREAM lock in chain(), get_range() functions so plugins
8783         don't need to take it anymore.
8784         
8785
8786
8787 2005-05-25  Wim Taymans  <wim@fluendo.com>
8788
8789         * tools/gst-launch.c: (event_loop):
8790         Unref message after using its contents instead of
8791         before.
8792
8793 2005-05-24  Wim Taymans  <wim@fluendo.com>
8794
8795         * docs/design/draft-ghostpads.txt:
8796         * docs/design/draft-push-pull.txt:
8797         * docs/design/draft-query.txt:
8798         * docs/design/part-overview.txt:
8799         Docs updates, added general overview doc.
8800
8801 2005-05-21  David Schleef  <ds@schleef.org>
8802
8803         * docs/gst/tmpl/old/GstBin.sgml:
8804         * docs/gst/tmpl/old/GstBuffer.sgml:
8805         * docs/gst/tmpl/old/GstCaps.sgml:
8806         * docs/gst/tmpl/old/GstClock.sgml:
8807         * docs/gst/tmpl/old/GstCompat.sgml:
8808         * docs/gst/tmpl/old/GstData.sgml:
8809         * docs/gst/tmpl/old/GstElement.sgml:
8810         * docs/gst/tmpl/old/GstEvent.sgml:
8811         * docs/gst/tmpl/old/GstIndex.sgml:
8812         * docs/gst/tmpl/old/GstStructure.sgml:
8813         * docs/gst/tmpl/old/GstTag.sgml:
8814         * docs/gst/tmpl/old/cothreads.sgml:
8815         * docs/gst/tmpl/old/cothreads_compat.sgml:
8816         * docs/gst/tmpl/old/gettext.sgml:
8817         * docs/gst/tmpl/old/gobject2gtk.sgml:
8818         * docs/gst/tmpl/old/grammar.tab.sgml:
8819         * docs/gst/tmpl/old/gst-i18n-app.sgml:
8820         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8821         * docs/gst/tmpl/old/gst_private.sgml:
8822         * docs/gst/tmpl/old/gstaggregator.sgml:
8823         * docs/gst/tmpl/old/gstarch.sgml:
8824         * docs/gst/tmpl/old/gstatomic_impl.sgml:
8825         * docs/gst/tmpl/old/gstbufferstore.sgml:
8826         * docs/gst/tmpl/old/gstdata_private.sgml:
8827         * docs/gst/tmpl/old/gstdisksink.sgml:
8828         * docs/gst/tmpl/old/gstdisksrc.sgml:
8829         * docs/gst/tmpl/old/gstelementfactory.sgml:
8830         * docs/gst/tmpl/old/gstextratypes.sgml:
8831         * docs/gst/tmpl/old/gstfakesink.sgml:
8832         * docs/gst/tmpl/old/gstfakesrc.sgml:
8833         * docs/gst/tmpl/old/gstfdsink.sgml:
8834         * docs/gst/tmpl/old/gstfdsrc.sgml:
8835         * docs/gst/tmpl/old/gstfilesink.sgml:
8836         * docs/gst/tmpl/old/gstfilesrc.sgml:
8837         * docs/gst/tmpl/old/gsthttpsrc.sgml:
8838         * docs/gst/tmpl/old/gstidentity.sgml:
8839         * docs/gst/tmpl/old/gstindexfactory.sgml:
8840         * docs/gst/tmpl/old/gstmarshal.sgml:
8841         * docs/gst/tmpl/old/gstmd5sink.sgml:
8842         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8843         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8844         * docs/gst/tmpl/old/gstpadtemplate.sgml:
8845         * docs/gst/tmpl/old/gstpipefilter.sgml:
8846         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8847         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8848         * docs/gst/tmpl/old/gstshaper.sgml:
8849         * docs/gst/tmpl/old/gstspider.sgml:
8850         * docs/gst/tmpl/old/gstspideridentity.sgml:
8851         * docs/gst/tmpl/old/gststatistics.sgml:
8852         * docs/gst/tmpl/old/gsttee.sgml:
8853         * docs/gst/tmpl/old/gsttimecache.sgml:
8854         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8855         * docs/gst/tmpl/old/gstxmlregistry.sgml:
8856         * docs/gst/tmpl/old/gthread-cothreads.sgml:
8857         * docs/gst/tmpl/old/types.sgml:
8858           I didn't intend to add these or check them in.
8859
8860 2005-05-19  David Schleef  <ds@schleef.org>
8861
8862         * configure.ac: Use -no-common everywhere.  In a sane world, it
8863           would be the default in libtool, because without it, you can't
8864           build DLLs on Windows.
8865         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8866         * docs/gst/gstreamer-sections.txt:
8867         * docs/gst/tmpl/gstcpu.sgml:
8868         * docs/gst/tmpl/gstdata.sgml:
8869         * docs/gst/tmpl/gstthread.sgml:
8870
8871 2005-05-19  David Schleef  <ds@schleef.org>
8872
8873         * gst/gstminiobject.c: (gst_value_set_mini_object),
8874         (gst_value_take_mini_object), (gst_value_get_mini_object):
8875         * gst/gstminiobject.h: Add GValue set/get functions.
8876
8877 2005-05-19  Wim Taymans  <wim@fluendo.com>
8878
8879         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8880         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8881         (gst_subbuffer_init), (gst_buffer_is_span_fast):
8882         * gst/gstbuffer.h:
8883         * gst/gstbus.c: (gst_bus_post):
8884         * gst/gstelement.c: (gst_element_get_random_pad):
8885         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8886         Make subbufer unref the parent in finalize.
8887         some more debugging info.
8888
8889
8890 2005-05-19  Wim Taymans  <wim@fluendo.com>
8891
8892         * gst/base/gstbasesink.c: (gst_basesink_class_init),
8893         (gst_basesink_init), (gst_basesink_finalize),
8894         (gst_basesink_activate), (gst_basesink_change_state):
8895         Don't free preroll queue too early.
8896
8897 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8898
8899         * gst/Makefile.am:
8900         * gst/ROADMAP:
8901           Hi, I'm outdated. Please shoot me.
8902
8903 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8904
8905         * gst/gstpipeline.c: (gst_pipeline_send_event):
8906           Do not access variables after they have been deleted.
8907
8908 2005-05-19  Wim Taymans  <wim@fluendo.com>
8909
8910         * tools/gst-inspect.c: (print_plugin_features):
8911         A plugin feature does unfortunatly not use the
8912         object name yet...
8913
8914 2005-05-18  Wim Taymans  <wim@fluendo.com>
8915
8916         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8917         Port _span() functions to new subbuffers.
8918
8919 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8920
8921         * gst/gstbin.c: (gst_bin_add_func):
8922           Fix clock settery in bins when adding kids after the clock has
8923           been selected.
8924
8925 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8926
8927         * gst/elements/gstidentity.c: (gst_identity_class_init):
8928           Workaround until signals support GstMiniObject.
8929
8930 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
8931
8932         * gst/gstbuffer.c:
8933         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8934
8935 2005-05-18  Wim Taymans  <wim@fluendo.com>
8936
8937         * gst/base/Makefile.am:
8938         * gst/base/gstadapter.c: (gst_adapter_base_init),
8939         (gst_adapter_class_init), (gst_adapter_init),
8940         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8941         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8942         (gst_adapter_flush), (gst_adapter_available),
8943         (gst_adapter_available_fast):
8944         * gst/base/gstadapter.h:
8945         Ported and added adapter to the base classes.
8946
8947 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8948
8949         * gst/gst.c:
8950         * gst/gstmessage.c:
8951           Make sure the class is reffed/unreffed once before threads can be
8952           used.  Fixes #304551.
8953
8954 2005-05-17  Wim Taymans  <wim@fluendo.com>
8955
8956         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8957         (gst_basesink_chain_unlocked), (gst_basesink_activate):
8958         * gst/gstminiobject.c: (gst_mini_object_get_type),
8959         (gst_mini_object_free):
8960         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8961         (gst_pad_push), (gst_pad_push_event):
8962         * gst/gstqueue.c: (gst_queue_change_state):
8963         Don't queue buffers in basesink when we are flushing.
8964         Unref buffer when flushing in basesink.
8965         Flush queue when going to READY
8966         Unref buffer when _push() returns an error.
8967         Don't free MiniObject instance when refcount is incremented
8968         in _finalize() so that we can recover objects.
8969
8970 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8971
8972         * docs/manual/advanced-schedulers.xml:
8973         * docs/manual/appendix-checklist.xml:
8974         * docs/pwg/advanced-clock.xml:
8975         * docs/pwg/advanced-interfaces.xml:
8976         * docs/pwg/advanced-request.xml:
8977         * docs/pwg/advanced-types.xml:
8978         * docs/pwg/intro-preface.xml:
8979         * examples/plugins/example.c: (gst_example_get_type),
8980         (gst_example_class_init), (gst_example_chain),
8981         (gst_example_set_property), (gst_example_get_property),
8982         (gst_example_change_state), (plugin_init):
8983         * examples/plugins/example.h:
8984           small doc fixes
8985
8986 2005-05-17  Wim Taymans  <wim@fluendo.com>
8987
8988         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8989         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8990         * gst/gstqueue.c: (gst_queue_change_state):
8991         Clear queue when going to READY.
8992         Remove IN_SETCAPS flag too.
8993
8994 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
8995
8996         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8997           Remove implicit cast from gboolean to GstElementStateReturn;
8998           make sure we still return failure in paused => ready case if
8999           the parent class fails to change state and our own stop 
9000           vfunc succeeds.
9001
9002 2005-05-17  Wim Taymans  <wim@fluendo.com>
9003
9004         * tools/gst-launch.c: (event_loop):
9005         Message was unreffed too soon.
9006
9007 2005-05-16  Andy Wingo  <wingo@pobox.com>
9008
9009         * gst/gstbin.c (sink_iterator_filter): Err... um...
9010
9011         * check/gst/gstbin.c (test_ghost_pads): New test for the
9012         ghosting-if-elements-not-in-same-bin behavior.
9013
9014 2005-05-16  David Schleef  <ds@schleef.org>
9015
9016         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9017         accessing refcount directly.
9018
9019 2005-05-15  David Schleef  <ds@schleef.org>
9020
9021         * check/Makefile.am: remove GstData checks
9022         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9023         * gst/Makefile.am: add miniobject, remove data
9024         * gst/gst.h: add miniobject, remove data
9025         * gst/gstdata.c: remove
9026         * gst/gstdata.h: remove
9027         * gst/gstdata_private.h: remove
9028         * gst/gsttypes.h: remove GstEvent and GstMessage
9029         * gst/gstelement.c: (gst_element_post_message): fix for API changes
9030         * gst/gstmarshal.list: change BOXED -> OBJECT
9031
9032         Implement GstMiniObject.
9033         * gst/gstminiobject.c:
9034         * gst/gstminiobject.h:
9035
9036         Modify to be subclasses of GstMiniObject.
9037         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9038         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9039         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9040         (gst_subbuffer_get_type), (gst_subbuffer_init),
9041         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9042         (gst_buffer_span):
9043         * gst/gstbuffer.h:
9044         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9045         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9046         (_gst_event_copy), (gst_event_new):
9047         * gst/gstevent.h:
9048         * gst/gstmessage.c: (_gst_message_initialize),
9049         (gst_message_get_type), (gst_message_class_init),
9050         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9051         (gst_message_new), (gst_message_new_error),
9052         (gst_message_new_warning), (gst_message_new_tag),
9053         (gst_message_new_state_changed), (gst_message_new_application):
9054         * gst/gstmessage.h:
9055         * gst/gstprobe.c: (gst_probe_perform),
9056         (gst_probe_dispatcher_dispatch):
9057         * gst/gstprobe.h:
9058         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9059         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9060         (_gst_query_copy), (gst_query_new):
9061
9062         Update elements for GstData -> GstMiniObject changes
9063         * gst/gstquery.h:
9064         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9065         (gst_queue_chain), (gst_queue_loop):
9066         * gst/elements/gstbufferstore.c:
9067         (gst_buffer_store_add_buffer_func),
9068         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9069         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9070         (gst_fakesink_render):
9071         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9072         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9073         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9074         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9075         (gst_filesrc_create_read):
9076         * gst/elements/gstidentity.c: (gst_identity_class_init):
9077         * gst/elements/gsttypefindelement.c:
9078         (gst_type_find_element_src_event), (free_entry_buffers),
9079         (gst_type_find_element_handle_event):
9080         * libs/gst/dataprotocol/dataprotocol.c:
9081         (gst_dp_header_from_buffer):
9082         * libs/gst/dataprotocol/dataprotocol.h:
9083         * libs/gst/dataprotocol/dp-private.h:
9084
9085 2005-05-15  David Schleef  <ds@schleef.org>
9086
9087         * gst/elements/gstelements.c: Don't include headers that were
9088         just removed.
9089
9090 2005-05-15  David Schleef  <ds@schleef.org>
9091
9092         * gst/elements/Makefile.am: Remove some elements that don't
9093         need to be in the core (or even exist at all).
9094         * gst/elements/gstaggregator.c:
9095         * gst/elements/gstaggregator.h:
9096         * gst/elements/gstmd5sink.c:
9097         * gst/elements/gstmd5sink.h:
9098         * gst/elements/gstmultifilesrc.c:
9099         * gst/elements/gstmultifilesrc.h:
9100         * gst/elements/gstpipefilter.c:
9101         * gst/elements/gstpipefilter.h:
9102         * gst/elements/gstshaper.c:
9103         * gst/elements/gstshaper.h:
9104         * gst/elements/gststatistics.c:
9105         * gst/elements/gststatistics.h:
9106         * po/POTFILES.in: Remove above files.
9107
9108 2005-05-14  Andy Wingo  <wingo@pobox.com>
9109
9110         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9111         so as to get the refs right.
9112         (sink_iterator_filter): New function, wraps bin_element_is_sink,
9113         unreffing objects that don't pass the filter.
9114
9115         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9116         gst_element_set_bus.
9117         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9118         normal cases, this will destroy the bus.
9119
9120         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9121         object.
9122
9123         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9124         has no sinks.
9125
9126 2005-05-13  Andy Wingo  <wingo@pobox.com>
9127
9128         * gst/gstutils.c (gst_element_link_pads): Instead of calling
9129         gst_pad_link, call pad_link_maybe_ghosting,
9130         (pad_link_maybe_ghosting): Links pads, making sure that the
9131         elements being linked are in the same bin.
9132         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9133         Helpers for pad_link_maybe_ghosting.
9134
9135 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9136
9137         * configure.ac:
9138           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9139
9140 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9141
9142         * docs/design/part-element-source.txt:
9143           Mention GstPushSrc
9144
9145 2005-05-12  Wim Taymans  <wim@fluendo.com>
9146
9147         * gst/base/gstbasesink.c: (gst_basesink_init),
9148         (gst_basesink_activate):
9149         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9150         (gst_basesrc_is_seekable):
9151         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9152         (bin_element_is_sink), (gst_bin_change_state):
9153         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9154         * gst/gstelement.h:
9155         Identify sinks by their flag to avoid overly complicated
9156         checks (fow now).
9157         Do state changes even for elements not reachable from the
9158         sinks.
9159         BaseSink is a sink now :)
9160         Some more debugging info in the basesrc.
9161
9162
9163 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9164
9165         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9166           Implement _query on a bin, similar to _send_event.
9167
9168 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9169
9170         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9171           Discont event offset format should be GST_FORMAT_BYTES,
9172           not GST_FORMAT_TIME.
9173
9174 2005-05-12  Wim Taymans  <wim@fluendo.com>
9175
9176         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9177         Same fix as Ronald's but without the signal. 
9178
9179 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9180
9181         * gst/gstutils.c: (gst_element_query_position):
9182           No, an element is not a pad.
9183
9184 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9185
9186         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9187         (gst_bin_get_state):
9188           If a child is removed from a bin while we remove the child from
9189           the bin and while we're retrieving its state, signal this to the
9190           get_state function so we abort the wait (instead of waiting for
9191           a timeout) and can immediately re-iterate over all other elements.
9192
9193 2005-05-12  Wim Taymans  <wim@fluendo.com>
9194
9195         * gst/base/Makefile.am:
9196         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9197         (gst_basesrc_start):
9198         * gst/base/gstbasesrc.h:
9199         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9200         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9201         (gst_pushsrc_init), (gst_pushsrc_create):
9202         * gst/base/gstpushsrc.h:
9203         Added is_seekable to BaseSrc
9204         Added simple PushSrc.
9205
9206 2005-05-11  Wim Taymans  <wim@fluendo.com>
9207
9208         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9209         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9210         (gst_element_link_pads), (gst_element_query_position),
9211         (gst_element_query_convert), (intersect_caps_func),
9212         (gst_pad_query_position), (gst_pad_query_convert):
9213         Fix refcounting in utils function.
9214         No point in trying to activate a pad when it's added, it could
9215         be added from the state change function and then we deadlock, the
9216         element has to decide what to do.
9217
9218 2005-05-10  Andy Wingo  <wingo@pobox.com>
9219
9220         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9221         *all* the arguments.
9222
9223         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9224         stream lock if it's a FLUSH_DONE; normal flushes don't get the
9225         lock (according to the docs -- if this is wrong change the docs).
9226
9227         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9228         flush messages in the NULL state.
9229
9230         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9231         message immediately and return.
9232         (gst_bus_set_flushing): New function. If a bus is flushing, it
9233         flushes out any queued messages and immediately unrefs new
9234         messages. This is so when an element goes to NULL, all of the
9235         unhandled messages coming from it can be freed, and their
9236         references to the element dropped. In other words: message source
9237         ref considered harmful :P
9238
9239         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9240         we're finished with it.
9241
9242         * gst/gstmessage.c (gst_message_new_state_changed): 
9243
9244 2005-05-10  Wim Taymans  <wim@fluendo.com>
9245
9246         * gst/gstvalue.c: (gst_value_compare_flags),
9247         (gst_value_serialize_flags), (gst_value_deserialize_flags),
9248         (_gst_value_initialize):
9249         Added flags serialize/deserialize/compare code.
9250
9251 2005-05-09  Andy Wingo  <wingo@pobox.com>
9252
9253         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9254         Intersect the peer's caps with our caps.
9255
9256 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9257
9258         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9259         * gst/elements/gsttypefindelement.c: (find_peek):
9260           Handle negative offsets better. Fixes decodebin.
9261
9262 2005-05-09  Wim Taymans  <wim@fluendo.com>
9263
9264         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9265         (gst_base_transform_event):
9266         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9267         Implement accept_caps.
9268         Fix silly lock/unlock mismatch in base class.
9269
9270 2005-05-09  Wim Taymans  <wim@fluendo.com>
9271
9272         * docs/design/draft-push-pull.txt:
9273         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9274         * gst/elements/gstfilesink.c: (gst_filesink_init),
9275         (gst_filesink_query):
9276         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9277         (gst_type_find_handle_src_query), (find_element_get_length):
9278         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9279         * gst/gstelement.h:
9280         * gst/gstmessage.c:
9281         * gst/gstmessage.h:
9282         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9283         (gst_real_pad_get_caps_unlocked),
9284         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9285         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9286         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9287         (gst_real_pad_dispose), (gst_real_pad_finalize),
9288         (gst_pad_load_and_link), (gst_pad_save_thyself),
9289         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9290         (gst_pad_check_pull_range), (gst_pad_pull_range),
9291         (gst_pad_template_get_type), (gst_pad_template_class_init),
9292         (gst_pad_template_init), (gst_pad_template_dispose),
9293         (name_is_valid), (gst_static_pad_template_get),
9294         (gst_pad_template_new), (gst_static_pad_template_get_caps),
9295         (gst_pad_template_get_caps), (gst_pad_set_element_private),
9296         (gst_pad_get_element_private), (gst_pad_start_task),
9297         (gst_pad_pause_task), (gst_pad_stop_task),
9298         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9299         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9300         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9301         (gst_ghost_pad_new):
9302         * gst/gstpad.h:
9303         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9304         (gst_query_new_position), (gst_query_set_position),
9305         (gst_query_parse_position), (gst_query_new_convert),
9306         (gst_query_set_convert), (gst_query_parse_convert):
9307         * gst/gstquery.h:
9308         * gst/gstqueryutils.c:
9309         * gst/gstqueryutils.h:
9310         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9311         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9312         (gst_queue_handle_src_query):
9313         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9314         (gst_element_query_position), (gst_element_query_convert),
9315         (intersect_caps_func), (gst_pad_query_position),
9316         (gst_pad_query_convert):
9317         * gst/gstutils.h:
9318         * tools/gst-inspect.c: (print_pad_info):
9319         * tools/gst-xmlinspect.c: (print_element_info):
9320         Remove old query functions. Ported old code.
9321         Added position/convert helper functions to gstutils.
9322         Reordered gstpad.c code, grouping relevant things.
9323         Remove gst_message_new(), always need to speficy a specific
9324         message.
9325
9326
9327 2005-05-09  Andy Wingo  <wingo@pobox.com>
9328
9329         * gst/gstiterator.h: Add some includes.
9330
9331         * gst/gstqueryutils.h: Include more headers.
9332
9333         * gst/gstpad.h:
9334         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9335         some uses of gst_pad_query.
9336
9337         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9338         NULL out parameters.
9339         (gst_query_new_position): New proc, allocates a new position
9340         query.
9341
9342         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9343         gstqueryutils.c to the build.
9344
9345         * gst/gststructure.c (gst_structure_set_valist): Implement with
9346         the generic G_VALUE_COLLECT.
9347         
9348 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
9349
9350         * gst/Makefile.am: (gst_headers):
9351         Added gstqueryutils.h to the list of headers to install, that was
9352         a 'nachty' move wingo :)
9353
9354 2005-05-06  Andy Wingo  <wingo@pobox.com>
9355
9356         * gst/gstquery.h
9357         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9358         GstData, init a memchunk.
9359         (standard_definitions): Add a few query types, deprecate a few.
9360         (gst_query_get_type): New proc.
9361         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9362         implementation.
9363         (gst_query_new_application, gst_query_get_structure): New public
9364         procs.
9365
9366         * docs/design/draft-query.txt: Removed LINKS from the query types,
9367         because all the rest can be dispatched to other pads -- seemed
9368         ugly to have a query that couldn't be dispatched. internal_links
9369         is fine as a pad method.
9370
9371         * gst/gstpad.h: Add query2 as a pad method, add the new functions
9372         in gstpad.c, but maintain binary compatibility for the moment.
9373         Will fix before 0.9 is out.
9374
9375         * gst/gstqueryutils.c: 
9376         * gst/gstqueryutils.h: New files, implement 3 methods for each
9377         query type: parse_query, parse_response, and set. Probably need an
9378         allocator as well.
9379
9380         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9381
9382         * gst/elements/gstfilesink.c (gst_filesink_query2):
9383         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9384         query_types, and formats methods.
9385
9386         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9387         (gst_pad_set_query2_function): New functions.
9388         (gst_real_pad_init): Set query2_default as the default query2
9389         function. Basically just dispatches to internally linked pads.
9390
9391         Needs review!
9392         
9393         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9394         without using the atomic operations. Only one thread can possibly
9395         be accessing the data at this point. Changed so as to avoid
9396         gst_atomic operations.
9397
9398 2005-05-06  Wim Taymans  <wim@fluendo.com>
9399
9400         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9401         Also set caps if we use the fallback buffer alloc.
9402
9403 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
9404
9405         * docs/gst/Makefile.am:
9406         * docs/gst/gstreamer-docs.sgml:
9407         * docs/gst/gstreamer-sections.txt:
9408         * docs/gst/tmpl/gstatomic.sgml:
9409         * docs/gst/tmpl/gstmemchunk.sgml:
9410         * testsuite/elements/struct_i386.h:
9411         * win32/GStreamer.vcproj:
9412         * win32/Makefile:
9413           Purge GstAtomic stuff from docs and win32 makefiles as well
9414
9415 2005-05-06  Wim Taymans  <wim@fluendo.com>
9416
9417         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9418         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9419         * gst/gstpad.c: (gst_pad_peer_get_caps):
9420         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9421         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9422         (gst_queue_src_activate), (gst_queue_change_state):
9423         * gst/gstqueue.h:
9424         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9425         (intersect_caps_func):
9426         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9427         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9428         Some fixes for the peer_get_caps() change.
9429
9430 2005-05-06  Wim Taymans  <wim@fluendo.com>
9431
9432         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9433         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9434         (gst_basesink_activate):
9435         Actually do something with error codes returned from the push
9436         functions.
9437
9438 2005-05-06  Wim Taymans  <wim@fluendo.com>
9439
9440         * docs/design/part-element-sink.txt:
9441         * docs/design/part-element-source.txt:
9442         * gst/base/gstbasesink.c: (gst_basesink_class_init),
9443         (gst_basesink_event), (gst_basesink_activate):
9444         * gst/base/gstbasesink.h:
9445         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9446         (gst_basesrc_activate):
9447         * gst/base/gstbasesrc.h:
9448         * gst/gstelement.c: (gst_element_pads_activate):
9449         Some more documentation.
9450         Fixed scheduling decision in _pads_activate().
9451
9452 2005-05-05  Andy Wingo  <wingo@pobox.com>
9453
9454         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9455         the test suite.
9456
9457 2005-05-05  Wim Taymans  <wim@fluendo.com>
9458
9459         * gst/base/Makefile.am:
9460         * gst/base/gstbasesink.h:
9461         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9462         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9463         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9464         (gst_collectpads_class_init), (gst_collectpads_init),
9465         (gst_collectpads_finalize), (gst_collectpads_new),
9466         (gst_collectpads_set_function), (gst_collectpads_add_pad),
9467         (find_pad), (gst_collectpads_remove_pad),
9468         (gst_collectpads_is_active), (gst_collectpads_collect),
9469         (gst_collectpads_collect_range), (gst_collectpads_start),
9470         (gst_collectpads_stop), (gst_collectpads_peek),
9471         (gst_collectpads_pop), (gst_collectpads_available),
9472         (gst_collectpads_read), (gst_collectpads_flush),
9473         (gst_collectpads_chain):
9474         * gst/base/gstcollectpads.h:
9475         * gst/elements/Makefile.am:
9476         * gst/elements/gstelements.c:
9477         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9478         (gst_fakesink_get_times), (gst_fakesink_event),
9479         (gst_fakesink_preroll), (gst_fakesink_render):
9480         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9481         (gst_filesink_init), (gst_filesink_set_location),
9482         (gst_filesink_open_file), (gst_filesink_close_file),
9483         (gst_filesink_pad_query), (gst_filesink_event),
9484         (gst_filesink_render), (gst_filesink_change_state):
9485         * gst/elements/gstfilesink.h:
9486         Added object to help in making collect pad based elements.
9487         Ported filesink.
9488         Make event function in sink baseclass return gboolean.
9489
9490 2005-05-05  Wim Taymans  <wim@fluendo.com>
9491
9492         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9493         (gst_bin_get_by_name):
9494         * gst/gstbuffer.h:
9495         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9496         (gst_clock_finalize):
9497         * gst/gstdata.c: (gst_data_replace):
9498         * gst/gstdata.h:
9499         * gst/gstelement.c: (gst_element_request_pad),
9500         (gst_element_pads_activate):
9501         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9502         (gst_object_unref):
9503         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9504         (gst_pad_set_checkgetrange_function),
9505         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9506         (gst_pad_check_pull_range), (gst_pad_pull_range),
9507         (gst_static_pad_template_get_caps), (gst_pad_start_task),
9508         (gst_pad_pause_task), (gst_pad_stop_task):
9509         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9510         (gst_element_request_pad), (gst_pad_proxy_getcaps):
9511         Fix name lookup in GstBin.
9512         Added _data_replace() function and _buffer_replace()
9513         Use finalize method to clean up clock.
9514         Fix refcounting on request pads.
9515         Fix pad schedule mode error.
9516         Some more object refcounting debug info,
9517
9518
9519 2005-05-04  Andy Wingo <wingo@pobox.com>
9520
9521         * check/Makefile.am:
9522         * docs/gst/tmpl/gstatomic.sgml:
9523         * docs/gst/tmpl/gstplugin.sgml:
9524         * gst/base/gstbasesink.c: (gst_basesink_activate):
9525         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9526         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9527         (gst_basesrc_query), (gst_basesrc_set_property),
9528         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9529         (gst_basesrc_activate):
9530         * gst/base/gstbasesrc.h:
9531         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9532         (gst_base_transform_src_activate):
9533         * gst/elements/gstelements.c:
9534         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9535         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9536         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9537         * gst/elements/gsttypefindelement.c: (find_element_get_length),
9538         (gst_type_find_element_checkgetrange),
9539         (gst_type_find_element_activate):
9540         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9541         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9542         (gst_caps_load_thyself):
9543         * gst/gstelement.c: (gst_element_pads_activate),
9544         (gst_element_save_thyself), (gst_element_restore_thyself):
9545         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9546         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9547         * gst/gstpad.h:
9548         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9549         (gst_xml_parse_file), (gst_xml_parse_memory),
9550         (gst_xml_get_element), (gst_xml_make_element):
9551         * gst/indexers/gstfileindex.c: (gst_file_index_load),
9552         (_file_index_id_save_xml), (gst_file_index_commit):
9553         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9554         (read_enum), (load_pad_template), (load_feature), (load_plugin),
9555         (load_paths):
9556         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9557         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9558         * tools/gst-complete.c: (main):
9559         * tools/gst-compprep.c: (main):
9560         * tools/gst-inspect.c: (print_element_properties_info):
9561         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9562         * tools/gst-xmlinspect.c: (print_element_properties):
9563         GCC 4 fixen.
9564         
9565 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9566
9567         * gst/gstplugin.c: (gst_plugin_check_module),
9568         (gst_plugin_check_file), (gst_plugin_load_file):
9569             apply patch from #172526 to make register work on MacOSX
9570
9571 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9572
9573         * docs/gst/tmpl/gstconfig.sgml:
9574         * gst/gstconfig.h.in:
9575           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
9576         * testsuite/debug/printf_extension.c: (main):
9577           Do not use GST_PTR_FORMAT on pointers to types with
9578           sizeof < sizeof(gpointer).  Fixes test on 64-bit
9579         * testsuite/elements/property.h:
9580           use correct printf format
9581
9582 2005-05-02  Wim Taymans  <wim@fluendo.com>
9583
9584         * docs/design/draft-push-pull.txt:
9585         * docs/design/draft-query.txt:
9586         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9587         (gst_basesrc_start):
9588         Added draft for new query API.
9589         Added draft for better selecting scheduling methods.
9590         Make basesrc ignore length if the subclass does not support
9591         it.
9592
9593 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9594
9595         * gst/Makefile.am:
9596           possible fixes for automake-1.5 - _LIBADD is reserved
9597
9598 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9599
9600         * docs/faq/Makefile.am:
9601         * docs/manual/Makefile.am:
9602         * docs/manuals.mak:
9603         * docs/pwg/Makefile.am:
9604         * gst/Makefile.am:
9605           possible fixes for automake-1.5
9606
9607 2005-04-28  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9610         (gst_basesink_pad_getcaps), (gst_basesink_init),
9611         (gst_basesink_do_sync):
9612         * gst/gstclock.c: (gst_clock_entry_new):
9613         * gst/gstevent.c: (gst_event_discont_get_value):
9614         * gst/gstpipeline.c: (pipeline_bus_handler),
9615         (gst_pipeline_change_state):
9616         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9617         Better debugging of clocking info.
9618         Allow NULL values when getting discont values.
9619
9620 2005-04-27  Wim Taymans  <wim@fluendo.com>
9621
9622         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9623         * check/gst/gstpad.c: (gst_pad_suite):
9624         Increase timeout for checks.
9625
9626 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9627
9628         * check/Makefile.am:
9629           fix the broken rule for cleanup.  Apparently this rule is
9630           only needed on FC2, so maybe this warrants further autotool
9631           inspection.
9632
9633 2005-04-26  Wim Taymans  <wim@fluendo.com>
9634
9635         * gst/gsttrashstack.h:
9636         Ooohh. a nasty one! After having a failed pop() from the stack,
9637         it's possible that the stack is empty. In that case, don't
9638         follow the NULL pointer.
9639
9640 2005-04-25  Wim Taymans  <wim@fluendo.com>
9641
9642         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9643         (gst_pad_set_checkgetrange_function),
9644         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9645         (gst_pad_check_pull_range), (gst_pad_pull_range),
9646         (gst_static_pad_template_get_caps), (gst_pad_start_task),
9647         (gst_pad_pause_task), (gst_pad_stop_task):
9648         * gst/gstplugin.c: (gst_plugin_load):
9649         * gst/gstplugin.h:
9650         Remove gst_library_load as it does more harm than good with
9651         the new g_module flags.
9652         Revert bogus caps template check in pad linking, pad caps
9653         are important when linking not the template, which is more
9654         general than the current caps.
9655
9656 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9657
9658         * gst/autoplug/.cvsignore:
9659         * gst/autoplug/Makefile.am:
9660         * gst/autoplug/gstsearchfuncs.c:
9661         * gst/autoplug/gstsearchfuncs.h:
9662         * gst/autoplug/gstspider.c:
9663         * gst/autoplug/gstspider.h:
9664         * gst/autoplug/gstspideridentity.c:
9665         * gst/autoplug/gstspideridentity.h:
9666         * gst/autoplug/spidertest.c:
9667           Die, spider, die.
9668
9669 2005-04-25  Wim Taymans  <wim@fluendo.com>
9670
9671         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9672         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9673         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9674         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9675         * gst/gstpad.h:
9676         Added stubs for unimplemented functions. 
9677
9678 2005-04-24  David Schleef  <ds@schleef.org>
9679
9680         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
9681         please fix.
9682
9683 2005-04-24  David Schleef  <ds@schleef.org>
9684
9685         Convert everything from GstAtomicInt to g_atomic_int_*, and
9686         remove gstatomic.
9687         * gst/Makefile.am:
9688         * gst/gstatomic.c:
9689         * gst/gstatomic.h:
9690         * gst/gstatomic_impl.h:
9691         * gst/gstbuffer.c:
9692         * gst/gstcaps.c:
9693         * gst/gstcaps.h:
9694         * gst/gstclock.c:
9695         * gst/gstclock.h:
9696         * gst/gstdata.c:
9697         * gst/gstdata.h:
9698         * gst/gstdata_private.h:
9699         * gst/gstevent.c:
9700         * gst/gstinfo.c:
9701         * gst/gstinfo.h:
9702         * gst/gstmessage.c:
9703         * gst/gstobject.c:
9704         * gst/gstobject.h:
9705         * gst/gststructure.c:
9706         * gst/gststructure.h:
9707         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9708         * gst/gstutils.h:
9709
9710 2005-04-24  David Schleef  <ds@schleef.org>
9711
9712         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9713         make the regressions tests work.  Remove some code that is no
9714         longer true.
9715         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9716         Disable warning for pads without templates.
9717
9718 2005-04-24  David Schleef  <ds@schleef.org>
9719
9720         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
9721         functions that handle filtered links.
9722         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9723         removed functions.
9724         * gst/gstutils.c: Fix/remove utility functions that handle
9725         filtered caps.
9726         * gst/gstutils.h:
9727         * gst/gstvalue.c: Add serialization/deserialization of caps
9728         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
9729         requires fixing so that the filter caps notation creates
9730         a capsfilter element and sets the filter_caps property.  I
9731         think everyone probably wants to keep the shorthand notation.
9732         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9733         * docs/gst/tmpl/gstpad.sgml:
9734
9735         * gst/elements/gstelements.c: Register capsfilter element.
9736         * gst/Makefile.am: fix spacing
9737         * docs/random/ds/0.9-suggested-changes: random
9738
9739 2005-04-23  David Schleef  <ds@schleef.org>
9740
9741         * gst/elements/Makefile.am:
9742         * gst/elements/gstcapsfilter.c: New element that acts like an
9743         identity, but filters caps.  Will eventually replace filtered
9744         caps in pad linking.
9745         * gst/gstutils.c: (gst_element_create_all_pads): New function
9746         to create all the ALWAYS pads that are registered with an
9747         element class.  This functionality should eventually be
9748         merged in with GstElement initialization.
9749         * gst/gstutils.h:
9750         * testsuite/trigger/README: part of trigger test code that should
9751         have been checked in a long time ago.
9752
9753 2005-04-23  David Schleef  <ds@schleef.org>
9754
9755         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
9756         needed with new versions of libtool (nobody will confirm this),
9757         and hard to carry around.
9758         * gst/autoplug/Makefile.am:
9759         * gst/base/Makefile.am:
9760         * gst/elements/Makefile.am:
9761         * gst/indexers/Makefile.am:
9762         * gst/schedulers/Makefile.am:
9763         * libs/gst/bytestream/Makefile.am:
9764         * libs/gst/control/Makefile.am:
9765         * libs/gst/dataprotocol/Makefile.am:
9766         * libs/gst/getbits/Makefile.am:
9767
9768 2005-04-21  Wim Taymans  <wim@fluendo.com>
9769
9770         * docs/design/draft-push-pull.txt:
9771         * docs/design/part-MT-refcounting.txt:
9772         * docs/design/part-TODO.txt:
9773         * docs/design/part-caps.txt:
9774         * docs/design/part-events.txt:
9775         * docs/design/part-gstbus.txt:
9776         * docs/design/part-gstpipeline.txt:
9777         * docs/design/part-messages.txt:
9778         * docs/design/part-push-pull.txt:
9779         * docs/design/part-query.txt:
9780         Some more docs.
9781
9782 2005-04-21  Wim Taymans  <wim@fluendo.com>
9783
9784         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9785         (gst_message_new), (gst_message_new_error),
9786         (gst_message_new_warning), (gst_message_new_tag),
9787         (gst_message_new_state_changed), (gst_message_new_application),
9788         (gst_message_get_structure):
9789         * gst/gstmessage.h:
9790         * gst/gststructure.c: (gst_structure_set_parent_refcount),
9791         (gst_structure_copy_conditional):
9792         Use parent refcount in GstMessage to ensure GstStructure
9793         consistency.
9794         Cleaned up headers a bit.
9795         
9796
9797 2005-04-20  Wim Taymans  <wim@fluendo.com>
9798
9799         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9800         (gst_basesink_pad_getcaps), (gst_basesink_init),
9801         (gst_basesink_chain_unlocked):
9802         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9803         (gst_type_find_helper):
9804         * gst/elements/gsttypefindelement.c:
9805         (gst_type_find_element_have_type), (gst_type_find_element_init),
9806         (stop_typefinding), (gst_type_find_element_handle_event),
9807         (find_suggest), (gst_type_find_element_chain),
9808         (gst_type_find_element_checkgetrange),
9809         (gst_type_find_element_getrange), (do_typefind),
9810         (gst_type_find_element_activate):
9811         * gst/gstbuffer.c: (_gst_buffer_sub_free),
9812         (gst_buffer_default_free), (gst_buffer_default_copy),
9813         (gst_buffer_set_caps):
9814         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9815         (gst_caps_replace):
9816         * gst/gstmessage.c: (gst_message_new),
9817         (gst_message_new_state_changed):
9818         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9819         (gst_pad_set_checkgetrange_function),
9820         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9821         (gst_pad_set_caps), (gst_pad_check_pull_range),
9822         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9823         * gst/gstpad.h:
9824         * gst/gsttypefind.c: (gst_type_find_register):
9825         Make gst_caps_replace() work like other _replace() functions.
9826         Use _caps_replace() where possible.
9827         Make sure _message_new() initialises its field.
9828         Add gst_static_pad_template_get_caps()
9829
9830
9831 2005-04-18  Andy Wingo  <wingo@pobox.com>
9832
9833         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9834         on the peer, not the pad. I think that was a typo. Pass an extra
9835         arg to see if random access is possible. Activate the pads as
9836         PULL_RANGE if possible.
9837
9838         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9839
9840         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
9841         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9842         to PROP_....
9843
9844 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9845
9846         * docs/faq/using.xml:
9847           Add note on gstreamer-properties (#154996).
9848
9849 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9850
9851         * docs/random/bbb/optional-properties:
9852           Some analysis on optional properties.
9853
9854 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9855
9856         * docs/gst/tmpl/gstelementfactory.sgml:
9857         * gst/gstelement.h:
9858         * gst/gstelementfactory.c: (gst_element_factory_init),
9859         (gst_element_factory_cleanup), (gst_element_register),
9860         (__gst_element_factory_add_static_pad_template),
9861         (gst_element_factory_get_static_pad_templates),
9862         (gst_element_factory_can_src_caps),
9863         (gst_element_factory_can_sink_caps):
9864         * gst/registries/Makefile.am:
9865         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9866         (gst_xml_registry_class_init), (gst_xml_registry_init),
9867         (gst_xml_registry_new), (gst_xml_registry_set_property),
9868         (gst_xml_registry_get_property), (get_time), (make_dir),
9869         (gst_xml_registry_get_perms_func),
9870         (plugin_times_older_than_recurse), (plugin_times_older_than),
9871         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9872         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9873         (add_to_char_array), (read_string), (read_uint), (read_enum),
9874         (load_pad_template), (load_feature), (load_plugin), (load_paths),
9875         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9876         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9877         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9878         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9879         (gst_xml_registry_rebuild):
9880         * gst/registries/gstlibxmlregistry.h:
9881         * tools/gst-compprep.c: (main):
9882         * tools/gst-inspect.c: (print_pad_templates_info):
9883         * tools/gst-xmlinspect.c: (print_element_info):
9884           Use libxml2 for registry parsing, use staticpadtemplates in
9885           elementfactories. Makes gst_init() +/- 10x faster.
9886
9887 2005-04-12  Wim Taymans  <wim@fluendo.com>
9888
9889         * gst/base/Makefile.am:
9890         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9891         (gst_basesink_pad_getcaps), (gst_basesink_init),
9892         (gst_basesink_event), (gst_basesink_change_state):
9893         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9894         (gst_basesrc_init), (gst_basesrc_query),
9895         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9896         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9897         (gst_basesrc_check_get_range), (gst_basesrc_loop),
9898         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9899         (gst_basesrc_stop), (gst_basesrc_activate),
9900         (gst_basesrc_change_state):
9901         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9902         (helper_find_suggest), (gst_type_find_helper):
9903         * gst/base/gsttypefindhelper.h:
9904         * gst/elements/Makefile.am:
9905         * gst/elements/gstelements.c:
9906         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9907         (gst_fakesink_get_times), (gst_fakesink_event),
9908         (gst_fakesink_preroll), (gst_fakesink_render):
9909         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9910         (gst_fakesrc_init), (gst_fakesrc_event_handler),
9911         (gst_fakesrc_get_property), (gst_fakesrc_create),
9912         (gst_fakesrc_start), (gst_fakesrc_stop):
9913         * gst/elements/gstfakesrc.h:
9914         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9915         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9916         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9917         (gst_filesrc_create_read), (gst_filesrc_create),
9918         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9919         (gst_filesrc_start):
9920         * gst/elements/gsttypefindelement.c:
9921         (gst_type_find_element_have_type), (gst_type_find_element_init),
9922         (start_typefinding), (stop_typefinding), (push_buffer_store),
9923         (gst_type_find_element_handle_event),
9924         (gst_type_find_element_chain),
9925         (gst_type_find_element_checkgetrange),
9926         (gst_type_find_element_getrange), (do_typefind),
9927         (gst_type_find_element_activate),
9928         (gst_type_find_element_change_state):
9929         * gst/elements/gsttypefindelement.h:
9930         * gst/gstpipeline.c: (pipeline_bus_handler):
9931         Added typefind helper.
9932         Small preroll fix in the base sink.
9933         Disable typefind code in basesrc.
9934         Crude port of typefindelement.
9935         Fakesrc cleanups.
9936
9937
9938 2005-04-11  Wim Taymans  <wim@fluendo.com>
9939
9940         * check/gst/gstbus.c: (gstbus_suite):
9941         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9942         * check/gstcheck.h:
9943           Fix up the timeout so that the test does not fail.
9944
9945 2005-04-06  Wim Taymans  <wim@fluendo.com>
9946
9947         * gst/base/README:
9948         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9949         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9950         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9951         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9952         (gst_basesrc_check_get_range), (gst_basesrc_loop),
9953         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9954         (gst_basesrc_stop), (gst_basesrc_activate),
9955         (gst_basesrc_change_state), (basesrc_find_peek),
9956         (basesrc_find_suggest), (gst_basesrc_type_find):
9957         * gst/base/gstbasesrc.h:
9958         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9959         (gst_filesrc_class_init), (gst_filesrc_init),
9960         (gst_filesrc_finalize), (gst_filesrc_set_location),
9961         (gst_filesrc_set_property), (gst_filesrc_get_property),
9962         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9963         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9964         (gst_filesrc_create_read), (gst_filesrc_create),
9965         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9966         * gst/elements/gstfilesrc.h:
9967         * gst/gstelement.c: (gst_element_get_state_func),
9968         (gst_element_lost_state), (gst_element_pads_activate):
9969         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9970         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9971         (gst_pad_pull_range):
9972         * gst/gstpad.h:
9973         More work on the generic source base class, implement seeking,
9974         query.
9975         Make filesrc extend the base source class.
9976         Added gst_pad_set_checkgetrange_function to GstPad.
9977
9978 2005-04-06  Andy Wingo  <wingo@pobox.com>
9979
9980         * pkgconfig/gstreamer-base.pc.in:
9981         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9982
9983         * pkgconfig/Makefile.am:
9984         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9985
9986 2005-04-04  Wim Taymans  <wim@fluendo.com>
9987
9988         * gst/base/Makefile.am:
9989         * gst/base/README:
9990         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9991         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9992         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9993         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9994         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9995         (gst_basesrc_base_init), (gst_basesrc_class_init),
9996         (gst_basesrc_init), (gst_basesrc_get_formats),
9997         (gst_basesrc_get_query_types), (gst_basesrc_query),
9998         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9999         (gst_basesrc_set_property), (gst_basesrc_get_property),
10000         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10001         (gst_basesrc_loop), (gst_basesrc_activate),
10002         (gst_basesrc_change_state):
10003         * gst/base/gstbasesrc.h:
10004         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10005         (gst_fakesrc_class_init), (gst_fakesrc_init),
10006         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10007         (gst_fakesrc_get_property), (gst_fakesrc_create):
10008         * gst/elements/gstfakesrc.h:
10009         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10010         (gst_filesrc_open_file), (gst_filesrc_loop),
10011         (gst_filesrc_activate), (filesrc_find_peek),
10012         (gst_filesrc_type_find):
10013         Made base source class, make fakesrc extend it.
10014         Add comments to basesink class.
10015         Some filesrc cleanup.
10016
10017 2005-03-31  David Schleef  <ds@schleef.org>
10018
10019         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10020         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10021         expected to link against libgstreamer.
10022         * gst/base/Makefile.am: link against libgstreamer
10023         * gst/elements/Makefile.am: same
10024
10025 2005-03-31  Andy Wingo  <wingo@pobox.com>
10026
10027         * tests/instantiate/Makefile.am:
10028         * tests/instantiate/caps.c: Add test to test speed of caps copy
10029         and free.
10030
10031         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10032         GMemChunk to be fair.
10033
10034         * gst/gsttrashstack.h: Remove warning about using the fallback
10035         trash stack implementation, it's still faster than malloc.
10036
10037 2005-03-30  Andy Wingo  <wingo@pobox.com>
10038
10039         * tests/complexity.c: Add a copyright.
10040
10041 2005-03-31  Wim Taymans  <wim@fluendo.com>
10042
10043         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10044         (gst_base_transform_class_init), (gst_base_transform_init),
10045         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10046         (gst_base_transform_get_property),
10047         (gst_base_transform_sink_activate),
10048         (gst_base_transform_src_activate),
10049         (gst_base_transform_change_state):
10050         * gst/base/gstbasetransform.h:
10051         * gst/elements/gstidentity.c: (gst_identity_class_init),
10052         (gst_identity_event), (gst_identity_check_perfect),
10053         (gst_identity_transform), (gst_identity_start),
10054         (gst_identity_stop):
10055         Added start/stop methods to transform base class so subclasses 
10056         don't need to deal with state changes even.
10057
10058 2005-03-31  Wim Taymans  <wim@fluendo.com>
10059
10060         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10061         (gst_event_new_discontinuous), (gst_event_discont_get_value):
10062         * gst/gstevent.h:
10063         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10064         (gst_pad_pull_range):
10065         Added rate to the discont event to prepare for variable speed
10066         and reverse playback.
10067
10068 2005-03-29  David Schleef  <ds@schleef.org>
10069
10070         * configure.ac:
10071         * testsuite/trigger/Makefile.am:
10072         * testsuite/trigger/trigger.c: A little example program to show
10073         how trigger-based elements can work.
10074
10075 2005-03-29  Wim Taymans  <wim@fluendo.com>
10076
10077         * gst/base/Makefile.am:
10078         * gst/base/README:
10079         * gst/base/gstbasesink.c: (gst_basesink_get_type),
10080         (gst_basesink_base_init), (gst_basesink_class_init),
10081         (gst_basesink_pad_getcaps), (gst_basesink_init),
10082         (gst_basesink_activate), (gst_basesink_change_state):
10083         * gst/base/gstbasesink.h:
10084         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10085         (gst_base_transform_base_init), (gst_base_transform_finalize),
10086         (gst_base_transform_class_init), (gst_base_transform_init),
10087         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10088         (gst_base_transform_event), (gst_base_transform_getrange),
10089         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10090         (gst_base_transform_set_property),
10091         (gst_base_transform_get_property),
10092         (gst_base_transform_sink_activate),
10093         (gst_base_transform_src_activate),
10094         (gst_base_transform_change_state):
10095         * gst/base/gstbasetransform.h:
10096         * gst/elements/gstidentity.c: (gst_identity_finalize),
10097         (gst_identity_class_init), (gst_identity_init),
10098         (gst_identity_event), (gst_identity_check_perfect),
10099         (gst_identity_transform), (gst_identity_set_property),
10100         (gst_identity_get_property), (gst_identity_change_state):
10101         * gst/elements/gstidentity.h:
10102         * gst/gstelement.c: (gst_element_get_state_func),
10103         (gst_element_lost_state), (gst_element_pads_activate):
10104         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10105         (gst_pad_check_pull_range), (gst_pad_pull_range):
10106         * gst/gstpad.h:
10107         Simplify pad activation.
10108         Added function to check if pull_range can be performed.
10109         Error out when pulling inactive or flushing pads.
10110         Removed const from refcounted types as it does not make sense.
10111         Simplify pad templates in basesink
10112         Added base class for simple 1-to-1 transforms.
10113         Make identity subclass the base transform.
10114
10115 2005-03-29  Andy Wingo  <wingo@pobox.com>
10116
10117         * docs/libs/gstreamer-libs-overrides.txt: 
10118         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10119         really don't understand what's going on, but like whatever. I want
10120         green buildbot!
10121
10122         * docs/gst/Makefile.am:
10123         * docs/libs/Makefile.am: Dist the overrides files.
10124
10125         * check/Makefile.am (clean-local): Remove .libs directories.
10126
10127         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10128         elements to EXTRA_DIST, so po/ files are happy.
10129
10130         * po/POTFILES.in: Er, remove it here.
10131
10132         * po/POTFILES: Remove gstspider.c.
10133
10134         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10135
10136         * docs/libs/gstreamer-libs-docs.sgml: 
10137         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10138         bytestream.
10139
10140         * tests/complexity.c (main): Set the length of the preroll queue
10141         on the sinks to prevent a lockup.
10142
10143         * libs/gst/dataprotocol/Makefile.am: 
10144         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10145         the same as the one in check/gst-libs/gdp.c.
10146
10147         * po/, docs/gst/: Commit automatic changes to docs and po files.
10148
10149         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10150         the versioned libgstbase.
10151
10152         * check/Makefile.am: Depend on an unversioned gst-register, seems
10153         to make autoconf happier.
10154
10155         * gst/base/Makefile.am: Make libgstbase a versioned lib.
10156
10157 2005-03-28  Wim Taymans  <wim@fluendo.com>
10158
10159         * configure.ac:
10160         * docs/design/part-gstelement.txt:
10161         * docs/design/part-negotiation.txt:
10162         * docs/design/part-preroll.txt:
10163         * docs/design/part-scheduling.txt:
10164         * docs/design/part-states.txt:
10165         * gst/Makefile.am:
10166         * gst/base/Makefile.am:
10167         * gst/base/README:
10168         * gst/base/gstbasesink.c: (gst_basesink_get_template),
10169         (gst_basesink_base_init), (gst_basesink_class_init),
10170         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10171         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10172         (gst_basesink_set_pad_functions),
10173         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10174         (gst_basesink_set_property), (gst_basesink_get_property),
10175         (gst_base_sink_get_template), (gst_base_sink_get_caps),
10176         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10177         (gst_basesink_preroll_queue_push),
10178         (gst_basesink_preroll_queue_empty),
10179         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10180         (gst_basesink_event), (gst_basesink_get_times),
10181         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10182         (gst_basesink_chain_unlocked), (gst_basesink_chain),
10183         (gst_basesink_loop), (gst_basesink_activate),
10184         (gst_basesink_change_state):
10185         * gst/base/gstbasesink.h:
10186         * gst/elements/Makefile.am:
10187         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10188         (gst_fakesink_class_init), (gst_fakesink_init),
10189         (gst_fakesink_set_property), (gst_fakesink_get_property),
10190         (gst_fakesink_get_times), (gst_fakesink_event),
10191         (gst_fakesink_preroll), (gst_fakesink_render),
10192         (gst_fakesink_change_state):
10193         * gst/elements/gstfakesink.h:
10194         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10195         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10196         * gst/gstelement.c: (gst_element_add_pad),
10197         (gst_element_get_state_func), (gst_element_abort_state),
10198         (gst_element_commit_state), (gst_element_lost_state),
10199         (gst_element_set_state), (gst_element_pads_activate):
10200         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10201         * gst/gstpipeline.c: (gst_pipeline_send_event),
10202         (gst_pipeline_change_state):
10203         Added state change code.
10204         Added/updated docs.
10205         Added sink base class, make fakesink extend the base class.
10206         Small cleanups in GstPipeline.
10207
10208 2005-03-26  David Schleef  <ds@schleef.org>
10209
10210         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
10211         is broken and should be implemented in a different library.
10212         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10213         * gst/gst.h: remove gstcpu.h
10214         * gst/gstcpu.c: remove
10215         * gst/gstcpu.h: remove
10216         * gst/Makefile.am.future: Remove this file.  It's ancient.
10217
10218 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10219
10220         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10221         (gst_bin_send_event):
10222           Add default event/set_manager handlers. The set_manager handler
10223           takes care that the manager is distributed over kids that were
10224           already in the bin before the manager was set. The event handler
10225           is a utility virtual function that sends the event over all sinks,
10226           so that gst_element_send_event (bin, event); has the expected
10227           behaviour.
10228         * gst/gstpad.c: (gst_pad_event_default):
10229           Re-install default event handling for discontinuities, so that
10230           seeking works without requiring hacks in applications or extra
10231           code in sinks.
10232         * gst/gstpipeline.c: (gst_pipeline_class_init),
10233         (gst_pipeline_send_event):
10234           Half hack, half utility: set a pipeline to PAUSED for seek events,
10235           since that is the only way we can guarantee a/v sync. Means that
10236           you can do gst_element_seek (pipeline, method, pos); on a pipeline
10237           and it "just works".
10238
10239 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10240
10241         * gst/gstpipeline.c: (gst_pipeline_use_clock):
10242           Lock/unlock mismatch.
10243
10244 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
10245
10246         * docs/faq/gst-uninstalled:
10247           add gst-plugins-base
10248         * docs/gst/Makefile.am:
10249           don't error out until docs are fixed
10250         * docs/gst/gstreamer.types:
10251           remove thread
10252
10253 2005-03-22  Wim Taymans  <wim@fluendo.com>
10254
10255         * check/Makefile.am:
10256         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10257         * gst/gststructure.c: (gst_structure_set_valist),
10258         (gst_structure_copy_conditional):
10259         Activated more tests.
10260         Added message test.
10261         Added G_TYPE_POINTER to GstStructure.
10262         
10263
10264 2005-03-22  Wim Taymans  <wim@fluendo.com>
10265
10266         * docs/design/part-TODO.txt:
10267         * docs/design/part-events.txt:
10268         * docs/design/part-gstbin.txt:
10269         * docs/design/part-gstbus.txt:
10270         * docs/design/part-gstpipeline.txt:
10271         * docs/design/part-messages.txt:
10272         * gst/gstbus.c:
10273         * gst/gstmessage.c:
10274         Docs updates
10275
10276 2005-03-21  Wim Taymans  <wim@fluendo.com>
10277
10278         * gst/gstbus.c: (gst_bus_post):
10279         Fix copy-and-paste error.
10280
10281 2005-03-21  Wim Taymans  <wim@fluendo.com>
10282
10283         * check/Makefile.am:
10284         * gst/Makefile.am:
10285         * gst/elements/Makefile.am:
10286         * gst/elements/gstelements.c:
10287         * gst/elements/gstfakesink.c: (gst_fakesink_init),
10288         (gst_fakesink_event), (gst_fakesink_chain):
10289         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10290         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10291         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10292         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10293         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10294         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10295         (gst_fakesrc_loop), (gst_fakesrc_activate),
10296         (gst_fakesrc_change_state):
10297         * gst/elements/gstfakesrc.h:
10298         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10299         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10300         (gst_filesrc_open_file), (gst_filesrc_loop),
10301         (gst_filesrc_activate), (gst_filesrc_change_state),
10302         (filesrc_find_peek), (filesrc_find_suggest),
10303         (gst_filesrc_type_find):
10304         * gst/elements/gstidentity.c: (gst_identity_finalize),
10305         (gst_identity_class_init), (gst_identity_init),
10306         (gst_identity_proxy_getcaps), (identity_queue_push),
10307         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10308         (gst_identity_getrange), (gst_identity_chain),
10309         (gst_identity_sink_loop), (gst_identity_src_loop),
10310         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10311         (gst_identity_set_property), (gst_identity_get_property),
10312         (gst_identity_change_state):
10313         * gst/elements/gstidentity.h:
10314         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10315         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10316         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10317         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10318         (gst_tee_sink_activate):
10319         * gst/elements/gsttee.h:
10320         * gst/gst.c: (gst_register_core_elements), (init_post):
10321         * gst/gst.h:
10322         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10323         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10324         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10325         (gst_bin_change_state):
10326         * gst/gstbin.h:
10327         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10328         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10329         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10330         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10331         (gst_bus_set_sync_handler), (gst_bus_create_watch),
10332         (bus_watch_callback), (bus_watch_destroy),
10333         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10334         (poll_timeout), (gst_bus_poll):
10335         * gst/gstbus.h:
10336         * gst/gstcaps.h:
10337         * gst/gstdata.h:
10338         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10339         (gst_element_post_message), (gst_element_message_full),
10340         (gst_element_get_state_func), (gst_element_get_state),
10341         (gst_element_abort_state), (gst_element_commit_state),
10342         (gst_element_lost_state), (gst_element_set_state),
10343         (gst_element_pads_activate), (gst_element_change_state),
10344         (gst_element_dispose), (gst_element_set_manager_func),
10345         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10346         (gst_element_set_manager), (gst_element_get_manager),
10347         (gst_element_set_bus), (gst_element_get_bus),
10348         (gst_element_set_scheduler), (gst_element_get_scheduler):
10349         * gst/gstelement.h:
10350         * gst/gstevent.c: (gst_event_new_segment_seek),
10351         (gst_event_new_flush):
10352         * gst/gstevent.h:
10353         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10354         (_gst_message_free), (gst_message_get_type), (gst_message_new),
10355         (gst_message_new_eos), (gst_message_new_error),
10356         (gst_message_new_warning), (gst_message_new_tag),
10357         (gst_message_new_state_changed), (gst_message_new_application),
10358         (gst_message_get_structure), (gst_message_parse_tag),
10359         (gst_message_parse_state_changed), (gst_message_parse_error),
10360         (gst_message_parse_warning):
10361         * gst/gstmessage.h:
10362         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10363         (gst_real_pad_set_property), (gst_pad_set_active),
10364         (gst_pad_is_active), (gst_pad_set_blocked_async),
10365         (gst_pad_set_blocked), (gst_pad_is_blocked),
10366         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10367         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10368         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10369         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10370         (gst_pad_link_filtered), (gst_pad_relink_filtered),
10371         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10372         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10373         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10374         (gst_pad_set_caps), (gst_pad_configure_sink),
10375         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10376         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10377         (gst_real_pad_dispose), (gst_real_pad_finalize),
10378         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10379         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10380         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10381         * gst/gstpad.h:
10382         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10383         (pipeline_bus_handler), (gst_pipeline_change_state),
10384         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10385         * gst/gstpipeline.h:
10386         * gst/gstprobe.h:
10387         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10388         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10389         (gst_queue_link_src), (gst_queue_bufferalloc),
10390         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10391         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10392         (gst_queue_loop), (gst_queue_handle_src_event),
10393         (gst_queue_handle_src_query), (gst_queue_src_activate),
10394         (gst_queue_change_state):
10395         * gst/gstqueue.h:
10396         * gst/gstscheduler.c: (gst_scheduler_init),
10397         (gst_scheduler_dispose), (gst_scheduler_create_task),
10398         (gst_scheduler_factory_create):
10399         * gst/gstscheduler.h:
10400         * gst/gststructure.c: (gst_structure_get_type),
10401         (gst_structure_copy_conditional):
10402         * gst/gststructure.h:
10403         * gst/gsttaginterface.h:
10404         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10405         (gst_task_init), (gst_task_dispose), (gst_task_create),
10406         (gst_task_get_state), (gst_task_start), (gst_task_stop),
10407         (gst_task_pause):
10408         * gst/gsttask.h:
10409         * gst/gstthread.c:
10410         * gst/gstthread.h:
10411         * gst/gsttypes.h:
10412         * gst/schedulers/Makefile.am:
10413         * gst/schedulers/cothreads_compat.h:
10414         * gst/schedulers/entryscheduler.c:
10415         * gst/schedulers/faircothreads.c:
10416         * gst/schedulers/faircothreads.h:
10417         * gst/schedulers/fairscheduler.c:
10418         * gst/schedulers/gstbasicscheduler.c:
10419         * gst/schedulers/gstoptimalscheduler.c:
10420         * gst/schedulers/gthread-cothreads.h:
10421         * gst/schedulers/threadscheduler.c:
10422         (gst_thread_scheduler_task_get_type),
10423         (gst_thread_scheduler_task_class_init),
10424         (gst_thread_scheduler_task_init),
10425         (gst_thread_scheduler_task_start),
10426         (gst_thread_scheduler_task_stop),
10427         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10428         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10429         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10430         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10431         (plugin_init):
10432         * libs/gst/Makefile.am:
10433         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10434         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10435         (gst_file_pad_parent_set):
10436         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10437         (gst_dp_event_from_packet):
10438         * tests/complexity.c: (main):
10439         * tests/mass_elements.c: (main):
10440         * testsuite/states/locked.c: (message_received), (main):
10441         * testsuite/states/parent.c: (main):
10442         * tools/gst-inspect.c: (print_element_flag_info),
10443         (print_implementation_info), (print_pad_info):
10444         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10445         (main):
10446         * tools/gst-md5sum.c: (event_loop), (main):
10447         * tools/gst-typefind.c: (main):
10448         * tools/gst-xmlinspect.c: (print_element_info):
10449         Next big merge.
10450         Added GstBus for mainloop integration.
10451         Added GstMessage for sending notifications on the bus.
10452         Added GstTask as an abstraction for pipeline entry points.
10453         Removed GstThread.
10454         Removed Schedulers.
10455         Simplified GstQueue for multithreaded core.
10456         Made _link threadsafe, removed old capsnego.
10457         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10458         Added pad blocking functions.
10459         Reworked scheduling functions in GstPad to prepare for
10460         scheduling updates soon.
10461         Moved events out of data stream.
10462         Simplified GstEvent types.
10463         Added return values to push/pull.
10464         Removed clocking from GstElement.
10465         Added prototypes for state change function for next merge.
10466         Removed iterate from bins and state change management.
10467         Fixed some elements, disabled others for now.
10468         Fixed -inspect and -launch.
10469         Added check for GstBus.
10470
10471 2005-03-10  Wim Taymans  <wim@fluendo.com>
10472
10473         * docs/design/part-MT-refcounting.txt:
10474         * docs/design/part-clocks.txt:
10475         * docs/design/part-gstelement.txt:
10476         * docs/design/part-gstobject.txt:
10477         * docs/design/part-standards.txt:
10478         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10479         (gst_bin_remove_func), (gst_bin_remove):
10480         * gst/gstbin.h:
10481         * gst/gstbuffer.c:
10482         * gst/gstcaps.h:
10483         * testsuite/clock/clock1.c: (main):
10484         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10485         (main):
10486         * testsuite/dlopen/loadgst.c: (do_test):
10487         * testsuite/refcounting/bin.c: (add_remove_test1),
10488         (add_remove_test2), (main):
10489         * testsuite/refcounting/element.c: (main):
10490         * testsuite/refcounting/element_pad.c: (main):
10491         * testsuite/refcounting/pad.c: (main):
10492         * tools/gst-launch.c: (sigint_handler_sighandler):
10493         * tools/gst-typefind.c: (main):
10494         Doc updates.
10495         Added doc about clock.
10496         removed gst_bin_iterate_recurse_up(), marked methods
10497         for removal.
10498         Fix more testsuites.
10499
10500 2005-03-09  Wim Taymans  <wim@fluendo.com>
10501
10502         * gst/gstpad.c: (gst_pad_get_direction),
10503         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10504         (gst_pad_collect_valist):
10505         * testsuite/bins/interface.c: (main):
10506         * testsuite/caps/audioscale.c: (test_caps):
10507         * testsuite/caps/caps.c: (test1), (test2), (test3):
10508         * testsuite/caps/deserialize.c: (main):
10509         * testsuite/caps/enumcaps.c: (main):
10510         * testsuite/caps/filtercaps.c: (main):
10511         * testsuite/caps/intersect2.c: (main):
10512         * testsuite/caps/random.c: (main):
10513         * testsuite/caps/renegotiate.c: (my_fixate), (main):
10514         * testsuite/caps/sets.c: (check_caps):
10515         * testsuite/caps/simplify.c: (check_caps), (main):
10516         * testsuite/caps/subtract.c: (check_caps):
10517         Fix _pad_get_direction wrt ghostpads.
10518         Fix caps testsuite.
10519
10520 2005-03-09  Wim Taymans  <wim@fluendo.com>
10521
10522         * check/Makefile.am:
10523         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10524         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10525         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10526         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10527         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10528         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10529         (gst_bin_remove), (gst_bin_iterate_recurse_up),
10530         (bin_element_is_sink), (gst_bin_iterate_sinks),
10531         (gst_bin_iterate_all_by_interface):
10532         * gst/gstbin.h:
10533         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10534         (gst_element_change_state), (gst_element_dispose),
10535         (gst_element_finalize), (gst_element_set_loop_function):
10536         * gst/gstelement.h:
10537         * gst/gstiterator.c: (find_custom_fold_func):
10538         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10539         (gst_pad_collectv), (gst_pad_collect_valist),
10540         (gst_pad_template_new):
10541         * gst/gstpipeline.c: (gst_pipeline_class_init),
10542         (gst_pipeline_dispose), (gst_pipeline_set_property),
10543         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10544         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10545         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10546         * gst/gstutils.h:
10547         * gst/schedulers/entryscheduler.c:
10548         * gst/schedulers/gstbasicscheduler.c:
10549         (gst_basic_scheduler_cothreaded_chain),
10550         (gst_basic_scheduler_chain_add_element):
10551         * testsuite/bins/interface.c: (main):
10552         Added GstBin test.
10553         Added GstSystemClock test.
10554         Implemented clock distribution code in GstBin.
10555         Implemented iterate sinks method for future use.
10556         Rearranged gstelement.h
10557         Fix GstIterator comparison bug.
10558         Moved some code to GstPipeline, mostly clocking related.
10559
10560 2005-03-09  Wim Taymans  <wim@fluendo.com>
10561
10562         * configure.ac:
10563         * gst/gst_private.h:
10564         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10565         (gst_bin_remove_func), (gst_bin_remove),
10566         (gst_bin_get_by_name_recurse_up):
10567         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10568         (gst_clock_id_compare_func), (gst_clock_id_wait),
10569         (gst_clock_id_wait_async), (gst_clock_init),
10570         (gst_clock_adjust_unlocked), (gst_clock_get_time):
10571         * gst/gstelement.h:
10572         * gst/gstinfo.c: (_gst_debug_init):
10573         * gst/gstobject.h:
10574         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10575         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10576         * gst/gstpad.h:
10577         Bump version number, we're now 0.9.0
10578         Add future debugging category.
10579         Fix NULL _unref() in _get_by_name_recurse_up
10580         Rearrange gstpad.h.
10581         Update some docs.
10582
10583 2005-03-08  Wim Taymans  <wim@fluendo.com>
10584
10585         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10586         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10587         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10588         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10589         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10590         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10591         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10592         * gst/elements/gstidentity.c: (gst_identity_class_init):
10593         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10594         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10595         * gst/elements/gstshaper.c: (gst_shaper_class_init):
10596         * gst/elements/gststatistics.c: (gst_statistics_class_init):
10597         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10598         (gst_tee_link):
10599         * gst/gstelement.c: (gst_element_class_init),
10600         (gst_element_base_class_init), (gst_element_init),
10601         (gst_element_get_random_pad), (gst_element_wait_state_change),
10602         (gst_element_change_state), (gst_element_dispose),
10603         (gst_element_finalize), (gst_element_set_loop_function):
10604         * gst/gstelement.h:
10605         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10606         * gst/gstthread.c: (gst_thread_class_init),
10607         (gst_thread_release_children_locks), (gst_thread_change_state):
10608         * gst/schedulers/gstbasicscheduler.c:
10609         (gst_basic_scheduler_loopfunc_wrapper),
10610         (gst_basic_scheduler_chain_wrapper),
10611         (gst_basic_scheduler_src_wrapper),
10612         (gst_basic_scheduler_remove_element):
10613         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10614         Remove threadsafe properties. Fix elements because GObject
10615         complains when installing a property before declaring a
10616         set/get_property handler.
10617         Rearrange gstelement.h file, use STATE macros for state locks.
10618         Free mutexes in the finalize method instead of dispose.
10619
10620 2005-03-08  Wim Taymans  <wim@fluendo.com>
10621
10622         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10623         * gst/gstthread.c: (gst_thread_release_children_locks):
10624         Added parentage check.
10625         Fix build og GstThread again.
10626
10627 2005-03-08  Wim Taymans  <wim@fluendo.com>
10628
10629         * docs/design/part-MT-refcounting.txt:
10630         * docs/design/part-conventions.txt:
10631         * docs/design/part-gstobject.txt:
10632         * docs/design/part-relations.txt:
10633         * docs/design/part-standards.txt:
10634         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10635         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10636         (gst_bin_get_by_name), (gst_bin_get_by_interface),
10637         (gst_bin_iterate_all_by_interface):
10638         * gst/gstbuffer.h:
10639         * gst/gstclock.h:
10640         * gst/gstelement.c: (gst_element_class_init),
10641         (gst_element_change_state), (gst_element_set_loop_function):
10642         * gst/gstelement.h:
10643         * gst/gstiterator.c:
10644         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10645         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10646         (gst_object_dispatch_properties_changed), (gst_object_set_name),
10647         (gst_object_set_parent), (gst_object_unparent),
10648         (gst_object_check_uniqueness):
10649         * gst/gstobject.h:
10650         Docs updates, clean up some headers.
10651
10652 2005-03-07  Wim Taymans  <wim@fluendo.com>
10653
10654         * check/.cvsignore:
10655         * check/Makefile.am:
10656         * check/gst-libs/.cvsignore:
10657         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10658         * check/gst/.cvsignore:
10659         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10660         (START_TEST), (gstbus_suite), (main):
10661         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10662         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10663         (gst_data_suite), (main):
10664         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10665         (add_fold_func), (gstiterator_suite), (main):
10666         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10667         (thread_name_object), (thread_name_object_default),
10668         (gst_object_name_compare), (gst_object_suite), (main):
10669         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10670         (gst_pad_suite), (main):
10671         * check/gstcheck.c: (gst_check_log_message_func),
10672         (gst_check_log_critical_func), (gst_check_init):
10673         * check/gstcheck.h:
10674         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10675         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10676         Added checks.
10677
10678 2005-03-07  Wim Taymans  <wim@fluendo.com>
10679
10680         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10681         (gst_list_iterator_next), (gst_list_iterator_resync),
10682         (gst_list_iterator_free), (gst_iterator_new_list),
10683         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10684         (gst_iterator_free), (gst_iterator_push), (filter_next),
10685         (filter_resync), (filter_uninit), (filter_free),
10686         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10687         (gst_iterator_foreach), (find_custom_fold_func),
10688         (gst_iterator_find_custom):
10689         * gst/gstiterator.h:
10690         Added missing files.
10691
10692 2005-03-07  Wim Taymans  <wim@fluendo.com>
10693
10694         * Makefile.am:
10695         * configure.ac:
10696         * docs/design/part-MT-refcounting.txt:
10697         * docs/design/part-conventions.txt:
10698         * docs/design/part-gstobject.txt:
10699         * docs/design/part-relations.txt:
10700         * examples/mixer/mixer.c: (main):
10701         * examples/thread/thread.c: (eos), (main):
10702         * gst/Makefile.am:
10703         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10704         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10705         (gst_spider_plug_from_srcpad):
10706         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10707         (gst_spider_identity_change_state),
10708         (gst_spider_identity_sink_loop_type_finding):
10709         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10710         * gst/elements/gstidentity.c: (gst_identity_init):
10711         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10712         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10713         * gst/elements/gsttypefindelement.c: (free_entry):
10714         * gst/gst.c:
10715         * gst/gst.h:
10716         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10717         (gst_bin_set_clock_func), (gst_bin_auto_clock),
10718         (gst_bin_set_index), (gst_bin_set_element_sched),
10719         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10720         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10721         (gst_bin_iterate_elements), (iterate_child_recurse),
10722         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10723         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10724         (compare_interface), (gst_bin_get_by_interface),
10725         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10726         * gst/gstbin.h:
10727         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10728         (gst_buffer_default_free), (gst_buffer_default_copy),
10729         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10730         (gst_buffer_create_sub):
10731         * gst/gstbuffer.h:
10732         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10733         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10734         (gst_caps_unref), (gst_static_caps_get),
10735         (gst_caps_remove_and_get_structure), (gst_caps_append),
10736         (gst_caps_append_structure), (gst_caps_remove_structure),
10737         (gst_caps_copy_nth), (gst_caps_set_simple),
10738         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10739         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10740         (gst_caps_structure_intersect_field), (gst_caps_intersect),
10741         (gst_caps_structure_subtract_field), (gst_caps_subtract),
10742         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10743         (gst_caps_structure_figure_out_union),
10744         (gst_caps_switch_structures), (gst_caps_do_simplify),
10745         (gst_caps_replace), (gst_caps_from_string),
10746         (gst_caps_copy_conditional):
10747         * gst/gstcaps.h:
10748         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10749         (_gst_clock_id_free), (gst_clock_id_unref),
10750         (gst_clock_id_compare_func), (gst_clock_id_wait),
10751         (gst_clock_id_wait_async), (gst_clock_class_init),
10752         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10753         (gst_clock_get_time), (gst_clock_set_time_adjust),
10754         (gst_clock_set_property), (gst_clock_get_property):
10755         * gst/gstclock.h:
10756         * gst/gstcompat.h:
10757         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10758         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10759         * gst/gstdata.h:
10760         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10761         (gst_element_requires_clock), (gst_element_provides_clock),
10762         (gst_element_set_clock), (gst_element_clock_wait),
10763         (gst_element_wait), (gst_element_set_time_delay),
10764         (gst_element_is_indexable), (gst_element_add_pad),
10765         (gst_element_add_ghost_pad), (gst_element_remove_pad),
10766         (pad_compare_name), (gst_element_get_static_pad),
10767         (gst_element_request_pad), (gst_element_get_request_pad),
10768         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10769         (gst_element_class_get_pad_template_list),
10770         (gst_element_class_get_pad_template), (gst_element_error_func),
10771         (gst_element_get_random_pad), (gst_element_get_event_masks),
10772         (gst_element_send_event), (gst_element_seek),
10773         (gst_element_get_query_types), (gst_element_query),
10774         (gst_element_get_formats), (gst_element_convert),
10775         (gst_element_is_locked_state), (gst_element_set_locked_state),
10776         (gst_element_sync_state_with_parent), (gst_element_change_state),
10777         (gst_element_finalize), (gst_element_yield),
10778         (gst_element_interrupt), (gst_element_set_scheduler),
10779         (gst_element_get_scheduler), (gst_element_set_loop_function):
10780         * gst/gstelement.h:
10781         * gst/gstevent.h:
10782         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10783         (gst_format_get_by_nick), (gst_format_get_details),
10784         (gst_format_iterate_definitions):
10785         * gst/gstformat.h:
10786         * gst/gstindex.c: (gst_index_gtype_resolver):
10787         * gst/gstinfo.c:
10788         * gst/gstinfo.h:
10789         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10790         (gst_mem_chunk_free):
10791         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10792         (gst_object_ref), (gst_object_unref), (gst_object_sink),
10793         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10794         (gst_object_dispatch_properties_changed),
10795         (gst_object_set_name_default), (gst_object_set_name),
10796         (gst_object_get_name), (gst_object_set_name_prefix),
10797         (gst_object_get_name_prefix), (gst_object_set_parent),
10798         (gst_object_get_parent), (gst_object_unparent),
10799         (gst_object_check_uniqueness), (gst_object_save_thyself),
10800         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10801         (gst_object_set_property), (gst_object_get_property),
10802         (gst_object_get_path_string):
10803         * gst/gstobject.h:
10804         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10805         (gst_real_pad_init), (gst_real_pad_get_property),
10806         (gst_pad_custom_new), (gst_pad_get_direction),
10807         (gst_pad_set_active), (gst_pad_is_active),
10808         (gst_pad_set_event_function), (gst_pad_is_linked),
10809         (gst_pad_link_free), (gst_pad_link_intersect),
10810         (gst_pad_link_fixate), (gst_pad_set_caps),
10811         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10812         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10813         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10814         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10815         (gst_pad_get_caps), (gst_pad_peer_get_caps),
10816         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10817         (gst_pad_realize), (gst_pad_get_allowed_caps),
10818         (gst_real_pad_dispose), (gst_real_pad_finalize),
10819         (gst_pad_collectv), (gst_pad_collect_valist),
10820         (gst_pad_template_dispose), (gst_pad_template_new),
10821         (gst_pad_get_internal_links):
10822         * gst/gstpad.h:
10823         * gst/gstpipeline.c: (gst_pipeline_dispose),
10824         (gst_pipeline_change_state):
10825         * gst/gstpipeline.h:
10826         * gst/gstplugin.c:
10827         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10828         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10829         * gst/gstpluginfeature.h:
10830         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10831         * gst/gstquery.c: (_gst_query_type_initialize),
10832         (gst_query_type_register), (gst_query_type_get_by_nick),
10833         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10834         * gst/gstquery.h:
10835         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10836         * gst/gstscheduler.c: (gst_scheduler_add_element),
10837         (gst_scheduler_factory_create):
10838         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10839         (gst_structure_free), (gst_structure_set_name),
10840         (gst_structure_id_set_value), (gst_structure_set_value),
10841         (gst_structure_set_valist), (gst_structure_remove_field),
10842         (gst_structure_remove_fields),
10843         (gst_structure_remove_fields_valist),
10844         (gst_structure_remove_all_fields), (gst_structure_foreach),
10845         (gst_structure_map_in_place),
10846         (gst_caps_structure_fixate_field_nearest_int),
10847         (gst_caps_structure_fixate_field_nearest_double):
10848         * gst/gststructure.h:
10849         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10850         (gst_system_clock_init), (gst_system_clock_dispose),
10851         (gst_system_clock_async_thread),
10852         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10853         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10854         * gst/gstsystemclock.h:
10855         * gst/gsttag.c: (gst_tag_list_add_value_internal),
10856         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10857         * gst/gsttaginterface.c:
10858         * gst/gstthread.c: (gst_thread_dispose),
10859         (gst_thread_release_children_locks), (gst_thread_change_state),
10860         (gst_thread_main_loop):
10861         * gst/gsttrashstack.h:
10862         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10863         * gst/gsttypes.h:
10864         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10865         (gst_element_request_pad), (gst_element_get_pad_from_template),
10866         (gst_element_request_compatible_pad),
10867         (gst_element_get_compatible_pad_filtered),
10868         (gst_element_get_compatible_pad), (gst_element_state_get_name),
10869         (gst_element_link_pads_filtered), (gst_element_link_filtered),
10870         (gst_element_link_many), (gst_element_link),
10871         (gst_element_link_pads), (gst_element_unlink_pads),
10872         (gst_element_unlink_many), (gst_element_unlink),
10873         (gst_pad_can_link_filtered), (gst_pad_can_link),
10874         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10875         (gst_object_default_error), (gst_bin_add_many),
10876         (gst_bin_remove_many), (gst_element_populate_std_props),
10877         (gst_element_class_install_std_props), (gst_buffer_merge),
10878         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10879         (link_fold_func), (gst_pad_proxy_setcaps):
10880         * gst/gstutils.h:
10881         * gst/gstvalue.c: (gst_value_deserialize_string):
10882         * gst/parse/grammar.y:
10883         * gst/schedulers/gstbasicscheduler.c:
10884         (gst_basic_scheduler_cothreaded_chain),
10885         (gst_basic_scheduler_chain_recursive_add),
10886         (gst_basic_scheduler_pad_link):
10887         * gst/schedulers/gstoptimalscheduler.c:
10888         (get_group_schedule_function),
10889         (gst_opt_scheduler_state_transition),
10890         (gst_opt_scheduler_add_element), (element_get_reachables_func):
10891         * libs/gst/bytestream/bytestream.c:
10892         * libs/gst/dataprotocol/dataprotocol.c:
10893         (gst_dp_header_from_buffer):
10894         * po/nb.po:
10895         * po/ru.po:
10896         * tests/threadstate/threadstate2.c: (eos):
10897         * tools/gst-compprep.c: (main):
10898         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10899         (print_pad_info), (print_children_info):
10900         * tools/gst-launch.c: (idle_func), (main):
10901         * tools/gst-md5sum.c: (idle_func), (main):
10902         * tools/gst-xmlinspect.c: (print_element_info):
10903         First THREADED backport attempt, focusing on adding locks and
10904         making sure the API is threadsafe. Needs more work. More docs
10905         follow this week.
10906
10907 2005-02-24  Andy Wingo  <wingo@pobox.com>
10908
10909         * tests/bench-complexity.scm:
10910         * tests/complexity.gnuplot: New files, good for running complexity
10911         benchmarks.
10912
10913         * tests/Makefile.am:
10914         * tests/complexity.c: New test, sets up N elements, at each level
10915         teeing into M streams per element. Eeeenteresting.
10916
10917         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10918         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10919         running bench-mass_elements.scm.
10920
10921         * tests/bench-mass_elements.scm: New script, runs mass_elements
10922         for various numbers of identities, outputting the results to a
10923         file. Requires guile 1.6. Just for testing.
10924
10925 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10926
10927         * gst/schedulers/fairscheduler.c:
10928           compile with debug disabled
10929
10930 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10931
10932         * configure.ac:
10933           hunting season on 0.9 is now OPEN