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