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