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