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