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