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