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