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