a2603a353c2ab586bd4aa4c783dea9ee8ebceb59
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/pwg/building-boiler.xml:
4         * plugins/elements/gstcapsfilter.c:
5           More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6           section.
7
8 2006-09-16  Edward Hervey  <edward@fluendo.com>
9
10         * libs/gst/base/gstbasetransform.c:
11         (gst_base_transform_buffer_alloc):
12         Check if requested caps are the same as the sinks caps IF
13         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
14         is FALSE.
15         This fixes the renegotiation issues stated in #352827.
16
17 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18
19         * configure.ac:
20         * docs/manual/advanced-autoplugging.xml:
21         * tests/examples/Makefile.am:
22         * tests/examples/manual/.cvsignore:
23         * tests/examples/manual/Makefile.am:
24         * tests/examples/manual/extract.pl:
25           Extract the manual examples again like we used to do.
26           Fix one of them.
27
28 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
29
30         * win32/common/config.h:
31           update for version
32
33 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
34
35         * gst/gsterror.c:
36           Documents how to receive errors.
37
38 2006-09-15  Wim Taymans  <wim@fluendo.com>
39
40         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
41         (event_loop), (main):
42         Added some comments here and there.
43         Post an application message when an interrupt is caught instead of doing
44         an uncontrolled state change.
45         Clean up the event loop.
46         Handle buffering messages, pause/resume the pipeline.
47         Make shutdown because of an interrupt more reliable.
48
49 2006-09-15  Wim Taymans  <wim@fluendo.com>
50
51         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
52         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
53         (gst_base_sink_preroll_object):
54         Make sure that our internal state is correct when we commit our state
55         asynchronously. This solves a race where a state change to PLAYING
56         could cause the sink to remain blocked in preroll in some situations.
57
58 2006-09-15  Wim Taymans  <wim@fluendo.com>
59
60         * tools/gst-inspect.c: (print_element_properties_info),
61         (print_signal_info):
62         List flags as hex so it's easier to deal with.
63
64 2006-09-15  Wim Taymans  <wim@fluendo.com>
65
66         * docs/libs/gstreamer-libs-sections.txt:
67         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
68         (gst_base_sink_do_sync):
69         * libs/gst/base/gstbasesink.h:
70         Expose logic to wait for preroll so that subclasses such as audiosink
71         can also use this method.
72         API: gst_base_sink_wait_preroll()
73
74 2006-09-15  Wim Taymans  <wim@fluendo.com>
75
76         * gst/gstobject.c: (gst_object_set_parent):
77         * gst/gstpipeline.c: (do_pipeline_seek):
78         Small cleanups in docs and code.
79
80         * gst/gstsegment.c: (gst_segment_clip):
81         * tests/check/gst/gstsegment.c: (GST_START_TEST):
82         if stop == start and start is in the segment, no clipping should be
83         done. Also add a test for this.
84
85 2006-09-15  Wim Taymans  <wim@fluendo.com>
86
87         * docs/design/part-buffering.txt:
88         * docs/gst/gstreamer-sections.txt:
89         * gst/gstmessage.c: (gst_message_new_buffering),
90         (gst_message_parse_buffering):
91         * gst/gstmessage.h:
92         Added methods to create and parse BUFFERING messages.
93         Added preliminary docs about buffering.
94         API: gst_message_new_buffering
95         API: gst_message_parse_buffering
96
97 2006-09-06  Wim Taymans  <wim@fluendo.com>
98
99         * gst/gstbin.c:
100         Update documentation.
101
102         * gst/gstelement.c: (gst_element_class_init),
103         (gst_element_release_request_pad), (gst_element_set_clock),
104         (gst_element_get_index), (gst_element_add_pad),
105         (gst_element_remove_pad), (gst_element_get_random_pad),
106         (gst_element_send_event), (gst_element_get_query_types),
107         (gst_element_query), (gst_element_post_message),
108         (gst_element_message_full), (gst_element_continue_state),
109         (gst_element_lost_state), (gst_element_save_thyself),
110         (gst_element_restore_thyself):
111         Documentation updates.
112         Rename last bit of the new-pad -> pad-added signal rename.
113         Fix the case where an element query would only work if the source
114         pad was linked.
115         Avoid some useless type checking in message handling.
116
117         * gst/gstevent.c:
118         * gst/gstevent.h:
119         * gst/gstutils.c:
120         Documentation updates.
121
122 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
123
124         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
125           add an INFO line for when we actually update the fd
126
127 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
128
129         * configure.ac:
130           back to TRUNK
131
132 === release 0.10.10 ===
133
134 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
135
136         * configure.ac:
137           releasing 0.10.10, "Pais"
138
139 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
140
141         * docs/manual/advanced-position.xml:
142           Fix typo in sample code.
143
144 2006-09-05  Wim Taymans  <wim@fluendo.com>
145
146         * libs/gst/net/gstnetclientclock.c: (inet_aton),
147         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
148         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
149         * libs/gst/net/gstnetclientclock.h:
150         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
151         * libs/gst/net/gstnettimepacket.h:
152         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
153         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
154         (gst_net_time_provider_thread), (gst_net_time_provider_new):
155         * libs/gst/net/gstnettimeprovider.h:
156         Make stuff compile on windows. Fixes #345295.
157
158 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
159
160         * gst/gst.c: (ensure_current_registry_forking):
161           Print better details when child was terminated by signal.
162
163 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
164
165         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
166           Print a warning rather than g_assert() if a plugin feature
167           is a URI handler but returns no protocols (#353976).
168
169 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
170
171         * docs/random/moving-plugins:
172         Fix two typos.         
173
174 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
175
176         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
177           Fix locking order, handle NULL function values properly.
178
179         * gst/gstinfo.h:
180           Fix docs.
181
182         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
183           Initialise variable before using it and fix debug statement to
184           print the address of the function rather than the address of the
185           variable on the stack holding the address of the function.
186
187 2006-09-01  Wim Taymans  <wim@fluendo.com>
188
189         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
190         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
191         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
192         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
193         (gst_ghost_pad_parent_unset),
194         (gst_ghost_pad_internal_do_activate_push),
195         (gst_ghost_pad_internal_do_activate_pull),
196         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
197         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
198         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
199         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
200         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
201         (gst_ghost_pad_new_no_target_from_template),
202         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
203         More cleanups.
204         Avoid needless typechecking in macros.
205         Since the internal pad is always present and never changes, there is
206         no need to locking or ref when retrieving it.
207         Improve debugging a bit.
208         Handle link errors when setting the target. Fixes #341029.
209
210 2006-09-01  Wim Taymans  <wim@fluendo.com>
211
212         * docs/libs/gstreamer-libs-sections.txt:
213         * docs/plugins/gstreamer-plugins-sections.txt:
214         Fix docs some more.
215
216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
217         (gst_collect_pads_event):
218         * libs/gst/base/gstcollectpads.h:
219         Documentation updates.
220         Free queued buffer when removing a pad.
221
222 2006-08-31  Michael Smith  <msmith@fluendo.com>
223
224         * gst/gstutils.c: (gst_element_link_pads),
225         (gst_element_link_pads_filtered):
226           Ensure that we set a capsfilter to NULL if we failed to link it
227           when doing filtered linking, to avoid criticals.
228
229           No need to check for unreffing srcpad, which is explicly NULLed
230           above (a trivial code cleanup).
231
232 2006-08-31  Wim Taymans  <wim@fluendo.com>
233
234         * docs/design/part-gstghostpad.txt:
235         Update ascii art in documentation.
236
237         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
238         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
239         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
240         (gst_ghost_pad_internal_do_activate_push),
241         (gst_ghost_pad_internal_do_activate_pull),
242         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
243         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
244         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
245         (gst_ghost_pad_set_target):
246         Small cleanups and leak fixes.
247         Remove some checks now that the internal pad is never NULL.
248         Fix the case where linking pads without a target would create nasty
249         criticals. Fixes #341029.
250         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
251         value of _set_target().
252
253         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
254         (gst_ghost_pad_suite):
255         Some more tests for creating and linking untargeted ghostpads.
256
257 2006-08-31  Edward Hervey  <edward@fluendo.com>
258
259         * docs/gst/gstreamer-sections.txt:
260         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
261         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
262         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
263         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
264         (gst_ghost_pad_new_from_template),
265         (gst_ghost_pad_new_no_target_from_template):
266         * gst/gstghostpad.h:
267         Refactored *_new() functions.
268         Templates are now used as a g_object_new() parameter.
269         Use template in _do_getcaps() if we don't have a target.
270         Small documentation cleanups.
271         Added two new constructors:
272         gst_ghost_pad_new_from_template()
273         gst_ghost_pad_new_no_target_from_template()
274         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
275         (gst_ghost_pad_suite):
276         Added tests for new ghostpad instanciation functions.
277
278         API additions: gst_ghost_pad_new_from_template,
279         gst_ghost_pad_new_no_target_from_template
280
281 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
282
283         * docs/random/ensonic/profiling.txt:
284           Ideas about qos profiling.
285
286 2006-08-29  Wim Taymans  <wim@fluendo.com>
287
288         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
289         Code cleanups.
290         Fix memleak.
291
292 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
293
294         * gst/gstxml.c:
295           Improve and detypofy docs.
296
297         * tests/check/Makefile.am:
298         * tests/check/gst/.cvsignore:
299         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
300           Add a basic test suite for GstXML.
301
302 2006-08-29  Wim Taymans  <wim@fluendo.com>
303
304         * gst/gstelement.c: (activate_pads), (clear_caps),
305         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
306         Clear the pad caps when the element shut down all of the pads and
307         is not streaming data that could modify the caps. 
308         Fixes #352958.
309
310 2006-08-28  Michael Smith  <msmith@fluendo.com>
311
312         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
313           Revert previous change; I misunderstood single-segment mode.
314
315 2006-08-28  Michael Smith  <msmith@fluendo.com>
316
317         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
318           Unset DISCONT on buffers when using single-segment mode.
319
320 2006-08-28  Wim Taymans  <wim@fluendo.com>
321
322         * gst/gstcaps.c: (gst_caps_merge_structure):
323         * gst/gstcaps.h:
324         Fix docs and indentation again.
325
326         * tests/check/gst/gstquery.c: (GST_START_TEST):
327         Fix leak in tests and add some more tests.
328
329 2006-08-28  Edward Hervey  <edward@fluendo.com>
330
331         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
332         Inform GstSegment of the last stop position in order for the current
333         segment to have a proper duration if it doesn't have a specific stop
334         position from which a duration could be calculated.
335         This bug was noticeable when a non-flushing, non-update new segment was
336         followed by another segment (all buffers from the new segment were being
337         dropped).
338
339 2006-08-28  Wim Taymans  <wim@fluendo.com>
340
341         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
342         Small comment update.
343
344         * plugins/elements/gstidentity.c: (gst_identity_class_init),
345         (gst_identity_transform_ip):
346         Drop-probability is broken, mention this in the code with a 
347         FIXME and also in the property description.
348         Make silent also be silent about the drop messages.
349
350 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
351
352         * docs/manual/appendix-win32.xml:
353           Remove mention of popt, we don't depend on that any
354           longer (#353136). Add some comments pointing out that
355           this section is slightly outdated.
356
357 2006-08-28  Wim Taymans  <wim@fluendo.com>
358
359         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
360
361         * gst/gstquery.c: (gst_query_new_segment):
362         * tests/check/gst/gstquery.c: (GST_START_TEST):
363         Initialize variables when creating a new segment query.
364         Fixes #353121.
365
366 2006-08-28  Wim Taymans  <wim@fluendo.com>
367
368         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
369
370         * gst/gstelement.c: (gst_element_get_bus):
371         * tests/check/gst/gstelement.c: (GST_START_TEST):
372         Check for NULL before _reffing the bus. Fixes #353122.
373
374 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
375
376         * docs/manual/basics-bus.xml:
377           Docs update: fix wrong callback return value explanation; add
378           some lines about the implicit relationship between main loop
379           and main context; remove duplicate main loop variable declaration.
380
381 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
382
383         * tests/check/gst/gstcaps.c: (GST_START_TEST):
384           Don't leak caps in unit test; add a few more simple
385           checks. 
386
387 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
388
389         * docs/gst/gstreamer-sections.txt:
390         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
391         (gst_caps_structure_is_subset), (gst_caps_merge),
392         (gst_caps_merge_structure):
393         * gst/gstcaps.h:
394         * libs/gst/base/gstbasetransform.c:
395         (gst_base_transform_transform_caps):
396         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
397           implement caps merging (fixes #352580)
398
399 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
400
401         * tools/Makefile.am:
402         * tools/gst-plot-timeline.py:
403           add debug-log plotting developer tool (#340674)
404
405 2006-08-23  Wim Taymans  <wim@fluendo.com>
406
407         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
408         (gst_pad_stop_task):
409         Improve debugging for task functions.
410
411         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
412         (gst_task_start), (gst_task_pause), (gst_task_join):
413         Make sure that the task function started and finished after a 
414         join(). 
415         Don't try to push the task function on the threadpool multiple
416         times.
417         Improve the g_warning message with some useful suggestions
418         about how to fix the problem. 
419
420 2006-08-23  Wim Taymans  <wim@fluendo.com>
421
422         * gst/gstutils.c: (gst_pad_proxy_getcaps):
423         Handle RESYNC correctly in _proxy_getcaps.
424
425 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
426
427         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
428         (gst_xml_parse_memory), (gst_xml_get_element):
429           Chain up to parent class in dispose function and also
430           unref the elements in the toplevel_elements GList.
431           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
432           Always return a reference in gst_xml_get_element() rather
433           than only sometimes.
434
435         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
436           Don't leak GstXml object.
437
438 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
439
440         * docs/gst/gstreamer-sections.txt:
441         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
442         (gst_caps_merge):
443         * gst/gstcaps.h:
444         * libs/gst/base/gstbasetransform.c:
445         (gst_base_transform_transform_caps):
446           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
447           in a better way
448
449 2006-08-21  Edward Hervey  <edward@fluendo.com>
450
451         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
452         Implement GObject::dispose virtual method in GstXML so we can free the
453         top_elements GList.
454
455 2006-08-21  Wim Taymans  <wim@fluendo.com>
456
457         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
458         (gst_buffer_create_sub):
459         Copy duration/offset_end/caps when creating a subbuffer of the
460         complete parent.
461         Make the subbuffer read-only when we make the metadata writable for
462         now. Fixes #351768.
463
464         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
465         Added check for metadata copy when creating subbuffers.
466
467 2006-08-21  Edward Hervey  <edward@fluendo.com>
468
469         * libs/gst/base/gstbasetransform.c:
470         (gst_base_transform_buffer_alloc):
471         Only call downstream buffer_alloc if transform element is passthrough
472         or always_in_place. Closes #350449.
473
474 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
475
476         * ChangeLog:
477           ChangeLog surgery to add comments to previous changes
478
479 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
480
481         * gst/gst.c:
482           Add comments
483
484         * gst/gstpad.c: (gst_pad_set_active):
485           Be more verbose in the log
486
487         * libs/gst/base/gstbasetransform.c:
488         (gst_base_transform_transform_caps):
489           Simplify caps to get rid of duplicates, fixes #345444
490
491 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
492
493         * gst/gstvalue.c:
494         * gst/gstvalue.h:
495           Use these optimizations only internally.
496
497 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
498
499         * gst/gstvalue.c: (gst_value_compare_list),
500         (gst_value_compare_fraction_range),
501         (gst_value_intersect_fraction_fraction_range),
502         (gst_value_intersect_fraction_range_fraction_range),
503         (gst_value_subtract_fraction_fraction_range),
504         (gst_value_subtract_fraction_range_fraction_range),
505         (gst_value_get_compare_func), (gst_value_compare),
506         (gst_value_compare_with_func):
507         * gst/gstvalue.h:
508           Saves the expensive lookup of the compare function in many cases
509          (#345444)
510
511 2006-08-18  Edward Hervey  <edward@fluendo.com>
512
513         * tests/check/gst/gstinfo.c: (gst_info_suite):
514         Disable test that require gstdebug if it wasn't built in core.
515
516 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
517
518         * docs/random/ensonic/logging.txt:
519           update ideas
520           
521         * gst/gstinfo.c: (gst_debug_log_default):
522           reorder fields, save some columns, add optional color codes for log
523           levels
524
525 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
526
527         * docs/random/ensonic/logging.txt:
528           add ideas about making the logs a bit more useful
529
530 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
531
532         * docs/pwg/advanced-events.xml:
533         * docs/pwg/titlepage.xml:
534           Update for 0.10 API (#340627). Add myself
535           to authors list.
536
537 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
538
539         * docs/libs/gstreamer-libs-docs.sgml:
540         * docs/libs/gstreamer-libs-sections.txt:
541         * libs/gst/check/gstbufferstraw.c:
542           Make gstcheck stuff show up in docs (still needs to
543           be documented properly though).
544
545 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
546
547         * docs/gst/gstreamer-sections.txt:
548         * gst/Makefile.am:
549         * gst/gst.c: (init_post):
550         * gst/gst_private.h:
551         * gst/gstquark.c: (_priv_gst_quarks_initialize):
552         * gst/gstquark.h:
553         * gst/gstquery.c: (gst_query_new_position),
554         (gst_query_set_position), (gst_query_parse_position),
555         (gst_query_new_duration), (gst_query_set_duration),
556         (gst_query_parse_duration), (gst_query_new_convert),
557         (gst_query_set_convert), (gst_query_parse_convert),
558         (gst_query_new_segment), (gst_query_set_segment),
559         (gst_query_parse_segment), (gst_query_new_seeking),
560         (gst_query_set_seeking), (gst_query_parse_seeking):
561         Add internal helpers for pre-registering quarks from static strings
562         and using the quark values directly instead of looking them up when
563         creating and parsing queries. Can be used for event construction too.
564         Closes #350432.
565
566 2006-08-16  Wim Taymans  <wim@fluendo.com>
567
568         * gst/gstbin.c:
569         Fix bogus docs.
570
571 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
572
573         * gst/gstutils.c: (gst_util_set_value_from_string):
574           Fix memleak (#351502).
575
576         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
577           Add unit test for most of gst_util_set_value_from_string()
578           (not that one would want to encourage use of this function).
579
580 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
581
582         * libs/gst/check/gstcheck.h:
583           Use const gchar * variables in fail_unless_equals_string
584           macro to avoid compiler warnings (and don't use tabs for
585           indenting).
586
587 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
588
589         * tools/gst-launch.c: (print_tag):
590           More space on the left for the tag names, to cater
591           for the 'extended comment' tag (not touching the
592           string for the first line since it's translated).
593
594 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
595
596         * libs/gst/check/gstcheck.h:
597           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
598           print something when they fail.
599
600 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
601
602         * docs/gst/gstreamer-sections.txt:
603         * gst/gsttaglist.c: (_gst_tag_initialize):
604         * gst/gsttaglist.h:
605           API: add GST_TAG_EXTENDED_COMMENT (#350935).
606           Also change merge function for GST_TAG_COMMENT to
607           use_first.
608
609 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
610
611         * gst/gstinfo.c: (gst_debug_print_object):
612           Make GST_PTR_FORMAT print messages as well.
613
614         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
615         (GST_START_TEST), (gst_info_suite):
616           More tests.
617
618 2006-08-14  Edward Hervey  <edward@fluendo.com>
619
620         * gst/gstelementfactory.c: (gst_element_register):
621         If the GstElementClass doesn't have a GstElementDetails with all fields
622         filled up correctly (longname, description AND author), then error out
623         nicely instead of crashing.
624
625 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
626
627         * gst/gststructure.c:
628           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
629
630         * gst/gstvalue.h:
631           Expand on the difference between arrays and lists as we use them.
632           
633 2006-08-14  Wim Taymans  <wim@fluendo.com>
634
635         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
636         If the parent state change function failed, don't assume we can safely
637         stop the source, this will be done when the pads are deactivated.
638
639 2006-08-14  Wim Taymans  <wim@fluendo.com>
640
641         * gst/gstbuffer.c:
642         * gst/gsttask.c: (gst_task_join):
643         Small doc updates.
644
645         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
646         (gst_pad_stop_task):
647         When pad (de)activation failed for some reason, restore the old
648         activation mode and set the pad to flushing instead of assuming the
649         pad is deactivated.
650         If the _task_join() failed, reinstall the task on the pad so that it can
651         be stopped later and return an error.
652
653 2006-08-11  Andy Wingo  <wingo@pobox.com>
654
655         * configure.ac:
656         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
657         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
658         is only for users of API that don't want to see deprecated
659         functions in the headers; people that want to compile out
660         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
661         CFLAGS. Fixes the build of multifdsink, or will soon..
662
663 2006-08-11  Wim Taymans  <wim@fluendo.com>
664
665         * docs/gst/gstreamer-sections.txt:
666         Add GstClockClass vmethod docs.
667
668         * gst/gstcaps.h:
669         Mark #endif with comment for associated #if
670
671         * gst/gstclock.c: (gst_clock_id_wait):
672         * gst/gstclock.h:
673         Add vmethod wait_jitter to avoid an unneeded _get_time() for
674         most clock implementations.
675         Document vmethods.
676         Flesh out docs about resolution methods.
677         API: GstClockClass::wait_jitter
678
679         * gst/gstsystemclock.c: (gst_system_clock_class_init),
680         (gst_system_clock_async_thread),
681         (gst_system_clock_id_wait_jitter_unlocked),
682         (gst_system_clock_id_wait_jitter):
683         Use base class wait_jitter variant for improved performance
684         due to less clock polling.
685
686 2006-08-11  Edward Hervey  <edward@fluendo.com>
687
688         * gst/gst.c: (gst_init_check), (init_post):
689         Set gst as being initialized before scanning/updating the registry,
690         since there might be my python plugin loader that calls gst_init() and
691         we don't want to loop back in.
692         Closes #350879
693
694 2006-08-11  Wim Taymans  <wim@fluendo.com>
695
696         * docs/design/part-qos.txt:
697         Bring docs in line with the code. Mostly the sign of the jitter was
698         wrong in the docs. Fixes #349943.
699
700         * gst/gstclock.c:
701         Fix the docs for the jitter.
702
703         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
704         (gst_event_parse_tag), (gst_event_new_buffer_size),
705         (gst_event_parse_buffer_size), (gst_event_parse_qos),
706         (gst_event_new_seek), (gst_event_parse_seek),
707         (gst_event_new_navigation):
708         Make sure the GstStructure has no parent when creating custom
709         events.
710         Add some more argument checking so that we avoid 0.0 rates.
711         Flesh out the docs for the QoS event some more.
712
713 2006-08-11  Wim Taymans  <wim@fluendo.com>
714
715         * docs/gst/gstreamer-sections.txt:
716         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
717         (ensure_current_registry_forking), (ensure_current_registry),
718         (parse_one_option), (parse_goption_arg), (gst_deinit),
719         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
720         * gst/gst.h:
721         Doc updates.
722         Added API and command line option to disable registry forking in
723         addition to the environment variable.
724         Constify some static arrays.
725         Added some more debug.
726         Don't deinit twice.
727         API: gst_registry_fork_is_enabled()
728         API: gst_registry_fork_set_enabled()
729         API: --gst-disable-registry-fork command line option
730         Fixes #348918.
731
732 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
733
734         * gst/gst.c: (gst_init):
735           Fix typo in error message.
736
737 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
738
739         * libs/gst/controller/gstcontroller.h:
740           fix ABI size-correction
741
742         * tests/check/libs/gdp.c: (gst_dp_suite):
743           make tests that use deprecated API conditional
744
745 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
746
747         * docs/libs/gstreamer-libs-sections.txt:
748         * libs/gst/controller/gstcontroller.c:
749         (_gst_controller_get_property), (_gst_controller_set_property),
750         (_gst_controller_init), (_gst_controller_class_init):
751         * libs/gst/controller/gstcontroller.h:
752         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
753         (gst_object_set_control_rate):
754           API: add gst_object_{s,g}et_control_rate(), add private data section,
755           fix docs
756
757         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
758         * libs/gst/dataprotocol/dataprotocol.h:
759           add deprecation guards to make gtk-doc happy and allow disabling cruft
760
761 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
762
763         * tests/check/Makefile.am:
764         * tests/check/gst/.cvsignore:
765           Let's enable the new unit test as well.
766
767 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
768
769         * configure.ac:
770         * docs/gst/gstreamer-sections.txt:
771         * gst/gstconfig.h.in:
772         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
773         (_gst_info_printf_extension_ptr),
774         (_gst_info_printf_extension_segment):
775           API: add GST_SEGMENT_FORMAT, which is a printf extension we
776           register that lets us easily dump GstSegments into debug
777           logs (#350419).
778
779         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
780         (info_segment_format_printf_extension), (gst_info_suite):
781           Add simple unit test that logs a bunch of different segments (not
782           valgrinded at the moment because of leaks in
783           gst_debug_add_log_function).
784
785 2006-08-09  Edward Hervey  <edward@fluendo.com>
786
787         * libs/gst/base/gstbasetransform.c:
788         (gst_base_transform_buffer_alloc):
789         Even if we can't figure out the proper format to request downstream,
790         call buffer_alloc() downstream with the input parameters without setting
791         the caps on the srcpad. This will force negotiation in the chain
792         function.
793         Closes #350449
794
795 2006-08-08  Edward Hervey  <edward@fluendo.com>
796
797         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
798         Unlinking from a pad without a target is now a perfectly valid case
799         which should NOT raise an assertion.
800         This case would happen if a linked ghostpad its target set to NULL after
801         it was previously linked.
802
803 2006-08-08  Edward Hervey  <edward@fluendo.com>
804
805         * tests/check/libs/gdp.c:
806         Also comment out the test (see below).
807
808 2006-08-08  Edward Hervey  <edward@fluendo.com>
809
810         * tests/check/libs/gdp.c: (gst_dp_suite):
811         Use the architecture information from config.h and not gcc macros
812         in order to properly disable a test that fails on PPC64.
813
814 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
815
816         * gst/gstelement.c: (gst_element_remove_pad):
817           Don't crash printing the warning if the pad has no parent.
818
819 2006-08-02  Wim Taymans  <wim@fluendo.com>
820
821         * libs/gst/dataprotocol/dataprotocol.c:
822         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
823         (gst_dp_crc), (gst_dp_header_payload_length),
824         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
825         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
826         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
827         (gst_dp_event_from_packet), (gst_dp_validate_header),
828         (gst_dp_validate_payload):
829         Make debug category static
830         Constify the crc table.
831         Do some more arg checking in public functions.
832         Fix some docs and do some small cleanups.
833
834         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
835         Add some more checks to see if GDP deals with bogus input.
836
837 2006-07-31  Wim Taymans  <wim@fluendo.com>
838
839         * gst/gstvalue.c: (gst_value_compare_list):
840         Fix GstValueList comparison code. Fixes #347293.
841
842         * tests/check/gst/gstvalue.c: (GST_START_TEST):
843         Check to test GstValueList comparison.
844
845 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
846
847         * gst/gstelementfactory.c: (gst_element_factory_create):
848         Remove unnecessary ref/unref pair
849
850         * gst/parse/grammar.y:
851         Make sure to free the parse buffer on all code paths.
852         Move a g_free up to the error handler where it's easier to see.
853
854         * tests/check/gst/gstevent.c: (test_event):
855         Extending timeout for downstream travelling events to 10 seconds to
856         hopefully avoid intermittent failure on the buildbots.
857
858         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
859         Don't manually set the state of the src element - it will happen as a
860         natural consequence of the pipeline changing state, and that way it
861         will do it in the right order too.
862
863 2006-07-31  Wim Taymans  <wim@fluendo.com>
864
865         * libs/gst/base/gstbasetransform.c:
866         (gst_base_transform_buffer_alloc):
867         Use OBJECT_LOCK and refcounting to get the pad caps in the
868         buffer_alloc function because the caps could change while we are
869         busy with them. Fixes #349105
870
871 2006-07-31  Wim Taymans  <wim@fluendo.com>
872
873         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
874         Protect _PAD_CAPS with OBJECT_LOCK.
875
876 2006-07-31  Wim Taymans  <wim@fluendo.com>
877
878         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
879         (gst_pad_get_property), (gst_pad_activate_pull),
880         (gst_pad_activate_push), (gst_pad_set_blocked_async),
881         (gst_pad_set_activate_function),
882         (gst_pad_set_activatepull_function),
883         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
884         (gst_pad_set_getrange_function),
885         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
886         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
887         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
888         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
889         (gst_pad_set_acceptcaps_function),
890         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
891         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
892         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
893         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
894         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
895         (gst_pad_configure_sink), (gst_pad_configure_src),
896         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
897         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
898         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
899         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
900         (gst_pad_send_event):
901         Use _DEBUG_OBJECT when it makes sense.
902         Protect GST_PAD_CAPS with the OBJECT_LOCK.
903         Small cleanups and code reflows.
904         Avoid caps refcounting in _accept_caps.
905         Refactor alloc_buffer so that the code performed on the peer is in a
906         separate function. Also if the pad does not implement a buffer alloc
907         function, we should still check if the pad is flushing before falling
908         back to the default allocator.
909
910 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
911
912         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
913         Make all uses of identity and fakesink have silent=true to avoid
914         serialising every passing data structure, which is breaking tests
915         on FC4 for some unknown reason.
916
917 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
918
919         * gst/parse/Makefile.am:
920         * gst/parse/grammar.y:
921         * gst/parse/parse.l:
922           Reverted previous patch as it required to bump the flex dependency to
923           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
924
925 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
926
927         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
928
929         * gst/parse/Makefile.am:
930         * gst/parse/grammar.y:
931         * gst/parse/parse.l:
932           push & pop the state of the lexer for reentrant use case
933           Fixes #349180
934
935 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
936
937         * libs/gst/base/gstbasesrc.h:
938           Note in the docs that the ::newsegment vfunc is not actually used by
939           GstBaseSrc.
940
941 2006-07-28  Wim Taymans  <wim@fluendo.com>
942
943         * libs/gst/base/gstcollectpads.c:
944         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
945         (gst_collect_pads_clear), (gst_collect_pads_flush),
946         (gst_collect_pads_event), (gst_collect_pads_chain):
947         When flushing a pad, also clear the queued buffer so that we don't
948         accidentally use it when we shouldn't.
949         Fix leaks by inreffing incomming buffer.
950         Flush out queued buffers in case of errors.
951         Fixes #347452.
952
953 2006-07-28  Wim Taymans  <wim@fluendo.com>
954
955         * docs/random/phonon-gst:
956         Random notes about a Phonon backend.
957
958 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
959
960         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
961         Extra debug output
962         * tests/check/libs/gdp.c: (gst_dp_suite):
963         Take a whack at fixing the ppc compile using a different define to
964         disable the broken test.
965
966         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
967         Remove excess g_print()
968
969 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
970
971         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
972         Oops, meant to uncomment this line too to dampen the noise a bit.
973
974 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
975
976         * gst/parse/grammar.y:
977         * gst/parse/parse.l:
978         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
979         (GST_START_TEST), (parse_suite):
980         Fix some of the leaks exposed by extending the parse-launch testsuite,
981         and move the 3 I can't figure out into a separate test that won't run
982         the pipelines unless the appropriate line is uncommented.
983
984 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
985
986         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
987           Requesting 0 bytes before the end of the file should result in
988           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
989           unit test.
990
991 2006-07-27  Wim Taymans  <wim@fluendo.com>
992
993         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
994         Fix useless assert, a uint is always positive.
995
996         * gst/gststructure.c: (gst_structure_nth_field_name),
997         (gst_structure_foreach), (gst_structure_map_in_place):
998         Check input arguments for public functions to avoid obvious crashes.
999
1000         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1001         * plugins/elements/gstfakesink.h:
1002         Do less useless typechecking.
1003
1004 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1005
1006         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1007           Do not use mmap() by default since there are a number of error
1008           conditions that we would like to handle in a non-fatal way that
1009           will result in a SIGBUS if we use mmap(). Examples: external
1010           devices (USB harddrive, portable music player) being unplugged
1011           while in use; file on mounted CD/DVD that can't be read because
1012           the medium is partly damaged. Fixes #348455 and #348475.
1013
1014 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1015
1016         * gst/gstquery.h:
1017         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1018         rates are a gdouble
1019
1020 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1021
1022         * gst/gstregistry.c:
1023           Move big documentation comment into class section header, so that it
1024           appears in the API docs.
1025
1026 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1027
1028         * docs/gst/gstreamer-sections.txt:
1029         Oops. Commit the docs additions too for new API.
1030         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1031
1032 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1033
1034         * gst/gststructure.c: (gst_structure_id_set),
1035         (gst_structure_id_set_valist):
1036         * gst/gststructure.h:
1037         Add API for setting values into structures without performing
1038         a quark lookup, if the appropriate quark is already known.
1039
1040         API: gst_structure_id_set
1041         API: gst_structure_id_set_valist
1042
1043         * gst/parse/grammar.y:
1044         * gst/parse/parse.l:
1045         Remove some dead code shown by the coverage information.
1046         Don't throw a critical g_warning when encountering a syntax error,
1047         just warn and let the normal error path handle it.
1048
1049         * plugins/elements/gstelements.c:
1050         Bump the rank of filesink up to PRIMARY so that it is preferred over
1051         gnomevfssink for file:// sink uri's
1052
1053         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1054         (GST_START_TEST), (run_delayed_test),
1055         (gst_parse_test_element_base_init),
1056         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1057         (gst_parse_test_element_change_state),
1058         (gst_register_parse_element), (parse_suite):
1059         Beef up the tests for parse syntax to check that more error cases
1060         fail as they are supposed to. Increases the test coverage a bit.
1061
1062 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1063
1064         * docs/manual/basics-elements.xml:
1065           Fix gst_element_link() example.
1066
1067         * gst/gstutils.c:
1068           Mention in API docs that one should usually gst_bin_add()
1069           elements to a bin or pipeline before doing the linking.
1070           
1071 2006-07-26  Wim Taymans  <wim@fluendo.com>
1072
1073         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1074         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1075         Avoid function call for known types by keeping the buffer and
1076         subbuffer GType global.
1077
1078         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1079         Random silly optimisations in read() path.
1080
1081 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1082
1083         * tools/gst-launch.c: (main):
1084           If the top-level of the parse is a normal bin, it doesn't do the
1085           right logic to run as a top-level element, so place it inside a
1086           pipeline.
1087
1088 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1089
1090         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1091           Remove superfluous g_object_notify() calls, GObject does
1092           that for us automatically.
1093
1094 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * gst/gstinfo.h:
1097           on Win32, use dllspec to export the debug category symbols
1098
1099 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1100
1101         * gst/gsttaglist.c: (_gst_tag_initialize):
1102           Allow more than one GST_TAG_IMAGE per taglist.
1103
1104 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1105
1106         * gst/gstminiobject.c:
1107           update docs
1108         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1109         (gst_fd_src_create):
1110           log recurring events at LOG level
1111           add more debug for when the fd gets set
1112
1113 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1114
1115         * gst/gstparse.c: (gst_parse_launch):
1116           Also remove reentrance checks if flex is MT safe (#348179)
1117          Fix my empty ChangeLog entry below
1118
1119 2006-07-21  Andy Wingo  <wingo@pobox.com>
1120
1121         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1122
1123         * libs/gst/check/Makefile.am
1124         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1125         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1126         * libs/gst/check/gstbufferstraw.h:
1127         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1128         functions, thus proving I am still a GStreamer haxor. OK I wrote
1129         them a long time ago, but anyways.
1130
1131 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1132
1133         * configure.ac:
1134         * gst/gstparse.c: (gst_parse_launch):
1135           Check for flex version and omit mutex if we have a MT save flex
1136           (fixes #348179)
1137
1138 2006-07-21  Wim Taymans  <wim@fluendo.com>
1139
1140         * gst/gstparse.c: (gst_parse_launch):
1141         Protect recursive calls to _parse with a recursive mutex
1142         and busy flag.
1143
1144 2006-07-21  Wim Taymans  <wim@fluendo.com>
1145
1146         * tests/check/gst/gstpad.c: (GST_START_TEST):
1147         Fix leak in test.
1148
1149 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1150
1151         * gst/gstparse.c: (gst_parse_launch):
1152           Do not hang on recursive usage of gst_parse_launch()
1153
1154 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1155
1156         * gst/gsttaglist.c:
1157           Add some more docs, comments and FIXME 0.11s here and there
1158           and also fix some typos.
1159
1160 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * gst/gstsegment.h:
1163           Convert tabs to spaces for better readability. 
1164
1165 2006-07-20  Edward Hervey  <edward@fluendo.com>
1166
1167         * tests/check/libs/gdp.c: (gst_dp_suite):
1168         the test_buffer test fails at line 140 on ppc64 at the following
1169         check:
1170         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1171                 GST_BUFFER_FLAG_IN_CAPS),
1172                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1173         See bug #348114 for more details.
1174
1175 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1176
1177         * docs/pwg/advanced-scheduling.xml:
1178         * gst/gstpad.c:
1179           Fix typos (#348000).
1180
1181 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1182
1183         * docs/pwg/intro-basics.xml:
1184           Fix wrong links (#347927).
1185
1186 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1187
1188         * gst/gstregistry.h:
1189         * gst/gstregistryxml.c: (load_feature),
1190         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1191         * win32/common/config.h:
1192           make --disable-index work (#342564)
1193
1194 2006-07-18  Wim Taymans  <wim@fluendo.com>
1195
1196         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1197
1198         * gst/Makefile.am:
1199         * gst/gsttrace.h:
1200         The attached patch adds two missing defines to gsttrace.h when tracing
1201         is disabled.  It also corrects one existing define.
1202         Fixes #347756.
1203
1204 2006-07-17  Wim Taymans  <wim@fluendo.com>
1205
1206         * docs/gst/gstreamer-sections.txt:
1207         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1208         * gst/gst.h:
1209         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1210         Add two functions to check and change the SIGSEGV behaviour
1211         when loading plugins.
1212         Don't mess with the SIGSEGV handler when we were told not to.
1213         Fixes #347794.
1214         API: gst_segtrap_is_enabled
1215         API: gst_segtrap_set_enabled
1216
1217 2006-07-14  Wim Taymans  <wim@fluendo.com>
1218
1219         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1220         * tests/check/elements/filesrc.c: (GST_START_TEST):
1221         Revert fix for regression in #347408 after release.
1222
1223 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1224
1225         Patch by: Antoine Tremblay <hexa00 at gmail com>
1226
1227         * gst/gstutils.c: (gst_element_unlink):
1228           Free iterator when done (#347311).
1229
1230         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1231           And add a test case for this.
1232
1233 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1234
1235         * configure.ac:
1236         Bump nano back to CVS
1237
1238 === release 0.10.9 ===
1239
1240 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1241
1242         * configure.ac:
1243           releasing 0.10.9, "On the road again"
1244
1245 2006-07-13  Wim Taymans  <wim@fluendo.com>
1246
1247         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1248         * tests/check/elements/filesrc.c: (GST_START_TEST):
1249         Revert pull-0 fix for release. Disable check. Fixes #347408.
1250
1251 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1252
1253         * libs/gst/dataprotocol/dataprotocol.c:
1254         (gst_dp_event_from_packet_1_0):
1255           Fixes #347337: failure to deserialize event packets with
1256           empty payload (only event type)
1257
1258 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1259
1260         * gst/Makefile.am:
1261           do not install a .c file in the header directory
1262
1263 2006-07-13  Edward Hervey  <edward@fluendo.com>
1264
1265         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1266         GhostPad no longer implicitely use the padtemplates of the targets.
1267         Fixes #347384
1268
1269 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1270
1271         * gst/gstvalue.c: (gst_value_compare_list),
1272         (gst_value_compare_array), (_gst_value_initialize):
1273         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1274         Make GstValueArray comparison be order dependent as designed.
1275         Add checks for value lists and value array comparisons.
1276         Fixes #347221
1277
1278 2006-07-11  Edward Hervey  <edward@fluendo.com>
1279
1280         * gst/gstbin.c: (activate_pads),
1281         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1282         (gst_bin_change_state_func):
1283         (de)activate src pads before calling state_change on the childs.
1284         This is to avoid the case where a src ghostpad is blocked (holding the
1285         stream lock), which would block the deactivation of the ghostpad's
1286         target pad.
1287         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1288         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1289         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1290         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1291         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1292         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1293         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1294         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1295         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1296         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1297         (gst_ghost_pad_class_init),
1298         (gst_ghost_pad_internal_do_activate_push),
1299         (gst_ghost_pad_internal_do_activate_pull),
1300         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1301         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1302         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1303         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1304         GhostPads now create their internal GstProxyPad at creation (and not
1305         when they're linked, as it was being done previously).
1306         The internal and target pads are linked straight away.
1307         The data will also travel through the other pad in order to make
1308         pad blocking and probes non-hackish (the probe/block now really happens
1309         on the GhostPad and not on the target).
1310         * gst/gstpad.c: (gst_pad_set_blocked_async),
1311         (gst_pad_link_prepare), (gst_pad_push_event):
1312         Remove previous ghostpad cruft.
1313         * gst/gstutils.c: (gst_pad_add_data_probe),
1314         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1315         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1316         (gst_pad_remove_buffer_probe):
1317         Remove previous ghost pad cruft.
1318         Added more detailed debug statements.
1319         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1320         Fix the testsuite for refcounting changes.
1321         The comments about who has references were correct, but the refcount
1322         being checked wasn't the same (!?!).
1323
1324         Fixes #341029
1325
1326 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1327
1328         * docs/gst/gstreamer-sections.txt:
1329         * gst/gstconfig.h.in:
1330         More docs for configuration options, add docs to gtk-doc.
1331
1332 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1333
1334         * gst/Makefile.am:
1335         * gst/gstconfig.h.in:
1336         * win32/common/config.h:
1337         Fix build when disabling tracing (fixes #344016). Also start to document
1338         the defines that disable the sub-systems.
1339
1340 2006-07-10  Edward Hervey  <edward@fluendo.com>
1341
1342         * gst/gst.c: (ensure_current_registry_forking):
1343         let's make valgrind happy...
1344
1345 2006-07-09  Wim Taymans  <wim@fluendo.com>
1346
1347         * gst/gstelement.c: (activate_pads),
1348         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1349         Better pad activation code: Reset the collect value too on resync.
1350         Add some comments.
1351
1352 2006-07-09  Wim Taymans  <wim@fluendo.com>
1353
1354         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1355         (gst_pad_activate_push):
1356         Use some more macros where it makes sense.
1357         Allow pad mode switching instead of asserting. When a pad
1358         is activated in one mode and we activate it in another, 
1359         deactivate it first before activating it in a different mode.
1360         Fixes #329198.
1361
1362 2006-07-08  Andy Wingo  <wingo@pobox.com>
1363
1364         * tools/gst-launch.c (main): Handle err == NULL.
1365
1366         * gst/gst.c (init_post, ensure_current_registry)
1367         (ensure_current_registry_forking)
1368         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1369         factoring out the registry scanning into separate functions. Don't
1370         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1371         Better environment var name/interface suggestions accepted.
1372
1373 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1374
1375         * gst/gstobject.c: (gst_object_set_name_default),
1376         (gst_object_set_name):
1377           Random micro-optimisation: don't use a hash table
1378           with strings as keys and the usual strdup/strcmp
1379           involved, but rather just use the GQuark of the
1380           type name as key, since it needs to be looked up
1381           anyway to get the type name string.
1382
1383         * tests/check/gst/gstobject.c: (GST_START_TEST):
1384           Fix various leaks.
1385
1386 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1387
1388         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1389         (gst_bin_iterate_all_by_interface):
1390           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1391           GTypes are gulongs and thus the top 4 bytes might be cut
1392           off on some platforms when doing GPOINTER_TO_INT, leading
1393           to invalid GTypes and bad things happening (see RH bug #179654).
1394           Also add a check to make sure the type passed in is really
1395           an interface type.
1396
1397 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1398
1399         * .cvsignore:
1400           Ignore more.
1401
1402 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1403
1404         * Makefile.am:
1405         * configure.ac:
1406         * gst-element-check.m4:
1407         * gst-element-check.m4.in:
1408           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1409           instead of the unversioned gst-inspect (#324176, #168659).
1410
1411 2006-07-06  Wim Taymans  <wim@fluendo.com>
1412
1413         * gst/gstmessage.h:
1414         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1415         warnings.
1416
1417 2006-07-06  Wim Taymans  <wim@fluendo.com>
1418
1419         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1420         (gst_base_src_wait), (gst_base_src_update_length),
1421         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1422         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1423         (gst_base_src_loop), (gst_base_src_start),
1424         (gst_base_src_activate_pull):
1425         Update docs.
1426         blocksize == 0 now means the default blocksize when working in push
1427         based mode.
1428         Remove some pointless asserts in _wait function.
1429         Fix offset/length calculations and EOS handling. We can now pull 0
1430         bytes as well, which is allowed.
1431         use _check_get_range() to decide if we can operate in _pull based
1432         mode.
1433         Fix refcounting leak when check_get_range function was not 
1434         implemented.
1435         API GstBaseSrc::blocksize range can be 0 too now (default)
1436
1437         * tests/check/elements/filesrc.c: (GST_START_TEST),
1438         (filesrc_suite):
1439         Added check to test _get_range() behaviour.
1440
1441 2006-07-06  Wim Taymans  <wim@fluendo.com>
1442
1443         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1444         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1445         (gst_pad_pull_range):
1446         * gst/gstpad.h:
1447         Lots of comments and docs added to the pad functions.
1448         Flesh out the expected behaviour of the get_range() functions.
1449
1450 2006-07-06  Wim Taymans  <wim@fluendo.com>
1451
1452         * gst/gstbus.h:
1453         * gst/gstclock.h:
1454         * gst/gstevent.h:
1455         * gst/gstiterator.h:
1456         * gst/gstpad.h:
1457         * gst/gstplugin.h:
1458         * gst/gsttask.h:
1459         Remove comma at end of enumerator list. 
1460
1461 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1462
1463         * win32/common/libgstbase.def:
1464         * win32/common/libgstdataprotocol.def:
1465         * win32/common/libsgtreamer.def:
1466         Add new exported functions.
1467
1468 2006-07-05  Wim Taymans  <wim@fluendo.com>
1469
1470         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1471         Add some more docs here and there.
1472
1473 2006-07-05  Wim Taymans  <wim@fluendo.com>
1474
1475         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1476         (gst_base_sink_loop), (gst_base_sink_get_position):
1477         When operating in pull mode update the offset so that we
1478         read sequentially.
1479
1480 2006-07-05  Wim Taymans  <wim@fluendo.com>
1481
1482         * gst/gstregistryxml.c: (read_string):
1483         Avoid strdup. (will happen in libxml, but hey!)
1484
1485         * gst/gsturi.c:
1486         Add some more docs.
1487
1488 2006-07-05  Wim Taymans  <wim@fluendo.com>
1489
1490         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1491         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1492         (gst_buffer_suite):
1493         No point in checking if the size of the subbuffer > 0, the
1494         code handles it correclty as demonstrated by unit test.
1495         Also add a unit test for the zero sized _new_and_alloc and
1496         _copy. Fixes #346663.
1497
1498 2006-07-05  Wim Taymans  <wim@fluendo.com>
1499
1500         * libs/gst/base/gstbasetransform.c:
1501         (gst_base_transform_prepare_output_buffer),
1502         (gst_base_transform_buffer_alloc),
1503         (gst_base_transform_handle_buffer):
1504         Make sure the buffer we pass to transform_ip has a refcount of
1505         1 and thus is writable. Fixes #343196
1506
1507 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1508
1509         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1510         (gst_file_src_init), (gst_file_src_set_property),
1511         (gst_file_src_get_property), (gst_file_src_map_region):
1512         * plugins/elements/gstfilesrc.h:
1513         Add "sequential" property, off by default, to use madvise and hint
1514         to the kernel that sequential access is desired.
1515         Touch all retrieved pages by default to ensure they are pulled
1516         into memory. (Closes #345720)
1517
1518 2006-07-03  Wim Taymans  <wim@fluendo.com>
1519
1520         * docs/design/part-block.txt:
1521         * docs/design/part-dynamic.txt:
1522         Small docs updates.
1523
1524 2006-07-03  Wim Taymans  <wim@fluendo.com>
1525
1526         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1527         (gst_caps_unref), (gst_static_caps_get),
1528         (gst_caps_append_structure):
1529         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1530         Use GSlice when the glib we build against is >= 2.10
1531
1532 2006-07-03  Wim Taymans  <wim@fluendo.com>
1533
1534         * gst/gstelement.c: (gst_element_pads_activate):
1535         Small cleanup in pad activation code.
1536
1537 2006-07-03  Wim Taymans  <wim@fluendo.com>
1538
1539         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1540
1541         * gst/gst-i18n-app.h:
1542         * gst/gst-i18n-lib.h:
1543         * tools/gst-inspect.c: (print_signal_info):
1544         The attached patch will make the inclusion of gettext.h unconditional in
1545         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1546         libintl.h in tools/gst-inspect.c.
1547         This allows use of --disable-nls again and fixes #344642.
1548
1549 2006-07-03  Edward Hervey  <edward@fluendo.com>
1550
1551         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1552         Implement pad blocking on events according to part-block.txt.
1553         More comments on behaviour.
1554         * tests/check/gst/gstevent.c: (test_event):
1555         Send event to peer pad of blocked pad (else it will block).
1556
1557 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1558
1559         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1560         (gst_check_run_suite):
1561           if we get the wrong message, give us the types as string
1562         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1563           Fix a translatable
1564         * tests/check/elements/filesrc.c: (GST_START_TEST):
1565           add a test for trying to open a non-existing file
1566
1567 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1568
1569         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1570           add a test for adding self
1571
1572 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1573
1574         * libs/gst/check/gstcheck.h:
1575           add some assert_ as alias for fail_unless_*
1576         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1577           increase test coverage
1578
1579 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1580
1581         * Makefile.am:
1582           include lcov.mak for lcov coverage generation
1583         * tools/Makefile.am:
1584           add to CLEANFILES
1585
1586 2006-07-02  Edward Hervey  <edward@fluendo.com>
1587
1588         * tests/check/elements/.cvsignore:
1589         moaping
1590
1591 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1592
1593         * configure.ac:
1594           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1595         * tests/check/Makefile.am:
1596           clean up gcov files
1597
1598 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1599
1600         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1601           remove gst_caps_simplify; it was not declared and not used
1602           and deprecated in 0.8
1603
1604 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1605
1606         * docs/faq/gst-uninstalled:
1607           don't put empty paths on PYTHONPATH
1608         * docs/gst/gstreamer-sections.txt:
1609           remove some symbols that are not there
1610
1611 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1612
1613         * gst/gstcaps.c: (gst_caps_compare_structures):
1614           whitespace fixes
1615         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1616         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1617           add more tests
1618
1619 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1620
1621         * libs/gst/dataprotocol/Makefile.am:
1622           build dataprotocol test by linking to the lib, instead of
1623           compiling the source, so we get coverage
1624         * tests/check/Makefile.am:
1625         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1626         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1627           add a test for filesrc
1628
1629 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1630
1631         * tests/check/gst/gststructure.c: (GST_START_TEST),
1632         (gst_structure_suite):
1633           Push coverage from 59.04% to 70.00%
1634
1635 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1636
1637         * tests/check/Makefile.am:
1638           gst-inspect every element; this makes sure that we also get
1639           coverage on element's get/set functions
1640
1641 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1642
1643         * configure.ac:
1644           set CFLAGS and friends to -O0 if gcov is being used
1645           add GCOV LIBS
1646         * gst/Makefile.am:
1647         * libs/gst/base/Makefile.am:
1648         * libs/gst/check/Makefile.am:
1649         * libs/gst/controller/Makefile.am:
1650         * libs/gst/dataprotocol/Makefile.am:
1651         * libs/gst/net/Makefile.am:
1652         * plugins/elements/Makefile.am:
1653         * plugins/indexers/Makefile.am:
1654           add makefile rules to generate gcov data and clean up
1655         * tests/check/Makefile.am:
1656           add a coverage target that generates an html overview
1657           of coverage data
1658
1659 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1660
1661         * tests/check/elements/fakesink.c:
1662         * tests/check/elements/fakesrc.c:
1663         * tests/check/elements/fdsrc.c:
1664         * tests/check/elements/identity.c:
1665         * tests/check/generic/sinks.c: (gst_sinks_suite):
1666         * tests/check/generic/states.c:
1667         * tests/check/gst/gst.c:
1668         * tests/check/gst/gstabi.c:
1669         * tests/check/gst/gstbin.c:
1670         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1671         * tests/check/gst/gstbus.c: (gst_bus_suite):
1672         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1673         * tests/check/gst/gstelement.c:
1674         * tests/check/gst/gstevent.c: (gst_event_suite):
1675         * tests/check/gst/gstghostpad.c:
1676         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1677         * tests/check/gst/gstmessage.c: (gst_message_suite):
1678         * tests/check/gst/gstminiobject.c:
1679         * tests/check/gst/gstobject.c:
1680         * tests/check/gst/gstpad.c:
1681         * tests/check/gst/gstpipeline.c:
1682         * tests/check/gst/gstplugin.c:
1683         * tests/check/gst/gstquery.c: (gst_query_suite):
1684         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1685         * tests/check/gst/gststructure.c:
1686         * tests/check/gst/gstsystemclock.c:
1687         * tests/check/gst/gsttag.c:
1688         * tests/check/gst/gsttask.c: (gst_task_suite):
1689         * tests/check/gst/gstutils.c:
1690         * tests/check/gst/gstvalue.c:
1691         * tests/check/libs/adapter.c:
1692         * tests/check/libs/basesrc.c:
1693         * tests/check/libs/collectpads.c:
1694         * tests/check/libs/controller.c:
1695         * tests/check/libs/gdp.c: (gst_dp_suite):
1696         * tests/check/libs/gstnetclientclock.c:
1697         * tests/check/libs/gstnettimeprovider.c:
1698         * tests/check/libs/libsabi.c: (libsabi_suite):
1699         * tests/check/libs/typefindhelper.c:
1700         * tests/check/pipelines/cleanup.c:
1701         * tests/check/pipelines/parse-launch.c:
1702         * tests/check/pipelines/simple-launch-lines.c:
1703         * tests/check/pipelines/stress.c: (stress_suite):
1704           use the new macro
1705
1706 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1707
1708         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1709         * libs/gst/check/gstcheck.h:
1710           create a macro and function so that the simple unit test
1711           case can be just one macro to create main()
1712
1713 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1714
1715         * gst/gstbin.c: (gst_bin_restore_thyself):
1716         * gst/gstxml.c: (gst_xml_make_element):
1717           Fix deserialisation from XML. Set parent manually
1718           instead of using gst_bin_add(), since gst_bin_add()
1719           will unlink all pads of the element being added.
1720           Fixes #341667.
1721
1722 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1723
1724         Patch by: Peter Kjellerstedt <pkj at axis com>
1725
1726         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1727           Fix missing g_strdup() and double free when using the
1728           --gst-plugin-load command line option (#346097).
1729
1730 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1731
1732         * gst/gstinfo.c:
1733           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1734
1735         * libs/gst/net/gstnetclientclock.c:
1736         * libs/gst/net/gstnettimeprovider.c:
1737           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1738
1739 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1740
1741         * docs/manual/advanced-dataaccess.xml:
1742           Fix buffer probe example compilation in
1743           ADM (#345708).
1744         
1745 2006-06-22  Edward Hervey  <edward@fluendo.com>
1746
1747         * gst/gstelement.c: (gst_element_pads_activate):
1748         We need to deactivate src pads first and then sink pads.
1749         The reason is the src pads might be blocking while holding the streaming
1750         lock, so we need to deactivate them first so that deactivating the sink
1751         pads doesn't block (since it will require the streaming lock).
1752
1753 2006-06-22  Wim Taymans  <wim@fluendo.com>
1754
1755         * libs/gst/base/gstbasetransform.c:
1756         (gst_base_transform_buffer_alloc):
1757         Forgot to remove two unneeded unrefs.
1758         Simplify a check _is_equal allready checks the obvious case.
1759
1760 2006-06-22  Wim Taymans  <wim@fluendo.com>
1761
1762         * docs/design/part-block.txt:
1763         Some docs about what pad_block should do.
1764
1765 2006-06-22  Wim Taymans  <wim@fluendo.com>
1766
1767         * gst/gstcaps.c: (gst_caps_replace):
1768         Fix crasher when passed NULL. Doc clarification.
1769         Optimize for the trivial case.
1770
1771         * gst/gstpipeline.c: (gst_pipeline_change_state):
1772         Small cleanups.
1773
1774         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1775         Small documentation cleanup.
1776
1777         * libs/gst/base/gstbasetransform.c:
1778         (gst_base_transform_buffer_alloc):
1779         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1780         is what we need and it avoids a whole lot of redundant 
1781         refcount operations.
1782
1783 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
1784
1785         Patch by: Philip Jägenstedt  <philip at lysator liu se>
1786
1787         * docs/manual/advanced-dataaccess.xml:
1788           Fix 'Embedding static elements' section to use
1789           GST_PLUGIN_DEFINE_STATIC (#345607).
1790
1791 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1792
1793         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1794           Attempt to 'fix' spuriously failing test case: it seems like the
1795           timeout of half a second is simply too small when the system is under
1796           load otherwise, and the timeout doesn't really seem to serve any
1797           particular purpose here. Give the pipeline a few seconds to preroll
1798           first, and then give it another half a second to go from PAUSED to
1799           PLAYING and marshal the message into the main thread.
1800
1801 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1802
1803         * tools/gst-feedback-m.m:
1804           Don't only use unversioned tools, try versioned tools as well
1805           (#345086).
1806
1807 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1808
1809         * gst/gstbus.c: (gst_bus_class_init):
1810           Fix some typos, make docs more explicit.
1811
1812 2006-06-20  Wim Taymans  <wim@fluendo.com>
1813
1814         * tests/check/gst/gstghostpad.c: (block_callback),
1815         (GST_START_TEST), (gst_ghost_pad_suite):
1816         Added some more ghostpad tests, mainly blocking
1817         and probes.
1818
1819 2006-06-16  Wim Taymans  <wim@fluendo.com>
1820
1821         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1822         (gst_file_sink_close_file), (gst_file_sink_do_seek),
1823         (gst_file_sink_event), (gst_file_sink_render):
1824         * plugins/elements/gstfilesink.h:
1825         Check if we can seek in the file instead of assuming
1826         we always can. Post an error when we are asked to seek in a
1827         non-seekable file (like a fifo). Fixes #343312.
1828         Some cleanups.
1829
1830 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1831
1832         * tools/gst-launch.1.in:
1833           Un-garble (fourcc) bit in filtered caps section.
1834
1835 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1836
1837         * docs/manual/advanced-autoplugging.xml:
1838         * docs/manual/basics-helloworld.xml:
1839         * docs/manual/highlevel-components.xml:
1840           Don't leak bus reference in sample code.
1841
1842 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
1843
1844         * autogen.sh:
1845           Add default for new --enable-plugin-docs switch.
1846
1847         * configure.ac:
1848           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1849           Fixes #344039.
1850
1851         * docs/Makefile.am:
1852           Use new ENABLE_PLUGIN_DOCS conditional.
1853
1854 2006-06-14  Wim Taymans  <wim@fluendo.com>
1855
1856         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1857         Make it clear with a FIXME and a real define what the #if 0
1858         previously disabled.
1859
1860 2006-06-14  Wim Taymans  <wim@fluendo.com>
1861
1862         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1863         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1864         * libs/gst/base/gstbasetransform.c:
1865         (gst_base_transform_sink_eventfunc):
1866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1867         Don't randomly and silently reset a segment when the format 
1868         changes as this is a bug somewhere upstream. Fixes #330379.
1869
1870 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1871
1872         Patch by: Wouter Paesen  <wouter at kangaroot net>
1873
1874         * libs/gst/controller/gstcontroller.c:
1875         (gst_controlled_property_new):
1876           Fix controlling of float properties (#344849).
1877
1878         * tests/check/libs/controller.c:
1879         (gst_test_mono_source_get_property),
1880         (gst_test_mono_source_set_property),
1881         (gst_test_mono_source_class_init), (GST_START_TEST):
1882           While we're at it, add some float stuff to unit test.
1883
1884 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1885
1886         * docs/README:
1887         * docs/images/gdp-header.svg:
1888           add a gdp image
1889         * docs/libs/Makefile.am:
1890         * docs/libs/gdp-header.png:
1891         * libs/gst/dataprotocol/dataprotocol.c:
1892           add it to the API docs
1893         * docs/manual/intro-motivation.xml:
1894           fix typo
1895
1896 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1897
1898         * gst/gst.c: (scan_and_update_registry), (init_post):
1899           If the fork()'ed child process can't write the updated registry cache
1900           file to disk for some reason, make it exit with a failure exit code,
1901           so that the parent can then re-scan the plugins itself and update the
1902           registry structures in memory and work with that (rather than failing
1903           when creating elements because seemingly no plugins are available).
1904           Refactor registry scanning code into separate function for this and
1905           also separate fork() and non-fork() code paths. Fixes #344748.
1906
1907 2006-06-13  Wim Taymans  <wim@fluendo.com>
1908
1909         * docs/manual/advanced-dataaccess.xml:
1910         Fix wrong PluginDesc. Fixes #344755.
1911
1912 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1913
1914         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1915           Fix silly bug that prevented us from creating
1916           ~/.gstreamer-0.10 and writing the registry in one
1917           go (the first call to g_mkstemp() would overwrite the
1918           placeholder in the template string, so the second call
1919           to g_mkstemp() after creating the missing directory
1920           would then error out with 'invalid argument').
1921
1922 2006-06-13  Edward Hervey  <edward@fluendo.com>
1923
1924         * gst/gst.c: (init_post):
1925         Free string.
1926
1927 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1928
1929         * gst/glib-compat-private.h:
1930         * gst/glib-compat.c:
1931         * gst/glib-compat.h:
1932         * gst/gstvalue.c: (gst_value_serialize_flags):
1933           remove GLib 2.6 compatibility code
1934
1935 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
1936
1937         * gst/parse/Makefile.am:
1938           Fix build with 'make -j N' even more (#340016).
1939
1940 2006-06-12  Wim Taymans  <wim@fluendo.com>
1941
1942         * docs/gst/gstreamer-sections.txt:
1943         Fix docs.
1944
1945 2006-06-12  Wim Taymans  <wim@fluendo.com>
1946
1947         * gst/gstsegment.c: (gst_segment_set_duration),
1948         (gst_segment_set_last_stop), (gst_segment_set_seek),
1949         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1950         (gst_segment_to_running_time), (gst_segment_clip):
1951         Use G_UNLIKELY to help the compiler a bit.
1952
1953 2006-06-12  Wim Taymans  <wim@fluendo.com>
1954
1955         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1956
1957         * gst/gstevent.c: (gst_event_get_type):
1958         * gst/gstmessage.c:
1959         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1960         (gst_pad_push):
1961         constify quark registration strings. Fixes #344115
1962         Avoid unneeded type checking is _pad_push() by internally
1963         calling gst_pad_chain_unchecked().
1964
1965 2006-06-12  Wim Taymans  <wim@fluendo.com>
1966
1967         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1968         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1969         (gst_subbuffer_finalize), (gst_buffer_create_sub),
1970         (gst_buffer_is_span_fast), (gst_buffer_span):
1971         Init _type for consistency.
1972         Use _FLAGS macro to avoid type check.
1973         Avoid unneeded type checks in subbufer code.
1974
1975 2006-06-12  Wim Taymans  <wim@fluendo.com>
1976
1977         * gst/gst.c: (gst_debug_help):
1978         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1979         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1980         (gst_plugin_feature_list_free):
1981         * gst/gstregistry.c: (gst_registry_add_plugin),
1982         (gst_registry_add_feature), (gst_registry_plugin_filter),
1983         (gst_registry_feature_filter), (gst_registry_find_plugin),
1984         (gst_registry_find_feature), (gst_registry_get_plugin_list),
1985         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1986         * gst/gstregistryxml.c: (load_feature),
1987         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1988         * gst/gstminiobject.c: (gst_mini_object_unref),
1989         (gst_mini_object_replace), (gst_value_mini_object_free),
1990         (gst_value_mini_object_copy):
1991         Use _CAST macros to avoid unneeded type checking.
1992         Added some more G_UNLIKELY.
1993
1994 2006-06-12  Wim Taymans  <wim@fluendo.com>
1995
1996         * gst/gstbuffer.h:
1997         Avoid unneeded type checking.
1998         API: GST_BUFFER_IS_DISCONT
1999
2000         * gst/gstminiobject.h:
2001         Avoid type check in flag accessor.
2002
2003         * gst/gstelementfactory.h:
2004         * gst/gstplugin.h:
2005         * gst/gstpluginfeature.h:
2006         Add _CAST macros.
2007         API: GST_ELEMENT_FACTORY_CAST
2008         API: GST_PLUGIN_CAST
2009         API: GST_PLUGIN_FEATURE_CAST
2010
2011 2006-06-12  Wim Taymans  <wim@fluendo.com>
2012
2013         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2014         (gst_object_unref):
2015         Add G_UNLIKELY in type registration.
2016         Avoid type check in _ref/_unref since that is also
2017         done in glib.
2018
2019 2006-06-12  Wim Taymans  <wim@fluendo.com>
2020
2021         * gst/gsterror.c: (gst_g_error_get_type):
2022         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2023         (gst_static_pad_template_get_type):
2024         * gst/gsttaglist.c: (gst_tag_list_get_type):
2025         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2026         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2027         * gst/gsturi.c: (gst_uri_handler_get_type):
2028         * gst/gstvalue.c: (gst_date_get_type):
2029         * gst/gstxml.c: (gst_xml_get_type):
2030         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2031         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2032         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2033         Add G_UNLIKELY in type registration.
2034
2035 2006-06-12  Wim Taymans  <wim@fluendo.com>
2036
2037         * tools/gst-inspect.c: (print_signal_info):
2038         Properly print enum values.
2039
2040 2006-06-12  Wim Taymans  <wim@fluendo.com>
2041
2042         * gst/gstinfo.c: (gst_debug_set_active),
2043         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2044         * gst/gstinfo.h:
2045         Add some G_[UN]LIKELY.
2046         Maintain __gst_debug_min to avoid formatting the arguments of
2047         debug messages that will be dropped anyway to avoid a lot of 
2048         overhead from the debugging system.
2049
2050 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2051
2052         * po/POTFILES.in:
2053         * po/POTFILES.skip:
2054           add missing files containing translatable strings, tell intltool about
2055           one exception
2056
2057 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2058
2059         * tests/check/libs/.cvsignore:
2060         add test-binary to ignore list
2061
2062 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2063
2064         * docs/libs/gstreamer-libs-docs.sgml:
2065         reorder (put dp into a chapter) and indent
2066
2067 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2068
2069         * configure.ac:
2070           back to HEAD
2071
2072 === release 0.10.8 ===
2073
2074 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2075
2076         * configure.ac:
2077           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2078
2079 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2080
2081         * gst/gst.c: (init_post):
2082           move pid declaration to declaration block
2083
2084 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2085
2086         * gst/gst.c: (init_post):
2087           use _exit() instead of exit() in our forked child; this ensures
2088           that none of the registered exit handlers from whatever is using
2089           GStreamer get executed.  This fixes gnome-mixer-applet failing
2090           to load, because ORBit would shut down.
2091           Spotted by: Edward Hervey  <edward@fluendo.com>
2092           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2093           Fixes #344474
2094
2095 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2096
2097         * configure.ac:
2098           back to TRUNK
2099
2100 === release 0.10.7 ===
2101
2102 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2103
2104         * configure.ac:
2105           releasing 0.10.7, "Soepeke, ik zie ou"
2106
2107 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2108
2109         * configure.ac:
2110         * po/af.po:
2111         * po/az.po:
2112         * po/bg.po:
2113         * po/ca.po:
2114         * po/cs.po:
2115         * po/de.po:
2116         * po/en_GB.po:
2117         * po/fr.po:
2118         * po/it.po:
2119         * po/nb.po:
2120         * po/nl.po:
2121         * po/ru.po:
2122         * po/sq.po:
2123         * po/sr.po:
2124         * po/sv.po:
2125         * po/tr.po:
2126         * po/uk.po:
2127         * po/vi.po:
2128         * po/zh_CN.po:
2129         * po/zh_TW.po:
2130         * win32/common/config.h:
2131           0.10.6.2 prerelease
2132
2133 2006-06-07  Wim Taymans  <wim@fluendo.com>
2134
2135         * gst/gstindex.c: (gst_index_gtype_resolver):
2136         * tools/gst-xmlinspect.c: (print_plugin_info):
2137         Fix leak spotted by coverity checker. Fixes #343827
2138         Fix another other leak found by paolo borelli.
2139
2140 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2141
2142         * libs/gst/dataprotocol/dataprotocol.c:
2143         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2144         (gst_dp_version_get_type), (gst_dp_init),
2145         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2146         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2147         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2148         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2149         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2150         (gst_dp_packetizer_free):
2151         * libs/gst/dataprotocol/dataprotocol.h:
2152           API: add a GstDPPacketizer object, and create/free functions
2153           API: add GstDPVersion enum
2154           Add 1.0 event function that uses the string serialization
2155           Serialize more useful buffer flags
2156           Fixes #343988
2157
2158 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2159
2160         * tests/check/Makefile.am:
2161         * tests/check/gst/gstabi.c:
2162         * tests/check/gst/struct_ppc64.h:
2163         * tests/check/libs/libsabi.c:
2164         * tests/check/libs/struct_ppc64.h:
2165           add ppc64 structure sizes
2166
2167 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2168
2169         * tests/check/Makefile.am:
2170         * tests/check/gst/gstabi.c:
2171         * tests/check/gst/struct_x86_64.h:
2172         * tests/check/libs/libsabi.c:
2173         * tests/check/libs/struct_x86_64.h:
2174           generate and add structure size lists for x86_64
2175
2176 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2177
2178         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2179         * libs/gst/check/gstcheck.h:
2180           factor out the method from tests that checks size of structures,
2181           and add code to generate the header containing these sizes
2182         * tests/check/gst/gstabi.c: (GST_START_TEST):
2183         * tests/check/gst/struct_i386.h:
2184         * tests/check/libs/libsabi.c: (GST_START_TEST):
2185         * tests/check/libs/struct_i386.h:
2186           use it
2187
2188 2006-06-06  Michael Smith  <msmith@fluendo.com>
2189
2190         * gst/gstsegment.h:
2191           Don't use c++-style comments, fixes #343929
2192
2193 2006-06-05  Edward Hervey  <edward@fluendo.com>
2194
2195         * gst/gst.c:
2196         plugin_paths is not used if we build without registry support.
2197
2198         * gst/gstsegment.c: (gst_segment_copy): 
2199         _copy() was always returning NULL...
2200
2201 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2202
2203         * libs/gst/dataprotocol/dataprotocol.c:
2204         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2205         (gst_dp_packet_from_event):
2206           factor out CRC code
2207
2208 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2209
2210         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2211           make sure we unset caps
2212
2213 2006-06-02  Michael Smith  <msmith@fluendo.com>
2214
2215         * libs/gst/check/gstcheck.c: (gst_check_init),
2216         (gst_check_chain_func):
2217         * libs/gst/check/gstcheck.h:
2218           Add a cond/mutex to the check support lib, signal this whenever we
2219           add to the buffers list. This will allow tests to not busy-wait on
2220           the buffer-list.
2221
2222 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2223
2224         * libs/gst/dataprotocol/dataprotocol.c:
2225         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2226         (gst_dp_packet_from_event):
2227           factor out some common header init code
2228
2229 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2230
2231         * docs/libs/gstreamer-libs-sections.txt:
2232         * docs/libs/tmpl/gstdataprotocol.sgml:
2233         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2234         * libs/gst/dataprotocol/dataprotocol.h:
2235           API: make gst_dp_crc() public
2236
2237 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2238
2239         * plugins/indexers/gstindexers.c: (plugin_init):
2240         conditionally register fileindexer (fixes #343598)
2241
2242 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2243
2244         * gst/gsttagsetter.h:
2245         Can't cast ifaces to a class
2246
2247         * libs/gst/net/gstnetclientclock.h:
2248         * libs/gst/net/gstnettimeprovider.h:
2249         * plugins/elements/gstfakesink.h:
2250         * plugins/elements/gstfakesrc.h:
2251         * plugins/elements/gstfdsink.h:
2252         * plugins/elements/gstfdsrc.h:
2253         * plugins/elements/gstfilesink.h:
2254         * plugins/elements/gstfilesrc.h:
2255         * plugins/elements/gstidentity.h:
2256         * plugins/elements/gstqueue.h:
2257         * plugins/elements/gsttee.h:
2258         * plugins/indexers/gstfileindex.c:
2259         * plugins/indexers/gstmemindex.c:
2260         * tests/old/examples/plugins/example.h:
2261         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2262
2263 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2264
2265         * libs/gst/dataprotocol/dataprotocol.c:
2266         (gst_dp_header_from_buffer):
2267           make sure we zero the whole ABI-compatible area
2268
2269 2006-06-01  Wim Taymans  <wim@fluendo.com>
2270
2271         Patch by: Alessandro Decina <alessandro at nnva dot org>
2272
2273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2274         Make sure the EOS flag is cleared from pads after a flush
2275         or stop. Fixes #343538.
2276
2277         * tests/check/libs/collectpads.c: (GST_START_TEST),
2278         (gst_collect_pads_suite):
2279         Added test for collectpads reusage after EOS.
2280
2281 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2282
2283         * gst/gst.c:
2284          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2285         * win32/common/libgstbase.def:
2286          export gst_collect_pads_set_flushing
2287         * win32/common/libgstreamer.def:
2288          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2289          gst_value_fraction_multiply
2290         * win32/vs6/gst_inspect.dsp:
2291          add a link to intl.lib
2292
2293 2006-05-30  Wim Taymans  <wim@fluendo.com>
2294
2295         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2296         (gst_collect_pads_chain):
2297         Handle the case where a pad is removed from the collection
2298         that could cause the other pads to become collectable.
2299
2300 2006-05-30  Wim Taymans  <wim@fluendo.com>
2301
2302         * gst/gstelement.c:
2303         Clarify the use of _release_request_pad() and
2304         _get_request_pad() a bit better.
2305
2306         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2307         (gst_adapter_take_buffer):
2308         Fix some doc and comment typos.
2309
2310 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2311
2312         * docs/gst/gstreamer-sections.txt:
2313         * docs/libs/gstreamer-libs-sections.txt:
2314           add declared symbols
2315
2316 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2317
2318         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2319         Add debug that can be enabled using a #define at the top of the file,
2320         for dumping stats about how late/early we were when waking up from
2321         waiting on the clock.
2322
2323 2006-05-30  Wim Taymans  <wim@fluendo.com>
2324
2325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2326         When rebuilding the pad list, don't leak the previous list.
2327
2328 2006-05-30  Wim Taymans  <wim@fluendo.com>
2329
2330         Patch by: Lutz Mueller <lutz at topfrose dot de>
2331
2332         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2333         (gst_base_src_get_query_types), (gst_base_src_update_length):
2334         Publish supported query types.
2335         Update last_stop field in get_range mode so the position
2336         query works. Fixes #342321.
2337
2338 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2339
2340         * docs/gst/gstreamer-sections.txt:
2341         * gst/gsttaglist.c: (_gst_tag_initialize):
2342         * gst/gsttaglist.h:
2343           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2344
2345 2006-05-30  Wim Taymans  <wim@fluendo.com>
2346
2347         Patch by: Alessandro Decina <alessandro at nnva dot org>
2348
2349         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2350         Unlock mutex when removing an unknown pad.
2351         Fixes #343334.
2352
2353         * tests/check/Makefile.am:
2354         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2355         (push_event), (setup), (teardown), (GST_START_TEST),
2356         (gst_collect_pads_suite), (main):
2357         Added collecpads check, disabled for now as check crashes for
2358         some reason.
2359
2360 2006-05-29  Wim Taymans  <wim@fluendo.com>
2361
2362         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2363         Don't leak pads lists.
2364
2365 2006-05-29  Wim Taymans  <wim@fluendo.com>
2366
2367         * docs/libs/gstreamer-libs-sections.txt:
2368         * libs/gst/base/gstcollectpads.c:
2369         (gst_collect_pads_set_flushing_unlocked),
2370         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2371         (gst_collect_pads_stop):
2372         * libs/gst/base/gstcollectpads.h:
2373         API: gst_collect_pads_set_flushing()
2374         Added api to set the pads to flushing, useful for seeking
2375         code in elements using collectpads.
2376         Clear segment when receiving a flush.
2377
2378 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2379
2380         * gst/gst.c: (add_path_func), (init_post):
2381           Don't scan registry paths passed via --gst-plugin-path immediately
2382           (will crash, because absolutely nothing is set up and no types are
2383           registered etc.); do this later in init_post(). Fixes #343057.
2384
2385 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2386
2387         * gst/gst.c: (init_post):
2388           if we have fork, fork while reading/rebuilding the registry
2389           so the parent doesn't take the hit of having all plugins loaded
2390           in memory.  Fixes #342777.
2391         * configure.ac:
2392           Check if we have fork()
2393         * win32/common/config.h.in:
2394           no fork() on win32
2395
2396 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2397
2398         * plugins/elements/gstelements.c:
2399         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2400         (gst_file_src_init), (gst_file_src_set_property),
2401         (gst_file_src_get_property), (gst_file_src_start):
2402         * plugins/elements/gstfilesrc.h:
2403           API: GstFileSrc::use-mmap
2404
2405         Add a use-mmap property to enable easier testing of all code paths.
2406         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2407         in the absence of gnomevfssrc. (Closes #340501)
2408
2409 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2410
2411         * tools/gst-inspect.c:
2412         Add missing include, removes warning of ngettext not being defined on
2413         some arches.
2414
2415 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2416
2417         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2418         Handle NULL input and output pointers silently as a failed conversion,
2419         rather than g_warnings.
2420
2421 2006-05-25  Wim Taymans  <wim@fluendo.com>
2422
2423         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2424         Initialize variable before using. Fixes #342820.
2425
2426 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2427
2428         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2429           Fix off-by-one bug that would only allow peeks of N-1 bytes
2430           from the start even if the buffer to typefind on contains
2431           in fact N bytes of data (makes vorbis typefinding from a
2432           vorbis identification header buffer work).
2433
2434         * tests/check/Makefile.am:
2435         * tests/check/libs/.cvsignore:
2436         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2437         (gst_typefindhelper_suite), (main), (foobar_typefind),
2438         (plugin_init):
2439           Add very basic unit test for gst_type_find_helper_for_buffer()
2440           that checks for the problem fixed above.
2441
2442 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2443
2444         * tools/gst-inspect.c: (print_interfaces),
2445         (print_element_properties_info), (print_element_list), (main):
2446           add more translatable strings
2447
2448 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2449
2450         Patch by: Julien Moutte  <julien at moutte net>
2451
2452         * docs/gst/gstreamer-sections.txt:
2453           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2454           
2455         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2456         (gst_fake_sink_preroll):
2457         * plugins/elements/gstfakesink.h:
2458           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2459
2460 2006-05-23  Wim Taymans  <wim@fluendo.com>
2461
2462         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2463         * gst/gstpad.h:
2464         Added _CUSTOM error and success GstFlowReturn that can be
2465         used be elements internally. 
2466         Added macro to check for SUCCESS flowreturns.
2467         API: GST_FLOW_CUSTOM_SUCCESS
2468         API: GST_FLOW_CUSTOM_ERROR
2469         API: GST_FLOW_IS_SUCCESS
2470
2471         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2472         Added check for GstFlowReturn sanity.
2473
2474 2006-05-23  Wim Taymans  <wim@fluendo.com>
2475
2476         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2477
2478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2479         (gst_collect_pads_event):
2480         clear/reset segment info in FLUSH_STOP.
2481         Fixes #336929.
2482
2483 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2484
2485         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2486         (gst_collect_pads_check_collected):
2487         Flush queued buffer on _stop(), fixes playing again (#342454)
2488
2489 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2490
2491         * tests/check/gst/gststructure.c: (GST_START_TEST),
2492         (gst_structure_suite):
2493           add a test for a complete structure
2494
2495 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2496
2497         * docs/faq/developing.xml:
2498         * docs/faq/faq.xml:
2499         * docs/faq/troubleshooting.xml:
2500         * docs/faq/using.xml:
2501           Some minor FAQ updates that won't change the fact that
2502           our FAQ is badly structured, full of information hardly
2503           anyone new to GStreamer needs to know and lacking lots
2504           of information people constantly ask for.
2505           
2506 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2507
2508         * gst/gstpad.c: (gst_pad_set_caps):
2509           Short-circuit gst_pad_set_caps if setting the existing
2510           caps pointer again, and avoid printing debug and 
2511           reffing/unreffing the caps.
2512
2513         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2514           There's actually no need to set the caps before pushing -
2515           the acceptcaps method will handle it anyway.
2516
2517 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2518
2519         * docs/gst/gstreamer-sections.txt:
2520         * win32/common/libgstreamer.def:
2521         * gst/gstutils.c: (gst_element_seek_simple):
2522         * gst/gstutils.h:
2523           API: add gst_element_seek_simple() (#342238).
2524
2525 2006-05-18  Edward Hervey  <edward@fluendo.com>
2526
2527         * gst/gsttypefind.c: (gst_type_find_get_type):
2528         * gst/gsttypefind.h:
2529         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2530         registered for GstTypeFind pointers. This allows wrapping the structure
2531         in bindings (i.e. gst-python).
2532
2533 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2534
2535         * gst/gsttagsetter.c:
2536           Docs additions and fixes (see #339918).
2537
2538 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2539
2540         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2541         The caps intersection algorithm can produce multiple copies of the
2542         caps. Until that is fixed, we need to simplify the result to be
2543         sure whether the allowed caps are fixed or not.
2544
2545         * plugins/elements/gstqueue.c: (gst_queue_init),
2546         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2547         (gst_queue_push_one):
2548         Proxied buffer alloc should not set the caps on the source pad.
2549         When pushing buffers, we always accept the caps change that triggers.
2550         This prevents negotiation errors caused by caps changing mid-stream 
2551         and then being refused on our source pad (because upstream is now
2552         refusing those caps).
2553
2554 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2555
2556         * tests/examples/helloworld/helloworld.c: (main):
2557           Must plug audioconvert and audioresample between decoder
2558           and audio sink.
2559
2560 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2561
2562         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2563         (load_feature), (load_plugin):
2564         Allow empty strings for some of the plugin fields so we don't 
2565         drop valid plugin entries that were written out correctly
2566         (Fixes #341479)
2567
2568 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2569         
2570         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2571           Use g_remove and g_rename instead of remove and rename that don't 
2572           handle utf8 characters. rename was failing for users who had specific
2573           characters in their name then the registry was built at each 
2574           gstreamer init.
2575         * win32/vs6/gst_inspect.dsp:
2576         * win32/vs6/gst_launch.dsp:
2577         * win32/vs6/libgstbase.dsp:
2578         * win32/vs6/libgstcoreelements.dsp:
2579         * win32/vs6/libgstreamer.dsp:
2580           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2581           build of libgstreamer and clean unused libraries in projects link 
2582           settings.
2583
2584 2006-05-17  Edward Hervey  <edward@fluendo.com>
2585
2586         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2587         The queue is not responsible for pushing an EOS when receiving a fatal
2588         flow error. It's up to the real element driving the pipeline to do that.
2589
2590 2006-05-16  Edward Hervey  <edward@fluendo.com>
2591
2592         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2593         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2594         buffer returned a fatal error. It should just send an EOS and stop
2595         its task.
2596         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2597         when pushing buffers on the queue and will be able to handle the event.
2598
2599 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2600
2601         * docs/manual/basics-bins.xml:
2602         * docs/manual/basics-init.xml:
2603           Fix typos and minor errors in sample code (#341856).
2604
2605 2006-05-16  Wim Taymans  <wim@fluendo.com>
2606
2607         * docs/design/part-qos.txt:
2608         Fix indexes in formulas to make more sense.
2609
2610 2006-05-15  Wim Taymans  <wim@fluendo.com>
2611
2612         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2613         Don't report POSITION based on clock time if sync is
2614         disabled in a sink.
2615
2616 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2617
2618         * gst/gstobject.h:
2619           Add cast to make compiler happy - refcount variable was a gint
2620           in GstObject but is a guint in GObject and g_atomic_int_get()
2621           wants a gint *.
2622
2623 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2624
2625         * gst/parse/Makefile.am:
2626           chain commands using &&, which also makes parallel make work
2627
2628 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2629
2630         * docs/gst/gstreamer-sections.txt:
2631         * gst/gstevent.c:
2632         * gst/gstevent.h:
2633         * gst/gstmessage.h:
2634           Minor docs fixes.
2635
2636 === release 0.10.6 ===
2637
2638 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2639
2640         * configure.ac:
2641           releasing 0.10.6, "Take the cannoli"
2642
2643 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2644
2645         * tools/gst-launch.c: (print_tag):
2646           Fix use of uninitialized variable in the hypothetical
2647           case that some broken plugin creates a GST_TAG_IMAGE
2648           tag containing a NULL buffer (#341667).
2649
2650 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2651
2652         * tools/gst-launch.c: (print_tag):
2653           Print something more intelligible for image tags when
2654           using the -t switch (#341556).
2655
2656 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2657
2658         * Makefile.am:
2659           updates for win32
2660         * configure.ac:
2661           define GST_MAJORMINOR so we have it available in win32/common/config.h
2662           Possibly remove it from our Makefile.am files later
2663         * win32/common/config.h:
2664         * win32/common/config.h.in:
2665           added GST_MAJORMINOR
2666         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2667         * win32/common/gstversion.h:
2668           updated
2669
2670 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2671
2672         * win32/MANIFEST:
2673           Update win32 files listing.
2674         * win32/common/gstversion.h:
2675           Add GST_MAJORMINOR definition.
2676         * win32/common/libgstreamer.def:
2677           Add new exported functions.
2678           
2679 2006-05-12  Michael Smith  <msmith@fluendo.com>
2680
2681         * gst/gstplugin.c: (gst_plugin_load_file):
2682           If an so file has no plugin entry point, unload the module.
2683
2684 2006-05-11  Wim Taymans  <wim@fluendo.com>
2685
2686         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2687         (gst_queue_set_property):
2688         Don't forget to signal the _chain or _loop function 
2689         when the queue size or thresholds change since that might
2690         cause them to make progres again.
2691
2692 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2693
2694         * gst/gstclock.c: (gst_clock_class_init):
2695         * gst/gstindex.c: (gst_index_class_init):
2696         * gst/gstobject.c: (gst_object_class_init):
2697         * gst/gstpad.c: (gst_pad_class_init):
2698         * gst/gstpipeline.c: (gst_pipeline_class_init):
2699         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2700         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2701         * libs/gst/base/gstbasetransform.c:
2702         (gst_base_transform_class_init):
2703         * libs/gst/net/gstnetclientclock.c:
2704         (gst_net_client_clock_class_init):
2705         * libs/gst/net/gstnettimeprovider.c:
2706         (gst_net_time_provider_class_init):
2707         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2708         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2709         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2710         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2711         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2712         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2713         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2714         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2715         * plugins/elements/gsttee.c: (gst_tee_class_init):
2716         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2717         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2718           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2719
2720 2006-05-11  Wim Taymans  <wim@fluendo.com>
2721
2722         * gst/gstbuffer.c: (_gst_buffer_initialize):
2723         Register subbufer along with the buffer type so that
2724         it does not accidentally gets registered from N
2725         different streaming threads in a non threadsafe way.
2726
2727 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2728
2729         * gst/gstbuffer.h:
2730         * gst/gstevent.h:
2731         * gst/gstmessage.h:
2732           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2733           gst_event_ref() and gst_message_ref() functions again
2734           (ugly hack, please do fix if there's a better way besides
2735           overrides.txt, which doesn't seem to work).
2736
2737 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2738
2739         * libs/gst/check/gstcheck.h:
2740           add an assert for setting state to avoid lots of repetitive code
2741           in the future
2742
2743 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2744
2745         * gst/gstvalue.c: (gst_value_serialize_flags):
2746           fix a leak if no flags are set
2747         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2748           fix leak in tests
2749
2750 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2751
2752         * docs/manual/basics-pads.xml:
2753           Expand a bit on caps and filtered links and update
2754           examples that were still using the no longer existing
2755           gst_pad_link_filtered() (#338206).
2756
2757 2006-05-10  Wim Taymans  <wim@fluendo.com>
2758
2759         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2760         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2761         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2762         (gst_collect_pads_stop):
2763         * libs/gst/base/gstcollectpads.h:
2764         No need to call _stop in _finalize.
2765         Iterate the main pad list in _finalize.
2766         Added some more debug.
2767         Free lists and data in the right order.
2768         Also free data whem doing _remove_pad when stopped for
2769         backward compatibility protect ::started with PAD_LOCK as
2770         well.
2771
2772 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2773
2774         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2775         (gst_structure_parse_value):
2776           add some comments
2777           rename a method so that it actually says what it does better
2778
2779 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2780
2781         * gst/gstevent.c: (_gst_event_initialize):
2782         * gst/gstformat.c: (_gst_format_initialize):
2783           make sure some essential types used by events are registered
2784           as part of gst_init()
2785         * gst/gstvalue.c: (gst_value_serialize_flags):
2786           if no flags are set, serialize them to a value that represents NONE
2787           so that deserializing them works
2788         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2789           add tests for serialization and deserialization of flags
2790
2791 2006-05-10  Wim Taymans  <wim@fluendo.com>
2792
2793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2794         (gst_collect_pads_collect_range), (gst_collect_pads_available),
2795         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2796         (gst_collect_pads_event), (gst_collect_pads_chain):
2797         Update docs.
2798         Better debug info.
2799         Catch and return errors from the collect function
2800         Refuse data on eos pads.
2801
2802 2006-05-10  Edward Hervey  <edward@fluendo.com>
2803
2804         * gst/gstinterface.h:
2805         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2806         GInterface type checking.
2807         They were previously using non-defined macros.
2808
2809 2006-05-09  Wim Taymans  <wim@fluendo.com>
2810
2811         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2812         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2813         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2814         (gst_collect_pads_start), (gst_collect_pads_stop),
2815         (gst_collect_pads_peek), (gst_collect_pads_pop),
2816         (gst_collect_pads_available), (gst_collect_pads_read),
2817         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2818         (gst_collect_pads_is_collected), (gst_collect_pads_event),
2819         (gst_collect_pads_chain):
2820         * libs/gst/base/gstcollectpads.h:
2821         Clean up the mess that is collectpads, add comments and
2822         FIXMEs where needed.
2823         Maintain a separate pad list so we can add pads while
2824         collecting the other ones. For this we need a new separate 
2825         lock (see comics).
2826         Fix memory leak in finalize.
2827         Refactor some weird code to set/unset pad flushing flags, mark
2828         with comments.
2829         Don't crash in _available, _read, _flush when we're EOS.
2830
2831         * tests/check/libs/.cvsignore:
2832         Ignore adapter check binary.
2833
2834 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2835
2836         * gst/gstindex.c: (gst_index_resolver_get_type):
2837         * plugins/elements/gstfakesink.c:
2838         (gst_fake_sink_state_error_get_type):
2839         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2840         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2841         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2842           Const-ify GEnumValue arrays.
2843
2844 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2845
2846         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2847           Add test case for flags + gst_buffer_make_metadata_writable().
2848
2849 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2850
2851         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2852           gst_buffer_make_metadata_writable() should maintain the
2853           buffer flags (those that make sense at least) (see #340859).
2854
2855 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2856
2857         * tools/gst-inspect.c:
2858         * tools/gst-launch.c:
2859         * tools/gst-typefind.c:
2860         * tools/gst-xmlinspect.c:
2861         * tools/tools.h:
2862           Fix up includes: need to include stdlib.h in tools.h for exit().
2863
2864 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2865
2866         * gst/gsttaglist.c: (_gst_tag_initialize):
2867         * gst/gsttaglist.h:
2868           API: add GST_TAG_IMAGE tag (#340721).
2869
2870 2006-05-08  Wim Taymans  <wim@fluendo.com>
2871
2872         * gst/gstquery.c:
2873         Added some docs for the segment query.
2874
2875 2006-05-08  Wim Taymans  <wim@fluendo.com>
2876
2877         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2878         (gst_base_src_loop), (gst_base_src_change_state):
2879         Always push non-flushing serialized events in the streaming 
2880         thread.
2881
2882 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2883
2884         * gst/gsterror.c: (_gst_stream_errors_init):
2885           Add a missing error string.
2886
2887 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
2888
2889         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2890         Add applied_rate to the debug
2891
2892         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2893         Copy applied_rate into the outgoing NEWSEGMENT event
2894
2895 2006-05-08  Wim Taymans  <wim@fluendo.com>
2896
2897         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2898
2899         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2900         (gst_base_sink_change_state):
2901         call ::unlock before taking the PREROLL_LOCK so we can safely
2902         handle elements that lock in ::render.
2903         Fixes #340174.
2904
2905 2006-05-08  Edward Hervey  <edward@fluendo.com>
2906
2907         * autogen.sh: (CONFIGURE_DEF_OPT): 
2908         Darwin's libtoolize is in fact called glibtoolize.
2909         Adding glibtoolize to the list of accepted names for libtoolize.
2910
2911 2006-05-08  Wim Taymans  <wim@fluendo.com>
2912
2913         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2914         Unify error handling, don't post an error message
2915         when a push() returns EOS but perform our normal EOS
2916         handling code. Fixes #340772.
2917
2918 2006-05-08  Wim Taymans  <wim@fluendo.com>
2919
2920         * docs/design/part-overview.txt:
2921         Make upsteam/downstream concepts more clear.
2922         Give an example of serialized/non-serialized events.
2923
2924         * docs/design/part-events.txt:
2925         * docs/design/part-streams.txt:
2926         Mention applied_rate.
2927
2928         * docs/design/part-trickmodes.txt:
2929         Mention applied rate, flesh out some more use cases.
2930
2931         * gst/gstevent.c: (gst_event_new_new_segment),
2932         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2933         (gst_event_parse_new_segment_full), (gst_event_new_tag),
2934         (gst_event_parse_tag), (gst_event_new_buffer_size),
2935         (gst_event_parse_buffer_size), (gst_event_new_qos),
2936         (gst_event_parse_qos), (gst_event_parse_seek),
2937         (gst_event_new_navigation):
2938         * gst/gstevent.h:
2939         Add applied_rate field to NEWSEGMENT event.
2940         API: gst_event_new_new_segment_full()
2941         API: gst_event_parse_new_segment_full()
2942
2943         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2944         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2945         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2946         * gst/gstsegment.h:
2947         Add applied_rate to GstSegment structure.
2948         Make calculation of stream_time and running_time more correct
2949         wrt rate/applied_rate.
2950         Add some more docs.
2951         API: GstSegment::applied_rate field
2952         API: gst_segment_set_newsegment_full();
2953
2954         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2955         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2956         * libs/gst/base/gstbasetransform.c:
2957         (gst_base_transform_sink_eventfunc),
2958         (gst_base_transform_handle_buffer):
2959         Parse and use applied_rate in the GstSegment field.
2960
2961         * tests/check/gst/gstevent.c: (GST_START_TEST):
2962         Add check for applied_rate field.
2963
2964         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2965         (gstsegments_suite):
2966         Add more checks for various GstSegment operations.
2967
2968 2006-05-08  Wim Taymans  <wim@fluendo.com>
2969
2970         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2971         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2972         (gst_base_sink_get_position), (gst_base_sink_change_state):
2973         Store the sync time of the buffer end position separatly in a
2974         new variable eos_rtime so we can properly sync the EOS event.
2975         Fixes #340697.
2976         Fix the docs for gst_base_sink_set_qos_enabled().
2977         Don't set segment start to invalid value when we receive a 
2978         non TIME newsegment.
2979         get closer to handling position reporting for negative rates 
2980         correctly.
2981
2982 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2983
2984         * gst/gstcaps.c:
2985         Docs about how to print caps for debug purposes.
2986
2987         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2988         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2989
2990 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2991
2992         * gst/gstelement.c:
2993           use full enum names and preprend a '%' in docs strings to make recent 
2994           gtk-doc turn that into a link
2995
2996 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2997
2998         * docs/manual/basics-bins.xml:
2999         * docs/manual/basics-bus.xml:
3000         * docs/manual/basics-pads.xml:
3001           Some typo fixes, some additions, some clarifications. 
3002
3003 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3004
3005         * tools/gst-inspect.c: (main):
3006         * tools/gst-launch.c: (main):
3007         * tools/gst-run.c: (main):
3008         * tools/gst-typefind.c: (main):
3009         * tools/gst-xmlinspect.c: (main):
3010           Use the string passed to g_option_context_new() for
3011           what it's intended for - the program name is already
3012           printed elsewhere.
3013
3014 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3015
3016         * tools/Makefile.am:
3017         * tools/gst-inspect.c: (main):
3018         * tools/gst-launch.c: (main):
3019         * tools/gst-xmlinspect.c: (main):
3020         * tools/tools.h:
3021           Add back --version command line option (#340460).
3022
3023         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3024           Add --version option and use GOption for argument parsing; refactor a
3025           bit; accept directories as arguments and recurse into them; lastly,
3026           print a decent error message when things go wrong.
3027
3028 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3029
3030         * docs/manual/basics-bins.xml:
3031         Don't mention GstThread (#340611)
3032         * docs/manual/basics-elements.xml:
3033         Update link to GObject tutorial (#340607)
3034         
3035 2006-05-05  Wim Taymans  <wim@fluendo.com>
3036
3037         * gst/gstbuffer.h:
3038         * gst/gstminiobject.c:
3039         Add note about refcounting and miniobject/buffer writeability
3040         to docs. Fixes #340604
3041
3042         * gst/gstelementfactory.h:
3043         Added some explanation about @klass.
3044
3045 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3046
3047         * docs/manual/intro-motivation.xml:
3048         * docs/manual/manual.xml:
3049         Avoid CORBA & Bonobo references (#340598)
3050
3051 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3052
3053         * docs/manual/basics-bus.xml:
3054         * docs/manual/basics-pads.xml:
3055         Fix up some inaccuracies and omissions (#340609)
3056         
3057 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3058
3059         * gst/gstghostpad.c:
3060           Small typo in docs (#340625)
3061
3062 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3063
3064         * gst/parse/Makefile.am:
3065           Make 'make -j' proof (see #340698).
3066
3067 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3068
3069         * configure.ac:
3070           Require GLib-2.8 here as well.
3071
3072 2006-05-05  Wim Taymans  <wim@fluendo.com>
3073
3074         * gst/glib-compat.c:
3075         * gst/gst.c: (init_pre):
3076         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3077         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3078         (gst_object_dispatch_properties_changed):
3079         * gst/gstobject.h:
3080         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3081         * gst/gststructure.c: (gst_structure_set_valist):
3082         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3083         Remove pre glib2.8 compatibility, fixes #340508
3084
3085 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3086
3087         * gst/gsttaglist.h:
3088           Mention type of tags in doc blurbs.
3089
3090 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3091
3092         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3093         (gst_pad_configure_src), (gst_pad_push):
3094         Restore acceptcaps checking behaviour now that good plugins have
3095         been released.
3096
3097 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3098
3099         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3100
3101         * gst/gst.c:
3102         * gst/gstbus.c:
3103         * gst/gstclock.c:
3104         * gst/gstevent.c:
3105         * gst/gstformat.c:
3106         * gst/gstmessage.c:
3107         * gst/gstparse.c:
3108         * gst/gstquery.c:
3109         * gst/gstutils.c:
3110         * gst/parse/Makefile.am:
3111         * libs/gst/base/gstadapter.c:
3112         * libs/gst/base/gstbasesrc.c:
3113         * libs/gst/base/gstpushsrc.c:
3114         * libs/gst/base/gsttypefindhelper.c:
3115         * plugins/elements/gstfakesrc.c:
3116         * plugins/elements/gstidentity.c:
3117           Make sure gstprivate.h and/or config.h are
3118           always included first, otherwise some of our
3119           defines (like _FILE_OFFSET_BITS) might be
3120           redefined in the system headers. Fixes build
3121           on opensolaris (#340016).
3122
3123 2006-05-04  Wim Taymans  <wim@fluendo.com>
3124
3125         * docs/libs/gstreamer-libs-sections.txt:
3126         API: addition: gst_adapter_take_buffer()
3127         
3128         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3129         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3130         (gst_adapter_available_fast):
3131         * libs/gst/base/gstadapter.h:
3132         Prepare for optimizing the hell out of this hugely inefficient
3133         piece of code. 
3134         Added gst_adapter_take_buffer() so we can at least start thinking
3135         about subbuffering and merging.
3136         Added some comments.
3137
3138         * tests/check/Makefile.am:
3139         * tests/check/libs/adapter.c: (GST_START_TEST),
3140         (gst_adapter_suite), (main):
3141         Added GstAdapter check.
3142
3143 2006-05-04  Wim Taymans  <wim@fluendo.com>
3144
3145         * docs/design/part-overview.txt:
3146         Fix some typos, add blurb about buffer flags.
3147
3148 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3149
3150         * docs/libs/gstreamer-libs-sections.txt:
3151           make sure GstBaseTransformClass shows up in the docs
3152         * libs/gst/base/gstbasetransform.c:
3153         * libs/gst/base/gstbasetransform.h:
3154           move docs so gtk-doc picks it up now
3155
3156 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3157
3158         * docs/libs/gstreamer-libs-sections.txt:
3159           add missing symbols to docs
3160
3161 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3162
3163         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3164           back out the newsegment handling change, see #340060 for ongoing
3165           discussion
3166
3167 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3168
3169         * tools/gst-run.c: (get_candidates), (main):
3170           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3171           work); fix typo in error message. Fixes #340079.
3172
3173 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3174
3175         * common/Makefile.am:
3176         * docs/Makefile.am:
3177         * docs/faq/Makefile.am:
3178         * docs/gst/Makefile.am:
3179         * docs/libs/Makefile.am:
3180         * docs/manual/Makefile.am:
3181         * docs/plugins/Makefile.am:
3182         * docs/pwg/Makefile.am:
3183         * docs/slides/Makefile.am:
3184         * docs/upload.mak:
3185         * common/upload.mak:
3186           move upload.mak to common
3187
3188 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3189
3190         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3191           add more asserts on refcounts
3192           do more cleanup at end of tests
3193           fix test leaks showing in FC5
3194
3195 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3196
3197         * plugins/elements/gsttypefindelement.c:
3198         (gst_type_find_element_handle_event):
3199         reverted wrong change and reflowed code to avoid others falling into
3200         this trap
3201
3202 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3203
3204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3205           fix changelog entry about last collectpads change,
3206           add notes about proper fix
3207
3208 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3209
3210         * gst/gst.c:
3211         * gst/gstregistry.c: (gst_registry_scan_path_level),
3212         (gst_registry_scan_path):
3213         * gst/gstregistry.h:
3214           only write out registry if it has changed, fixes #338339
3215
3216 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3217
3218         * gst/gstbin.c:
3219         * gst/gstpipeline.c:
3220         * plugins/elements/gstcapsfilter.c:
3221         * plugins/elements/gstfakesink.c:
3222         * plugins/elements/gstfakesrc.c:
3223         * plugins/elements/gstfdsink.c:
3224         * plugins/elements/gstfdsrc.c:
3225         * plugins/elements/gstfilesink.c:
3226         * plugins/elements/gstfilesrc.c:
3227         * plugins/elements/gstidentity.c:
3228         * plugins/elements/gstqueue.c:
3229         * plugins/elements/gsttee.c:
3230         * plugins/elements/gsttypefindelement.c:
3231         (gst_type_find_element_handle_event):
3232           make GstElementDetails const
3233
3234 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3237         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3238         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3239           more detailed debug and formatting cleanup,
3240           forward newsegments to src-pad (so that e.g. adder not eats them)
3241
3242 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3243
3244         * gst/gstutils.c: (gst_element_link_pads):
3245           cleanup double code
3246
3247 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3248
3249         * libs/gst/controller/gstcontroller.c:
3250         (gst_controller_sync_values):
3251           some little tuning
3252         * tests/check/libs/controller.c: (GST_START_TEST),
3253         (gst_controller_suite):
3254           a new test for live value handling
3255
3256 2006-04-28  Wim Taymans  <wim@fluendo.com>
3257
3258         * gst/gstutils.c: (push_and_ref):
3259         Added some more docs.
3260         Fix refcount issue whith gst_element_found_tags() helper 
3261         function. Fixes #338335
3262
3263         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3264         Added testsuite for gst_element_found_tags().
3265
3266 2006-04-28  Michael Smith  <msmith@fluendo.com>
3267
3268         * gst/gstvalue.c: (gst_value_serialize_flags):
3269           Avoid NULL dereference when trying to serialize flags containing
3270           invalid values.
3271
3272 2006-04-28  Michael Smith  <msmith@fluendo.com>
3273
3274         * plugins/elements/gsttypefindelement.c:
3275         (gst_type_find_element_handle_event):
3276           If we get EOS before any data is accumulated, don't use
3277           uninitialised local variables.
3278
3279 2006-04-28  Michael Smith  <msmith@fluendo.com>
3280
3281         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3282         (gst_dp_event_from_packet):
3283           Fixes in reading/writing events over GDP (not currently used?) - 
3284           dereferencing NULL events for unknown/invalid event types, memory
3285           leak, and change g_warning to GST_WARNING.
3286
3287 2006-04-28  Wim Taymans  <wim@fluendo.com>
3288
3289         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3290         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3291         (gst_base_sink_get_position), (gst_base_sink_change_state):
3292         When frame dropping is enabled, we should not ignore frames
3293         without a duration.
3294         Update some documentation.
3295
3296 2006-04-28  Wim Taymans  <wim@fluendo.com>
3297
3298         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3299         (gst_base_src_send_event), (gst_base_src_change_state):
3300         Documentation updates.
3301
3302 2006-04-28  Wim Taymans  <wim@fluendo.com>
3303
3304         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3305         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3306         handle EAGAIN, EINTR and short writes correctly. Also clean
3307         up some error cases, avoid a deadlock on bad file descriptors and
3308         use GST_DEBUG_OBJECT.
3309         Fixes #339843
3310
3311 2006-04-28  Wim Taymans  <wim@fluendo.com>
3312
3313         * gst/gstvalue.c: (gst_value_serialize_buffer),
3314         (gst_value_deserialize_buffer):
3315         Don't try to serialize a GValue with a NULL buffer. 
3316         Fixes #339821.
3317
3318         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3319         Added check for serialisation of NULL buffers.
3320
3321 2006-04-28  Wim Taymans  <wim@fluendo.com>
3322
3323         * gst/gstminiobject.c: (gst_value_take_mini_object):
3324         Taking a NULL miniobject is valid, fix the case where
3325         we try to unref the NULL miniobject.
3326
3327 2006-04-28  Wim Taymans  <wim@fluendo.com>
3328
3329         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3330
3331         * gst/gstbin.c: (gst_bin_handle_message_func):
3332         Update docs.
3333         Don't leak bin refcount when a state recalc is
3334         in progress and we delay another one #339808.
3335
3336 2006-04-28  Wim Taymans  <wim@fluendo.com>
3337
3338         * docs/design/part-TODO.txt:
3339         Mention QoS as an ongoing work item.
3340
3341         * docs/design/part-buffering.txt:
3342         New doc about buffering that needs to be fleshed out
3343         at some point.
3344
3345         * docs/design/part-qos.txt:
3346         More QoS policy for decoders/demuxers/transforms
3347
3348         * docs/design/part-trickmodes.txt:
3349         Small update.
3350
3351 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3352
3353         * configure.ac:
3354           back to HEAD
3355
3356 === release 0.10.5 ===
3357
3358 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3359
3360         * configure.ac:
3361           releasing 0.10.5, "Fogo"
3362
3363 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3364
3365         patch by: Wim Taymans
3366
3367         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3368         (gst_pad_configure_src), (gst_pad_push):
3369         * gst/gstpipeline.c: (gst_pipeline_init):
3370           Fix internal data flow errors.  Fixes #338711.
3371
3372 2006-04-12  Wim Taymans  <wim@fluendo.com>
3373
3374         * tests/check/gst/gstelement.c: (GST_START_TEST):
3375         Don't leak the factory.
3376
3377 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3378
3379         * configure.ac:
3380         * win32/common/config.h:
3381           prerelease
3382
3383 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3384
3385         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3386         (gst_controller_unset_all):
3387           Free allocated GstTimedValues when freeing list nodes.
3388           Should fix leaks 'make check-valgrind' complains about.
3389
3390         * win32/common/libgstcontroller.def:
3391           Add gst_controller_unset_all.
3392
3393 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3394
3395         * docs/libs/gstreamer-libs-sections.txt:
3396         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3397         (gst_controller_unset_all):
3398         * libs/gst/controller/gstcontroller.h:
3399         API: Added new method gst_controller_unset_all()
3400         fixed gst_controller_unset()
3401         * tests/check/libs/controller.c: (GST_START_TEST),
3402         (gst_controller_suite):
3403         Added two testcases for new and fixed method
3404
3405 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3406
3407         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3408           MSG_DONTWAIT is not defined on Cygwin, so work
3409           around that (fixes #317048).
3410           
3411 2006-04-11  Wim Taymans  <wim@fluendo.com>
3412
3413         * gst/gstelementfactory.c: (gst_element_register),
3414         (gst_element_factory_create), (gst_element_factory_make):
3415         Some cleanups.
3416         Fixed a FIXME.
3417         Updated docs (Fixes #131079)
3418
3419         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3420         Small cleanups.
3421
3422         * tests/check/gst/gstelement.c: (GST_START_TEST),
3423         (gst_element_suite):
3424         Added testcase for elementfactory class field.
3425
3426 2006-04-10  Wim Taymans  <wim@fluendo.com>
3427
3428         * gst/gstsegment.c:
3429         Added some more docs.
3430
3431         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3432         (gst_base_sink_reset_qos):
3433         Calculate more accurate rate values.
3434
3435 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3436
3437         * gst/gst_private.h:
3438           add a new #ifdef to use __declspec(dllimport) only for
3439           other modules and not for gstreamer core
3440         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3441           use gst_guint64_to_gdouble for conversion
3442         * win32/common/libgstreamer.def:
3443           add new exported functions
3444         * win32/vs6/gst_inspect.dsp:
3445         * win32/vs6/gst_launch.dsp:
3446         * win32/vs6/libgstbase.dsp:
3447         * win32/vs6/libgstcontroller.dsp:
3448         * win32/vs6/libgstcoreelements.dsp:
3449         * win32/vs6/libgstdataprotocol.dsp:
3450         * win32/vs6/libgstnet.dsp:
3451           update project files
3452
3453 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3454
3455         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3456         * gst/gstclock.c: (gst_clock_class_init):
3457         * gst/gstelement.c: (gst_element_class_init):
3458         * gst/gstindex.c: (gst_index_class_init):
3459         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3460         * gst/gstobject.c: (gst_object_class_init),
3461         (gst_signal_object_class_init):
3462         * gst/gstpad.c: (gst_pad_class_init):
3463         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3464         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3465         * gst/gstregistry.c: (gst_registry_class_init):
3466         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3467         * gst/gsttask.c: (gst_task_class_init):
3468         * gst/gstxml.c: (gst_xml_class_init):
3469         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3470         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3471         (gst_base_src_loop):
3472         * libs/gst/controller/gstcontroller.c:/
3473         (_gst_controller_class_init):
3474         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3475         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3476         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3477         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3478         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3479         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3480
3481 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3482
3483         * gst/gstpad.c: (gst_pad_link):
3484           Must set peer pads before calling the link function, otherwise
3485           a task started from a link function might get a flow-not-linked
3486           result when trying to push because the other thread where the
3487           linking happens hasn't had a chance to set the peers yet. This
3488           might happen for example when a queue gets linked to a downstream
3489           element, as queue starts a streaming task when its source pad
3490           gets linked. Happens in real life when playing back flac/musepack
3491           files in playbin (#332390).
3492           
3493 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3494
3495         * gst/gstindex.h:
3496         * gst/gstxml.h:
3497         * libs/gst/base/gstadapter.h:
3498         * libs/gst/base/gstbasesink.h:
3499         * libs/gst/base/gstbasesrc.h:
3500         * libs/gst/base/gstbasetransform.h:
3501         * libs/gst/base/gstcollectpads.h:
3502         * libs/gst/base/gstpushsrc.h:
3503         Fix broken GObject macros
3504
3505 2006-04-07  Wim Taymans  <wim@fluendo.com>
3506
3507         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3508         Initialize start and stop times, thanks valgrind.
3509
3510 2006-04-07  Wim Taymans  <wim@fluendo.com>
3511
3512         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3513         Be a bit nicer to badly behaving upstream elements that expect
3514         us to deal with non TIME segments and timestamps (such as fakesrc
3515         in the testsuite).
3516
3517 2006-04-07  Wim Taymans  <wim@fluendo.com>
3518
3519         * gst/gstbus.c:
3520         Small documentation clarification about the signal watch.
3521
3522         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3523         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3524         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3525         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3526         (gst_base_sink_get_position_last),
3527         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3528         Convert and store timestamps in stream time and running time, the
3529         raw timestamps are not usefull, also document this better.
3530         Use different window sizes for good and bad QoS observations so
3531         we react to badness a little quicker.
3532         Keep track of the amount of rendered and dropped buffers.
3533         Send QoS timestamps in running time.
3534
3535         * libs/gst/base/gstbasetransform.c:
3536         (gst_base_transform_sink_eventfunc),
3537         (gst_base_transform_handle_buffer):
3538         Compare QoS timestamps against running time.
3539
3540 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3541
3542         * gst/gstpad.c:
3543           Typo fixes in docs.
3544
3545 2006-04-06  Michael Smith  <msmith@fluendo.com>
3546
3547         * gst/gstpad.c: (gst_pad_set_property):
3548           Use g_value_get_object() instead of g_value_dup_gst_object(),
3549           to avoid double-reffing the pad template (which we then sink,
3550           so this worked previously if (and only if) the pad template
3551           was floating.
3552
3553         * gst/gstpadtemplate.c: (gst_pad_template_init),
3554         (gst_pad_template_pad_created):
3555           Never return floating references to pad templates, create
3556           them as initially-sunken.
3557
3558           Document an extra function (and make this stop sinking our
3559           pad template, since that is now guaranteed to do nothing,
3560           since we created it sunken).
3561
3562         * gst/gstghostpad.c:
3563           Fix docs typo.
3564
3565 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3566
3567         * gst/gstinfo.c: (__gst_in_valgrind):
3568           Add some newlines.
3569
3570         * plugins/elements/gsttypefindelement.c:
3571         (gst_type_find_element_chain):
3572           Don't leak buffer caps.
3573
3574 2006-04-06  Michael Smith  <msmith@fluendo.com>
3575
3576         * gst/parse/grammar.y:
3577           Fix a leak in parse-launch for any source-or-sink named element 
3578           references used.
3579
3580         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3581           Unref the pipeline if it exists after we've failed parsing.
3582
3583 2006-04-05  Michael Smith  <msmith@fluendo.com>
3584
3585         * gst/gstpipeline.c: (gst_pipeline_init):
3586           When we create a pipeline bus, initially create it in flushing mode.
3587           Fixes leaks in at least one test, and makes a new pipeline work the
3588           same as one that has gone to READY and then back to NULL.
3589
3590         * gst/gstelement.c:
3591           Typo fix in docs.
3592
3593 2006-04-05  Michael Smith  <msmith@fluendo.com>
3594
3595         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3596           Unref a pad we reffed.
3597         * tests/check/gst/gstutils.c: (GST_START_TEST):
3598           Unref bins
3599
3600 2006-04-05  Michael Smith  <msmith@fluendo.com>
3601
3602         * gst/gstquery.c: (gst_query_set_formats),
3603         (gst_query_set_formatsv):
3604           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3605
3606 2006-04-05  Michael Smith  <msmith@fluendo.com>
3607
3608         * tests/check/generic/sinks.c: (GST_START_TEST):
3609           Fix a variety of memleaks in sinks check, which are only sometimes 
3610           shown by running the tests under valgrind (weird?).
3611
3612 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3613
3614         * docs/version.entities.in:
3615           Fix the substituted entity name after thomas' changes on the
3616           weekend.
3617
3618 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3619
3620         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3621         VALGRIND_PRINTF
3622         
3623 2006-04-05  Andy Wingo  <wingo@pobox.com>
3624
3625         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3626
3627         * libs/gst/base/gstbasetransform.c
3628         (gst_base_transform_sink_eventfunc): When resetting our segment on
3629         FLUSH_STOP, also update the flag saying we haven't seen a
3630         newsegment.
3631
3632 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3633
3634         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3635
3636         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3637         (gst_plugin_check_license):
3638           minor clean-ups: G_DEFINE_TYPE already takes care of the
3639           parent_class stuff, no need to do it twice. Mark array of
3640           license strings as constant. (#337103)
3641           
3642 2006-04-04  Michael Smith  <msmith@fluendo.com>
3643
3644         * tools/gst-inspect.c: (print_element_list):
3645           Free the right plugin list; fixes a memory leak.
3646
3647 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3648
3649         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3650
3651         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3652           Don't error out on empty buffers (#336945).
3653           
3654 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3655
3656         * docs/libs/gstreamer-libs-sections.txt:
3657         * gst/gsttaglist.c:
3658         * libs/gst/base/gstbasesink.c:
3659         * libs/gst/base/gstbasesink.h:
3660         * libs/gst/base/gstbasesrc.c:
3661         * libs/gst/base/gstbasesrc.h:
3662           Documentation updates. Make BaseSink and BaseSrc docs contain the
3663           class structure so that people can actually see the prototypes for
3664           virtual functions they're supposed to be overriding.
3665
3666 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3667
3668         * plugins/elements/gsttypefindelement.c:
3669         (gst_type_find_element_chain):
3670           More debug info; when skipping typefinding, send cached
3671           events in all cases.
3672
3673 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3674
3675         * configure.ac:
3676           use new AS_VERSION and AS_NANO macros
3677         * gst/gst-i18n-lib.h:
3678         * gst/gst.c:
3679         * gst/gsterror.c:
3680         * gst/gstversion.h.in:
3681         * win32/common/config.h:
3682         * win32/common/config.h.in:
3683           update accordingly
3684
3685 2006-03-31  Michael Smith  <msmith@fluendo.com>
3686
3687         * plugins/elements/gsttypefindelement.c:
3688         (gst_type_find_element_chain):
3689           Do not typefind content if the buffers already have caps.
3690           Neccesary for icydemux (#333657), and the right thing to do anyway.
3691
3692 2006-03-30  Wim Taymans  <wim@fluendo.com>
3693
3694         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3695         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3696         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3697         (gst_base_sink_record_qos_observation),
3698         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3699         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3700         (gst_base_sink_change_state):
3701         More QoS measurements as described in the design doc.
3702         Get rid of ringbuffer with observations, running average is
3703         more simple and equally good.
3704         Calculates valid proportion now.
3705         Added beginning of flood measurement.
3706
3707 2006-03-29  Wim Taymans  <wim@fluendo.com>
3708
3709         * docs/design/part-qos.txt:
3710         * gst/gstclock.c:
3711         Small documentation updates and additions.
3712
3713 2006-03-29  Wim Taymans  <wim@fluendo.com>
3714
3715         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3716         (gst_base_src_send_event), (gst_base_src_loop),
3717         (gst_base_src_change_state):
3718         Perform the EOS logic when we reach the segment stop position.
3719         Fix compilation on gcc4.1
3720
3721 2006-03-29  Wim Taymans  <wim@fluendo.com>
3722
3723         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3724
3725         * plugins/elements/gstqueue.c: (gst_queue_init),
3726         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3727         (gst_queue_set_property):
3728         * plugins/elements/gstqueue.h:
3729         In queue, when EOS is received, if minimum threshold > max_size -
3730         current_level, there is chance that queue blocks forever in conditional
3731         item del wait. This is because the queue is not emptied completely due
3732         to minimum threshold.  Here is another approach. Instead of setting
3733         cur_levels to max in EOS, just zero all minimum threshold levels. This
3734         should make sure that queue gives out all data. When going to READY
3735         (stop) state, just reset the original minimum threshold levels.
3736         Fixes #336336.
3737
3738 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
3739
3740         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3741         (gst_type_find_element_handle_event),
3742         (gst_type_find_element_send_cached_events),
3743         (gst_type_find_element_change_state):
3744         * plugins/elements/gsttypefindelement.h:
3745           When typefinding is done in push mode, we should cache
3746           events we receive during typefinding instead of just
3747           dropping them (e.g. newsegment, custom events from
3748           dvdreadsrc etc.) and then send them out once we've
3749           determined the type of the stream (and decodebin
3750           has had a chance to plug in a decoder/demuxer).
3751           
3752 2006-03-27  Wim Taymans  <wim@fluendo.com>
3753
3754         * docs/design/part-qos.txt:
3755         First QoS ideas.
3756
3757 2006-03-27  Wim Taymans  <wim@fluendo.com>
3758
3759         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3760
3761         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3762         (gst_base_src_send_event), (gst_base_src_change_state):
3763         Handle element seek correctly when we are streaming.
3764         Fixes #326998.
3765
3766 2006-03-24  Michael Smith  <msmith@fluendo.com>
3767
3768         * docs/faq/gst-uninstalled:
3769           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3770           allow you to correctly run intalled applications built against old 
3771           core, using plugins that require updated core (e.g. running
3772           installed totem against a full uninstalled gstreamer stack)
3773
3774 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3775
3776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3777         more debug details
3778
3779 2006-03-24  Wim Taymans  <wim@fluendo.com>
3780
3781         * docs/gst/gstreamer-sections.txt:
3782         Rearrange the order of the methods so that related methods
3783         are grouped together in sections.
3784
3785 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3786
3787         * gst/gstelement.c:
3788           Little clarification in the docs
3789
3790 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3791
3792         * docs/README:
3793         formatting fix
3794         * plugins/elements/gstidentity.c:
3795         * plugins/elements/gstqueue.c:
3796         * plugins/elements/gsttee.c:
3797         * plugins/elements/gsttypefindelement.c:
3798         GST_ELEMENT_DETAILS formatting
3799
3800 2006-03-24  Wim Taymans  <wim@fluendo.com>
3801
3802         * libs/gst/base/gstbasesink.h:
3803         Only add fields, not insert or we break ABI.
3804
3805 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3806
3807         * win32/common/libgstbase.def:
3808         * win32/common/libgstreamer.def:
3809           Update, add recently added functions.
3810
3811 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3812
3813         * docs/gst/gstreamer-sections.txt:
3814         * gst/gstutils.c: (gst_pad_query_peer_position),
3815         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3816         * gst/gstutils.h:
3817           API: add some new utility functions:
3818            - gst_pad_query_peer_position()
3819            - gst_pad_query_peer_duration()
3820            - gst_pad_query_peer_convert()
3821           
3822 2006-03-23  Wim Taymans  <wim@fluendo.com>
3823
3824         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3825         (gst_base_sink_init), (gst_base_sink_finalize),
3826         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3827         (gst_base_sink_set_property), (gst_base_sink_get_property),
3828         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3829         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3830         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3831         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3832         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3833         (gst_base_sink_preroll_object), (gst_base_sink_event),
3834         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3835         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3836         (gst_base_sink_query), (gst_base_sink_change_state):
3837         Decouple max-lateness and the fact that QoS messages are generated
3838         with a new property (qos).
3839         added API: GstBaseSink::async_play()
3840         Add vmethod so subclasses can be notified of ASYNC playing
3841         state changes.
3842         Collect timestamp start and stop to report better current
3843         position in EOS/PLAYING/PAUSED/READY/NULL.
3844         Refactor QoS/frame dropping and other measurements.
3845         API: GstBaseSrc::qos
3846         Fixes #326311
3847
3848         * libs/gst/base/gstbasesink.h:
3849         Added Private struct.
3850         API: gst_base_sink_set_qos_enabled()
3851         API: gst_base_sink_is_qos_enabled()
3852
3853 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3854
3855         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3856           If compiling against GLib-2.8 or newer, try to read the
3857           registry file using GMappedFile first before falling back
3858           to fopen() + fread() (#332151).
3859
3860 2006-03-22  Wim Taymans  <wim@fluendo.com>
3861
3862         * gst/gstinfo.c: (gst_debug_set_active),
3863         (gst_debug_category_set_threshold):
3864         Disable debugging unless explicitly activated.
3865         Fixes #335480.
3866
3867 2006-03-22  Wim Taymans  <wim@fluendo.com>
3868
3869         * gst/gstelement.c: (gst_element_set_locked_state),
3870         (gst_element_dispose):
3871         Cleanup the error case.
3872
3873         * gst/gstobject.c: (gst_object_dispose):
3874         print a critical when some object was disposed with
3875         a parent, also revive the object since it might
3876         crash the parent.
3877
3878 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
3879
3880         * tools/gst-launch.1.in:
3881           Fix another typo.
3882
3883 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3884
3885         * configure.ac:
3886         * tests/check/Makefile.am:
3887           disable some tests when we don't have a registry
3888         * tests/check/gst/gstutils.c: (gst_utils_suite):
3889           don't build the part that needs parsing
3890
3891 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3892
3893         * gst/Makefile.am
3894         * tests/examples/Makefile.am:
3895           fix --disable-parse build
3896
3897 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3898
3899         * tools/gst-feedback.1.in:
3900           Fix typo: s/feeback/feedback/ (#133494).
3901
3902 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3903
3904         * tools/Makefile.am:
3905         * tools/gst-launch.1.in:
3906           Add FILES section and correct entry about GST_REGISTRY_PATH
3907           environment variable (#133495; #133494).
3908
3909 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3910
3911         * tools/Makefile.am:
3912         * tools/gst-md5sum.1.in:
3913         * tools/gst-md5sum.c:
3914           Remove gst-md5sum and man page (the md5sink element
3915           required was removed ages ago)
3916
3917 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3918
3919         * gst/gststructure.c: (gst_structure_id_set_value):
3920           Make sure that string fields in structures/taglists
3921           contain valid UTF-8 - we don't want to pass rubbish to
3922           applications because of a buggy plugin (cp. #334167).
3923
3924 2006-03-21  Edward Hervey  <edward@fluendo.com>
3925
3926         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3927         (gst_bin_handle_message_func):
3928         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3929         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3930         (gst_element_set_bus_func):
3931         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3932         * gst/gstminiobject.c: (gst_value_set_mini_object),
3933         (gst_value_take_mini_object):
3934         * gst/gstpad.c: (gst_pad_set_pad_template):
3935         * gst/gstpipeline.c: (gst_pipeline_dispose),
3936         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3938         (gst_collect_pads_chain):
3939         * libs/gst/net/gstnettimeprovider.c:
3940         (gst_net_time_provider_set_property):
3941         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3942         It's in fact all issues with gst_*object_replace().
3943
3944 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3945
3946         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
3947         
3948         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3949         * pkgconfig/gstreamer-check.pc.in:
3950           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3951
3952 2006-03-21  Edward Hervey  <edward@fluendo.com>
3953
3954         * gst/gstbuffer.h:
3955         * gst/gstevent.h:
3956         * gst/gstmessage.h:
3957         gst_[buffer|event|message]_ref() macros are replaced by a static
3958         inline functions because gcc-4.1 will about if the return value
3959         isn't used.
3960         * tests/check/gst/gstevent.c: (event_probe):
3961         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3962
3963 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
3964
3965         * gst/gstutils.h:
3966         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3967         the type' case. (Closes: #335195 for now). In the future, when we
3968         depend on GLib 2.10, we could also intern the type name using
3969         g_intern_static_string()
3970
3971 2006-03-20  Wim Taymans  <wim@fluendo.com>
3972
3973         * gst/gstbin.c: (gst_bin_handle_message_func),
3974         (bin_query_max_init), (bin_query_position_fold),
3975         (bin_query_position_done), (gst_bin_query):
3976         Position query should also take max of all streams.
3977
3978 2006-03-20  Wim Taymans  <wim@fluendo.com>
3979
3980         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3981         (gst_fake_src_finalize):
3982         Fix leaks in fakesrc.
3983
3984         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3985         Fix leaks in the testcase.
3986
3987 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
3988
3989         * gst/gst_private.h:
3990           add win32 specific import decoration(__declspec(dllimport)) 
3991           for all extern GstDebugCategory * variables
3992         * win32/common/libgstbase.def:
3993         * win32/common/libgstcontroller.def:
3994         * win32/common/libgstreamer.def:
3995           Add some exports, remove empty lines
3996         * win32/common/libgstdataprotocol.def:
3997         * win32/common/libgstdataprotocol.dsp:
3998         * win32/common/libgstnet.def:
3999         * win32/common/libgstnet.dsp:
4000           new project files and exportation files added
4001         
4002 2006-03-19  Wim Taymans  <wim@fluendo.com>
4003
4004         * tests/check/libs/basesrc.c: (eos_event_counter):
4005         Use proper return value for probe.
4006
4007 2006-03-17  Wim Taymans  <wim@fluendo.com>
4008
4009         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4010         (gst_pad_push):
4011         Don't leak buffers, caps and pads on negotiation errors.
4012
4013 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4014
4015         * docs/faq/cvs.xml:
4016         * docs/faq/dependencies.xml:
4017         * docs/faq/developing.xml:
4018         * docs/faq/faq.xml:
4019         * docs/faq/general.xml:
4020         * docs/faq/getting.xml:
4021         * docs/faq/legal.xml:
4022         * docs/faq/troubleshooting.xml:
4023         * docs/faq/using.xml:
4024         Faq review and update.
4025
4026 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4027
4028         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4029         (gst_pad_push):
4030         Don't pound the cpu to pieces by checking get_caps when accept_caps
4031         is called with the same caps as the pad already has.
4032         Use GST_DEBUG_OBJECT when outputting caps change information.
4033
4034 2006-03-15  Wim Taymans  <wim@fluendo.com>
4035
4036         * gst/gstclock.c: (gst_clock_class_init):
4037         Fix docs.
4038
4039 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4040
4041         * gst/gstbuffer.h:
4042         Documentation fix.
4043
4044         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4045         (gst_pad_accept_caps), (gst_pad_configure_sink),
4046         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4047         Make the default acceptcaps behaviour be to check the requested 
4048         caps against the gst_pad_get_caps output. 
4049
4050         Ensure that gst_pad_accept_caps is used to check caps when a pad
4051         doesn't have a setcaps function, so that pads automatically refuse 
4052         caps that they don't allow in their pad template. (Fixes #332986)
4053
4054         When a buffer with attached caps is pushed, ensure that the source 
4055         pad receives those caps even if the element didn't call
4056         gst_pad_set_caps first.
4057
4058 2006-03-15  Wim Taymans  <wim@fluendo.com>
4059
4060         * libs/gst/base/gstadapter.c:
4061         Add some docs.
4062
4063 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * win32/common/libgstbase.def:
4066         * win32/common/libgstcontroller.def:
4067         * win32/common/libgstreamer.def:
4068           Add a whole bunch of missing functions (#334434).
4069
4070 2006-03-14  Wim Taymans  <wim@fluendo.com>
4071
4072         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4073         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4074         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4075         Better debug info when we receive a segment event.
4076         Reorganize a bit so we can pass the get_times() results around.
4077         Use the segment format when calculating the running time.
4078         Don't do QoS is sync is disabled or we have no clock or the
4079         element does not want us to sync to the clock.
4080         Don't drop buffers if QoS is disabled for now.
4081
4082 2006-03-14  Wim Taymans  <wim@fluendo.com>
4083
4084         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4085         Marked the stats property as unimplemented so people don't get
4086         wild ideas.
4087         Add debug message when regression goes wrong.
4088         Added some more docs.
4089
4090 2006-03-14  Wim Taymans  <wim@fluendo.com>
4091
4092         * gst/gstsegment.c: (gst_segment_to_stream_time):
4093         Return correct return type in case of errors.
4094
4095 2006-03-14  Wim Taymans  <wim@fluendo.com>
4096
4097         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4098           Don't segfault on invalid formats.
4099
4100 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4103           Can't use gst_segment_to_running_time() when the segment
4104           is not in GST_TIME_FORMAT (like with filesink, for example).
4105           Stops flac encoding pipelines from spewing critical warnings
4106           at EOS (#331248).
4107           
4108 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4109
4110         * gst/gstpipeline.c: (gst_pipeline_class_init):
4111           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4112
4113         * plugins/elements/gsttypefindelement.c:
4114         (gst_type_find_element_handle_event):
4115           Don't try to typefind empty streams.
4116
4117 2006-03-14  Wim Taymans  <wim@fluendo.com>
4118
4119         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4120         (gst_base_sink_do_qos):
4121         Separate QoS calculation.
4122         Only drop buffers when lateness is bigger than the 
4123         duration of the buffer.
4124
4125 2006-03-13  Wim Taymans  <wim@fluendo.com>
4126
4127         * gst/gstpipeline.c: (gst_pipeline_set_property),
4128         (gst_pipeline_get_property), (do_pipeline_seek),
4129         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4130         (gst_pipeline_get_delay):
4131         Don't deadlock when reading properties.
4132
4133 2006-03-13  Wim Taymans  <wim@fluendo.com>
4134
4135         * libs/gst/base/gstbasetransform.c:
4136         (gst_base_transform_class_init), (gst_base_transform_init),
4137         (gst_base_transform_sink_event),
4138         (gst_base_transform_sink_eventfunc),
4139         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4140         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4141         (gst_base_transform_set_property),
4142         (gst_base_transform_get_property),
4143         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4144         (gst_base_transform_set_qos_enabled),
4145         (gst_base_transform_is_qos_enabled):
4146         * libs/gst/base/gstbasetransform.h:
4147         Make basetransform virtual method for src events too.
4148         Handle QOS in basetransform.
4149         API: gst_base_transform_update_qos()
4150         API: gst_base_transform_set_qos_enabled()
4151         API: gst_base_transform_is_qos_enabled()
4152
4153 2006-03-13  Wim Taymans  <wim@fluendo.com>
4154
4155         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4156         (gst_base_sink_do_sync):
4157         Small cleanups.
4158         Use QOS debug category.
4159
4160 2006-03-13  Wim Taymans  <wim@fluendo.com>
4161
4162         * plugins/elements/gstqueue.c:
4163         Very small doc update.
4164
4165 2006-03-13  Wim Taymans  <wim@fluendo.com>
4166
4167         * gst/gst_private.h:
4168         * gst/gstinfo.c: (_gst_debug_init):
4169         Added QOS debug category
4170
4171 2006-03-13  Wim Taymans  <wim@fluendo.com>
4172
4173         * docs/gst/gstreamer-sections.txt:
4174         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4175         * gst/gstbin.h:
4176         * gst/gstbus.c: (gst_bus_class_init):
4177         * gst/gstbus.h:
4178         * gst/gstclock.c:
4179         * gst/gstelement.c: (gst_element_set_locked_state):
4180         * gst/gstsegment.c:
4181         Documentation updates.
4182
4183         * gst/gstpipeline.c: (gst_pipeline_get_type),
4184         (gst_pipeline_class_init), (gst_pipeline_init),
4185         (gst_pipeline_dispose), (gst_pipeline_set_property),
4186         (gst_pipeline_get_property), (do_pipeline_seek),
4187         (gst_pipeline_send_event), (gst_pipeline_change_state),
4188         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4189         (gst_pipeline_get_delay):
4190         * gst/gstpipeline.h:
4191         Added methods for setting the delay.
4192         API: gst_pipeline_set_delay()
4193         API: gst_pipeline_get_delay()
4194         Add pipeline debug category
4195         Various cleanups.
4196         Updated docs.
4197         Don't reset stream time when seek failed.
4198
4199 2006-03-13  Wim Taymans  <wim@fluendo.com>
4200
4201         * docs/design/draft-klass.txt:
4202         * docs/design/part-clocks.txt:
4203         * docs/design/part-events.txt:
4204         * docs/design/part-gstbin.txt:
4205         * docs/design/part-gstpipeline.txt:
4206         * docs/design/part-messages.txt:
4207         * docs/design/part-negotiation.txt:
4208         * docs/design/part-overview.txt:
4209         * docs/design/part-preroll.txt:
4210         * docs/design/part-seeking.txt:
4211         * docs/design/part-states.txt:
4212         * docs/design/part-streams.txt:
4213         Documentation updates.
4214
4215 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4216
4217         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4218         us to leak strings...
4219
4220 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4221
4222         * libs/gst/net/gstnettimeprovider.c:
4223           fix docs
4224         * win32/common/config.h:
4225           update
4226
4227 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4228
4229         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4230
4231         * configure.ac:
4232           Don't check for libgnomeui (leftover from old examples
4233           that aren't built or disted any longer) (#334303).
4234           
4235 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4236
4237         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4238         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4239           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4240           there's no space left on the device.
4241
4242 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4243
4244         * gst/gstclock.h:
4245           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4246           to cast the input to GstClockTime before comparing with
4247           another GstClockTime value.
4248
4249 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4250
4251         * configure.ac:
4252           back to trunk
4253
4254 === release 0.10.4 ===
4255
4256 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4257
4258         * configure.ac:
4259           releasing 0.10.4, "Light"
4260
4261 2006-03-10  Michael Smith  <msmith@fluendo.com>
4262
4263         * libs/gst/dataprotocol/dataprotocol.c:
4264           Fix docs for dataprocotol to not get the return types completely
4265           wrong for a few functions.
4266
4267 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4268
4269         * docs/gst/gstreamer-sections.txt:
4270         * gst/gstpipeline.c: (gst_pipeline_class_init),
4271         (gst_pipeline_init), (gst_pipeline_set_property),
4272         (gst_pipeline_get_property), (gst_pipeline_change_state),
4273         (gst_pipeline_set_auto_flush_bus),
4274         (gst_pipeline_get_auto_flush_bus):
4275         * gst/gstpipeline.h:
4276           Add new API: gst_pipeline_set_auto_flush_bus() and
4277           gst_pipeline_get_auto_flush_bus() to disable automatic
4278           flushing of the pipeline's GstBus when going from READY
4279           to NULL state (#332045).
4280
4281 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4282
4283         * docs/gst/gstreamer-sections.txt:
4284         * gst/gsturi.c: (gst_uri_has_protocol):
4285         * gst/gsturi.h:
4286            Add new API: gst_uri_has_protocol() (#333779).
4287
4288 2006-03-09  Wim Taymans  <wim@fluendo.com>
4289
4290         * gst/gstclock.c: (gst_clock_entry_new),
4291         (gst_clock_id_compare_func), (gst_clock_id_wait),
4292         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4293         (gst_clock_init), (gst_clock_get_internal_time),
4294         (gst_clock_set_master), (do_linear_regression),
4295         (gst_clock_add_observation), (gst_clock_set_property):
4296         * gst/gstclock.h:
4297         Review docs.
4298         Small cleanups.
4299         Fix a possible segfault when the window-size is made smaller.
4300         Calculate jitter before performing the clock wait. Ideally
4301         the clock implementation should calculate jitter but we need
4302         API breakage for that.
4303
4304         * gst/gstsystemclock.c: (gst_system_clock_init):
4305         Docs review.
4306         
4307         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4308         Remove leftover else
4309
4310         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4311         (gst_systemclock_suite):
4312         Added check to test GST_CLOCK_DIFF.
4313
4314 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4315
4316         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4317         (gst_type_find_helper_get_range):
4318           If we are provided with the size, we should implement
4319           GstTypeFind::get_length, so that typefind functions who
4320           want to can actually peek at the middle of a file.
4321
4322 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4323
4324         * docs/manual/advanced-dataaccess.xml:
4325           Add some very very basic error checking.
4326
4327         * docs/pwg/appendix-checklist.xml:
4328           Some updates to the list of things to check when writing an element.
4329
4330 2006-03-08  Wim Taymans  <wim@fluendo.com>
4331
4332         * docs/design/part-element-transform.txt:
4333         Added some docs about the design of tranform elements.
4334
4335         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4336         (gst_base_src_loop), (gst_base_src_change_state):
4337         Mark buffers with the DISCONT flag.
4338
4339 2006-03-08  Michael Smith  <msmith@fluendo.com>
4340
4341         * gst/gstregistry.h:
4342         * gst/gstregistryxml.c: (gst_registry_save),
4343         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4344         (gst_registry_xml_save_pad_template),
4345         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4346         (gst_registry_xml_write_cache):
4347           Rewrite registry-saving to avoid race conditions and check for
4348           failed writes.
4349
4350 2006-03-08  Wim Taymans  <wim@fluendo.com>
4351
4352         * libs/gst/base/gstbasetransform.c:
4353         (gst_base_transform_transform_caps),
4354         (gst_base_transform_transform_size),
4355         (gst_base_transform_prepare_output_buffer),
4356         (gst_base_transform_get_unit_size),
4357         (gst_base_transform_buffer_alloc),
4358         (gst_base_transform_handle_buffer),
4359         (gst_base_transform_change_state):
4360         Cleanups, separate normal flow from errors, add sensible
4361         DEBUG lines.
4362         Don't try to renegotiate when allocating an output buffer.
4363         Also copy DISCONT buffer flag when copying a buffer.
4364         Reset the transform after we finish streaming, not during.
4365
4366 2006-03-08  Wim Taymans  <wim@fluendo.com>
4367
4368         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4369         Use last buffer timestamp in qos message.
4370
4371 2006-03-07  Wim Taymans  <wim@fluendo.com>
4372
4373         Patch by: Christophe Fergeau
4374
4375         * docs/pwg/advanced-tagging.xml:
4376         * docs/pwg/building-pads.xml:
4377           fixes #333416
4378
4379 2006-03-07  Wim Taymans  <wim@fluendo.com>
4380
4381         * docs/libs/gstreamer-libs-sections.txt:
4382         Added basesink new methods.
4383
4384         * gst/gstevent.c:
4385         * gst/gstevent.h:
4386         Docs updates. Flesh out the QoS docs.
4387
4388         * libs/gst/base/gstadapter.c:
4389         Small doc clarification about ownership and flushing.
4390
4391         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4392         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4393         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4394         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4395         * libs/gst/base/gstbasesink.h:
4396         API additions: 
4397         Added new methods to allow subclass to control max-lateness 
4398         and sync.
4399         Generate very basic QoS events based on last sync observation.
4400         Updated docs, fix typo, added some QoS blurb.
4401
4402         * libs/gst/base/gstbasesrc.c:
4403         Remove obsolete _get_state() calls from docs.
4404
4405 2006-03-07  Wim Taymans  <wim@fluendo.com>
4406
4407         * docs/libs/gstreamer-libs-sections.txt:
4408         * libs/gst/base/gstbasetransform.h:
4409         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4410         Fix docs for GstBaseSrc.
4411
4412 2006-03-07  Wim Taymans  <wim@fluendo.com>
4413
4414         * docs/gst/gstreamer-sections.txt:
4415         * gst/gstbuffer.h:
4416         * gst/gstvalue.c:
4417         * libs/gst/base/gstbasetransform.h:
4418         Small documentation fixes.
4419
4420 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422         * gst/gstvalue.c:
4423           Document thread-unsafety of gst_value_register_foo_func()
4424           when used at the same time as gst_value_foo() (#322628).
4425
4426 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4427
4428         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4429         (gst_push_src_check_get_range):
4430           Push sources don't support pull mode by default.
4431
4432 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4433
4434         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4435         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4436         (gst_base_src_default_check_get_range):
4437         * libs/gst/base/gstbasesrc.h:
4438           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4439           provide default implementation, and rename
4440           gst_base_src_check_get_range() to
4441           gst_base_src_pad_check_get_range() for clarity.
4442
4443 2006-03-06  Wim Taymans  <wim@fluendo.com>
4444
4445         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4446         Make property overridable.
4447
4448 2006-03-06  Wim Taymans  <wim@fluendo.com>
4449
4450         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4451         (gst_base_sink_init), (gst_base_sink_set_property),
4452         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4453         * libs/gst/base/gstbasesink.h:
4454         API addition: Make max-lateness a property.
4455
4456 2006-03-06  Wim Taymans  <wim@fluendo.com>
4457
4458         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4459         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4460         Don't ever draw a frame that is >10ms late.
4461
4462 2006-03-06  Michael Smith  <msmith@fluendo.com>
4463
4464         * gst/gstmessage.c: (_gst_message_copy):
4465           When copying a message, set the parent_refcount of the enclosed
4466           structure to point at the copy, not the original message.
4467
4468 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4469
4470         Patch by: Christophe Fergeau
4471
4472         * gst/gstutils.h:
4473           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4474           usable in c++ code (#333417)
4475
4476 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4477
4478         * gst/gstclock.h:
4479           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4480
4481 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4482
4483         * libs/gst/base/gstbasetransform.c:
4484         (gst_base_transform_transform_caps):
4485           Make sure caps are writable before passing them to
4486           gst_caps_append().
4487
4488 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4489
4490         * gst/gsterror.h:
4491           Fix some minor docs errors.
4492
4493 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4494
4495           Patch by: Ross Burton <ross at burtonini dot com>
4496
4497         * gst/gsterror.c: (_gst_resource_errors_init):
4498         * gst/gsterror.h:
4499           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4500
4501 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4502
4503         * gst/gst.c:
4504         Add a check and output a g_warning when GStreamer is built
4505         against GLib 2.6 but running against 2.8 or higher, and vice 
4506         versa. (Closes: #323542)
4507
4508 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4509
4510         * gst/parse/parse.l:
4511           Commit patch for parse_launch syntax from #331255. Removes 
4512           support for quoted strings and mimetypes when writing filtered 
4513           caps. See the bug report for more details - I'm pretty sure this
4514           obscure feature is not in use by _anyone_ anywhere.
4515
4516           With this simple change, the size of the gstreamer.so here 
4517           drops from 2193KB to 1565KB.
4518
4519 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4520
4521         * plugins/elements/gsttypefindelement.h:
4522         * plugins/elements/gsttypefindelement.c:
4523         (gst_type_find_element_src_event), (start_typefinding),
4524         (stop_typefinding), (gst_type_find_element_handle_event),
4525         (gst_type_find_element_chain),
4526         (gst_type_find_element_chain_do_typefinding):
4527           Use gst_type_find_helper_for_buffer() for chain-based
4528           typefinding.
4529
4530 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4531
4532         * plugins/elements/gsttypefindelement.c:
4533         (gst_type_find_element_class_init),
4534         (gst_type_find_element_set_property),
4535         (gst_type_find_element_get_property):
4536           Deprecate "maximum" property (not only was it only taken into
4537           account for typefinding in push-mode anyway, it also was never
4538           actually possible to set it in the first place because the
4539           property was registered with the numeric property ID for the
4540           "minimum" property). Register "maximum" property correctly,
4541           for the sake of future copy'n'pasters. Remove some cruft
4542           from property get/set functions.
4543
4544 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4545
4546         * plugins/elements/gsttypefindelement.c:
4547         (gst_type_find_element_activate):
4548           Use gst_type_find_helper_get_range() here, so we
4549           can honour the "minimum" property and also emit
4550           the signal with the correct probability of the found caps.
4551
4552 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4553
4554         * docs/libs/gstreamer-libs-sections.txt:
4555         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4556         (helper_find_suggest), (gst_type_find_helper_get_range),
4557         (gst_type_find_helper):
4558         * libs/gst/base/gsttypefindhelper.h:
4559           New API: gst_type_find_helper_get_range() (#333042).
4560
4561 2006-03-02  Michael Smith  <msmith@fluendo.com>
4562
4563         * gst/gstregistryxml.c: (load_feature):
4564           Asserting on a failure to read part of the registry is Not Cool.
4565           Just log a warning and return NULL (which is already handled)
4566
4567 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4568
4569         * win32/common/libgstbase.def:
4570           added export of gst_type_find_helper_for_buffer
4571         * win32/common/libgstbase.def:
4572           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4573           gst_ghost_pad_get_target
4574
4575 2006-02-28  Wim Taymans  <wim@fluendo.com>
4576
4577         * docs/design/draft-klass.txt:
4578         We use Filter now.
4579         Added Connector to mark elements that are only used to
4580         allow pipeline connections.
4581         Moved Debug to extra feature since most of them are 
4582         functionally something else.
4583
4584 2006-02-28  Wim Taymans  <wim@fluendo.com>
4585
4586         * docs/design/draft-klass.txt:
4587         Some updates and clarifications.
4588
4589 2006-02-28  Wim Taymans  <wim@fluendo.com>
4590
4591         * docs/design/draft-klass.txt:
4592         Proposal for klass field values.
4593
4594         * docs/design/part-streams.txt:
4595         Start of a doc describing stream anatomy.
4596
4597 2006-02-28  Wim Taymans  <wim@fluendo.com>
4598
4599         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4600         Help the compiler a bit with type registration.
4601         Use existing forward cod path instead of duplicating it when 
4602         handling a message.
4603         
4604         * gst/gstbus.c: (gst_bus_get_type):
4605         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4606         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4607         * gst/gstclock.c: (gst_clock_get_type):
4608         * gst/gstelement.c: (gst_element_get_type),
4609         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4610         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4611         * gst/gstminiobject.c: (gst_mini_object_get_type):
4612         * gst/gstpad.c: (gst_pad_get_type):
4613         * gst/gstsegment.c: (gst_segment_get_type):
4614         * gst/gststructure.c: (gst_structure_get_type):
4615         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4616         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4617         * gst/gstvalue.c:
4618         Help compiler with type registration.
4619
4620         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4621         Small doc update.
4622
4623 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4624
4625         * plugins/elements/gsttypefindelement.c:
4626         (gst_type_find_element_handle_event):
4627           When we get an EOS event and have not found a type yet
4628           (most likely because we had not yet accumulated
4629           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4630           type given the data we have so far. Fixes typefinding
4631           for very short streams again, most notably quicktime
4632           redirections as used on Apple's trailer site (#331701).
4633
4634 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4637         (gst_type_find_helper):
4638           Try typefinding factories with the highest rank first.
4639
4640 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4641
4642         * docs/libs/gstreamer-libs-docs.sgml:
4643         * docs/libs/gstreamer-libs-sections.txt:
4644         * libs/gst/base/gsttypefindhelper.c:
4645           Add section for typefind helper and add documentation
4646           for the old and the new function.
4647
4648 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4649
4650         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4651         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4652         (gst_type_find_helper_for_buffer):
4653         * libs/gst/base/gsttypefindhelper.h:
4654           New API: gst_type_find_helper_for_buffer() (#332723).
4655           
4656 2006-02-27  Michael Smith  <msmith@fluendo.com>
4657
4658         Patch by: Loïc Minier
4659
4660         * configure.ac:
4661         * docs/Makefile.am:
4662         * docs/slides/Makefile.am:
4663           prevent CVS directories getting disted.
4664
4665 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4666
4667         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4668           Use the REFCOUNTING category for caps refcounting.
4669           
4670 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4671
4672         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4673           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4674
4675 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4676
4677         * plugins/elements/gsttypefindelement.c:
4678         (gst_type_find_element_activate):
4679           Use gst_pad_check_pull_range() before _activate_pull()
4680           to avoid unnecessary open/close (see #331690).
4681
4682 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4683
4684         * gst/gstutils.c:
4685           Docs enhancement: make it crystal clear what the
4686           gst_pad_add_*_probe() callbacks should look like.
4687
4688 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4689
4690         * libs/gst/base/gstbasesrc.c:
4691           Document how applications can stop recording from
4692           live sources (see #330996).
4693
4694 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4695
4696         * tests/check/Makefile.am:
4697         * tests/check/libs/basesrc.c: (eos_event_counter),
4698         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4699         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4700         (gst_basesrc_suite), (main):
4701           ... and add some tests for the base source EOS stuff.
4702
4703 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4704
4705         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4706           Test case originally showed the problem fixed below,
4707           but was then amended. Add checks back at the place
4708           where they used to be.
4709
4710 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4711
4712         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4713         (gst_base_src_init), (gst_base_src_loop),
4714         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4715         (gst_base_src_change_state):
4716         * libs/gst/base/gstbasesrc.h:
4717           Don't unconditionally send EOS when going from PAUSED to
4718           READY state, esp. make sure we don't send two EOS events
4719           in some cases (e.g. one when reaching EOS and one when
4720           going from PAUSED to READY). Also, we don't want to send
4721           EOS events when operating in pull mode. However, we do
4722           want to send an EOS event when shutting down a live
4723           source explicitly, for example (fixes #330996).
4724           
4725 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4726
4727         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4728           Update src->read_position after a seek when not using mmap.
4729           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4730
4731 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4732
4733         * gst/Makefile.am:
4734         * gst/gstparse.h:
4735         * gst/gstutils.c:
4736         * gst/gstutils.h:
4737         Make things work with --disable-parse as they do with 
4738         --disable-load-save - the symbols involved disappear, but the
4739         header is still installed and GST_DISABLE_PARSE is included via
4740         gstconfig.h
4741
4742 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4743
4744         * libs/gst/base/gstbasetransform.c:
4745         (gst_base_transform_change_state): Fix a stupid bug. I was 
4746         sure I compiled that.
4747
4748 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4749
4750         * gst/gstpad.c: (gst_pad_set_blocked_async):
4751         * gst/gstutils.c: (gst_pad_add_data_probe),
4752         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4753         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4754         (gst_pad_remove_buffer_probe): Make those function act on the
4755         ghostpad target when it's a ghostpad. (Closes #331727)
4756
4757 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4758
4759         * libs/gst/base/gstbasetransform.c:
4760         (gst_base_transform_change_state): Make basetransform reusable.
4761         (Closes #331898)
4762
4763 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
4764
4765         * docs/random/release:
4766         Move the current documentation of how to do a release to the top
4767         of the file.
4768
4769         * gst/gstbin.c: (gst_bin_class_init),
4770         (gst_bin_handle_message_func):
4771         Allow multiple state-recalculation threads. (Closes #328873)
4772
4773 2006-02-19  Julien MOUTTE  <julien@moutte.net>
4774
4775         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4776         * gst/gstpad.c: (gst_pad_set_event_function),
4777         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4778         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4779         2 strings. You can't use the STR_NULL macro on that.
4780
4781 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
4782
4783         * gst/gstpad.c: (gst_pad_set_event_function),
4784         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4785         (gst_pad_set_getcaps_function)
4786         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4787           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4788           So now, we can use --gst-debug-level=5 on Windows
4789         * win32/common/libgstcontroller.def:
4790           Added export of gst_controller_init
4791         * win32/vs6/libgstcontroller.dsp:
4792           Fixed Release post build configuration
4793
4794 2006-02-17  Wim Taymans  <wim@fluendo.com>
4795
4796         * tests/check/gst/gstquery.c: (GST_START_TEST):
4797         Added another check.
4798
4799 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
4800
4801         * plugins/elements/gsttypefindelement.c: (find_peek):
4802           We can do peeks at non-zero offsets, as long as they
4803           fall within the buffer we have.
4804
4805 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
4806
4807         * tests/check/Makefile.am:
4808         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4809         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4810         (parse_suite), (main):
4811           Add testsuite for parse launch syntax
4812
4813 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
4814
4815         * plugins/elements/gsttypefindelement.c:
4816         (gst_type_find_element_chain):
4817           When typefinding is unsuccessful in the chain function, don't
4818           error out immediately. Only error out with NO_CAPS_FOUND if
4819           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4820           otherwise simply wait for more data so we can try typefinding
4821           again with more data later. Also, don't attempt to typefind
4822           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4823           this should improve typefinding from network sources where the
4824           size of the first buffer can be somewhat random.
4825
4826 2006-02-14  Wim Taymans  <wim@fluendo.com>
4827
4828         * docs/gst/gstreamer-sections.txt:
4829         * gst/gstpadtemplate.c:
4830         * gst/gstpadtemplate.h:
4831         Fix padtemplate docs, fixes #328805.
4832
4833 2006-02-14  Wim Taymans  <wim@fluendo.com>
4834
4835         * tools/gst-launch.c: (main):
4836         NO_PREROLL is not an ERROR so don't send confusing messages
4837         to the user.
4838
4839 2006-02-14  Wim Taymans  <wim@fluendo.com>
4840
4841         Patch by: Torsten Schoenfeld
4842
4843         * gst/gstregistry.c: (gst_registry_get_default),
4844         (_gst_registry_cleanup):
4845         Protect default registry with lock and ref/sink it.
4846         Fixes #324818
4847
4848 2006-02-14  Wim Taymans  <wim@fluendo.com>
4849
4850         * gst/gstbuffer.c:
4851         * gst/gstquery.c: (gst_query_list_add_format),
4852         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4853         (gst_query_parse_formats_nth):
4854         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4855         Docs fixes.
4856
4857 2006-02-14  Wim Taymans  <wim@fluendo.com>
4858
4859         * docs/gst/gstreamer-sections.txt:
4860         Reworked query docs.
4861
4862         * gst/gstquery.c: (gst_query_new_formats),
4863         (gst_query_list_add_format), (gst_query_set_formats),
4864         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4865         (gst_query_parse_formats_nth):
4866         * gst/gstquery.h:
4867         Flesh out formats query, added some new methods.
4868         Fix part of #324398.
4869
4870         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4871         Added query creation tests.
4872
4873 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
4874
4875         * gst/gstpad.c: (fixate_value):
4876         Add a default fixation for fraction lists.
4877
4878 2006-02-13  Wim Taymans  <wim@fluendo.com>
4879
4880         * gst/gsttask.c: (gst_task_init), (gst_task_func),
4881         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4882         (gst_task_join):
4883         * gst/gsttask.h:
4884         Detect and warn for obvious deadlocks. fixes #320340
4885         Fix error case where lock was not released.
4886
4887         * tests/check/Makefile.am:
4888         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4889         (task_func), (gst_element_suite), (main):
4890         Add task check.
4891
4892 2006-02-13  Wim Taymans  <wim@fluendo.com>
4893
4894         * docs/gst/gstreamer-sections.txt:
4895         * gst/gstbus.c:
4896         Add new functions to docs.
4897
4898 2006-02-13  Wim Taymans  <wim@fluendo.com>
4899
4900         * docs/design/part-TODO.txt:
4901         Updated TODO list, basesrc supports seeking to non-bytes
4902         formats.
4903
4904         * docs/design/part-element-sink.txt:
4905         Update docs.
4906
4907         * gst/gstbin.c: (bin_replace_message),
4908         (gst_bin_handle_message_func):
4909         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4910         * gst/gstevent.c: (gst_event_finalize):
4911         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4912         (gst_pad_send_event):
4913         Use shiny new _TYPE_NAME macros.
4914
4915         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4916         Move debug statement up.
4917
4918         * gst/gstelement.c: (gst_element_set_locked_state):
4919         Add some debugging.
4920
4921 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
4922
4923         * docs/gst/gstreamer-sections.txt:
4924         * gst/gstmessage.h:
4925         * gst/gstquery.h:
4926           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4927           macros (#330906). Also, document the already existing
4928           GST_QUERY_TYPE macro.
4929
4930 2006-02-13  Wim Taymans  <wim@fluendo.com>
4931
4932         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4933         (event_probe), (GST_START_TEST):
4934         Only events up to the pipeline EOS are counted, there are
4935         some more when going to NULL currently which we don't care
4936         about for now.
4937
4938 2006-02-13  Wim Taymans  <wim@fluendo.com>
4939
4940         * gst/gstpad.c: (gst_pad_send_event):
4941         Correctly check flushing and emit probes. fixes #330125
4942
4943 2006-02-10  Andy Wingo  <wingo@pobox.com>
4944
4945         * gst/gstbus.c (gst_bus_class_init): Declare our private data
4946         structure.
4947         (gst_bus_init): Cache the location of the private data in the
4948         instance structure.
4949         (gst_bus_enable_sync_message_emission) 
4950         (gst_bus_disable_sync_message_emission): Implement new public
4951         functions.
4952         (gst_bus_post): Emit the sync-message signal if the user asked for
4953         it. Fixes #330684.
4954
4955         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4956         location of the bus-private structure.
4957         (gst_bus_enable_sync_message_emission)
4958         (gst_bus_disable_sync_message_emission): API addition
4959
4960 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
4961
4962         Patch by: Vincent Torri
4963
4964         * docs/pwg/building-boiler.xml:
4965         PWG patch from #326800
4966
4967 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4968
4969         * configure.ac:
4970         * docs/Makefile.am:
4971         * docs/design/Makefile.am:
4972           Dist design docs.
4973
4974 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4975
4976         * configure.ac:
4977           back to CVS
4978
4979 === release 0.10.3 ===
4980
4981 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
4982
4983         * configure.ac:
4984           releasing 0.10.3, "Like a virgin"
4985
4986 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4987
4988         * configure.ac:
4989           2nd prerelease of 0.10.3
4990           Bump libtool versioning.
4991
4992 2006-02-07  Andy Wingo  <wingo@pobox.com>
4993
4994         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4995         update last_stop if we're in TIME format and the timestamp is
4996         valid.
4997
4998         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
4999         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5000         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5001         If we get a new newsegment with a different format, adapt
5002         accordingly.
5003
5004         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5005         of 0. Not a problem, really.
5006
5007         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5008         warn if sync=true.
5009
5010 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5011
5012         * configure.ac:
5013           Prelease of 0.10.3
5014
5015 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5016
5017         * win32/vs7:
5018           project files updated to the default vs7 configuration
5019         * win32/common/libgstbase.def:
5020         * win32/common/libgstreamer.def:
5021           added new symbols,
5022           removed empty lines,
5023           sorted all exported symbols alphabetically
5024         * win32/common/dirent.c:
5025         * win32/common/dirent.h:
5026         * win32/common/gchar.h:
5027           use windows line end.
5028           
5029 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5030
5031         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5032           Send EOS event when stopping.
5033
5034 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5035
5036         * docs/README:
5037           Tell folks what to do if the plugin-foobar.xml file
5038           hasn't been generated for a newly-added plugin.
5039
5040 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5041
5042         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5043         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5044         (gst_collect_pads_start), (gst_collect_pads_stop),
5045         (gst_collect_pads_event): Collectpads now holds a reference
5046         to the GstPad that was added. Indeed we don't want to look
5047         at pads that might just go away with no warning...
5048
5049 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5050
5051         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5052         (gst_collect_pads_start), (gst_collect_pads_stop),
5053         (gst_collect_pads_event), (gst_collect_pads_chain):
5054         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5055         Mark Nauwelaerts's patch on bug #328491.
5056
5057 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5058
5059         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5060         (gst_utils_suite):
5061           Add some simple tests for gst_parse_bin_from_description() and
5062           gst_bin_find_unconnected_pad() (#329069).
5063
5064 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * tools/gst-launch.c: (event_loop), (main):
5067           Catch errors during preroll (#320084).
5068
5069 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * plugins/elements/gsttypefindelement.c:
5072         (gst_type_find_element_activate):
5073           Post TYPE_NOT_FOUND error message when typefinding
5074           is unsuccessful in the activate function as well.
5075
5076 2006-02-02  Wim Taymans  <wim@fluendo.com>
5077
5078         * docs/design/part-element-sink.txt:
5079         Updated doc.
5080
5081 2006-02-02  Wim Taymans  <wim@fluendo.com>
5082
5083         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5084         (gst_base_sink_render_object),
5085         (gst_base_sink_queue_object_unlocked):
5086         Only keep track of prerollable items when we are 
5087         prerolling.
5088         Before rendering after preroll, always check if we
5089         have queued items.
5090         Added some more debugging.
5091
5092 2006-02-02  Wim Taymans  <wim@fluendo.com>
5093
5094         * gst/gstelement.c: (gst_element_continue_state),
5095         (gst_element_set_state_func), (gst_element_change_state):
5096         Fixed #326576, been running this for quite some time with
5097         no regressions at all.
5098
5099 2006-02-02  Wim Taymans  <wim@fluendo.com>
5100
5101         * common/gst.supp:
5102         Added more suppressions
5103
5104 2006-02-02  Wim Taymans  <wim@fluendo.com>
5105
5106         * docs/design/part-element-sink.txt:
5107         Updated document.
5108
5109         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5110         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5111         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5112         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5113         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5114         (gst_base_sink_preroll_object),
5115         (gst_base_sink_queue_object_unlocked),
5116         (gst_base_sink_queue_object), (gst_base_sink_event),
5117         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5118         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5119         (gst_base_sink_get_position), (gst_base_sink_change_state):
5120         * libs/gst/base/gstbasesink.h:
5121         Totally refactored matching the design doc.
5122         Use two segments, one to clip incomming buffers and another to
5123         perform sync.
5124         Handle queueing correctly, bypass the queue when playing.
5125         Make EOS cancelable.
5126         Handle errors correctly when operating in pull based mode.
5127
5128         * tests/check/elements/fakesink.c: (GST_START_TEST),
5129         (fakesink_suite):
5130         Added new check for sinks.
5131
5132 2006-02-02  Wim Taymans  <wim@fluendo.com>
5133
5134         * gst/gstsegment.c: (gst_segment_clip):
5135         No reason to refuse to clip when start == -1
5136
5137 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5138
5139         * docs/README:
5140         * docs/manual/intro-basics.xml:
5141         * docs/manual/intro-preface.xml:
5142         * docs/manual/manual.xml:
5143         * docs/pwg/advanced-dparams.xml:
5144         * docs/pwg/intro-basics.xml:
5145         * docs/pwg/intro-preface.xml:
5146         * docs/pwg/pwg.xml:
5147           describe dparams (controller) for plugins
5148           unify docs a little more
5149
5150 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5151
5152         * docs/gst/gstreamer-sections.txt:
5153         * gst/gstutils.c: (element_find_unconnected_pad),
5154         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5155         * gst/gstutils.h:
5156           Add new API: gst_parse_bin_from_description() and
5157           gst_bin_find_unconnected_pad() (#329069).
5158
5159 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5160
5161         * docs/manual/README:
5162           uncover a nasty detail of the docs build
5163
5164 2006-01-31  Wim Taymans  <wim@fluendo.com>
5165
5166         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5167         Don't cache duration messages if we're not going to use or
5168         free them.
5169
5170 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5171
5172         * docs/manual/advanced-dparams.xml:
5173         * docs/pwg/advanced-dparams.xml:
5174           more dparam docs
5175         * gst/gstindex.c:
5176           fix docs
5177         * libs/gst/controller/lib.c: (gst_controller_init):
5178           init just once
5179
5180 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5181
5182         * gst/gstelement.c: (gst_element_message_full):
5183           also show file/line/func if no additional debug was given
5184
5185 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5186         
5187         * win32/vs7/grammar.vcproj:
5188           activate copy of autogenerated files for Release mode
5189
5190 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5191         
5192         * win32/common/libgstreamer.def:
5193           export gst_value_compare
5194
5195 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5196
5197         * plugins/elements/Makefile.am:
5198         * plugins/elements/gstelements.c:
5199         * plugins/elements/gstfdsink.c: (_do_init),
5200         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5201         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5202         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5203         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5204         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5205         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5206         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5207         * plugins/elements/gstfdsink.h:
5208         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5209
5210 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5211
5212         * docs/manual/advanced-dparams.xml:
5213           describe controller
5214         * docs/manual/advanced-position.xml:
5215         * docs/manual/basics-init.xml:
5216         * docs/manual/manual.xml:
5217         * docs/manual/titlepage.xml:
5218         * docs/pwg/pwg.xml:
5219         * docs/pwg/titlepage.xml:
5220           cleanup xml (more to come)
5221         * libs/gst/controller/gstcontroller.c:
5222           fix typo
5223
5224 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5225         
5226         * win32/vs6/grammar.dsp:
5227           add autogen of gstmarshal.c,h for Release mode
5228                 
5229 2006-01-30  Wim Taymans  <wim@fluendo.com>
5230
5231         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5232         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5233         (gst_base_sink_handle_object), (gst_base_sink_event),
5234         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5235         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5236         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5237         (gst_base_sink_deactivate), (gst_base_sink_activate),
5238         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5239         (gst_base_sink_query), (gst_base_sink_change_state):
5240         Basesink cleanups, remove some old code.
5241         Handle the case where a subclass can preroll in the render
5242         method (mostly audiosinks).
5243         Handle more events.
5244         Remove some locks around variables that are now protected
5245         with the PREROLL_LOCK (clock_id, flushing, ..).
5246         Optimize position query some more, do correct locking.
5247         Remove old code to push queue in state change, this is not
5248         needed anymore since preroll blocks on all prerollable items 
5249         now.
5250         Almost implemented as described in design doc.
5251
5252 2006-01-30  Wim Taymans  <wim@fluendo.com>
5253
5254         * tests/check/gst/gstbin.c: (GST_START_TEST):
5255         Wait for refcount to settle down before checking.
5256
5257 2006-01-30  Wim Taymans  <wim@fluendo.com>
5258
5259         * docs/design/part-element-sink.txt:
5260         Pseudo code overview of desired sink behaviour regarding
5261         preroll.
5262
5263 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5264         * win32/vs6/grammar.dsp:
5265           fix some bugs in Release mode for autogenerated files
5266                 
5267 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5268         * win32/common/libgstbase.def:
5269         * win32/common/libgstreamer.def:
5270           export some new symbols: gst_base_src_set_format,
5271           gst_iterator_next, gst_structure_set_valist
5272
5273 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5274
5275         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5276         Set pad functions unconditionally. Fixes #329105.
5277
5278 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5279         * win32/vs8:
5280           add vs8 project files created by Sergey Scobich
5281
5282 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5283
5284         * gst/gstutils.c: (gst_element_unlink_pads):
5285         Don't leak pad references.
5286
5287         * tests/check/elements/fakesink.c: (GST_START_TEST):
5288         * tests/check/generic/sinks.c: (GST_START_TEST):
5289         * tests/check/generic/states.c: (GST_START_TEST):
5290         * tests/check/gst/gstbin.c: (GST_START_TEST):
5291         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5292         * tests/check/gst/gstelement.c: (GST_START_TEST):
5293         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5294         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5295         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5296         Fix a bunch of leaks. Make generic/sinks.c
5297         use a bit less cpu by slowing the buffer rate
5298         between fakesrc and fakesink.
5299         
5300 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5301         * gst/gstcaps.c:
5302         * gst/gstelement.c: (gst_element_send_event):
5303         * gst/gstevent.c:
5304         * gst/gstinfo.c:
5305         * gst/gstiterator.c:
5306         * gst/gstiterator.h:
5307         * gst/gstpad.c: (gst_pad_send_event):
5308         * gst/gststructure.c:
5309         * gst/gsturi.c:
5310         * gst/gstutils.c:
5311         * gst/gstvalue.c:
5312         * libs/gst/base/gstadapter.c:
5313           doc fixes, to link to function, just write gst_cool_function(), don't
5314           prefix with '#'
5315
5316 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5317
5318         * plugins/elements/gsttee.c: (gst_tee_do_push),
5319         (gst_tee_handle_buffer):
5320         Always prefer an actual return value from a src
5321         pad in place of NOT_LINKED. This means we return
5322         WRONG_STATE when all src pads are WRONG_STATE
5323         instead of NOT_LINKED.
5324
5325         Lock when replacing the last message to prevent
5326         racing with the get_property method.
5327
5328         Add debug output
5329
5330 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5331
5332         * tests/check/Makefile.am:
5333         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5334         (main):
5335         Add a very simple check that should have caught the memleak I fixed
5336         last night (if not for the slice allocator hiding it)
5337
5338 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5339
5340         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5341         (gst_bin_remove_func), (gst_bin_handle_message_func),
5342         (bin_query_duration_fold), (bin_query_generic_fold):
5343         Clean up references to the clock provider when disposed or when
5344         handling a clock-lost message from it.
5345
5346         Unref sinks when performing a query via gst_iterator_fold, as the
5347         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5348
5349         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5350         (gst_clock_set_master):
5351         Drop our reference to the master clock, if any, when we are disposed.
5352
5353         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5354         Chain up in dispose. 
5355
5356 2006-01-26  Wim Taymans  <wim@fluendo.com>
5357
5358         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5359         Add some debugging.
5360
5361 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5362
5363         * plugins/elements/gsttee.c: (gst_tee_do_push),
5364         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5365         handles pad being NOT_LINKED or in WRONG_STATE.
5366
5367 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5368
5369         * win32/MANIFEST:
5370           more updating
5371
5372 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5373
5374         * win32/MANIFEST:
5375           remove obsolete entry
5376
5377 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5378
5379         * docs/gst/gstreamer-sections.txt:
5380         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5381         (gst_bin_iterate_sources), (gst_bin_send_event):
5382         * gst/gstbin.h:
5383         * gst/gstelement.c: (gst_element_send_event):
5384         * gst/gstevent.c:
5385         * gst/gstpad.c: (gst_pad_send_event):
5386           added code for downstream events, reviewed docs in gstevent.c
5387
5388 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5389
5390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5391         We only query position using the clock in the playing state.
5392         Query peer in the other cases.
5393         * win32/common/config.h: Updates.
5394
5395 2006-01-24  Wim Taymans  <wim@fluendo.com>
5396
5397         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5398         A clock entry that is scheduled for the exact time of the
5399         clock is still in time.
5400
5401         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5402         (gst_base_sink_do_sync):
5403         Add some more debug info.
5404
5405 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5406
5407         * win32/vs7:
5408           Add new vs7 project files and solution.
5409
5410 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5411
5412         * win32/vs7:
5413           all files removed as they were out-dated.
5414
5415 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5416
5417         * docs/random/release:
5418           update notes
5419         * gst/gstbin.c: (gst_bin_init):
5420         * gst/gstbus.c: (gst_bus_new):
5421         * gst/gstbus.h:
5422         * gst/gstpipeline.c: (gst_pipeline_init):
5423           use gst_bus_new(), improve logging, fix docs
5424         * win32/common/config.h:
5425           update for cvs build
5426
5427 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5428
5429         * autogen.sh:
5430           up required version of automake to 1.7
5431
5432 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5433
5434         * win32/common/libgstreamer.def:
5435           export gst_buffer_is_metadata_writable
5436
5437 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5438
5439         * docs/gst/gstreamer-sections.txt:
5440         * gst/gstevent.h:
5441           Add gst_event_replace() (#327001)
5442
5443 2006-01-20  Wim Taymans  <wim@fluendo.com>
5444
5445         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5446         Make it actually compile too..
5447
5448 2006-01-20  Wim Taymans  <wim@fluendo.com>
5449
5450         * gst/gstcaps.c:
5451         Clarify behaviour of _is_equal() when passing NULL parameters.
5452
5453         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5454         (gst_pad_set_caps):
5455         Cleanups. Don't unref NULL caps.
5456         When setting the same caps, protect caps of the pad with
5457         proper lock.
5458         Use full functionality of _is_equal() when comparing caps.
5459
5460 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5461
5462         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5463         Don't loop infinitely if there are no buffers to present. Partially
5464         fixes #327197, but collectpads is just broken for reusing elements
5465         to do multiple encodes atm.
5466
5467 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5468
5469         * tools/gst-inspect.c: (print_element_features):
5470         * tools/gst-xmlinspect.c: (main):
5471         URL_HANDLER is not a plugin feature we can search for in
5472         the registry.
5473
5474 2006-01-19  Edward Hervey  <edward@fluendo.com>
5475
5476         * gst/gstelement.c: (gst_element_pads_activate): 
5477         When activating, do src pads first, then sink pads.
5478         When de-activating, do sink pads first, then src pads.
5479
5480 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5481
5482         * docs/gst/gstreamer-sections.txt:
5483         Add gst_index_add_associationv to the docs
5484
5485 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5486
5487         * gst/gstevent.c:
5488           Fix docs typo
5489
5490         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5491         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5492           Do some refactoring. Doesn't actually change functionality,
5493           but makes landing the DRAIN event easier later.
5494
5495 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5496
5497         * docs/pwg/advanced-scheduling.xml:
5498           Update from 0.9.x to 0.10 API and make example a bit
5499           clearer.
5500
5501 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5502
5503         * docs/gst/gstreamer-sections.txt:
5504         Add gst_buffer_(is|make)_metadata_writable methods.
5505
5506 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5507
5508         * docs/design/part-sparsestreams.txt:
5509         Update sparse streams doc, hopefully for greater clarity
5510
5511 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5512
5513         * docs/design/part-events.txt:
5514         Remove mention of FILLER events.
5515         Add DRAIN event.
5516
5517         * docs/design/part-sparsestreams.txt:
5518         Write some things about using NEWSEGMENT to keep sparse streams
5519         flowing.
5520
5521 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5522
5523         * gst/gstbin.c: (gst_bin_dispose):
5524           Guard gst_object_unref call against a NULL object (dispose
5525           can theoretically be called multiple times).
5526           
5527 2006-01-18  Wim Taymans  <wim@fluendo.com>
5528
5529         * gst/gstbin.c: (gst_bin_element_set_state):
5530         * gst/gstclock.c: (gst_clock_id_wait):
5531         Added some more debug info.
5532
5533         * libs/gst/base/gstadapter.c:
5534         Added more docs.
5535
5536         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5537         (gst_base_sink_do_sync), (gst_base_sink_chain):
5538         Added some comments.
5539
5540 2006-01-18  Wim Taymans  <wim@fluendo.com>
5541
5542         * tests/check/Makefile.am:
5543         * tests/check/elements/fakesink.c: (chain_async_buffer),
5544         (chain_async), (chain_async_return), (GST_START_TEST),
5545         (fakesink_suite), (main):
5546         Added fakesink test that checks prerolling and clipping
5547         behaviour.
5548
5549         * tests/check/gst/gstutils.c: (GST_START_TEST):
5550         Make check run faster so that buildbots don't timeout.
5551
5552 2006-01-18  Wim Taymans  <wim@fluendo.com>
5553
5554         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5555         (gst_base_sink_do_sync):
5556         Some cleanups.
5557         When the sink finishes blocking on the preroll buffer, it can
5558         immediatly render it instead of rendering when the next buffer
5559         arrives.
5560
5561 2006-01-18  Wim Taymans  <wim@fluendo.com>
5562
5563         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5564         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5565         (gst_base_sink_chain):
5566         Small cleanups.
5567         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5568         Don't store _last_stop if the buffer is dropped.
5569
5570 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         * plugins/elements/gsttypefindelement.c:
5573         (gst_type_find_element_class_init):
5574           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5575           object method handler that sets the caps on the pad and we want
5576           that to happen before we emit the signal (fixes e.g. feeding a
5577           plain text file to decodebin).
5578
5579 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5580
5581         * gst/gstplugin.c: Add MPL and Proprietary as license options
5582
5583 2006-01-18  Andy Wingo  <wingo@pobox.com>
5584
5585         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5586         symbol was exported before, it appears this was just an oversight.
5587         Fixes #168703.
5588         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5589
5590         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5591         prototype to gint. OK since this prototype was not in the header.
5592
5593 2006-01-17  Andy Wingo  <wingo@pobox.com>
5594
5595         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5596         registry while we remove plugins.
5597
5598         * tools/gst-inspect.c (print_element_info): Don't unref the
5599         factory arg, that should be the responsibility of whatever code
5600         received the ref. Fixes a double-free when called from
5601         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5602         (main): Unref the factory if we have one.
5603         (print_element_list): No change -- relies on the
5604         plugin_feature_list_free to free the list of features.
5605
5606 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5607
5608         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5609         (gst_buffer_make_metadata_writable):
5610         * gst/gstbuffer.h:
5611         * libs/gst/base/gstbasetransform.c:
5612         (gst_base_transform_prepare_output_buf):
5613         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5614         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5615           Replace gst_buffer_(make|is)_metadata_writable patch now
5616           that the release is out.
5617
5618 2006-01-17  Andy Wingo  <wingo@pobox.com>
5619
5620         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5621         in the present tense without reference to versions.
5622
5623         * gst/gstregistry.c (gst_registry_add_plugin)
5624         (gst_registry_remove_plugin, gst_registry_remove_feature)
5625         (gst_registry_find_feature, gst_registry_get_feature_list)
5626         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5627         (gst_registry_lookup, gst_registry_scan_path)
5628         (_gst_registry_remove_cache_plugins)
5629         (gst_registry_get_feature_list_by_plugin): Add argument
5630         validation.
5631
5632 === release 0.10.2 ===
5633
5634 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5635
5636         * configure.ac:
5637           releasing 0.10.2, "If man is five"
5638
5639 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5640
5641         * gst/gstbuffer.c:
5642         * gst/gstbuffer.h:
5643         * libs/gst/base/gstbasetransform.c:
5644         (gst_base_transform_prepare_output_buf):
5645         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5646         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5647           Back out patch until after the release.
5648
5649 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5650
5651         * gst/gstminiobject.c:
5652           Spelling fix in docs.
5653         * ChangeLog - remove conflict indicator
5654
5655 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5656
5657         Reviewed By: Andy Wingo
5658
5659         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5660         (gst_buffer_make_metadata_writable):
5661         * gst/gstbuffer.h:
5662           Add gst_buffer_(is|make)_metadata_writable as analogues of
5663           gst_buffer_(is|make)_writable.
5664
5665         * libs/gst/base/gstbasetransform.c:
5666         (gst_base_transform_prepare_output_buf):
5667         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5668           Use name gst_buffer_(is|make)_metadata_writable functions.
5669
5670         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5671           Test gst_buffer_(is|make)_metadata_writable
5672         
5673           (Closes: #324162)
5674
5675 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5676
5677         * docs/manual/Makefile.am:
5678           don't do parallel make
5679         * configure.ac:
5680           AC_SUBST HOST_CPU
5681         * win32/common/config.h.in:
5682           add generations for HOST_CPU and GST_MAJORMINOR
5683         * win32/common/config.h:
5684           commit generated result
5685
5686 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5687
5688         * docs/manual/appendix-integration.xml:
5689           Update GNOME integration section to use gst_init_get_option_group()
5690           instead of the old popt stuff (#322911). Also, GNOME applications
5691           should  now use gconf*sink and gconf*src instead of the old gconf
5692           helper lib we had.
5693
5694 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5695
5696
5697         * docs/gst/gstreamer-docs.sgml:
5698         * docs/gst/gstreamer-sections.txt:
5699         * docs/libs/gstreamer-libs-sections.txt:
5700           add new API entries to the docs
5701         * libs/gst/controller/Makefile.am:
5702         * libs/gst/controller/gstcontroller.c:
5703         * libs/gst/controller/gstcontroller.h:
5704         * libs/gst/controller/gstcontrollerprivate.h:
5705         * libs/gst/controller/gsthelper.c:
5706         * libs/gst/controller/gstinterpolation.c:
5707           move private structs to private header
5708         * po/README:
5709           gstreamer-0.7 -> gstreamer-0.10
5710         * tests/check/libs/struct_i386.h:
5711           remove private structs
5712
5713 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5714
5715         * plugins/indexers/Makefile.am:
5716           Fixes as part of #317048
5717
5718 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5719
5720         * plugins/indexers/Makefile.am:
5721           fix #316086 - compilation when mmap is missing
5722
5723 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5724
5725         * libs/gst/base/gstbasesink.c:
5726           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5727           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5728         * win32/common/config.h:
5729           added some defines GST_MAJORMINOR and HOST_CPU
5730         * win32/common/libgstbase.def:
5731         * win32/common/libgstreamer.def:
5732           added some exported functions.
5733
5734 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5735
5736         * libs/gst/controller/gstcontroller.c:
5737         (gst_controlled_property_set_interpolation_mode),
5738         (gst_controlled_property_new):
5739         * libs/gst/controller/gstcontroller.h:
5740         * libs/gst/controller/gstinterpolation.c:
5741         (interpolate_none_get_string_value_array):
5742           make G_TYPE_STRING controlable
5743
5744 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * tools/README:
5747         * tools/gst-feedback.1.in:
5748         * tools/gst-inspect.1.in:
5749         * tools/gst-launch.1.in:
5750         * tools/gst-md5sum.1.in:
5751         * tools/gst-typefind.1.in:
5752         * tools/gst-xmlinspect.1.in:
5753         * tools/gst-xmllaunch.1.in:
5754           cleanup man-pages, remove reference to gst-register, document env-vars
5755
5756 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
5757
5758         * gst/gstbuffer.c: (gst_buffer_span):
5759           gst_buffer_span should copy the timestamp of the first buffer
5760           if they were both originally overlapping subbuffers of the 
5761           same parent, using the same logic as the 'slow copy' case.
5762
5763 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
5764
5765         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5766           Need to awaken ALL the pads when we pop a buffer, otherwise
5767           collectpads only works when there is 2 input streams.
5768
5769 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
5770
5771         * docs/random/ensonic/media-device-daemon.txt:
5772           more ideas (dbus)
5773         * gst/gstbuffer.c:
5774           fix doc example, add clarification
5775         * tools/gst-launch.1.in:
5776           add initial info about GST_PLUGIN_PATH, needs more work
5777
5778 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5779
5780         * docs/manual/basics-bins.xml:
5781         * docs/manual/basics-elements.xml:
5782         * docs/manual/intro-basics.xml:
5783           Some more minor docs additions and updates.
5784
5785 2006-01-11  Wim Taymans  <wim@fluendo.com>
5786
5787         * docs/manual/basics-bins.xml:
5788         * docs/manual/basics-elements.xml:
5789         Some small fixes as pointed out by Ser-ver on IRC.
5790
5791 2006-01-10  Edward Hervey  <edward@fluendo.com>
5792
5793         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5794         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5795         the single-segment mode.
5796
5797 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
5798
5799         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5800
5801         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5802         (gst_base_src_perform_seek), (gst_base_src_send_event),
5803         (gst_base_src_set_property), (gst_base_src_get_property),
5804         (gst_base_src_loop), (gst_base_src_start),
5805         (gst_base_src_activate_push):
5806         * libs/gst/base/gstbasesrc.h:
5807           Name (private) union; makes Sun's Forte compiler happy (#324900).
5808
5809 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5810
5811         * README:
5812           gst-register is gone.
5813
5814 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5815
5816         * gst/gstvalue.c: (_gst_value_initialize):
5817           make the G_TYPE_DATE instantiation work if debug is disabled
5818
5819 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
5820
5821         * gst/gstmessage.c: (gst_message_parse_tag),
5822         (gst_message_parse_error), (gst_message_parse_warning):
5823           Don't crash when return location for error/warning debug
5824           string is NULL; add fact that return locations can be
5825           NULL to docs where appropriate.
5826
5827 2006-01-05  Wim Taymans  <wim@fluendo.com>
5828
5829         * gst/gstplugin.c: (gst_plugin_load_file):
5830         Replace strdup by g_strdup.
5831
5832 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5833
5834         * docs/pwg/advanced-types.xml:
5835           fix doc borkage
5836
5837 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5838
5839         submitted by: Abel Cheung
5840
5841         * po/LINGUAS:
5842         * po/zh_TW.po:
5843           Added Chinese (traditional) translation
5844
5845 2006-01-04  Wim Taymans  <wim@fluendo.com>
5846
5847         * docs/manual/basics-pads.xml:
5848         * docs/plugins/Makefile.am:
5849         * docs/plugins/gstreamer-plugins-docs.sgml:
5850         * docs/plugins/gstreamer-plugins-sections.txt:
5851         * docs/pwg/advanced-clock.xml:
5852         * docs/pwg/advanced-scheduling.xml:
5853         * docs/pwg/advanced-types.xml:
5854         * plugins/elements/gstfdsink.c:
5855         * plugins/elements/gstfdsrc.c:
5856         * plugins/elements/gstfdsrc.h:
5857         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5858         * plugins/elements/gstidentity.h:
5859         * plugins/elements/gstqueue.h:
5860         * plugins/elements/gsttee.c:
5861         * plugins/elements/gsttee.h:
5862         * plugins/elements/gsttypefindelement.c:
5863         (gst_type_find_element_class_init):
5864         * plugins/elements/gsttypefindelement.h:
5865         Small updates to various docs.
5866         Added core plugins to docs.
5867
5868 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5869
5870         * common/gst.supp:
5871           add a suppression for liboil's uninitialized variable
5872
5873 2006-01-02  James Livingston  <jrl at ids dot org dot au>
5874
5875         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5876
5877         * gst/gstutils.h:
5878           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5879           macro, so that gcc doesn't complain if the -Wmissing-prototypes
5880           compiler switch is being used (#325429).
5881
5882 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
5883
5884         * gst/gstbin.c: (gst_bin_query):
5885           Disable duration query caching in bins until it gets
5886           fixed (see #324807).
5887
5888 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5889
5890         * tools/gst-inspect.c: (print_element_properties_info):
5891           Handle properties of POINTER and BOXED type.
5892
5893 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5894
5895         * gst/gst.c: (init_post):
5896           Init tags stuff and some other things before loading
5897           any static plugins (there may be other static plugins
5898           than just the GStreamer ones, and they may want to
5899           register their own tags or formats or whatever, and
5900           preferably without segfaulting).
5901
5902         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5903           Print at least a warning in the debug logs if we drop a
5904           query just because we don't know how to adjust the value
5905           in the particular format.
5906
5907 2005-12-24  David Schleef  <ds@schleef.org>
5908
5909         * tools/gstreamer-completion:
5910           Replacement for gst-complete written in sh and sed.  Only
5911           completes names of features, but that's 90% of what I want
5912           it for.  Properties are not available in registry.xml.  (Maybe
5913           they should be...)
5914
5915 === release 0.10.1 ===
5916
5917 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
5918
5919         * configure.ac:
5920           releasing 0.10.1, "Nollaig chridheil"
5921
5922 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
5923
5924         * docs/faq/cvs.xml:
5925           Add missing quote, should be make ERROR_CFLAGS="".
5926
5927 2005-12-20  Wim Taymans  <wim@fluendo.com>
5928
5929         * docs/design/part-trickmodes.txt:
5930         More documentation on trickmodes.
5931
5932 2005-12-20  Edward Hervey  <edward@fluendo.com>
5933
5934         * gst/gstcaps.c: (gst_static_caps_get_type):
5935         * gst/gstcaps.h:
5936           API addition: GST_TYPE_STATIC_CAPS
5937         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5938         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5939         * gst/gstpadtemplate.h:
5940           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5941         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5942         bindings.
5943
5944 2005-12-18  Wim Taymans  <wim@fluendo.com>
5945
5946         * libs/gst/base/gstadapter.c:
5947         * libs/gst/base/gstadapter.h:
5948         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5949         (gst_base_sink_get_position):
5950         * libs/gst/base/gstbasesink.h:
5951         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5952         (gst_base_src_default_query), (gst_base_src_default_do_seek),
5953         (gst_base_src_do_seek), (gst_base_src_perform_seek),
5954         (gst_base_src_send_event), (gst_base_src_update_length),
5955         (gst_base_src_get_range), (gst_base_src_loop),
5956         (gst_base_src_start):
5957         * libs/gst/base/gstbasesrc.h:
5958         * libs/gst/base/gstbasetransform.h:
5959         * libs/gst/base/gstcollectpads.h:
5960         * libs/gst/base/gstpushsrc.c:
5961         * libs/gst/base/gstpushsrc.h:
5962         * libs/gst/dataprotocol/dataprotocol.c:
5963         * libs/gst/dataprotocol/dataprotocol.h:
5964         * libs/gst/net/gstnetclientclock.h:
5965         * libs/gst/net/gstnettimeprovider.h:
5966         Documentation updates.
5967
5968 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5969
5970         * docs/manual/basics-helloworld.xml:
5971           Remove superfluous closing bracket in helloworld example.
5972
5973 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5974
5975         * tools/gst-launch.1.in:
5976           Update gst-launch man page; add a section with useful
5977           environment variables. Fixes #323882.
5978
5979 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
5980
5981         * gst/gst.c:
5982         * gst/gst_private.h:
5983           change some char* into char[]
5984
5985 2005-12-16  Wim Taymans  <wim@fluendo.com>
5986
5987         * gst/gstregistryxml.c: (load_feature):
5988         Cleanups.
5989         Don't use g_object_unref on GstObjects so that we avoid
5990         leaks on unsafe glibs.
5991
5992 2005-12-16  Wim Taymans  <wim@fluendo.com>
5993
5994         * gst/gstbin.c: (gst_bin_recalc_state):
5995         Small doc updates.
5996
5997 2005-12-16  Wim Taymans  <wim@fluendo.com>
5998
5999         * common/check.mak:
6000         Added make forever target for check.
6001
6002 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6003
6004         * gst/gst.c: (init_post):
6005           make the registry cache file HOST_CPU-dependent
6006
6007 2005-12-16  Andy Wingo  <wingo@pobox.com>
6008
6009         * plugins/elements/gstbufferstore.c
6010         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6011         return value.
6012
6013         * tests/check/gst/gstobject.c
6014         (test_fake_object_name_threaded_unique): Pay attention to
6015         g_list_sort return value.
6016
6017 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6018
6019         * tools/gst-feedback-m.m:
6020           Update for 0.9/0.10 (fixes #323870).
6021
6022 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6023
6024         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6025           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6026           
6027         * tests/check/gst/gstminiobject.c: (my_foo_init),
6028         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6029         (test_value_collection), (gst_mini_object_suite):
6030           Add test to ensure refcounts end up as expected when passing
6031           GstMiniObjects through g_object_get() and g_object_set().
6032
6033 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6034
6035         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6036         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6037         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6038         of collectpads. This version removes a lot of races without
6039         touching API/ABI. Yay !
6040
6041 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6042
6043         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6044           Don't allow activation of a srcpad in pull_range if it has no
6045           getrange function.
6046           Change some debug statements to be a little clearer
6047
6048         * plugins/elements/gsttypefindelement.c:
6049         (gst_type_find_handle_src_query):
6050           Check that we have a peer before executing queries thereupon.
6051
6052         * tests/examples/metadata/read-metadata.c: (message_loop):
6053           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6054           immediately return us any available message with 0 timeout.
6055
6056 2005-12-12  Michael Smith  <msmith@fluendo.com>
6057
6058         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6059           Don't unref factories after calling them.
6060         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6061         * plugins/elements/gsttypefindelement.c:
6062         (gst_type_find_element_chain):
6063           Free lists of factories after using them. Fixing typefinding memory
6064           leaks.
6065
6066 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6069         (gst_plugin_feature_load):
6070           more meaningful debug output
6071         * configure.ac:
6072         * tests/Makefile.am:
6073         * tests/old/examples/Makefile.am:
6074           make make distcheck happy again
6075
6076 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6077
6078         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6079           Catch the special case where we are operating chain-based,
6080           but the downstream peer pad has no chain function. Emit a
6081           custom error message in this case instead of letting the
6082           core generate one implying that this is some sort of core
6083           bug. It's not, it just means that whatever got plugged
6084           into the pipeline downstream when we announced the type
6085           can only operate pull-based, while our source can only
6086           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6087           Error string has not been marked for translation yet, as
6088           it probably needs some more work first.
6089
6090         (gst_type_find_element_get_best_possibility):
6091           Add helper function to find the best of all available
6092           found possibilities that qualify given the min. threshold.
6093
6094         (gst_type_find_element_handle_event):
6095           Fix the case where we get an EOS while still in TYPEFIND
6096           mode (we want to chose the best of all possible types,
6097           not just the first type that happens to be in our unsorted
6098           list of possible types).
6099
6100         (gst_type_find_element_chain):
6101           Make sure we return GST_FLOW_ERROR when we errored out
6102           in stop_typefinding(); also, don't just find the best of
6103           all found type entries and then use the last examined
6104           type entry, but actually use the best entry.
6105
6106 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6107
6108         * tests/examples/typefind/typefind.c: (type_found):
6109         * tests/examples/xml/runxml.c: (xml_loaded):
6110           More gcc4 fixes and a mem leak fix.
6111
6112 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6113
6114         * tests/examples/xml/createxml.c: (object_saved):
6115           gcc 4 fixes
6116
6117 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6118
6119         * tests/Makefile.am:
6120           enable the examples even more
6121
6122 2005-12-12  Andy Wingo  <wingo@pobox.com>
6123
6124         * libs/gst/net/gstnettimeprovider.c
6125         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6126         (gst_net_time_provider_set_property)
6127         (gst_net_time_provider_get_property):
6128         API addition: Export "active" as a GObject property.
6129         (gst_net_time_provider_thread): Only respond to time queries if
6130         the time provider is active.
6131
6132         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6133         NetTimeProvider, preserving binary compat.
6134
6135 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6136
6137         * tests/examples/controller/audio-example.c: (main):
6138         * tests/examples/launch/Makefile.am:
6139           convert comments again
6140
6141 2005-12-12  Wim Taymans  <wim@fluendo.com>
6142
6143         * libs/gst/base/gstpushsrc.c:
6144         Fix typo.
6145
6146 2005-12-12  Wim Taymans  <wim@fluendo.com>
6147
6148         * docs/libs/gstreamer-libs-sections.txt:
6149         Added new symbol to docs.
6150
6151         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6152         (gst_base_src_init), (gst_base_src_set_format),
6153         (gst_base_src_default_query), (gst_base_src_query),
6154         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6155         (gst_base_src_perform_seek), (gst_base_src_send_event),
6156         (gst_base_src_default_event), (gst_base_src_event_handler),
6157         (gst_base_src_set_property), (gst_base_src_get_property),
6158         (gst_base_src_wait), (gst_base_src_do_sync),
6159         (gst_base_src_update_length), (gst_base_src_get_range),
6160         (gst_base_src_check_get_range), (gst_base_src_loop),
6161         (gst_base_src_default_negotiate), (gst_base_src_start),
6162         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6163         (gst_base_src_change_state):
6164         * libs/gst/base/gstbasesrc.h:
6165         Implement seeking to other formats than _BYTES.
6166         Implement more seeking methods correctly.
6167         Doc updates.
6168         Added query vmethod.
6169         Added do_seek vmethod to make life easier for subclasses
6170         when seeking.
6171         API addition: gst_base_src_set_format()
6172
6173 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6174
6175         * tests/examples/Makefile.am:
6176           added that too
6177
6178 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6179
6180         * configure.ac:
6181         * docs/random/ensonic/media-device-daemon.txt:
6182         * tests/examples/controller/.cvsignore:
6183         * tests/examples/controller/Makefile.am:
6184         * tests/examples/controller/audio-example.c: (main):
6185         * tests/examples/helloworld/.cvsignore:
6186         * tests/examples/helloworld/Makefile.am:
6187         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6188         * tests/examples/launch/.cvsignore:
6189         * tests/examples/launch/Makefile.am:
6190         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6191         * tests/examples/metadata/.cvsignore:
6192         * tests/examples/metadata/Makefile.am:
6193         * tests/examples/metadata/read-metadata.c: (message_loop),
6194         (make_pipeline), (print_tag), (main):
6195         * tests/examples/queue/.cvsignore:
6196         * tests/examples/queue/Makefile.am:
6197         * tests/examples/queue/queue.c: (event_loop), (main):
6198         * tests/examples/typefind/.cvsignore:
6199         * tests/examples/typefind/Makefile.am:
6200         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6201         (main):
6202         * tests/examples/xml/.cvsignore:
6203         * tests/examples/xml/Makefile.am:
6204         * tests/examples/xml/createxml.c: (object_saved), (main):
6205         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6206         * tests/old/examples/Makefile.am:
6207         * tests/old/examples/TODO:
6208         * tests/old/examples/controller/.cvsignore:
6209         * tests/old/examples/controller/Makefile.am:
6210         * tests/old/examples/controller/audio-example.c:
6211         * tests/old/examples/helloworld/.cvsignore:
6212         * tests/old/examples/helloworld/Makefile.am:
6213         * tests/old/examples/helloworld/helloworld.c:
6214         * tests/old/examples/launch/.cvsignore:
6215         * tests/old/examples/launch/Makefile.am:
6216         * tests/old/examples/launch/mp3parselaunch.c:
6217         * tests/old/examples/launch/mp3play:
6218         * tests/old/examples/manual/Makefile.am:
6219         * tests/old/examples/metadata/Makefile.am:
6220         * tests/old/examples/metadata/read-metadata.c:
6221         * tests/old/examples/queue/.cvsignore:
6222         * tests/old/examples/queue/Makefile.am:
6223         * tests/old/examples/queue/queue.c:
6224         * tests/old/examples/typefind/.cvsignore:
6225         * tests/old/examples/typefind/Makefile.am:
6226         * tests/old/examples/typefind/typefind.c:
6227         * tests/old/examples/xml/.cvsignore:
6228         * tests/old/examples/xml/Makefile.am:
6229         * tests/old/examples/xml/createxml.c:
6230         * tests/old/examples/xml/runxml.c:
6231           applied some simple fixing to some examples
6232           re-enabled the working examples
6233
6234 2005-12-12  Wim Taymans  <wim@fluendo.com>
6235
6236         * gst/gstsegment.c: (gst_segment_init),
6237         (gst_segment_set_last_stop), (gst_segment_set_seek),
6238         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6239         (gst_segment_to_running_time):
6240         Added more documentation.
6241         Make sure the last_pos value is updated properly.
6242         Make sure to_stream_time and to_running_time don't
6243         operate on wrong values.
6244
6245         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6246         Update check.
6247
6248 2005-12-12  Michael Smith  <msmith@fluendo.com>
6249
6250         * plugins/elements/gsttypefindelement.c: (free_entry),
6251         (gst_type_find_element_chain):
6252           Now that we're not leaking factories, make sure we keep references
6253           to them while we need them.
6254
6255 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6256
6257         * tests/check/gst/struct_i386.h:
6258           ifdef out the XML structs
6259
6260 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6261
6262         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6263           floor is not needed, F is always positive; this obviates the
6264           need for adding -lm when building without libxml
6265
6266 2005-12-12  Wim Taymans  <wim@fluendo.com>
6267
6268         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6269         Take current playback rate into account when reporting
6270         the position.
6271
6272 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * docs/manual/mime-world.fig:
6275           Let's try this again, this time with a file that is
6276           actually in XFig format.
6277
6278 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6279
6280         * docs/manual/mime-world.fig:
6281           Add audioconvert element to diagram so that it
6282           matches the text and the code (fixes #319526).
6283
6284 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6285
6286         * docs/pwg/building-chainfn.xml:
6287         * docs/pwg/building-pads.xml:
6288         * docs/pwg/building-state.xml:
6289         * docs/pwg/other-source.xml:
6290           Update state change stuff for 0.10 (fixes #322969).
6291
6292 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * docs/manual/advanced-dataaccess.xml:
6295         * docs/manual/appendix-checklist.xml:
6296         * docs/manual/appendix-programs.xml:
6297         * docs/manual/basics-pads.xml:
6298         * docs/manual/highlevel-components.xml:
6299         * docs/manual/manual.xml:
6300           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6301           add converters in front of pipelines; remove curly
6302           brackets for threads stuff, they no longer exist; use
6303           GST_TYPE_FRACTION for framerates; update some pieces of
6304           code to 0.10, but there's plenty more to do.
6305
6306         * docs/manual/appendix-porting.xml:
6307           Expand on asynchroneous state changes; s/0.9/0.10/;
6308           mention disappearance of gst_init_get_popt_table()
6309           (fixes #322916).
6310
6311 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * docs/faq/using.xml:
6314           Spider no longer exists, and neither does gst-launch-ext.
6315           Update examples to use decodebin and playbin and put
6316           converters in front of sinks (fixes #323726).
6317
6318 2005-12-09  Michael Smith  <msmith@fluendo.com>
6319
6320         * plugins/elements/gsttypefindelement.c: (find_peek),
6321         (gst_type_find_element_chain):
6322           Fix leaking element factories in typefinding.
6323           Fix problem where we forgot about a probable type on non-seekable
6324           files, and thus later mis-typefound it.
6325
6326 2005-12-09  Michael Smith  <msmith@fluendo.com>
6327
6328         * common/m4/gst-makecontext.m4:
6329         * common/m4/gst-mcsc.m4:
6330         * configure.ac:
6331         * win32/common/config.h:
6332         * win32/common/config.h.in:
6333           Remove makecontext stuff; not used in 0.10 and causes problems on
6334           HPUX according to bug #322441
6335
6336 2005-12-07  Wim Taymans  <wim@fluendo.com>
6337
6338         * tests/check/Makefile.am:
6339         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6340         (main):
6341         * tests/check/libs/struct_i386.h:
6342         Added ABI check for libs
6343
6344 2005-12-07  Wim Taymans  <wim@fluendo.com>
6345
6346         * tests/check/Makefile.am:
6347         And add the struct_i386.h to dist.
6348
6349 2005-12-07  Wim Taymans  <wim@fluendo.com>
6350
6351         * tests/check/Makefile.am:
6352         * tests/check/gst/.cvsignore:
6353         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6354         (main):
6355         * tests/check/gst/struct_i386.h:
6356         Added check for ABI compatibility.
6357
6358 2005-12-07  Wim Taymans  <wim@fluendo.com>
6359
6360         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6361         (gst_fake_src_get_times), (gst_fake_src_create):
6362         Fix broken sync option, fixes #323259
6363
6364 2005-12-07  Wim Taymans  <wim@fluendo.com>
6365
6366         * gst/gstbuffer.c:
6367         Small docs update.
6368
6369         * gst/gstcaps.c: (gst_caps_is_equal):
6370         Don't assert on NULL <--> X. Fixes #323260
6371
6372         * gst/gstminiobject.c: (gst_mini_object_replace):
6373         If we're doing atomic operations, we might just as well use
6374         the proper way to get an atomic pointer.
6375
6376         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6377         Clean up debugging.
6378
6379 2005-12-07  Michael Smith  <msmith@fluendo.com>
6380
6381         * gst/parse/grammar.y:
6382           Remove handling of { } for threads.
6383
6384 2005-12-06  David Schleef  <ds@schleef.org>
6385
6386         * libs/gst/base/gstbasetransform.c: speling fix.
6387
6388 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6389
6390         * docs/libs/tmpl/gstdataprotocol.sgml:
6391         * docs/random/omega/testing/gstobject.c:
6392         * gst/gst.c:
6393         * gst/gstclock.c:
6394         * gst/gstelement.c:
6395         * gst/gstelementfactory.c:
6396         * gst/gsterror.c:
6397         * gst/gstevent.c:
6398         * gst/gstghostpad.c:
6399         * gst/gstinfo.c:
6400         * gst/gstpadtemplate.c:
6401         * gst/gstregistryxml.c:
6402         * gst/gsttaglist.c:
6403         * gst/gsttagsetter.c:
6404         * gst/gsttypefind.c:
6405         * gst/gstvalue.c:
6406         * libs/gst/base/gstbasesrc.c:
6407         * libs/gst/net/gstnetclientclock.c:
6408         * libs/gst/net/gstnettimeprovider.c:
6409         * plugins/elements/gstfakesrc.c:
6410         * plugins/elements/gstfdsrc.c:
6411         * plugins/elements/gstfilesrc.c:
6412         * plugins/elements/gstidentity.c:
6413         * plugins/elements/gstqueue.c:
6414         * plugins/elements/gsttypefindelement.c:
6415         * plugins/indexers/gstfileindex.c:
6416         * plugins/indexers/gstmemindex.c:
6417         * tests/check/gst/gsttag.c:
6418         * tests/old/examples/cutter/cutter.c:
6419         * tests/old/examples/mixer/mixer.c:
6420         * tests/old/examples/xml/runxml.c: (main):
6421         * tests/old/testsuite/caps/normalisation.c:
6422         * tests/old/testsuite/debug/global.c:
6423         * tests/old/testsuite/parse/parse1.c:
6424         * tools/gst-xmlinspect.c:
6425         * win32/common/dirent.c:
6426           expand tabs
6427
6428 === release 0.10.0 ===
6429
6430 2005-12-05   <thomas (at) apestaart (dot) org>
6431
6432         * configure.ac:
6433           releasing 0.10.0, "Maroilles"
6434
6435 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6436
6437         submitted by: Funda Wang <fundawang@linux.net.cn>
6438
6439         * po/LINGUAS:
6440         * po/zh_CN.po:
6441           added Chinese (Traditional) translation
6442
6443 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6444
6445         * docs/gst/gstreamer-sections.txt:
6446         * docs/libs/tmpl/gstdataprotocol.sgml:
6447         * docs/random/thomasvs/TODO:
6448         * gst/gstutils.c:
6449         * gst/gstutils.h:
6450           fix docs
6451
6452 2005-12-05  Andy Wingo  <wingo@pobox.com>
6453
6454         patch by: Wim Taymans <wim@fluendo.com>
6455
6456         * libs/gst/base/gstbasetransform.c
6457         (gst_base_transform_prepare_output_buf)
6458         (gst_base_transform_buffer_alloc):
6459         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6460         alloc_buffer_and_set_caps.
6461
6462         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6463         set_caps on the source pad.
6464         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6465         alloc_buffer used to do. Fixes #322874.
6466
6467         * docs/gst/gstreamer-sections.txt: 
6468         * docs/design/part-negotiation.txt: 
6469         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6470         changes.
6471
6472 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6473
6474         patch by: Sebastien Moutte
6475
6476         * win32/MANIFEST:
6477         * win32/common/config.h.in:
6478         * win32/vs6/libgstcontroller.dsp:
6479           win32 build fixes
6480
6481 2005-12-05  Wim Taymans  <wim@fluendo.com>
6482
6483         * gst/gstcaps.c: (gst_caps_is_equal):
6484         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6485         (gst_fake_src_create):
6486         Back out previous code changes, leave doc updates, file bugs 
6487         instead. 
6488
6489 2005-12-05  Wim Taymans  <wim@fluendo.com>
6490
6491         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6492         (gst_fake_src_get_times), (gst_fake_src_create):
6493         * plugins/elements/gstfakesrc.h:
6494         Fix broken sync code.
6495
6496 2005-12-05  Wim Taymans  <wim@fluendo.com>
6497
6498         * gst/gstcaps.c: (gst_caps_is_equal):
6499         Comparing NULL against !NULL yields different caps, not a
6500         failure.
6501
6502 2005-12-05  Wim Taymans  <wim@fluendo.com>
6503
6504         * gst/gstpipeline.c:
6505         Fix small typo in docs.
6506
6507 2005-12-05  Andy Wingo  <wingo@pobox.com>
6508
6509         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6510
6511         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6512         registries/plugins with a MAJORMINOR one.
6513         (plugin_desc): Rename library from gstcoreleements to
6514         staticelements. Fixes #323222.
6515
6516 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6517
6518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6519           Change debug category to 'collectpads' from 'collect_pads'
6520           (fixes #323250).
6521
6522 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6523
6524         patch by: Sebastien Moutte
6525
6526         * libs/gst/controller/gstinterpolation.c:
6527           use convert function for uint64/double
6528         * win32/vs6/libgstcontroller.dsp:
6529           link to GLib
6530
6531 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6532
6533         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6534         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6535         * gst/gstutils.h:
6536         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6537           add tests that seem to show that the guint64/gdouble conversions
6538           are correct.
6539
6540 2005-12-02  Wim Taymans  <wim@fluendo.com>
6541
6542         * gst/gstregistry.c: (gst_registry_add_path):
6543         * gst/gstregistry.h:
6544         * gst/gstregistryxml.c:
6545         Fix docs again.
6546
6547 2005-12-02  Wim Taymans  <wim@fluendo.com>
6548
6549         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6550         (gst_util_uint64_scale_int):
6551         Small cleanup.
6552
6553         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6554         Add debug log line.
6555
6556         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6557         Add FIXME.
6558
6559 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6560
6561         * win32/MANIFEST:
6562         * win32/common/config.h:
6563         * win32/vs6/gstreamer.dsw:
6564         * win32/vs6/libgstcoreelements.dsp:
6565         * win32/vs6/libgstelements.dsp:
6566           renamed core elements plugin
6567
6568 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6569
6570         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6571         (get_candidates):
6572           do piece-wise major/minor comparison so 0.9 < 0.10
6573           also allow .exe extensions for tools
6574
6575 2005-12-02  Michael Smith  <msmith@fluendo.com>
6576
6577         * gst/gst.c:
6578           Escape a % to make gtkdoc happier; bug 322958.
6579
6580 === release 0.9.7 ===
6581
6582 2005-12-01   <thomas (at) apestaart (dot) org>
6583
6584         * configure.ac:
6585           releasing 0.9.7, "My Dog Has No Nose"
6586
6587 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6588
6589         * common/gst-xmlinspect.py:
6590         * configure.ac:
6591         * docs/libs/tmpl/gstdataprotocol.sgml:
6592         * docs/random/release:
6593         * po/af.po:
6594         * po/az.po:
6595         * po/bg.po:
6596         * po/ca.po:
6597         * po/cs.po:
6598         * po/de.po:
6599         * po/en_GB.po:
6600         * po/fr.po:
6601         * po/it.po:
6602         * po/nb.po:
6603         * po/nl.po:
6604         * po/ru.po:
6605         * po/sq.po:
6606         * po/sr.po:
6607         * po/sv.po:
6608         * po/tr.po:
6609         * po/uk.po:
6610         * po/vi.po:
6611         * win32/common/config.h:
6612         * win32/common/config.h.in:
6613         * win32/vs6/gst_inspect.dsp:
6614         * win32/vs6/gst_launch.dsp:
6615         * win32/vs6/libgstbase.dsp:
6616         * win32/vs6/libgstelements.dsp:
6617         * win32/vs6/libgstreamer.dsp:
6618         * win32/vs7/GStreamer.vcproj:
6619         * win32/vs7/gst-inspect.vcproj:
6620         * win32/vs7/gst-launch.vcproj:
6621         * win32/vs7/libgstbase.vcproj:
6622           bump GST_MAJORMINOR to 0.10
6623           reset libtool version
6624
6625 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6626
6627         * po/LINGUAS:
6628         * po/bg.po:
6629           Added Bulgarian translation by (Alexander Shopov)
6630
6631 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6632
6633         * tests/check/gst/gstplugin.c:
6634           fix test
6635
6636 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6637
6638         * common/gst-xmlinspect.py:
6639         * common/gtk-doc-plugins.mak:
6640         * configure.ac:
6641         * docs/Makefile.am:
6642         * docs/gst/Makefile.am:
6643         * docs/gst/gstreamer-docs.sgml:
6644         * docs/gst/gstreamer-sections.txt:
6645         * docs/gst/gstreamer.types:
6646         * docs/gst/gstreamer.types.in:
6647         * docs/plugins/Makefile.am:
6648         * docs/plugins/gstreamer-plugins-docs.sgml:
6649         * docs/plugins/gstreamer-plugins-sections.txt:
6650         * docs/plugins/gstreamer-plugins.types:
6651         * docs/plugins/inspect.stamp:
6652         * docs/plugins/inspect/plugin-coreelements.xml:
6653         * docs/plugins/inspect/plugin-coreindexers.xml:
6654         * docs/plugins/scanobj-build.stamp:
6655         * gstreamer.spec.in:
6656         * plugins/elements/Makefile.am:
6657         * plugins/elements/gstelements.c:
6658         * plugins/elements/gstfakesink.c:
6659         * plugins/elements/gstfakesrc.c:
6660         * plugins/elements/gstfilesink.c:
6661         * plugins/elements/gstfilesrc.c:
6662         * plugins/elements/gstqueue.c:
6663         * plugins/indexers/Makefile.am:
6664         * plugins/indexers/gstindexers.c:
6665           document core plugins in a separate document just like all the
6666           others
6667           rename these plugins to something starting with core
6668
6669 2005-12-01  Andy Wingo  <wingo@pobox.com>
6670
6671         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6672         padding here before, but it missed the commit.
6673
6674 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6675
6676         * libs/gst/controller/gstinterpolation.c:
6677           whitespace prices have crashed, we should feel free to use some now
6678           use gst_guint64_to_gdouble
6679
6680 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6681
6682         * libs/gst/controller/gstcontroller.c:
6683         * libs/gst/controller/gsthelper.c:
6684         * libs/gst/controller/gstinterpolation.c:
6685         * libs/gst/controller/lib.c:
6686           wrap config.h include
6687
6688 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6689
6690         * docs/gst/gstreamer-sections.txt:
6691           update docs
6692
6693 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6694
6695         * plugins/elements/gstelements.c:
6696         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6697         (gst_fd_sink__class_init), (gst_fd_sink__init),
6698         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6699         (gst_fd_sink__get_property):
6700         * plugins/elements/gstfdsink.h:
6701         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6702         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6703         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6704         (gst_fd_src_unlock), (gst_fd_src_set_property),
6705         (gst_fd_src_get_property), (gst_fd_src_create),
6706         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6707         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6708         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6709         (gst_fd_src_uri_handler_init):
6710         * plugins/elements/gstfdsrc.h:
6711         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6712           more anal cleanup
6713
6714 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6715
6716         * docs/gst/Makefile.am:
6717         * docs/gst/gstreamer.types.in:
6718         * gst/Makefile.am:
6719           fix the docs build
6720
6721 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6722
6723         * configure.ac:
6724         * gst/Makefile.am:
6725         * gst/gst.c:
6726         * gst/gstplugin.h:
6727         * gst/gstregistry.h:
6728         * tests/benchmarks/complexity.c:
6729         * tests/benchmarks/mass-elements.c:
6730         * tests/check/Makefile.am:
6731         * tools/Makefile.am:
6732         * tools/gst-inspect.c:
6733         * tools/gst-xmlinspect.c:
6734           various fixes to make
6735           --disable-nls --disable-registry --disable-loadsave
6736           --disable-parse --disable-gst-debug
6737           work and get the core .so down to 360444 bytes after stripping
6738
6739 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6740
6741         * Makefile.am:
6742         * configure.ac:
6743           descend into tests
6744         * docs/random/thomasvs/TODO:
6745         * tests/Makefile.am:
6746         * tests/README:
6747           add a README
6748
6749 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6750
6751         * win32/GStreamer.vcproj:
6752         * win32/MANIFEST:
6753         * win32/Makefile:
6754         * win32/Makefile.inspect:
6755         * win32/Makefile.launch:
6756         * win32/Makefile.register:
6757         * win32/README.txt:
6758         * win32/gst-inspect.vcproj:
6759         * win32/gst-launch.vcproj:
6760         * win32/gst-register.vcproj:
6761         * win32/gstelements.vcproj:
6762         * win32/gstgetbits.def:
6763         * win32/gstgetbits.vcproj:
6764         * win32/gstreamer-dbg.def:
6765         * win32/gstreamer.def:
6766         * win32/libgstbase.def:
6767         * win32/libgstbase.vcproj:
6768         * win32/link_oldruntime.c:
6769         * win32/mman.c:
6770         * win32/mman.h:
6771         * win32/mman.inl:
6772         * win32/msvc71.sln:
6773           move even more stuff, win32/ is nice and clean now
6774
6775 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6776
6777         * libs/gst/control/.cvsignore:
6778         * win32/MANIFEST:
6779         * win32/config.h:
6780         * win32/dirent.c:
6781         * win32/dirent.h:
6782         * win32/gstbytestream.def:
6783         * win32/gstbytestream.vcproj:
6784         * win32/gstconfig.h:
6785         * win32/gstenumtypes.c:
6786         * win32/gstenumtypes.h:
6787         * win32/gstoptimalscheduler.vcproj:
6788         * win32/gstversion.h:
6789         * win32/gtchar.h:
6790         * win32/testsuite/bins.vcproj:
6791         * win32/testsuite/bytestream.vcproj:
6792         * win32/testsuite/caps.vcproj:
6793         * win32/testsuite/cleanup.vcproj:
6794         * win32/testsuite/clock.vcproj:
6795         * win32/testsuite/debug.vcproj:
6796         * win32/testsuite/dlopen.vcproj:
6797         * win32/testsuite/dynparams.vcproj:
6798         * win32/testsuite/elements.vcproj:
6799         * win32/testsuite/ghostpads.vcproj:
6800         * win32/testsuite/indexers.vcproj:
6801         * win32/testsuite/negotiation.vcproj:
6802         * win32/testsuite/parse.vcproj:
6803         * win32/testsuite/plugin.vcproj:
6804         * win32/testsuite/refcounting.vcproj:
6805         * win32/testsuite/schedulers.vcproj:
6806         * win32/testsuite/states.vcproj:
6807         * win32/testsuite/tags.vcproj:
6808         * win32/testsuite/threads.vcproj:
6809           remove old win32 stuff that isn't maintained and should be
6810           reorganized
6811
6812 2005-11-30  Andy Wingo  <wingo@pobox.com>
6813
6814         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6815         loading the gst.interfaces python module bork.
6816
6817         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6818         available since GLib 2.2. Fixes #318031.
6819
6820 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6821
6822         * Makefile.am:
6823         * check/.cvsignore:
6824         * check/Makefile.am:
6825         * check/elements/.cvsignore:
6826         * check/elements/fakesrc.c:
6827         * check/elements/fdsrc.c:
6828         * check/elements/identity.c:
6829         * check/generic/.cvsignore:
6830         * check/generic/states.c:
6831         * check/gst-libs/.cvsignore:
6832         * check/gst-libs/controller.c:
6833         * check/gst-libs/gdp.c:
6834         * check/gst/.cvsignore:
6835         * check/gst/capslist.h:
6836         * check/gst/gst.c:
6837         * check/gst/gstbin.c:
6838         * check/gst/gstbuffer.c:
6839         * check/gst/gstbus.c:
6840         * check/gst/gstcaps.c:
6841         * check/gst/gstelement.c:
6842         * check/gst/gstevent.c:
6843         * check/gst/gstghostpad.c:
6844         * check/gst/gstiterator.c:
6845         * check/gst/gstmessage.c:
6846         * check/gst/gstminiobject.c:
6847         * check/gst/gstobject.c:
6848         * check/gst/gstpad.c:
6849         * check/gst/gstpipeline.c:
6850         * check/gst/gstplugin.c:
6851         * check/gst/gstsegment.c:
6852         * check/gst/gststructure.c:
6853         * check/gst/gstsystemclock.c:
6854         * check/gst/gsttag.c:
6855         * check/gst/gstutils.c:
6856         * check/gst/gstvalue.c:
6857         * check/net/.cvsignore:
6858         * check/net/gstnetclientclock.c:
6859         * check/net/gstnettimeprovider.c:
6860         * check/pipelines/.cvsignore:
6861         * check/pipelines/cleanup.c:
6862         * check/pipelines/simple_launch_lines.c:
6863         * check/pipelines/stress.c:
6864         * check/states/.cvsignore:
6865         * check/states/sinks.c:
6866         * configure.ac:
6867         * examples/Makefile.am:
6868         * examples/appreader/.cvsignore:
6869         * examples/appreader/Makefile.am:
6870         * examples/appreader/appreader.c:
6871         * examples/controller/.cvsignore:
6872         * examples/controller/Makefile.am:
6873         * examples/controller/audio-example.c:
6874         * examples/cutter/.cvsignore:
6875         * examples/cutter/Makefile.am:
6876         * examples/cutter/cutter.c:
6877         * examples/cutter/cutter.h:
6878         * examples/events/Makefile.am:
6879         * examples/events/seek.c:
6880         * examples/helloworld/.cvsignore:
6881         * examples/helloworld/Makefile.am:
6882         * examples/helloworld/helloworld.c:
6883         * examples/helloworld2/.cvsignore:
6884         * examples/helloworld2/Makefile.am:
6885         * examples/helloworld2/helloworld2.c:
6886         * examples/launch/.cvsignore:
6887         * examples/launch/Makefile.am:
6888         * examples/launch/mp3parselaunch.c:
6889         * examples/launch/mp3play:
6890         * examples/manual/.cvsignore:
6891         * examples/manual/Makefile.am:
6892         * examples/manual/extract.pl:
6893         * examples/metadata/Makefile.am:
6894         * examples/metadata/read-metadata.c:
6895         * examples/mixer/.cvsignore:
6896         * examples/mixer/Makefile.am:
6897         * examples/mixer/mixer.c:
6898         * examples/mixer/mixer.h:
6899         * examples/pingpong/.cvsignore:
6900         * examples/pingpong/Makefile.am:
6901         * examples/pingpong/pingpong.c:
6902         * examples/plugins/.cvsignore:
6903         * examples/plugins/Makefile.am:
6904         * examples/plugins/example.c:
6905         * examples/plugins/example.h:
6906         * examples/pwg/.cvsignore:
6907         * examples/pwg/Makefile.am:
6908         * examples/pwg/extract.pl:
6909         * examples/queue/.cvsignore:
6910         * examples/queue/Makefile.am:
6911         * examples/queue/queue.c:
6912         * examples/queue2/.cvsignore:
6913         * examples/queue2/Makefile.am:
6914         * examples/queue2/queue2.c:
6915         * examples/queue3/.cvsignore:
6916         * examples/queue3/Makefile.am:
6917         * examples/queue3/queue3.c:
6918         * examples/queue4/.cvsignore:
6919         * examples/queue4/Makefile.am:
6920         * examples/queue4/queue4.c:
6921         * examples/retag/.cvsignore:
6922         * examples/retag/Makefile.am:
6923         * examples/retag/retag.c:
6924         * examples/retag/transcode.c:
6925         * examples/thread/.cvsignore:
6926         * examples/thread/Makefile.am:
6927         * examples/thread/thread.c:
6928         * examples/typefind/.cvsignore:
6929         * examples/typefind/Makefile.am:
6930         * examples/typefind/typefind.c:
6931         * examples/xml/.cvsignore:
6932         * examples/xml/Makefile.am:
6933         * examples/xml/createxml.c:
6934         * examples/xml/runxml.c:
6935         * tests/Makefile.am:
6936         * tests/check/Makefile.am:
6937         * testsuite/.cvsignore:
6938         * testsuite/Makefile.am:
6939         * testsuite/Rules:
6940         * testsuite/caps/.cvsignore:
6941         * testsuite/caps/Makefile.am:
6942         * testsuite/caps/app_fixate.c:
6943         * testsuite/caps/audioscale.c:
6944         * testsuite/caps/caps.c:
6945         * testsuite/caps/caps.h:
6946         * testsuite/caps/caps_strings:
6947         * testsuite/caps/compatibility.c:
6948         * testsuite/caps/deserialize.c:
6949         * testsuite/caps/enumcaps.c:
6950         * testsuite/caps/eratosthenes.c:
6951         * testsuite/caps/filtercaps.c:
6952         * testsuite/caps/fixed.c:
6953         * testsuite/caps/fraction-convert.c:
6954         * testsuite/caps/fraction-multiply-and-zero.c:
6955         * testsuite/caps/intersect2.c:
6956         * testsuite/caps/intersection.c:
6957         * testsuite/caps/normalisation.c:
6958         * testsuite/caps/random.c:
6959         * testsuite/caps/renegotiate.c:
6960         * testsuite/caps/sets.c:
6961         * testsuite/caps/simplify.c:
6962         * testsuite/caps/string-conversions.c:
6963         * testsuite/caps/structure.c:
6964         * testsuite/caps/subtract.c:
6965         * testsuite/caps/union.c:
6966         * testsuite/debug/.cvsignore:
6967         * testsuite/debug/Makefile.am:
6968         * testsuite/debug/category.c:
6969         * testsuite/debug/commandline.c:
6970         * testsuite/debug/global.c:
6971         * testsuite/debug/output.c:
6972         * testsuite/debug/printf_extension.c:
6973         * testsuite/dlopen/.cvsignore:
6974         * testsuite/dlopen/Makefile.am:
6975         * testsuite/dlopen/dlopen_gst.c:
6976         * testsuite/dlopen/loadgst.c:
6977         * testsuite/elements/.cvsignore:
6978         * testsuite/elements/Makefile.am:
6979         * testsuite/elements/gst-inspect-check.in:
6980         * testsuite/elements/struct_i386.h:
6981         * testsuite/elements/struct_size.c:
6982         * testsuite/indexers/.cvsignore:
6983         * testsuite/indexers/Makefile.am:
6984         * testsuite/indexers/cache1.c:
6985         * testsuite/indexers/indexdump.c:
6986         * testsuite/parse/.cvsignore:
6987         * testsuite/parse/Makefile.am:
6988         * testsuite/parse/parse1.c:
6989         * testsuite/parse/parse2.c:
6990         * testsuite/plugin/.cvsignore:
6991         * testsuite/plugin/Makefile.am:
6992         * testsuite/plugin/README:
6993         * testsuite/plugin/dynamic.c:
6994         * testsuite/plugin/linked.c:
6995         * testsuite/plugin/loading.c:
6996         * testsuite/plugin/registry.c:
6997         * testsuite/plugin/static.c:
6998         * testsuite/plugin/static2.c:
6999         * testsuite/plugin/testplugin.c:
7000         * testsuite/plugin/testplugin2.c:
7001         * testsuite/plugin/testplugin2_s.c:
7002         * testsuite/plugin/testplugin_s.c:
7003         * testsuite/refcounting/.cvsignore:
7004         * testsuite/refcounting/Makefile.am:
7005         * testsuite/refcounting/bin.c:
7006         * testsuite/refcounting/element.c:
7007         * testsuite/refcounting/element_pad.c:
7008         * testsuite/refcounting/mainloop.c:
7009         * testsuite/refcounting/mem.c:
7010         * testsuite/refcounting/mem.h:
7011         * testsuite/refcounting/object.c:
7012         * testsuite/refcounting/pad.c:
7013         * testsuite/refcounting/sched.c:
7014         * testsuite/refcounting/thread.c:
7015         * testsuite/states/.cvsignore:
7016         * testsuite/states/Makefile.am:
7017         * testsuite/states/bin.c:
7018         * testsuite/states/locked.c:
7019         * testsuite/states/parent.c:
7020         * testsuite/threads/.cvsignore:
7021         * testsuite/threads/159566.c:
7022         * testsuite/threads/159852.c:
7023         * testsuite/threads/Makefile.am:
7024         * testsuite/threads/queue.c:
7025         * testsuite/threads/signals.c:
7026         * testsuite/threads/staticrec.c:
7027         * testsuite/threads/thread.c:
7028         * testsuite/threads/threadb.c:
7029         * testsuite/threads/threadc.c:
7030         * testsuite/threads/threadd.c:
7031         * testsuite/threads/threade.c:
7032         * testsuite/threads/threadf.c:
7033         * testsuite/threads/threadg.c:
7034         * testsuite/threads/threadh.c:
7035         * testsuite/threads/threadi.c:
7036           move all of these under tests
7037
7038 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7039
7040         * configure.ac:
7041         * tests/Makefile.am:
7042           fix distcheck
7043
7044 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7045
7046         * docs/gst/gstreamer-sections.txt:
7047         * tests/sched/.cvsignore:
7048         * tests/sched/Makefile.am:
7049         * tests/sched/cases/(fs-fs).xml:
7050         * tests/sched/cases/(fs-i-fs).xml:
7051         * tests/sched/cases/(fs-i-i-fs).xml:
7052         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7053         * tests/sched/dynamic-pipeline.c:
7054         * tests/sched/interrupt1.c:
7055         * tests/sched/interrupt2.c:
7056         * tests/sched/interrupt3.c:
7057         * tests/sched/runtestcases:
7058         * tests/sched/runxml.c:
7059         * tests/sched/sched-stress.c:
7060         * tests/sched/sort.c:
7061         * tests/sched/testcases:
7062         * tests/sched/testcases1.tc:
7063         * tests/seeking/.cvsignore:
7064         * tests/seeking/Makefile.am:
7065         * tests/seeking/seeking1.c:
7066         * tests/threadstate/.cvsignore:
7067         * tests/threadstate/Makefile.am:
7068         * tests/threadstate/test1.c:
7069         * tests/threadstate/test2.c:
7070         * tests/threadstate/threadstate1.c:
7071         * tests/threadstate/threadstate2.c:
7072         * tests/threadstate/threadstate3.c:
7073         * tests/threadstate/threadstate4.c:
7074         * tests/threadstate/threadstate5.c:
7075           remove obsolete tests
7076         * configure.ac:
7077         * tests/bench-complexity.scm:
7078         * tests/bench-mass_elements.scm:
7079         * tests/complexity.c:
7080         * tests/complexity.gnuplot:
7081         * tests/instantiate/.cvsignore:
7082         * tests/instantiate/Makefile.am:
7083         * tests/instantiate/caps.c:
7084         * tests/mass_elements.c:
7085         * tests/network-clock-utils.scm:
7086         * tests/network-clock.scm:
7087         * tests/plot-data:
7088         First pass at cleaning up tests/ dir before moving the rest
7089         Combined with CVS surgery
7090
7091 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7092
7093         * po/POTFILES.in:
7094           queue has moved, update
7095
7096 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7097
7098         * docs/gst/gstreamer-sections.txt:
7099           remove double entries from the docs
7100         * gst/gst_private.h:
7101         * gst/gstinfo.c: (_gst_debug_init):
7102           remove the THREAD debug category
7103         * gst/Makefile.am:
7104         * gst/gstqueue.c:
7105         * gst/gstqueue.h:
7106         * docs/gst/gstreamer.types:
7107         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7108         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7109           completely move queue and fix up debugging categories
7110
7111 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7112
7113         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7114           make initialization portable, using LL is not
7115
7116 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7117
7118         * win32/common/gstconfig.h:
7119           add large padding
7120
7121 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7122
7123         * win32/common/libgstreamer.def:
7124           rename symbols; sort base section
7125
7126 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7127
7128         * gst/gstclock.c: (do_linear_regression):
7129           remove crack non-portable handrolled DEBUG macro
7130
7131 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7132
7133         * docs/random/release:
7134           update notes
7135         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7136         (gst_object_flags_get_type), (register_gst_bin_flags),
7137         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7138         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7139         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7140         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7141         (gst_caps_flags_get_type), (register_gst_clock_return),
7142         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7143         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7144         (gst_clock_flags_get_type), (register_gst_state),
7145         (gst_state_get_type), (register_gst_state_change_return),
7146         (gst_state_change_return_get_type), (register_gst_state_change),
7147         (gst_state_change_get_type), (register_gst_element_flags),
7148         (gst_element_flags_get_type), (register_gst_core_error),
7149         (gst_core_error_get_type), (register_gst_library_error),
7150         (gst_library_error_get_type), (register_gst_resource_error),
7151         (gst_resource_error_get_type), (register_gst_stream_error),
7152         (gst_stream_error_get_type), (register_gst_event_type_flags),
7153         (gst_event_type_flags_get_type), (register_gst_event_type),
7154         (gst_event_type_get_type), (register_gst_seek_type),
7155         (gst_seek_type_get_type), (register_gst_seek_flags),
7156         (gst_seek_flags_get_type), (register_gst_format),
7157         (gst_format_get_type), (register_gst_index_certainty),
7158         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7159         (gst_index_entry_type_get_type),
7160         (register_gst_index_lookup_method),
7161         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7162         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7163         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7164         (gst_index_flags_get_type), (register_gst_debug_level),
7165         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7166         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7167         (gst_iterator_result_get_type), (register_gst_iterator_item),
7168         (gst_iterator_item_get_type), (register_gst_message_type),
7169         (gst_message_type_get_type), (register_gst_mini_object_flags),
7170         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7171         (gst_pad_link_return_get_type), (register_gst_flow_return),
7172         (gst_flow_return_get_type), (register_gst_activate_mode),
7173         (gst_activate_mode_get_type), (register_gst_pad_direction),
7174         (gst_pad_direction_get_type), (register_gst_pad_flags),
7175         (gst_pad_flags_get_type), (register_gst_pad_presence),
7176         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7177         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7178         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7179         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7180         (gst_plugin_flags_get_type), (register_gst_rank),
7181         (gst_rank_get_type), (register_gst_query_type),
7182         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7183         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7184         (gst_tag_flag_get_type), (register_gst_task_state),
7185         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7186         (gst_alloc_trace_flags_get_type),
7187         (register_gst_type_find_probability),
7188         (gst_type_find_probability_get_type), (register_gst_uri_type),
7189         (gst_uri_type_get_type), (register_gst_parse_error),
7190         (gst_parse_error_get_type):
7191         * win32/common/gstenumtypes.h:
7192         * win32/common/gstversion.h:
7193           update visual studio generated files
7194
7195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7196
7197         * win32/vs6/libgstbase.dsp:
7198         * win32/vs6/libgstelements.dsp:
7199           update project files for new locations
7200
7201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7202
7203         * Makefile.am:
7204           remove some files
7205         * README:
7206           reinstate and update
7207         * DEVEL:
7208         * REQUIREMENTS:
7209           removed
7210         * LICENSE:
7211         * docs/random/LICENSE:
7212           moved to random
7213
7214 2005-11-30  Edward Hervey  <edward@fluendo.com>
7215
7216         * gst/gsttypefind.c: (gst_type_find_register):
7217         * gst/gsttypefind.h:
7218         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7219         (gst_type_find_factory_dispose):
7220         * gst/gsttypefindfactory.h:
7221         Fix memory leak in GstTypeFindFactory.
7222
7223 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7224
7225         * gst/gst.c:
7226         * plugins/elements/Makefile.am:
7227         * plugins/elements/gstelements.c:
7228         * plugins/elements/gstqueue.c:
7229           move queue from core to the elements plugin
7230
7231 2005-11-29  Andy Wingo  <wingo@pobox.com>
7232
7233         * libs/gst/base/gstbasetransform.h: 
7234         * libs/gst/base/gstbasesrc.h: 
7235         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7236
7237         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7238         of pointers by which to pad very extensible base classes (like the
7239         ones in libs/gst/base).
7240
7241 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7242
7243         * docs/gst/gstreamer-docs.sgml:
7244         * docs/gst/gstreamer-sections.txt:
7245         * docs/libs/gstreamer-libs-docs.sgml:
7246         * docs/libs/gstreamer-libs-sections.txt:
7247           moving documentation from core to lib
7248
7249 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7250
7251         * check/Makefile.am:
7252         * configure.ac:
7253         * docs/gst/Makefile.am:
7254         * gst/Makefile.am:
7255         * gst/base/.cvsignore:
7256         * gst/base/Makefile.am:
7257         * gst/base/README:
7258         * gst/base/gstadapter.c:
7259         * gst/base/gstadapter.h:
7260         * gst/base/gstbasesink.c:
7261         * gst/base/gstbasesink.h:
7262         * gst/base/gstbasesrc.c:
7263         * gst/base/gstbasesrc.h:
7264         * gst/base/gstbasetransform.c:
7265         * gst/base/gstbasetransform.h:
7266         * gst/base/gstcollectpads.c:
7267         * gst/base/gstcollectpads.h:
7268         * gst/base/gstpushsrc.c:
7269         * gst/base/gstpushsrc.h:
7270         * gst/base/gsttypefindhelper.c:
7271         * gst/base/gsttypefindhelper.h:
7272         * gst/check/Makefile.am:
7273         * gst/check/gstcheck.c:
7274         * gst/check/gstcheck.h:
7275         * gst/net/Makefile.am:
7276         * gst/net/gstnet.h:
7277         * gst/net/gstnetclientclock.c:
7278         * gst/net/gstnetclientclock.h:
7279         * gst/net/gstnettimepacket.c:
7280         * gst/net/gstnettimepacket.h:
7281         * gst/net/gstnettimeprovider.c:
7282         * gst/net/gstnettimeprovider.h:
7283         * libs/gst/Makefile.am:
7284         * libs/gst/base/Makefile.am:
7285         * libs/gst/base/gstbasetransform.c:
7286         * libs/gst/check/Makefile.am:
7287         * plugins/elements/Makefile.am:
7288         * po/POTFILES.in:
7289           CVS surgery + support to move base, check, and net out of gst
7290           and into libs/gst
7291
7292 2005-11-29  Andy Wingo  <wingo@pobox.com>
7293
7294         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7295
7296         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7297         padding.
7298
7299         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7300
7301         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7302
7303         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7304
7305         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7306         padding; reduces object size by about 30%. We don't expect
7307         anything else to go into gstobject.
7308
7309         * gst/gstminiobject.h (struct _GstMiniObject)
7310         (struct _GstMiniObjectClass): Only one pointer of padding; the
7311         payload is only a pointer and two ints anyway. For the class there
7312         are only two methods as well.
7313         
7314         * gst/gstelement.h (struct _GstElementClass): Removed
7315         the state_changed signal callback, it is not used.
7316
7317 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7318
7319         * docs/gst/gstreamer.types:
7320           fix includes, though they are a little dinky
7321
7322 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7323
7324         * check/Makefile.am:
7325           look in the right place for elements, a lot more chance of
7326           success
7327         * gst/Makefile.am:
7328           remove indexers and elements subdirs
7329         * plugins/Makefile.am:
7330           make indexers conditional
7331
7332 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7333
7334         * Makefile.am:
7335         * configure.ac:
7336         * plugins/elements/Makefile.am:
7337         * plugins/elements/gstcapsfilter.c:
7338         * plugins/elements/gstfilesink.c:
7339         * plugins/elements/gstfilesrc.c:
7340         * plugins/elements/gstidentity.c:
7341         * plugins/indexers/Makefile.am:
7342           do CVS surgery and related build fixery to move elements
7343           and indexers in a new gstreamer/plugins directory, out of the
7344           gst/ directory
7345
7346 2005-11-29  Andy Wingo  <wingo@pobox.com>
7347
7348         * check/Makefile.am:
7349         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7350         * pkgconfig/gstreamer-net.pc.in:
7351         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7352         #322257.
7353
7354 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7355
7356         * tools/Makefile.am:
7357         * tools/gst-complete.1.in:
7358         * tools/gst-complete.c:
7359         * tools/gst-compprep.1.in:
7360         * tools/gst-compprep.c:
7361           removing -compprep and -complete
7362
7363 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7364
7365         * gst/gstevent.c: (gst_event_new_new_segment),
7366         (gst_event_parse_new_segment):
7367         * gst/gstevent.h:
7368           fix #320529 - clean up new_segment API and structure.
7369           Let's hope everyone was using the methods, and not the structure.
7370
7371 2005-11-29  Edward Hervey  <edward@fluendo.com>
7372
7373         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7374         (gst_base_sink_event), (gst_base_sink_do_sync),
7375         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7376         Properly handle non GST_FORMAT_TIME segment
7377         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7378         Properly handle non GST_FORMAT_TIME segment
7379         * gst/gstsegment.c:
7380         This function is valid if the accumulator is 0 and the format
7381         is different from the requested format.
7382         
7383 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7384
7385         * docs/gst/gstreamer-sections.txt:
7386         Add gst_query_new_seeking and gst_query_parse_seeking to the
7387         docs.
7388
7389 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7390
7391         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7392           Treat a pad alloc with new caps the same as if we were not
7393           negotiated, in order to allow a changing upstream output
7394           to produce a new format of data.
7395
7396 2005-11-29  Edward Hervey  <edward@fluendo.com>
7397
7398         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7399         (gst_base_transform_event), (gst_base_transform_eventfunc):
7400         The event virtual method is now properly implemented, with a default
7401         handler
7402         Sub classes should call the parent_class event method. They should
7403         return FALSE if they had a problem handling the given event, or don't
7404         want GstBaseTransform to send that even downstream
7405         * gst/elements/gstidentity.c: (gst_identity_class_init),
7406         (gst_identity_init), (gst_identity_event),
7407         (gst_identity_transform_ip), (gst_identity_set_property),
7408         (gst_identity_get_property):
7409         * gst/elements/gstidentity.h:
7410         Added the single-segment boolean property.
7411         If set to TRUE, it will output a single segment of data, starting from
7412         0, will eat up all incoming newsegment, and modify the timestamp of the
7413         buffers accordingly
7414
7415 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7416
7417         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7418           Don't ref NULL target pad (#322751). Improve docs.
7419
7420 2005-11-29  Michael Smith  <msmith@fluendo.com>
7421
7422         * gst/gstregistryxml.c: (load_plugin):
7423           Don't crash if we failed to load a feature from a plugin. 
7424
7425 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7426
7427         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7428         (GST_START_TEST):
7429           use more check API and less GLib API
7430
7431 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7432
7433         * Makefile.am:
7434           don't run checks if we don't have check
7435         * common/check.mak:
7436           remove the registry when running make torture
7437         * docs/gst/gstreamer-sections.txt:
7438           remove second multiply
7439         * gst/gstqueue.c: (gst_queue_loop):
7440           fix a compile warning when disabling debug
7441
7442 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7443
7444         * gst/gstinfo.h:
7445         Hey! Let's print the pad name if the pointer != NULL instead
7446         of when it == NULL :-)
7447
7448 2005-11-28  Wim Taymans  <wim@fluendo.com>
7449
7450         * check/gst/gstutils.c: (GST_START_TEST):
7451         Updated check, add some scaling accuracy checking code.
7452
7453         * gst/gstutils.c: (gst_util_div128_64),
7454         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7455         (gst_util_uint64_scale_int):
7456         Fix 6 times faster division code. Optimize for common 
7457         1/1 and less common X/1 cases.
7458
7459 2005-11-28  Wim Taymans  <wim@fluendo.com>
7460
7461         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7462         More checks.
7463
7464         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7465         (do_linear_regression), (gst_clock_add_observation):
7466         Cleanups.
7467         Release lock when the clock cannot be slaved.
7468         Catch the case where the regression returned an invalid denominator.
7469
7470         * gst/gstutils.c: (gst_util_div128_64_iterate),
7471         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7472         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7473         Add protentially more performant non-iterative 128/64 divide function
7474         that unfortunatly does not work yet.
7475         Shortcut the trivial 0/X = 0 case.
7476         Remove the warnings on overflow.
7477
7478 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7479
7480         * gst/gstplugin.c: (gst_plugin_register_func):
7481           everything causing a plugin not to load should be at least a WARNING
7482
7483 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7484
7485         * docs/random/ensonic/dparams.txt:
7486           some TODOs for the next dev cycle
7487         * libs/gst/controller/gstcontroller.c:
7488         (gst_controlled_property_set_interpolation_mode),
7489         (gst_controlled_property_new):
7490         * libs/gst/controller/gstcontroller.h:
7491           use base type to assign acccessor functions
7492
7493 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7494
7495         * check/Makefile.am:
7496         Oops, that should have been top_srcdir
7497
7498 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7499
7500         * check/Makefile.am:
7501         * check/elements/fdsrc.c: (GST_START_TEST):
7502         Use a cmdline define to specify the location of a file to use for
7503         testing, to avoid breaking distcheck.
7504
7505 2005-11-28  Andy Wingo  <wingo@pobox.com>
7506
7507         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7508
7509 2005-11-28  Edward Hervey  <edward@fluendo.com>
7510
7511         * tools/gst-launch.c: (main):
7512         Clarify the output strings, makes it easier to translate.
7513         Fixes #322626
7514
7515 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7516
7517         * gst/Makefile.am:
7518           don't try and build net if we don't even have <sys/socket.h>
7519
7520 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7521
7522         * check/Makefile.am:
7523         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7524         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7525           Add tests for fdsrc seekability
7526
7527         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7528         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7529         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7530         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7531         * gst/elements/gstfdsrc.h:
7532           fdsrc should not be a 'live' source.
7533           Implement seeking on seekable fd's.
7534
7535         * gst/gstquery.c: (gst_query_new_seeking),
7536         (gst_query_parse_seeking):
7537         * gst/gstquery.h:
7538           Implement SEEKING query functions: 
7539             *_new_seeking and *_parse_seeking
7540
7541 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7542
7543         * gst/gstelement.c: (gst_element_dispose):
7544           don't loop forever
7545
7546         * gst/gstiterator.c:
7547         * gst/gststructure.c:
7548           doc fixes
7549
7550         * libs/gst/controller/gstcontroller.c:
7551         (gst_controlled_property_set_interpolation_mode):
7552         * libs/gst/controller/gstcontroller.h:
7553         * libs/gst/controller/gstinterpolation.c:
7554         (interpolate_none_get_enum_value_array):
7555           support controlling enums
7556
7557 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7558
7559         * gst/gstvalue.c:
7560           Improve documentation for gst_value_union().
7561
7562         * gst/gstvalue.h:
7563           Change return value for union, intersect and subtract functions
7564           from gint to gboolean.
7565
7566 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7567
7568         * gst/gstvalue.c: (gst_value_serialize_any_list),
7569         (gst_value_transform_any_list_string),
7570         (gst_value_deserialize_list), (gst_value_deserialize_array),
7571         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7572         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7573         (gst_value_set_fraction_range_full),
7574         (gst_value_deserialize_fraction_range),
7575         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7576         (gst_value_deserialize_boolean),
7577         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7578         (gst_value_serialize_float), (gst_value_deserialize_float),
7579         (gst_string_wrap), (gst_value_deserialize_string),
7580         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7581         (gst_value_union_int_range_int_range),
7582         (gst_value_intersect_int_range_int_range),
7583         (gst_value_intersect_double_range_double_range),
7584         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7585         (gst_value_subtract_int_range_int_range),
7586         (gst_value_subtract_double_double_range),
7587         (gst_value_subtract_double_range_double_range),
7588         (gst_value_deserialize_fraction):
7589         * gst/gstvalue.h:
7590           Use gint, gdouble and gchar in our API instead of int, double and
7591           char (and make usage in gstvalue.c more consistent).
7592
7593 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7594
7595         * check/Makefile.am:
7596         * libs/gst/controller/Makefile.am:
7597         * libs/gst/dataprotocol/Makefile.am:
7598           fix up Makefile.am and remove GST_ENABLE_NEW
7599
7600 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7601
7602         * configure.ac:
7603         * gst/Makefile.am:
7604         * gst/base/Makefile.am:
7605         * gst/check/Makefile.am:
7606         * gst/elements/Makefile.am:
7607         * gst/net/Makefile.am:
7608           update LDFLAGS use some more
7609
7610 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7611
7612         * common/m4/gst-doc.m4:
7613           Fixes #312589
7614
7615 2005-11-26  Edward Hervey  <edward@fluendo.com>
7616
7617         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7618         This shouldn't issue a g_warning since it returns NULL if it
7619         couldn't find the plugin, and all functions using this behave
7620         properly on a NULL return. Switching to a GST_WARNING.
7621
7622 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7623
7624         * gst/gstbin.c: (gst_bin_handle_message_func):
7625         Don't leak clock messages.
7626
7627 2005-11-25  Wim Taymans  <wim@fluendo.com>
7628
7629         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7630         (gst_util_uint64_scale_int):
7631         Optimisations, remove unneeded vars.
7632
7633 2005-11-25  Wim Taymans  <wim@fluendo.com>
7634
7635         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7636         Added more checks for the high precision uint64 cases.
7637
7638         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7639         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7640         Implement high precision (guint64 * guint64) / guint64.
7641
7642 2005-11-24  Wim Taymans  <wim@fluendo.com>
7643
7644         * gst/base/gstbasesrc.c: (gst_base_src_query):
7645         Fix wrong percentage query.
7646
7647         * gst/gstutils.c: (gst_util_uint64_scale),
7648         (gst_util_uint64_scale_int):
7649         Add some more common cases that can be handled 
7650         efficiently to _scale.
7651
7652 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7653
7654         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7655         (gst_mini_object_suite):
7656           don't use check calls from threads; check probably isn't
7657           threadsafe and using a lock to make it threadsafe would
7658           defeat the purpose of this check
7659         * gst/check/gstcheck.c:
7660         * gst/check/gstcheck.h:
7661           use GST_DEBUG some more
7662
7663 2005-11-24  Wim Taymans  <wim@fluendo.com>
7664
7665         * gst/gstutils.c: (gst_util_uint64_scale),
7666         (gst_util_uint64_scale_int):
7667         Chain trivial case to _scale_int.
7668
7669 2005-11-24  Wim Taymans  <wim@fluendo.com>
7670
7671         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7672         Added test for scaling.
7673
7674         * gst/gstclock.h:
7675         Small doc fix.
7676
7677         * gst/gstutils.c: (gst_util_uint64_scale_int):
7678         Implemented high precision scaling code.
7679
7680 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7681
7682         * gst/gstinfo.h:
7683           do not crash on pad==NULL
7684
7685 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7686
7687         Patch by: Stefan Kost
7688
7689         * common/gtk-doc.mak:
7690         * docs/gst/Makefile.am:
7691         * docs/libs/Makefile.am:
7692           Fix distcheck issues for the libraries docs build
7693           Closes #319599.
7694
7695 2005-11-24  Michael Smith <msmith@fluendo.com>
7696
7697         * docs/manual/basics-helloworld.xml:
7698           Fix bug #315027: memory leak in example code in docs.
7699
7700 2005-11-24  Michael Smith <msmith@fluendo.com>
7701
7702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7703           Unlock the PREROLL_LOCK in a failure case.
7704
7705 2005-11-24  Wim Taymans  <wim@fluendo.com>
7706
7707         * docs/gst/gstreamer-sections.txt:
7708         * gst/base/gstadapter.h:
7709         * gst/base/gstbasesink.h:
7710         * gst/base/gstbasesrc.h:
7711         * gst/base/gstbasetransform.h:
7712         * gst/base/gstpushsrc.h:
7713         * gst/elements/gstfakesink.h:
7714         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7715         * gst/elements/gstfakesrc.h:
7716         * gst/elements/gstfilesink.h:
7717         * gst/elements/gstfilesrc.h:
7718         * gst/gst.c:
7719         * gst/gstbin.c:
7720         * gst/gstbuffer.c: (_gst_buffer_copy):
7721         * gst/gstbus.h:
7722         * gst/gstcaps.c:
7723         * gst/gstchildproxy.c:
7724         * gst/gstclock.c:
7725         * gst/gstelement.c:
7726         * gst/gstelementfactory.c:
7727         * gst/gstelementfactory.h:
7728         * gst/gstevent.c:
7729         * gst/gstghostpad.h:
7730         * gst/gstindex.h:
7731         * gst/gstinterface.h:
7732         * gst/gstminiobject.c:
7733         * gst/gstminiobject.h:
7734         * gst/gstpad.c:
7735         * gst/gstpad.h:
7736         * gst/gstpadtemplate.h:
7737         * gst/gstpipeline.h:
7738         * gst/gstpluginfeature.h:
7739         * gst/gstquery.h:
7740         * gst/gstqueue.h:
7741         * gst/gsttaglist.c:
7742         * gst/gsttaglist.h:
7743         * gst/gsttagsetter.c:
7744         * gst/gsttagsetter.h:
7745         * gst/gsttrace.c:
7746         * gst/gsttrace.h:
7747         * gst/gsttypefind.h:
7748         * gst/gsturi.h:
7749         * gst/gstvalue.c:
7750         * gst/net/gstnetclientclock.c:
7751         * gst/net/gstnetclientclock.h:
7752         * gst/net/gstnettimepacket.c:
7753         * gst/net/gstnettimeprovider.c:
7754         * gst/net/gstnettimeprovider.h:
7755         Doc fixes.
7756
7757 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * configure.ac: back to HEAD
7760
7761 === release 0.9.6 ===
7762
7763 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
7764
7765         * configure.ac:
7766           releasing 0.9.6, "Always On Time"
7767
7768 2005-11-23  Wim Taymans  <wim@fluendo.com>
7769
7770         * docs/gst/gstreamer-sections.txt:
7771         * gst/glib-compat.c:
7772         * gst/gsttagsetter.c:
7773         * gst/gstvalue.c:
7774         * gst/net/gstnetclientclock.c:
7775         * gst/net/gstnettimepacket.h:
7776         Doc updates.
7777
7778 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7779
7780         * docs/faq/using.xml:
7781         * docs/libs/tmpl/gstcontrol.sgml:
7782         * docs/manual/advanced-dparams.xml:
7783         * docs/manual/appendix-checklist.xml:
7784         * docs/manual/basics-elements.xml:
7785         * docs/pwg/other-source.xml:
7786         * docs/random/moving-plugins:
7787         * gst/gstpad.c:
7788         * tools/gst-launch.1.in:
7789           remove mentions of sinesrc
7790
7791 2005-11-23  Michael Smith <msmith@fluendo.com>
7792
7793         * docs/gst/gstreamer-sections.txt:
7794           Update for new API and API changes.
7795         * gst/gstobject.h:
7796           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7797         * gst/gstvalue.c:
7798           Documentation typo fix.
7799         * gst/net/gstnettimepacket.c:
7800           Documentation fixes for arguments.
7801
7802 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
7803
7804         * gst/gststructure.c: (gst_structure_get_fraction),
7805         (gst_structure_parse_value),
7806         (gst_structure_fixate_field_nearest_fraction):
7807         * gst/gststructure.h:
7808         * gst/gstutils.c: (gst_util_uint64_scale_int):
7809         * gst/gstutils.h:
7810         * scripts/update-funcnames:
7811         API Changes. 
7812         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7813         Make gst_structure_fixate_field_nearest_fraction take a numerator
7814         and denominator argument instead of a GValue
7815         add gst_structure_get_fraction helper function.
7816
7817 2005-11-23  Wim Taymans  <wim@fluendo.com>
7818
7819         * docs/design/part-TODO.txt:
7820         Update TODO.
7821
7822         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7823         * gst/net/gstnetclientclock.h:
7824         Use parent fields for timeout and window_size.
7825
7826 2005-11-23  Andy Wingo  <wingo@pobox.com>
7827
7828         * check/net/gstnetclientclock.c (test_functioning): Adjust to
7829         rate_num/rate_denom change.
7830
7831         * gst/net/gstnetclientclock.c
7832         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7833         OBJECT_LOCK. Don't call add_observation with the lock.
7834
7835         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7836         fraction.
7837         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7838         rate fraction.
7839         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7840         deal with rate as a fraction whose numerator and denominator are
7841         GstClockTime values.
7842         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7843         master; the other fields are protected by the SLAVE_LOCK.
7844         (do_linear_regression): Note that this must be called with the
7845         SLAVE_LOCK.
7846         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7847         OBJECT_LOCK. Call set_calibration instead of touching the
7848         variables directly.
7849         (gst_clock_set_property, gst_clock_get_property): Protect
7850         master/slave parameters with the SLAVE_LOCK.
7851
7852         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7853         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7854         note that all of the instance variables that add_observation and
7855         the set_master functions use are protected by that lock and not
7856         the OBJECT_LOCK.
7857         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7858
7859         * gst/gstclock.c (gst_clock_add_observation): No longer requires
7860         the caller to take the object lock.
7861
7862 2005-11-23  Wim Taymans  <wim@fluendo.com>
7863
7864         * gst/gsterror.c: (_gst_core_errors_init):
7865         * gst/gsterror.h:
7866         Add error for clock stuff.
7867
7868         * gst/gstpipeline.c: (gst_pipeline_change_state),
7869         (gst_pipeline_set_clock):
7870         Post clock error when clock cannot be used in a pipeline.
7871
7872 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
7873
7874         * docs/gst/gstreamer-sections.txt:
7875           make two symbols from gstinfo private for the docs
7876         * gst/base/gstcollectpads.h:
7877         * gst/gstutils.c:
7878           fix doc typos, update docs
7879
7880 2005-11-22  Wim Taymans  <wim@fluendo.com>
7881
7882         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7883         (gst_base_sink_wait), (gst_base_sink_do_sync),
7884         (gst_base_sink_handle_event):
7885         * gst/base/gstbasesink.h:
7886         No need to store the clock, the parent element class already
7887         has it.
7888
7889         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7890         Updates for clock_set returning a gboolean
7891
7892         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7893         (gst_clock_id_wait_async), (gst_clock_class_init),
7894         (gst_clock_init), (gst_clock_finalize),
7895         (gst_clock_get_internal_time), (gst_clock_get_time),
7896         (gst_clock_slave_callback), (gst_clock_set_master),
7897         (gst_clock_get_master), (do_linear_regression),
7898         (gst_clock_add_observation), (gst_clock_set_property),
7899         (gst_clock_get_property):
7900         * gst/gstclock.h:
7901         Implement master/slave. When setting a clock as a slave, a
7902         periodic timeout is scheduled to sample master and slave times.
7903         Then the slave clock is recalibrated to match offset and rate
7904         of the master clock.
7905         Update logging a bit.
7906         Add flag so that a clock can state that is cannot be slaved to
7907         another clock.
7908
7909         * gst/gstelement.c: (gst_element_set_clock):
7910         * gst/gstelement.h:
7911         The set clock returns a gboolean for when an element cannot
7912         deal with the selected clock in the pipeline. 
7913
7914         * gst/gstpipeline.c: (gst_pipeline_change_state),
7915         (gst_pipeline_set_clock):
7916         * gst/gstpipeline.h:
7917         Handle the case where the selected clock cannot be set on
7918         the pipeline.
7919
7920         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7921         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7922         (gst_net_client_clock_set_property),
7923         (gst_net_client_clock_get_property),
7924         (gst_net_client_clock_observe_times):
7925         * gst/net/gstnetclientclock.h:
7926         Use regression code in GstClock parent, remove duplicated
7927         functionality.
7928
7929 2005-11-22  Michael Smith <msmith@fluendo.com>
7930
7931         * gst/gstutils.c: (gst_util_clock_time_scale):
7932         * gst/gstutils.h:
7933         * docs/gst/gstreamer-sections.txt:
7934           Rename method to have extra underscore.
7935
7936 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7937
7938         * gst/elements/Makefile.am:
7939         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7940         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7941         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7942         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7943         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7944         * gst/elements/gstfakesrc.h:
7945         * gst/gstqueue.c: (queue_leaky_get_type):
7946           correctly fix GEnumValues so that nick is the short lowercase
7947           dashed tag
7948         * tools/gst-inspect.c: (print_element_properties_info):
7949           also show the nick, since it's useful to use from parse_launch
7950           syntax
7951           Fixes #322139
7952
7953 2005-11-22  Michael Smith <msmith@fluendo.com>
7954
7955         * gst/gstutils.c: (gst_util_clocktime_scale):
7956         * gst/gstutils.h:
7957         * docs/gst/gstreamer-sections.txt:
7958           Add util method for scaling a clocktime by a fraction. Useful 
7959           implementation is left as an exercise for the reader.
7960
7961 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7962
7963         * gst/gstvalue.c: (gst_value_collect_fraction_range):
7964         If needed, allocate storage in the destination value during
7965         collection.
7966
7967 2005-11-22  Edward Hervey  <edward@fluendo.com>
7968
7969         * docs/gst/gstreamer-sections.txt:
7970         * gst/Makefile.am:
7971         * gst/gst.h:
7972         * gst/gsturitype.c:
7973         * gst/gsturitype.h:
7974         * gst/gstutils.c: (gst_util_set_object_arg):
7975         * tools/gst-compprep.c: (main):
7976         * tools/gst-inspect.c: (print_element_properties_info):
7977         Removed GstURI, closes bug #321061
7978
7979 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7980
7981         * check/gst/gststructure.c: (GST_START_TEST):
7982         * gst/gststructure.c: (gst_structure_parse_value):
7983           Oops, broke automatic string type parsing.
7984           Add a test to catch it in future.
7985
7986 2005-11-22  Andy Wingo  <wingo@pobox.com>
7987
7988         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
7989         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7990         Actually rename the function implementations. Grr.
7991
7992 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7993
7994         * check/gst/capslist.h:
7995           Comment test cases
7996         * check/gst/gststructure.c: (GST_START_TEST),
7997         (gst_structure_suite):
7998           Test automatic value type detection in gst_structure_from_string.
7999         * gst/gststructure.c: (gst_structure_parse_value):
8000           Add fraction as a type we try and guess automatically in
8001           caps/structure strings.
8002
8003 2005-11-22  Andy Wingo  <wingo@pobox.com>
8004
8005         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8006
8007         * gst/gsttagsetter.h:
8008         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8009         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8010         (gst_tag_setter_add_tag_valist)
8011         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8012         _add_values, _add_valist, and _add_valist_values. Since this is an
8013         interface the function suffixes should be more explicit so
8014         language binding don't end up with element.add_valist ->
8015         gst_tag_setter_add_valist, for example. Fixes #322069.
8016
8017 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8018
8019         * check/gst/gstcaps.c: (GST_START_TEST):
8020           Extend caps string tests to check that a caps to string
8021           conversion is reversible and produces the same caps.
8022
8023         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8024           Output "fraction" as the generic type fraction range, so caps
8025           serialisation and deserialisation works.
8026         * check/gst/capslist.h:
8027         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8028           Support 'MIN' and 'MAX' for deserialising fractions.
8029
8030 2005-11-22  Andy Wingo  <wingo@pobox.com>
8031
8032         * gst/gstevent.h (gst_event_new_new_segment)
8033         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8034         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8035         Renamed from *_newsegment, *_buffersize, *_notarget.
8036
8037         * scripts/update-funcnames: New script, performs the changes
8038         listed above.
8039
8040 2005-11-22  Wim Taymans  <wim@fluendo.com>
8041
8042         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8043         Make sure the GstFlowReturn is returned.
8044
8045         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8046         (gst_bus_add_signal_watch):
8047         * gst/gstbus.h:
8048         add gst_bus_add_signal_watch_full.
8049
8050         * gst/gstplugin.c: (gst_plugin_load_file):
8051         Small style cleanup.
8052
8053 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8054
8055         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8056           Block the fakesrc srcpad when we send an event, to avoid
8057           contention on the stream_lock causing random test failures.
8058
8059 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8060
8061         * check/gst/gstvalue.c: (GST_START_TEST):
8062         * gst/gstvalue.c: (gst_value_fraction_subtract):
8063           Fix subtraction.
8064
8065 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8066
8067         * gst/gst.h:
8068           include "gstchildproxy.h"
8069         * gst/gstchildproxy.h:
8070         * libs/gst/controller/gstcontroller.h:
8071           use G_GNUC_NULL_TERMINATED
8072
8073 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8074
8075         * check/gst/capslist.h:
8076         * check/gst/gstcaps.c: (GST_START_TEST):
8077         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8078         * gst/gststructure.c: (gst_structure_parse_range),
8079         (gst_structure_fixate_field_nearest_fraction):
8080         * gst/gststructure.h:
8081         * gst/gstvalue.c: (gst_value_init_fraction_range),
8082         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8083         (gst_value_collect_fraction_range),
8084         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8085         (gst_value_set_fraction_range_full),
8086         (gst_value_get_fraction_range_min),
8087         (gst_value_get_fraction_range_max),
8088         (gst_value_serialize_fraction_range),
8089         (gst_value_transform_fraction_range_string),
8090         (gst_value_compare_fraction_range),
8091         (gst_value_deserialize_fraction_range),
8092         (gst_value_intersect_fraction_fraction_range),
8093         (gst_value_intersect_fraction_range_fraction_range),
8094         (gst_value_subtract_fraction_fraction_range),
8095         (gst_value_subtract_fraction_range_fraction),
8096         (gst_value_subtract_fraction_range_fraction_range),
8097         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8098         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8099         (gst_value_transform_string_fraction), (_gst_value_initialize):
8100         * gst/gstvalue.h:
8101           Implement fraction ranges and extend GstFraction to support
8102           arithmetic subtraction, as well as deserialization from integer
8103           strings such as "100"
8104           Add a testsuite as for int and double range set operations
8105
8106 2005-11-21  Andy Wingo  <wingo@pobox.com>
8107
8108         * gst/gsttaglist.h: 
8109         * gst/gstcaps.h: 
8110         * gst/gststructure.h: Add glib-compat.h.
8111
8112 2005-11-21  Wim Taymans  <wim@fluendo.com>
8113
8114         * gst/gstbin.c: (gst_bin_change_state_func):
8115         Fix for #321595
8116
8117 2005-11-21  Wim Taymans  <wim@fluendo.com>
8118
8119         * gst/gstsegment.h:
8120         And add a nice define too.
8121
8122 2005-11-21  Wim Taymans  <wim@fluendo.com>
8123
8124         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8125         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8126         (gst_segment_set_duration), (gst_segment_set_last_stop),
8127         (gst_segment_set_seek), (gst_segment_set_newsegment),
8128         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8129         (gst_segment_clip):
8130         * gst/gstsegment.h:
8131         Make binding friendly.
8132
8133 2005-11-21  Andy Wingo  <wingo@pobox.com>
8134
8135         * gst/gsttagsetter.h: 
8136         * gst/gsttaglist.h: 
8137         * gst/gststructure.h: 
8138         * gst/gstcaps.h: 
8139         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8140         #319940.
8141
8142         * gst/gsterror.c (_gst_core_errors_init):
8143         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8144         category.
8145
8146         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8147         (noinst_HEADERS): noinst the -private.
8148
8149 2005-11-21  Michael Smith <msmith@fluendo.com>
8150
8151         * gst/gstplugin.h:
8152         * gst/gstregistry.h:
8153           Remove unimplemented declarations for which we can see no sensible
8154           use.
8155
8156 2005-11-21  Andy Wingo  <wingo@pobox.com>
8157
8158         * gst/gst.h: Include glib-compat.h.
8159
8160         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8161
8162         * gst/glib-compat.c: Include the public and the private header.
8163
8164         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8165
8166         * gst/gstvalue.c: 
8167         * gst/gstpad.c: 
8168         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8169
8170         * check/gst/gstevent.c (create_custom_events): Check that
8171         FLUSH_STOP is serialized.
8172
8173         * check/elements/identity.c (event_func): 
8174         * check/elements/fakesrc.c (event_func): No stream lock, the core
8175         takes it.
8176
8177         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8178         stream lock taking, yay.
8179
8180         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8181         ensure that core takes the stream lock.
8182
8183         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8184         lock name change.
8185
8186         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8187         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8188         it already. For the flush start we do take it though so we get the
8189         right preroll state change messages.
8190
8191         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8192         the stream lock here, the core does it for us.
8193
8194         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8195         GST_STREAM_GET_LOCK.
8196         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8197         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8198         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8199         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8200         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8201         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8202
8203         * gst/gstpad.c: Update for stream lock name change.
8204
8205         * gst/base/gstbasesink.c: Update for preroll lock name change.
8206
8207 2005-11-21  Wim Taymans  <wim@fluendo.com>
8208
8209         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8210         (gst_clock_get_master):
8211         * gst/gstclock.h:
8212         * gst/gstsystemclock.c: (gst_system_clock_init):
8213         Convert Clock flags to object flags.
8214         Added methods to manage master/slave clocks.
8215
8216 2005-11-21  Wim Taymans  <wim@fluendo.com>
8217
8218         * check/gst/gstsegment.c: (GST_START_TEST):
8219         * docs/design/part-TODO.txt:
8220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8221         (gst_base_sink_event), (gst_base_sink_do_sync),
8222         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8223         (gst_base_sink_query), (gst_base_sink_change_state):
8224         * gst/base/gstbasesink.h:
8225         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8226         (gst_base_src_default_newsegment),
8227         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8228         (gst_base_src_get_range), (gst_base_src_loop),
8229         (gst_base_src_change_state):
8230         * gst/base/gstbasesrc.h:
8231         * gst/base/gstbasetransform.c:
8232         (gst_base_transform_prepare_output_buf),
8233         (gst_base_transform_event), (gst_base_transform_change_state):
8234         * gst/base/gstbasetransform.h:
8235         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8236         (gst_collect_pads_event):
8237         * gst/base/gstcollectpads.h:
8238         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8239         (gst_fake_src_create):
8240         * gst/elements/gstfakesrc.h:
8241         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8242         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8243         (gst_segment_set_last_stop), (gst_segment_set_seek),
8244         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8245         (gst_segment_to_running_time), (gst_segment_clip):
8246         * gst/gstsegment.h:
8247         More segment updates, replace code in plugins with segment
8248         helper functions.
8249
8250 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8251
8252         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8253         Don't ignore sscanf results
8254
8255 2005-11-21  Andy Wingo  <wingo@pobox.com>
8256
8257         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8258
8259         * *.h:
8260         * *.c: Ran scripts/update-macros. Oh yes.
8261
8262         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8263         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8264         GST_GET_LOCK, etc.
8265
8266         * scripts/update-macros: New script. Run it on your files to
8267         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8268         well.
8269
8270 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8271
8272         * docs/gst/Makefile.am:
8273         * docs/gst/gstreamer-docs.sgml:
8274         * docs/gst/gstreamer-sections.txt:
8275         * docs/gst/gstreamer.types:
8276         * gst/gstinfo.h:
8277           more docs fixes, add new api to the docs
8278
8279 2005-11-21  Andy Wingo  <wingo@pobox.com>
8280
8281         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8282         state_broadcast call.
8283
8284         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8285
8286 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8287
8288         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8289         function calls for arrays.
8290
8291 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8292
8293         * docs/random/ensonic/media-device-daemon.txt:
8294           wild idea, can this be done?
8295         * docs/gst/gstreamer-sections.txt:
8296         * gst/gsterror.h:
8297         * gst/gstfilter.c:
8298         * gst/gstfilter.h:
8299         * gst/gstplugin.h:
8300         * gst/gstpluginfeature.c:
8301         * gst/gsttrace.c:
8302         * gst/gstvalue.c:
8303         * gst/gstvalue.h:
8304           doc fixes and additions
8305
8306 2005-11-21  Andy Wingo  <wingo@pobox.com>
8307
8308         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8309         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8310         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8311         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8312         private to the basesrc implementation.
8313
8314         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8315         behalf of event function if necessary. It should no longer be
8316         necessary to take the stream lock in pad's event functions. Fixes
8317         #320299.
8318
8319 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8320         * docs/gst/gstreamer-sections.txt:
8321         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8322         (gst_structure_fixate_field_nearest_double),
8323         (gst_structure_fixate_field_boolean):
8324         * gst/gststructure.h:
8325         * win32/common/libgstreamer.def:
8326         * win32/gstreamer.def:
8327
8328         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8329         (#322027)
8330
8331 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8332
8333         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8334         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8335         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8336         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8337         (gst_fdsrc_uri_handler_init):
8338         * gst/elements/gstfdsrc.h:
8339           Port fd:// URI handler from 0.8 to fdsrc
8340
8341 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8342
8343         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8344         (gst_value_serialize_fourcc):
8345         * gst/gstvalue.h:
8346           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8347           consistent with our other format defines (#320324).
8348
8349 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8350
8351         * gst/gstvalue.c: (gst_value_is_fixed):
8352           Revert previous commit. Value lists are by definition
8353           not fixed, as they are a list of possible values.
8354
8355 2005-11-21  Andy Wingo  <wingo@pobox.com>
8356
8357         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8358         during the stable series if we need it. Fixes #319178.
8359
8360         * gst/gstevent.c (gst_event_new_filler): Removed.
8361
8362         * check/gst/gstevent.c: Update comment about filler events.
8363
8364 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * gst/gstvalue.c: (gst_value_is_fixed):
8367           Should handle both value arrays and value lists.
8368
8369 2005-11-21  Andy Wingo  <wingo@pobox.com>
8370
8371         patch by: Alessandro Dessina <alessandro nnva org>
8372
8373         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8374         functions to access arrays. Fixes #321962.
8375
8376 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8377
8378         * docs/gst/gstreamer.types:
8379           gst_collectpads_get_type => gst_collect_pads_get_type.
8380           
8381         * gst/base/gstbasetransform.c:
8382           Remove unused SIGNAL_HANDOFF enum.
8383
8384 2005-11-21  Andy Wingo  <wingo@pobox.com>
8385
8386         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8387         the event type (upstream, downstream, serialized). Renamed
8388         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8389         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8390         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8391
8392         * gst/gstevent.c: Update for new CUSTOM event names.
8393
8394         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8395
8396         * gst/gstevent.h:
8397         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8398         bug #319392.
8399
8400 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8401
8402         * docs/gst/gstreamer-sections.txt:
8403         * win32/common/libgstbase.def:
8404         * win32/libgstbase.def:
8405         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8406         (gst_collect_pads_class_init), (gst_collect_pads_init),
8407         (gst_collect_pads_finalize), (gst_collect_pads_new),
8408         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8409         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8410         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8411         (gst_collect_pads_start), (gst_collect_pads_stop),
8412         (gst_collect_pads_peek), (gst_collect_pads_pop),
8413         (gst_collect_pads_available), (gst_collect_pads_read),
8414         (gst_collect_pads_flush), (gst_collect_pads_event),
8415         (gst_collect_pads_chain):
8416         * gst/base/gstcollectpads.h:
8417           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8418           unimplemented functions as unimplemented. Add padding to
8419           GstCollectData. (#320766, #320423)
8420
8421 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8422
8423         * gst/gstmessage.c:
8424           Improve docs for DURATION message (usage of duration parameter)
8425           (#320113)
8426
8427 2005-11-20  Wim Taymans  <wim@fluendo.com>
8428
8429         * check/Makefile.am:
8430         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8431         (main):
8432         * gst/Makefile.am:
8433         * gst/gst.h:
8434         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8435         (gst_segment_set_seek), (gst_segment_set_newsegment),
8436         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8437         (gst_segment_clip):
8438         * gst/gstsegment.h:
8439         Added segment helper structure and methods. Not fully implemented
8440         yet.
8441         Added segment check.
8442
8443 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8444
8445         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8446           Add a deserialisation test for fractions
8447         * examples/metadata/read-metadata.c: (message_loop),
8448         (make_pipeline), (main):
8449           Fix up metadata reading sample.
8450         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8451           Debug format fix
8452         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8453           Don't try and fixate empty caps
8454         * gst/gst_private.h:
8455           Wrap in G_BEGIN_DECLS/G_END_DECLS
8456         * gst/gstvalue.c: (gst_value_collect_fraction),
8457         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8458         (gst_value_transform_string_fraction),
8459         (gst_value_compare_fraction):
8460           Add some extra guards to ensure that we don't end up 
8461           with an invalid denominator of 0 in a gstfraction and
8462           that fractions always get reduced.
8463
8464 2005-11-20  Wim Taymans  <wim@fluendo.com>
8465
8466         * docs/gst/gstreamer-sections.txt:
8467         * gst/gstbuffer.h:
8468         * gst/gstelement.c:
8469         * gst/gstformat.c:
8470         * gst/gstformat.h:
8471         * gst/gstindex.h:
8472         * gst/gstquery.c:
8473         * gst/gstquery.h:
8474         * gst/gstvalue.c:
8475         Doc fixes.
8476
8477 2005-11-20  Wim Taymans  <wim@fluendo.com>
8478
8479         * docs/design/part-TODO.txt:
8480         * gst/gstcaps.h:
8481         Make a proper enum of the flag.
8482
8483 2005-11-19  Wim Taymans  <wim@fluendo.com>
8484
8485         * docs/design/part-TODO.txt:
8486         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8487         (gst_format_to_quark), (gst_format_register):
8488         * gst/gstformat.h:
8489         * gst/gstquery.c: (_gst_query_initialize),
8490         (gst_query_type_get_name), (gst_query_type_to_quark),
8491         (gst_query_type_register):
8492         * gst/gstquery.h:
8493         Add type to quark and type to string conversions.
8494
8495 2005-11-19  Andy Wingo  <wingo@pobox.com>
8496
8497         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8498         #320097.
8499
8500 2005-11-19  Wim Taymans  <wim@fluendo.com>
8501
8502         * docs/design/part-TODO.txt:
8503         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8504         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8505         (gst_bin_handle_message_func):
8506         * gst/gstbin.h:
8507         Make message handling overridable.
8508
8509 2005-11-19  Andy Wingo  <wingo@pobox.com>
8510
8511         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8512
8513         * gst/gstclock.h:
8514         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8515         be a GstClockTime.
8516         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8517         is a GstClockTime. Fixes #321710.
8518
8519         * gst/gstclock.h (GstClock): Remove offset property. Add
8520         internal_calibration and external_calibration. Fix padding. Pad
8521         also by GstClockTime so we don't run into problems.
8522
8523         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8524         (gst_clock_get_rate_offset): Remove.
8525         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8526
8527         * gst/gstutils.h:
8528         * gst/gstutils.c (g_static_rec_cond_wait)
8529         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8530
8531         * gst/gstbin.c: Remove terrible continue_state prototype.
8532
8533         * gst/gstelement.h (gst_element_continue_state): Make public.
8534
8535         * gst/gstelement.h:
8536         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8537         by continue_state. Fixes #319389.
8538
8539         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8540         Really fixes #168438. However I don't see anywhere where the
8541         filter function is called... stupid GStreamer...
8542         
8543         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8544         don't have a dispose function, so it won't get called when the
8545         object is unreffed, but oh well!
8546
8547         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8548         allows a destroy function to be set so user_data can be freed.
8549         Fixes #168438.
8550         (gst_index_set_filter): Call gst_index_set_filter_full.
8551
8552         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8553
8554         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8555         string should produce an error, given the lack of a way to
8556         represent NULL strings. Fixes #165650.
8557         
8558         * gst/gstvalue.h: 
8559         * gst/gstvalue.c (gst_value_array_append_value) 
8560         (gst_value_array_prepend_value, gst_value_array_get_size) 
8561         (gst_value_array_get_value): New API, copied from
8562         gst_value_list_*, only operates on arrays.
8563         (gst_value_list_append_value, gst_value_list_prepend_value) 
8564         (gst_value_list_concat, gst_value_list_get_size) 
8565         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8566
8567         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8568         init_list, because it works on both.
8569         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8570         (gst_value_copy_list_or_array): Renamed from copy_list.
8571         (gst_value_free_list_or_array): Renamed from free_list.
8572         (gst_value_collect_list_or_array): Renamed from collect_list.
8573         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8574         (gst_value_list_or_array_peek_pointer): Renamed from
8575         list_peek_pointer.
8576         (_gst_value_array_value_table, _gst_value_list_value_table):
8577         Update value table functions.
8578         (gst_value_compare_list_or_array): Renamed from compare_list.
8579
8580         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8581         some constness.
8582
8583         * gst/gsttaglist.c:
8584         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8585         GstTagList*. Fixes #143472.
8586
8587         * gst/gststructure.h: Clarify what the foreach/map functions can
8588         or can't do to their arguments.
8589
8590 2005-11-18  Wim Taymans  <wim@fluendo.com>
8591
8592         * gst/gstclock.c: (gst_clock_set_calibration),
8593         (gst_clock_get_calibration):
8594         Doc and API fixes.
8595         Calibration can be set with internal time equal to current
8596         internal time too.
8597
8598 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8599
8600         * gst/gsterror.c:
8601         * gst/gsterror.h:
8602           document
8603
8604 2005-11-18  Andy Wingo  <wingo@pobox.com>
8605
8606         * configure.ac: 
8607         * pkgconfig/gstreamer-net.pc.in:
8608         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8609         * pkgconfig/Makefile.am: Add net pkgconfig files.
8610
8611 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8612
8613         * gst/gstcaps.c:
8614         * gst/gstghostpad.c:
8615         * gst/gsttrace.c:
8616         * gst/gstvalue.c:
8617         * gst/gstvalue.h:
8618           docs fixes
8619
8620 2005-11-18  Andy Wingo  <wingo@pobox.com>
8621
8622         * gst/net/gstnetclientclock.c: Turn off debugging.
8623
8624         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8625         times connverge somewhat. Can't make a real test.
8626
8627         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8628         integer arithmetic. Return the minimum of the domain, which can be
8629         set as "internal" for gst_clock_set_calibration.
8630         (gst_net_client_clock_observe_times): Call _set_calibration.
8631         (gst_net_client_clock_new): Call _set_calibration instead of
8632         rate_offset.
8633
8634         * check/net/gstnetclientclock.c (test_functioning): Use the right
8635         adjustment api.
8636
8637         * gst/gstclock.h:
8638         * gst/gstclock.c (gst_clock_get_calibration) 
8639         (gst_clock_set_calibration): New functions, obsolete the ones I
8640         added yesterday. Doh. Precision issues mean we have to extrapolate
8641         from a point in the more recent past than 1970.
8642         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8643         obsolete.
8644         (gst_clock_adjust_unlocked): Use the right calibration data.
8645
8646 2005-11-18  Edward Hervey  <edward@fluendo.com>
8647
8648         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8649         Also reset the ->current_* values in READY->PAUSED
8650
8651 2005-11-18  Andy Wingo  <wingo@pobox.com>
8652
8653         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8654         Whoops, check the right fd. Also add some debugging.
8655         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8656         (do_linear_regression): Add a crapload of debugging. Subtract off
8657         the minimum values from the input series to discard unneeded bits.
8658         Use only int arithmetic. There is still double arithmetic when
8659         calculating the intercept that needs fixing. Return boolean to
8660         indicate success; FALSE would mean the domain or range is too
8661         great. Still needs fixes.
8662
8663 2005-11-18  Wim Taymans  <wim@fluendo.com>
8664
8665         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8666         For the current position in stream time, we need to subtract
8667         accumulated time.
8668         
8669         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8670         Release lock before calling the callback function of async
8671         entries.
8672
8673 2005-11-18  Andy Wingo  <wingo@pobox.com>
8674
8675         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8676         Port goes all the way to MAXUINT16.
8677
8678         * gst/net/gstnettimeprovider.c: Make the port range the same as
8679         for the kernel: 0 assigns, otherwise ports are less than
8680         MAXUINT16.
8681
8682         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8683         port change.
8684
8685         * check/net/gstnetclientclock.c (test_functioning): Add the start
8686         of another test. 
8687
8688 2005-11-18  Wim Taymans  <wim@fluendo.com>
8689
8690         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8691         (gst_bin_remove_func), (bin_bus_handler):
8692         * gst/gstbin.h:
8693         Removing a clock provider from a bin, triggers a clock lost message
8694         so that a new clock will be selected.
8695         Adding a clock to a bin triggers a clock provider message.
8696         Make sure we reselect a clock when we received a clock lost message.
8697         Keep a reference to the element that provided the clock.
8698
8699 2005-11-18  Andy Wingo  <wingo@pobox.com>
8700
8701         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8702         the clock initially so it produces values around the base time.
8703         (gst_net_client_clock_class_init): Typo fix.
8704         (gst_net_client_clock_thread): Add note on when the socket gets
8705         closed.
8706
8707 2005-11-17  Wim Taymans  <wim@fluendo.com>
8708
8709         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8710         Free remote and local time arrays.
8711
8712 2005-11-17  Wim Taymans  <wim@fluendo.com>
8713
8714         * gst/net/gstnetclientclock.c: (do_linear_regression),
8715         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8716         Fix compilation, uninitialized vars and a forgotten continue.
8717
8718 2005-11-17  Andy Wingo  <wingo@pobox.com>
8719
8720         * check/Makefile.am (check_PROGRAMS): 
8721         * check/net/gstnetclientclock.c: Add a most minimal test for the
8722         net client clock. More to come later.
8723
8724         * gst/net/gstnet.h: 
8725         * gst/net/Makefile.am: Add netclientclock.
8726
8727         * gst/net/gstnetclientclock.h:
8728         * gst/net/gstnetclientclock.c: New files, implement an untested
8729         GstClock that takes its time from a network time provider.
8730         Implements the algorithm in network-clock.scm.
8731
8732         * tests/network-clock.scm (*window-size*): Rename from
8733         *queue-length*.
8734         * tests/network-clock.scm (network-time): 
8735         * tests/network-clock-utils.scm (q-push): Update callers.
8736
8737 2005-11-17  Wim Taymans  <wim@fluendo.com>
8738
8739         * gst/gstbin.c: (gst_bin_provide_clock_func),
8740         (gst_bin_sort_iterator_new):
8741         And unref the child too..
8742
8743 2005-11-17  Wim Taymans  <wim@fluendo.com>
8744
8745         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8746         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8747         Refactor the sort iterator so it can be used while holding the
8748         LOCK too.
8749         Make clock selection select a clock closest to the source.
8750
8751 2005-11-17  Michael Smith <msmith@fluendo.com>
8752
8753         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8754         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8755         * gst/gstclock.h:
8756           Anonymous structs are a gcc (and some other compilers) extension, so
8757           don't use them. Since this is only for ABI-compatibility, and our
8758           API/ABI freeze is over in a few days, this whole thing will only
8759           last a few days, so don't bother trying to think up a meaningful
8760           name for the struct.
8761
8762 2005-11-17  Andy Wingo  <wingo@pobox.com>
8763
8764         * gst/gstclock.h (GstClock): Add rate and offset properties,
8765         preserving ABI stability. Add rate/offset accessors. Will file bug
8766         for the freeze break.
8767
8768         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8769         and offset, trying to keep precision and avoiding
8770         underflow/overflow.
8771         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8772         functions. Make gst_clock_set_time_adjust obsolete.
8773         (gst_clock_set_time_adjust): Note that this function is obsolete.
8774         Will file bug soon.
8775
8776         * gst/base/gstbasetransform.h: Make the ABI-stability hack
8777         greppable by using GST_PADDING-1+1.
8778
8779 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
8780
8781         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8782
8783         * gst/gstmessage.c: (gst_message_parse_clock_lost):
8784           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8785
8786         * gst/gstpadtemplate.h:
8787         * gst/gstpluginfeature.h:
8788           Don't use c++ style comments in headers (#321638).
8789
8790 2005-11-16  Andy Wingo  <wingo@pobox.com>
8791
8792         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8793         buffer.
8794
8795         * check/net/gstnettimeprovider.c: Check to see that the time
8796         provider actually provides times. Works, yo!
8797
8798 2005-11-16  Wim Taymans  <wim@fluendo.com>
8799
8800         * check/Makefile.am:
8801         Enable more tests.
8802
8803         * check/elements/fakesrc.c: (GST_START_TEST):
8804         Set element to NULL before disposing it.
8805
8806 2005-11-16  Andy Wingo  <wingo@pobox.com>
8807
8808         * gst/net/Makefile.am:
8809         * gst/net/gstnet.h:
8810         * gst/net/gstnettimeprovider.c: 
8811         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8812         provider, include it from gstnet.h, and add it to the build.
8813
8814         * gst/net/gstnettimepacket.h: 
8815         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8816         sending and receiving.
8817
8818 2005-11-16  Wim Taymans  <wim@fluendo.com>
8819
8820         * check/Makefile.am:
8821         Enable valgrind check.
8822
8823         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8824         (gst_fake_src_alloc_buffer):
8825         Fix memleak.
8826
8827 2005-11-16  Wim Taymans  <wim@fluendo.com>
8828
8829         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8830         Call parent finalize too.
8831
8832 2005-11-16  Wim Taymans  <wim@fluendo.com>
8833
8834         * check/Makefile.am:
8835         Enable valgrind check that should work fine now.
8836
8837         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8838         * gst/gstqueue.c: (gst_queue_init):
8839         Fix memleaks in pad allocation.
8840
8841 2005-11-16  Andy Wingo  <wingo@pobox.com>
8842
8843         * gst/net/Makefile.am:
8844         * gst/net/gstnet.h: New part of core to hold network elements and
8845         objects. Put in core because it exposes API that applications want
8846         to use. The library is named libgstnet-tempname right now because
8847         of the existing libgstnet in gst-plugins-base. Solution is
8848         probably to rename the one in plugins-base; will file a bug for
8849         the freeze break.
8850
8851         * gst/net/gstnettimeprovider.c: 
8852         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8853         get_time call over the network.
8854
8855         * configure.ac: 
8856         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8857
8858         * check/Makefile.am:
8859         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8860         get additions shortly.
8861
8862 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8863
8864         * gst/gstpad.c: (gst_pad_new_from_static_template):
8865         * gst/gstpad.h:
8866           add gst_pad_new_from_static_template functions
8867         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8868         (gst_check_setup_sink_pad):
8869         * gst/elements/gsttee.c: (gst_tee_init):
8870           and use them
8871
8872 2005-11-16  Wim Taymans  <wim@fluendo.com>
8873
8874         * gst/gstpad.c: (gst_pad_pause_task):
8875         Removed warning, it's not really an error either.
8876
8877 2005-11-16  Wim Taymans  <wim@fluendo.com>
8878
8879         * gst/base/gstbasetransform.c:
8880         (gst_base_transform_prepare_output_buf),
8881         (gst_base_transform_event):
8882         Check if the caps are NULL, this can happen if the element
8883         is shutting down and the pad caps are set to NULL.
8884
8885 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8886
8887         * gst/elements/gsttee.c: (gst_tee_init):
8888           fix pad template leak in tee
8889
8890 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8891
8892         * gst/glib-compat.c: (g_value_dup_gst_object):
8893         * gst/glib-compat.h:
8894         * gst/gstpad.c: (gst_pad_set_property):
8895           use gst_object_ref when setting the pad template; this will
8896           trigger the pad template leaks on GLib 2.6 and the slaves
8897
8898 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8899
8900         * gst/glib-compat.c: (gst_flags_get_first_value):
8901         * gst/glib-compat.h:
8902         * gst/gstregistryxml.c:
8903           remove functions copied from GLib 2.6
8904
8905 2005-11-16  Michael Smith <msmith@fluendo.com>
8906
8907         * gst/Makefile.am:
8908           Don't link against VALGRIND_LIBS. That was always the wrong thing to
8909           do, but only breaks with newer valgrind versions. We're not a
8910           valgrind tool, we have no link-time dependencies on libcoregrind.
8911
8912 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8913
8914         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8915           some debug changes
8916         * gst/gstmessage.h:
8917           typo fixes
8918
8919 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8920
8921         * gst/base/gstbasesrc.c: (gst_base_src_init):
8922         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8923         * gst/gstqueue.c: (gst_queue_init):
8924         * gst/gstregistryxml.c: (load_feature):
8925           Revert all these unrefs, they don't even pass make check !
8926
8927 2005-11-15  Johan Dahlin  <johan@gnome.org>
8928
8929         * gst/base/gstbasesrc.c: (gst_base_src_init):
8930         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8931         * gst/gstqueue.c: (gst_queue_init): 
8932         Free pad templates, fixes a couple of leaks.
8933
8934 2005-11-15  Daniel Fischer  <dan at f3c dot com>
8935
8936         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8937
8938         * gst/gstpad.c: (gst_pad_get_property):
8939           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8940           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8941           (#321452)
8942
8943 2005-11-15  Wim Taymans  <wim@fluendo.com>
8944
8945         * gst/gstevent.c:
8946         Small doc update.
8947
8948 2005-11-15  Andy Wingo  <wingo@pobox.com>
8949
8950         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8951
8952         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8953         using GST_CLOCK_TIME_NONE to disable base time management.
8954         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8955         time if it was NONE before.
8956         (gst_pipeline_change_state): Only munge the base time if
8957         stream_time != GST_CLOCK_TIME_NONE.
8958
8959         * check/gst/gstpipeline.c (test_base_time): Punt around the
8960         problem of the probe not being called, because that's not the
8961         issue I'm looking at. Add a check that setting stream_time to NONE
8962         disables base time management.
8963         
8964 2005-11-15  Wim Taymans  <wim@fluendo.com>
8965
8966         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8967         segment_stop == -1 at startup.
8968
8969         * gst/base/gstbasetransform.c: (gst_base_transform_event),
8970         (gst_base_transform_change_state):
8971         Init segment values at start.
8972
8973 2005-11-15  Wim Taymans  <wim@fluendo.com>
8974
8975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8976         0 segment values are 0 in any format.
8977
8978         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8979         * gst/base/gstbasetransform.h:
8980         Parse newsegment correctly in basetransform
8981
8982         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8983         Sync to clock using updated segment values.
8984
8985 2005-11-15  Andy Wingo  <wingo@pobox.com>
8986
8987         * check/gst/gstpipeline.c (test_base_time): Add check that the
8988         base time and stream time are reset correctly.
8989
8990 2005-11-15  Wim Taymans  <wim@fluendo.com>
8991
8992         * docs/design/part-TODO.txt:
8993         Some more TODO items.
8994
8995 2005-11-15  Andy Wingo  <wingo@pobox.com>
8996
8997         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8998         error if the user selected "no clock" as the clocking method.
8999
9000         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9001         timestamps with live capture.
9002
9003         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9004         is 0 but we are a live source, timestamp the buffers using the
9005         element's clock.
9006
9007 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9008
9009         * docs/gst/gstreamer-sections.txt:
9010         * gst/gsterror.c:
9011         * gst/gstghostpad.c:
9012         * gst/gstobject.h:
9013         * gst/gstxml.c:
9014           more section docs
9015
9016 2005-11-14  Wim Taymans  <wim@fluendo.com>
9017
9018         * common/gst.supp:
9019           add suppressions from Wim's Debian machine
9020
9021 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9022
9023         * common/gst.supp:
9024           add suppressions from Andy's AMD64 Ubuntu machine
9025
9026 2005-11-14  Andy Wingo  <wingo@pobox.com>
9027
9028         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9029         STATE_LOCK not necessary. Fixes #311489.
9030
9031         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9032         #305291.
9033
9034         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9035         this function is not implemented.
9036
9037 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9038
9039         * gst/base/gstbasetransform.c:
9040         (gst_base_transform_prepare_output_buf):
9041         Ref the source pad caps while we need them.
9042         Fixes (#321386)
9043
9044 2005-11-11  Wim Taymans  <wim@fluendo.com>
9045
9046         * docs/gst/gstreamer-sections.txt:
9047         Added some docs for GstCollectData.
9048
9049         * gst/base/gstadapter.c:
9050         Some small code example fix.
9051
9052         * gst/base/gstcollectpads.c:
9053         * gst/base/gstcollectpads.h:
9054         Document some more.
9055
9056 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9057
9058         * configure.ac: back to HEAD
9059
9060 === release 0.9.5 ===
9061
9062 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9063
9064         * configure.ac:
9065           releasing 0.9.5, "Bike Lunch Day"
9066
9067 2005-11-11  Wim Taymans  <wim@fluendo.com>
9068
9069         * gst/gstbuffer.c: (_gst_buffer_copy):
9070         Copy more flags.
9071
9072         * gst/gstcaps.c: (gst_caps_is_equal):
9073         Fix some docs.
9074         Make _is_equal fast in the trivial cases.
9075
9076         * gst/gstminiobject.c:
9077         * gst/gstminiobject.h:
9078         More docs. Spifify .h file.
9079
9080         * gst/gstutils.c:
9081         Small doc update.
9082
9083 2005-11-11  Wim Taymans  <wim@fluendo.com>
9084
9085         * gst/base/gstbasetransform.c:
9086         (gst_base_transform_prepare_output_buf),
9087         (gst_base_transform_handle_buffer):
9088         Small cleanups.
9089         If we're processing a buffer and need to allocate an output
9090         buffer, we cannot accept a format change. If we did get a 
9091         format change, we have to alloc a buffer ourselves of the 
9092         right size.
9093
9094 2005-11-11  Wim Taymans  <wim@fluendo.com>
9095
9096         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9097         While checking the flag for reentrancy in the gstcaps function
9098         is nice to detect recursive invocations, it also makes it 
9099         impossible to call getcaps from multiple threads, which must be
9100         possible. So, checking for recursive calls has to go.
9101
9102 2005-11-11  Michael Smith <msmith@fluendo.com>
9103
9104         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9105           Don't sync on buffers that fall partially outside our current
9106           segment. Prevents an assertion failure/abort playing some files.
9107
9108 2005-11-10  Andy Wingo  <wingo@pobox.com>
9109
9110         * check/gst/gstbin.c (test_message_state_changed_children): Style
9111         fix..
9112
9113         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9114         gst_bus_poll with the signal watch. Ensures that poll and a signal
9115         watch see the same messages.
9116
9117         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9118         a poll and a watch at the same time get the same messages.
9119
9120 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9121
9122         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9123         * gst/gstcaps.c: (gst_caps_intersect):
9124           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9125           and it's not needed.
9126
9127 2005-11-10  Wim Taymans  <wim@fluendo.com>
9128
9129         * docs/design/part-TODO.txt:
9130         Updated todo.
9131
9132 2005-11-10  Wim Taymans  <wim@fluendo.com>
9133
9134         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9135         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9136         (gst_base_src_do_sync), (gst_base_src_get_range):
9137         Implement clock sync in base class.
9138
9139 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9140
9141         patch by: Tim-Philipp Müller <tim at centricular dot net>
9142
9143         * gst/gststructure.c: (gst_structure_parse_field),
9144         (gst_structure_from_string):
9145           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9146           so that gst_parse_launch() can deal with spaces in filtered link
9147           caps (fixes #164479)
9148         * check/gst/capslist.h:
9149         * check/gst/gststructure.c: (GST_START_TEST):
9150           add unit tests for this change
9151
9152 2005-11-10  Wim Taymans  <wim@fluendo.com>
9153
9154         * docs/gst/gstreamer-sections.txt:
9155         * gst/gstelement.c:
9156         * gst/gstelement.h:
9157         Fix docs, move some STATE macros to private.
9158
9159 2005-11-10  Wim Taymans  <wim@fluendo.com>
9160
9161         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9162         Added check for bug #317341
9163
9164         * gst/gstbuffer.c:
9165         * gst/gstbuffer.h:
9166         Some more spiffifying.
9167
9168         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9169         Call peer linkfunction if we are a source pad. Totally fixes
9170         #317341
9171
9172         * gst/gstpad.c:
9173         Update docs, source pads should call the peer linkfunction
9174         so they can atomically perform the pad link.
9175
9176 2005-11-09  Wim Taymans  <wim@fluendo.com>
9177
9178         * gst/gstbuffer.c:
9179         * gst/gstbuffer.h:
9180         Uber-spiffy-spiffify some more.
9181
9182 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9183
9184         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9185         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9186         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9187         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9188         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9189         * gst/gstpad.c: (gst_pad_init):
9190           Use GST_DEBUG_FUNCPTR() more extensively.
9191
9192 2005-11-09  Wim Taymans  <wim@fluendo.com>
9193
9194         * gst/gstobject.c: (gst_object_class_init):
9195         * gst/gstobject.h:
9196         Documentation fixes.
9197
9198 2005-11-09  Edward Hervey  <edward@fluendo.com>
9199
9200         * gst/gsttypefindfactory.c:
9201         Fix docs.
9202         
9203 2005-11-09  Edward Hervey  <edward@fluendo.com>
9204
9205         * gst/base/gsttypefindhelper.c:
9206         * gst/gsttypefind.c:
9207         * gst/gsttypefind.h:
9208         Fix docs.
9209
9210 2005-11-09  Wim Taymans  <wim@fluendo.com>
9211
9212         * gst/gstiterator.c:
9213         Fix revision data.
9214
9215         * gst/gsttask.c:
9216         * gst/gsttask.h:
9217         Fix docs.
9218
9219 2005-11-09  Wim Taymans  <wim@fluendo.com>
9220
9221         * gst/gstevent.h:
9222         * gst/gsturi.h:
9223         Fix docs.
9224
9225 2005-11-09  Wim Taymans  <wim@fluendo.com>
9226
9227         * docs/gst/gstreamer-sections.txt:
9228         Moved the message async delivery private lock and cond
9229         to the private section.
9230
9231         * gst/gstmessage.c:
9232         * gst/gstmessage.h:
9233         Fixed docs.
9234
9235 2005-11-09  Edward Hervey  <edward@fluendo.com>
9236
9237         * docs/gst/gstreamer-sections.txt:
9238         * gst/gsturi.c:
9239         * gst/gsturi.h:
9240         Document GstURIHandler
9241
9242 2005-11-09  Wim Taymans  <wim@fluendo.com>
9243
9244         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9245         (gst_iterator_find_custom):
9246         * gst/gstiterator.h:
9247         Fix iterator docs.
9248
9249 2005-11-09  Wim Taymans  <wim@fluendo.com>
9250
9251         * gst/gstbin.h:
9252         Document another field.
9253
9254         * gst/gststructure.c:
9255         * gst/gststructure.h:
9256         Document.
9257
9258 2005-11-09  Wim Taymans  <wim@fluendo.com>
9259
9260         * gst/gstbin.h:
9261         Documented structs.
9262
9263 2005-11-09  Wim Taymans  <wim@fluendo.com>
9264
9265         * docs/gst/gstreamer-sections.txt:
9266         Added some new macros.
9267
9268         * gst/gstclock.c:
9269         * gst/gstclock.h:
9270         * gst/gstobject.h:
9271         Docs updates.
9272
9273 2005-11-09  Wim Taymans  <wim@fluendo.com>
9274
9275         * docs/design/part-TODO.txt:
9276         Some more items for the TODO
9277
9278         * gst/gstcaps.c:
9279         * gst/gstcaps.h:
9280         Document GstCaps.
9281
9282 2005-11-09  Andy Wingo  <wingo@pobox.com>
9283
9284         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9285         to work on something else now tho...
9286
9287         * gst/base/gstadapter.c: More adapter docs.
9288
9289         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9290         (gst_file_sink_stop): New functions, replace the state change
9291         handler.
9292         (gst_file_sink_class_init): Hook up the start and stop functions.
9293         (gst_file_sink_base_init): Don't set the state change handler any
9294         more. It was a bit ugly too, being set from here...
9295         (gst_file_sink_get_property, gst_file_sink_set_property):
9296         Cleanups...
9297         (gst_file_sink_set_location): More robust check that doesn't call
9298         GST_STATE. Ugggggg.
9299
9300 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9301
9302         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9303           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9304
9305 2005-11-08  Wim Taymans  <wim@fluendo.com>
9306
9307         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9308         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9309         (gst_base_sink_chain), (gst_base_sink_change_state):
9310         * gst/base/gstbasesink.h:
9311         * gst/base/gstbasesrc.h:
9312         * gst/gstelement.h:
9313         * gst/gstevent.h:
9314         Avoid excessive typechecking in macros.
9315
9316         * gst/gstminiobject.c: (gst_mini_object_get_type),
9317         (gst_mini_object_init), (gst_mini_object_new),
9318         (gst_mini_object_free):
9319         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9320         (gst_object_finalize):
9321         Remove cruft code, optimize alloc_trace.
9322
9323 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9324
9325         * docs/faq/gst-uninstalled:
9326           fix up PS1 for systems that try to reset it
9327
9328 2005-11-07  Wim Taymans  <wim@fluendo.com>
9329
9330         * gst/base/gstbasesrc.c: (gst_base_src_init),
9331         (gst_base_src_get_range):
9332         Set the segment_end to -1 initially. Fixed typefind.
9333
9334 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9335
9336         * gst/base/gstadapter.c:
9337           Debug category should be 'adapter', not 'GstAdapter'.
9338           
9339         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9340         (gst_collectpads_class_init), (gst_collectpads_init),
9341         (gst_collectpads_peek), (gst_collectpads_pop),
9342         (gst_collectpads_event), (gst_collectpads_chain):
9343           Add debug category and some debugging output. Use boilerplate
9344           macros. Remove some extraneous words from docs.
9345
9346 2005-11-05  Andy Wingo  <wingo@pobox.com>
9347
9348         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9349         macro.
9350
9351 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * docs/gst/gstreamer-sections.txt:
9354         * gst/gstcaps.h:
9355         * gst/gstinfo.c:
9356         * gst/gstminiobject.h:
9357         * gst/gstobject.h:
9358         * gst/gstutils.h:
9359           more docs added
9360
9361 2005-11-04  Wim Taymans  <wim@fluendo.com>
9362
9363         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9364         Small update to stop at the configured segment_end
9365         position.
9366
9367 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9368
9369         * gst/gstregistry.c:
9370         * gst/gstregistry.h:
9371           added missing docs
9372
9373 2005-11-04  Edward Hervey  <edward@fluendo.com>
9374
9375         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9376         Check if we are doing a segment seek and have arrived at the
9377         end of that segment.
9378
9379 2005-11-04  Wim Taymans  <wim@fluendo.com>
9380
9381         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9382         Don't leak a mutex unlock in case of an error.
9383
9384         * gst/gstbus.h:
9385         Doc fixes.
9386
9387 2005-11-04  Wim Taymans  <wim@fluendo.com>
9388
9389         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9390         (gst_bus_post):
9391         Get the context to wake up only once.
9392
9393 2005-11-03  Wim Taymans  <wim@fluendo.com>
9394
9395         * check/states/sinks.c: (GST_START_TEST):
9396         Uncomment fixed check.
9397
9398         * docs/design/part-TODO.txt:
9399         Updated TODO.
9400
9401         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9402         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9403         (gst_base_sink_get_position):
9404         If we are going to PLAYING, post the right pending state
9405         when we post the intermediate paused message.
9406
9407         * gst/gstelement.c: (gst_element_continue_state),
9408         (gst_element_set_state_func), (gst_element_change_state):
9409         Don't post state changes that were between the same state
9410         and were not ASYNC.
9411
9412 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9413
9414         * docs/gst/gstreamer-sections.txt:
9415         * gst/gstcaps.h:
9416         * gst/gstinfo.c:
9417         * gst/gstminiobject.h:
9418         * gst/gstobject.h:
9419         * gst/gstutils.h:
9420           more docs and doc style fixes
9421
9422 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9423
9424         * docs/gst/gstreamer-sections.txt:
9425         * gst/gstelement.c:
9426         * gst/gstminiobject.c:
9427         doc fixes
9428
9429 2005-11-03  Andy Wingo  <wingo@pobox.com>
9430
9431         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9432         state-changed messages actually have the right order and the right
9433         values.
9434
9435 2005-11-03  Wim Taymans  <wim@fluendo.com>
9436
9437         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9438         Added some more checks. Specifically the case where NO_PREROLL
9439         elements are in the pipeline.
9440
9441         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9442         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9443         (gst_base_sink_get_position):
9444         Post READY->PAUSED state change messages too.
9445         Fix bug where VOID was posted as pending state...
9446
9447         * gst/gstbin.c: (gst_bin_recalc_state):
9448         use _element_continue_state() to continue the state change.
9449
9450         * gst/gstelement.c: (gst_element_continue_state),
9451         (gst_element_commit_state), (gst_element_set_state_func),
9452         (gst_element_change_state), (gst_element_change_state_func):
9453         Lots of state change cleanups, assign the STATE_RETURN in
9454         a new continue_state() function that also propagates the
9455         last return value from a state change to the app.
9456         Update some debug statements with proper category.
9457
9458 2005-11-03  Wim Taymans  <wim@fluendo.com>
9459
9460         * docs/design/part-events.txt:
9461         * docs/design/part-gstpipeline.txt:
9462         * docs/design/part-messages.txt:
9463         * docs/design/part-overview.txt:
9464         * docs/design/part-seeking.txt:
9465         * docs/design/part-states.txt:
9466         * docs/design/part-trickmodes.txt:
9467         * docs/manual/advanced-position.xml:
9468         Small docs updates.
9469
9470         * gst/gstobject.h:
9471         People think !! is ugly, this looks better.
9472
9473         * gst/gstpad.c: (gst_pad_set_blocked_async):
9474         Remove !! since it's fixed elsewhere now.
9475
9476 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9477
9478         * gst/gstminiobject.h:
9479         * gst/gstobject.h:
9480           Add !! to _FLAG_IS_SET macros to make the result boolean.
9481
9482 2005-11-03  Edward Hervey  <edward@fluendo.com>
9483
9484         * gst/gstpad.c: (gst_pad_set_blocked_async):
9485         comparing a flag and a gboolean rarely returns coherent results...
9486         Added two characters (!!) to make that work correctly.
9487         
9488 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9489
9490         * gst/gstbus.c: (gst_bus_class_init):
9491           Fix some typos.
9492           
9493         * gst/gstqueue.c: (gst_queue_loop):
9494           Don't assume a miniobject that isn't a buffer is an
9495           event (it could be that there is a refcounting
9496           problem somewhere and the pointer is stale and
9497           refers to an already destroyed miniobject).
9498
9499 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9500
9501         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9502
9503 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9504
9505         * docs/manual/advanced-position.xml:
9506           Update seek example and explanations to current 0.9 API.
9507
9508         * gst/elements/gsttypefindelement.c:
9509         (gst_type_find_element_activate):
9510           Remove FIXME comment now that the found caps
9511           are unreffed.
9512
9513 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9514
9515         * gst/gstregistryxml.c: (load_feature):
9516           Add another GST_STR_NULL instance
9517
9518 2005-11-02  Edward Hervey  <edward@fluendo.com>
9519
9520         * gst/gstpad.c: (handle_pad_block):
9521         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9522         
9523 2005-11-02  Wim Taymans  <wim@fluendo.com>
9524
9525         * gst/gstbin.c:
9526         Fix typo in docs.
9527
9528         * gst/gstelement.c: (gst_element_commit_state):
9529         Remove unused value.
9530
9531         * gst/gstiterator.c:
9532         Mention that the returned element is reffed in the docs.
9533
9534 2005-11-02  Wim Taymans  <wim@fluendo.com>
9535
9536         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9537         (gst_pad_push), (gst_pad_push_event):
9538         Unlock blocked pads when they are flushed.
9539
9540 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9541
9542         * docs/README:
9543         * docs/gst/gstreamer-sections.txt:
9544         * gst/gstbin.c:
9545           doc updates
9546         * gst/gstregistry.c: (gst_registry_scan_path_level):
9547           fix for a nasty little missed situation where an installed plug-in
9548           which was in the cache did not get overridden by an uninstalled one
9549           which was earlier in the plugin path because the newly created plugin
9550           for the uninstalled one (not in the registry) didn't get its
9551           ->registered set to TRUE
9552
9553 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9554
9555         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9556         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9557         (gst_collectpads_is_active), (gst_collectpads_collect),
9558         (gst_collectpads_collect_range), (gst_collectpads_start),
9559         (gst_collectpads_stop), (gst_collectpads_peek),
9560         (gst_collectpads_pop), (gst_collectpads_available),
9561         (gst_collectpads_read), (gst_collectpads_flush):
9562           Guard public API with assertions.
9563         
9564         * gst/gstpad.c:
9565           Fix docs for gst_pad_set_link_function().
9566
9567 2005-11-02  Johan Dahlin  <johan@gnome.org>
9568
9569         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9570         Unref found_caps after we used it.
9571
9572 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9573
9574         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9575           Don't try to ref NULL.
9576
9577 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9578
9579         * win32/common/config.h.in:
9580           provide a GST_FUNCTION that just gives a string for now
9581
9582 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9583
9584         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9585         (gst_object_flags_get_type), (register_gst_bin_flags),
9586         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9587         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9588         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9589         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9590         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9591         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9592         (gst_clock_flags_get_type), (register_gst_state),
9593         (gst_state_get_type), (register_gst_state_change_return),
9594         (gst_state_change_return_get_type), (register_gst_state_change),
9595         (gst_state_change_get_type), (register_gst_element_flags),
9596         (gst_element_flags_get_type), (register_gst_core_error),
9597         (gst_core_error_get_type), (register_gst_library_error),
9598         (gst_library_error_get_type), (register_gst_resource_error),
9599         (gst_resource_error_get_type), (register_gst_stream_error),
9600         (gst_stream_error_get_type), (register_gst_event_type),
9601         (gst_event_type_get_type), (register_gst_seek_type),
9602         (gst_seek_type_get_type), (register_gst_seek_flags),
9603         (gst_seek_flags_get_type), (register_gst_format),
9604         (gst_format_get_type), (register_gst_index_certainty),
9605         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9606         (gst_index_entry_type_get_type),
9607         (register_gst_index_lookup_method),
9608         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9609         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9610         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9611         (gst_index_flags_get_type), (register_gst_debug_level),
9612         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9613         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9614         (gst_iterator_result_get_type), (register_gst_iterator_item),
9615         (gst_iterator_item_get_type), (register_gst_message_type),
9616         (gst_message_type_get_type), (register_gst_mini_object_flags),
9617         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9618         (gst_pad_link_return_get_type), (register_gst_flow_return),
9619         (gst_flow_return_get_type), (register_gst_activate_mode),
9620         (gst_activate_mode_get_type), (register_gst_pad_direction),
9621         (gst_pad_direction_get_type), (register_gst_pad_flags),
9622         (gst_pad_flags_get_type), (register_gst_pad_presence),
9623         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9624         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9625         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9626         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9627         (gst_plugin_flags_get_type), (register_gst_rank),
9628         (gst_rank_get_type), (register_gst_query_type),
9629         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9630         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9631         (gst_tag_flag_get_type), (register_gst_task_state),
9632         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9633         (gst_alloc_trace_flags_get_type),
9634         (register_gst_type_find_probability),
9635         (gst_type_find_probability_get_type), (register_gst_uri_type),
9636         (gst_uri_type_get_type), (register_gst_parse_error),
9637         (gst_parse_error_get_type):
9638         * win32/common/gstversion.h:
9639           update win32 copies
9640
9641 2005-11-01  Luca Ognibene  <luogni@tin.it>
9642
9643         * gst/gst.c:
9644           fix docs. popt is dead, long live GOption.
9645
9646 2005-10-31  Wim Taymans  <wim@fluendo.com>
9647
9648         * gst/gstbuffer.h:
9649         Small doc fix.
9650
9651 2005-10-31  Andy Wingo  <wingo@pobox.com>
9652
9653         * Boo!
9654
9655         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9656
9657         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9658         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9659         the possibility of deadlocks here if code calling notify() or
9660         set() has a lock that can be taken in another notify handler (ABBA
9661         with class lock and e.g. python GIL state lock).
9662
9663 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9664
9665         * gst/gstbus.c: Doc updates.
9666
9667 2005-10-28  Wim Taymans  <wim@fluendo.com>
9668
9669         * docs/design/part-TODO.txt:
9670         * gst/gstiterator.c:
9671         * gst/gstsystemclock.c:
9672         * gst/gstsystemclock.h:
9673         Doc updates.
9674
9675 2005-10-28  Edward Hervey  <edward@fluendo.com>
9676
9677         * docs/gst/gstreamer-docs.sgml:
9678         * docs/gst/gstreamer-sections.txt:
9679         the GstURIType documentation page is private, it only defines GstURIType
9680         which should be defined in the GstURIHandler page
9681         
9682 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9683
9684         * gst/gstbin.c: (gst_bin_class_init):
9685         * gst/gstbin.h:
9686         * gst/gstutils.c:
9687         Documentation updates.
9688
9689 2005-10-28  Wim Taymans  <wim@fluendo.com>
9690
9691         * docs/gst/gstreamer-sections.txt:
9692         * gst/gstclock.c:
9693         * gst/gstclock.h:
9694         Documented the clocks.
9695
9696 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9697
9698         * docs/gst/gstreamer-sections.txt:
9699           move some macros to private sections
9700         * gst/gstminiobject.c:
9701         * gst/gstminiobject.h:
9702           add descriptions provided by ds and some more
9703         * gst/gstpad.h:
9704           mark macro as to be removed
9705
9706 2005-10-28  Wim Taymans  <wim@fluendo.com>
9707
9708         * docs/design/part-TODO.txt:
9709         Add an item to TODO.
9710
9711         * gst/gstiterator.c: (gst_iterator_fold),
9712         (gst_iterator_find_custom):
9713         * gst/gstiterator.h:
9714         Add iterator docs.
9715
9716 2005-10-28  Wim Taymans  <wim@fluendo.com>
9717
9718         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9719         (gst_base_transform_init):
9720         Don't leak class.
9721
9722         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9723         An EOS event marks the queue as completely filled.
9724
9725 2005-10-27  Wim Taymans  <wim@fluendo.com>
9726
9727         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9728         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9729         Some more debugging.
9730
9731         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9732         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9733         (gst_base_transform_event), (gst_base_transform_getrange),
9734         (gst_base_transform_chain):
9735         * gst/base/gstbasetransform.h:
9736         Fix debugging,
9737         Protect transform and concurrent buffer alloc with a new lock.
9738         Try not to break ABI/API.
9739
9740 2005-10-27  Wim Taymans  <wim@fluendo.com>
9741
9742         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9743         (gst_base_src_init), (gst_base_src_query),
9744         (gst_base_src_default_newsegment),
9745         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9746         (gst_base_src_send_event), (gst_base_src_event_handler),
9747         (gst_base_src_pad_get_range), (gst_base_src_loop),
9748         (gst_base_src_unlock), (gst_base_src_default_negotiate),
9749         (gst_base_src_start), (gst_base_src_deactivate),
9750         (gst_base_src_activate_push), (gst_base_src_change_state):
9751         Move some stuff around and cleanup things.
9752
9753 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
9754
9755         * gst/base/gstbasesrc.c: (gst_base_src_query):
9756           Add missing break statements.
9757
9758 2005-10-27  Wim Taymans  <wim@fluendo.com>
9759
9760         * check/gst/gstbin.c: (GST_START_TEST):
9761         An extra refcount is taken in basesrc.
9762
9763         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9764         (gst_base_src_get_range), (gst_base_src_pad_get_range),
9765         (gst_base_src_loop):
9766         Small cleanups, check for flushing after being unlocked from the 
9767         LIVE_LOCK. take refcounts correctly (not yet everywhere).
9768         Don't send out EOS when going to READY.
9769
9770 2005-10-27  Wim Taymans  <wim@fluendo.com>
9771
9772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9773         (gst_base_sink_get_position):
9774         Some more debug.
9775
9776         * gst/gstbin.c: (message_check), (bin_replace_message),
9777         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9778         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9779         (bin_query_duration_init), (bin_query_duration_fold),
9780         (bin_query_duration_done), (bin_query_generic_fold),
9781         (gst_bin_query):
9782         * tools/gst-launch.c: (main):
9783         Remove old option.
9784
9785 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
9786
9787         * examples/controller/audio-example.c: (main):
9788         * examples/queue/queue.c: (event_loop):
9789         * gst/base/gstbasetransform.h:
9790         * gst/gstelement.c: (gst_element_send_event):
9791         * gst/gstevent.h:
9792         * gst/gstpad.c: (gst_pad_send_event):
9793           fixing examples
9794           fixing docs typos
9795           changing log priority in error situations
9796
9797 2005-10-25  Wim Taymans  <wim@fluendo.com>
9798
9799         * gst/gstbin.c: (message_check), (bin_replace_message),
9800         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9801         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9802         (bin_query_duration_init), (bin_query_duration_fold),
9803         (bin_query_duration_done), (bin_query_generic_fold),
9804         (gst_bin_query):
9805         Some doc and debug updates.
9806         Cache previously requested query DURATION for speed. invalidate
9807         cached duration if element posts a DURATION message.
9808
9809 2005-10-25  Wim Taymans  <wim@fluendo.com>
9810
9811         * docs/design/part-TODO.txt:
9812         Update TODO.
9813
9814         * gst/gstbin.c: (message_check), (bin_replace_message),
9815         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9816         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9817         (bin_query_duration_init), (bin_query_duration_fold),
9818         (bin_query_duration_done), (bin_query_generic_fold),
9819         (gst_bin_query):
9820         Handle SEGMENT_START/DONE messages correctly.
9821         More evolved query algorithm that handles duration queries
9822         correctly.
9823
9824         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9825         (gst_element_get_state_func), (gst_element_abort_state),
9826         (gst_element_commit_state), (gst_element_lost_state):
9827         Some more debugging.
9828
9829         * gst/gstmessage.h:
9830         Added doc.
9831
9832 2005-10-25  Wim Taymans  <wim@fluendo.com>
9833
9834         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9835         Don't use invalid stream_time.
9836
9837         * gst/gstevent.c: (gst_event_new_newsegment):
9838         stream_time in newsegment cannot be undefined.
9839
9840 2005-10-24  Wim Taymans  <wim@fluendo.com>
9841
9842         * gst/gstbus.c:
9843         Doc fix.
9844
9845         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9846         (gst_queue_loop):
9847         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9848
9849 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
9850
9851         * docs/libs/tmpl/gstdparam.sgml:
9852         * docs/libs/tmpl/gstdplinint.sgml:
9853         * docs/libs/tmpl/gstdpman.sgml:
9854         * docs/libs/tmpl/gstdpsmooth.sgml:
9855         * docs/libs/tmpl/gstunitconvert.sgml:
9856           these are obsolete
9857
9858 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9859
9860         * configure.ac:
9861           back to HEAD
9862
9863 === release 0.9.4 ===
9864
9865 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9866
9867         * configure.ac:
9868           releasing 0.9.4, "Tyrannosaurus Rex"
9869
9870 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
9871
9872         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9873         (gst_file_sink_get_current_offset):
9874           Use fseeko() and ftello() if available. When falling back on
9875           lseek() to get the current offset, fflush() first to make sure
9876           everything is up-to-date and we get the right offset.
9877
9878 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9879
9880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9881         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9882         * gst/gsterror.c: (_gst_stream_errors_init):
9883         * gst/gsterror.h:
9884         * gst/gstqueue.c: (gst_queue_loop):
9885         * po/POTFILES.in:
9886           remove prematurely added error category and clean up the instances
9887
9888 2005-10-21  Wim Taymans  <wim@fluendo.com>
9889
9890         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9891         (gst_base_sink_get_position), (gst_base_sink_query),
9892         (gst_base_sink_change_state):
9893         Simply set the right flag when going to playing, that's all
9894         we need to do instead of calling a function inside the object
9895         lock (that could take the lock as well and deadlock)
9896
9897 2005-10-21  Wim Taymans  <wim@fluendo.com>
9898
9899         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9900         (gst_base_src_loop):
9901         Don't warn, the peer element knows what to do best when
9902         the seek failed, it might try something else.
9903
9904 2005-10-21  Wim Taymans  <wim@fluendo.com>
9905
9906         * gst/base/gstbasesrc.c: (gst_base_src_init),
9907         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9908         Fix seeking.
9909
9910 2005-10-21  Wim Taymans  <wim@fluendo.com>
9911
9912         * docs/design/part-segments.txt:
9913         More docs.
9914
9915         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9916         Correctly set caps, even on the subbufer.
9917
9918 2005-10-21  Wim Taymans  <wim@fluendo.com>
9919
9920         * docs/gst/gstreamer-docs.sgml:
9921         * docs/gst/gstreamer-sections.txt:
9922         * gst/gstelement.h:
9923         * gst/gstevent.c:
9924         * gst/gstevent.h:
9925         * gst/gstmessage.h:
9926         * gst/gstpad.h:
9927         * gst/gstparse.h:
9928         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9929         * gst/gsttask.h:
9930         * gst/gstutils.c:
9931         * gst/gstutils.h:
9932         And 2% more doc coverage.
9933
9934 2005-10-21  Andy Wingo  <wingo@pobox.com>
9935
9936         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9937         position reporting.
9938
9939 2005-10-20  Wim Taymans  <wim@fluendo.com>
9940
9941         * gst/gsterror.c: (gst_error_get_message):
9942         * gst/gstparse.h:
9943         * gst/gstquery.h:
9944         * gst/gststructure.c:
9945         * gst/gsttrace.c:
9946         * gst/gstutils.c:
9947         More docs.
9948
9949 2005-10-20  Wim Taymans  <wim@fluendo.com>
9950
9951         * gst/gstbuffer.h:
9952         * gst/gstpad.c:
9953         * gst/gstparse.c:
9954         Another 1% more coverage.
9955
9956 2005-10-20  Wim Taymans  <wim@fluendo.com>
9957
9958         * docs/gst/gstreamer-sections.txt:
9959         * gst/gstelement.c: (gst_element_get_state_func),
9960         (gst_element_abort_state), (gst_element_commit_state),
9961         (gst_element_lost_state):
9962         * gst/gstevent.h:
9963         * gst/gstquery.c: (gst_query_set_position),
9964         (gst_query_parse_position), (gst_query_set_duration),
9965         (gst_query_parse_duration), (gst_query_new_convert):
9966         * gst/gstutils.c:
9967         Yay! 1% more docs coverage.
9968
9969 2005-10-20  Wim Taymans  <wim@fluendo.com>
9970
9971         * gst/gstpad.h:
9972         * gst/gstquery.c: (gst_query_set_position),
9973         (gst_query_parse_position), (gst_query_set_duration),
9974         (gst_query_parse_duration), (gst_query_new_convert):
9975         * gst/gstquery.h:
9976         * gst/gstutils.c: (gst_element_query_convert):
9977         * gst/gstutils.h:
9978         Docs and consistency fixes.
9979
9980 2005-10-20  Wim Taymans  <wim@fluendo.com>
9981
9982         * gst/gsttask.c:
9983         * gst/gsttask.h:
9984         More docs.
9985
9986 2005-10-20  Wim Taymans  <wim@fluendo.com>
9987
9988         * gst/gstbin.c: (message_check), (bin_replace_message),
9989         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9990         (update_degree), (gst_bin_sort_iterator_next),
9991         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9992         Reworked the message handling a bit, cache the messages instead of
9993         only the senders. alows us to do more in the future.
9994
9995 2005-10-20  Wim Taymans  <wim@fluendo.com>
9996
9997         * docs/design/part-TODO.txt:
9998         Update TODO
9999
10000         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10001         (gst_base_sink_query):
10002         Don't use clock time to report position when in EOS.
10003
10004 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10005
10006         * tools/gst-inspect.c: (print_interfaces),
10007         (print_element_properties_info), (print_element_info):
10008           Fix interface output with gst-inspect -a; don't print
10009           newlines after double/float properties.
10010
10011 2005-10-20  Wim Taymans  <wim@fluendo.com>
10012
10013         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10014         (gst_base_sink_query):
10015         Speed up current position calculation.
10016
10017         * gst/base/gstbasesrc.c: (gst_base_src_query),
10018         (gst_base_src_default_newsegment):
10019         Correctly set stream position in newsegment.
10020
10021         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10022         (update_degree), (gst_bin_sort_iterator_next),
10023         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10024         * gst/gstmessage.c: (gst_message_new_custom):
10025         Clean up debugging info
10026
10027         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10028         (gst_queue_loop), (gst_queue_handle_src_query):
10029         Pause task faster.
10030
10031 2005-10-19  Wim Taymans  <wim@fluendo.com>
10032
10033         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10034         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10035         Fix query handling again.
10036
10037 2005-10-19  Wim Taymans  <wim@fluendo.com>
10038
10039         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10040         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10041         * gst/base/gstbasesrc.c: (gst_base_src_query):
10042         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10043         * gst/elements/gsttypefindelement.c:
10044         (gst_type_find_handle_src_query), (find_element_get_length),
10045         (gst_type_find_element_activate):
10046         API change fix.
10047
10048         * gst/gstquery.c: (gst_query_new_position),
10049         (gst_query_set_position), (gst_query_parse_position),
10050         (gst_query_new_duration), (gst_query_set_duration),
10051         (gst_query_parse_duration), (gst_query_set_segment),
10052         (gst_query_parse_segment):
10053         * gst/gstquery.h:
10054         Bundling query position/duration is not a good idea since duration
10055         does not change much and we don't want to recalculate it for every
10056         position query, so they are separated again..
10057         Base value in segment query is not needed.
10058
10059         * gst/gstqueue.c: (gst_queue_handle_src_query):
10060         * gst/gstutils.c: (gst_element_query_position),
10061         (gst_element_query_duration), (gst_pad_query_position),
10062         (gst_pad_query_duration):
10063         * gst/gstutils.h:
10064         Updates for query API change.
10065         Added some docs here and there.
10066
10067 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10068
10069         * check/gst/gstbin.c: (GST_START_TEST):
10070         * check/gst/gstghostpad.c: (GST_START_TEST):
10071         * check/pipelines/cleanup.c: (GST_START_TEST):
10072           wait on thread to die so we can check refcount correctly
10073
10074 2005-10-18  Wim Taymans  <wim@fluendo.com>
10075
10076         * check/pipelines/stress.c: (GST_START_TEST):
10077         Make check a little more time consuming.
10078
10079 2005-10-18  Wim Taymans  <wim@fluendo.com>
10080
10081         * check/Makefile.am:
10082         * check/pipelines/stress.c: (GST_START_TEST),
10083         (simple_launch_lines_suite), (main):
10084         Small state change torture test.
10085
10086         * docs/design/part-states.txt:
10087         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10088         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10089         (gst_base_sink_change_state):
10090         Never take state lock from streaming thread, clean up ugly
10091         hacks. Unfortunatly core does not yet support nice ways to
10092         async commit state.
10093         
10094         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10095         (bin_bus_handler):
10096         Start state recalc if a STATE_DIRTY message is posted, but only
10097         on the toplevel bin.
10098
10099         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10100         (gst_element_get_state_func), (gst_element_abort_state),
10101         (gst_element_commit_state), (gst_element_lost_state),
10102         (gst_element_set_state_func), (gst_element_change_state):
10103         * gst/gstelement.h:
10104         State variables are now protected with the LOCK, the state
10105         lock is only used to serialize _set_state().
10106
10107 2005-10-18  Wim Taymans  <wim@fluendo.com>
10108
10109         * check/gst/gstbin.c: (GST_START_TEST):
10110         * check/gst/gstmessage.c: (GST_START_TEST):
10111         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10112         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10113         (bin_bus_handler):
10114         * gst/gstelement.c: (gst_element_abort_state),
10115         (gst_element_commit_state), (gst_element_lost_state):
10116         * gst/gstmessage.c: (gst_message_new_state_changed),
10117         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10118         (gst_message_new_segment_done), (gst_message_new_duration),
10119         (gst_message_parse_state_changed),
10120         (gst_message_parse_segment_start),
10121         (gst_message_parse_segment_done), (gst_message_parse_duration):
10122         * gst/gstmessage.h:
10123         * tools/gst-launch.c: (event_loop):
10124         Seriously, this is better than a previous commit as we only need
10125         to notify the fact that an element changed state in a streaming
10126         thread, marking the state of the parents dirty, hence the 
10127         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10128         message.
10129
10130 2005-10-18  Wim Taymans  <wim@fluendo.com>
10131
10132         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10133         (gst_bin_recalc_func):
10134         * gst/gstelement.c: (gst_element_set_clock),
10135         (gst_element_abort_state), (gst_element_lost_state):
10136         Cleanups, prepare for state change fixes.
10137
10138 2005-10-18  Wim Taymans  <wim@fluendo.com>
10139
10140         * gst/gstbin.h:
10141         * gst/gstelement.c: (gst_element_class_init),
10142         (gst_element_set_state), (gst_element_set_state_func):
10143         * gst/gstelement.h:
10144         Pending ABI changes.
10145         GThreadPool in GstBinClass to monitor async state changes.
10146         state_cookie in GstElement to detect concurrent gst/set state.
10147         set_state is now virtual too in case a very complicated element
10148         has to be constructed.
10149
10150 2005-10-18  Wim Taymans  <wim@fluendo.com>
10151
10152         * check/gst/gstbin.c: (GST_START_TEST):
10153         * check/gst/gstmessage.c: (GST_START_TEST):
10154         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10155         * gst/gstbin.c: (bin_bus_handler):
10156         * gst/gstelement.c: (gst_element_commit_state),
10157         (gst_element_lost_state):
10158         * gst/gstmessage.c: (gst_message_new_state_changed),
10159         (gst_message_new_segment_start), (gst_message_new_segment_done),
10160         (gst_message_new_duration), (gst_message_parse_state_changed),
10161         (gst_message_parse_segment_start),
10162         (gst_message_parse_segment_done), (gst_message_parse_duration):
10163         * gst/gstmessage.h:
10164         * tools/gst-launch.c: (event_loop):
10165         Make messages future proof.
10166         state-change gets a flag if it was a message comming from the
10167         streaming thread.
10168         segment-start/stop can also be specified in other formats.
10169         A message to notify an app that a pipeline changed playback 
10170         duration.
10171         Also fix a GstMessage leak in -launch
10172
10173 2005-10-18  Andy Wingo  <wingo@pobox.com>
10174
10175         * gst/gstelement.c (gst_element_dispose): More helpful message.
10176
10177 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10178
10179         reviewed by: <delete if not using a buddy>
10180
10181         * common/gtk-doc.mak:
10182
10183 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10184
10185         * gst/gstregistry.c: (gst_registry_scan_path_level):
10186           unref a plug-in we get that was already initialized
10187
10188 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10189
10190         * docs/gst/gstreamer-sections.txt:
10191         * docs/libs/gstreamer-libs-sections.txt:
10192         * gst/gstelement.h:
10193           add new api entries
10194           hide internal macro
10195
10196 2005-10-17  Andy Wingo  <wingo@pobox.com>
10197
10198         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10199         cleanup.
10200
10201         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10202
10203         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10204
10205         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10206         (gst_element_get_state_func): Better debug message.
10207         (gst_element_commit_state): s/INFO/DEBUG/.
10208         (gst_element_lost_state, gst_element_change_state): 
10209
10210         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10211         (gst_message_new_custom): s/INFO/LOG/.
10212
10213 2005-10-17  Michael Smith <msmith@fluendo.com>
10214
10215         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10216           Check if end time is valid using end time, not start time.
10217
10218 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10219
10220         * check/gst-libs/controller.c: (GST_START_TEST),
10221         (gst_controller_suite):
10222         * libs/gst/controller/gstcontroller.c:
10223         (gst_controlled_property_set_interpolation_mode):
10224         * libs/gst/controller/gstcontroller.h:
10225         * libs/gst/controller/gstinterpolation.c:
10226         * testsuite/controller/.cvsignore:
10227         * testsuite/controller/Makefile.am:
10228         * testsuite/controller/interpolator.c:
10229           merge controller testsuites
10230           fix broken tests
10231           remove mem-chunk from docs
10232
10233 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10234
10235         * gst/gstmemchunk.c:
10236         * gst/gstmemchunk.h:
10237         * gst/gsttrashstack.c:
10238         * gst/gsttrashstack.h:
10239           out.  get out.  you're fired.  to the Attic !
10240
10241 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10242
10243         * gst/gstcaps.c: (gst_caps_intersect):
10244           fix signedness issues in a (hopefully) correct way
10245         * gst/gstelement.c: (gst_element_pads_activate):
10246           some debugging
10247         * gst/gstobject.c: (gst_object_set_parent):
10248           some debugging
10249
10250 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10251
10252         * gst/gstvalue.h: Fix prototypes.
10253
10254 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10255
10256         * docs/gst/gstreamer-sections.txt:
10257         * gst/gst.c: (gst_version_string):
10258         * gst/gst.h:
10259         * gst/gstversion.h.in:
10260         * win32/common/libgstreamer.def:
10261           add gst_version_string ()
10262
10263 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10264
10265         * configure.ac:
10266           clean up further
10267         * gst/gst.c: (init_post):
10268         * win32/common/config.h.in:
10269           it's PLUGINDIR now
10270         * gst/gstcaps.c: (gst_caps_intersect):
10271           use gint64, the range could be bigger than a guint
10272
10273 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10274
10275         * gst/gstclock.h:
10276           document potential problem in 2038
10277
10278 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10279
10280         * gst/gstcaps.c: (gst_caps_intersect):
10281           Fix guint j diving under 0
10282
10283 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10284
10285         * configure.ac:
10286         * win32/common/config.h:
10287         * win32/common/config.h.in:
10288           check for process.h, declares getpid() on Windows
10289         * gst/gstinfo.c:
10290           include process.h if we have it
10291         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10292         * gst/gstmemchunk.h:
10293           fix signedness issues
10294         * win32/common/libgstreamer.def:
10295           fix get_type's
10296
10297 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10298
10299         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10300         fix. Because of unsigned ints, caps intersection was going nuts and
10301         trying to access structures with G_MAXUINT index. That fixes
10302         videotestsrc ! ffmpegcolorspace ! fakesink
10303         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10304         consistency.
10305
10306 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         * configure.ac:
10309           use the gettext macro
10310         * gst/elements/gstelements.c:
10311         * gst/gst.c:
10312         * gst/indexers/gstindexers.c:
10313           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10314         * win32/common/config.h:
10315           updated config.h
10316         * win32/common/config.h.in:
10317           add the template to generate config.h
10318         * win32/common/gstenumtypes.c:
10319         * win32/common/gstversion.h:
10320           updated copies
10321
10322 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10323
10324         * gst/gst.c: (gst_version):
10325         * gst/gstversion.h.in:
10326           add the nano
10327
10328 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10329
10330         * gst/gstevent.h:
10331           Oops, add missing closing bracket.
10332
10333 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10334
10335         * configure.ac:
10336           use common m4's for argument checking
10337
10338 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10339
10340         * docs/gst/gstreamer-sections.txt:
10341         * gst/gstevent.h:
10342           Add GST_EVENT_TYPE_NAME() macro.
10343
10344 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10345
10346         * gst/gstinfo.c:
10347         * gst/gstpluginfeature.c:
10348         * gst/gsttask.c:
10349           privatize more symbols
10350
10351 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10352
10353         * configure.ac:
10354           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10355           everything that uses GStreamer API should have the includes
10356
10357 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10358
10359         * docs/gst/gstreamer-sections.txt:
10360         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10361         * gst/gstvalue.h:
10362           give each value a _get_type, removes the DATA exports
10363
10364 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10365
10366         * gst/gst.c:
10367         * gst/gst.h:
10368           remove _gst_registry_auto_load, not used anymore
10369         * gst/gstbin.c: (gst_bin_get_type):
10370         * gst/gstbin.h:
10371         * gst/gstelement.c: (gst_element_get_type):
10372         * gst/gstelement.h:
10373         * gst/gstobject.c: (gst_object_get_type):
10374         * gst/gstobject.h:
10375         * gst/gstpad.c: (gst_pad_get_type):
10376         * gst/gstpad.h:
10377           make _get_type functions similar, fixes data export from library
10378
10379 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10380
10381         * configure.ac:
10382           correctly make conditionals
10383         * gst/elements/Makefile.am:
10384         * gst/elements/gstelements.c:
10385           fix typo causing fdsrc not to build
10386
10387 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10388
10389         * testsuite/Makefile.am:
10390         * testsuite/bytestream/.cvsignore:
10391         * testsuite/bytestream/Makefile.am:
10392         * testsuite/bytestream/filepadsink.c:
10393         * testsuite/bytestream/gstbstest.c:
10394         * testsuite/bytestream/test1.c:
10395         * testsuite/bytestream/testfile1:
10396         * testsuite/caps/normalisation.c:
10397         * testsuite/caps/random.c: (main):
10398         * testsuite/cleanup/.cvsignore:
10399         * testsuite/cleanup/Makefile.am:
10400         * testsuite/cleanup/cleanup1.c:
10401         * testsuite/cleanup/cleanup2.c:
10402         * testsuite/cleanup/cleanup3.c:
10403         * testsuite/cleanup/cleanup4.c:
10404         * testsuite/cleanup/cleanup5.c:
10405         * testsuite/controller/interpolator.c:
10406         * testsuite/debug/printf_extension.c: (main):
10407         * testsuite/elements/tee.c:
10408         * testsuite/negotiation/.cvsignore:
10409         * testsuite/negotiation/Makefile.am:
10410         * testsuite/negotiation/pad_link.c:
10411         * testsuite/pad/Makefile.am:
10412         * testsuite/pad/chainnopull.c:
10413         * testsuite/pad/getnopush.c:
10414         * testsuite/pad/link.c:
10415         * testsuite/refcounting/sched.c: (create_pipeline):
10416         * testsuite/registry/Makefile.am:
10417         * testsuite/registry/gst-print-formats.c:
10418         * testsuite/schedulers/.cvsignore:
10419         * testsuite/schedulers/142183-2.c:
10420         * testsuite/schedulers/142183.c:
10421         * testsuite/schedulers/143777-2.c:
10422         * testsuite/schedulers/143777.c:
10423         * testsuite/schedulers/147713.c:
10424         * testsuite/schedulers/147819.c:
10425         * testsuite/schedulers/147894-2.c:
10426         * testsuite/schedulers/147894.c:
10427         * testsuite/schedulers/Makefile.am:
10428         * testsuite/schedulers/group_link.c:
10429         * testsuite/schedulers/queue_link.c:
10430         * testsuite/schedulers/relink.c:
10431         * testsuite/schedulers/unlink.c:
10432         * testsuite/schedulers/unref.c:
10433         * testsuite/schedulers/useless_iteration.c:
10434         * testsuite/states/bin.c:
10435           clean out/remove some stuff from the testsuite directories
10436
10437 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10438
10439         * configure.ac:
10440           check for some headers
10441         * gst/elements/Makefile.am:
10442         * gst/elements/gstelements.c:
10443           don't compile fdsrc without sys/socket.h
10444         * gst/indexers/Makefile.am:
10445         * gst/indexers/gstindexers.c: (plugin_init):
10446           don't compile fileindex without mmap
10447
10448 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10449
10450         * configure.ac:
10451           reorganize
10452           clean up
10453           document more
10454           remove cruft
10455         * check/Makefile.am:
10456         * docs/gst/Makefile.am:
10457         * examples/helloworld/Makefile.am:
10458         * gst/Makefile.am:
10459         * gst/base/Makefile.am:
10460         * gst/check/Makefile.am:
10461         * gst/elements/Makefile.am:
10462         * gst/indexers/Makefile.am:
10463         * gst/parse/Makefile.am:
10464         * libs/gst/controller/Makefile.am:
10465         * libs/gst/dataprotocol/Makefile.am:
10466         * examples/helloworld/helloworld.c: (event_loop):
10467           compile fixes, though it's not being compiled currently
10468
10469 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10470
10471         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10472           Add some simple tests for the new taglist date API.
10473
10474 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10475
10476         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10477         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10478           Beautify 'last-message' output: print 'none' for buffer timestamps
10479           and durations if none is set; improve alignment with next messages.
10480
10481 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10482
10483         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10484         * gst/gstpluginfeature.h:
10485         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10486         * gst/gstregistry.h:
10487         * docs/gst/gstreamer-sections.txt:
10488           Add new API to check plugin feature version requirements.
10489
10490         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10491           Some basic tests for the above.         
10492
10493 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10494
10495         * gst/gststructure.c: (gst_structure_to_string):
10496           guard against NULL printf - happens when for example
10497           a message structure with GstClock gets serialized
10498
10499 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10500
10501         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10502           Fix presumable copy'n'pasto.
10503
10504 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10505
10506         * gst/elements/gstfakesrc.h:
10507         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10508         * gst/elements/gsttypefindelement.c:
10509           fix some signedness
10510         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10511           I wonder if this could actually write +2GB files before
10512
10513 2005-10-13  Andy Wingo  <wingo@pobox.com>
10514
10515         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10516         Fix Timmeke Waymans bug.
10517         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10518         string of the proper length to gst_caps_from_string. There's a
10519         potential for, before this fix, that this could cause someone
10520         connecting over the network to cause a segfault if the payload is
10521         not NUL-terminated.
10522
10523 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10524
10525         * docs/design/draft-push-pull.txt:
10526         * docs/design/part-overview.txt:
10527         * docs/random/TODO-pre-0.9:
10528         * docs/random/old/ChangeLog.gstreamer:
10529         * gst/base/gstpushsrc.c:
10530         * gst/gstclock.c:
10531           fixed typos
10532
10533 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10534
10535         * gst/glib-compat.c: (gst_flags_get_first_value):
10536         * gst/glib-compat.h:
10537         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10538         (gst_value_compare_double), (gst_value_serialize_flags):
10539           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10540           infinite loop
10541
10542 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10543
10544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10545         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10546           fix up debugging
10547         * tools/gst-launch.c: (event_loop):
10548           print out clock nicely
10549
10550 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10551
10552         * docs/gst/gstreamer-sections.txt:
10553         * gst/gsttaglist.h:
10554         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10555         (gst_tag_list_get_date_index):
10556           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10557           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10558
10559 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10560
10561         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10562         (gst_collectpads_chain):
10563         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10564         in CollectData.
10565
10566 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10567
10568         * docs/gst/gstreamer-sections.txt:
10569         * gst/gst.c:
10570         * gst/gsterror.h:
10571         * tools/gst-inspect.c: (main):
10572         * tools/gst-launch.c: (main):
10573         * tools/gst-run.c: (main):
10574         * tools/gst-xmlinspect.c: (main):
10575           fix GOption context leaks
10576           doc fixes
10577
10578 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * gst/gstbus.c:
10581           use HAVE_UNISTD_H
10582         * win32/common/config.h:
10583           update config
10584         * win32/vs6/grammar.dsp:
10585         * win32/vs6/libgstelements.dsp:
10586         * win32/vs6/libgstreamer.dsp:
10587           update vs6 files
10588
10589 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10590
10591         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10592         * gst/base/gstbasesrc.c: (gst_base_src_query):
10593           fix more guint64<->gdouble conversions
10594
10595 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10596
10597         * Makefile.am:
10598           add win32-update target
10599         * win32/common/gstconfig.h:
10600         * win32/common/gstenumtypes.c:
10601         * win32/common/gstenumtypes.h:
10602         * win32/common/gstversion.h:
10603           add files that visual studio can't generate
10604
10605 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10606
10607         * Makefile.am:
10608           add a win32-update target
10609         * configure.ac:
10610
10611 2005-10-12  Wim Taymans  <wim@fluendo.com>
10612
10613         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10614         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10615         * gst/gstelement.c: (gst_element_commit_state),
10616         (gst_element_set_state):
10617         Protect flags with proper lock.
10618         unref provided cached clock in dispose.
10619
10620 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10621
10622         * gst/gst.c:
10623         * gst/gstminiobject.h:
10624         * gst/gstpad.h:
10625         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10626           removed unused flags from miniobject
10627           doc fixes
10628
10629 2005-10-12  Wim Taymans  <wim@fluendo.com>
10630
10631         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10632         (gst_file_sink_event), (gst_file_sink_render):
10633         Flush before seeking.
10634
10635 2005-10-12  Andy Wingo  <wingo@pobox.com>
10636
10637         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10638         always been the case.
10639
10640 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10641
10642         * check/gst/gstbin.c: (GST_START_TEST):
10643         * docs/gst/gstreamer-sections.txt:
10644         * gst/base/gstbasesink.c: (gst_base_sink_init):
10645         * gst/base/gstbasesrc.c: (gst_base_src_init),
10646         (gst_base_src_get_range), (gst_base_src_check_get_range),
10647         (gst_base_src_start), (gst_base_src_stop):
10648         * gst/base/gstbasesrc.h:
10649         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10650         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10651         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10652         (bin_bus_handler):
10653         * gst/gstbin.h:
10654         * gst/gstbuffer.h:
10655         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10656         * gst/gstbus.h:
10657         * gst/gstelement.c: (gst_element_is_locked_state),
10658         (gst_element_set_locked_state), (gst_element_commit_state),
10659         (gst_element_set_state):
10660         * gst/gstelement.h:
10661         * gst/gstindex.c: (gst_index_init):
10662         * gst/gstindex.h:
10663         * gst/gstminiobject.h:
10664         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10665         (gst_object_set_parent):
10666         * gst/gstobject.h:
10667         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10668         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10669         * gst/gstpad.h:
10670         * gst/gstpadtemplate.h:
10671         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10672         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10673         * gst/gstpipeline.h:
10674         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10675         (gst_file_index_commit):
10676         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10677         * testsuite/pad/link.c: (gst_test_src_init),
10678         (gst_test_filter_init), (gst_test_sink_init):
10679         * testsuite/states/locked.c: (main):
10680           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10681           moved bitshift from macro to enum definition
10682
10683 2005-10-12  Wim Taymans  <wim@fluendo.com>
10684
10685         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10686         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10687         (gst_file_sink_render):
10688         Some more debugging info.
10689
10690 2005-10-12  Wim Taymans  <wim@fluendo.com>
10691
10692         * docs/design/part-states.txt:
10693         * tools/gst-launch.c: (main):
10694         Some doc updates.
10695         Revert non-intentional change.
10696
10697 2005-10-12  Wim Taymans  <wim@fluendo.com>
10698
10699         * check/gst/gstbin.c: (GST_START_TEST):
10700         * check/gst/gstelement.c: (GST_START_TEST):
10701         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10702         * check/gst/gstghostpad.c: (GST_START_TEST):
10703         * check/gst/gstpipeline.c: (GST_START_TEST):
10704         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10705         * check/states/sinks.c: (GST_START_TEST):
10706         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10707         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10708         (gst_bin_remove_func), (gst_bin_get_state_func),
10709         (gst_bin_recalc_state), (gst_bin_change_state_func),
10710         (bin_bus_handler):
10711         * gst/gstelement.c: (gst_element_get_state_func),
10712         (gst_element_get_state), (gst_element_abort_state),
10713         (gst_element_commit_state), (gst_element_set_state),
10714         (gst_element_change_state), (gst_element_change_state_func):
10715         * gst/gstelement.h:
10716         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10717         (gst_pipeline_provide_clock_func):
10718         * gst/gstutils.c: (gst_element_link_pads_filtered):
10719         * tools/gst-launch.c: (main):
10720         * tools/gst-typefind.c: (main):
10721         Use GstClockTime in _get_state() instead of GTimeVal.
10722         Remove old code in gstutils.c
10723
10724 2005-10-12  Andy Wingo  <wingo@pobox.com>
10725
10726         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10727         removed.
10728
10729         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10730         there is no task. Shouldn't affect any code, as nothing in our
10731         plugins checks this return value.
10732         (gst_pad_stop_task): Also take the stream lock if the pad has no
10733         task. Docs updated.
10734
10735 2005-10-12  Wim Taymans  <wim@fluendo.com>
10736
10737         * gst/gstpad.c: (pre_activate), (post_activate),
10738         (gst_pad_activate_pull), (gst_pad_activate_push):
10739         Cleanup activation code. Reset old state if
10740         activation failed.
10741
10742 2005-10-12  Wim Taymans  <wim@fluendo.com>
10743
10744         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10745         (gst_base_sink_change_state):
10746         No need to prerol after receiving EOS.
10747
10748         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10749         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10750         * gst/elements/gstidentity.c: (gst_identity_event):
10751         Print events more verbosely.
10752
10753 2005-10-12  Wim Taymans  <wim@fluendo.com>
10754
10755         * check/Makefile.am:
10756         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10757         * check/states/sinks2.c:
10758         Moved sinks2 testcode in sinks check.
10759
10760         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10761         (gst_bin_remove_func), (gst_bin_recalc_state),
10762         (gst_bin_change_state_func), (bin_bus_handler):
10763         Fix potential race condition when _get_state() iterated over an
10764         ASYNC element right before it posted a state completion.
10765
10766         * gst/gstclock.h:
10767         Do proper cast here.
10768
10769         * gst/gstevent.c: (gst_event_new_newsegment),
10770         (gst_event_parse_newsegment):
10771         A playback rate of 0.0 is not allowed.
10772
10773 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10774
10775         * win32/common/config.h:
10776         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10777         (_trewinddir), (_ttelldir), (_tseekdir):
10778         * win32/common/dirent.h:
10779         * win32/common/gtchar.h:
10780         * win32/common/libgstbase.def:
10781         * win32/common/libgstreamer.def:
10782         * win32/vs6/grammar.dsp:
10783         * win32/vs6/gst_inspect.dsp:
10784         * win32/vs6/gst_launch.dsp:
10785         * win32/vs6/gstreamer.dsw:
10786         * win32/vs6/libgstbase.dsp:
10787         * win32/vs6/libgstelements.dsp:
10788         * win32/vs6/libgstreamer.dsp:
10789           Visual Studio 6 project files, and a new common directory.
10790           Phear.
10791
10792 2005-10-11  Wim Taymans  <wim@fluendo.com>
10793
10794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10795         (gst_base_sink_do_sync), (gst_base_sink_query),
10796         (gst_base_sink_change_state):
10797         * gst/base/gstbasesink.h:
10798         Correctly parse newsegment info.
10799
10800 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10801
10802         * gst/gst.c: (init_post):
10803           split plugin paths correctly
10804
10805 2005-10-11  Wim Taymans  <wim@fluendo.com>
10806
10807         * check/gst/gstevent.c: (GST_START_TEST):
10808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10809         (gst_base_sink_change_state):
10810         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10811         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10812         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10813         * gst/gstevent.c: (gst_event_new_newsegment),
10814         (gst_event_parse_newsegment):
10815         * gst/gstevent.h:
10816         Added extra flag to newsegment for future API freeze.
10817         Updated check and base elements.
10818
10819 2005-10-11  Julien MOUTTE  <julien@moutte.net>
10820
10821         * gst/base/gstcollectpads.c: (gst_collectpads_init),
10822         (gst_collectpads_add_pad), (gst_collectpads_pop),
10823         (gst_collectpads_event), (gst_collectpads_chain):
10824         * gst/base/gstcollectpads.h: Handle EOS correctly.
10825
10826 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10827
10828         * tools/gst-launch.c: (main):
10829           more null protecting
10830
10831 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10832
10833         * gst/gst-i18n-lib.h:
10834           check for ENABLE_NLS, not GETTEXT_PACKAGE
10835         * gst/gstregistry.c: (gst_registry_add_plugin),
10836         (gst_registry_scan_path_level),
10837         (_gst_registry_remove_cache_plugins):
10838           protect possibly NULL strings
10839         * gst/parse/types.h:
10840           config.h already included before
10841         * tools/gst-inspect.c: (main):
10842           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10843           check for ENABLE_NLS, not GETTEXT_PACKAGE
10844         * tools/gst-launch.c: (main):
10845           check for ENABLE_NLS, not GETTEXT_PACKAGE
10846
10847 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10848
10849         * configure.ac:
10850           if we don't have glib, fail before testing 2.8
10851         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10852           fix a leak, should fix plugins-base testsuite
10853
10854 2005-10-11  Andy Wingo  <wingo@pobox.com>
10855
10856         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10857         take the mode we're going to as an arg. Go head and set the mode
10858         and flushing flags now, so that if the activate function starts a
10859         thread all the flags will be in the right state.
10860         (post_activate): Renamed also. Just handle making sure streaming
10861         finishes for the deactivation case, and setting the deactivated
10862         mode.
10863         (gst_pad_set_active): Complain loudly if deactivation fails.
10864         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10865         (gst_pad_activate_push): Adapt to pre/post_activate changes,
10866         remove the terrible hack.
10867
10868 2005-10-11  Wim Taymans  <wim@fluendo.com>
10869
10870         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10871         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10872         (gst_bin_recalc_state), (gst_bin_change_state_func),
10873         (gst_bin_dispose), (bin_bus_handler):
10874         * gst/gstbin.h:
10875         Prepare to make current EOS message queue more generic.
10876         Fix some typos.
10877
10878         * gst/gstevent.c: (gst_event_new_newsegment),
10879         (gst_event_parse_newsegment):
10880         * gst/gstevent.h:
10881         Rename base to stream_time.
10882
10883         * gst/gstmessage.h:
10884         Fix typo in docs.
10885
10886 2005-10-11  Wim Taymans  <wim@fluendo.com>
10887
10888         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10889         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10890         (gst_bin_change_state_func), (bin_bus_handler):
10891         * gst/gstbin.h:
10892         Work on proper clock selection.
10893
10894 2005-10-11  Edward Hervey  <edward@fluendo.com>
10895
10896         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
10897         * libs/gst/controller/gstcontroller.h:
10898         Added GList* version of _remove_properties() in order to be able to wrap
10899         it in bindings.
10900
10901 2005-10-11  Wim Taymans  <wim@fluendo.com>
10902
10903         * docs/design/part-states.txt:
10904         Some more docs.
10905
10906         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10907         (gst_bin_change_state_func), (bin_bus_handler):
10908         Doc updates. Don't distribute the same clock over and over again.
10909
10910         * gst/gstclock.c:
10911         * gst/gstclock.h:
10912         Doc updates.
10913
10914         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10915         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10916         (gst_pad_send_event):
10917         * gst/gstpad.h:
10918         Make probe emission threadsafe again.
10919         Register quarks and move _get_name() from utils.
10920         Doc updates.
10921
10922         * gst/gstpipeline.c: (gst_pipeline_class_init),
10923         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10924         Only redistribute the clock of it changed.
10925
10926         * gst/gstsystemclock.h:
10927         Doc updates. 
10928
10929         * gst/gstutils.c:
10930         * gst/gstutils.h:
10931         Moved the _flow_get_name() to GstPad.
10932
10933 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10934
10935         * check/gst-libs/gdp.c: (GST_START_TEST):
10936         * check/gst/gstcaps.c: (GST_START_TEST):
10937         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10938         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10939         (gst_dp_packet_from_caps):
10940           fix more valgrind warnings before turning up the heat
10941
10942 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10943
10944         * gst/parse/grammar.y:
10945           some cleanup before the hacking
10946
10947 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10948
10949         * gst/base/gstbasesrc.c: (gst_base_src_query):
10950           use conversions
10951         * gst/gstutils.c: (gst_guint64_to_gdouble),
10952         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10953         * gst/gstutils.h:
10954           externalize, basesrc uses it
10955           obviously the implementation needs testing
10956
10957 2005-10-10  Wim Taymans  <wim@fluendo.com>
10958
10959         * tests/sched/Makefile.am:
10960         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10961         (make_pipeline3), (make_pipeline4), (print_elem), (main):
10962
10963 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10964
10965         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10966           apparently converting from guint64 to double is not implemented
10967           on MSVC
10968
10969 2005-10-10  Wim Taymans  <wim@fluendo.com>
10970
10971         * check/Makefile.am:
10972         * check/generic/states.c: (GST_START_TEST):
10973         * check/gst/gstbin.c: (GST_START_TEST):
10974         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10975         * check/states/sinks.c: (GST_START_TEST):
10976         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10977         (main):
10978         Check fixes, use API as stated in design docs, remove hacks.
10979
10980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10981         (gst_base_sink_change_state):
10982         Catch stopping our task while we're shutting down.
10983
10984         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10985         (gst_bin_remove_func), (gst_bin_get_state_func),
10986         (gst_bin_recalc_state), (gst_bin_change_state_func),
10987         (bin_bus_handler):
10988         * gst/gstbin.h:
10989         * gst/gstelement.c: (gst_element_init),
10990         (gst_element_get_state_func), (gst_element_abort_state),
10991         (gst_element_commit_state), (gst_element_lost_state),
10992         (gst_element_set_state), (gst_element_change_state),
10993         (gst_element_change_state_func):
10994         * gst/gstelement.h:
10995         New state change algorithm (see #318116)
10996
10997         * gst/gstpipeline.c: (gst_pipeline_class_init),
10998         (gst_pipeline_init), (gst_pipeline_set_property),
10999         (gst_pipeline_get_property), (do_pipeline_seek),
11000         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11001         * gst/gstpipeline.h:
11002         Remove crude state change hacks.
11003
11004         * gst/gstutils.h:
11005         Remove crude hacks.
11006
11007         * tools/gst-launch.c: (main):
11008         Fixes for state change. Needs some more work to fully use the
11009         new stuff.
11010
11011 2005-10-10  Andy Wingo  <wingo@pobox.com>
11012
11013         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11014
11015         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11016         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11017         issue.
11018
11019 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11020
11021         * gst/gstiterator.c: (gst_iterator_new):
11022           Fix my previous commit: GTypes passed to gst_iterator_new()
11023           can be fundamental types.
11024
11025 2005-10-10  Wim Taymans  <wim@fluendo.com>
11026
11027         * gst/gstelement.c: (gst_element_iterate_pad_list),
11028         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11029         (gst_element_iterate_sink_pads):
11030         Use src/sink pads lists for the respective iterators instead
11031         of filtering.
11032
11033 2005-10-10  Andy Wingo  <wingo@pobox.com>
11034
11035         Merged in popt removal + GOption addition patch from Ronald, bug
11036         #169772.
11037
11038         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11039         GstElement macros around, remove popt-related symbols, add goption
11040         stuff.
11041
11042         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11043         
11044         * docs/gst/Makefile.am:
11045         * docs/libs/Makefile.am: No POPT_CFLAGS.
11046         
11047         * examples/manual/Makefile.am:
11048         * docs/manual/basics-init.xml: Doc updates with an example.
11049         
11050         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11051         (gst_init), (parse_one_option), (parse_goption_arg):
11052         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11053         bit of hand merging and debugging to get the GOption stuff working
11054         tho.
11055         
11056         * tests/Makefile.am:
11057         * tools/Makefile.am:
11058         * tools/gst-inspect.c: (main):
11059         * tools/gst-launch.c: (main):
11060         * tools/gst-run.c: (main):
11061         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11062
11063 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * gst/gstiterator.c: (gst_iterator_new):
11066           Add assertions to make sure passed GType is likely to really
11067           be a GType (as the compiler won't catch it if the size and
11068           GType arguments get mixed up, see #318447).
11069
11070 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11071
11072         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11073
11074         * gst/gstbin.c: (gst_bin_iterate_sorted):
11075           Pass GType and size arguments to gst_iterator_new() in the right
11076           order (maybe we should make _new() take the GType as first argument
11077           just like _new_list()?) (#318447).
11078           
11079
11080 2005-10-10  Wim Taymans  <wim@fluendo.com>
11081
11082         * gst/gstelement.c: (gst_element_finalize):
11083         And free the GStaticRecMutex too
11084
11085 2005-10-10  Andy Wingo  <wingo@pobox.com>
11086
11087         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11088         Allocate and free the mutex properly.
11089
11090         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11091         New macros.
11092         (GstElement): The state_lock is now recursive. Rebuild your
11093         plugins, suckers. Old macros adapted.
11094
11095         * docs/gst/gstreamer-sections.txt: Doc updates.
11096
11097         * gst/gstutils.h:
11098         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11099         (g_static_rec_cond_wait): Ported from state changes patch, while
11100         we wait on bug #317802 to be solved in a well-distributed GLib.
11101
11102         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11103         gst_element_change_state, variable name changes.
11104         (gst_element_change_state): Split out of gst_element_set_state in
11105         preparation for the state change merge. Doesn't pay attention to
11106         the 'transition' argument.
11107         (gst_element_set_state): Updates, hopefully purely cosmetic.
11108         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11109         state change patch.
11110         (gst_element_get_state_func): Renamed from get_state, cosmetic
11111         changes.
11112
11113 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11114
11115         * gst/elements/gstelements.c:
11116         * win32/GStreamer.vcproj:
11117         * win32/config.h:
11118         * win32/dirent.c: (_tseekdir):
11119         * win32/gst-inspect.vcproj:
11120         * win32/gst-launch.vcproj:
11121         * win32/gstconfig.h:
11122         * win32/gstelements.vcproj:
11123         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11124         * win32/gstreamer.def:
11125         * win32/msvc71.sln:
11126           updates for the win32 build (patch from Sebastien Moutte)
11127
11128 2005-10-10  Andy Wingo  <wingo@pobox.com>
11129
11130         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11131         gst_bin_get_state, cleaned up (but no logic changes).
11132         (bin_element_is_sink): Comment updates.
11133         (sink_iterator_filter): Remove needless cast.
11134         (gst_bin_iterate_sinks): Doc update.
11135         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11136         cleaned up (but no logic changes).
11137
11138         * check/states/sinks.c (test_src_sink): Cleanups from the state
11139         change patch.
11140         (test_livesrc_sink): Sync on the state.
11141
11142         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11143         the state change patch.
11144
11145         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11146         change patch.
11147
11148         * check/gst/gstbin.c: Merge in some style fixes and additional
11149         checks from Wim's state change patch.
11150
11151 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11152
11153         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11154         (gst_type_find_helper):
11155           Check whether we have the requested data already in our list of
11156           cached buffers before pulling a new buffer; also make the buffer
11157           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11158
11159 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11160
11161         * gst/gstcaps.c:
11162         * gst/gstevent.c:
11163           doc updates
11164         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11165           don't use long long, it's not portable.  Replacing with
11166           gint64 seems to work; let's hope no skeletons fall out of the closet.
11167
11168 2005-10-10  Andy Wingo  <wingo@pobox.com>
11169
11170         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11171
11172 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11173
11174         * docs/gst/gstreamer-sections.txt:
11175         * gst/gstevent.c:
11176         * gst/gstevent.h:
11177         * gst/gstinfo.c:
11178         * gst/gstinfo.h:
11179         * gst/gstmessage.c: (gst_message_parse_state_changed):
11180         * gst/gstpad.c:
11181         * gst/gstpad.h:
11182           more docs, fix compilation
11183
11184 2005-10-09  Philippe Khalaf <burger@speedy.org>
11185         * gst/gstmessage.c:
11186           Fixed a few forgotten variables on previous commit
11187
11188 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11189
11190         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11191           Fix evil typefind crasher: getrange() might return a short
11192           buffer at the end of a file, but gst_type_find_peek() must
11193           either return the full data as requested or NULL, but
11194           never a short buffer.
11195
11196 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11197
11198         * gst/gstmessage.c: (gst_message_new_state_changed),
11199         (gst_message_parse_state_changed):
11200         * gst/gstmessage.h:
11201           don't use "new", it's a C++ keyword
11202
11203 2005-10-08  Wim Taymans  <wim@fluendo.com>
11204
11205         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11206         * gst/gstelement.c: (gst_element_post_message):
11207         * gst/gstpipeline.c: (gst_pipeline_change_state):
11208         Small docs and debug updates.
11209
11210 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11211
11212         * docs/gst/gstreamer-sections.txt:
11213         * gst/gstelementfactory.c:
11214         * gst/gstevent.c:
11215         * gst/gsttaglist.c:
11216           more docs
11217
11218 2005-10-08  Wim Taymans  <wim@fluendo.com>
11219
11220         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11221         (gst_bin_dispose), (bin_bus_handler):
11222         Fix typos, add comments.
11223         Clear EOS list when going to PAUSED from any direction and do it
11224         in a threadsafe way.
11225         Get base time in a threadsafe way too.
11226         Fix confusing debug in the change_state function.
11227         Various other small cleanups.
11228         
11229         * gst/gstelement.c: (gst_element_post_message):
11230         Fix very verbose bus posting code.
11231
11232         * gst/gstpipeline.c: (gst_pipeline_class_init),
11233         (gst_pipeline_set_property), (gst_pipeline_get_property),
11234         (gst_pipeline_change_state):
11235         Small ARG_ -> PROP_ cleanup
11236
11237 2005-10-08  Wim Taymans  <wim@fluendo.com>
11238
11239         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11240         Do a less CPU demanding EOS check because we can.
11241
11242 2005-10-08  Wim Taymans  <wim@fluendo.com>
11243
11244         * libs/gst/dataprotocol/dataprotocol.c:
11245         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11246         (gst_dp_packet_from_event):
11247         * libs/gst/dataprotocol/dataprotocol.h:
11248         * libs/gst/dataprotocol/dp-private.h:
11249         It's about time we bump the version number.
11250         Since event types don't fit in the guint8 anymore describing
11251         the payload type, make payload type 16 bits wide.
11252
11253 2005-10-08  Wim Taymans  <wim@fluendo.com>
11254
11255         * docs/design/part-TODO.txt:
11256         * docs/design/part-clocks.txt:
11257         * docs/design/part-events.txt:
11258         * docs/design/part-gstbin.txt:
11259         * docs/design/part-gstelement.txt:
11260         * docs/design/part-gstpipeline.txt:
11261         * docs/design/part-live-source.txt:
11262         * docs/design/part-messages.txt:
11263         * docs/design/part-overview.txt:
11264         * docs/design/part-states.txt:
11265         Many doc updates.
11266
11267 2005-10-08  Wim Taymans  <wim@fluendo.com>
11268
11269         * gst/gstevent.c:
11270         * gst/gstevent.h:
11271         Fix event quark registration.
11272         Add some space between events so we can insert them in the
11273         right groups.
11274
11275 2005-10-08  Wim Taymans  <wim@fluendo.com>
11276
11277         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11278         (gst_base_sink_handle_buffer):
11279         Better log message.
11280
11281         * gst/gstbus.h:
11282         * gst/gstelement.h:
11283         More docs.
11284
11285         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11286         (gst_queue_set_property), (gst_queue_get_property):
11287         * gst/gstqueue.h:
11288         Remove old unused properties.
11289
11290 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11291         * docs/gst/gstreamer-sections.txt:
11292         * gst/gstmessage.c:
11293         * gst/gstmessage.h:
11294         * gst/gstminiobject.c:
11295         * gst/gstminiobject.h:
11296         * gst/gstobject.h:
11297         * gst/gstpad.h:
11298         * gst/gstutils.h:
11299           lots of new docs and doc fixes
11300
11301 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11302
11303         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11304         * gst/gstplugin.h:
11305         * gst/gstregistry.c: (gst_registry_lookup_locked),
11306         (gst_registry_scan_path_level):
11307         * gst/gstregistryxml.c: (load_plugin):
11308           Only ever load one plugin for a given plugin basename.
11309           This ensures correct overriding of GST_PLUGIN_PATH over
11310           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11311           system installed plugins.
11312
11313 2005-10-08  Wim Taymans  <wim@fluendo.com>
11314
11315         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11316         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11317         Prepare for doing QOS.
11318
11319 2005-10-08  Wim Taymans  <wim@fluendo.com>
11320
11321         * check/gst/gstbin.c: (GST_START_TEST):
11322         * check/pipelines/cleanup.c: (GST_START_TEST):
11323         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11324         Allow new clock message too.
11325
11326 2005-10-08  Wim Taymans  <wim@fluendo.com>
11327
11328         * gst/gstmessage.c: (gst_message_new_error),
11329         (gst_message_new_warning), (gst_message_new_tag),
11330         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11331         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11332         (gst_message_new_segment_start), (gst_message_new_segment_done),
11333         (gst_message_parse_state_changed),
11334         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11335         (gst_message_parse_new_clock):
11336         * gst/gstmessage.h:
11337         Also carry the clock in question.
11338
11339 2005-10-08  Wim Taymans  <wim@fluendo.com>
11340
11341         * gst/gstmessage.c: (gst_message_new_custom),
11342         (gst_message_new_eos), (gst_message_new_error),
11343         (gst_message_new_warning), (gst_message_new_tag),
11344         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11345         (gst_message_new_new_clock), (gst_message_new_segment_start),
11346         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11347         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11348         * gst/gstmessage.h:
11349         Clean up.
11350         Added clock related messages.
11351
11352         * gst/gstpipeline.c: (gst_pipeline_change_state):
11353         Post message when the clock changed.
11354
11355         * tools/gst-launch.c: (event_loop):
11356         Print new clock.
11357
11358 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11359
11360         * tools/gst-inspect.c: (print_element_properties_info):
11361           Can't pass NULL strings to g_print() on windows.
11362
11363 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11364
11365         * docs/Makefile.am:
11366         * docs/gst/Makefile.am:
11367         * docs/gst/gstreamer-docs.sgml:
11368         * docs/gst/running.xml:
11369         * docs/version.entities.in:
11370           add a chapter on running GStreamer.
11371           document GST_DEBUG and GST_PLUGIN* env vars
11372
11373 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11374
11375         * Makefile.am:
11376           remove include dir
11377         * configure.ac:
11378           remove PLUGINS_BUILDDIR stuff
11379         * gst/gst.c: (init_post):
11380           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11381         * idiottest.mak:
11382           remove, it was condescending and not needed
11383
11384 2005-10-08  Wim Taymans  <wim@fluendo.com>
11385
11386         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11387         (gst_base_sink_handle_object), (gst_base_sink_event),
11388         (gst_base_sink_wait), (gst_base_sink_handle_event),
11389         (gst_base_sink_change_state):
11390         * gst/base/gstbasesink.h:
11391         Repost EOS message while going to PLAYING if still EOS.
11392         Make sure that when receiving a FLUSH_START we don't attempt
11393         to sync on the clock anymore.
11394
11395 2005-10-08  Wim Taymans  <wim@fluendo.com>
11396
11397         * tools/gst-launch.c: (event_loop):
11398         Better message printout.
11399
11400 2005-10-08  Wim Taymans  <wim@fluendo.com>
11401
11402         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11403         (gst_bin_child_proxy_get_children_count):
11404         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11405         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11406         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11407         (gst_child_proxy_set_valist):
11408         * gst/parse/grammar.y:
11409         Make ChildProxy threadsafe and fix mem leaks.
11410
11411 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11412
11413         * gst/gst.c: (init_post):
11414           debug the GST_PLUGIN_ env vars
11415
11416 2005-10-08  Wim Taymans  <wim@fluendo.com>
11417
11418         * check/gst/gstbin.c: (GST_START_TEST):
11419         * check/gst/gstmessage.c: (GST_START_TEST):
11420         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11421         * gst/gstelement.c: (gst_element_commit_state),
11422         (gst_element_lost_state):
11423         * gst/gstmessage.c: (gst_message_new_state_changed),
11424         (gst_message_parse_state_changed):
11425         * gst/gstmessage.h:
11426         * tools/gst-launch.c: (event_loop):
11427         Added extra field to STATE_CHANGE message with the pending
11428         state, which will be different from the new state soon.
11429
11430 2005-10-08  Wim Taymans  <wim@fluendo.com>
11431
11432         * gst/gstbus.c: (gst_bus_pop):
11433         * gst/gstclock.c:
11434         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11435         Small cleanups and doc updates.
11436
11437 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11438
11439         * gst/gst.c: (init_pre):
11440         * gst/gstbin.c: (gst_bin_add_func):
11441           log distributing clocks and base time
11442         * gst/gstregistry.c: (gst_registry_add_plugin),
11443         (gst_registry_scan_path_level), (gst_registry_scan_path):
11444           clean up the debugging output a little
11445         * gst/gstutils.c: (gst_element_state_get_name):
11446           warn about a memleak (I've actually seen this be used, though
11447           it was probably a bug)
11448
11449 2005-10-07  Wim Taymans  <wim@fluendo.com>
11450
11451         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11452         (gst_base_src_init), (gst_base_src_default_newsegment),
11453         (gst_base_src_newsegment), (gst_base_src_do_seek),
11454         (gst_base_src_loop), (gst_base_src_start):
11455         * gst/base/gstbasesrc.h:
11456         Make the newsegment event customizable by subclasses.
11457
11458 2005-10-07  Wim Taymans  <wim@fluendo.com>
11459
11460         * gst/gstevent.c: (gst_event_new_buffersize),
11461         (gst_event_parse_buffersize):
11462         * gst/gstevent.h:
11463         New event for future idea.
11464
11465 2005-10-07  Andy Wingo  <wingo@pobox.com>
11466
11467         * gst/gstelement.c (gst_element_post_message): Doc update.
11468
11469         * docs/gst/gstreamer-sections.txt: Update.
11470
11471         * gst/gstmessage.c (gst_message_new_application): Made into a
11472         function like honest API calls.
11473         (gst_message_new_element): New message type.
11474
11475         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11476
11477         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11478         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11479         times.
11480
11481         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11482         NO_PREROLL from gst_element_change_state to fall through.
11483
11484 2005-10-07  Wim Taymans  <wim@fluendo.com>
11485
11486         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11487         (gst_ghost_pad_do_activate_push):
11488         Activating a ghostpad with no internal pad in push mode
11489         is ok.
11490
11491 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11492
11493         * gst/gstobject.h:
11494           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11495           Fixes compilation on Windows.
11496
11497 2005-10-07  Michael Smith <msmith@fluendo.com>
11498
11499         * tools/gst-inspect.c:
11500           Print out feature and plugin count at the end when printing out
11501           all features.
11502
11503 2005-10-04  Michael Smith <msmith@fluendo.com>
11504
11505         * gst/gsterror.c: (_gst_stream_errors_init):
11506           Add another error string used in a few existing plugins.
11507
11508         * gst/gstplugin.c:
11509         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11510         * tools/gst-inspect.c: (print_element_info):
11511           When a feature disappears from a plugin (and the feature exists in
11512           the cached registry file), things went horribly wrong. This isn't a
11513           complete fix, we should actually be removing the 'missing' features
11514           from the features list when we load the actual plugin. That's not
11515           yet implemented. 
11516
11517 2005-10-04  Johan Dahlin  <johan@gnome.org>
11518
11519         * check/gst/gstiterator.c: (GST_START_TEST):
11520         * gst/gstbin.c: (gst_bin_iterate_elements),
11521         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11522         * gst/gstelement.c: (gst_element_iterate_pads):
11523         * gst/gstformat.c: (gst_format_iterate_definitions):
11524         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11525         (gst_iterator_new_list), (gst_iterator_filter):
11526         * gst/gstiterator.h:
11527         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11528         Add a GType to GstIterator, update callsites and tests.
11529
11530 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11531
11532         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11533           give events a chance to be handled by event probes when the pad
11534           is not linked
11535
11536 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11537
11538         * gst/gstevent.c: (gst_event_type_get_name),
11539         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11540         * gst/gstevent.h:
11541           add string representations for event types
11542
11543 2005-10-06  Wim Taymans  <wim@fluendo.com>
11544
11545         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11546         Don't use NULL pointers.
11547
11548 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11549
11550         * gst/gst_private.h:
11551         * gst/gstbus.c:
11552         * gst/gstelement.c:
11553         * gst/gstinfo.c:
11554         * gst/gstpluginfeature.c:
11555           widen the debug category in output to fit the biggest one we have
11556           add a bus category and use it
11557           play with the colors
11558           fix up some categories
11559
11560 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11561
11562         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11563           add push activation of sink ghost pads.
11564           Andye, please verify
11565
11566 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11567
11568         * gst/gstutils.c: (gst_element_link_pads):
11569           fix a bug in the case where neither element has a pad
11570         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11571           add a test for that case
11572
11573 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11574
11575         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11576           emit have-data before checking for peers.  This allows
11577           for probe handlers to connect elements.  This helps autopluggers.
11578         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11579         (gst_pad_suite):
11580           add six checks, linked/unlinked with no/true/false probe
11581
11582 2005-10-04  Wim Taymans  <wim@fluendo.com>
11583
11584         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11585         (gst_fake_sink_event), (gst_fake_sink_preroll),
11586         (gst_fake_sink_render), (gst_fake_sink_change_state):
11587         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11588         (gst_fake_src_get_property), (gst_fake_src_create),
11589         (gst_fake_src_stop):
11590         * gst/elements/gstidentity.c: (gst_identity_stop):
11591         Protect last_message with lock.
11592
11593 2005-10-04  Edward Hervey  <edward@fluendo.com>
11594
11595         * gst/gstformat.h: 
11596         Added precision in the comments for GST_FORMAT_DEFAULT
11597
11598 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         * tools/gst-launch.c: (main):
11601           Don't try to run erroneous pipelines.
11602
11603 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11604
11605         * gst/gstbus.c: We don't need this header.
11606
11607 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11608
11609         * configure.ac:
11610           back to development
11611
11612 === release 0.9.3 ===
11613
11614 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11615
11616         * README:
11617         * configure.ac:
11618           Releasing 0.9.3, "Unregistered"
11619
11620 2005-10-03  Andy Wingo  <wingo@pobox.com>
11621
11622         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11623         whereby calling a pad's activatepush() function can start a thread
11624         that starts to push or pull before the pad gets the FLUSHING flag
11625         unset. Hack around it by holding the stream lock until the flag is
11626         set. Need to replace this with a proper solution. Together with
11627         the ghost pad fixes, this fixes mp3 playing/tagreading.
11628
11629         * docs/design/part-gstghostpad.txt: Add a note about activation of
11630         proxy pads outside of ghost pads.
11631
11632         * gst/gstghostpad.c: Implement the ghost pad activation design.
11633
11634 2005-10-02  Andy Wingo  <wingo@pobox.com>
11635
11636         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11637         It is volatile, after all.
11638
11639         * docs/design/part-gstghostpad.txt: Flesh out activation with
11640         ghost pads.
11641
11642         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11643         GST_DEBUG_FUNCPTR.
11644
11645 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11646
11647         * configure.ac:
11648           Fix (unused) AM_CONDITIONAL tests.
11649
11650 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11651
11652         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11653
11654         * gst/gstutils.c: (gst_pad_query_convert):
11655           Add assertion that makes sure src_val is >=0, just like
11656           gst_query_new_convert() has. (#315895)
11657
11658 2005-09-30  Edward Hervey  <edward@fluendo.com>
11659
11660         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11661         Let's not iterate pads we're not interested in, it avoids getting 
11662         sky-high refcounts on sinkpad.
11663
11664 2005-09-30  Wim Taymans  <wim@fluendo.com>
11665
11666         * gst/gstelement.c: (gst_element_set_state),
11667         (gst_element_change_state):
11668         Small tweak, element in ASYNC remains ASYNC.
11669
11670 2005-09-30  Wim Taymans  <wim@fluendo.com>
11671
11672         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11673         Only error is an error.
11674
11675         * gst/gstbin.c: (gst_bin_change_state):
11676         Better debugging.
11677
11678         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11679         Also call pad_block in pad alloc.
11680
11681         * gst/gstutils.c: (gst_flow_get_name):
11682         Better debugging.
11683
11684 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11685
11686         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11687         (gst_base_src_get_range):
11688           Fix documentation typos. Add some more debug info.
11689
11690 2005-09-29  David Schleef  <ds@schleef.org>
11691
11692         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11693           more end-user friendly.
11694         * tools/gst-inspect.c: (main): Check if command-line argument is
11695           a file and attempt to load that file as a plugin.
11696
11697 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11698
11699         * check/gst/gstbin.c:
11700         * check/states/sinks.c:
11701           fix tests for the new warning
11702         * check/gst/gstpipeline.c:
11703           add a test for pipeline and bus interaction
11704         * gst/gstelement.c:
11705           elements should be NULL if they get disposed; add a warning if not
11706
11707 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11708
11709         * gst/gstobject.c:
11710           for 2.6 refcounting, make debug log more correct by printing
11711           the actual refcounts at the time of swap (Wim)
11712
11713 2005-09-29  Andy Wingo  <wingo@pobox.com>
11714
11715         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11716         removes signal watches previously added via
11717         gst_bus_add_signal_watch.
11718         (gst_bus_add_signal_watch): Don't return the source id, just store
11719         it on the bus if there wasn't an id already.
11720
11721         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11722         add_signal_watch and remove_signal_watch.
11723
11724 2005-09-29  Edward Hervey  <edward@fluendo.com>
11725
11726         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11727         Better if we actually iterate the list :)
11728
11729 2005-09-29  Wim Taymans  <wim@fluendo.com>
11730
11731         * check/gst/gstbin.c: (GST_START_TEST):
11732         Change for new bus API.
11733
11734         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11735         (send_messages), (GST_START_TEST), (gstbus_suite):
11736         Change for new bus signal API.
11737
11738         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11739         (gst_bus_source_prepare), (gst_bus_source_check),
11740         (gst_bus_create_watch), (gst_bus_add_watch_full),
11741         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11742         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11743         * gst/gstbus.h:
11744         Remove support for multiple GSources operating on different
11745         message types as it is too complex and unneeded when using
11746         signals.
11747         Added support for receiving signals from the bus.
11748
11749 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11750
11751         * docs/libs/tmpl/gstdataprotocol.sgml:
11752         * docs/manual/advanced-dataaccess.xml:
11753         * gst/elements/gstcapsfilter.c:
11754         * gst/gstutils.c:
11755           rename filter-caps to caps property
11756
11757 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11758
11759         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11760           More robust fraction string parsing.
11761
11762         * docs/pwg/appendix-porting.xml:
11763           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11764
11765 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11766
11767         * gst/gstcaps.c: (gst_caps_do_simplify):
11768           Thou shalt not free a structure and then continue using it
11769           in the next loop iteration.
11770
11771         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11772         (gst_caps_suite):
11773           Add test case for caps simplification.
11774
11775 2005-09-29  Wim Taymans  <wim@fluendo.com>
11776
11777         * check/gst/gstbin.c: (GST_START_TEST):
11778         Oops.
11779
11780 2005-09-29  Wim Taymans  <wim@fluendo.com>
11781
11782         * check/gst/gstbin.c: (GST_START_TEST):
11783         Add bus to bin.
11784
11785         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11786         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11787         (find_element), (gst_bin_sort_iterator_next),
11788         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11789         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11790         (gst_bin_change_state), (gst_bin_dispose):
11791         A bin does not have a bus, it gets the bus from the parent.
11792
11793         * gst/gstelement.c: (gst_element_requires_clock),
11794         (gst_element_provides_clock), (gst_element_is_indexable),
11795         (gst_element_is_locked_state), (gst_element_change_state),
11796         (gst_element_set_bus_func):
11797         Small cleanups.
11798
11799         * gst/gstpipeline.c: (gst_pipeline_class_init),
11800         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11801         The pipeline provides a bus.
11802
11803 2005-09-28  Johan Dahlin  <johan@gnome.org>
11804
11805         * gst/gstmessage.c (gst_message_parse_state_changed): Use
11806         gst_structure_get_enum instead of gst_structure_get_int
11807
11808         * gst/gststructure.c (gst_structure_get_enum): Impl.
11809
11810         * gst/gststructure.h (gst_structure_get_enum): Add
11811
11812         * docs/gst/gstreamer-sections.txt: Ditto
11813
11814         * gst/gstmessage.c (gst_message_new_state_changed): Use
11815         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11816         which does introspection.
11817         Reviewed by Christian Schaller
11818
11819 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11820
11821         * gst/gstinfo.c: (gst_debug_log_default):
11822           don't do dummy g_strdup()s
11823         * libs/gst/controller/gstcontroller.c:
11824         (on_object_controlled_property_changed),
11825         (gst_controlled_property_new), (gst_controller_new_valist),
11826         (gst_controller_new_list),
11827         (gst_controller_remove_properties_valist), (gst_controller_set),
11828         (gst_controller_get), (gst_controller_sync_values),
11829         (gst_controller_get_value_array), (_gst_controller_class_init),
11830         (gst_controller_get_type):
11831         * libs/gst/controller/gstcontroller.h:
11832         * libs/gst/controller/gstinterpolation.c:
11833         (gst_controlled_property_find_timed_value_node):
11834           convert // to /**/ comments
11835
11836 2005-09-28  Wim Taymans  <wim@fluendo.com>
11837
11838         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11839         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11840         (gst_bus_sync_signal_handler):
11841         * gst/gstbus.h:
11842         Added async-message and sync-message signals to the bus.
11843         Added helper BusFunc to emit signals for all posted messages.
11844
11845         * gst/gstmessage.c: (gst_message_type_get_name),
11846         (gst_message_type_to_quark), (gst_message_get_type):
11847         * gst/gstmessage.h:
11848         Register quarks for message names.
11849
11850 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11851
11852         * docs/libs/gstreamer-libs-sections.txt:
11853         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11854         (gst_controller_new_list):
11855         * libs/gst/controller/gstcontroller.h:
11856           added another constructor for language bindings
11857
11858 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11859
11860         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11861           add another check
11862         * gst/gstbus.c:
11863           add some doc
11864         * gst/gstinfo.c: (_gst_debug_init):
11865           slightly more readable color for refcount debugging
11866
11867 2005-09-28  Wim Taymans  <wim@fluendo.com>
11868
11869         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11870         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11871         (find_element), (gst_bin_sort_iterator_next),
11872         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11873         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11874         (gst_bin_change_state), (gst_bin_dispose):
11875         Small doc fixes. get_clock -> provide_clock.
11876
11877         * gst/gstelement.c: (gst_element_class_init),
11878         (gst_element_provides_clock), (gst_element_provide_clock),
11879         (gst_element_get_clock), (gst_element_commit_state),
11880         (gst_element_lost_state):
11881         * gst/gstelement.h:
11882         Make get/set_clock() symetric. Add provide_clock vmethod since
11883         that is actually what this function does.
11884
11885         * gst/gstpipeline.c: (gst_pipeline_class_init),
11886         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11887         (gst_pipeline_get_clock):
11888         get_clock -> provide_clock.
11889
11890 2005-09-28  Andy Wingo  <wingo@pobox.com>
11891
11892         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11893         lieu of real docs...
11894
11895         * gst/elements/gstfdsrc.c: Cleaned up a bit.
11896
11897 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * gst/elements/gstcapsfilter.c:
11900         * gst/elements/gstfakesink.c:
11901         * gst/elements/gstfakesrc.c:
11902         * gst/elements/gstfdsink.c:
11903         * gst/elements/gstfdsrc.c:
11904         * gst/elements/gstfilesink.c:
11905         * gst/elements/gstfilesrc.c:
11906         * gst/elements/gstidentity.c:
11907         * gst/elements/gsttee.c:
11908         * gst/elements/gsttypefindelement.c:
11909           Make element details static.
11910
11911 2005-09-28  Wim Taymans  <wim@fluendo.com>
11912
11913         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11914         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11915         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11916         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11917         (gst_bin_change_state), (gst_bin_dispose):
11918         Some documentation updates.
11919         Clean up dispose handlers.
11920
11921         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11922         * gst/gstpad.c: (gst_pad_dispose):
11923         Clean up dispose handler.
11924
11925         * gst/gstpipeline.c: (gst_pipeline_change_state):
11926         Removed spurious UNLOCK.
11927
11928 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
11929
11930         * docs/gst/gstreamer-sections.txt:
11931         * gst/base/gstbasesrc.h:
11932         * gst/gstelement.h:
11933         * gst/gstevent.h:
11934         * gst/gstobject.h:
11935         * gst/gstpad.h:
11936         * gst/gstpipeline.c:
11937         * gst/gstpipeline.h:
11938         * gst/gstutils.h:
11939         * gst/gstxml.h:
11940           added two new functions to the docs
11941                 documents all undocumented GstXXXFlags
11942                 completed some incomplete docs 
11943
11944 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11945
11946         * gst/gstbin.c: (gst_bin_dispose):
11947         * gst/gstelement.c: (gst_element_dispose):
11948           remove now useless and leaky resurrection code in dispose
11949         * gst/base/gstbasesrc.c: (gst_base_src_init):
11950         * gst/gstelementfactory.c: (gst_element_factory_create):
11951         * gst/gstobject.c: (gst_object_set_parent):
11952           add some debugging
11953
11954 2005-09-27  Wim Taymans  <wim@fluendo.com>
11955
11956         * docs/design/part-TODO.txt:
11957         Update TODO.
11958
11959         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11960         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11961         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11962         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11963         (gst_bin_change_state):
11964         * gst/gstelement.h:
11965         Remove element variable, we keep element info in the iterator now.
11966
11967 2005-09-27  Andy Wingo  <wingo@pobox.com>
11968
11969         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11970         values.
11971
11972 2005-09-27  Wim Taymans  <wim@fluendo.com>
11973
11974         * check/gst/gstbin.c: (GST_START_TEST):
11975         Enable check that works now.
11976
11977         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11978         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11979         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11980         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11981         (gst_bin_change_state):
11982         * gst/gstbin.h:
11983         Redid the state change algorithm using a topological sort algo.
11984         Handles all cases correctly.
11985         Exposed iterator for state change order.
11986
11987         * gst/gstelement.h:
11988         Temp storage for state changes. Need to get rid of this soon.
11989
11990 2005-09-27  Wim Taymans  <wim@fluendo.com>
11991
11992         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11993         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11994         (link_fold_func), (gst_pad_proxy_setcaps):
11995         Leak fixes, the fold functions need to unref the passed object and
11996         _get_parent_*() returns ref to parent.
11997
11998 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11999
12000         * check/gst/gstbuffer.c: (test_make_writable):
12001           Plug leak in test case and fix 'make check-valgrind'
12002
12003 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12004
12005         * gst/gstbuffer.c: (gst_subbuffer_init):
12006           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12007           works correctly in all circumstances (we could have just copied
12008           the parent buffer's readonly flag, but conceptually it seems
12009           cleaner to mark all subbuffers as read-only). (based on patch
12010           by Alessandro Decina, #314710).
12011         
12012         * check/gst/gstbuffer.c: (create_read_only_buffer),
12013         (test_make_writable), (test_subbuffer_make_writable),
12014         (gst_test_suite):
12015           Add some tests for gst_buffer_make_writable().
12016
12017 2005-09-27  Wim Taymans  <wim@fluendo.com>
12018
12019         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12020         use gst_object_has_ancestor().
12021
12022         * gst/gstobject.c: (gst_object_has_ancestor):
12023         * gst/gstobject.h:
12024         gst_object_has_ancestor() copied from gstbin.c as it is a
12025         usefull function.
12026
12027         * tests/instantiate/create.c: (create_all_elements):
12028         * tests/lat.c: (handoff_src), (handoff_sink):
12029         * tests/sched/runxml.c: (main):
12030         * tests/seeking/seeking1.c: (main):
12031         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12032         (main):
12033         Fix compilation of some tests.
12034
12035 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12036
12037         * gst/gsterror.h:
12038           Remove comment. GST_TYPE_G_ERROR is here to stay,
12039           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12040           (#316961, #300610).
12041
12042 2005-09-26  Wim Taymans  <wim@fluendo.com>
12043
12044         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12045         Added check that shows error in state change order.
12046
12047 2005-09-26  Wim Taymans  <wim@fluendo.com>
12048
12049         * gst/gstbin.c: (gst_bin_change_state):
12050         Make state change function use 3 queues again, we were
12051         adding elements in the wrong order.
12052
12053         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12054         Some debug info,
12055
12056         * gst/gstpad.c: (gst_pad_dispose):
12057         Added some debug info first.
12058
12059 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12060
12061         * docs/design/draft-push-pull.txt:
12062         * docs/design/part-events.txt:
12063         * docs/design/part-overview.txt:
12064         * docs/design/part-scheduling.txt:
12065           Replace all _pull_region() with _pull_range()
12066           
12067 2005-09-26  Andy Wingo  <wingo@pobox.com>
12068
12069         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12070
12071         * check/gst-libs/controller.c: Update for controller api change.
12072
12073         * configure.ac: 
12074         * tests/Makefile.am:
12075         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12076         over by GLib bug 118439.
12077         
12078         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12079         routines to a function.
12080
12081         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12082
12083         * libs/gst/controller/gsthelper.c:
12084         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12085         (gst_object_sync_values): Renamed from sink_values. Ugh.
12086
12087         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12088
12089         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12090         Renamed from controller_key, as it is exported.
12091
12092         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12093
12094 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12095
12096         * gst/Makefile.am:
12097         * gst/gst.h:
12098         * gst/gstpad.h:
12099         * gst/gstpadtemplate.h:
12100         * gst/gstquery.c:
12101         * gst/gstquery.h:
12102         * gst/gstqueryutils.c:
12103         * gst/gstqueryutils.h:
12104           remove queryutils headers after moving the two used functions
12105           to gstquery.  also fixes build problem for gstsiddec
12106
12107 2005-09-26  Michael Smith <msmith@fluendo.com>
12108
12109         * tools/gst-launch.1.in:
12110         Correct documentation in manpage of debug syntax
12111
12112 2005-09-26  Wim Taymans  <wim@fluendo.com>
12113
12114         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12115         (gst_base_src_is_seekable), (gst_base_src_change_state):
12116         Some more debugging info.
12117
12118 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12119
12120         * docs/gst/gstreamer-sections.txt:
12121         * gst/base/gstbasetransform.h:
12122         * gst/gstindex.h:
12123           added more docs
12124
12125 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12126
12127         * docs/gst/.cvsignore:
12128         * docs/gst/tmpl/.cvsignore:
12129         * docs/gst/tmpl/gstpipeline.sgml:
12130         * docs/gst/tmpl/gstplugin.sgml:
12131         * gst/gstpipeline.c:
12132         * gst/gstplugin.c:
12133         * gst/gstplugin.h:
12134           inlined the last two docs files
12135           removed the tmpl directory from cvs (no more conflicts here!)
12136
12137 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12138
12139         * docs/gst/gstreamer-sections.txt:
12140         * docs/gst/tmpl/.cvsignore:
12141         * docs/gst/tmpl/gstpad.sgml:
12142         * docs/gst/tmpl/gstpadtemplate.sgml:
12143         * gst/Makefile.am:
12144         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12145         (gst_pad_finalize), (gst_pad_set_pad_template):
12146         * gst/gstpad.h:
12147         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12148         (gst_pad_template_class_init), (gst_pad_template_init),
12149         (gst_pad_template_dispose), (name_is_valid),
12150         (gst_static_pad_template_get), (gst_pad_template_new),
12151         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12152         (gst_pad_template_pad_created):
12153         * gst/gstpadtemplate.h:
12154           inlined two more docs
12155           factored gstpadtemplate out of gstpad
12156
12157 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12158
12159         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12160         (test_children_state_change_order_semi_sink):
12161           Fix test case: we can't rely on a fixed state change order when
12162           going from READY => PAUSED because the sink might commit its 
12163           new state first when the first buffer created by the source 
12164           reaches the sink before the source has finished its change state.
12165           (Test case still fails at times, see #316856, comment 5 onwards)
12166
12167 2005-09-24  Wim Taymans  <wim@fluendo.com>
12168
12169         * docs/design/part-events.txt:
12170         * docs/design/part-gstbus.txt:
12171         * docs/design/part-gstpipeline.txt:
12172         * docs/design/part-messages.txt:
12173         * docs/design/part-overview.txt:
12174         * docs/design/part-segments.txt:
12175         * gst/gstbin.c:
12176         * gst/gstbuffer.c:
12177         * gst/gstclock.c:
12178         * gst/gstelement.c:
12179         * gst/gstevent.c:
12180         * gst/gstfilter.c:
12181         * gst/gstiterator.c:
12182         Various documentation updates.
12183
12184 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12185
12186         * gst/gstclock.h:
12187           Well, that's embarassing.  Luckily we weren't using
12188           GST_CLOCK_DIFF anywhere.
12189
12190 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12191
12192         * common/gtk-doc.mak:
12193           don't fail on building XML, FC4 slave shows a bunch of doc
12194           missing bits that I don't get
12195         * gst/gstpad.c:
12196         * gst/gstpipeline.c:
12197         * gst/gststructure.c:
12198           some doc updates
12199
12200 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12201
12202         * docs/design/part-gstbin.txt:
12203         * docs/design/part-gstbus.txt:
12204         * gst/gstbus.c:
12205           Add blurb about how the bus goes into flushing mode and
12206           drops all messages when its bin goes from READY into NULL 
12207           state.
12208
12209 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12210
12211         * docs/gst/gstreamer-sections.txt:
12212         * gst/gststructure.c: (gst_structure_get_clock_time):
12213         * gst/gststructure.h:
12214           add a method to get a GstClockTime out of a structure
12215
12216 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12217
12218         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12219         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12220           Added test to check state change order in bins (can still be made
12221           to fail here under heavy disk load; bails out with 'Push on pad
12222           fakesink:sink0, but it was not activated in push mode').
12223
12224         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12225           Fix state change order when there is only a semi sink (#316856)
12226
12227         * gst/gstbus.c: (gst_bus_class_init):
12228           Use _class_peek_parent(), not _class_ref(); fix docs to say
12229           'default main context' instead of 'mainloop' where that is
12230           what's meant.
12231
12232         * gst/gstelement.c: (gst_element_commit_state),
12233         (gst_element_set_state):
12234           Fix typos in debug messages
12235
12236 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12237
12238         * docs/README:
12239         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12240         * gst/gstpluginfeature.c:
12241         * gst/gstutils.c:
12242           various doc updates
12243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12244           change an assert into an error until it gets fixed properly
12245
12246 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12247
12248         * docs/gst/gstreamer-sections.txt:
12249         * docs/gst/tmpl/.cvsignore:
12250         * docs/gst/tmpl/gstelement.sgml:
12251         * docs/gst/tmpl/gstinfo.sgml:
12252         * docs/gst/tmpl/gstobject.sgml:
12253         * gst/gstelement.c:
12254         * gst/gstelement.h:
12255         * gst/gstinfo.c:
12256         * gst/gstinfo.h:
12257         * gst/gstobject.c: (gst_object_class_init):
12258         * gst/gstobject.h:
12259           inlined 3 more biiiig doc files and added some missing docs on the fly
12260
12261 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12262
12263         * check/gst/.cvsignore:
12264         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12265         * gst/gstregistryxml.c: (load_plugin),
12266         (gst_registry_xml_save_plugin):
12267           put back source in registry.  add checks for find_plugin.
12268         * testsuite/states/bin.c: (assert_state), (empty_bin),
12269         (test_adding_one_element), (main):
12270         * testsuite/states/locked.c: (main):
12271           some compile/run fixes
12272
12273 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12274
12275         * check/gst/gstvalue.c: (GST_START_TEST):
12276           fix leaks in the test itself
12277
12278 2005-09-22  Wim Taymans  <wim@fluendo.com>
12279
12280         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12281         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12282         (gst_base_sink_query):
12283         Prepare for more accurate position reporting and query
12284         handling.
12285
12286         * gst/gstelement.c: (gst_element_send_event),
12287         (gst_element_set_state):
12288         Add some comment.
12289
12290 2005-09-22  Wim Taymans  <wim@fluendo.com>
12291
12292         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12293         (gst_query_parse_segment):
12294         * gst/gstquery.h:
12295         More documentation.
12296         Add segment query for future use.
12297
12298 2005-09-22  Wim Taymans  <wim@fluendo.com>
12299
12300         * gst/gstbin.c: (gst_bin_add_func):
12301         Some more debug info.
12302
12303         * gst/gstelement.c: (gst_element_send_event):
12304         Simplify send_event
12305
12306         * gst/gstelement.h:
12307         Don't know how flags got broken.
12308
12309         * gst/gstquery.h:
12310         Added new query.
12311
12312 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12313
12314         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12315           Add simplistic test suite for GST_TYPE_DATE serialisation and
12316           deserialisation.
12317
12318 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12319
12320         * docs/gst/gstreamer-sections.txt:
12321         * gst/gststructure.c: (gst_structure_set_valist),
12322         (gst_structure_get_date):
12323         * gst/gststructure.h:
12324         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12325         (gst_date_copy), (gst_value_compare_date),
12326         (gst_value_serialize_date), (gst_value_deserialize_date),
12327         (gst_value_transform_date_string),
12328         (gst_value_transform_string_date), (_gst_value_initialize):
12329         * gst/gstvalue.h:
12330           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12331           bunch of utility functions along with a hack that checks that
12332           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12333           is required. Part of the grand scheme in #170777.
12334
12335 2005-09-22  Andy Wingo  <wingo@pobox.com>
12336
12337         * gst/gstconfig.h.in: Psych out gtk-doc.
12338
12339         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12340
12341         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12342
12343         * tools/gst-inspect.c (print_element_list): Plug some
12344         inconsequential leaks.
12345
12346         * gst/gstregistry.c (gst_registry_get_default): Doc.
12347
12348         * check/gst/gstplugin.c: 
12349         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12350         * gst/gstelementfactory.c (gst_element_factory_create): 
12351         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12352         refcount changes.
12353
12354         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12355         (gst_plugin_feature_load): Doc, don't eat refs.
12356
12357         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12358         (gst_plugin_list_free): Doc.
12359         (gst_plugin_load_file): Doc updates.
12360
12361         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12362         accessors returning refcounted objects, return a ref.
12363
12364         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12365         accessor for caps. IDEMPOTENCE. Oh yes.
12366
12367 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12368
12369         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12370
12371         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12372         (_gst_debug_register_funcptr):
12373           Add mutex to serialise access to the hash table with
12374           the function pointer => function name string mapping;
12375           make that hash table static scope (#316809).
12376
12377         * gst/registries/.cvsignore:
12378           Remove left-over file.
12379
12380 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12381
12382         * docs/pwg/appendix-porting.xml:
12383           And something about newsegment events and caps-on-buffers to
12384           the porting guide (feel free to improve).
12385
12386 2005-09-21  Andy Wingo  <wingo@pobox.com>
12387
12388         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12389         data and event probes on the same pad.
12390         (test_buffer_probe_once): Test that removing probes from within
12391         the probe functions works.
12392
12393 2005-09-21  Andy Wingo  <wingo@pobox.com>
12394
12395         * check/gst/gstutils.c: New file.
12396         (test_buffer_probe_n_times): A simple buffer probe test. More to
12397         come, foolios.
12398
12399         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12400         have-data::buffer, not have-data.
12401         (gst_pad_add_event_probe): Likewise for have-data::event.
12402         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12403         peer' isn't quite right yet though.
12404         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12405         (gst_pad_remove_data_probe): Change to take the guint handler_id
12406         as their arg, not the function+data, which is more glib-like.
12407
12408         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12409         the signal emission to indicate if the data is a buffer or an
12410         event.
12411         (gst_pad_get_type): Initialize buffer and event quarks.
12412         (gst_pad_class_init): have-data is now a detailed signal, yes it
12413         is.
12414
12415 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12416
12417         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12418         * gst/gstutils.c: (gst_util_set_value_from_string),
12419         (gst_util_set_object_arg):
12420           Don't put functional code in g_return_if_fail() or
12421           g_return_val_if_fail() statements, otherwise things will 
12422           break when G_DISABLE_CHECKS is defined during compilation.
12423
12424 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12425
12426         * docs/gst/tmpl/.cvsignore:
12427         * docs/gst/tmpl/gstvalue.sgml:
12428         * gst/gstvalue.c:
12429         * gst/gstvalue.h:
12430           inlied another one and added  some obvious docs
12431
12432 2005-09-21  Wim Taymans  <wim@fluendo.com>
12433
12434         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12435         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12436         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12437         (gst_fdsrc_get_property), (gst_fdsrc_create):
12438         * gst/elements/gstfdsrc.h:
12439         Properly implement fdsrc. Removed signal and timeout,
12440         better implemented somewhere else.
12441
12442 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12443
12444         * docs/gst/tmpl/.cvsignore:
12445         * docs/gst/tmpl/gstimplementsinterface.sgml:
12446         * gst/gstinterface.c:
12447           inlined more docs
12448
12449 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12450
12451         * docs/gst/gstreamer-sections.txt:
12452         * docs/gst/tmpl/.cvsignore:
12453         * docs/gst/tmpl/gstenumtypes.sgml:
12454           remove obsolete doc file
12455
12456 2005-09-21  David Schleef  <ds@schleef.org>
12457
12458         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12459         little beer, fix a little leak.
12460
12461 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12462
12463         * docs/gst/gstreamer-docs.sgml:
12464         * docs/gst/gstreamer-sections.txt:
12465         * docs/gst/tmpl/.cvsignore:
12466         * gst/Makefile.am:
12467         * gst/gst.h:
12468         * gst/gstbin.c:
12469         * gst/gstelement.h:
12470         * gst/gstindex.c: (gst_index_class_init):
12471         * gst/gstindex.h:
12472         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12473         (gst_index_factory_class_init), (gst_index_factory_init),
12474         (gst_index_factory_finalize), (gst_index_factory_new),
12475         (gst_index_factory_destroy), (gst_index_factory_find),
12476         (gst_index_factory_create), (gst_index_factory_make):
12477         * gst/gstindexfactory.h:
12478         * gst/gstpluginfeature.c:
12479         * gst/gstpluginfeature.h:
12480         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12481           more docs inlined, splitted gstindex.{c,h}
12482
12483 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12484
12485         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12486           fix a leak
12487
12488 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12489
12490         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12491           Set sync to FALSE by default.
12492
12493 2005-09-20  Wim Taymans  <wim@fluendo.com>
12494
12495         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12496         (gst_base_sink_init):
12497         Make sync property settable from subclass.
12498
12499         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12500         (gst_fake_sink_change_state):
12501         Set sync to FALSE by default.
12502
12503 2005-09-20  Wim Taymans  <wim@fluendo.com>
12504
12505         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12506         * tools/gst-launch.c: (main):
12507         The timeout handler should have lower priority than the source
12508         so we don't timeout before popping a message with 0 timeout.
12509         Dump error messages after failed state change.
12510
12511 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12512
12513         * tools/gst-inspect.c: (print_element_properties_info):
12514           Fix two typos.
12515
12516 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12517
12518         * check/gst/gstevent.c:
12519         * gst/elements/gstfakesink.c:
12520         * gst/elements/gstfakesink.h:
12521           remove the sync property from fakesink.
12522           has the side effect of setting sync TRUE
12523           for fakesink, which is a change.  Anyone who knows how
12524           to fix this nicely in a GObject-y way, feel free.
12525
12526 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12527
12528         * docs/gst/gstreamer-docs.sgml:
12529           remove probe refsection
12530
12531 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12532
12533         * check/Makefile.am:
12534           disable valgrinding the controller test again
12535         * docs/gst/gstreamer-sections.txt:
12536           update for api-changes
12537
12538 2005-09-20  Wim Taymans  <wim@fluendo.com>
12539
12540         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12541         (gst_base_sink_set_property), (gst_base_sink_get_property),
12542         (gst_base_sink_do_sync):
12543         * gst/base/gstbasesink.h:
12544         Added sync property to basesink to disable clock sync.
12545
12546 2005-09-20  Andy Wingo  <wingo@pobox.com>
12547
12548         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12549         eating the caller's refcount.
12550
12551         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12552         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12553         refcount.
12554
12555         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12556         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12557         of GLib 2.8 public, so we can know which refcount to check in
12558         tests.
12559
12560         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12561         (gst_object_init): Only set the gst refcount if we're going ahead
12562         with the refcount hack.
12563
12564 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12565
12566         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12567         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12568           more leaks plumbed, added more debug-logging
12569         * gst/gstmacros.h:
12570           whitespace fix
12571
12572 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12573
12574         * gst/gstmessage.c:
12575           remove include of gstmemchunk.h
12576
12577 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12578
12579         * gst/gstclock.c: (_gst_clock_id_free):
12580           Commit from the Political Party For More Atomic CVS Commits,
12581           so that people don't waste too much of their day fishing
12582           out obvious leaks out of massive commits.
12583           Oh, and fix a pretty damn obvious leak in the memchunk
12584           removal code.
12585
12586 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12587
12588         * check/Makefile.am:
12589         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12590           plug mem-leak, re-add to valgrindable tests
12591
12592 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12593
12594         * gst/gstplugin.h:
12595           unbreak the build for those who have chronic arthritis
12596           and typing "make check" is just too taxing on the hands
12597
12598 2005-09-20  Andy Wingo  <wingo@pobox.com>
12599
12600         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12601         really want it out, you should fix plugins at the same time.
12602
12603 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12604
12605         * configure.ac:
12606         * docs/gst/gstreamer-sections.txt:
12607         * gst/gstobject.c:
12608           added missing symbols to api docs
12609           disable ref-count hack if we have glib >= 2.8
12610
12611 2005-09-19  David Schleef  <ds@schleef.org>
12612
12613         * docs/gst/Makefile.am: Ignore a few more internal headers
12614         * docs/gst/gstreamer-docs.sgml: Remove old sections
12615         * docs/gst/gstreamer-sections.txt: Remove old sections
12616         * docs/gst/tmpl/gstobject.sgml: update
12617         * docs/gst/tmpl/gstplugin.sgml: update
12618         * docs/gst/tmpl/gstpluginfeature.sgml: update
12619         * docs/random/ds/0.9-suggested-changes: update.
12620         * gst/Makefile.am: remove memchunk and trashstack, since they're
12621           not used.
12622         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12623         * gst/gst.h: don't include some headers
12624         * gst/gstchildproxy.c: add gstmarshal.h
12625         * gst/gstclock.c: Don't use memchunks
12626         * gst/gstminiobject.c: Add some docs
12627         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12628         * gst/gstobject.h: same
12629         * gst/gstplugin.c: include gstmacros.h
12630         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12631         * gst/gstquery.c: don't use memchunks
12632         * gst/gstregistry.c: rename gst_registry_deinit()
12633         * gst/gstregistry.h: same
12634
12635 2005-09-19  David Schleef  <ds@schleef.org>
12636
12637         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12638         * docs/libs/gstreamer-libs-sections.txt:
12639         * docs/libs/tmpl/gstgetbits.sgml:
12640         * docs/libs/tmpl/gstputbits.sgml:
12641
12642 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * win32/gstenumtypes.c:
12645         * win32/gstenumtypes.h:
12646           Update.
12647
12648 2005-09-19  Wim Taymans  <wim@fluendo.com>
12649
12650         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12651         Automatically PAUSE and RESUME a pipeline when a flushing seek
12652         is performed.
12653
12654 2005-09-19  Andy Wingo  <wingo@pobox.com>
12655
12656         * gst/gstregistry.h: Spacing fixen.
12657
12658 2005-09-19  Wim Taymans  <wim@fluendo.com>
12659
12660         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12661         Handle state change failure more correctly.
12662
12663 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12664
12665         * check/Makefile.am:
12666         * check/pipelines/cleanup.c: (run_pipeline):
12667         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12668         (GST_START_TEST):
12669           enable cleanup again after fixing the leak
12670         * docs/README:
12671           some more info on docs
12672
12673 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12674
12675         * check/Makefile.am:
12676           re-enable tests now that leaks are plugged
12677         * check/gst/gst.c:
12678         * check/gst/gstbin.c:
12679         * check/gst/gstpipeline.c:
12680           add some more tests while fixing leaks
12681         * common/check.mak:
12682           make sure binaries are uptodate when valgrinding/gdbing
12683         * gst/gst.c:
12684         * gst/gstelementfactory.c:
12685           remove a ref too many, and add a FIXME for when we get
12686           round to disposing of classes
12687         * gst/gstplugin.c:
12688           fix the refcounting when loading a plugin from a file and
12689           the code pretends that the pointer is the same even though
12690           of course it can change
12691         * gst/gstpluginfeature.c:
12692           unref plugins marked cached (a bit confusing as a name)
12693           as the docs state should be done
12694           various doc additions to explain refcounting
12695         * gst/gstregistry.c:
12696         * gst/gstregistryxml.c:
12697           debugging
12698
12699 2005-09-19  Wim Taymans  <wim@fluendo.com>
12700
12701         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12702         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12703         (send_messages), (GST_START_TEST), (gstbus_suite):
12704         * check/gst/gstpipeline.c: (GST_START_TEST):
12705         * check/pipelines/cleanup.c: (run_pipeline):
12706         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12707         (GST_START_TEST):
12708         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12709         (gst_bus_source_check), (gst_bus_source_dispatch),
12710         (gst_bus_create_watch), (gst_bus_add_watch_full),
12711         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12712         * gst/gstbus.h:
12713         * tools/gst-launch.c: (event_loop):
12714         * tools/gst-md5sum.c: (event_loop):
12715         GstBusHandler -> GstBusFunc, return value has the same meaning as
12716         any other GSource (FALSE == remove source).
12717         _add_watch() and _add_watch_full() now take a MessageType mask to
12718         only handle specific types of messages.
12719         _poll() returns the GstMessage instead of the message type to avoid
12720         race conditions.
12721         _have_pending() takes a MessageType mask now too.
12722         Added testsuite for multiple bus watches.
12723         Fix testsuites and applications for new bus API.
12724
12725 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12726
12727         * check/Makefile.am:
12728           mark a bunch of the tests as to fix until we fix them
12729
12730 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12731
12732         * common/check.mak:
12733           use GST_PLUGIN settings for valgrind tests as well, so we're
12734           valgrinding the correct thing
12735         * gst/gst.c: (init_post):
12736           plug another leak
12737
12738 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12739
12740         * gst/gst.c: (init_post), (gst_deinit):
12741         * gst/gstelementfactory.c: (gst_element_factory_class_init),
12742         (gst_element_factory_finalize), (gst_element_factory_cleanup):
12743         * gst/gstindex.c: (gst_index_factory_class_init),
12744         (gst_index_factory_finalize):
12745         * gst/gstobject.c: (gst_object_dispose):
12746         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12747         (gst_plugin_load_file), (gst_plugin_desc_free):
12748         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12749         (gst_plugin_feature_finalize):
12750         * gst/gstregistry.c: (gst_registry_class_init),
12751         (gst_registry_init), (gst_registry_finalize),
12752         (gst_registry_get_default), (gst_registry_deinit):
12753         * gst/gstregistry.h:
12754         * gst/gstregistryxml.c: (load_feature), (load_plugin):
12755           various cleanups and memleak plugging.  make valgrind is happy now.
12756
12757 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12758
12759         * common/check.mak:
12760           add a check-valgrind target
12761
12762 2005-09-18  David Schleef  <ds@schleef.org>
12763
12764         * tools/gst-inspect.c: Revert the GOption code.
12765
12766 2005-09-17  David Schleef  <ds@schleef.org>
12767
12768         * check/Makefile.am: Fix environment variables.
12769         * check/gst/gstplugin.c: Fix for API changes.
12770         * tools/gst-inspect.c: Fix for API changes.
12771         * tools/gst-xmlinspect.c: Fix for API changes.
12772         * gst/gstelementfactory.c:
12773         * gst/gstplugin.c:
12774         * gst/gstplugin.h:
12775         * gst/gstpluginfeature.c:
12776         * gst/gstpluginfeature.h:
12777         * gst/gstregistry.c:
12778         * gst/gstregistry.h:
12779         * gst/gstregistryxml.c:
12780         * gst/gsttypefind.c:
12781         * gst/gsttypefindfactory.c:
12782         * gst/indexers/gstfileindex.c:
12783         * gst/indexers/gstmemindex.c:
12784         * gst/schedulers/Makefile.am:
12785           Change registry to keep track of both plugins and features,
12786           removing the feature tracking from plugins themselves.
12787
12788 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12789
12790         * check/Makefile.am:
12791         * tools/gst-register.1.in:
12792           remove gst-register
12793
12794 2005-09-15  David Schleef  <ds@schleef.org>
12795
12796         * check/gst/gstplugin.c:
12797         * gst/gstelementfactory.c:
12798         * gst/gstplugin.c:
12799         * gst/gstpluginfeature.c:
12800         * gst/gstregistry.c:
12801           Getting tired of debugging.  Disabled all the unreffing of
12802           plugins and features, which fixes the segfaults, but of
12803           course leaks like crazy.  At least playbin works.
12804
12805 2005-09-15  David Schleef  <ds@schleef.org>
12806
12807         * check/gst/gstplugin.c: (register_check_elements),
12808         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12809         More testing
12810         * gst/elements/gsttypefindelement.c: Fix refcounting.
12811         * gst/gsttypefind.c:
12812         * gst/gsttypefindfactory.c:
12813         * gst/gsttypefindfactory.h:
12814
12815 2005-09-15  David Schleef  <ds@schleef.org>
12816
12817         * gst/gstindex.c: get refcounting correct.
12818         * gst/gstregistry.c: Handle the case where a feature/plugin is
12819           not found.
12820
12821 2005-09-15  David Schleef  <ds@schleef.org>
12822
12823         * check/Makefile.am:
12824         * check/gst/gstplugin.c: Add test
12825         * gst/gstplugin.c: Fix problems noticed by testsuite
12826         * gst/gstplugin.h:
12827         * gst/gstregistry.c: 
12828         * gst/gstregistry.h:
12829
12830 2005-09-15  David Schleef  <ds@schleef.org>
12831
12832         * gst/gstplugin.c: Implement semi-decent recounting and locking
12833           in plugins and plugin features.
12834         * gst/gstplugin.h:
12835         * gst/gstpluginfeature.c:
12836         * gst/gstpluginfeature.h:
12837         * gst/gstregistry.c:
12838
12839 2005-09-15  Michael Smith <msmith@fluendo.com>
12840
12841         * gst/gstregistry.c: (gst_registry_get_feature_list):
12842           Implement this. Makes oggdemux work; decodebin still broken.
12843
12844 2005-09-14  David Schleef  <ds@schleef.org>
12845
12846         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12847           #316076)
12848         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12849         * gst/check/Makefile.am:
12850         * libs/gst/controller/Makefile.am:
12851         * libs/gst/dataprotocol/Makefile.am:
12852
12853 2005-09-14  David Schleef  <ds@schleef.org>
12854
12855         * configure.ac: Remove getbits library.  Nothing uses it, and
12856           it should be in something like liboil if someone did want
12857           to use it.
12858         * libs/gst/Makefile.am:
12859         * libs/gst/getbits/Makefile.am:
12860         * libs/gst/getbits/gbtest.c:
12861         * libs/gst/getbits/getbits.c:
12862         * libs/gst/getbits/getbits.h:
12863         * libs/gst/getbits/gstgetbits_generic.c:
12864         * libs/gst/getbits/gstgetbits_i386.s:
12865         * libs/gst/getbits/gstgetbits_inl.h:
12866
12867 2005-09-14  David Schleef  <ds@schleef.org>
12868
12869         * gst/Makefile.am: Dist glib-compat.h
12870
12871 2005-09-14  David Schleef  <ds@schleef.org>
12872
12873         * configure.ac: Remove gst/registries, since it's no longer used.
12874         * gst/registries/Makefile.am:
12875         * gst/registries/gstlibxmlregistry.c:
12876         * gst/registries/gstlibxmlregistry.h:
12877         * gst/registries/gstxmlregistry.c:
12878         * gst/registries/gstxmlregistry.h:
12879         * gst/registries/registrytest.c:
12880
12881 2005-09-14  David Schleef  <ds@schleef.org>
12882
12883         * gst/glib-compat.h:
12884         * gst/gstregistryxml.c:
12885           Convergence is near.  Seriously.
12886
12887 2005-09-14  David Schleef  <ds@schleef.org>
12888
12889         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12890         * gst/glib-compat.h:
12891           Attempt #4 to appease the buildbots.
12892
12893 2005-09-14  David Schleef  <ds@schleef.org>
12894
12895         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12896           Attempt #3.
12897
12898 2005-09-14  David Schleef  <ds@schleef.org>
12899
12900         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12901         Attempt #2.
12902
12903 2005-09-14  David Schleef  <ds@schleef.org>
12904
12905         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12906           the new functions.
12907
12908 2005-09-14  David Schleef  <ds@schleef.org>
12909
12910         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12911         * gst/glib-compat.h: Add some functions that are in newer versions
12912           of glib than we care to require.
12913         * gst/gstregistryxml.c: Use them.
12914
12915 2005-09-14  David Schleef  <ds@schleef.org>
12916
12917         * po/POTFILES.in: remove gst-register.c
12918
12919 2005-09-14  David Schleef  <ds@schleef.org>
12920
12921         * docs/gst/gstreamer-docs.sgml:
12922         * docs/gst/gstreamer-sections.txt:
12923         * docs/gst/gstreamer.types:
12924         * docs/gst/tmpl/gstelement.sgml:
12925         * docs/gst/tmpl/gstplugin.sgml:
12926         * docs/gst/tmpl/gstpluginfeature.sgml:
12927           Documentation updates for registry changes.
12928
12929 2005-09-14  David Schleef  <ds@schleef.org>
12930
12931         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12932           because we don't require glib-2.8.
12933
12934 2005-09-14  David Schleef  <ds@schleef.org>
12935
12936         * gst/gstregistryxml.c: Added.  Essentially moved out of the
12937           registries directory.
12938
12939 2005-09-14  David Schleef  <ds@schleef.org>
12940
12941         * check/Makefile.am:
12942         * check/generic/states.c:
12943         * gst/Makefile.am:
12944         * gst/gst.c:
12945         * gst/gst.h:
12946         * gst/gst_private.h:
12947         * gst/gstelementfactory.c:
12948         * gst/gstindex.c:
12949         * gst/gstinfo.c:
12950         * gst/gstplugin.c:
12951         * gst/gstplugin.h:
12952         * gst/gstpluginfeature.c:
12953         * gst/gstpluginfeature.h:
12954         * gst/gstregistry.c:
12955         * gst/gstregistry.h:
12956         * gst/gstregistrypool.c: remove
12957         * gst/gstregistrypool.h: remove
12958         * gst/gsttypefind.c:
12959         * gst/gsttypefindfactory.c:
12960         * gst/gsturi.c:
12961         * tools/Makefile.am:
12962         * tools/gst-compprep.c:
12963         * tools/gst-inspect.c:
12964         * tools/gst-register.c: remove
12965         * tools/gst-xmlinspect.c:
12966           Registry rewrite.  Changes registry from being a file created
12967           by a tool into a simple cache file created automatically by 
12968           libgstreamer.  Removed gst-register (because it's no longer
12969           needed).  Remove registry pools, because we only have one
12970           registry implementation (XML).  Fix up other subsystems as
12971           necessary.
12972
12973 2005-09-13  Michael Smith <msmith@fluendo.com>
12974
12975         * gst/gstconfig.h.in:
12976           Don't Use windows linking attributes for MinGW. Fixes #316157
12977
12978 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12979
12980         * gst/gstutils.c: (set_state_async_thread_func),
12981         (gst_element_set_state_async):
12982           Apparently people think it's better if this function doesn't
12983           try to set the state to whatever state was asked for on the first
12984           call to this function for any object.  Seriously.
12985
12986 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12987
12988         * check/gst/gstpipeline.c: (GST_START_TEST):
12989         * docs/gst/gstreamer-sections.txt:
12990         * gst/gstutils.c: (set_state_async_thread_func),
12991         (gst_element_set_state_async):
12992         * gst/gstutils.h:
12993           add a "gst_element_set_state_async" method that
12994           sets the state and starts a thread to make sure the state
12995           change completes as best as it can
12996
12997 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12998
12999         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13000           codify design+behaviour in testsuite after discussion
13001
13002 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13003
13004         * docs/gst/tmpl/gstelement.sgml:
13005         * docs/manual/appendix-quotes.xml:
13006           add a quote
13007         * gst/gstelement.c: (gst_element_set_state):
13008           add some debug
13009
13010 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13011
13012         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13013         (gst_base_transform_prepare_output_buf),
13014         (gst_base_transform_handle_buffer):
13015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13016         (gst_capsfilter_prepare_buf):
13017           Remove the requirement for sub-classes to call the parent
13018           implementation of prepare_output_buffer with a wrapper function.
13019           
13020         * gst/gsttaglist.h:
13021         * gst/gsttagsetter.h:
13022           Fix #define wrapper
13023
13024 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13025
13026         * docs/gst/gstreamer-sections.txt:
13027           more doc cleanups
13028
13029 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13030
13031         * docs/gst/gstreamer-sections.txt:
13032         * docs/gst/tmpl/gstelement.sgml:
13033         * docs/gst/tmpl/gstplugin.sgml:
13034         * gst/gstminiobject.c:
13035         * gst/gstvalue.h:
13036           docs now stop throwing warnings
13037
13038 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13039
13040         * docs/gst/gstreamer-sections.txt:
13041         * docs/gst/gstreamer.types:
13042         * docs/gst/tmpl/gstpad.sgml:
13043         * docs/gst/tmpl/gsttypes.sgml:
13044         * gst/base/gstadapter.h:
13045         * gst/base/gstbasesink.h:
13046         * gst/base/gstbasesrc.h:
13047         * gst/gstbin.h:
13048         * gst/gstbuffer.h:
13049         * gst/gstbus.h:
13050         * gst/gstcaps.h:
13051         * gst/gstclock.h:
13052         * gst/gstelement.h:
13053         * gst/gstevent.h:
13054         * gst/gstmessage.h:
13055         * gst/gstpad.h:
13056         * gst/gststructure.c:
13057         * gst/registries/gstlibxmlregistry.h:
13058           various documentation fixes
13059
13060 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13061
13062         * docs/gst/gstreamer-sections.txt:
13063         * docs/gst/tmpl/gstvalue.sgml:
13064           rearrange gstvalue section
13065         * gst/gstutils.c: (gst_element_state_get_name):
13066           NONE -> VOID
13067         * gst/gstvalue.c: (_gst_value_initialize):
13068         * gst/gstvalue.h:
13069           doc updates
13070
13071 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13072
13073         * check/gst-libs/controller.c:
13074           Header include fix.
13075         * gst/base/gstbasetransform.c:
13076         (gst_base_transform_default_prepare_buf),
13077         (gst_base_transform_handle_buffer):
13078         * gst/base/gstbasetransform.h:
13079           Some more basetransform changes and fixes to enable sub-classes
13080           that modify buffer metadata only.
13081         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13082         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13083         (gst_capsfilter_prepare_buf):
13084           If the output pad has fixed allowed caps and input buffers 
13085           don't have any, set the fixed caps on outgoing buffers.
13086
13087 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13088         * check/elements/identity.c: (GST_START_TEST):
13089           Make the error a little clearer when the test fails because
13090           identity made a copy of the buffer.
13091         * docs/gst/gstreamer-sections.txt:
13092           New symbols in gstbasetransform.h
13093         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13094         (gst_base_transform_init), (gst_base_transform_transform_size),
13095         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13096         (gst_base_transform_default_prepare_buf),
13097         (gst_base_transform_get_unit_size),
13098         (gst_base_transform_buffer_alloc),
13099         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13100         (gst_base_transform_change_state),
13101         (gst_base_transform_set_passthrough),
13102         (gst_base_transform_set_in_place),
13103         (gst_base_transform_is_in_place):
13104         * gst/base/gstbasetransform.h:
13105           Change BaseTransform to separate in_place operate from same_caps
13106           output. in_place implies that the element can perform the transform
13107           on incoming buffers in-place, even if the caps on the output are
13108           different.
13109           Sub-class elements can now implement special buffer allocation
13110           methods for outgoing buffers if they wish to.
13111           Big documentation addition.
13112         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13113         * gst/elements/gstelements.c:
13114           Changes for basetransform modifications.
13115         * gst/elements/Makefile.am:
13116         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13117           Compile fix. Extra debug output.
13118
13119 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13120
13121         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13122         (gst_pad_suite):
13123           add tests for valid pad naming
13124         * gst/check/gstcheck.c: (gst_check_log_message_func),
13125         (gst_check_log_critical_func):
13126           add ASSERT_WARNING
13127           remove printing of code, it is fragile when the code contains
13128           % and the line number is enough info
13129         * gst/check/gstcheck.h:
13130         * gst/gstpad.c: (gst_pad_template_new):
13131           fix memleaks
13132
13133 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13134
13135         * configure.ac:
13136           say what CHECK flags we use
13137         * docs/libs/gstreamer-libs.types:
13138         * libs/gst/controller/Makefile.am:
13139         * libs/gst/controller/gst-controller.c:
13140         * libs/gst/controller/gst-controller.h:
13141         * libs/gst/controller/gst-helper.c:
13142         * libs/gst/controller/gst-interpolation.c:
13143         * libs/gst/controller/gstcontroller.c:
13144         * libs/gst/controller/gsthelper.c:
13145         * libs/gst/controller/gstinterpolation.c:
13146         * tools/gst-inspect.c: (print_plugin_info):
13147           we don't use dashes in header names
13148
13149 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13150
13151         * check/Makefile.am:
13152         * check/gst/.cvsignore:
13153         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13154         (gst_pipeline_suite), (main):
13155           adding a test for pipelines and state changes
13156         * gst/gstutils.c: (get_state_func):
13157           add some debugging
13158         * gstreamer.spec.in:
13159           fix up spec file
13160
13161 2005-09-08  Michael Smith <msmith@fluendo.com>
13162
13163         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13164         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13165         (gst_file_src_is_seekable), (gst_file_src_get_size),
13166         (gst_file_src_start):
13167         * gst/elements/gstfilesrc.h:
13168           Various fixes for unseekable, unmmapable, and non-normal files, so
13169           that fallback to read() rather than mmap() works.
13170         * gst/gstevent.c: (gst_event_new_newsegment):
13171           Allow newsegment events with segment_start == segment_end, as will
13172           correctly happen if you use filesrc on a zero-size file, for
13173           example.
13174
13175 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13176
13177         * gst/gstplugin.c: (gst_plugin_load_file):
13178           Call g_module_close when we don't load the module
13179
13180         * gst/registries/gstlibxmlregistry.c:
13181         (gst_xml_registry_get_property):
13182           Port leak fix from 0.8
13183
13184 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13185
13186         * docs/gst/gstreamer-docs.sgml:
13187         * docs/gst/tmpl/.cvsignore:
13188         * docs/gst/tmpl/gsttrace.sgml:
13189         * docs/gst/tmpl/gsttrashstack.sgml:
13190         * gst/Makefile.am:
13191         * gst/gst.h:
13192         * gst/gstelement.h:
13193         * gst/gstevent.h:
13194         * gst/gstmessage.c:
13195         * gst/gstmessage.h:
13196         * gst/gsttag.c:
13197         * gst/gsttag.h:
13198         * gst/gsttaginterface.c:
13199         * gst/gsttaginterface.h:
13200         * gst/gsttaglist.c:
13201         * gst/gsttaglist.h:
13202         * gst/gsttagsetter.c:
13203         * gst/gsttagsetter.h:
13204         * gst/gsttrace.c:
13205         * gst/gsttrace.h:
13206         * gst/gsttrashstack.c:
13207           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13208           inlined docs for gsttrace, gsttrashstack
13209
13210 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13211
13212         * gst/Makefile.am:
13213         * gst/elements/gstbufferstore.h:
13214         * gst/elements/gsttypefindelement.c:
13215         * gst/elements/gsttypefindelement.h:
13216         * gst/gst.h:
13217         * gst/gsttypefind.c:
13218         * gst/gsttypefind.h:
13219         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13220         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13221         (gst_type_find_factory_dispose),
13222         (gst_type_find_factory_unload_thyself),
13223         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13224         (gst_type_find_factory_get_caps),
13225         (gst_type_find_factory_get_extensions),
13226         (gst_type_find_factory_call_function):
13227         * gst/gsttypefindfactory.h:
13228         * gst/registries/gstlibxmlregistry.c:
13229         * gst/registries/gstxmlregistry.c:
13230           splitted gsttypefind into gsttypefind, gsttypefindfactory
13231
13232 2005-09-07  Andy Wingo  <wingo@pobox.com>
13233
13234         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13235         condition whereby the pad's task function is entered before the
13236         pad_mode variable was set.
13237
13238 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13239
13240         * gst/gstpad.c: (gst_pad_alloc_buffer):
13241           Catch misbehaving pad_alloc functions that don't
13242           set up caps and do it for them.
13243
13244 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13245
13246         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13247           test for pipe!=NULL
13248         * docs/gst/tmpl/.cvsignore:
13249         * docs/gst/tmpl/gstmemchunk.sgml:
13250         * docs/gst/tmpl/gstparse.sgml:
13251         * docs/gst/tmpl/gsttaglist.sgml:
13252         * docs/gst/tmpl/gsttagsetter.sgml:
13253         * docs/gst/tmpl/gsttypefind.sgml:
13254         * docs/gst/tmpl/gsttypefindfactory.sgml:
13255         * gst/gstmemchunk.c:
13256         * gst/gstparse.c:
13257         * gst/gsttag.c:
13258         * gst/gsttaginterface.c:
13259         * gst/gsttypefind.c:
13260         * gst/gsttypefind.h:
13261           inlined more docs
13262
13263 === release 0.9.2 ===
13264
13265 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13266
13267         * NEWS:
13268         * RELEASE:
13269         * configure.ac:
13270           releasing 0.9.2, "South"
13271
13272 2005-09-05  Andy Wingo  <wingo@pobox.com>
13273
13274         * gst/registries/gstxmlregistry.h:
13275         * gst/registries/gstxmlregistry.c: Um... resurrect...
13276         
13277         * gst/registries/gstxmlregistry.h:
13278         * gst/registries/gstxmlregistry.c: and update to newer API.
13279         Incidentally they should be a bit faster now that they don't have
13280         to parse the caps.
13281         
13282 2005-09-05  Andy Wingo  <wingo@pobox.com>
13283
13284         * gst/registries/gstxmlregistry.h:
13285         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13286         replaced by the libxml registry a while back
13287
13288 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13289
13290         * docs/gst/tmpl/gstplugin.sgml:
13291         * gst/elements/gstelements.c:
13292         * gst/gst.c:
13293         * gst/gstplugin.c: (gst_plugin_register_func),
13294         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13295         (gst_plugin_get_source):
13296         * gst/gstplugin.h:
13297         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13298         (gst_xml_registry_save_plugin):
13299         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13300         (gst_xml_registry_save_plugin):
13301         * tools/gst-inspect.c: (print_plugin_info):
13302           add a "source" plugin description field, to represent the source
13303           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13304           will set it to PACKAGE, which is automake's idea of the name of
13305           the source project.
13306
13307 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13308
13309         * Makefile.am:
13310         * autogen.sh:
13311         * configure.ac:
13312         * docs/Makefile.am:
13313         * docs/faq/Makefile.am:
13314         * docs/gst/tmpl/gstelement.sgml:
13315         * docs/gst/tmpl/gsttypes.sgml:
13316         * docs/htmlinstall.mak:
13317         * docs/manual/Makefile.am:
13318         * docs/pwg/Makefile.am:
13319           reorganize doc build a little
13320           split out docbook and gtk-doc stuff
13321           have two separate --enable's and enable them through autogen
13322           but disable by default in configure (to be similar to other
13323           projects)
13324         * gstreamer.spec.in:
13325           clean up docs install
13326         * po/af.po:
13327         * po/az.po:
13328         * po/ca.po:
13329         * po/cs.po:
13330         * po/de.po:
13331         * po/en_GB.po:
13332         * po/fr.po:
13333         * po/it.po:
13334         * po/nb.po:
13335         * po/nl.po:
13336         * po/ru.po:
13337         * po/sq.po:
13338         * po/sr.po:
13339         * po/sv.po:
13340         * po/tr.po:
13341         * po/uk.po:
13342         * po/vi.po:
13343           translation updates
13344
13345 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13346
13347         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13348           Add comment.
13349           
13350         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13351         (gst_fake_sink_change_state):
13352           Make state change function thread-safe.
13353           
13354         * gst/gstpad.c: (gst_pad_alloc_buffer):
13355           Set offset on generic buffer allocated by fallback.
13356
13357 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13358
13359         * docs/gst/gstreamer-sections.txt:
13360         * docs/gst/tmpl/gstelement.sgml:
13361         * gst/gstpad.c:
13362         * libs/gst/controller/gst-controller.c:
13363         (gst_controlled_property_set_interpolation_mode),
13364         (gst_controlled_property_new),
13365         (gst_controller_find_controlled_property):
13366          run the wingo-magic script against the docs
13367
13368 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13369
13370         * docs/gst/gstreamer-docs.sgml:
13371         * docs/gst/gstreamer-sections.txt:
13372         * docs/gst/tmpl/.cvsignore:
13373         * docs/gst/tmpl/gstelementdetails.sgml:
13374         * docs/gst/tmpl/gstelementfactory.sgml:
13375         * gst/gst.c:
13376         * gst/gstbus.c:
13377         * gst/gstelementfactory.c:
13378         * gst/gstelementfactory.h:
13379           merged elementdetails docs into elementfactory docs
13380           inlined both
13381
13382 2005-09-02  Andy Wingo  <wingo@pobox.com>
13383
13384         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13385         consider this enum an enum and not a flags.
13386
13387 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13388
13389         * docs/gst/gstreamer-docs.sgml:
13390         * docs/gst/tmpl/.cvsignore:
13391         * docs/gst/tmpl/gstghostpad.sgml:
13392         * docs/gst/tmpl/gstiterator.sgml:
13393         * docs/gst/tmpl/gstmacros.sgml:
13394         * docs/gst/tmpl/gstrealpad.sgml:
13395         * docs/gst/tmpl/gstregistry.sgml:
13396         * docs/gst/tmpl/gstregistrypool.sgml:
13397         * docs/gst/tmpl/gststructure.sgml:
13398         * docs/gst/tmpl/gstsystemclock.sgml:
13399         * docs/gst/tmpl/gsttrace.sgml:
13400         * gst/gstghostpad.c:
13401         * gst/gstmacros.h:
13402         * gst/gstmemchunk.c:
13403         * gst/gstmemchunk.h:
13404         * gst/gstqueue.c:
13405         * gst/gstregistry.c:
13406         * gst/gstregistrypool.c:
13407         * gst/gststructure.c:
13408         * gst/gstsystemclock.c:
13409           more docs inlined
13410
13411 2005-09-02  Andy Wingo  <wingo@pobox.com>
13412
13413         * gst/gstelement.h (GstState): Renamed from GstElementState,
13414         changed to be a normal enum instead of flags.
13415         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13416         munged to be GST_STATE_CHANGE_*.
13417         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13418         work with the new state representation.
13419         (GstStateChange): New enumeration of possible state transitions.
13420         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13421         (GstElementClass::change_state): Pass the GstStateChange along as
13422         an argument. Helps language bindings, so they don't have to use
13423         tricky lock-needing macros like GST_STATE_CHANGE ().
13424
13425         * scripts/update-states (file): New script. Run it on a file to
13426         update it for state naming and API changes. Updates files in
13427         place.
13428
13429         * All files updated for the new API.
13430
13431 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13432
13433         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13434         * gst/gstutils.c: (gst_util_set_value_from_string),
13435         (gst_util_set_object_arg):
13436           fix a bunch of unchecked return values
13437         * tools/gst-complete.c: (main):
13438         * gstreamer.spec.in:
13439           clean up a little
13440
13441 2005-09-01  Wim Taymans  <wim@fluendo.com>
13442
13443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13444         (gst_base_sink_event), (gst_base_sink_do_sync),
13445         (gst_base_sink_handle_event):
13446         * gst/base/gstbasesink.h:
13447         Handle newsegments more correctly.
13448
13449         * gst/gstbus.c:
13450         Fix docs.
13451
13452         * gst/gstevent.c: (gst_event_new_newsegment):
13453         A newsegment cannot have a start_time of -1
13454
13455 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * win32/gstenumtypes.c:
13458         * win32/gstenumtypes.h:
13459           Update
13460
13461 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13462
13463         * libs/gst/controller/gst-controller.c:
13464         (gst_controlled_property_set_interpolation_mode),
13465         (gst_controlled_property_new):
13466          fixed boolean again
13467
13468 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13469
13470         * docs/faq/gst-uninstalled:
13471           add -good
13472         * gst/gstevent.c:
13473         * gst/gstevent.h:
13474           remove wrong docs
13475         * gst/gstutils.c: (gst_element_link_filtered):
13476         * gst/gstutils.h:
13477           add gst_element_link_filtered
13478
13479 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13480
13481         * docs/gst/gstreamer-docs.sgml:
13482         * docs/gst/gstreamer-sections.txt:
13483         * docs/gst/tmpl/.cvsignore:
13484         * docs/gst/tmpl/gsterror.sgml:
13485         * docs/gst/tmpl/gstfilter.sgml:
13486         * docs/gst/tmpl/gsturihandler.sgml:
13487         * docs/gst/tmpl/gsturitype.sgml:
13488         * docs/gst/tmpl/gstutils.sgml:
13489         * docs/gst/tmpl/gstxml.sgml:
13490         * gst/gsterror.c:
13491         * gst/gsterror.h:
13492         * gst/gstfilter.c:
13493         * gst/gsturi.c:
13494         * gst/gsturitype.c:
13495         * gst/gstutils.c:
13496         * gst/gstxml.c:
13497           inlined more docs, fixed double id-ref
13498
13499 2005-08-31  Wim Taymans  <wim@fluendo.com>
13500
13501         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13502         (gst_base_transform_handle_buffer):
13503         Passthrough elements don't need the caps as they don't care.
13504
13505 2005-08-31  Wim Taymans  <wim@fluendo.com>
13506
13507         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13508         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13509         Don't leak refcounts on buffers.
13510
13511 2005-08-31  Wim Taymans  <wim@fluendo.com>
13512
13513         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13514         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13515         (gst_base_transform_chain), (gst_base_transform_change_state):
13516         * gst/base/gstbasetransform.h:
13517         Handle the case where we are not negotiated more gracefully.
13518
13519 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13520
13521         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13522         (gst_file_src_map_region):
13523           Set READONLY flag on mmap'ed buffers, otherwise
13524           gst_buffer_make_writable() won't work properly (#314708).
13525
13526 2005-08-31  Wim Taymans  <wim@fluendo.com>
13527
13528         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13529         passthrough elements can even do inplace on non writable
13530         buffers (as they don't touch them).
13531
13532 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13533
13534         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13535         (gst_test_mono_source_set_property),
13536         (gst_test_mono_source_class_init), (GST_START_TEST),
13537         (gst_controller_suite):
13538           more tests (hehe I have the most)
13539         * gst/gstbus.c:
13540           describe popping messages whenusing mulltiple sources
13541         * libs/gst/controller/gst-controller.c:
13542         (gst_controlled_property_set_interpolation_mode),
13543         (gst_controlled_property_new):
13544         * libs/gst/controller/gst-controller.h:
13545         * libs/gst/controller/gst-interpolation.c:
13546           implement boolean properties
13547
13548 2005-08-31  Wim Taymans  <wim@fluendo.com>
13549
13550         * gst/gstminiobject.c: (gst_mini_object_ref):
13551         Cannot assert that the refcount has to be positive
13552         since a disposed object can be resurrected.
13553
13554 2005-08-31  Wim Taymans  <wim@fluendo.com>
13555
13556         * gst/gstpad.c: (gst_pad_init):
13557         Revert change, need to first fix badly behaving 
13558         apps.
13559
13560 2005-08-30  Wim Taymans  <wim@fluendo.com>
13561
13562         * check/elements/fakesrc.c: (setup_fakesrc):
13563         * check/elements/identity.c: (setup_identity):
13564         Activate pads before using them.
13565
13566 2005-08-30  Wim Taymans  <wim@fluendo.com>
13567
13568         * gst/base/gstadapter.c: (gst_adapter_flush):
13569         Flushing out 0 bytes is ok for this function.
13570
13571         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13572         no newsegment gives a warning and sets the start/stop to 
13573         invalid.
13574
13575         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13576         (gst_base_transform_set_passthrough):
13577         Some debug info.
13578
13579         * gst/gstminiobject.c: (gst_mini_object_ref):
13580         Check refcount here too.
13581
13582         * gst/gstpad.c: (gst_pad_init):
13583         Pads are initially flushing and refusing data.
13584
13585         * gst/gstutils.c: (gst_element_link_pads_filtered):
13586         When adding a capsfilter element make sure it has the
13587         same state as the parent bin.
13588
13589 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13590
13591         * docs/gst/tmpl/.cvsignore:
13592         * docs/gst/tmpl/gstformat.sgml:
13593         * docs/gst/tmpl/gstversion.sgml:
13594         * gst/gstbus.h:
13595         * gst/gstformat.c:
13596         * gst/gstformat.h:
13597         * gst/gstversion.h.in:
13598           more docs and two more inlined
13599
13600 2005-08-30  Wim Taymans  <wim@fluendo.com>
13601
13602         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13603         Don't sync to clock.
13604
13605 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13606
13607         * docs/gst/gstreamer-sections.txt:
13608           ultral33t func10ns deserve to appear in the docs actually
13609         * docs/gst/tmpl/.cvsignore:
13610         * docs/gst/tmpl/gstcompat.sgml:
13611         * docs/gst/tmpl/gstconfig.sgml:
13612         * gst/check/gstcheck.c:
13613         * gst/gstcompat.h:
13614         * gst/gstconfig.h.in:
13615           inlined more docs
13616
13617 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13618
13619         * docs/gst/tmpl/.cvsignore:
13620         * docs/gst/tmpl/gstquery.sgml:
13621         * docs/gst/tmpl/gstutils.sgml:
13622         * gst/gstquery.c:
13623         * gst/gstquery.h:
13624           inlined and extended docs
13625
13626 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13627
13628         * check/gst-libs/controller.c: (GST_START_TEST),
13629         (gst_controller_suite):
13630           more tests
13631         * docs/gst/tmpl/gstutils.sgml:
13632         * docs/libs/gstreamer-libs-sections.txt:
13633         * docs/libs/tmpl/gstdataprotocol.sgml:
13634           include path fixes
13635         * examples/controller/audio-example.c: (main):
13636           controller example works now
13637         * gst/gstclock.h:
13638           doc fixes
13639         * tools/gst-inspect.c: (print_element_properties_info):
13640           show param spec flags
13641
13642 2005-08-29  Andy Wingo  <wingo@pobox.com>
13643
13644         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13645
13646 2005-08-28  Andy Wingo  <wingo@pobox.com>
13647
13648         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13649         as having two arguments instead of just one. Allows superclasses
13650         to access information on subclasses -- see the terrible for() loop
13651         in gtype.c:g_type_create_instance for the reason why. All callers
13652         changed.
13653
13654 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13655
13656         * docs/design/part-messages.txt:
13657           update info
13658         * docs/gst/tmpl/.cvsignore:
13659         * docs/gst/tmpl/gstcaps.sgml:
13660         * docs/gst/tmpl/gstclock.sgml:
13661         * gst/gstbus.c:
13662         * gst/gstcaps.c:
13663         * gst/gstcaps.h:
13664         * gst/gstclock.c:
13665         * gst/gstclock.h:
13666         * gst/gstmessage.c:
13667           added descriptions for bus and message
13668           inline caps and clock docs
13669
13670 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13671
13672         * gst/gstmessage.c:
13673         * gst/gstmessage.h:
13674           doc fixes
13675
13676 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13677
13678         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13679           fix div-by-zero
13680
13681 2005-08-26  Andy Wingo  <wingo@pobox.com>
13682
13683         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13684         element_set_state's return val.
13685         (test_2_elements): Add test that's been disabled for months.
13686
13687         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13688         can-activate-pull properties.
13689
13690         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13691         can-activate-pull properties. Implement is_seekable so fakesrc can
13692         operate in pull mode.
13693
13694         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13695         properties.
13696         (gst_base_sink_activate, gst_base_sink_activate_pull)
13697         (gst_base_sink_activate_push): Make activation mode choosing work.
13698         Cleanups.
13699         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13700         is right. Make pull mode work. Post an eos before pausing in pull
13701         mode.
13702         (gst_base_sink_change_state): Pay attention to the core's
13703         change_state() return val.
13704         
13705         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13706         has-getrange properties. Cleanups.
13707         
13708         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13709         has_getrange and replace with can_activate_pull and
13710         can_activate_push.
13711
13712         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13713         locking comments. Remove has_loop, has_chain and replace with
13714         can_activate_pull and can_activate_push.
13715
13716 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13717
13718         * configure.ac:
13719         * examples/Makefile.am:
13720         * examples/metadata/Makefile.am:
13721         * examples/metadata/read-metadata.c: (message_loop),
13722         (have_pad_handler), (make_pipeline), (print_tag), (main):
13723           Add metadata reading example that loops over a list of filenames,
13724           dumping any tags found.
13725
13726         * gst/gstbus.c: (gst_bus_dispose):
13727         * gst/gstelement.c: (gst_element_dispose):
13728           Release a few potentially-held references in dispose.
13729
13730 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13731
13732         * docs/gst/tmpl/gstminiobject.sgml:
13733           do *not* add tmpl/*.sgml files to CVS!
13734
13735 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13736
13737         * libs/gst/bytestream/.cvsignore:
13738         * libs/gst/bytestream/Makefile.am:
13739         * libs/gst/bytestream/adapter.c:
13740         * libs/gst/bytestream/adapter.h:
13741         * libs/gst/bytestream/bytestream.c:
13742         * libs/gst/bytestream/bytestream.h:
13743         * libs/gst/bytestream/filepad.c:
13744         * libs/gst/bytestream/filepad.h:
13745           removing obsolete files
13746
13747 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13748
13749         * docs/gst/gstreamer-docs.sgml:
13750         * docs/libs/gstreamer-libs-docs.sgml:
13751           disabed additional index entries again, as this makes docs-gen just
13752           slow and they aren't useful yet
13753         * docs/libs/gstreamer-libs-sections.txt:
13754           little -section.txt cleanup for libs
13755
13756 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13757
13758         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13759         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13760           fix up some debugging
13761         (gst_base_transform_get_unit_size),
13762         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13763         (gst_base_transform_handle_buffer):
13764         * gst/base/gstbasetransform.h:
13765           handle and store timed NEWSEGMENT events so that subclasses that
13766           calculate time by counting samples have a segment_start time they
13767           need to add to their timestamps - see audioresample
13768
13769 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13770
13771         * gst/gstbin.h:
13772           removed ';' from the end of macro defs
13773         * docs/gst/gstreamer-docs.sgml:
13774         * docs/gst/gstreamer-sections.txt:
13775         * docs/gst/tmpl/.cvsignore:
13776         * gst/gstbus.h:
13777         * gst/gstelement.c: (gst_element_class_init),
13778         (gst_element_set_state), (activate_pads),
13779         (gst_element_save_thyself):
13780         * gst/gstevent.c: (gst_event_new_newsegment):
13781         * gst/gstevent.h:
13782         * gst/gstiterator.c:
13783         * gst/gstiterator.h:
13784         * gst/gstpad.c:
13785         * gst/gstprobe.h:
13786         * gst/gstutils.c: (gst_pad_query_convert):
13787         * gst/gstutils.h:
13788           fixed parameter name mismatches between source, header and docs
13789           added some more docs, resolved the last batch of unused elements in
13790           docs (now someone needs to doc them)
13791
13792 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13793
13794         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13795         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13796           don't walk through the plugins backwards.  Where is all this
13797           reversed logic coming from ?
13798
13799 2005-08-25  Wim Taymans  <wim@fluendo.com>
13800
13801         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13802         (gst_base_transform_transform_size),
13803         (gst_base_transform_configure_caps),
13804         (gst_base_transform_get_unit_size),
13805         (gst_base_transform_buffer_alloc),
13806         (gst_base_transform_change_state):
13807         * gst/base/gstbasetransform.h:
13808         Cache caps unit_size.
13809         Make sure we cannot negotiate up and downstream at the
13810         same time.
13811
13812 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13813
13814         * gst/gst.c: (init_pre), (init_post):
13815           register the installed plugin path after the env var
13816         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13817         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13818           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13819           directories, so the tests can prefer uninstalled over installed
13820
13821 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13822
13823         * gst/base/gstbasetransform.h:
13824           comment
13825         * gst/gstpad.c:
13826           add to docs
13827
13828 2005-08-25  Wim Taymans  <wim@fluendo.com>
13829
13830         * gst/gstbin.c: (bin_bus_handler):
13831         Be a bit more conservative about the posted message.
13832         
13833         * gst/gstbus.c: (gst_bus_post):
13834         Some cleanups, warn wrong return values.
13835
13836 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
13837
13838         * check/gst/gstbin.c: (GST_START_TEST):
13839         * gst/gstbin.c: (bin_bus_handler):
13840         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13841         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13842         (gst_message_new_warning), (gst_message_new_tag),
13843         (gst_message_new_state_changed), (gst_message_new_segment_start),
13844         (gst_message_new_segment_done), (gst_message_new_custom):
13845         * gst/gstmessage.h:
13846         * tools/gst-launch.c: (event_loop):
13847         * tools/gst-md5sum.c: (event_loop):
13848           Revert unpopular change for GST_MESSAGE_SRC to GObject.
13849
13850 2005-08-25  Wim Taymans  <wim@fluendo.com>
13851
13852         * check/generic/states.c: (GST_START_TEST):
13853         Cleanup can be done at the end.
13854
13855         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13856         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13857         (gst_task_get_state), (gst_task_start), (gst_task_pause):
13858         Oh boy.. Thanks for finding this, Thomas. 
13859
13860 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13861
13862         * docs/gst/gstreamer.types:
13863           added missing types
13864
13865 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13866
13867         * docs/gst/gstreamer-docs.sgml:
13868         * docs/gst/gstreamer-sections.txt:
13869         * docs/gst/tmpl/.cvsignore:
13870         * gst/gstbin.c:
13871         * gst/gstiterator.c:
13872         * gst/gstutils.c:
13873         * gst/registries/gstxmlregistry.h:
13874           added missing classes and symbols (123 more to go)
13875           removed removed symbols from section file
13876           fixed many doc-comments
13877
13878 2005-08-24  Wim Taymans  <wim@fluendo.com>
13879
13880         * check/generic/states.c: (GST_START_TEST):
13881         Make sure all tasks are stopped.
13882
13883         * check/gst/gstbin.c: (GST_START_TEST):
13884         Unref after usage for proper valgrinding.
13885
13886         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13887         Really wait for the task to stop before destroying the
13888         mutex.
13889
13890         * gst/gstqueue.c: (gst_queue_sink_activate_push),
13891         (gst_queue_src_activate_push):
13892         Small cleanups. Don't stop the task when we did not start
13893         it.
13894
13895         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13896         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13897         (gst_task_get_state), (gst_task_start), (gst_task_pause),
13898         (gst_task_join):
13899         * gst/gsttask.h:
13900         Protect the stream lock with the object lock.
13901         Disallow setting the stream lock when running.
13902         Add cleanup_all to wait for the threadpool to finish.
13903         Remove code to autoallocate a mutex if none was provided.
13904         Add _join() to wait for a task to stop.
13905         Protect the thread pool with a global lock.
13906
13907 2005-08-24  Wim Taymans  <wim@fluendo.com>
13908
13909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13910         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13911         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13912         * gst/base/gstbasesink.h:
13913         Handle newsegment events correctly.
13914         Drop buffers out of the segment range.
13915
13916 2005-08-22  Andy Wingo  <wingo@pobox.com>
13917
13918         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13919         macro, implements an interface and gstimplementsinterface for a
13920         new type.
13921
13922 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13923
13924         * check/Makefile.am:
13925         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13926           add a test that does a bunch of state changes on elements
13927           needs some fixing for valgrind
13928         * check/states/sinks.c: (gst_object_suite):
13929           whitespace
13930         * gst/gstcaps.h:
13931           add prototype for gst_caps_is_equal_fixed
13932         * gst/gstplugin.c:
13933         * gst/gstregistrypool.c:
13934           doc fixes
13935
13936 2005-08-24  Andy Wingo  <wingo@pobox.com>
13937
13938         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13939         convert a negative value. Doesn't make much sense. Mostly this is
13940         here to force callers to ensure -1 maps to -1.
13941
13942 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13943
13944         * docs/pwg/advanced-types.xml:
13945           Well done to Michael for catching my deliberate introduction
13946           of this spelling mistake. 
13947         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13948         * gst/gstelement.h:
13949           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13950           unlink pads before removing the element from the bin.
13951
13952 2005-08-24  Andy Wingo  <wingo@pobox.com>
13953
13954         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13955         the same thing as GST_DEBUG=*:4.
13956         (parse_debug_level, parse_debug_category): New helper parsers.
13957
13958 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13959
13960         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13961         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13962         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13963         (gst_base_transform_buffer_alloc),
13964         (gst_base_transform_handle_buffer):
13965           use gboolean return values and pointers to size so we can use the
13966           full GST_BUFFER_SIZE range (guint) for buffer sizes
13967           use GstPadDirection for transform_caps
13968         * gst/base/gstbasetransform.h:
13969           rename get_size to get_unit_size since that's what it is
13970         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13971           use GstPadDirection for transform_caps
13972         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13973         * gst/gstutils.h:
13974           cleanup and debugging
13975
13976 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13977
13978         * gst/gstelement.c: (gst_element_class_init),
13979         (gst_element_set_state), (activate_pads),
13980         (gst_element_save_thyself):
13981         * tools/gst-compprep.c: (main):
13982         * tools/gst-inspect.c: (print_element_properties_info):
13983         * tools/gst-xmlinspect.c: (print_element_properties):
13984           Fixed long standing mem-leak
13985
13986 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13987
13988         * check/gst/gstbin.c: (GST_START_TEST):
13989         * gst/gstbin.c: (bin_bus_handler):
13990         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13991         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13992         (gst_message_new_warning), (gst_message_new_tag),
13993         (gst_message_new_state_changed), (gst_message_new_segment_start),
13994         (gst_message_new_segment_done), (gst_message_new_custom):
13995         * gst/gstmessage.h:
13996         * tools/gst-launch.c: (event_loop):
13997         * tools/gst-md5sum.c: (event_loop):
13998           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13999           that applications can sensibly post custom messages with references
14000           to their own objects.
14001
14002 2005-08-24  Andy Wingo  <wingo@pobox.com>
14003
14004         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14005         already.
14006
14007 2005-08-24  Wim Taymans  <wim@fluendo.com>
14008
14009         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14010         (gst_base_transform_transform_caps),
14011         (gst_base_transform_transform_size),
14012         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14013         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14014         (gst_base_transform_handle_buffer):
14015         * gst/base/gstbasetransform.h:
14016         Many fixes and new features added by Thomas. Can now also do
14017         transforms with variable sizes and a custom fixate_caps function.
14018
14019 2005-08-24  Wim Taymans  <wim@fluendo.com>
14020
14021         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14022         Some debugging.
14023
14024         * gst/gstclock.h:
14025         Cast to ClockTime before formatting to time.
14026
14027         * gst/gstutils.h:
14028         Cleanups.
14029
14030 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14031
14032         * check/gst-libs/controller.c: (GST_START_TEST),
14033         (gst_controller_suite):
14034         * docs/gst/tmpl/gstcaps.sgml:
14035         * docs/gst/tmpl/gstghostpad.sgml:
14036         * docs/gst/tmpl/gstquery.sgml:
14037         * docs/gst/tmpl/gstutils.sgml:
14038         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14039         (gst_object_sink_values), (gst_object_get_value_arrays),
14040         (gst_object_get_value_array):
14041           gracefully handle helper method calls to objects that are not beeing
14042           controlled, added test case for that          
14043
14044 2005-08-23  Wim Taymans  <wim@fluendo.com>
14045
14046         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14047         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14048         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14049         (gst_event_parse_qos), (gst_event_new_seek),
14050         (gst_event_parse_seek):
14051         * gst/gstevent.h:
14052         Some more debugging output and doc cleanups.
14053
14054         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14055         Fix possible deadlock.
14056
14057 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14058
14059         * docs/gst/gstreamer-docs.sgml:
14060         * docs/gst/gstreamer-sections.txt:
14061         * docs/gst/gstreamer.types:
14062         * docs/gst/tmpl/.cvsignore:
14063         * gst/gstbin.h:
14064         * gst/gstbus.c:
14065         * gst/gstelement.c:
14066         * gst/gstevent.h:
14067           added 100 symbols from gstreamer-unused.txt to the right sections
14068           fixed more broken comments
14069           added GstBus to docs
14070
14071 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14072
14073         * docs/gst/gstreamer-sections.txt:
14074         * docs/gst/tmpl/.cvsignore:
14075         * docs/gst/tmpl/gstbin.sgml:
14076         * docs/gst/tmpl/gstbuffer.sgml:
14077         * gst/base/gstbasesrc.c:
14078         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14079         * gst/gstbuffer.c:
14080         * gst/gstbuffer.h:
14081         * tools/gst-launch.1.in:
14082           inlined more doc comments, added missing comments and fixed comments
14083           fixed typos
14084
14085 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14086
14087         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14088           some debugging
14089         * gst/gstcaps.h:
14090           whitespace fixes
14091         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14092           more debugging
14093         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14094         * gst/gststructure.h:
14095           add a fixate function for booleans; add a FIXME that these func
14096           names should probably be gst_structure_fixate_*
14097
14098 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14099
14100         * docs/gst/gstreamer-docs.sgml:
14101         * docs/gst/gstreamer-sections.txt:
14102         * gst/Makefile.am:
14103         * gst/gstbin.c: (gst_bin_get_type),
14104         (gst_bin_child_proxy_get_child_by_index),
14105         (gst_bin_child_proxy_get_children_count),
14106         (gst_bin_child_proxy_init):
14107         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14108         (gst_child_proxy_get_child_by_index),
14109         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14110         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14111         (gst_child_proxy_get), (gst_child_proxy_set_property),
14112         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14113         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14114         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14115         * gst/gstchildproxy.h:
14116         * gst/parse/grammar.y:
14117         * tools/gst-inspect.c: (print_interfaces),
14118         (print_element_properties_info), (print_element_info):
14119           ported gstchildproxy over from 0.8
14120           ported gst-inspect fixes and enhancements over from 0.8
14121
14122 2005-08-22  Wim Taymans  <wim@fluendo.com>
14123
14124         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14125         (gst_base_transform_handle_buffer):
14126         Also call the transform function if we have ANY caps.
14127
14128         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14129         Fix debug info.
14130
14131 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14132
14133         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14134           Don't pretend to handle seek events if the source is not seekable
14135
14136 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14137
14138         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14139           Remove extra parameter to debug output
14140
14141         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14142         (gst_base_src_do_seek), (gst_base_src_activate_push):
14143           Fix seek event handling.
14144
14145         * gst/gstpipeline.c: (gst_pipeline_change_state):
14146         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14147         (gst_queue_src_activate_push):
14148           Don't start the src pad task on FLUSH_STOP if the pad
14149           isn't linked.
14150           Debug changes.
14151
14152 2005-08-22  Wim Taymans  <wim@fluendo.com>
14153
14154         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14155         Added check for gst_static_caps_get() refcounting.
14156
14157 2005-08-22  Wim Taymans  <wim@fluendo.com>
14158
14159         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14160         Make _static_caps_get() refcounting sane.
14161         
14162         * gst/gstelement.c: (gst_element_set_state):
14163         Add g_return_val_if_fail() to protect against segfaults.
14164
14165 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14166
14167         * docs/gst/tmpl/gstevent.sgml:
14168         * gst/gstevent.c:
14169         * gst/gstevent.h:
14170           inlined remaining docs, added missing doc comments
14171
14172 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14173
14174         * check/gst/gstbin.c: (GST_START_TEST):
14175           since we don't know when preroll is done, use refcount range
14176           check for the sink
14177         * gst/check/gstcheck.h:
14178           add macro for checking refcount range
14179
14180 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14181
14182         * check/Makefile.am:
14183           clean up environment for when registry gets built versus
14184           when actual tests are run; valgrind seems to not report
14185           leaks if GST_PLUGIN_PATH is set to some specific values
14186         * check/gst/gstbin.c: (GST_START_TEST):
14187           add more refcounting checks; maybe this exposes a
14188           preroll lock bug ?
14189         * common/check.mak:
14190         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14191         * gst/check/gstcheck.h:
14192         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14193         (gst_bin_change_state):
14194         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14195           add/fix debugging/whitespace
14196
14197 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14198
14199         * check/gst/gstevent.c: (event_probe), (test_event),
14200         (GST_START_TEST):
14201          Er, don't call gst_bin_watch_for_state_change you idiot.
14202
14203 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14204
14205         * check/Makefile.am:
14206           Use CHECK_CFLAGS and CHECK_LIBS
14207         * check/gst/gstevent.c: (event_probe), (test_event),
14208         (GST_START_TEST):
14209           Don't leak events.
14210         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14211         (gst_base_src_start), (gst_base_src_stop),
14212         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14213         (gst_base_src_change_state):
14214           Sprinkle gst_base_src_stop liberally around error paths to fix
14215           problems reusing a source after failed state changes.
14216         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14217         (helper_find_suggest), (gst_type_find_helper):
14218           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14219         * gst/gstevent.h:
14220         * docs/gst/tmpl/gstevent.sgml:
14221           Migrate part of the docs from the SGML file. Wait for ensonic to
14222           tell me how I did it wrong ;)
14223         * tools/gst-typefind.c: (main):
14224           Extra robustness to state changes between files.
14225
14226 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14227
14228         * check/Makefile.am:
14229           don't valgrind the controller test - it's leaking - Stefan, HELP
14230         * gst/check/gstcheck.c: (gst_check_message_error),
14231         (gst_check_chain_func), (gst_check_setup_element),
14232         (gst_check_teardown_element), (gst_check_setup_src_pad),
14233         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14234         (gst_check_teardown_sink_pad):
14235         * gst/check/gstcheck.h:
14236           add a bunch of methods to set up elements, and src and sink pads
14237         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14238         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14239         (GST_START_TEST):
14240           use them
14241         * gst/gstmessage.c:
14242         * gst/gsttag.h:
14243           whitespace/doc fixes
14244
14245 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14246
14247         * gst/gstelement.h:
14248           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14249           be handled by the application and not always printed as well
14250
14251 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14252
14253         * check/Makefile.am:
14254           set GST_TOOLS_DIR
14255         * gst/check/gstcheck.c: (gst_check_message_error):
14256         * gst/check/gstcheck.h:
14257           add a fail_unless_equals_int
14258           add fail_unless for error messages
14259
14260 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14261
14262         * check/Makefile.am:
14263         * check/gst.supp:
14264         * common/Makefile.am:
14265         * common/check.mak:
14266         * common/gst.supp:
14267           factor out some of the common stuff so we can use it
14268
14269 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14270
14271         * check/Makefile.am:
14272         * check/gst/gstiterator.c: (GST_START_TEST):
14273         * check/gst/gstsystemclock.c: (GST_START_TEST),
14274         (gst_systemclock_suite):
14275         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14276         * gst/gstclock.c:
14277           valgrind more tests
14278
14279 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14280
14281         * check/elements/.cvsignore:
14282         * check/elements/gstfakesrc.c:
14283           rename to name of element
14284         * check/elements/identity.c: (chain_func), (event_func),
14285         (setup_identity), (cleanup_identity), (GST_START_TEST),
14286         (identity_suite), (main):
14287           add a test for identity
14288         * check/Makefile.am:
14289         * pkgconfig/Makefile.am:
14290         * pkgconfig/gstreamer-check.pc.in:
14291         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14292         * gst/check:
14293         * gst/Makefile.am:
14294         * configure.ac:
14295           move the check stuff to a library that gets installed
14296         * check/gst-libs/controller.c: (GST_START_TEST):
14297         * check/gst-libs/gdp.c:
14298         * check/gst/gst.c: (GST_START_TEST):
14299         * check/gst/gstbin.c:
14300         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14301         * check/gst/gstbus.c:
14302         * check/gst/gstcaps.c: (GST_START_TEST):
14303         * check/gst/gstelement.c:
14304         * check/gst/gstghostpad.c:
14305         * check/gst/gstiterator.c:
14306         * check/gst/gstmessage.c:
14307         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14308         * check/gst/gstobject.c:
14309         * check/gst/gstpad.c: (GST_START_TEST):
14310         * check/gst/gststructure.c: (GST_START_TEST):
14311         * check/gst/gstsystemclock.c: (GST_START_TEST),
14312         (gst_systemclock_suite):
14313         * check/gst/gsttag.c: (gst_tag_suite):
14314         * check/gst/gstvalue.c:
14315         * check/pipelines/cleanup.c:
14316         * check/pipelines/simple_launch_lines.c:
14317         * check/states/sinks.c:
14318           change include statement
14319
14320         * docs/gst/gstreamer-sections.txt:
14321         * docs/gst/tmpl/gstpad.sgml:
14322           document more pad stuff
14323         * gst/gstminiobject.c: (gst_mini_object_ref),
14324         (gst_mini_object_unref):
14325           debug refcounting
14326
14327 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14328
14329         * docs/gst/tmpl/gst.sgml:
14330         * gst/gst.c:
14331           eliminate another tmpl file, fix spelling in the long-description
14332
14333 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14334
14335         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14336         (test_event), (timediff), (gstevents_suite):
14337           Should fix build on 64-bit arch's
14338
14339 2005-08-18  Andy Wingo  <wingo@pobox.com>
14340
14341         Make sure that when a pipeline goes to PLAYING, that data has
14342         actually hit the sink.
14343
14344         * check/states/sinks.c (test_sink): A sink that doesn't get any
14345         data shouldn't return SUCCESS for going to either PLAYING or
14346         PAUSED. Test also the return values on the way back down.
14347
14348         * gst/gstelement.c (gst_element_set_state): When changing the
14349         state of an element currently changing state asynchronously, go to
14350         lost-state after commiting the pending state. Makes future calls
14351         to get_state continue to return ASYNC.
14352
14353         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14354         ASYNC when going to PLAYING if we still don't have preroll, as can
14355         happen with live sources.
14356
14357 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14358
14359         * docs/pwg/advanced-types.xml:
14360           Hack long paragraph into 2 chunks as a workaround for buggy
14361           jadetex version in sid and breezy that loops infinitely and
14362           eats all RAM.
14363
14364 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14365
14366         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14367         (test_event), (timediff), (gstevents_suite):
14368           Provide more error margin in clock measurements to allow for 
14369           g_get_current_time inaccuracies.
14370
14371 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14372
14373         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14374         (test_event), (timediff), (gstevents_suite):
14375            Fix error message output so I might be able to tell why the
14376            test works here but fails on the build farm.
14377
14378 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14379
14380         * check/Makefile.am:
14381         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14382         (test_event), (timediff), (gstevents_suite), (main):
14383           I wrote a test!
14384
14385         * docs/design/part-seeking.txt:
14386           Spelling correction
14387
14388         * docs/gst/tmpl/gstevent.sgml:
14389         * docs/gst/tmpl/gstfakesrc.sgml:
14390           Docs updates.
14391
14392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14393           Treat a buffer-without-newsegment the same as a receiving 
14394           a newsegment not in time format, and disable syncing to the clock
14395           with a warning.
14396
14397         * gst/gstbus.c: (gst_bus_set_sync_handler):
14398           Assert if anyone tries to replace the existing sync_handler for bus, 
14399           as only the owner should be setting it.
14400
14401         * gst/gstevent.h:
14402           Have a fixed set of custom event enums with events identified by
14403           their structure name (as in 0.8), rather than a free-for-all
14404           allowing collisions between enum values from different plugins.
14405
14406         * gst/gstpad.c: (gst_pad_class_init):
14407           Docs change.
14408           
14409         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14410           Handle out-of-band downstream events from the sending thread.
14411
14412 2005-08-17  Andy Wingo  <wingo@pobox.com>
14413
14414         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14415         play-timeout==0 to mean no timeout at all. In that case, don't
14416         bother with a get_state or a warning, just return directly, even
14417         if it's ASYNC.
14418
14419         * gst/base/gstbasetransform.c: Debug changes.
14420
14421         * gst/gstutils.h:
14422         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14423         ensure bins post state change messages. A bit of a hack but I can't
14424         think of a way to avoid it.
14425
14426         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14427
14428 2005-08-16  Andy Wingo  <wingo@pobox.com>
14429
14430         * gst/base/gstadapter.h:
14431         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14432         peek() but you own the data. Not terribly efficient atm.
14433
14434 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14435
14436         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14437         (gst_element_found_tags):
14438         * gst/gstutils.h:
14439           Add two utility functions for tag handling.
14440
14441 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14442
14443         * docs/manual/advanced-dataaccess.xml:
14444         * docs/manual/basics-helloworld.xml:
14445           Fix docs to use _bin_add() before _link(), which fixes the examples
14446           with recent core versions (reported by Madhan Raj M
14447           <raj_madan@rediffmail.com>, #313199).
14448
14449 2005-08-16  Wim Taymans  <wim@fluendo.com>
14450
14451         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14452         Added subtract checks.
14453
14454         * docs/design/part-events.txt:
14455         Some more docs about newsegment
14456
14457         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14458         Fix FIXME
14459
14460         * gst/gstcaps.c: (gst_caps_to_string):
14461         Add comments, cleanups.
14462         
14463         * gst/gstelement.c: (gst_element_save_thyself):
14464         cleanups
14465         
14466         * gst/gstvalue.c: (gst_value_collect_int_range),
14467         (gst_string_unwrap), (gst_value_union_int_int_range),
14468         (gst_value_union_int_range_int_range),
14469         (gst_value_intersect_int_int_range),
14470         (gst_value_intersect_int_range_int_range),
14471         (gst_value_intersect_double_double_range),
14472         (gst_value_intersect_double_range_double_range),
14473         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14474         (gst_value_subtract_int_range_int),
14475         (gst_value_subtract_double_range_double),
14476         (gst_value_subtract_double_range_double_range),
14477         (gst_value_subtract_from_list), (gst_value_subtract_list),
14478         (gst_value_can_compare), (gst_value_compare_fraction):
14479         Cleanups, add comments, remove unneeded asserts.
14480
14481 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14482
14483         * tools/gst-launch.c: (event_loop):
14484           don't convert NULL structures to strings
14485
14486 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14487
14488         * docs/gst/gstreamer-sections.txt:
14489           made some defines private
14490         * docs/gst/tmpl/gstconfig.sgml:
14491         * docs/gst/tmpl/gstqueue.sgml:
14492         * docs/gst/tmpl/gsttaglist.sgml:
14493         * docs/gst/tmpl/gsttypes.sgml:
14494         * docs/gst/tmpl/gstutils.sgml:
14495         * docs/pwg/appendix-porting.xml:
14496         * gst/base/gstbasesink.h:
14497         * gst/base/gstbasesrc.c:
14498         * gst/base/gstbasesrc.h:
14499         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14500         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14501         * gst/gstelement.c: (gst_element_class_init):
14502         * gst/gstpad.c: (gst_pad_class_init):
14503         * gst/gstqueue.c: (gst_queue_class_init):
14504         * gst/gstxml.c: (gst_xml_class_init):
14505           documented all undocumented signal inline
14506         * libs/gst/controller/gst-controller.h:
14507           added padding
14508
14509 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14510
14511         * docs/pwg/appendix-porting.xml:
14512           Document _set_link_function -> _set_setcaps_function.
14513
14514 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14515
14516         * check/Makefile.am:
14517           add a .check target for running the check
14518         * check/gst-libs/controller.c: (GST_START_TEST):
14519           cosmetic fixups
14520         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14521           complete checks for gstbuffer; would be nice if I could get the
14522           gcov stuff to work so I can see if I actually completed gstbuffer.c
14523         * check/gstcheck.h:
14524           add ASSERT_BUFFER_REFCOUNT
14525
14526 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14527
14528         * docs/gst/gstreamer-sections.txt:
14529         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14530         * gst/gsttag.h:
14531           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14532           spew out a warning if a tag that is already registered
14533           is re-registered, unless it is re-registered with a 
14534           different type (#308438).
14535
14536 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14537
14538         * docs/pwg/appendix-porting.xml:
14539         * docs/pwg/building-state.xml:
14540           Add some paragraphs about state changes in 0.9 to the PWG
14541           and the porting guide, in particular about the new meaning
14542           of GST_STATE_PAUSED and how to write state change functions
14543           with concurrent access by multiple threads in mind.
14544
14545 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14546
14547         * docs/gst/gstreamer-docs.sgml:
14548         * docs/libs/gstreamer-libs-docs.sgml:
14549           added deprecation and since indexes
14550         * libs/gst/controller/gst-controller.c:
14551         * libs/gst/controller/gst-helper.c:
14552           added since tags
14553
14554
14555 2005-08-11  Wim Taymans  <wim@fluendo.com>
14556
14557         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14558         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14559         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14560         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14561         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14562         (gst_ghost_pad_set_target):
14563         Actually implement (re)setting the target on a ghostpad
14564         as described in the docs.
14565
14566 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14567
14568         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14569           Check whether GST_DEBUG_NO_COLOR environment variable is
14570           set and disable coloured debug output if that is the case.
14571
14572 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14573
14574         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14575         (gst_type_find_helper):
14576           The memory returned by gst_type_find_peek() needs to
14577           stay valid until the end of a typefind function, and
14578           typefind functions may keep results from different 
14579           offsets around, so we can't just unref the buffer from
14580           the previous _peek(), but have to save all buffers 
14581           returned by _peek() until typefinding is done and only
14582           free them then.
14583
14584 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14585
14586         * docs/gst/gstreamer-sections.txt:
14587         * gst/gstutils.h:
14588           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14589
14590 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14591
14592         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14593           Fix a pretty good memleak.
14594
14595 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14596
14597         * gst/gstiterator.h:
14598           Fix wrong include and 'make distcheck'.
14599
14600 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14601
14602         * gst/gstbin.c: (bin_bus_handler):
14603           Use gst_element_post_message() instead.
14604
14605 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14606
14607         * gst/base/gstadapter.h:
14608         * gst/base/gstbasesink.h:
14609         * gst/base/gstbasesrc.h:
14610         * gst/base/gstbasetransform.h:
14611         * gst/base/gstcollectpads.h:
14612         * gst/base/gstpushsrc.h:
14613         * gst/gstiterator.h:
14614           Add padding to our base elements' class and instance structs and
14615           to GstIterator (you will need to rebuild all plugins and apps!)
14616
14617 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14618
14619         * gst/gstbin.c: (bin_bus_handler):
14620           Make default message forwarding from child->bus to bin->bus
14621           threadsafe and make it not emit warnings if the parent has no bus.
14622
14623 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14624
14625         * gst/gstelement.c: (activate_pads):
14626           On paused->ready, set pad->caps to NULL, as is the documented
14627           behaviour in this state change. Fixes playback of series of
14628           media files when visualization is enabled in Totem.
14629
14630 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14631
14632         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14633           Allow NULL as filter-caps (which means "any").
14634
14635 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14636
14637         * docs/libs/gstreamer-libs-sections.txt:
14638         * libs/gst/controller/gst-controller.c:
14639         * libs/gst/controller/gst-controller.h:
14640         * libs/gst/controller/gst-helper.c:
14641           adding more entries to the docs and fix small doc-bugs
14642
14643 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14644
14645         * docs/gst/gstreamer-docs.sgml:
14646         * docs/gst/gstreamer-sections.txt:
14647         * docs/gst/gstreamer.types:
14648         * docs/gst/tmpl/gstbasesink.sgml:
14649         * docs/gst/tmpl/gstbasesrc.sgml:
14650         * docs/gst/tmpl/gstbasetransform.sgml:
14651         * docs/gst/tmpl/gstfakesrc.sgml:
14652         * gst/base/gstcollectpads.c:
14653         * gst/base/gstcollectpads.h:
14654         * libs/gst/controller/gst-controller.c:
14655         * libs/gst/controller/gst-controller.h:
14656         * libs/gst/controller/gst-helper.c:
14657         * libs/gst/controller/gst-interpolation.c:
14658         * libs/gst/controller/lib.c:
14659           added long/short desc for controller docs
14660           added collectpads base class docs
14661           added correct includes to base-class docs
14662
14663 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14664
14665         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14666         (gst_test_mono_source_set_property),
14667         (gst_test_mono_source_class_init), (GST_START_TEST),
14668         (gst_controller_suite):
14669         * docs/gst/gstreamer-docs.sgml:
14670         * docs/gst/gstreamer-sections.txt:
14671         * docs/gst/gstreamer.types:
14672         * docs/libs/gstreamer-libs-docs.sgml:
14673         * docs/libs/gstreamer-libs-sections.txt:
14674         * gst/base/gstadapter.c:
14675         * libs/gst/controller/gst-controller.c:
14676         (gst_controlled_property_new), (gst_controlled_property_free),
14677         (gst_controller_new_valist),
14678         (gst_controller_remove_properties_valist),
14679         (gst_controller_sink_values), (_gst_controller_finalize):
14680         * libs/gst/controller/gst-controller.h:
14681         * libs/gst/controller/gst-helper.c:
14682         (gst_object_control_properties), (gst_object_uncontrol_properties),
14683         (gst_object_get_controller), (gst_object_set_controller),
14684         (gst_object_sink_values), (gst_object_get_value_arrays),
14685         (gst_object_get_value_array):
14686           more tests (and fixes) for the controller
14687           more docs for the controller
14688           integrated companies docs for the adapter 
14689
14690 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14691
14692         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14693         (GST_START_TEST), (fakesrc_suite):
14694           add tests for sizetype
14695
14696 2005-08-04  Andy Wingo  <wingo@pobox.com>
14697
14698         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14699         fixes buffer_alloc proxying among other things.
14700
14701         * gst/base/gstbasetransform.c:
14702         * gst/base/gstbasetransform.h:
14703         Revert patch to gstbasetransform from 7-28 removing
14704         delay_configure.
14705
14706         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14707         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14708         Semantics changed, should return not the size of the output buffer
14709         but the byte size of a buffer with a given caps.
14710
14711         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14712         debug object.
14713         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14714         out) are not the pad caps until setcaps finishes.
14715         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14716         not-in-place case as well. Deal with changing from in-place to
14717         not-in-place within calling pad_alloc_buffer. Still a bit
14718         concerned about the overhead here...
14719
14720 2005-08-03  Andy Wingo  <wingo@pobox.com>
14721
14722         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14723         fixating is an error.
14724
14725 2005-08-04  Edward Hervey  <edward@fluendo.com>
14726
14727         * gst/base/gstadapter.h: 
14728         Added gst_adapter_get_type() to the header
14729
14730 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14731
14732         * check/Makefile.am:
14733         * check/gst-libs/controller.c:
14734         * libs/gst/controller/gst-controller.c:
14735         (gst_controller_new_valist):
14736           added check test suite for the controller
14737         * gst/base/gstpushsrc.c:
14738           fixed a doc typo
14739
14740 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14741
14742         * docs/gst/Makefile.am:
14743         * docs/gst/gstreamer-docs.sgml:
14744         * docs/gst/gstreamer-sections.txt:
14745         * docs/gst/gstreamer.types:
14746         * docs/gst/tmpl/gstfakesrc.sgml:
14747         * gst/base/README:
14748         * gst/base/gstbasesink.c:
14749         * gst/base/gstbasesink.h:
14750         * gst/base/gstbasesrc.c:
14751         * gst/base/gstbasesrc.h:
14752         * gst/base/gstbasetransform.c:
14753         * gst/base/gstpushsrc.c:
14754         * gst/base/gstpushsrc.h:
14755           add short/long description docs to base classes
14756           add pushsrc to the docs
14757           remove consolidated doc fragments
14758
14759 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14760
14761         * configure.ac:
14762         * docs/libs/Makefile.am:
14763         * docs/libs/gstreamer-libs-docs.sgml:
14764         * docs/libs/gstreamer-libs-sections.txt:
14765         * docs/libs/gstreamer-libs.types:
14766         * examples/Makefile.am:
14767         * examples/controller/.cvsignore:
14768         * examples/controller/Makefile.am:
14769         * examples/controller/audio-example.c: (main):
14770         * libs/gst/Makefile.am:
14771         * libs/gst/controller/.cvsignore:
14772         * libs/gst/controller/Makefile.am:
14773         * libs/gst/controller/gst-controller.c:
14774         (on_object_controlled_property_changed), (gst_timed_value_compare),
14775         (gst_timed_value_find),
14776         (gst_controlled_property_set_interpolation_mode),
14777         (gst_controlled_property_new), (gst_controlled_property_free),
14778         (gst_controller_find_controlled_property),
14779         (gst_controller_new_valist), (gst_controller_new),
14780         (gst_controller_remove_properties_valist),
14781         (gst_controller_remove_properties), (gst_controller_set),
14782         (gst_controller_set_from_list), (gst_controller_unset),
14783         (gst_controller_get), (gst_controller_get_all),
14784         (gst_controller_sink_values), (gst_controller_get_value_arrays),
14785         (gst_controller_get_value_array),
14786         (gst_controller_set_interpolation_mode),
14787         (_gst_controller_finalize), (_gst_controller_init),
14788         (_gst_controller_class_init), (gst_controller_get_type):
14789         * libs/gst/controller/gst-controller.h:
14790         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14791         (g_object_uncontrol_properties), (g_object_get_controller),
14792         (g_object_set_controller), (g_object_sink_values),
14793         (g_object_get_value_arrays), (g_object_get_value_array):
14794         * libs/gst/controller/gst-interpolation.c:
14795         (gst_controlled_property_find_timed_value_node),
14796         (interpolate_none_get), (interpolate_trigger_get),
14797         (interpolate_trigger_get_value_array):
14798         * libs/gst/controller/lib.c: (gst_controller_init):
14799         * pkgconfig/Makefile.am:
14800         * pkgconfig/gstreamer-control-uninstalled.pc.in:
14801         * pkgconfig/gstreamer-control.pc.in:
14802         * testsuite/Makefile.am:
14803         * testsuite/controller/.cvsignore:
14804         * testsuite/controller/Makefile.am:
14805         * testsuite/controller/interpolator.c: (main):
14806           added controller code
14807           removed dparam pc files
14808
14809 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14810         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14811         (gst_collectpads_stop):
14812           Broadcast the condition when shutting down, to make sure we wake all
14813           threads up. Shut down pads on finalize, for safety.
14814
14815 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14816         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14817         (gst_base_transform_handle_buffer),
14818         (gst_base_transform_change_state):
14819           Handle PAUSED->READY->PAUSED transition after negotiation
14820           occurred already.
14821         * gst/gstmessage.c: (gst_message_init):
14822           Extra piece of debug for new messages.
14823
14824 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
14825
14826         * configure.ac:
14827         * docs/gst/tmpl/gstbasesrc.sgml:
14828         * docs/gst/tmpl/gstelement.sgml:
14829         * docs/gst/tmpl/gstevent.sgml:
14830         * docs/gst/tmpl/gstfakesrc.sgml:
14831         * docs/gst/tmpl/gstformat.sgml:
14832         * docs/gst/tmpl/gstghostpad.sgml:
14833         * docs/gst/tmpl/gstpad.sgml:
14834         * docs/gst/tmpl/gstquery.sgml:
14835         * docs/gst/tmpl/gststructure.sgml:
14836         * docs/gst/tmpl/gsttaglist.sgml:
14837         * docs/gst/tmpl/gstvalue.sgml:
14838         * docs/libs/gstreamer-libs-docs.sgml:
14839         * docs/libs/gstreamer-libs-sections.txt:
14840         * docs/libs/gstreamer-libs.types:
14841         * libs/gst/Makefile.am:
14842         * libs/gst/control/.cvsignore:
14843         * libs/gst/control/Makefile.am:
14844         * libs/gst/control/control.c:
14845         * libs/gst/control/control.h:
14846         * libs/gst/control/dparam.c:
14847         * libs/gst/control/dparam.h:
14848         * libs/gst/control/dparam_smooth.c:
14849         * libs/gst/control/dparam_smooth.h:
14850         * libs/gst/control/dparamcommon.h:
14851         * libs/gst/control/dparammanager.c:
14852         * libs/gst/control/dparammanager.h:
14853         * libs/gst/control/dplinearinterp.c:
14854         * libs/gst/control/dplinearinterp.h:
14855         * libs/gst/control/unitconvert.c:
14856         * libs/gst/control/unitconvert.h:
14857         * testsuite/Makefile.am:
14858         * testsuite/dynparams/.cvsignore:
14859         * testsuite/dynparams/Makefile.am:
14860         * testsuite/dynparams/dparamstest.c:
14861         * tools/Makefile.am:
14862         * tools/gst-inspect.c: (print_element_info), (main):
14863         * tools/gst-xmlinspect.c: (print_element_info), (main):
14864           deactivate and remove dparams (libgstcontrol)
14865
14866 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14867
14868         * gst/elements/gsttypefindelement.c:
14869         (gst_type_find_element_have_type), (gst_type_find_element_init),
14870         (stop_typefinding), (gst_type_find_element_handle_event),
14871         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14872         * gst/elements/gsttypefindelement.h:
14873           Set caps on all outgoing buffers, not just the first one.
14874
14875 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14876
14877         * gst/elements/gsttypefindelement.c:
14878         (gst_type_find_element_have_type),
14879         (gst_type_find_element_check_set_buffer_caps),
14880         (gst_type_find_element_init), (stop_typefinding),
14881         (gst_type_find_element_handle_event),
14882         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14883         * gst/elements/gsttypefindelement.h:
14884           Set caps on first outgoing buffer when we've found the type.
14885
14886 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14887
14888         * docs/gst/gstreamer-docs.sgml:
14889         * docs/gst/gstreamer-sections.txt:
14890         * docs/gst/tmpl/gstscheduler.sgml:
14891         * docs/gst/tmpl/gstschedulerfactory.sgml:
14892           Remove some old cruft from docs.
14893
14894 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
14895
14896         * gst/gstpad.h:
14897           Fix inline docs for GstPadLinkReturn.
14898           
14899         * gst/gststructure.c: (gst_structure_has_name):
14900         * gst/gststructure.h:
14901         * docs/gst/gstreamer-sections.txt:
14902           New API: gst_structure_has_name().
14903
14904 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
14905
14906         * configure.ac:
14907           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14908           and _LARGEFILE_SOURCE in config.h as required. Do not 
14909           export those flags in our .pc files any longer (#142209).
14910
14911           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14912
14913         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14914         (gst_file_sink_do_seek), (gst_file_sink_event),
14915         (gst_file_sink_get_current_offset), (gst_file_sink_render):
14916           Redo seek/tell calls with large file support in mind; add some
14917           debugging messages; add log message that tells us when large
14918           file support is unavailable or not enabled for some reason.
14919
14920         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14921           Add log message that tells us when large file support 
14922           is unavailable or not enabled for some reason.
14923
14924 2005-07-29  Wim Taymans  <wim@fluendo.com>
14925
14926         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14927         Added test for removing an element with ghostpad from a bin.
14928         Fixed test as current implementation does the right thing.
14929
14930         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14931         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14932         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14933         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14934         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14935         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14936         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14937         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14938         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14939         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14940         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14941         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14942         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14943         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14944         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14945         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14946         * gst/gstghostpad.h:
14947         Clean up ghostpads, remove properties for internal stuff.
14948         Make threadsafe.
14949         Fix refcounting.
14950         Prepare for switching targets, not all use cases work yet.
14951
14952 2005-07-29  Wim Taymans  <wim@fluendo.com>
14953
14954         * docs/design/part-gstghostpad.txt:
14955         Small update.
14956
14957         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14958         (gst_bin_remove_func):
14959         Unlinking pads while holding the bin LOCK is not a good
14960         idea.
14961
14962         * gst/gstpad.c: (gst_pad_class_init),
14963         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14964         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14965         No prob setting template after creating the pad.
14966
14967 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
14968
14969         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14970         (gst_bus_peek), (gst_bus_source_dispatch),
14971         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14972         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14973           gst_bus_poll may be called from other threads. Handle
14974           this nicely by not making poll_data disappear off the
14975           stack once gst_bus_poll returns.
14976           gst_bus_peek now increments the refcount on the returned
14977           message.
14978
14979 2005-07-29  Wim Taymans  <wim@fluendo.com>
14980
14981         * docs/design/part-gstghostpad.txt:
14982         Overview of current GhostPad datastructures and use
14983         cases for changing the target.
14984
14985 2005-07-28  Wim Taymans  <wim@fluendo.com>
14986
14987         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14988         Added checks for hierarchy consistency whan adding linked
14989         elements to bins.
14990
14991         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14992         Added check to test element scheduling without bin/pipeline.
14993
14994         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14995         First add elements to bin, then link.
14996         
14997         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14998         (gst_bin_remove_func):
14999         Unlink pads from elements added/removed from bin to maintain
15000         hierarchy consistency.
15001
15002 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15003
15004         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15005         (gst_base_transform_handle_buffer):
15006         * gst/base/gstbasetransform.h:
15007           Remove broken delay_configure (fixes renegotiation of software
15008           scaling pipelines); remove some leftover printf()s.
15009
15010 2005-07-28  Wim Taymans  <wim@fluendo.com>
15011
15012         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15013         Added some more tests for wrong hierarchy
15014
15015         * docs/design/part-overview.txt:
15016         Some updates.
15017
15018         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15019         Cleanups.
15020
15021         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15022         (gst_element_dispose):
15023         Some more cleanups.
15024
15025         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15026         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15027         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15028         (gst_pad_set_caps), (gst_pad_send_event):
15029         Check for correct hierarchy when linking pads. Moving to
15030         strict requirement for ghostpads when linking elements in
15031         different bins.
15032
15033         * gst/gstpad.h:
15034         Clean ups. Added WRONG_HIERARCHY return value.
15035
15036 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15037
15038         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15039           Better debug if no transform is possible.
15040
15041 2005-07-27  Wim Taymans  <wim@fluendo.com>
15042
15043         * docs/random/wtay/network-transp:
15044         Some old doc I had.
15045
15046 2005-07-27  Wim Taymans  <wim@fluendo.com>
15047
15048         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15049         (gst_dp_event_from_packet):
15050         Fix serialization of seek events.
15051
15052 2005-07-27  Wim Taymans  <wim@fluendo.com>
15053
15054         * check/gst-libs/gdp.c: (GST_START_TEST):
15055         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15056         Fix compilation and fix event serialization.
15057
15058 2005-07-27  Wim Taymans  <wim@fluendo.com>
15059
15060         * CHANGES-0.9:
15061         * docs/design/part-TODO.txt:
15062         * docs/design/part-events.txt:
15063         Some docs updates
15064
15065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15066         (gst_base_sink_event), (gst_base_sink_do_sync),
15067         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15068         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15069         (gst_base_src_do_seek), (gst_base_src_event_handler),
15070         (gst_base_src_loop):
15071         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15072         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15073         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15074         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15075         (gst_base_transform_set_passthrough),
15076         (gst_base_transform_is_passthrough):
15077         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15078         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15079         Event updates.
15080
15081         * gst/gstbuffer.h:
15082         Use faster casts.
15083
15084         * gst/gstelement.c: (gst_element_seek):
15085         * gst/gstelement.h:
15086         Update gst_element_seek.
15087
15088         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15089         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15090         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15091         (gst_event_new_eos), (gst_event_new_newsegment),
15092         (gst_event_parse_newsegment), (gst_event_new_tag),
15093         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15094         (gst_event_parse_qos), (gst_event_new_seek),
15095         (gst_event_parse_seek), (gst_event_new_navigation):
15096         * gst/gstevent.h:
15097         Make GstEvent use GstStructure. Add parsing code, make sure the
15098         API is sufficiently generic.
15099         Mark possible directions of events and serialization.
15100
15101         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15102         (_gst_message_copy), (gst_message_new_segment_start),
15103         (gst_message_new_segment_done), (gst_message_new_custom),
15104         (gst_message_parse_segment_start),
15105         (gst_message_parse_segment_done):
15106         Small cleanups.
15107
15108         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15109         (gst_pad_set_caps), (gst_pad_send_event):
15110         Update for new events. 
15111         Catch events sent in wrong directions.
15112
15113         * gst/gstqueue.c: (gst_queue_link_src),
15114         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15115         (gst_queue_handle_src_query):
15116         Event updates.
15117
15118         * gst/gsttag.c:
15119         * gst/gsttag.h:
15120         Remove event code from this file.
15121
15122         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15123         (gst_dp_event_from_packet):
15124         Event updates.
15125
15126 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15127
15128         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15129         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15130         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15131           Make debugging actually useful.
15132
15133 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15134
15135         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15136         (gst_pad_fixate_caps):
15137           Implement default fixation once again, so that gst_pad_fixate()
15138           actually does anything at all. This probably needs to be some
15139           sort of a last resort, and use profile-based fixation first, but
15140           since that doesn't exist yet, this is the best we have. Fixes
15141           visualization in Totem.
15142
15143 2005-07-22  Wim Taymans  <wim@fluendo.com>
15144
15145         * docs/design/part-events.txt:
15146         Small update.
15147
15148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15149         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15150         (gst_base_sink_activate_pull):
15151         Some more comments.
15152
15153         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15154         (gst_fake_src_create):
15155         Fix handoff marshall.
15156
15157         * gst/elements/gstidentity.c: (gst_identity_class_init),
15158         (gst_identity_transform_ip):
15159         We're a real inplace element.
15160
15161         * gst/gstbus.c: (gst_bus_post):
15162         Added some comments.
15163
15164         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15165         * tests/muxing/case1.c: (main):
15166         * tests/sched/dynamic-pipeline.c: (main):
15167         * tests/sched/interrupt1.c: (main):
15168         * tests/sched/interrupt2.c: (main):
15169         * tests/sched/interrupt3.c: (main):
15170         * tests/sched/runxml.c: (main):
15171         * tests/sched/sched-stress.c: (main):
15172         * tests/seeking/seeking1.c: (event_received), (main):
15173         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15174         (main):
15175         * tests/threadstate/threadstate3.c: (main):
15176         * tests/threadstate/threadstate4.c: (main):
15177         * tests/threadstate/threadstate5.c: (main):
15178         Fix the tests.
15179
15180 2005-07-21  Wim Taymans  <wim@fluendo.com>
15181
15182         * docs/design/part-seeking.txt:
15183         Some small additions.
15184
15185         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15186         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15187         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15188         * gst/base/gstbasesink.h:
15189         discont values are gint64, handle the math correctly.
15190
15191         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15192         Make the basesrc report error if the source pad is not linked.
15193
15194         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15195         (gst_queue_loop), (gst_queue_handle_src_query),
15196         (gst_queue_src_activate_push):
15197         Make queue collect data even if the srcpad is not linked.
15198         Start pushing out data as soon as it is linked.
15199
15200         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15201         * gst/gstutils.h:
15202         Added gst_flow_get_name() to ease error reporting.
15203
15204 2005-07-20  Wim Taymans  <wim@fluendo.com>
15205
15206         * gst/gstmessage.c: (gst_message_new_segment_start),
15207         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15208         (gst_message_parse_segment_done):
15209         * gst/gstmessage.h:
15210         Added a bunch of messages for advanced seeking.
15211
15212         * gst/parse/grammar.y:
15213         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15214         (gst_dpman_state_changed):
15215         Fix some new-pad -> pad-added signals
15216
15217 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15218
15219         * docs/manual/appendix-porting.xml:
15220         * docs/pwg/appendix-porting.xml:
15221           Document new-pad/state-change signal renames and the FixedList
15222           type rename.
15223
15224 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15225
15226         * docs/manual/advanced-autoplugging.xml:
15227         * docs/manual/basics-helloworld.xml:
15228         * docs/manual/basics-pads.xml:
15229         * docs/random/ds/0.9-suggested-changes:
15230         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15231         * gst/gstelement.h:
15232         * gst/gstevent.h:
15233         * gst/gstformat.h:
15234         * gst/gstquery.h:
15235         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15236         (gst_structure_parse_array), (gst_structure_parse_value):
15237         * gst/gstvalue.c: (gst_type_is_fixed),
15238         (gst_value_list_prepend_value), (gst_value_list_append_value),
15239         (gst_value_list_get_size), (gst_value_list_get_value),
15240         (gst_value_transform_array_string), (gst_value_serialize_array),
15241         (gst_value_deserialize_array), (gst_value_intersect_array),
15242         (gst_value_is_fixed), (_gst_value_initialize):
15243         * gst/gstvalue.h:
15244           GstElement::new-pad -> pad-added, GstElement::state-change ->
15245           state-changed, GstValueFixedList -> GstValueArray, add format and
15246           flags as their own arguments in gst_element_seek() (should improve
15247           "bindeability"), remove function generators since they don't work
15248           under a whole bunch of compilers (they were deprecated already
15249           anyway).
15250
15251 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15252
15253         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15254         (_gst_debug_register_funcptr):
15255         * gst/gstinfo.h:
15256           Fix illegal cast on some platforms (#309253).
15257
15258 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15259
15260         * gst/gstmessage.c: (gst_message_new_custom):
15261         * gst/gstmessage.h:
15262           Add _new_custom, make _new_application a macro to _new_custom.
15263
15264 2005-07-20  Wim Taymans  <wim@fluendo.com>
15265
15266         * gst/base/gstbasesrc.c: (gst_base_src_init),
15267         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15268         * gst/base/gstbasesrc.h:
15269         Add a gboolean to decide when to push out a discont.
15270
15271         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15272         (gst_queue_loop), (gst_queue_handle_src_query),
15273         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15274         (gst_queue_set_property), (gst_queue_get_property):
15275         Some cleanups.
15276
15277         * tests/threadstate/threadstate1.c: (main):
15278         Make a thread test compile and run... very silly..
15279
15280
15281 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15282
15283         * docs/manual/appendix-porting.xml:
15284           Mention removal of libgstgconf-0.9.la and existence of gconf
15285           elements.
15286
15287 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15288
15289         * docs/pwg/advanced-clock.xml:
15290         * docs/pwg/appendix-porting.xml:
15291         * docs/pwg/intro-preface.xml:
15292         * docs/pwg/other-base.xml:
15293         * docs/pwg/other-manager.xml:
15294         * docs/pwg/other-nton.xml:
15295         * docs/pwg/other-ntoone.xml:
15296         * docs/pwg/other-oneton.xml:
15297         * docs/pwg/pwg.xml:
15298           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15299           demuxer), remove n-to-n (was never written), fix some code examples
15300           and links and update the porting section to include all this.
15301
15302 2005-07-19  Wim Taymans  <wim@fluendo.com>
15303
15304         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15305         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15306         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15307         (gst_queue_src_activate_push), (gst_queue_change_state),
15308         (gst_queue_get_property):
15309         * gst/gstqueue.h:
15310         Propagate GstFlowReturn more intelligently upstream and output
15311         an ERROR/EOS when streaming stopped due to fatal error.
15312
15313 2005-07-19  Wim Taymans  <wim@fluendo.com>
15314
15315         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15316         Don't block forever for the state change to complete, the
15317         pipeline already did with a sensible timeout.
15318
15319 2005-07-19  Wim Taymans  <wim@fluendo.com>
15320
15321         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15322         Make sure we never call the create function is we
15323         got deactivated.
15324
15325 2005-07-19  Andy Wingo  <wingo@pobox.com>
15326
15327         * gst/parse/parse.l: Attempt to solve bug #172815.
15328
15329 2005-07-19  Wim Taymans  <wim@fluendo.com>
15330
15331         * docs/design/part-clocks.txt:
15332         * docs/design/part-events.txt:
15333         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15334         Small docs updates.
15335         Only update the seeking values when we are not
15336         busy streaming.
15337
15338 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15339
15340         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15341           Oops, ignore the result of gst_pad_push_event here.
15342
15343 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15344
15345         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15346         (gst_base_src_activate_push):
15347           Send discont event from the loop function, as pads
15348           aren't activated yet in the activate_push handler.
15349
15350         * gst/gstbin.c: (bin_bus_handler):
15351           Don't leak element name.
15352
15353 2005-07-18  Andy Wingo  <wingo@pobox.com>
15354
15355         * configure.ac: Use AS_LIBTOOL_TAGS.
15356
15357 2005-07-18  Wim Taymans  <wim@fluendo.com>
15358
15359         * docs/gst/gstreamer.types:
15360         Remove deleted types.
15361
15362 2005-07-18  Wim Taymans  <wim@fluendo.com>
15363
15364         * check/elements/gstfakesrc.c: (GST_START_TEST):
15365         * configure.ac:
15366         * gst/Makefile.am:
15367         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15368         (init_popt_callback):
15369         * gst/gst.h:
15370         * gst/gst_private.h:
15371         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15372         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15373         * gst/gstbin.h:
15374         * gst/gstbus.h:
15375         * gst/gstconfig.h.in:
15376         * gst/gstelement.c: (gst_element_class_init),
15377         (gst_element_set_base_time), (gst_element_get_base_time),
15378         (iterator_fold_with_resync), (gst_element_change_state),
15379         (gst_element_dispose), (gst_element_get_bus):
15380         * gst/gstelement.h:
15381         * gst/gstelementfactory.h:
15382         * gst/gsterror.c: (_gst_core_errors_init):
15383         * gst/gsterror.h:
15384         * gst/gstevent.h:
15385         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15386         * gst/gstindex.c:
15387         * gst/gstinfo.c: (_gst_debug_init):
15388         * gst/gstmessage.c: (_gst_message_copy):
15389         * gst/gstmessage.h:
15390         * gst/gstminiobject.h:
15391         * gst/gstobject.c:
15392         * gst/gstobject.h:
15393         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15394         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15395         * gst/gstpad.h:
15396         * gst/gstparse.h:
15397         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15398         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15399         (gst_pipeline_get_last_stream_time):
15400         * gst/gstpipeline.h:
15401         * gst/gstpluginfeature.h:
15402         * gst/gstquery.h:
15403         * gst/gstscheduler.c:
15404         * gst/gstscheduler.h:
15405         * gst/gststructure.h:
15406         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15407         (gst_task_finalize), (gst_task_func), (gst_task_create),
15408         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15409         (gst_task_stop), (gst_task_pause):
15410         * gst/gsttask.h:
15411         * gst/gsttypefind.h:
15412         * gst/gsttypes.h:
15413         * gst/registries/gstlibxmlregistry.c: (load_feature),
15414         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15415         * gst/registries/gstxmlregistry.c:
15416         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15417         * gst/schedulers/threadscheduler.c:
15418         * libs/gst/control/dparammanager.h:
15419         * tools/gst-inspect.c: (print_element_list),
15420         (print_plugin_features), (print_element_features):
15421         * tools/gst-xmlinspect.c: (print_element_list),
15422         (print_plugin_info), (main):
15423         Removed plugable schedulers.
15424         Removed Scheduler/Manager from elements.
15425         Removed gsttypes.h, rearranged includes.
15426         Removed dependency pad<->element, element<>pipeline, and
15427         various others,  fix includes.
15428         implement gst_pad_get_parent() with gst_object_get_parent()
15429         Make GstTask sefcontained.
15430         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15431         timeout.
15432         Fix endless loop in iterator_fold_with_resync.
15433
15434
15435 2005-07-18  Wim Taymans  <wim@fluendo.com>
15436
15437         * gst/Makefile.am:
15438         * gst/gstarch.h:
15439         Remove old file.
15440
15441 2005-07-18  Wim Taymans  <wim@fluendo.com>
15442
15443         * gst/Makefile.am:
15444         No more cothreads.h
15445
15446 2005-07-18  Wim Taymans  <wim@fluendo.com>
15447
15448         * gst/cothreads.c:
15449         * gst/cothreads.h:
15450         Let's remove these.
15451
15452 2005-07-18  Wim Taymans  <wim@fluendo.com>
15453
15454         * docs/design/part-dynamic.txt:
15455         * docs/design/part-events.txt:
15456         * docs/design/part-seeking.txt:
15457         Some more docs in the works.
15458
15459         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15460         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15461         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15462         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15463         (gst_base_transform_handle_buffer),
15464         (gst_base_transform_sink_activate_push),
15465         (gst_base_transform_src_activate_pull),
15466         (gst_base_transform_set_passthrough),
15467         (gst_base_transform_is_passthrough):
15468         Refcounting fixes.
15469
15470         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15471         Cleanups.
15472
15473         * gst/gstevent.c: (gst_event_finalize):
15474         Set SRC to NULL.
15475
15476         * gst/gstutils.c: (gst_element_unlink),
15477         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15478         (gst_pad_proxy_setcaps):
15479         * gst/gstutils.h:
15480         Add _get_parent_element() to get a pads parent as an element.
15481
15482 2005-07-18  Wim Taymans  <wim@fluendo.com>
15483
15484         * check/gst/gstbin.c: (GST_START_TEST):
15485         Remove bogus test.
15486
15487 2005-07-18  Wim Taymans  <wim@fluendo.com>
15488
15489         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15490         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15491         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15492         (gst_base_sink_event), (gst_base_sink_do_sync),
15493         (gst_base_sink_chain), (gst_base_sink_loop),
15494         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15495         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15496         Refcounting fixes.
15497         Fix logic for returning ASYNC when not prerolled.
15498
15499 2005-07-18  Wim Taymans  <wim@fluendo.com>
15500
15501         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15502         Fix nasty refcount bug.
15503
15504 2005-07-16 Philippe Khalaf <burger@speedy.org>
15505
15506         * gst/elements/gstfdsrc.c:
15507         * gst/elements/gstfdsrc.h:
15508         * gst/elements/gstelements.c:
15509         * gst/elements/Makefile.am:
15510         Ported fdsrc to 0.9.
15511
15512 2005-07-16  Wim Taymans  <wim@fluendo.com>
15513
15514         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15515         (gst_base_sink_do_sync):
15516         Fix compile error.
15517
15518 2005-07-16  Wim Taymans  <wim@fluendo.com>
15519
15520         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15521         (gst_base_sink_event), (gst_base_sink_get_times),
15522         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15523         * gst/base/gstbasesink.h:
15524         Store and use discont values when syncing buffers as described
15525         in design docs.
15526         
15527         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15528         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15529         (gst_base_src_activate_push):
15530         Push discont event when starting.
15531
15532         * gst/elements/gstidentity.c: (gst_identity_transform):
15533         Small cleanups.
15534
15535         * gst/gstbin.c: (gst_bin_change_state):
15536         Small cleanups in base_time  distribution.
15537
15538         * gst/gstelement.c: (gst_element_set_base_time),
15539         (gst_element_get_base_time), (gst_element_change_state):
15540         * gst/gstelement.h:
15541         Added methods for the base_time of the element.
15542         Some MT fixes.
15543
15544         * gst/gstpipeline.c: (gst_pipeline_send_event),
15545         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15546         (gst_pipeline_get_last_stream_time):
15547         * gst/gstpipeline.h:
15548         MT fixes.
15549         Handle seeking as described in design doc, remove stream_time
15550         hack.
15551         Cleanups clock and stream_time selection code. Added accessors
15552         for the stream_time.
15553         
15554
15555 2005-07-16  Andy Wingo  <wingo@pobox.com>
15556
15557         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15558         (#305291).
15559
15560 2005-07-16  Wim Taymans  <wim@fluendo.com>
15561
15562         * check/gst/gstbin.c: (GST_START_TEST):
15563         Make elements silent as the deep_notify refs the
15564         parent, which might make the test fail.
15565
15566         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15567         Don't hold the lock for too long.
15568
15569 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15570
15571         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15572           Don't unref the caps we passed to gst_caps_make_writable() after
15573           passing them. gst_caps_make_writable() will do that for us.
15574
15575 2005-07-15  Andy Wingo  <wingo@pobox.com>
15576
15577         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15578         (#157311).
15579
15580         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15581         own marshalling function for the handoff signal. Properly type the
15582         buffer as a buffer. Fixes some warnings. Should do a more general
15583         solution.
15584         (gst_identity_class_init): Plug into the right marshaller.
15585
15586 2005-07-15  Wim Taymans  <wim@fluendo.com>
15587
15588         * docs/design/part-TODO.txt:
15589         * docs/design/part-clocks.txt:
15590         * docs/design/part-element-sink.txt:
15591         * docs/design/part-events.txt:
15592         * docs/design/part-gstpipeline.txt:
15593         Updated docs, mostly DISCONT related.
15594
15595 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15596
15597         * docs/pwg/building-pads.xml:
15598           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15599
15600 2005-07-15  Andy Wingo  <wingo@pobox.com>
15601
15602         * tools/gst-typefind.c: Update, add copyright block.
15603
15604         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15605         Normalize and truncate caps before fixation.
15606
15607         * gst/gstcaps.h:
15608         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15609         discards all but the first structure from its argument.
15610
15611 2005-07-15  Wim Taymans  <wim@fluendo.com>
15612
15613         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15614         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15615         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15616         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15617         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15618         (gst_base_transform_chain), (gst_base_transform_change_state),
15619         (gst_base_transform_set_passthrough),
15620         (gst_base_transform_is_passthrough):
15621         * gst/base/gstbasetransform.h:
15622         Make passthrough work using the bufferpools.
15623         Changed API a bit, subclasses have to write into a buffer
15624         provided by the base class.
15625         More debug info in nego functions.
15626         
15627         * gst/elements/gstidentity.c: (gst_identity_init),
15628         (gst_identity_transform):
15629         Port to new base class.
15630
15631 2005-07-15  Wim Taymans  <wim@fluendo.com>
15632
15633         * gst/gstmessage.c: (gst_message_new_state_changed):
15634         * tools/gst-launch.c: (event_loop), (main):
15635         Totally dump messages in -launch with the -m option.
15636         Fix message name for State messages,
15637
15638 2005-07-14  Wim Taymans  <wim@fluendo.com>
15639
15640         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15641         Post error messages on errors.
15642
15643 2005-07-14  Wim Taymans  <wim@fluendo.com>
15644
15645         * gst/gstcaps.c: (gst_caps_do_simplify):
15646         Remove debug info.
15647
15648         * gst/gsterror.h:
15649         Define error for stream stopped.
15650
15651         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15652         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15653         Do proper return values.
15654
15655         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15656         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15657         (gst_pad_get_range):
15658         Better return values.
15659
15660         * gst/gstpad.h:
15661         Reorganise return values, add macro to check for fatal errors.
15662
15663         * gst/gstqueue.c: (gst_queue_chain):
15664         Return proper GstFlowReturn values,
15665
15666 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15667
15668         * docs/gst/gstreamer-sections.txt:
15669         * docs/gst/gstreamer.types:
15670         * docs/gst/tmpl/gst.sgml:
15671         * docs/gst/tmpl/gstbasesink.sgml:
15672         * docs/gst/tmpl/gstbasesrc.sgml:
15673         * docs/gst/tmpl/gstbasetransform.sgml:
15674         * docs/gst/tmpl/gstbin.sgml:
15675         * docs/gst/tmpl/gstbuffer.sgml:
15676         * docs/gst/tmpl/gstcaps.sgml:
15677         * docs/gst/tmpl/gstclock.sgml:
15678         * docs/gst/tmpl/gstcompat.sgml:
15679         * docs/gst/tmpl/gstconfig.sgml:
15680         * docs/gst/tmpl/gstelement.sgml:
15681         * docs/gst/tmpl/gstelementdetails.sgml:
15682         * docs/gst/tmpl/gstelementfactory.sgml:
15683         * docs/gst/tmpl/gstenumtypes.sgml:
15684         * docs/gst/tmpl/gsterror.sgml:
15685         * docs/gst/tmpl/gstevent.sgml:
15686         * docs/gst/tmpl/gstfakesink.sgml:
15687         * docs/gst/tmpl/gstfakesrc.sgml:
15688         * docs/gst/tmpl/gstfilesink.sgml:
15689         * docs/gst/tmpl/gstfilesrc.sgml:
15690         * docs/gst/tmpl/gstfilter.sgml:
15691         * docs/gst/tmpl/gstformat.sgml:
15692         * docs/gst/tmpl/gstghostpad.sgml:
15693         * docs/gst/tmpl/gstimplementsinterface.sgml:
15694         * docs/gst/tmpl/gstindex.sgml:
15695         * docs/gst/tmpl/gstindexfactory.sgml:
15696         * docs/gst/tmpl/gstinfo.sgml:
15697         * docs/gst/tmpl/gstiterator.sgml:
15698         * docs/gst/tmpl/gstmacros.sgml:
15699         * docs/gst/tmpl/gstmemchunk.sgml:
15700         * docs/gst/tmpl/gstminiobject.sgml:
15701         * docs/gst/tmpl/gstobject.sgml:
15702         * docs/gst/tmpl/gstpad.sgml:
15703         * docs/gst/tmpl/gstpadtemplate.sgml:
15704         * docs/gst/tmpl/gstparse.sgml:
15705         * docs/gst/tmpl/gstpipeline.sgml:
15706         * docs/gst/tmpl/gstplugin.sgml:
15707         * docs/gst/tmpl/gstpluginfeature.sgml:
15708         * docs/gst/tmpl/gstquery.sgml:
15709         * docs/gst/tmpl/gstqueue.sgml:
15710         * docs/gst/tmpl/gstregistry.sgml:
15711         * docs/gst/tmpl/gstregistrypool.sgml:
15712         * docs/gst/tmpl/gstscheduler.sgml:
15713         * docs/gst/tmpl/gstschedulerfactory.sgml:
15714         * docs/gst/tmpl/gststructure.sgml:
15715         * docs/gst/tmpl/gstsystemclock.sgml:
15716         * docs/gst/tmpl/gsttaglist.sgml:
15717         * docs/gst/tmpl/gsttagsetter.sgml:
15718         * docs/gst/tmpl/gsttrace.sgml:
15719         * docs/gst/tmpl/gsttrashstack.sgml:
15720         * docs/gst/tmpl/gsttypefind.sgml:
15721         * docs/gst/tmpl/gsttypefindfactory.sgml:
15722         * docs/gst/tmpl/gsttypes.sgml:
15723         * docs/gst/tmpl/gsturihandler.sgml:
15724         * docs/gst/tmpl/gsturitype.sgml:
15725         * docs/gst/tmpl/gstutils.sgml:
15726         * docs/gst/tmpl/gstvalue.sgml:
15727         * docs/gst/tmpl/gstversion.sgml:
15728         * docs/gst/tmpl/gstxml.sgml:
15729         * docs/libs/tmpl/gstcontrol.sgml:
15730         * docs/libs/tmpl/gstdataprotocol.sgml:
15731         * docs/libs/tmpl/gstdparam.sgml:
15732         * docs/libs/tmpl/gstdplinint.sgml:
15733         * docs/libs/tmpl/gstdpman.sgml:
15734         * docs/libs/tmpl/gstdpsmooth.sgml:
15735         * docs/libs/tmpl/gstgetbits.sgml:
15736         * docs/libs/tmpl/gstunitconvert.sgml:
15737         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15738         (gst_push_src_base_init), (gst_push_src_class_init),
15739         (gst_push_src_init), (gst_push_src_create):
15740         * gst/base/gstpushsrc.h:
15741         * gst/elements/gstelements.c:
15742         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15743         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15744         (gst_fake_sink_init), (gst_fake_sink_set_property),
15745         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15746         (gst_fake_sink_event), (gst_fake_sink_preroll),
15747         (gst_fake_sink_render), (gst_fake_sink_change_state):
15748         * gst/elements/gstfakesink.h:
15749         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15750         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15751         (gst_fake_src_base_init), (gst_fake_src_class_init),
15752         (gst_fake_src_init), (gst_fake_src_event_handler),
15753         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15754         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15755         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15756         (gst_fake_src_create_buffer), (gst_fake_src_create),
15757         (gst_fake_src_start), (gst_fake_src_stop):
15758         * gst/elements/gstfakesrc.h:
15759         * gst/elements/gstfilesink.c: (_do_init),
15760         (gst_file_sink_base_init), (gst_file_sink_class_init),
15761         (gst_file_sink_init), (gst_file_sink_dispose),
15762         (gst_file_sink_set_location), (gst_file_sink_set_property),
15763         (gst_file_sink_get_property), (gst_file_sink_open_file),
15764         (gst_file_sink_close_file), (gst_file_sink_query),
15765         (gst_file_sink_event), (gst_file_sink_render),
15766         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15767         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15768         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15769         * gst/elements/gstfilesink.h:
15770         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15771         (gst_file_src_class_init), (gst_file_src_init),
15772         (gst_file_src_finalize), (gst_file_src_set_location),
15773         (gst_file_src_set_property), (gst_file_src_get_property),
15774         (gst_file_src_map_region), (gst_file_src_map_small_region),
15775         (gst_file_src_create_mmap), (gst_file_src_create_read),
15776         (gst_file_src_create), (gst_file_src_is_seekable),
15777         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15778         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15779         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15780         (gst_file_src_uri_handler_init):
15781         * gst/elements/gstfilesrc.h:
15782           more autistic cleanliness in functions/names/defines
15783
15784 2005-07-13  Andy Wingo  <wingo@pobox.com>
15785
15786         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15787         source couldn't negotiate.
15788
15789         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15790         connections again.
15791
15792         * gst/gstutils.h:
15793         * gst/gstutils.c (gst_element_link_pads_filtered): New old
15794         function. I am channeling Hades. Put your boots on suckers!!!
15795
15796 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15797
15798         * testsuite/caps/Makefile.am:
15799         * testsuite/caps/value_compare.c:
15800         * testsuite/caps/value_intersect.c:
15801         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15802           move two testsuite apps over to the check dir
15803
15804 2005-07-12  Wim Taymans  <wim@fluendo.com>
15805
15806         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15807         Added more debug info in the negotiate process.
15808
15809         * gst/gstmessage.h:
15810         Prepare for segment playback.
15811
15812         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15813         Better debugging.
15814
15815         * gst/gstutils.c:
15816         Some more docs.
15817
15818         * tools/gst-launch.c: (main):
15819         NULL pipeline on errors.
15820
15821 2005-07-12  Andy Wingo  <wingo@pobox.com>
15822
15823         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15824         not it comes from a malloc region. Make sure our copy gets freed.
15825
15826 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15827
15828         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15829         * check/gst/gstmessage.c: (GST_START_TEST):
15830         * check/gst/gststructure.c: (GST_START_TEST),
15831         (gst_structure_suite), (main):
15832           more testing
15833         * gst/gstelement.c: (gst_element_message_full):
15834           clean up GError and debug string now that they get copied
15835         * gst/gstmessage.c: (gst_message_new_error),
15836         (gst_message_new_warning), (gst_message_parse_error),
15837         (gst_message_parse_warning):
15838           use GST_TYPE_G_ERROR for structure_new, and take copies of
15839           arguments, so that we don't mess up refcounting
15840
15841 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15842
15843         * check/Makefile.am:
15844           add per-test valgrind targets
15845         * check/gst-libs/gdp.c: (GST_START_TEST),
15846         (gst_data_protocol_suite), (main):
15847           clean up
15848
15849 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15850
15851         * check/Makefile.am:
15852           instate more valgrindable tests
15853         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15854         (GST_START_TEST), (fakesrc_suite):
15855         * check/gst/gstpad.c: (GST_START_TEST):
15856         * check/gst/gststructure.c: (GST_START_TEST):
15857           fix test leaks
15858         * docs/gst/tmpl/gstminiobject.sgml:
15859         * gst/gstpad.c: (gst_pad_finalize):
15860           fix the static mutex leak
15861
15862 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15863
15864         * check/Makefile.am:
15865           add two more tests for valgrinding
15866         * check/gst/gstvalue.c: (GST_START_TEST):
15867           test refcount of deserialized buffer, found a leak
15868         * docs/gst/gstreamer-docs.sgml:
15869         * docs/gst/gstreamer-sections.txt:
15870         * docs/gst/gstreamer.types:
15871         * docs/gst/tmpl/gstminiobject.sgml:
15872           add miniobject to docs
15873         * gst/gstminiobject.c:
15874           add some docs
15875         * gst/gstvalue.c: (gst_value_deserialize_buffer),
15876         (gst_string_unwrap):
15877           fix a hard-to-find invalid write for one of the tests
15878           fix a leak for deserialized buffers
15879
15880 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15881
15882         * docs/pwg/advanced-events.xml:
15883         * docs/pwg/advanced-request.xml:
15884         * docs/pwg/advanced-scheduling.xml:
15885         * docs/pwg/appendix-porting.xml:
15886         * docs/pwg/building-boiler.xml:
15887         * docs/pwg/intro-preface.xml:
15888         * docs/pwg/other-ntoone.xml:
15889           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15890           of example code and explanation for pad activation, loop() and
15891           getrange() functions and a bit more. Remove old comments pointing
15892           to loop-functions.
15893         * examples/pwg/Makefile.am:
15894           Add loop/getrange examples.
15895
15896 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15897
15898         * configure.ac:
15899           check for valgrind binary + some fixes
15900         * check/gst.supp:
15901           valgrind suppressions for the tests
15902         * check/Makefile.am:
15903           add a valgrind: target that valgrinds the unit tests
15904         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15905         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15906         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15907         * check/gst/gstghostpad.c:
15908           added some cleanup
15909         * check/gst/gstdata.c:
15910           removed
15911         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15912         (thread_unref), (gst_mini_object_suite), (main):
15913           added
15914         * gst/gst.c: (gst_deinit):
15915         * gst/gst.h:
15916           add a method to clean up.
15917         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15918         (gst_system_clock_obtain):
15919           allow for disposing the system clock.
15920         * tools/gst-launch.c: (main):
15921           deinit
15922
15923 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15924
15925         * docs/gst/tmpl/gstbasesrc.sgml:
15926         * docs/gst/tmpl/gstfakesrc.sgml:
15927         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15928         (gst_base_src_init), (gst_base_src_set_property),
15929         (gst_base_src_get_property), (gst_base_src_get_range),
15930         (gst_base_src_start):
15931         * gst/base/gstbasesrc.h:
15932           add num-buffers property
15933         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15934         (gst_fakesrc_init), (gst_fakesrc_set_property),
15935         (gst_fakesrc_get_property), (gst_fakesrc_create),
15936         (gst_fakesrc_start):
15937           remove num-buffers property
15938
15939 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15940
15941         * docs/gst/gstreamer-sections.txt:
15942         * docs/gst/tmpl/gstbasesink.sgml:
15943         * docs/gst/tmpl/gstbasesrc.sgml:
15944         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15945         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15946         (gst_base_sink_finalize), (gst_base_sink_set_clock),
15947         (gst_base_sink_set_property), (gst_base_sink_get_property),
15948         (gst_base_sink_handle_object), (gst_base_sink_event),
15949         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15950         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15951         (gst_base_sink_loop), (gst_base_sink_deactivate),
15952         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15953         (gst_base_sink_change_state):
15954         * gst/base/gstbasesink.h:
15955         * gst/base/gstbasesrc.h:
15956         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15957         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15958         (gst_filesink_init):
15959           more macro splitting
15960
15961 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15962
15963         * gst/gstelement.c: (gst_element_get_bus):
15964           add debug
15965         * tools/gst-launch.c: (check_intr), (event_loop):
15966           fix bus leaks
15967
15968 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15969
15970         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15971           fix a caps leak
15972
15973 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15974
15975         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15976         (gst_base_src_finalize):
15977           add finalize method and clean up properly
15978         * gst/gstpipeline.c: (gst_pipeline_dispose):
15979           add debug
15980
15981 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15982
15983         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15984         (gst_bin_suite):
15985           add more things to check
15986         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15987         * gst/gstelement.c:
15988           more debug
15989
15990 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15991
15992         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15993         (GST_START_TEST), (fakesrc_suite):
15994         * check/gst-libs/gdp.c: (GST_START_TEST):
15995         * check/gst/gst.c: (GST_START_TEST):
15996         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15997         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15998         * check/gst/gstbus.c: (GST_START_TEST):
15999         * check/gst/gstcaps.c: (GST_START_TEST):
16000         * check/gst/gstdata.c: (GST_START_TEST):
16001         * check/gst/gstelement.c: (GST_START_TEST):
16002         * check/gst/gstghostpad.c: (GST_START_TEST):
16003         * check/gst/gstiterator.c: (GST_START_TEST):
16004         * check/gst/gstmessage.c: (GST_START_TEST):
16005         * check/gst/gstobject.c: (GST_START_TEST):
16006         * check/gst/gstpad.c: (GST_START_TEST):
16007         * check/gst/gststructure.c: (GST_START_TEST):
16008         * check/gst/gstsystemclock.c: (GST_START_TEST),
16009         (gst_systemclock_suite):
16010         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16011         * check/gst/gstvalue.c: (GST_START_TEST):
16012         * check/pipelines/cleanup.c: (GST_START_TEST):
16013         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16014         * check/states/sinks.c: (GST_START_TEST):
16015         * check/gstcheck.c: (gst_check_init):
16016         * check/gstcheck.h:
16017           add debugging category
16018           use GST_START_TEST now, so we add a debug line
16019
16020 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16021
16022         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16023           add test for state change message on a bin
16024         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16025           add another test
16026         * gst/gstbin.c: (gst_bin_init):
16027         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16028         * gst/gstelement.c: (gst_element_post_message),
16029         (gst_element_set_state):
16030         * gst/gstelementfactory.c: (gst_element_factory_create):
16031         * gst/gstmessage.c: (gst_message_new):
16032         * gst/gstscheduler.c:
16033           various debugging additions and cleanups
16034
16035 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16036
16037         * check/Makefile.am:
16038         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16039         (main):
16040           adding tests for elements
16041         * gst/gstelement.c: (gst_element_dispose):
16042
16043 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16044
16045         * gst/registries/gstlibxmlregistry.c: (load_feature):
16046           plug more leaks.  A simple gst_init() now is leakfree, yay.
16047
16048 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16049
16050         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16051         (gst_xml_registry_load):
16052           plug another memleak
16053
16054 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16055
16056         * configure.ac:
16057           use GST_SET_ERROR_CFLAGS
16058         * docs/faq/cvs.xml:
16059           change to ERROR_CFLAGS
16060
16061 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16062
16063         * configure.ac:
16064           make GST_ERROR_CFLAGS overridable and re-enable Werror
16065         * docs/faq/cvs.xml:
16066           add a note about error CFLAGS
16067         * docs/gst/tmpl/gstfakesrc.sgml:
16068         * gst/elements/gstfakesrc.c:
16069           comment out some unused code
16070         * gst/gst.c: (split_and_iterate):
16071         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16072         (load_feature):
16073           plug some memleaks
16074
16075 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16076
16077         * common/Makefile.am:
16078         * common/gtk-doc.mak:
16079         * docs/gst/Makefile.am:
16080           factor out gtk-doc.mak
16081
16082 2005-07-07  Wim Taymans  <wim@fluendo.com>
16083
16084         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16085         (gst_thread_scheduler_dispose):
16086         Unlock the STREAM_LOCK completely.
16087
16088 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16089
16090         * check/Makefile.am:
16091         * check/elements/.cvsignore:
16092         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16093         (START_TEST), (fakesrc_suite), (main):
16094         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16095         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16096         (gst_fakesrc_create), (gst_fakesrc_start):
16097         * gst/elements/gstfakesrc.h:
16098           adding a first element test
16099
16100 2005-07-07  Andy Wingo  <wingo@pobox.com>
16101
16102         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16103         debug message.
16104
16105 2005-07-07  Wim Taymans  <wim@fluendo.com>
16106
16107         * gst/gstquery.c:
16108         * gst/gstquery.h:
16109         Remove old types
16110
16111 2005-07-07  Wim Taymans  <wim@fluendo.com>
16112
16113         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16114         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16115         Allow subclasses to implement their own negotiation.
16116
16117 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16118
16119         * docs/design/part-gstbin.txt:
16120         * docs/design/part-gstpipeline.txt:
16121           Update design notes to reflect the movement of
16122           responsibility for bus handling from GstPipeline to
16123           GstBin
16124
16125 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16126
16127         * configure.ac:
16128           Remove unnecessary queue2/3/4 examples.
16129
16130 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16131
16132         * examples/Makefile.am:
16133         * examples/helloworld/helloworld.c: (event_loop), (main):
16134         * examples/queue/queue.c: (event_loop), (main):
16135         * examples/queue2/queue2.c: (main):
16136           Update a couple of the examples to work again.
16137
16138         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16139         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16140          Spelling corrections and extra debug.
16141         
16142         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16143         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16144         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16145         * gst/gstbin.h:
16146         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16147         (gst_pipeline_change_state):
16148         * gst/gstpipeline.h:
16149           Move the bus handler for children to the GstBin, and create a
16150           separate bus for receiving messages from children to the one the
16151           bus sends 'upwards' on.
16152
16153 2005-07-06  Wim Taymans  <wim@fluendo.com>
16154
16155         * gst/base/README:
16156         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16157         (gst_base_sink_handle_object), (gst_base_sink_loop),
16158         (gst_base_sink_change_state):
16159         * gst/base/gstbasesink.h:
16160         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16161         (gst_base_src_init), (gst_base_src_setcaps),
16162         (gst_base_src_getcaps), (gst_base_src_loop),
16163         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16164         (gst_base_src_start), (gst_base_src_change_state):
16165         * gst/base/gstbasesrc.h:
16166         Make basesrc negotiate.
16167         Handle the case where preroll fails in basesink.
16168         Update README.
16169
16170 2005-07-06  Wim Taymans  <wim@fluendo.com>
16171
16172         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16173         Implement the fixate function.
16174         Clean up acceptcaps.
16175
16176 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16177
16178         * docs/pwg/building-filterfactory.xml:
16179         * docs/pwg/pwg.xml:
16180           Remove never-written filter-factory chapter; I'll add the various
16181           base classes to part 4 ("other element types") later on.
16182
16183 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16184
16185         * docs/pwg/advanced-negotiation.xml:
16186         * docs/pwg/building-boiler.xml:
16187         * docs/pwg/building-pads.xml:
16188         * docs/pwg/pwg.xml:
16189         * examples/pwg/Makefile.am:
16190           Add a chapter on caps negotiation, simplify the original code
16191           samples a bit w.r.t. caps negotiation, add link to the advanced
16192           section. Add a bunch of examples showing different use cases of
16193           different types of caps negotiation. Upstream renegotiation isn't
16194           fully documented yet since nobody knows how that works.
16195
16196 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16197
16198         * check/gst/gstpad.c:
16199         * check/gstcheck.c:
16200         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16201           if pad has no parent, return NULL as list of internal links
16202
16203 2005-07-05  Andy Wingo  <wingo@pobox.com>
16204
16205         * gst/elements/gstfilesrc.c:
16206         * gst/elements/gstfakesrc.c: 
16207         * gst/base/gstpushsrc.c:
16208         * gst/base/gstbasesrc.h: 
16209         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16210         
16211 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16212
16213         * Makefile.am:
16214           better report generation target (lcov needs a patch)
16215
16216 2005-07-05  Andy Wingo  <wingo@pobox.com>
16217
16218         * gst/elements, testsuite: Null if we got it...
16219
16220 2005-07-05  Wim Taymans  <wim@fluendo.com>
16221
16222         * configure.ac:
16223         * libs/gst/dataprotocol/Makefile.am:
16224         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16225         * libs/gst/dataprotocol/dataprotocol.h:
16226         * pkgconfig/Makefile.am:
16227         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16228         * pkgconfig/gstreamer-dataprotocol.pc.in:
16229         Ported dataprotol to 0.9. 
16230         Added pkgconfig files.
16231
16232 2005-07-05  Andy Wingo  <wingo@pobox.com>
16233
16234         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16235         Default to returning TRUE for the case when tranform_caps returns
16236         a fixed caps, like for identity or volume.
16237
16238         * check/gst/gstbus.c (pound_bus_with_messages): 
16239         * check/gst/gstmessage.c (START_TEST): 
16240         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16241         message API change.
16242
16243         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16244         logic weaks here: always run transform_caps, trying passthrough
16245         operation only if the original caps intersects with the transform.
16246
16247         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16248         source and sink caps.
16249
16250         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16251         Intersect the peer caps with the pad template before going into
16252         transform_caps.
16253         (gst_base_transform_transform_caps): More debugging.
16254
16255         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16256         src argument.
16257
16258 2005-07-04  Edward Hervey  <edward@fluendo.com>
16259
16260         * gst/gstutils.c:
16261         * gst/gstutils.h:
16262         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16263         in bindings.
16264
16265 2005-07-04  Andy Wingo  <wingo@pobox.com>
16266
16267         * check/gst/gstpad.c: Only set explicit caps on pads.
16268
16269 2005-07-01  Andy Wingo  <wingo@pobox.com>
16270
16271         * tests/network-clock.scm: Commentary update.
16272
16273         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16274         Didn't really make sense, not implementable with basetransform,
16275         etc.
16276         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16277         attempt at implementing the sync property, needs an unlock method.
16278
16279         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16280         New func, by default returns the same caps (the identity
16281         transformation).
16282         (gst_base_transform_getcaps): Uses transform_caps to return
16283         something sensible.
16284         (gst_base_transform_setcaps): Complicated logic to get caps on
16285         both pads, even if they are different, and to call set_caps once
16286         for every time both pads get their caps set.
16287         (gst_base_transform_handle_buffer): Give the ref to the transform
16288         function. Allows in-place modification of the buffer.
16289
16290         * gst/base/gstbasetransform.h (transform_caps): New class method.
16291         Given caps on one side, what can I do on the other.
16292         (set_caps): Take two caps, one for each side of the element.
16293
16294         * gst/gstpad.h:
16295         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16296         caps in place. This is safe because we can check the mutability of
16297         the caps, and a good idea because fixate functions are just called
16298         as a matter of last resort. (Not actually implemented.)
16299         (gst_pad_set_caps): If the caps we're setting is actually the same
16300         as the existing pad caps, just update the pointer without calling
16301         setcaps. Assert that caps is either NULL or fixed, as per the
16302         docs.
16303
16304         * gst/gstghostpad.c: Update for fixate changes.
16305
16306 2005-07-02  Andy Wingo  <wingo@pobox.com>
16307
16308         * gst/gstcaps.c:
16309         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16310         two refcounts makes it immutable, which is enough. Doc more.
16311
16312 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16313
16314         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16315           Put the mini_object into GValue as a mini_object,
16316           not a gpointer, since that's how we declared
16317           the signal.
16318
16319 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16320
16321         * examples/pwg/Makefile.am:
16322           Fix buildbot again.
16323
16324 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16325
16326         * docs/pwg/building-testapp.xml:
16327           Add extra check.
16328         * examples/pwg/Makefile.am:
16329           Fix buildbot.
16330
16331 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16332
16333         * configure.ac:
16334         * examples/Makefile.am:
16335         * examples/pwg/Makefile.am:
16336         * examples/pwg/extract.pl:
16337           Enable building the PWG examples.
16338         * docs/pwg/advanced-interfaces.xml:
16339           Add URI interface stub.
16340         * docs/pwg/advanced-types.xml:
16341         * docs/pwg/other-autoplugger.xml:
16342         * docs/pwg/appendix-porting.xml:
16343         * docs/pwg/pwg.xml:
16344           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16345         * docs/pwg/building-boiler.xml:
16346         * docs/pwg/building-chainfn.xml:
16347         * docs/pwg/building-pads.xml:
16348         * docs/pwg/building-props.xml:
16349         * docs/pwg/building-state.xml:
16350         * docs/pwg/building-testapp.xml:
16351           Update the building-*.xml parts for 0.9 changes. All examples
16352           code blocks compile in examples/pwg/*.
16353
16354 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16355
16356         * docs/manual/advanced-autoplugging.xml:
16357         * docs/manual/appendix-checklist.xml:
16358         * docs/manual/appendix-integration.xml:
16359         * docs/manual/highlevel-components.xml:
16360           Fix playbin/decodebin examples, update docs a bit, mention bus
16361           instead of signals in various places, mention kmplayer and
16362           kaffeine since they have a working GStreamer backend in the KDE
16363           section.
16364
16365 2005-06-30  Wim Taymans  <wim@fluendo.com>
16366
16367         * CHANGES-0.9:
16368         * docs/design/draft-ghostpads.txt:
16369         * docs/design/draft-push-pull.txt:
16370         * docs/design/draft-query.txt:
16371         * docs/design/part-TODO.txt:
16372         * docs/design/part-query.txt:
16373         Added CHANGES-0.9 doc, updated status of other docs.
16374         
16375         * gst/gstquery.h:
16376         Remove "hmm" macro
16377
16378 2005-06-30  Wim Taymans  <wim@fluendo.com>
16379
16380         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16381         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16382         (gst_base_sink_change_state):
16383         * gst/base/gstbasesink.h:
16384         Some tweaks, only EOS and a buffer complete a preroll.
16385
16386 2005-06-30  Andy Wingo  <wingo@pobox.com>
16387
16388         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16389         activate_push down to the internal pad as well.
16390
16391 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16392
16393         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16394
16395         * gst/gsttaginterface.c:
16396           Some documentation fixes (#307394 and #307397).
16397
16398 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16399
16400         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16401
16402         * gst/gstvalue.c: (gst_value_intersect_list):
16403           Fix memleak (#309125).
16404
16405 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16406
16407         * docs/manual/advanced-dataaccess.xml:
16408           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16409         * docs/manual/basics-pads.xml:
16410           Add reference for filtered caps to above chapter.
16411
16412 2005-06-30  Wim Taymans  <wim@fluendo.com>
16413
16414         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16415         (gst_bin_change_state):
16416         Probes are gone.
16417         Lame attempt at making the state change function a bit
16418         more readable.
16419
16420 2005-06-30  Wim Taymans  <wim@fluendo.com>
16421
16422         * docs/design/part-clocks.txt:
16423         * docs/design/part-element-sink.txt:
16424         * docs/design/part-events.txt:
16425         * docs/design/part-preroll.txt:
16426         * docs/design/part-states.txt:
16427         Some more tweeks and additions to the docs.
16428
16429 2005-06-30  Wim Taymans  <wim@fluendo.com>
16430
16431         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16432         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16433         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16434         (gst_pad_check_pull_range), (gst_pad_get_range),
16435         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16436         * gst/gstpad.h:
16437         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16438         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16439         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16440         (gst_pad_remove_buffer_probe):
16441         Removed atomic operations, use existing LOCK.
16442         Move exception handling out of main code path.
16443
16444 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16445
16446         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16447         (silly_return_true_function), (gst_pad_class_init),
16448         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16449         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16450         (gst_pad_send_event):
16451           Fix accumulator, add default value by using _emitv() instead
16452           of _emit() for signal emission.
16453
16454 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16455
16456         * docs/manual/advanced-dataaccess.xml:
16457         * examples/manual/Makefile.am:
16458           Add probe example.
16459         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16460           Make work (??).
16461
16462 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16463
16464         * gst/elements/gstfilesink.c: (gst_filesink_render):
16465           Simplify code so that we don't have to handle short
16466           writes and return GST_FLOW_ERROR if an error occured.
16467
16468 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16469
16470         * docs/gst/gstreamer-docs.sgml:
16471           Remove probes more.
16472
16473 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16474
16475         * docs/gst/gstreamer-sections.txt:
16476         * docs/gst/tmpl/gstpad.sgml:
16477         * docs/gst/tmpl/gstprobe.sgml:
16478         * gst/Makefile.am:
16479         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16480         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16481         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16482         (gst_pad_push_event), (gst_pad_send_event):
16483         * gst/gstpad.h:
16484         * gst/gstutils.c: (gst_pad_add_data_probe),
16485         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16486         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16487         (gst_pad_remove_buffer_probe):
16488         * gst/gstutils.h:
16489           Remove old probes, add new g-signal-based probes and some utility
16490           functions.
16491
16492 2005-06-29  Edward Hervey  <edward@fluendo.com>
16493
16494         * gst/gstelementfactory.c:
16495         * gst/gstutils.h:
16496         * gst/gstutils.c:
16497         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16498         the definition to the header file.
16499
16500 2005-06-29  Andy Wingo  <wingo@pobox.com>
16501
16502         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16503         plugins from the source directory.
16504
16505 2005-06-29  Wim Taymans  <wim@fluendo.com>
16506
16507         * docs/gst/tmpl/gstbuffer.sgml:
16508         * docs/gst/tmpl/gstclock.sgml:
16509         Some fixings for blantently wrong text.
16510
16511 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16512
16513         * check/Makefile.am:
16514         * gst/gst.c: (add_path_func), (init_pre):
16515         * gst/gstregistry.c: (gst_registry_add_path):
16516           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16517           only scan the GST_PLUGIN_PATH locations, and not add
16518           system locations
16519
16520 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16521
16522         * docs/gst/gstreamer-sections.txt:
16523         * docs/gst/tmpl/gstbasesrc.sgml:
16524         * gst/gstelement.c:
16525         * gst/gstelement.h:
16526         * gst/gstevent.c:
16527         * gst/gstutils.c:
16528           doc fixes
16529
16530 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16531
16532         * docs/manual/advanced-autoplugging.xml:
16533           Fix autoplugging example.
16534
16535 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16536
16537         * docs/manual/advanced-autoplugging.xml:
16538         * docs/manual/mime-world.fig:
16539           Try to get autoplugging working, fix type detection. Fix text
16540           in hello-world image.
16541
16542 2005-06-29  Wim Taymans  <wim@fluendo.com>
16543
16544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16545         (gst_base_sink_change_state):
16546         Small debug line.
16547
16548         * gst/gstclock.h:
16549         map SIGNAL and BROADCAST to the right function.
16550
16551         * gst/gstobject.h:
16552         Remove redundant braces.
16553
16554         * gst/gstpad.c: (gst_pad_set_caps):
16555         Don't call setcaps function when reseting caps to NULL.
16556
16557         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16558         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16559         (gst_system_clock_id_unschedule):
16560         Use BROADCAST as this is what we do.
16561
16562 2005-06-29  Wim Taymans  <wim@fluendo.com>
16563
16564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16565         We are actually prerolling before commiting the state
16566         change. 
16567
16568 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16569
16570         * docs/manual/advanced-clocks.xml:
16571         * docs/manual/advanced-interfaces.xml:
16572         * docs/manual/advanced-metadata.xml:
16573         * docs/manual/advanced-position.xml:
16574         * docs/manual/advanced-schedulers.xml:
16575         * docs/manual/advanced-threads.xml:
16576         * docs/manual/appendix-porting.xml:
16577         * docs/manual/basics-bins.xml:
16578         * docs/manual/basics-bus.xml:
16579         * docs/manual/basics-elements.xml:
16580         * docs/manual/basics-helloworld.xml:
16581         * docs/manual/basics-pads.xml:
16582         * docs/manual/highlevel-components.xml:
16583         * docs/manual/manual.xml:
16584         * docs/manual/thread.fig:
16585           Update (until threads/scheduling) Application Development Manual;
16586           remove GstThread, add GstBus, add simple porting checklist, add
16587           documentation for tag writing, clocks, make all examples until this
16588           part compile and run.
16589         * examples/manual/Makefile.am:
16590           Update from changes to Application Development Manual; add bus
16591           example, remove thread example.
16592
16593 2005-06-28  Wim Taymans  <wim@fluendo.com>
16594
16595         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16596         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16597         (gst_bus_source_dispatch):
16598         Add debugging messages.
16599         Make internal methods static.
16600         Handle the case where the bus is flushed in the handler.
16601         
16602         * gst/gstelement.c: (gst_element_get_bus):
16603         Fix refcount in _get_bus();
16604
16605         * gst/gstpipeline.c: (gst_pipeline_change_state),
16606         (gst_pipeline_get_clock_func):
16607         Clock refcounting fixes.
16608         Handle the case where preroll timed out more gracefully.
16609         
16610         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16611         Clean up the internal thread in dispose. This is needed
16612         for subclasses that actually get disposed.
16613         
16614         * gst/schedulers/threadscheduler.c:
16615         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16616         (gst_thread_scheduler_dispose):
16617         Free thread pool in dispose.
16618
16619 2005-06-28  Andy Wingo  <wingo@pobox.com>
16620
16621         * tests/network-clock-utils.scm (debug, print-event): New utils.
16622
16623         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16624         (*packet-loss*): Unified loss probability.
16625         (network-time): Report out-of-band events.
16626
16627         * tests/plot-data: Add support for out-of-band events. Hack it
16628         into this script instead of passing it down the pipe; should fix
16629         this later.
16630
16631 2005-06-28  Wim Taymans  <wim@fluendo.com>
16632
16633         * docs/gst/gstreamer.types:
16634         * docs/gst/tmpl/gstbasesrc.sgml:
16635         * docs/gst/tmpl/gstpad.sgml:
16636         Docs fixes.
16637
16638 2005-06-28  Wim Taymans  <wim@fluendo.com>
16639
16640         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16641         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16642         (gst_proxy_pad_do_fixatecaps):
16643         Correctly proxy the check_pull_range function.
16644
16645 2005-06-28  Andy Wingo  <wingo@pobox.com>
16646
16647         * tests/network-clock.scm: Removed need for slib.
16648         
16649 2005-06-28  Wim Taymans  <wim@fluendo.com>
16650
16651         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16652         (gst_basesink_preroll_queue_flush):
16653         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16654         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16655         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16656         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16657         (gst_proxy_pad_set_property):
16658         * gst/gstpad.c:
16659         * gst/gstpad.h:
16660         * gst/gstqueue.c: (gst_queue_init):
16661         The deprecated pad loop function is removed now.
16662
16663 2005-06-28  Andy Wingo  <wingo@pobox.com>
16664
16665         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16666         New parameters, simulate network packet loss.
16667
16668         * tests/network-clock-utils.scm: Initialize the RNG.
16669
16670 2005-06-28  Wim Taymans  <wim@fluendo.com>
16671
16672         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16673         (gst_basesink_event), (gst_basesink_deactivate):
16674         Flushing the preroll queue always needs to unlock the waiters.
16675
16676 2005-06-28  Edward Hervey  <edward@fluendo.com>
16677
16678         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16679         Wheen a seek was successful on a pipeline, set the stream_time to the
16680         seek offset in order to have a synchronized stream_time.
16681
16682 2005-06-28  Wim Taymans  <wim@fluendo.com>
16683
16684         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16685         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16686         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16687         (gst_proxy_pad_do_fixatecaps):
16688         Call wrapper function instead of just calling the function
16689         pointers. This takes care of any locking and whatmore.
16690
16691 2005-06-28  Wim Taymans  <wim@fluendo.com>
16692
16693         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16694         (gst_pad_pull_range):
16695         * gst/gstpad.h:
16696         CONNECTED -> LINKED.
16697
16698 2005-06-28  Andy Wingo  <wingo@pobox.com>
16699
16700         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16701         source-munging commit!!!
16702
16703         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16704         (gst_object_sink): Take gpointer arguments, not GstObject --
16705         avoids casts. Like GLib.
16706
16707         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16708         activate.
16709
16710 2005-06-27  Andy Wingo  <wingo@pobox.com>
16711
16712         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16713         remaining buffer.
16714
16715         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16716         returns a sorted copy of the trace list.
16717         (gst_alloc_trace_print_live): New API, only prints traces with
16718         live objects. Sort the list.
16719         (gst_alloc_trace_print_all): Sort the list.
16720         (gst_alloc_trace_print): Align columns.
16721
16722         * gst/elements/gstttypefindelement.c:
16723         * gst/elements/gsttee.c:
16724         * gst/base/gstbasesrc.c:
16725         * gst/base/gstbasesink.c:
16726         * gst/base/gstbasetransform.c:
16727         * gst/gstqueue.c: Adapt for pad activation changes.
16728
16729         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16730         sched.
16731         (gst_pipeline_dispose): Drop ref on sched.
16732
16733         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16734         (gst_pad_activate_default): Push mode by default.
16735         (pre_activate_switch, post_activate_switch): New stubs, things to
16736         do before and after switching activation modes on pads.
16737         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16738         the pad's activate function to choose which mode to activate.
16739         Shortcut on deactivation and call the right function directly.
16740         (gst_pad_activate_pull): New API, (de)activates a pad in pull
16741         mode.
16742         (gst_pad_activate_push): New API, same for push mode.
16743         (gst_pad_set_activate_function) 
16744         (gst_pad_set_activatepull_function) 
16745         (gst_pad_set_activatepush_function): Setters for new API.
16746
16747         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16748         Trace all miniobjects.
16749         (gst_mini_object_make_writable): Unref the arg if we copy, like
16750         gst_caps_make_writable.
16751
16752         * gst/gstmessage.c (_gst_message_initialize): No trace init.
16753
16754         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
16755         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16756         Adapt for new pad API.
16757
16758         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16759
16760         * gst/gstelement.h:
16761         * gst/gstelement.c (gst_element_iterate_src_pads) 
16762         (gst_element_iterate_sink_pads): New API functions.
16763         
16764         * gst/gstelement.c (iterator_fold_with_resync): New utility,
16765         should fold into gstiterator.c in some form.
16766         (gst_element_pads_activate): Simplified via use of fold and
16767         delegation of decisions to gstpad->activate.
16768
16769         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16770         help in debugging.
16771
16772         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16773         class once in init, like gstmessage. Didn't run into this issue
16774         but it seems correct. Don't initialize a trace, gstminiobject does
16775         that.
16776
16777         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16778         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16779         to the bus.
16780         (assert_live_count): New util function, uses alloc traces to check
16781         cleanup.
16782
16783         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16784         To be modified when unlink drops the internal pad.
16785
16786 2005-06-27  Wim Taymans  <wim@fluendo.com>
16787
16788         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16789         (gst_bin_change_state):
16790         Cleanup the get_state() function a little, make sure it
16791         iterates the same set of elements.
16792         Added stub iterate_state_order().
16793
16794 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16795
16796         * docs/gst/gstreamer-docs.sgml:
16797         * docs/gst/gstreamer-sections.txt:
16798         * docs/gst/gstreamer.types:
16799         * docs/gst/tmpl/gstbasesink.sgml:
16800         * docs/gst/tmpl/gstbasesrc.sgml:
16801         * docs/gst/tmpl/gstbasetransform.sgml:
16802         * docs/gst/tmpl/gstelement.sgml:
16803         * docs/gst/tmpl/gstiterator.sgml:
16804         * gst/base/gstbasesrc.c:
16805         * gst/base/gstbasesrc.h:
16806         * gst/base/gstbasetransform.h:
16807         * gst/gstelement.c:
16808         * gst/gstiterator.h:
16809           adding basetransform and iterator docs
16810
16811 2005-06-27  Andy Wingo  <wingo@pobox.com>
16812
16813         * docs/design/part-activation.txt: Notes on how activation should
16814         work -- not quite implemented yet.
16815
16816 2005-06-25  Wim Taymans  <wim@fluendo.com>
16817
16818         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16819         At least get the chain function correct, needs more
16820         fixing.
16821
16822 2005-06-25  Wim Taymans  <wim@fluendo.com>
16823
16824         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16825         (gst_basesink_handle_object), (gst_basesink_event),
16826         (gst_basesink_do_sync), (gst_basesink_handle_event),
16827         (gst_basesink_change_state):
16828         * gst/gsttask.h:
16829         Right, two problems here: ghostpads don't take locks and
16830         glib _rec_mutex_lock_full() with depth==0 still locks.
16831         Catch illegal locking and g_warn them.
16832
16833 2005-06-25  Wim Taymans  <wim@fluendo.com>
16834
16835         * check/states/sinks.c: (START_TEST), (gst_object_suite):
16836         Have to check for completion now...
16837
16838 2005-06-25  Wim Taymans  <wim@fluendo.com>
16839
16840         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16841         (gst_basesink_handle_object), (gst_basesink_event),
16842         (gst_basesink_do_sync), (gst_basesink_handle_event),
16843         (gst_basesink_change_state):
16844         * gst/gstpad.h:
16845         Unlock STREAM_LOCK whatever the recursion was.
16846
16847 2005-06-25  Wim Taymans  <wim@fluendo.com>
16848
16849         * gst/base/gstbasesink.c: (gst_basesink_set_property),
16850         (gst_basesink_preroll_queue_empty),
16851         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16852         (gst_basesink_event), (gst_basesink_do_sync),
16853         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16854         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16855         (gst_basesink_change_state):
16856         Reworked the base sink, handle event and buffer serialisation
16857         correctly and removed possible deadlock.
16858         Handle EOS correctly.
16859
16860 2005-06-25  Wim Taymans  <wim@fluendo.com>
16861
16862         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16863         (gst_pipeline_change_state):
16864         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16865         Allow elements to post EOS in the state change function.
16866         Fix up -launch, make it exit the poll loop when the
16867         pipeline actually changed state.
16868         Fix up warning parsing in -launch.
16869
16870 2005-06-25  Wim Taymans  <wim@fluendo.com>
16871
16872         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16873         (gst_tee_sink_activate):
16874         Core takes STREAM_LOCK for us now.
16875
16876 2005-06-25  Wim Taymans  <wim@fluendo.com>
16877
16878         * gst/gstelement.c: (gst_element_get_state_func),
16879         (gst_element_set_state):
16880         * gst/gstelement.h:
16881         * gst/gstmessage.c: (gst_message_parse_error),
16882         (gst_message_parse_warning):
16883         Keep track of current target state while performing a state
16884         change so that subclasses can do something interesting.
16885         Fix parsing of warning/error messages when GError is NULL.
16886
16887 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16888
16889         * docs/gst/Makefile.am:
16890         * docs/gst/gstreamer-docs.sgml:
16891         * docs/gst/gstreamer-sections.txt:
16892         * docs/gst/gstreamer.types:
16893         * docs/gst/tmpl/gstbasesink.sgml:
16894         * docs/gst/tmpl/gstbasesrc.sgml:
16895         * docs/gst/tmpl/gstbin.sgml:
16896         * docs/gst/tmpl/gstcompat.sgml:
16897         * docs/gst/tmpl/gstfakesink.sgml:
16898         * docs/gst/tmpl/gstfakesrc.sgml:
16899         * docs/gst/tmpl/gstfilesink.sgml:
16900         * docs/gst/tmpl/gstfilesrc.sgml:
16901         * docs/gst/tmpl/gstindex.sgml:
16902         * docs/manual/appendix-quotes.xml:
16903         * gst/base/gstbasesrc.h:
16904         * gst/elements/gstfakesrc.h:
16905         * gst/gstmessage.h:
16906           start pulling in base classes and elements in our docs
16907
16908 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
16909
16910         * docs/gst/Makefile.am:
16911         * docs/libs/Makefile.am:
16912           fixed make distcheck with gtk-doc 1.3
16913
16914 2005-06-23  Wim Taymans  <wim@fluendo.com>
16915
16916         * gst/gstelement.c: (gst_element_get_state_func),
16917         (gst_element_set_state), (gst_element_change_state):
16918         When the state did not change, also report NO_PREROLL
16919         when it matters.
16920
16921 2005-06-23  Wim Taymans  <wim@fluendo.com>
16922
16923         * gst/gstpad.c: (gst_pad_event_default):
16924         * gst/gstqueue.c: (gst_queue_loop):
16925         No unsafe task pausing please.
16926
16927 2005-06-23  Wim Taymans  <wim@fluendo.com>
16928
16929         * gst/schedulers/threadscheduler.c:
16930         (gst_thread_scheduler_task_start),
16931         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16932         Ref the task before pushing it on the threadpool. This
16933         makes sure that we have a ref when the threadfunction is
16934         actually called.
16935
16936 2005-06-23  Andy Wingo  <wingo@pobox.com>
16937
16938         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16939         offset is greater than the file's size.
16940
16941         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
16942         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16943         * gst/gstobject.c (gst_object_class_init): Make the class lock
16944         recursive. Wim won't let me drop deep_notify. Decodebin works
16945         again, whoopdy doo.
16946
16947         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16948         internal pad, and hacks accordingly. Doesn't do it on the target
16949         pad because we change its caps. Probably catches all cases of
16950         interest tho.
16951         (gst_ghost_pad_set_property): Connect to notify::caps as
16952         appropritate.
16953
16954         * tests/network-clock.scm (plot-simulation): Pipe data to the
16955         elite python skript.
16956
16957         * tests/network-clock-utils.scm (define-parameter): New macro,
16958         defines a parameter that can be set via the command line.
16959         (set-parameter!, parse-parameter-arguments): Command line args
16960         parser.
16961
16962         * tests/plot-data: Simple matplotlib-based plotter, takes input on
16963         stdin.
16964
16965 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
16966
16967         * gst/elements/gsttypefindelement.c:
16968         (gst_type_find_element_handle_event):
16969           Don't restart typefinding on a discont.
16970         * gst/gstelement.c: (gst_element_set_state):
16971           Debug spelling fix.
16972         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16973           Allow changing mode of an active pad.
16974           Debug output fixes.
16975         * gst/registries/gstlibxmlregistry.c: (load_feature):
16976           Don't cast a static pad template to a normal pad template.
16977
16978 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16979
16980         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16981         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16982           remove gst_strtoll completely, since it didn't actually do
16983           anything more than what g_ascii_strtoull already does.
16984           check for range errors when deserializing
16985           do a cast for the unsigned cases; but further fixing needs
16986           a decision on what the interpretation of "(int)" and
16987           deserialization should be for values that fall outside the
16988           type's boundaries (ie, refuse, or interpret as casting)
16989
16990 2005-06-23  Wim Taymans  <wim@fluendo.com>
16991
16992         * check/Makefile.am:
16993         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16994         * docs/design/part-live-source.txt:
16995         * docs/design/part-states.txt:
16996         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16997         (gst_basesrc_set_live), (gst_basesrc_is_live),
16998         (gst_basesrc_get_range), (gst_basesrc_activate),
16999         (gst_basesrc_change_state):
17000         * gst/base/gstbasesrc.h:
17001         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17002         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17003         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17004         * gst/gstelement.c: (gst_element_get_state_func),
17005         (gst_element_set_state):
17006         * gst/gstelement.h:
17007         * gst/gsttypes.h:
17008         * tools/gst-launch.c: (event_loop), (main):
17009         Added support for live sources and other elements that
17010         cannot do preroll.
17011         Updated design docs, added live-source design doc.
17012         Implemented live source functionality in basesrc
17013         Fix error condition in _bin_get_state()
17014         Implement live source handling in -launch.
17015         Added check for live sources.
17016         Fixed case in GstBin where elements were changed state
17017         multiple times.
17018
17019
17020 2005-06-23  Andy Wingo  <wingo@pobox.com>
17021
17022         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17023         borken refcounting.
17024
17025         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17026         gst_caps_replace takes care of this for us.
17027
17028         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17029         gst_pad_set_caps on the target, not just its setcaps() function.
17030
17031         * tests/network-clock.scm: 
17032         * tests/network-clock-utils.scm: A network clock simulator.
17033         Something of an algorithmic testbed before doing something in C.
17034
17035 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17036
17037         * check/Makefile.am:
17038         * check/gst/capslist.h:
17039           copy over from 0.8, and add two with bitmasks specified with
17040           (int) 0xFF...
17041         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17042           add test to parse everything from capslist.h
17043         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17044         (main):
17045           add test for structure deserialization
17046         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17047           add tests for deserialization of strings to int types
17048         * gst/gststructure.c: (gst_structure_nth_field_name):
17049         * gst/gststructure.h:
17050           add a way to get the name of a field referenced by index
17051         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17052           instead of checking if the resulting long long lies between
17053           min and max, we check if the long long would fit into
17054           a number of bytes for the final type.
17055           This fixes cases where a string represents 2^32 - 1, which
17056           when cast to int would be the (valid) -1, but is bigger than
17057           G_MAXINT
17058
17059 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17060
17061         * gst/parse/grammar.y:
17062           add a log line for type deserialization
17063
17064 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17065
17066         * check/gst/gstvalue.c: (START_TEST):
17067         * gst/gstvalue.c: (gst_value_deserialize):
17068           return long long, not int, so gint64 deserialization actually
17069           works.  Is there any flag that makes the compiler check this ?
17070           Fixes #308559
17071
17072 2005-06-22  Wim Taymans  <wim@fluendo.com>
17073
17074         * gst/gstbuffer.h:
17075         Added convenience macros for setting buffers in GValue.
17076
17077 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17078
17079         * check/gst/.cvsignore:
17080         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17081           add a test deserializing int64, and comment part out because
17082           it fails, yay !
17083
17084 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17085
17086         * check/Makefile.am:
17087         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17088         * testsuite/Makefile.am:
17089         * testsuite/caps/Makefile.am:
17090         * testsuite/caps/value_serialize.c:
17091         * testsuite/test_gst_init.c:
17092           move a value_serialize test over
17093
17094 2005-06-20  Wim Taymans  <wim@fluendo.com>
17095
17096         * gst/gstpad.c:
17097         Small doc updates.
17098         
17099         * gst/gstvalue.c: (gst_value_compare_buffer),
17100         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17101         (gst_value_compare_flags), (gst_value_serialize_flags),
17102         (gst_value_deserialize_flags), (_gst_value_initialize):
17103         Fix serialisation of buffers, they are not boxed types anymore
17104
17105 2005-06-20  Wim Taymans  <wim@fluendo.com>
17106
17107         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17108         Testcase to show error in buffer-on-caps serialisation.
17109
17110 2005-06-20  Andy Wingo  <wingo@pobox.com>
17111
17112         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17113         will be adding to later.
17114
17115         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17116         if its socks fill with rocks.
17117         (gst_system_clock_obtain): Set the name on object construction.
17118         Avoid double-checked locking.
17119
17120 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17121
17122         * gst/gsturi.c: (gst_element_make_from_uri):
17123           Fix potential endless loop.
17124
17125 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17126
17127         * check/Makefile.am:
17128           add gsttag
17129         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17130         (main):
17131           move over from testsuite dir and clean up
17132         * configure.ac:
17133         * gst/gsttag.c:
17134         * testsuite/Makefile.am:
17135         * testsuite/tags/.cvsignore:
17136         * testsuite/tags/Makefile.am:
17137         * testsuite/tags/merge.c:
17138           remove testsuite/tags
17139
17140 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17141
17142         * docs/gst/gstreamer-sections.txt:
17143         * docs/gst/tmpl/gstenumtypes.sgml:
17144         * win32/gstenumtypes.c:
17145           clean up documentation build a little
17146
17147 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17148
17149         * check/gstcheck.h:
17150           add macros for checking refcounts on objects and caps
17151         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17152           add some more unit tests
17153         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17154         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17155           fix leaked refcounts (I hope :)) so unittest works
17156         * gst/gstpad.h:
17157           whitespace removal
17158
17159 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17160
17161         * configure.ac: back to HEAD
17162
17163 === release 0.9.1 ===
17164
17165 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17166
17167         * NEWS:
17168         * RELEASE:
17169           updated
17170
17171 2005-06-17  Andy Wingo  <wingo@pobox.com>
17172
17173         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17174         assert; it's always possible that the pad gets deactivated in
17175         between the checks in gstpad.c and the implementation. Rely on
17176         finish_preroll() to return a FLUSHING or similar instead of on the
17177         assert.
17178         
17179         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17180         clock and post an EOS message if we come out of finish_preroll in
17181         the playing state.
17182
17183 2005-06-16  David Schleef  <ds@schleef.org>
17184
17185         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17186         (gst_capsfilter_set_property): Allow NULL as possible value
17187         for filter_caps property, indicating GST_CAPS_ANY.
17188
17189 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17190
17191         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17192           fix debug output
17193         * gst/schedulers/Makefile.am:
17194           use libgst prefix
17195         * gstreamer.spec.in:
17196           fix spec for it
17197
17198 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17199
17200         * gstreamer.spec.in:
17201           clean up
17202
17203 2005-06-08  Andy Wingo  <wingo@pobox.com>
17204
17205         * gst/gstutils.c: RPAD fixes all around.
17206         (gst_element_link_pads): Refcounting fixes.
17207
17208         * tools/gst-inspect.c:
17209         * tools/gst-xmlinspect.c:
17210         * parse/grammar.y:
17211         * gst/base/gsttypefindhelper.c:
17212         * gst/base/gstbasesink.c:
17213         * gst/gstqueue.c: RPAD fixes.
17214
17215         * gst/gstghostpad.h:
17216         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17217         pads. The tricky thing is they provide both source and sink
17218         interfaces, since they proxy the internal pad for the external
17219         pad, and vice versa. Implement with lower-level ProxyPad objects,
17220         with the interior proxy pad as a child of the exterior ghost pad.
17221         Should write a doc on this.
17222         
17223         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17224         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17225         gst_object API.
17226         
17227         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17228         pads are real pads. No ghost pads in this file. Not documenting
17229         the myriad s/RPAD/PAD/ and REALIZE fixes.
17230         (gst_pad_class_init): Add properties for "direction" and
17231         "template". Both are construct-only, so they can't change during
17232         the life of the pad. Fixes properly deriving from GstPad.
17233         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17234         derived objects, just set properties when creating the objects via
17235         g_object_new.
17236         (gst_pad_get_parent): Implement as a function, return NULL if the
17237         parent is not an element.
17238         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17239         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17240         
17241         * gst/gstobject.c (gst_object_class_init): Make name a construct
17242         property. Don't set it in the object init.
17243
17244         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17245         with UNKNOWN direction.
17246         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17247         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17248         (gst_element_remove_pad): Remove ghost-pad special cases.
17249         (gst_element_pads_activate): Remove rpad cruft.
17250
17251         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17252         catch the pad's-parent-not-an-element case.
17253
17254         * gst/gst.h: Include gstghostpad.h.
17255
17256         * gst/gst.c (init_post): No more real, ghost pads.
17257
17258         * gst/Makefile.am: Add gstghostpad.[ch].
17259
17260         * check/Makefile.am:
17261         * check/gst/gstbin.c:
17262         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17263         into a bin creates ghost pads, and that the refcounts are right.
17264         Partly moved from gstbin.c.
17265
17266 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17267
17268         * check/gst-libs/.cvsignore:
17269         * check/gst/.cvsignore:
17270         * check/pipelines/.cvsignore:
17271           ignore more
17272         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17273         (START_TEST), (cleanup_suite), (main):
17274           add some tests related to cleanup after running pipelines
17275
17276 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17277
17278         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17279           add a testsuite for GstBuffer
17280
17281 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17282
17283         * gst/gstminiobject.h:
17284           add defines for accessing the refcount
17285
17286 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17287
17288         * Makefile.am: added support for html unit test coverage reports
17289
17290 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17291
17292         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17293           Free existing caps if the capsfilter changes. Add a FIXME about
17294           setting those caps on the pads.
17295
17296         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17297           Before adding a ghost pad to a parent bin, check that there isn't
17298           already one for the element on the bin. Prevents infinite recursion
17299           when using decodebin in parse pipelines. Andy says he'll rewrite the
17300           way this works anyway, so ignore the hack.
17301
17302 2005-06-02  Andy Wingo  <wingo@pobox.com>
17303
17304         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17305         file size, pass it on to the type find helper.
17306
17307         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17308         segment_start and segment_end properly according to the seek
17309         method. Segment_end is still a bit flaky because offset can be
17310         negative for CUR and END cases, but it takes -1 as an "unset"
17311         value.
17312
17313 2005-06-02  Wim Taymans  <wim@fluendo.com>
17314
17315         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17316         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17317         (gst_basesink_activate):
17318         * gst/base/gstbasesink.h:
17319         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17320         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17321         (gst_pad_query), (gst_pad_start_task):
17322         * gst/gstpad.h:
17323         * gst/gstqueue.c: (gst_queue_bufferalloc),
17324         (gst_queue_handle_sink_event), (gst_queue_chain):
17325         Bufferalloc: return GstFlowReturn to more accuratly report
17326         why allocation failed.
17327
17328 2005-06-02  Wim Taymans  <wim@fluendo.com>
17329
17330         * gst/gstpipeline.c: (gst_pipeline_send_event):
17331         Take snapshot of state without blocking.
17332
17333 2005-06-02  Wim Taymans  <wim@fluendo.com>
17334
17335         * docs/design/part-TODO.txt:
17336         * docs/design/part-caps.txt:
17337         * docs/design/part-clocks.txt:
17338         * docs/design/part-negotiation.txt:
17339         * docs/design/part-preroll.txt:
17340         Small doc updates 
17341
17342 2005-05-30  Wim Taymans  <wim@fluendo.com>
17343
17344         * gst/elements/gstidentity.c: (gst_identity_event),
17345         (gst_identity_transform), (gst_identity_get_property):
17346         Protect last_message property as it is accessed from
17347         multiple threads.
17348
17349 2005-05-30  Wim Taymans  <wim@fluendo.com>
17350
17351         * gst/gstelement.c: (gst_element_init),
17352         (gst_element_pads_activate), (gst_element_change_state):
17353         Slicker pad activation code.
17354
17355 2005-05-30  Wim Taymans  <wim@fluendo.com>
17356
17357         * gst/Makefile.am:
17358         * gst/gstelement.h:
17359         * gst/gstelementfactory.h:
17360         * gst/gsttypes.h:
17361         Move elementfactory methods to separate .h file.
17362
17363 2005-05-30  Wim Taymans  <wim@fluendo.com>
17364
17365         * docs/design/part-overview.txt:
17366         * gst/gstsystemclock.h:
17367         Small typo fixes, doc updates.
17368
17369 2005-05-30  Wim Taymans  <wim@fluendo.com>
17370
17371         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17372         (init_popt_callback):
17373         Remove cpu-opt flag.
17374
17375 2005-05-30  Wim Taymans  <wim@fluendo.com>
17376
17377         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17378         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17379         * gst/gstbuffer.h:
17380         Avoid typechecking in places where not needed.
17381         Added accessor for malloc_data.
17382
17383 2005-05-30  Wim Taymans  <wim@fluendo.com>
17384
17385         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17386         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17387         (gst_pad_configure_sink), (gst_pad_configure_src),
17388         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17389         (gst_pad_start_task):
17390         Propagate errors from _set_caps() in configure_src/sink
17391         functions instead of returning TRUE.
17392         FLUSH events can travel up and downstream
17393
17394
17395 2005-05-30  Wim Taymans  <wim@fluendo.com>
17396
17397         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17398         (gst_basesink_activate):
17399         Handle EOS in preroll.
17400
17401 2005-05-30  Wim Taymans  <wim@fluendo.com>
17402
17403         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17404         (gst_queue_loop), (gst_queue_handle_src_event):
17405         Remove old pieces of code
17406         Flushing the queue in an upstream event is a very bad idea.
17407
17408 2005-05-26  Andy Wingo  <wingo@pobox.com>
17409
17410         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17411         gst_value_set_mini_object so as to add a ref on the object (which
17412         will be removed when the value is unset).
17413
17414         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17415         arg type in ::handoff.
17416
17417         * gst/gstelement.c (gst_element_change_state): Also deactivate
17418         pads in READY->NULL, just in case the element didn't make it to
17419         PAUSED. Wingo tested, Wim approved.
17420
17421 2005-05-26  Wim Taymans  <wim@fluendo.com>
17422
17423         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17424         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17425         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17426         A flushing pad cannot be used to alloc_buffer from.
17427
17428 2005-05-26  Wim Taymans  <wim@fluendo.com>
17429
17430         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17431         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17432         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17433         (gst_bus_create_watch), (gst_bus_add_watch_full):
17434         * gst/gstbus.h:
17435         Implement a real GSource and use g_main_context_wakeup() to
17436         signal new messages instead of the socketpair.
17437
17438 2005-05-25  Wim Taymans  <wim@fluendo.com>
17439
17440         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17441         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17442         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17443         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17444         (gst_pad_send_event), (gst_pad_start_task):
17445         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17446         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17447         (gst_queue_sink_activate), (gst_queue_src_activate),
17448         (gst_queue_change_state):
17449         * gst/gstqueue.h:
17450         Fix state changes for non sinks. We now change sinks, then elements
17451         with unconnected srcpads, then the rest.
17452         More efficient queue unlocking in flush and state changes.
17453         Set the pad activate mode even if it does not have an activate
17454         function.
17455
17456 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17457
17458         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17459           Don't go in pull mode for non-seekable sources.
17460         * gst/elements/gsttypefindelement.h:
17461         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17462         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17463         (free_entry), (stop_typefinding),
17464         (gst_type_find_element_handle_event), (find_peek),
17465         (gst_type_find_element_chain), (do_pull_typefind),
17466         (gst_type_find_element_change_state):
17467           Allow typefinding (w/o seeking) in push-mode, simplified version
17468           of what was in 0.8.
17469         * gst/gstutils.c: (gst_buffer_join):
17470         * gst/gstutils.h:
17471           gst_buffer_join() from 0.8.
17472
17473 2005-05-25  Wim Taymans  <wim@fluendo.com>
17474
17475         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17476         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17477         (gst_pad_send_event), (gst_pad_start_task):
17478         Disable attempt at mode switching until it is figured out.
17479
17480 2005-05-25  Wim Taymans  <wim@fluendo.com>
17481
17482         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17483         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17484         (gst_basesink_finish_preroll), (gst_basesink_chain),
17485         (gst_basesink_loop), (gst_basesink_activate),
17486         (gst_basesink_change_state):
17487         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17488         (gst_basesrc_get_range), (gst_basesrc_loop),
17489         (gst_basesrc_activate):
17490         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17491         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17492         (gst_real_pad_init), (gst_real_pad_set_property),
17493         (gst_real_pad_get_property), (gst_pad_set_active),
17494         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17495         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17496         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17497         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17498         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17499         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17500         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17501         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17502         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17503         (gst_pad_stop_task):
17504         * gst/gstpad.h:
17505         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17506         (gst_queue_loop), (gst_queue_src_activate):
17507         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17508         (gst_task_get_state):
17509         * gst/gsttask.h:
17510         * gst/schedulers/threadscheduler.c:
17511         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17512         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17513         in task function.
17514         Remove ACTIVE pad flag, use FLUSHING everywhere
17515         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17516         functions.
17517         Add locks around IS_FLUSHING when reading.
17518         Take STREAM lock in chain(), get_range() functions so plugins
17519         don't need to take it anymore.
17520         
17521
17522
17523 2005-05-25  Wim Taymans  <wim@fluendo.com>
17524
17525         * tools/gst-launch.c: (event_loop):
17526         Unref message after using its contents instead of
17527         before.
17528
17529 2005-05-24  Wim Taymans  <wim@fluendo.com>
17530
17531         * docs/design/draft-ghostpads.txt:
17532         * docs/design/draft-push-pull.txt:
17533         * docs/design/draft-query.txt:
17534         * docs/design/part-overview.txt:
17535         Docs updates, added general overview doc.
17536
17537 2005-05-21  David Schleef  <ds@schleef.org>
17538
17539         * docs/gst/tmpl/old/GstBin.sgml:
17540         * docs/gst/tmpl/old/GstBuffer.sgml:
17541         * docs/gst/tmpl/old/GstCaps.sgml:
17542         * docs/gst/tmpl/old/GstClock.sgml:
17543         * docs/gst/tmpl/old/GstCompat.sgml:
17544         * docs/gst/tmpl/old/GstData.sgml:
17545         * docs/gst/tmpl/old/GstElement.sgml:
17546         * docs/gst/tmpl/old/GstEvent.sgml:
17547         * docs/gst/tmpl/old/GstIndex.sgml:
17548         * docs/gst/tmpl/old/GstStructure.sgml:
17549         * docs/gst/tmpl/old/GstTag.sgml:
17550         * docs/gst/tmpl/old/cothreads.sgml:
17551         * docs/gst/tmpl/old/cothreads_compat.sgml:
17552         * docs/gst/tmpl/old/gettext.sgml:
17553         * docs/gst/tmpl/old/gobject2gtk.sgml:
17554         * docs/gst/tmpl/old/grammar.tab.sgml:
17555         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17556         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17557         * docs/gst/tmpl/old/gst_private.sgml:
17558         * docs/gst/tmpl/old/gstaggregator.sgml:
17559         * docs/gst/tmpl/old/gstarch.sgml:
17560         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17561         * docs/gst/tmpl/old/gstbufferstore.sgml:
17562         * docs/gst/tmpl/old/gstdata_private.sgml:
17563         * docs/gst/tmpl/old/gstdisksink.sgml:
17564         * docs/gst/tmpl/old/gstdisksrc.sgml:
17565         * docs/gst/tmpl/old/gstelementfactory.sgml:
17566         * docs/gst/tmpl/old/gstextratypes.sgml:
17567         * docs/gst/tmpl/old/gstfakesink.sgml:
17568         * docs/gst/tmpl/old/gstfakesrc.sgml:
17569         * docs/gst/tmpl/old/gstfdsink.sgml:
17570         * docs/gst/tmpl/old/gstfdsrc.sgml:
17571         * docs/gst/tmpl/old/gstfilesink.sgml:
17572         * docs/gst/tmpl/old/gstfilesrc.sgml:
17573         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17574         * docs/gst/tmpl/old/gstidentity.sgml:
17575         * docs/gst/tmpl/old/gstindexfactory.sgml:
17576         * docs/gst/tmpl/old/gstmarshal.sgml:
17577         * docs/gst/tmpl/old/gstmd5sink.sgml:
17578         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17579         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17580         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17581         * docs/gst/tmpl/old/gstpipefilter.sgml:
17582         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17583         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17584         * docs/gst/tmpl/old/gstshaper.sgml:
17585         * docs/gst/tmpl/old/gstspider.sgml:
17586         * docs/gst/tmpl/old/gstspideridentity.sgml:
17587         * docs/gst/tmpl/old/gststatistics.sgml:
17588         * docs/gst/tmpl/old/gsttee.sgml:
17589         * docs/gst/tmpl/old/gsttimecache.sgml:
17590         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17591         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17592         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17593         * docs/gst/tmpl/old/types.sgml:
17594           I didn't intend to add these or check them in.
17595
17596 2005-05-19  David Schleef  <ds@schleef.org>
17597
17598         * configure.ac: Use -no-common everywhere.  In a sane world, it
17599           would be the default in libtool, because without it, you can't
17600           build DLLs on Windows.
17601         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17602         * docs/gst/gstreamer-sections.txt:
17603         * docs/gst/tmpl/gstcpu.sgml:
17604         * docs/gst/tmpl/gstdata.sgml:
17605         * docs/gst/tmpl/gstthread.sgml:
17606
17607 2005-05-19  David Schleef  <ds@schleef.org>
17608
17609         * gst/gstminiobject.c: (gst_value_set_mini_object),
17610         (gst_value_take_mini_object), (gst_value_get_mini_object):
17611         * gst/gstminiobject.h: Add GValue set/get functions.
17612
17613 2005-05-19  Wim Taymans  <wim@fluendo.com>
17614
17615         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17616         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17617         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17618         * gst/gstbuffer.h:
17619         * gst/gstbus.c: (gst_bus_post):
17620         * gst/gstelement.c: (gst_element_get_random_pad):
17621         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17622         Make subbufer unref the parent in finalize.
17623         some more debugging info.
17624
17625
17626 2005-05-19  Wim Taymans  <wim@fluendo.com>
17627
17628         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17629         (gst_basesink_init), (gst_basesink_finalize),
17630         (gst_basesink_activate), (gst_basesink_change_state):
17631         Don't free preroll queue too early.
17632
17633 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17634
17635         * gst/Makefile.am:
17636         * gst/ROADMAP:
17637           Hi, I'm outdated. Please shoot me.
17638
17639 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17640
17641         * gst/gstpipeline.c: (gst_pipeline_send_event):
17642           Do not access variables after they have been deleted.
17643
17644 2005-05-19  Wim Taymans  <wim@fluendo.com>
17645
17646         * tools/gst-inspect.c: (print_plugin_features):
17647         A plugin feature does unfortunatly not use the
17648         object name yet...
17649
17650 2005-05-18  Wim Taymans  <wim@fluendo.com>
17651
17652         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17653         Port _span() functions to new subbuffers.
17654
17655 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17656
17657         * gst/gstbin.c: (gst_bin_add_func):
17658           Fix clock settery in bins when adding kids after the clock has
17659           been selected.
17660
17661 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17662
17663         * gst/elements/gstidentity.c: (gst_identity_class_init):
17664           Workaround until signals support GstMiniObject.
17665
17666 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17667
17668         * gst/gstbuffer.c:
17669         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17670
17671 2005-05-18  Wim Taymans  <wim@fluendo.com>
17672
17673         * gst/base/Makefile.am:
17674         * gst/base/gstadapter.c: (gst_adapter_base_init),
17675         (gst_adapter_class_init), (gst_adapter_init),
17676         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17677         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17678         (gst_adapter_flush), (gst_adapter_available),
17679         (gst_adapter_available_fast):
17680         * gst/base/gstadapter.h:
17681         Ported and added adapter to the base classes.
17682
17683 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17684
17685         * gst/gst.c:
17686         * gst/gstmessage.c:
17687           Make sure the class is reffed/unreffed once before threads can be
17688           used.  Fixes #304551.
17689
17690 2005-05-17  Wim Taymans  <wim@fluendo.com>
17691
17692         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17693         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17694         * gst/gstminiobject.c: (gst_mini_object_get_type),
17695         (gst_mini_object_free):
17696         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17697         (gst_pad_push), (gst_pad_push_event):
17698         * gst/gstqueue.c: (gst_queue_change_state):
17699         Don't queue buffers in basesink when we are flushing.
17700         Unref buffer when flushing in basesink.
17701         Flush queue when going to READY
17702         Unref buffer when _push() returns an error.
17703         Don't free MiniObject instance when refcount is incremented
17704         in _finalize() so that we can recover objects.
17705
17706 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17707
17708         * docs/manual/advanced-schedulers.xml:
17709         * docs/manual/appendix-checklist.xml:
17710         * docs/pwg/advanced-clock.xml:
17711         * docs/pwg/advanced-interfaces.xml:
17712         * docs/pwg/advanced-request.xml:
17713         * docs/pwg/advanced-types.xml:
17714         * docs/pwg/intro-preface.xml:
17715         * examples/plugins/example.c: (gst_example_get_type),
17716         (gst_example_class_init), (gst_example_chain),
17717         (gst_example_set_property), (gst_example_get_property),
17718         (gst_example_change_state), (plugin_init):
17719         * examples/plugins/example.h:
17720           small doc fixes
17721
17722 2005-05-17  Wim Taymans  <wim@fluendo.com>
17723
17724         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17725         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17726         * gst/gstqueue.c: (gst_queue_change_state):
17727         Clear queue when going to READY.
17728         Remove IN_SETCAPS flag too.
17729
17730 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17731
17732         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17733           Remove implicit cast from gboolean to GstElementStateReturn;
17734           make sure we still return failure in paused => ready case if
17735           the parent class fails to change state and our own stop 
17736           vfunc succeeds.
17737
17738 2005-05-17  Wim Taymans  <wim@fluendo.com>
17739
17740         * tools/gst-launch.c: (event_loop):
17741         Message was unreffed too soon.
17742
17743 2005-05-16  Andy Wingo  <wingo@pobox.com>
17744
17745         * gst/gstbin.c (sink_iterator_filter): Err... um...
17746
17747         * check/gst/gstbin.c (test_ghost_pads): New test for the
17748         ghosting-if-elements-not-in-same-bin behavior.
17749
17750 2005-05-16  David Schleef  <ds@schleef.org>
17751
17752         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17753         accessing refcount directly.
17754
17755 2005-05-15  David Schleef  <ds@schleef.org>
17756
17757         * check/Makefile.am: remove GstData checks
17758         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17759         * gst/Makefile.am: add miniobject, remove data
17760         * gst/gst.h: add miniobject, remove data
17761         * gst/gstdata.c: remove
17762         * gst/gstdata.h: remove
17763         * gst/gstdata_private.h: remove
17764         * gst/gsttypes.h: remove GstEvent and GstMessage
17765         * gst/gstelement.c: (gst_element_post_message): fix for API changes
17766         * gst/gstmarshal.list: change BOXED -> OBJECT
17767
17768         Implement GstMiniObject.
17769         * gst/gstminiobject.c:
17770         * gst/gstminiobject.h:
17771
17772         Modify to be subclasses of GstMiniObject.
17773         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17774         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17775         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17776         (gst_subbuffer_get_type), (gst_subbuffer_init),
17777         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17778         (gst_buffer_span):
17779         * gst/gstbuffer.h:
17780         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17781         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17782         (_gst_event_copy), (gst_event_new):
17783         * gst/gstevent.h:
17784         * gst/gstmessage.c: (_gst_message_initialize),
17785         (gst_message_get_type), (gst_message_class_init),
17786         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17787         (gst_message_new), (gst_message_new_error),
17788         (gst_message_new_warning), (gst_message_new_tag),
17789         (gst_message_new_state_changed), (gst_message_new_application):
17790         * gst/gstmessage.h:
17791         * gst/gstprobe.c: (gst_probe_perform),
17792         (gst_probe_dispatcher_dispatch):
17793         * gst/gstprobe.h:
17794         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17795         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17796         (_gst_query_copy), (gst_query_new):
17797
17798         Update elements for GstData -> GstMiniObject changes
17799         * gst/gstquery.h:
17800         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17801         (gst_queue_chain), (gst_queue_loop):
17802         * gst/elements/gstbufferstore.c:
17803         (gst_buffer_store_add_buffer_func),
17804         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17805         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17806         (gst_fakesink_render):
17807         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17808         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17809         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17810         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17811         (gst_filesrc_create_read):
17812         * gst/elements/gstidentity.c: (gst_identity_class_init):
17813         * gst/elements/gsttypefindelement.c:
17814         (gst_type_find_element_src_event), (free_entry_buffers),
17815         (gst_type_find_element_handle_event):
17816         * libs/gst/dataprotocol/dataprotocol.c:
17817         (gst_dp_header_from_buffer):
17818         * libs/gst/dataprotocol/dataprotocol.h:
17819         * libs/gst/dataprotocol/dp-private.h:
17820
17821 2005-05-15  David Schleef  <ds@schleef.org>
17822
17823         * gst/elements/gstelements.c: Don't include headers that were
17824         just removed.
17825
17826 2005-05-15  David Schleef  <ds@schleef.org>
17827
17828         * gst/elements/Makefile.am: Remove some elements that don't
17829         need to be in the core (or even exist at all).
17830         * gst/elements/gstaggregator.c:
17831         * gst/elements/gstaggregator.h:
17832         * gst/elements/gstmd5sink.c:
17833         * gst/elements/gstmd5sink.h:
17834         * gst/elements/gstmultifilesrc.c:
17835         * gst/elements/gstmultifilesrc.h:
17836         * gst/elements/gstpipefilter.c:
17837         * gst/elements/gstpipefilter.h:
17838         * gst/elements/gstshaper.c:
17839         * gst/elements/gstshaper.h:
17840         * gst/elements/gststatistics.c:
17841         * gst/elements/gststatistics.h:
17842         * po/POTFILES.in: Remove above files.
17843
17844 2005-05-14  Andy Wingo  <wingo@pobox.com>
17845
17846         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17847         so as to get the refs right.
17848         (sink_iterator_filter): New function, wraps bin_element_is_sink,
17849         unreffing objects that don't pass the filter.
17850
17851         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17852         gst_element_set_bus.
17853         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17854         normal cases, this will destroy the bus.
17855
17856         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17857         object.
17858
17859         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17860         has no sinks.
17861
17862 2005-05-13  Andy Wingo  <wingo@pobox.com>
17863
17864         * gst/gstutils.c (gst_element_link_pads): Instead of calling
17865         gst_pad_link, call pad_link_maybe_ghosting,
17866         (pad_link_maybe_ghosting): Links pads, making sure that the
17867         elements being linked are in the same bin.
17868         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17869         Helpers for pad_link_maybe_ghosting.
17870
17871 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17872
17873         * configure.ac:
17874           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17875
17876 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17877
17878         * docs/design/part-element-source.txt:
17879           Mention GstPushSrc
17880
17881 2005-05-12  Wim Taymans  <wim@fluendo.com>
17882
17883         * gst/base/gstbasesink.c: (gst_basesink_init),
17884         (gst_basesink_activate):
17885         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17886         (gst_basesrc_is_seekable):
17887         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17888         (bin_element_is_sink), (gst_bin_change_state):
17889         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17890         * gst/gstelement.h:
17891         Identify sinks by their flag to avoid overly complicated
17892         checks (fow now).
17893         Do state changes even for elements not reachable from the
17894         sinks.
17895         BaseSink is a sink now :)
17896         Some more debugging info in the basesrc.
17897
17898
17899 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17900
17901         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17902           Implement _query on a bin, similar to _send_event.
17903
17904 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
17905
17906         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17907           Discont event offset format should be GST_FORMAT_BYTES,
17908           not GST_FORMAT_TIME.
17909
17910 2005-05-12  Wim Taymans  <wim@fluendo.com>
17911
17912         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17913         Same fix as Ronald's but without the signal. 
17914
17915 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17916
17917         * gst/gstutils.c: (gst_element_query_position):
17918           No, an element is not a pad.
17919
17920 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17921
17922         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17923         (gst_bin_get_state):
17924           If a child is removed from a bin while we remove the child from
17925           the bin and while we're retrieving its state, signal this to the
17926           get_state function so we abort the wait (instead of waiting for
17927           a timeout) and can immediately re-iterate over all other elements.
17928
17929 2005-05-12  Wim Taymans  <wim@fluendo.com>
17930
17931         * gst/base/Makefile.am:
17932         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17933         (gst_basesrc_start):
17934         * gst/base/gstbasesrc.h:
17935         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17936         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17937         (gst_pushsrc_init), (gst_pushsrc_create):
17938         * gst/base/gstpushsrc.h:
17939         Added is_seekable to BaseSrc
17940         Added simple PushSrc.
17941
17942 2005-05-11  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17945         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17946         (gst_element_link_pads), (gst_element_query_position),
17947         (gst_element_query_convert), (intersect_caps_func),
17948         (gst_pad_query_position), (gst_pad_query_convert):
17949         Fix refcounting in utils function.
17950         No point in trying to activate a pad when it's added, it could
17951         be added from the state change function and then we deadlock, the
17952         element has to decide what to do.
17953
17954 2005-05-10  Andy Wingo  <wingo@pobox.com>
17955
17956         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17957         *all* the arguments.
17958
17959         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17960         stream lock if it's a FLUSH_DONE; normal flushes don't get the
17961         lock (according to the docs -- if this is wrong change the docs).
17962
17963         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17964         flush messages in the NULL state.
17965
17966         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17967         message immediately and return.
17968         (gst_bus_set_flushing): New function. If a bus is flushing, it
17969         flushes out any queued messages and immediately unrefs new
17970         messages. This is so when an element goes to NULL, all of the
17971         unhandled messages coming from it can be freed, and their
17972         references to the element dropped. In other words: message source
17973         ref considered harmful :P
17974
17975         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17976         we're finished with it.
17977
17978         * gst/gstmessage.c (gst_message_new_state_changed): 
17979
17980 2005-05-10  Wim Taymans  <wim@fluendo.com>
17981
17982         * gst/gstvalue.c: (gst_value_compare_flags),
17983         (gst_value_serialize_flags), (gst_value_deserialize_flags),
17984         (_gst_value_initialize):
17985         Added flags serialize/deserialize/compare code.
17986
17987 2005-05-09  Andy Wingo  <wingo@pobox.com>
17988
17989         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17990         Intersect the peer's caps with our caps.
17991
17992 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17993
17994         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17995         * gst/elements/gsttypefindelement.c: (find_peek):
17996           Handle negative offsets better. Fixes decodebin.
17997
17998 2005-05-09  Wim Taymans  <wim@fluendo.com>
17999
18000         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18001         (gst_base_transform_event):
18002         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18003         Implement accept_caps.
18004         Fix silly lock/unlock mismatch in base class.
18005
18006 2005-05-09  Wim Taymans  <wim@fluendo.com>
18007
18008         * docs/design/draft-push-pull.txt:
18009         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18010         * gst/elements/gstfilesink.c: (gst_filesink_init),
18011         (gst_filesink_query):
18012         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18013         (gst_type_find_handle_src_query), (find_element_get_length):
18014         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18015         * gst/gstelement.h:
18016         * gst/gstmessage.c:
18017         * gst/gstmessage.h:
18018         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18019         (gst_real_pad_get_caps_unlocked),
18020         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18021         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18022         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18023         (gst_real_pad_dispose), (gst_real_pad_finalize),
18024         (gst_pad_load_and_link), (gst_pad_save_thyself),
18025         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18026         (gst_pad_check_pull_range), (gst_pad_pull_range),
18027         (gst_pad_template_get_type), (gst_pad_template_class_init),
18028         (gst_pad_template_init), (gst_pad_template_dispose),
18029         (name_is_valid), (gst_static_pad_template_get),
18030         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18031         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18032         (gst_pad_get_element_private), (gst_pad_start_task),
18033         (gst_pad_pause_task), (gst_pad_stop_task),
18034         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18035         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18036         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18037         (gst_ghost_pad_new):
18038         * gst/gstpad.h:
18039         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18040         (gst_query_new_position), (gst_query_set_position),
18041         (gst_query_parse_position), (gst_query_new_convert),
18042         (gst_query_set_convert), (gst_query_parse_convert):
18043         * gst/gstquery.h:
18044         * gst/gstqueryutils.c:
18045         * gst/gstqueryutils.h:
18046         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18047         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18048         (gst_queue_handle_src_query):
18049         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18050         (gst_element_query_position), (gst_element_query_convert),
18051         (intersect_caps_func), (gst_pad_query_position),
18052         (gst_pad_query_convert):
18053         * gst/gstutils.h:
18054         * tools/gst-inspect.c: (print_pad_info):
18055         * tools/gst-xmlinspect.c: (print_element_info):
18056         Remove old query functions. Ported old code.
18057         Added position/convert helper functions to gstutils.
18058         Reordered gstpad.c code, grouping relevant things.
18059         Remove gst_message_new(), always need to speficy a specific
18060         message.
18061
18062
18063 2005-05-09  Andy Wingo  <wingo@pobox.com>
18064
18065         * gst/gstiterator.h: Add some includes.
18066
18067         * gst/gstqueryutils.h: Include more headers.
18068
18069         * gst/gstpad.h:
18070         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18071         some uses of gst_pad_query.
18072
18073         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18074         NULL out parameters.
18075         (gst_query_new_position): New proc, allocates a new position
18076         query.
18077
18078         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18079         gstqueryutils.c to the build.
18080
18081         * gst/gststructure.c (gst_structure_set_valist): Implement with
18082         the generic G_VALUE_COLLECT.
18083         
18084 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18085
18086         * gst/Makefile.am: (gst_headers):
18087         Added gstqueryutils.h to the list of headers to install, that was
18088         a 'nachty' move wingo :)
18089
18090 2005-05-06  Andy Wingo  <wingo@pobox.com>
18091
18092         * gst/gstquery.h
18093         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18094         GstData, init a memchunk.
18095         (standard_definitions): Add a few query types, deprecate a few.
18096         (gst_query_get_type): New proc.
18097         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18098         implementation.
18099         (gst_query_new_application, gst_query_get_structure): New public
18100         procs.
18101
18102         * docs/design/draft-query.txt: Removed LINKS from the query types,
18103         because all the rest can be dispatched to other pads -- seemed
18104         ugly to have a query that couldn't be dispatched. internal_links
18105         is fine as a pad method.
18106
18107         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18108         in gstpad.c, but maintain binary compatibility for the moment.
18109         Will fix before 0.9 is out.
18110
18111         * gst/gstqueryutils.c: 
18112         * gst/gstqueryutils.h: New files, implement 3 methods for each
18113         query type: parse_query, parse_response, and set. Probably need an
18114         allocator as well.
18115
18116         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18117
18118         * gst/elements/gstfilesink.c (gst_filesink_query2):
18119         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18120         query_types, and formats methods.
18121
18122         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18123         (gst_pad_set_query2_function): New functions.
18124         (gst_real_pad_init): Set query2_default as the default query2
18125         function. Basically just dispatches to internally linked pads.
18126
18127         Needs review!
18128         
18129         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18130         without using the atomic operations. Only one thread can possibly
18131         be accessing the data at this point. Changed so as to avoid
18132         gst_atomic operations.
18133
18134 2005-05-06  Wim Taymans  <wim@fluendo.com>
18135
18136         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18137         Also set caps if we use the fallback buffer alloc.
18138
18139 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18140
18141         * docs/gst/Makefile.am:
18142         * docs/gst/gstreamer-docs.sgml:
18143         * docs/gst/gstreamer-sections.txt:
18144         * docs/gst/tmpl/gstatomic.sgml:
18145         * docs/gst/tmpl/gstmemchunk.sgml:
18146         * testsuite/elements/struct_i386.h:
18147         * win32/GStreamer.vcproj:
18148         * win32/Makefile:
18149           Purge GstAtomic stuff from docs and win32 makefiles as well
18150
18151 2005-05-06  Wim Taymans  <wim@fluendo.com>
18152
18153         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18154         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18155         * gst/gstpad.c: (gst_pad_peer_get_caps):
18156         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18157         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18158         (gst_queue_src_activate), (gst_queue_change_state):
18159         * gst/gstqueue.h:
18160         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18161         (intersect_caps_func):
18162         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18163         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18164         Some fixes for the peer_get_caps() change.
18165
18166 2005-05-06  Wim Taymans  <wim@fluendo.com>
18167
18168         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18169         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18170         (gst_basesink_activate):
18171         Actually do something with error codes returned from the push
18172         functions.
18173
18174 2005-05-06  Wim Taymans  <wim@fluendo.com>
18175
18176         * docs/design/part-element-sink.txt:
18177         * docs/design/part-element-source.txt:
18178         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18179         (gst_basesink_event), (gst_basesink_activate):
18180         * gst/base/gstbasesink.h:
18181         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18182         (gst_basesrc_activate):
18183         * gst/base/gstbasesrc.h:
18184         * gst/gstelement.c: (gst_element_pads_activate):
18185         Some more documentation.
18186         Fixed scheduling decision in _pads_activate().
18187
18188 2005-05-05  Andy Wingo  <wingo@pobox.com>
18189
18190         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18191         the test suite.
18192
18193 2005-05-05  Wim Taymans  <wim@fluendo.com>
18194
18195         * gst/base/Makefile.am:
18196         * gst/base/gstbasesink.h:
18197         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18198         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18199         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18200         (gst_collectpads_class_init), (gst_collectpads_init),
18201         (gst_collectpads_finalize), (gst_collectpads_new),
18202         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18203         (find_pad), (gst_collectpads_remove_pad),
18204         (gst_collectpads_is_active), (gst_collectpads_collect),
18205         (gst_collectpads_collect_range), (gst_collectpads_start),
18206         (gst_collectpads_stop), (gst_collectpads_peek),
18207         (gst_collectpads_pop), (gst_collectpads_available),
18208         (gst_collectpads_read), (gst_collectpads_flush),
18209         (gst_collectpads_chain):
18210         * gst/base/gstcollectpads.h:
18211         * gst/elements/Makefile.am:
18212         * gst/elements/gstelements.c:
18213         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18214         (gst_fakesink_get_times), (gst_fakesink_event),
18215         (gst_fakesink_preroll), (gst_fakesink_render):
18216         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18217         (gst_filesink_init), (gst_filesink_set_location),
18218         (gst_filesink_open_file), (gst_filesink_close_file),
18219         (gst_filesink_pad_query), (gst_filesink_event),
18220         (gst_filesink_render), (gst_filesink_change_state):
18221         * gst/elements/gstfilesink.h:
18222         Added object to help in making collect pad based elements.
18223         Ported filesink.
18224         Make event function in sink baseclass return gboolean.
18225
18226 2005-05-05  Wim Taymans  <wim@fluendo.com>
18227
18228         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18229         (gst_bin_get_by_name):
18230         * gst/gstbuffer.h:
18231         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18232         (gst_clock_finalize):
18233         * gst/gstdata.c: (gst_data_replace):
18234         * gst/gstdata.h:
18235         * gst/gstelement.c: (gst_element_request_pad),
18236         (gst_element_pads_activate):
18237         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18238         (gst_object_unref):
18239         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18240         (gst_pad_set_checkgetrange_function),
18241         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18242         (gst_pad_check_pull_range), (gst_pad_pull_range),
18243         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18244         (gst_pad_pause_task), (gst_pad_stop_task):
18245         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18246         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18247         Fix name lookup in GstBin.
18248         Added _data_replace() function and _buffer_replace()
18249         Use finalize method to clean up clock.
18250         Fix refcounting on request pads.
18251         Fix pad schedule mode error.
18252         Some more object refcounting debug info,
18253
18254
18255 2005-05-04  Andy Wingo <wingo@pobox.com>
18256
18257         * check/Makefile.am:
18258         * docs/gst/tmpl/gstatomic.sgml:
18259         * docs/gst/tmpl/gstplugin.sgml:
18260         * gst/base/gstbasesink.c: (gst_basesink_activate):
18261         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18262         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18263         (gst_basesrc_query), (gst_basesrc_set_property),
18264         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18265         (gst_basesrc_activate):
18266         * gst/base/gstbasesrc.h:
18267         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18268         (gst_base_transform_src_activate):
18269         * gst/elements/gstelements.c:
18270         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18271         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18272         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18273         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18274         (gst_type_find_element_checkgetrange),
18275         (gst_type_find_element_activate):
18276         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18277         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18278         (gst_caps_load_thyself):
18279         * gst/gstelement.c: (gst_element_pads_activate),
18280         (gst_element_save_thyself), (gst_element_restore_thyself):
18281         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18282         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18283         * gst/gstpad.h:
18284         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18285         (gst_xml_parse_file), (gst_xml_parse_memory),
18286         (gst_xml_get_element), (gst_xml_make_element):
18287         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18288         (_file_index_id_save_xml), (gst_file_index_commit):
18289         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18290         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18291         (load_paths):
18292         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18293         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18294         * tools/gst-complete.c: (main):
18295         * tools/gst-compprep.c: (main):
18296         * tools/gst-inspect.c: (print_element_properties_info):
18297         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18298         * tools/gst-xmlinspect.c: (print_element_properties):
18299         GCC 4 fixen.
18300         
18301 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18302
18303         * gst/gstplugin.c: (gst_plugin_check_module),
18304         (gst_plugin_check_file), (gst_plugin_load_file):
18305             apply patch from #172526 to make register work on MacOSX
18306
18307 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18308
18309         * docs/gst/tmpl/gstconfig.sgml:
18310         * gst/gstconfig.h.in:
18311           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18312         * testsuite/debug/printf_extension.c: (main):
18313           Do not use GST_PTR_FORMAT on pointers to types with
18314           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18315         * testsuite/elements/property.h:
18316           use correct printf format
18317
18318 2005-05-02  Wim Taymans  <wim@fluendo.com>
18319
18320         * docs/design/draft-push-pull.txt:
18321         * docs/design/draft-query.txt:
18322         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18323         (gst_basesrc_start):
18324         Added draft for new query API.
18325         Added draft for better selecting scheduling methods.
18326         Make basesrc ignore length if the subclass does not support
18327         it.
18328
18329 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18330
18331         * gst/Makefile.am:
18332           possible fixes for automake-1.5 - _LIBADD is reserved
18333
18334 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18335
18336         * docs/faq/Makefile.am:
18337         * docs/manual/Makefile.am:
18338         * docs/manuals.mak:
18339         * docs/pwg/Makefile.am:
18340         * gst/Makefile.am:
18341           possible fixes for automake-1.5
18342
18343 2005-04-28  Wim Taymans  <wim@fluendo.com>
18344
18345         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18346         (gst_basesink_pad_getcaps), (gst_basesink_init),
18347         (gst_basesink_do_sync):
18348         * gst/gstclock.c: (gst_clock_entry_new):
18349         * gst/gstevent.c: (gst_event_discont_get_value):
18350         * gst/gstpipeline.c: (pipeline_bus_handler),
18351         (gst_pipeline_change_state):
18352         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18353         Better debugging of clocking info.
18354         Allow NULL values when getting discont values.
18355
18356 2005-04-27  Wim Taymans  <wim@fluendo.com>
18357
18358         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18359         * check/gst/gstpad.c: (gst_pad_suite):
18360         Increase timeout for checks.
18361
18362 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18363
18364         * check/Makefile.am:
18365           fix the broken rule for cleanup.  Apparently this rule is
18366           only needed on FC2, so maybe this warrants further autotool
18367           inspection.
18368
18369 2005-04-26  Wim Taymans  <wim@fluendo.com>
18370
18371         * gst/gsttrashstack.h:
18372         Ooohh. a nasty one! After having a failed pop() from the stack,
18373         it's possible that the stack is empty. In that case, don't
18374         follow the NULL pointer.
18375
18376 2005-04-25  Wim Taymans  <wim@fluendo.com>
18377
18378         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18379         (gst_pad_set_checkgetrange_function),
18380         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18381         (gst_pad_check_pull_range), (gst_pad_pull_range),
18382         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18383         (gst_pad_pause_task), (gst_pad_stop_task):
18384         * gst/gstplugin.c: (gst_plugin_load):
18385         * gst/gstplugin.h:
18386         Remove gst_library_load as it does more harm than good with
18387         the new g_module flags.
18388         Revert bogus caps template check in pad linking, pad caps
18389         are important when linking not the template, which is more
18390         general than the current caps.
18391
18392 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18393
18394         * gst/autoplug/.cvsignore:
18395         * gst/autoplug/Makefile.am:
18396         * gst/autoplug/gstsearchfuncs.c:
18397         * gst/autoplug/gstsearchfuncs.h:
18398         * gst/autoplug/gstspider.c:
18399         * gst/autoplug/gstspider.h:
18400         * gst/autoplug/gstspideridentity.c:
18401         * gst/autoplug/gstspideridentity.h:
18402         * gst/autoplug/spidertest.c:
18403           Die, spider, die.
18404
18405 2005-04-25  Wim Taymans  <wim@fluendo.com>
18406
18407         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18408         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18409         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18410         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18411         * gst/gstpad.h:
18412         Added stubs for unimplemented functions. 
18413
18414 2005-04-24  David Schleef  <ds@schleef.org>
18415
18416         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18417         please fix.
18418
18419 2005-04-24  David Schleef  <ds@schleef.org>
18420
18421         Convert everything from GstAtomicInt to g_atomic_int_*, and
18422         remove gstatomic.
18423         * gst/Makefile.am:
18424         * gst/gstatomic.c:
18425         * gst/gstatomic.h:
18426         * gst/gstatomic_impl.h:
18427         * gst/gstbuffer.c:
18428         * gst/gstcaps.c:
18429         * gst/gstcaps.h:
18430         * gst/gstclock.c:
18431         * gst/gstclock.h:
18432         * gst/gstdata.c:
18433         * gst/gstdata.h:
18434         * gst/gstdata_private.h:
18435         * gst/gstevent.c:
18436         * gst/gstinfo.c:
18437         * gst/gstinfo.h:
18438         * gst/gstmessage.c:
18439         * gst/gstobject.c:
18440         * gst/gstobject.h:
18441         * gst/gststructure.c:
18442         * gst/gststructure.h:
18443         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18444         * gst/gstutils.h:
18445
18446 2005-04-24  David Schleef  <ds@schleef.org>
18447
18448         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18449         make the regressions tests work.  Remove some code that is no
18450         longer true.
18451         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18452         Disable warning for pads without templates.
18453
18454 2005-04-24  David Schleef  <ds@schleef.org>
18455
18456         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18457         functions that handle filtered links.
18458         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18459         removed functions.
18460         * gst/gstutils.c: Fix/remove utility functions that handle
18461         filtered caps.
18462         * gst/gstutils.h:
18463         * gst/gstvalue.c: Add serialization/deserialization of caps
18464         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18465         requires fixing so that the filter caps notation creates
18466         a capsfilter element and sets the filter_caps property.  I
18467         think everyone probably wants to keep the shorthand notation.
18468         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18469         * docs/gst/tmpl/gstpad.sgml:
18470
18471         * gst/elements/gstelements.c: Register capsfilter element.
18472         * gst/Makefile.am: fix spacing
18473         * docs/random/ds/0.9-suggested-changes: random
18474
18475 2005-04-23  David Schleef  <ds@schleef.org>
18476
18477         * gst/elements/Makefile.am:
18478         * gst/elements/gstcapsfilter.c: New element that acts like an
18479         identity, but filters caps.  Will eventually replace filtered
18480         caps in pad linking.
18481         * gst/gstutils.c: (gst_element_create_all_pads): New function
18482         to create all the ALWAYS pads that are registered with an
18483         element class.  This functionality should eventually be
18484         merged in with GstElement initialization.
18485         * gst/gstutils.h:
18486         * testsuite/trigger/README: part of trigger test code that should
18487         have been checked in a long time ago.
18488
18489 2005-04-23  David Schleef  <ds@schleef.org>
18490
18491         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18492         needed with new versions of libtool (nobody will confirm this),
18493         and hard to carry around.
18494         * gst/autoplug/Makefile.am:
18495         * gst/base/Makefile.am:
18496         * gst/elements/Makefile.am:
18497         * gst/indexers/Makefile.am:
18498         * gst/schedulers/Makefile.am:
18499         * libs/gst/bytestream/Makefile.am:
18500         * libs/gst/control/Makefile.am:
18501         * libs/gst/dataprotocol/Makefile.am:
18502         * libs/gst/getbits/Makefile.am:
18503
18504 2005-04-21  Wim Taymans  <wim@fluendo.com>
18505
18506         * docs/design/draft-push-pull.txt:
18507         * docs/design/part-MT-refcounting.txt:
18508         * docs/design/part-TODO.txt:
18509         * docs/design/part-caps.txt:
18510         * docs/design/part-events.txt:
18511         * docs/design/part-gstbus.txt:
18512         * docs/design/part-gstpipeline.txt:
18513         * docs/design/part-messages.txt:
18514         * docs/design/part-push-pull.txt:
18515         * docs/design/part-query.txt:
18516         Some more docs.
18517
18518 2005-04-21  Wim Taymans  <wim@fluendo.com>
18519
18520         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18521         (gst_message_new), (gst_message_new_error),
18522         (gst_message_new_warning), (gst_message_new_tag),
18523         (gst_message_new_state_changed), (gst_message_new_application),
18524         (gst_message_get_structure):
18525         * gst/gstmessage.h:
18526         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18527         (gst_structure_copy_conditional):
18528         Use parent refcount in GstMessage to ensure GstStructure
18529         consistency.
18530         Cleaned up headers a bit.
18531         
18532
18533 2005-04-20  Wim Taymans  <wim@fluendo.com>
18534
18535         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18536         (gst_basesink_pad_getcaps), (gst_basesink_init),
18537         (gst_basesink_chain_unlocked):
18538         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18539         (gst_type_find_helper):
18540         * gst/elements/gsttypefindelement.c:
18541         (gst_type_find_element_have_type), (gst_type_find_element_init),
18542         (stop_typefinding), (gst_type_find_element_handle_event),
18543         (find_suggest), (gst_type_find_element_chain),
18544         (gst_type_find_element_checkgetrange),
18545         (gst_type_find_element_getrange), (do_typefind),
18546         (gst_type_find_element_activate):
18547         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18548         (gst_buffer_default_free), (gst_buffer_default_copy),
18549         (gst_buffer_set_caps):
18550         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18551         (gst_caps_replace):
18552         * gst/gstmessage.c: (gst_message_new),
18553         (gst_message_new_state_changed):
18554         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18555         (gst_pad_set_checkgetrange_function),
18556         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18557         (gst_pad_set_caps), (gst_pad_check_pull_range),
18558         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18559         * gst/gstpad.h:
18560         * gst/gsttypefind.c: (gst_type_find_register):
18561         Make gst_caps_replace() work like other _replace() functions.
18562         Use _caps_replace() where possible.
18563         Make sure _message_new() initialises its field.
18564         Add gst_static_pad_template_get_caps()
18565
18566
18567 2005-04-18  Andy Wingo  <wingo@pobox.com>
18568
18569         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18570         on the peer, not the pad. I think that was a typo. Pass an extra
18571         arg to see if random access is possible. Activate the pads as
18572         PULL_RANGE if possible.
18573
18574         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18575
18576         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18577         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18578         to PROP_....
18579
18580 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18581
18582         * docs/faq/using.xml:
18583           Add note on gstreamer-properties (#154996).
18584
18585 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18586
18587         * docs/random/bbb/optional-properties:
18588           Some analysis on optional properties.
18589
18590 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18591
18592         * docs/gst/tmpl/gstelementfactory.sgml:
18593         * gst/gstelement.h:
18594         * gst/gstelementfactory.c: (gst_element_factory_init),
18595         (gst_element_factory_cleanup), (gst_element_register),
18596         (__gst_element_factory_add_static_pad_template),
18597         (gst_element_factory_get_static_pad_templates),
18598         (gst_element_factory_can_src_caps),
18599         (gst_element_factory_can_sink_caps):
18600         * gst/registries/Makefile.am:
18601         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18602         (gst_xml_registry_class_init), (gst_xml_registry_init),
18603         (gst_xml_registry_new), (gst_xml_registry_set_property),
18604         (gst_xml_registry_get_property), (get_time), (make_dir),
18605         (gst_xml_registry_get_perms_func),
18606         (plugin_times_older_than_recurse), (plugin_times_older_than),
18607         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18608         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18609         (add_to_char_array), (read_string), (read_uint), (read_enum),
18610         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18611         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18612         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18613         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18614         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18615         (gst_xml_registry_rebuild):
18616         * gst/registries/gstlibxmlregistry.h:
18617         * tools/gst-compprep.c: (main):
18618         * tools/gst-inspect.c: (print_pad_templates_info):
18619         * tools/gst-xmlinspect.c: (print_element_info):
18620           Use libxml2 for registry parsing, use staticpadtemplates in
18621           elementfactories. Makes gst_init() +/- 10x faster.
18622
18623 2005-04-12  Wim Taymans  <wim@fluendo.com>
18624
18625         * gst/base/Makefile.am:
18626         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18627         (gst_basesink_pad_getcaps), (gst_basesink_init),
18628         (gst_basesink_event), (gst_basesink_change_state):
18629         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18630         (gst_basesrc_init), (gst_basesrc_query),
18631         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18632         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18633         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18634         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18635         (gst_basesrc_stop), (gst_basesrc_activate),
18636         (gst_basesrc_change_state):
18637         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18638         (helper_find_suggest), (gst_type_find_helper):
18639         * gst/base/gsttypefindhelper.h:
18640         * gst/elements/Makefile.am:
18641         * gst/elements/gstelements.c:
18642         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18643         (gst_fakesink_get_times), (gst_fakesink_event),
18644         (gst_fakesink_preroll), (gst_fakesink_render):
18645         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18646         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18647         (gst_fakesrc_get_property), (gst_fakesrc_create),
18648         (gst_fakesrc_start), (gst_fakesrc_stop):
18649         * gst/elements/gstfakesrc.h:
18650         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18651         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18652         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18653         (gst_filesrc_create_read), (gst_filesrc_create),
18654         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18655         (gst_filesrc_start):
18656         * gst/elements/gsttypefindelement.c:
18657         (gst_type_find_element_have_type), (gst_type_find_element_init),
18658         (start_typefinding), (stop_typefinding), (push_buffer_store),
18659         (gst_type_find_element_handle_event),
18660         (gst_type_find_element_chain),
18661         (gst_type_find_element_checkgetrange),
18662         (gst_type_find_element_getrange), (do_typefind),
18663         (gst_type_find_element_activate),
18664         (gst_type_find_element_change_state):
18665         * gst/elements/gsttypefindelement.h:
18666         * gst/gstpipeline.c: (pipeline_bus_handler):
18667         Added typefind helper.
18668         Small preroll fix in the base sink.
18669         Disable typefind code in basesrc.
18670         Crude port of typefindelement.
18671         Fakesrc cleanups.
18672
18673
18674 2005-04-11  Wim Taymans  <wim@fluendo.com>
18675
18676         * check/gst/gstbus.c: (gstbus_suite):
18677         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18678         * check/gstcheck.h:
18679           Fix up the timeout so that the test does not fail.
18680
18681 2005-04-06  Wim Taymans  <wim@fluendo.com>
18682
18683         * gst/base/README:
18684         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18685         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18686         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18687         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18688         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18689         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18690         (gst_basesrc_stop), (gst_basesrc_activate),
18691         (gst_basesrc_change_state), (basesrc_find_peek),
18692         (basesrc_find_suggest), (gst_basesrc_type_find):
18693         * gst/base/gstbasesrc.h:
18694         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18695         (gst_filesrc_class_init), (gst_filesrc_init),
18696         (gst_filesrc_finalize), (gst_filesrc_set_location),
18697         (gst_filesrc_set_property), (gst_filesrc_get_property),
18698         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18699         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18700         (gst_filesrc_create_read), (gst_filesrc_create),
18701         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18702         * gst/elements/gstfilesrc.h:
18703         * gst/gstelement.c: (gst_element_get_state_func),
18704         (gst_element_lost_state), (gst_element_pads_activate):
18705         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18706         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18707         (gst_pad_pull_range):
18708         * gst/gstpad.h:
18709         More work on the generic source base class, implement seeking,
18710         query.
18711         Make filesrc extend the base source class.
18712         Added gst_pad_set_checkgetrange_function to GstPad.
18713
18714 2005-04-06  Andy Wingo  <wingo@pobox.com>
18715
18716         * pkgconfig/gstreamer-base.pc.in:
18717         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18718
18719         * pkgconfig/Makefile.am:
18720         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18721
18722 2005-04-04  Wim Taymans  <wim@fluendo.com>
18723
18724         * gst/base/Makefile.am:
18725         * gst/base/README:
18726         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18727         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18728         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18729         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18730         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18731         (gst_basesrc_base_init), (gst_basesrc_class_init),
18732         (gst_basesrc_init), (gst_basesrc_get_formats),
18733         (gst_basesrc_get_query_types), (gst_basesrc_query),
18734         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18735         (gst_basesrc_set_property), (gst_basesrc_get_property),
18736         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18737         (gst_basesrc_loop), (gst_basesrc_activate),
18738         (gst_basesrc_change_state):
18739         * gst/base/gstbasesrc.h:
18740         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18741         (gst_fakesrc_class_init), (gst_fakesrc_init),
18742         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18743         (gst_fakesrc_get_property), (gst_fakesrc_create):
18744         * gst/elements/gstfakesrc.h:
18745         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18746         (gst_filesrc_open_file), (gst_filesrc_loop),
18747         (gst_filesrc_activate), (filesrc_find_peek),
18748         (gst_filesrc_type_find):
18749         Made base source class, make fakesrc extend it.
18750         Add comments to basesink class.
18751         Some filesrc cleanup.
18752
18753 2005-03-31  David Schleef  <ds@schleef.org>
18754
18755         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18756         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18757         expected to link against libgstreamer.
18758         * gst/base/Makefile.am: link against libgstreamer
18759         * gst/elements/Makefile.am: same
18760
18761 2005-03-31  Andy Wingo  <wingo@pobox.com>
18762
18763         * tests/instantiate/Makefile.am:
18764         * tests/instantiate/caps.c: Add test to test speed of caps copy
18765         and free.
18766
18767         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18768         GMemChunk to be fair.
18769
18770         * gst/gsttrashstack.h: Remove warning about using the fallback
18771         trash stack implementation, it's still faster than malloc.
18772
18773 2005-03-30  Andy Wingo  <wingo@pobox.com>
18774
18775         * tests/complexity.c: Add a copyright.
18776
18777 2005-03-31  Wim Taymans  <wim@fluendo.com>
18778
18779         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18780         (gst_base_transform_class_init), (gst_base_transform_init),
18781         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18782         (gst_base_transform_get_property),
18783         (gst_base_transform_sink_activate),
18784         (gst_base_transform_src_activate),
18785         (gst_base_transform_change_state):
18786         * gst/base/gstbasetransform.h:
18787         * gst/elements/gstidentity.c: (gst_identity_class_init),
18788         (gst_identity_event), (gst_identity_check_perfect),
18789         (gst_identity_transform), (gst_identity_start),
18790         (gst_identity_stop):
18791         Added start/stop methods to transform base class so subclasses 
18792         don't need to deal with state changes even.
18793
18794 2005-03-31  Wim Taymans  <wim@fluendo.com>
18795
18796         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18797         (gst_event_new_discontinuous), (gst_event_discont_get_value):
18798         * gst/gstevent.h:
18799         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18800         (gst_pad_pull_range):
18801         Added rate to the discont event to prepare for variable speed
18802         and reverse playback.
18803
18804 2005-03-29  David Schleef  <ds@schleef.org>
18805
18806         * configure.ac:
18807         * testsuite/trigger/Makefile.am:
18808         * testsuite/trigger/trigger.c: A little example program to show
18809         how trigger-based elements can work.
18810
18811 2005-03-29  Wim Taymans  <wim@fluendo.com>
18812
18813         * gst/base/Makefile.am:
18814         * gst/base/README:
18815         * gst/base/gstbasesink.c: (gst_basesink_get_type),
18816         (gst_basesink_base_init), (gst_basesink_class_init),
18817         (gst_basesink_pad_getcaps), (gst_basesink_init),
18818         (gst_basesink_activate), (gst_basesink_change_state):
18819         * gst/base/gstbasesink.h:
18820         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18821         (gst_base_transform_base_init), (gst_base_transform_finalize),
18822         (gst_base_transform_class_init), (gst_base_transform_init),
18823         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18824         (gst_base_transform_event), (gst_base_transform_getrange),
18825         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18826         (gst_base_transform_set_property),
18827         (gst_base_transform_get_property),
18828         (gst_base_transform_sink_activate),
18829         (gst_base_transform_src_activate),
18830         (gst_base_transform_change_state):
18831         * gst/base/gstbasetransform.h:
18832         * gst/elements/gstidentity.c: (gst_identity_finalize),
18833         (gst_identity_class_init), (gst_identity_init),
18834         (gst_identity_event), (gst_identity_check_perfect),
18835         (gst_identity_transform), (gst_identity_set_property),
18836         (gst_identity_get_property), (gst_identity_change_state):
18837         * gst/elements/gstidentity.h:
18838         * gst/gstelement.c: (gst_element_get_state_func),
18839         (gst_element_lost_state), (gst_element_pads_activate):
18840         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18841         (gst_pad_check_pull_range), (gst_pad_pull_range):
18842         * gst/gstpad.h:
18843         Simplify pad activation.
18844         Added function to check if pull_range can be performed.
18845         Error out when pulling inactive or flushing pads.
18846         Removed const from refcounted types as it does not make sense.
18847         Simplify pad templates in basesink
18848         Added base class for simple 1-to-1 transforms.
18849         Make identity subclass the base transform.
18850
18851 2005-03-29  Andy Wingo  <wingo@pobox.com>
18852
18853         * docs/libs/gstreamer-libs-overrides.txt: 
18854         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18855         really don't understand what's going on, but like whatever. I want
18856         green buildbot!
18857
18858         * docs/gst/Makefile.am:
18859         * docs/libs/Makefile.am: Dist the overrides files.
18860
18861         * check/Makefile.am (clean-local): Remove .libs directories.
18862
18863         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18864         elements to EXTRA_DIST, so po/ files are happy.
18865
18866         * po/POTFILES.in: Er, remove it here.
18867
18868         * po/POTFILES: Remove gstspider.c.
18869
18870         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18871
18872         * docs/libs/gstreamer-libs-docs.sgml: 
18873         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18874         bytestream.
18875
18876         * tests/complexity.c (main): Set the length of the preroll queue
18877         on the sinks to prevent a lockup.
18878
18879         * libs/gst/dataprotocol/Makefile.am: 
18880         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18881         the same as the one in check/gst-libs/gdp.c.
18882
18883         * po/, docs/gst/: Commit automatic changes to docs and po files.
18884
18885         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18886         the versioned libgstbase.
18887
18888         * check/Makefile.am: Depend on an unversioned gst-register, seems
18889         to make autoconf happier.
18890
18891         * gst/base/Makefile.am: Make libgstbase a versioned lib.
18892
18893 2005-03-28  Wim Taymans  <wim@fluendo.com>
18894
18895         * configure.ac:
18896         * docs/design/part-gstelement.txt:
18897         * docs/design/part-negotiation.txt:
18898         * docs/design/part-preroll.txt:
18899         * docs/design/part-scheduling.txt:
18900         * docs/design/part-states.txt:
18901         * gst/Makefile.am:
18902         * gst/base/Makefile.am:
18903         * gst/base/README:
18904         * gst/base/gstbasesink.c: (gst_basesink_get_template),
18905         (gst_basesink_base_init), (gst_basesink_class_init),
18906         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18907         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18908         (gst_basesink_set_pad_functions),
18909         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18910         (gst_basesink_set_property), (gst_basesink_get_property),
18911         (gst_base_sink_get_template), (gst_base_sink_get_caps),
18912         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18913         (gst_basesink_preroll_queue_push),
18914         (gst_basesink_preroll_queue_empty),
18915         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18916         (gst_basesink_event), (gst_basesink_get_times),
18917         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18918         (gst_basesink_chain_unlocked), (gst_basesink_chain),
18919         (gst_basesink_loop), (gst_basesink_activate),
18920         (gst_basesink_change_state):
18921         * gst/base/gstbasesink.h:
18922         * gst/elements/Makefile.am:
18923         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18924         (gst_fakesink_class_init), (gst_fakesink_init),
18925         (gst_fakesink_set_property), (gst_fakesink_get_property),
18926         (gst_fakesink_get_times), (gst_fakesink_event),
18927         (gst_fakesink_preroll), (gst_fakesink_render),
18928         (gst_fakesink_change_state):
18929         * gst/elements/gstfakesink.h:
18930         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18931         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18932         * gst/gstelement.c: (gst_element_add_pad),
18933         (gst_element_get_state_func), (gst_element_abort_state),
18934         (gst_element_commit_state), (gst_element_lost_state),
18935         (gst_element_set_state), (gst_element_pads_activate):
18936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18937         * gst/gstpipeline.c: (gst_pipeline_send_event),
18938         (gst_pipeline_change_state):
18939         Added state change code.
18940         Added/updated docs.
18941         Added sink base class, make fakesink extend the base class.
18942         Small cleanups in GstPipeline.
18943
18944 2005-03-26  David Schleef  <ds@schleef.org>
18945
18946         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
18947         is broken and should be implemented in a different library.
18948         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18949         * gst/gst.h: remove gstcpu.h
18950         * gst/gstcpu.c: remove
18951         * gst/gstcpu.h: remove
18952         * gst/Makefile.am.future: Remove this file.  It's ancient.
18953
18954 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18955
18956         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18957         (gst_bin_send_event):
18958           Add default event/set_manager handlers. The set_manager handler
18959           takes care that the manager is distributed over kids that were
18960           already in the bin before the manager was set. The event handler
18961           is a utility virtual function that sends the event over all sinks,
18962           so that gst_element_send_event (bin, event); has the expected
18963           behaviour.
18964         * gst/gstpad.c: (gst_pad_event_default):
18965           Re-install default event handling for discontinuities, so that
18966           seeking works without requiring hacks in applications or extra
18967           code in sinks.
18968         * gst/gstpipeline.c: (gst_pipeline_class_init),
18969         (gst_pipeline_send_event):
18970           Half hack, half utility: set a pipeline to PAUSED for seek events,
18971           since that is the only way we can guarantee a/v sync. Means that
18972           you can do gst_element_seek (pipeline, method, pos); on a pipeline
18973           and it "just works".
18974
18975 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18976
18977         * gst/gstpipeline.c: (gst_pipeline_use_clock):
18978           Lock/unlock mismatch.
18979
18980 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18981
18982         * docs/faq/gst-uninstalled:
18983           add gst-plugins-base
18984         * docs/gst/Makefile.am:
18985           don't error out until docs are fixed
18986         * docs/gst/gstreamer.types:
18987           remove thread
18988
18989 2005-03-22  Wim Taymans  <wim@fluendo.com>
18990
18991         * check/Makefile.am:
18992         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18993         * gst/gststructure.c: (gst_structure_set_valist),
18994         (gst_structure_copy_conditional):
18995         Activated more tests.
18996         Added message test.
18997         Added G_TYPE_POINTER to GstStructure.
18998         
18999
19000 2005-03-22  Wim Taymans  <wim@fluendo.com>
19001
19002         * docs/design/part-TODO.txt:
19003         * docs/design/part-events.txt:
19004         * docs/design/part-gstbin.txt:
19005         * docs/design/part-gstbus.txt:
19006         * docs/design/part-gstpipeline.txt:
19007         * docs/design/part-messages.txt:
19008         * gst/gstbus.c:
19009         * gst/gstmessage.c:
19010         Docs updates
19011
19012 2005-03-21  Wim Taymans  <wim@fluendo.com>
19013
19014         * gst/gstbus.c: (gst_bus_post):
19015         Fix copy-and-paste error.
19016
19017 2005-03-21  Wim Taymans  <wim@fluendo.com>
19018
19019         * check/Makefile.am:
19020         * gst/Makefile.am:
19021         * gst/elements/Makefile.am:
19022         * gst/elements/gstelements.c:
19023         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19024         (gst_fakesink_event), (gst_fakesink_chain):
19025         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19026         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19027         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19028         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19029         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19030         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19031         (gst_fakesrc_loop), (gst_fakesrc_activate),
19032         (gst_fakesrc_change_state):
19033         * gst/elements/gstfakesrc.h:
19034         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19035         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19036         (gst_filesrc_open_file), (gst_filesrc_loop),
19037         (gst_filesrc_activate), (gst_filesrc_change_state),
19038         (filesrc_find_peek), (filesrc_find_suggest),
19039         (gst_filesrc_type_find):
19040         * gst/elements/gstidentity.c: (gst_identity_finalize),
19041         (gst_identity_class_init), (gst_identity_init),
19042         (gst_identity_proxy_getcaps), (identity_queue_push),
19043         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19044         (gst_identity_getrange), (gst_identity_chain),
19045         (gst_identity_sink_loop), (gst_identity_src_loop),
19046         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19047         (gst_identity_set_property), (gst_identity_get_property),
19048         (gst_identity_change_state):
19049         * gst/elements/gstidentity.h:
19050         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19051         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19052         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19053         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19054         (gst_tee_sink_activate):
19055         * gst/elements/gsttee.h:
19056         * gst/gst.c: (gst_register_core_elements), (init_post):
19057         * gst/gst.h:
19058         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19059         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19060         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19061         (gst_bin_change_state):
19062         * gst/gstbin.h:
19063         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19064         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19065         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19066         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19067         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19068         (bus_watch_callback), (bus_watch_destroy),
19069         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19070         (poll_timeout), (gst_bus_poll):
19071         * gst/gstbus.h:
19072         * gst/gstcaps.h:
19073         * gst/gstdata.h:
19074         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19075         (gst_element_post_message), (gst_element_message_full),
19076         (gst_element_get_state_func), (gst_element_get_state),
19077         (gst_element_abort_state), (gst_element_commit_state),
19078         (gst_element_lost_state), (gst_element_set_state),
19079         (gst_element_pads_activate), (gst_element_change_state),
19080         (gst_element_dispose), (gst_element_set_manager_func),
19081         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19082         (gst_element_set_manager), (gst_element_get_manager),
19083         (gst_element_set_bus), (gst_element_get_bus),
19084         (gst_element_set_scheduler), (gst_element_get_scheduler):
19085         * gst/gstelement.h:
19086         * gst/gstevent.c: (gst_event_new_segment_seek),
19087         (gst_event_new_flush):
19088         * gst/gstevent.h:
19089         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19090         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19091         (gst_message_new_eos), (gst_message_new_error),
19092         (gst_message_new_warning), (gst_message_new_tag),
19093         (gst_message_new_state_changed), (gst_message_new_application),
19094         (gst_message_get_structure), (gst_message_parse_tag),
19095         (gst_message_parse_state_changed), (gst_message_parse_error),
19096         (gst_message_parse_warning):
19097         * gst/gstmessage.h:
19098         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19099         (gst_real_pad_set_property), (gst_pad_set_active),
19100         (gst_pad_is_active), (gst_pad_set_blocked_async),
19101         (gst_pad_set_blocked), (gst_pad_is_blocked),
19102         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19103         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19104         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19105         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19106         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19107         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19108         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19109         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19110         (gst_pad_set_caps), (gst_pad_configure_sink),
19111         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19112         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19113         (gst_real_pad_dispose), (gst_real_pad_finalize),
19114         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19115         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19116         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19117         * gst/gstpad.h:
19118         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19119         (pipeline_bus_handler), (gst_pipeline_change_state),
19120         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19121         * gst/gstpipeline.h:
19122         * gst/gstprobe.h:
19123         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19124         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19125         (gst_queue_link_src), (gst_queue_bufferalloc),
19126         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19127         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19128         (gst_queue_loop), (gst_queue_handle_src_event),
19129         (gst_queue_handle_src_query), (gst_queue_src_activate),
19130         (gst_queue_change_state):
19131         * gst/gstqueue.h:
19132         * gst/gstscheduler.c: (gst_scheduler_init),
19133         (gst_scheduler_dispose), (gst_scheduler_create_task),
19134         (gst_scheduler_factory_create):
19135         * gst/gstscheduler.h:
19136         * gst/gststructure.c: (gst_structure_get_type),
19137         (gst_structure_copy_conditional):
19138         * gst/gststructure.h:
19139         * gst/gsttaginterface.h:
19140         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19141         (gst_task_init), (gst_task_dispose), (gst_task_create),
19142         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19143         (gst_task_pause):
19144         * gst/gsttask.h:
19145         * gst/gstthread.c:
19146         * gst/gstthread.h:
19147         * gst/gsttypes.h:
19148         * gst/schedulers/Makefile.am:
19149         * gst/schedulers/cothreads_compat.h:
19150         * gst/schedulers/entryscheduler.c:
19151         * gst/schedulers/faircothreads.c:
19152         * gst/schedulers/faircothreads.h:
19153         * gst/schedulers/fairscheduler.c:
19154         * gst/schedulers/gstbasicscheduler.c:
19155         * gst/schedulers/gstoptimalscheduler.c:
19156         * gst/schedulers/gthread-cothreads.h:
19157         * gst/schedulers/threadscheduler.c:
19158         (gst_thread_scheduler_task_get_type),
19159         (gst_thread_scheduler_task_class_init),
19160         (gst_thread_scheduler_task_init),
19161         (gst_thread_scheduler_task_start),
19162         (gst_thread_scheduler_task_stop),
19163         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19164         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19165         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19166         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19167         (plugin_init):
19168         * libs/gst/Makefile.am:
19169         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19170         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19171         (gst_file_pad_parent_set):
19172         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19173         (gst_dp_event_from_packet):
19174         * tests/complexity.c: (main):
19175         * tests/mass_elements.c: (main):
19176         * testsuite/states/locked.c: (message_received), (main):
19177         * testsuite/states/parent.c: (main):
19178         * tools/gst-inspect.c: (print_element_flag_info),
19179         (print_implementation_info), (print_pad_info):
19180         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19181         (main):
19182         * tools/gst-md5sum.c: (event_loop), (main):
19183         * tools/gst-typefind.c: (main):
19184         * tools/gst-xmlinspect.c: (print_element_info):
19185         Next big merge.
19186         Added GstBus for mainloop integration.
19187         Added GstMessage for sending notifications on the bus.
19188         Added GstTask as an abstraction for pipeline entry points.
19189         Removed GstThread.
19190         Removed Schedulers.
19191         Simplified GstQueue for multithreaded core.
19192         Made _link threadsafe, removed old capsnego.
19193         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19194         Added pad blocking functions.
19195         Reworked scheduling functions in GstPad to prepare for
19196         scheduling updates soon.
19197         Moved events out of data stream.
19198         Simplified GstEvent types.
19199         Added return values to push/pull.
19200         Removed clocking from GstElement.
19201         Added prototypes for state change function for next merge.
19202         Removed iterate from bins and state change management.
19203         Fixed some elements, disabled others for now.
19204         Fixed -inspect and -launch.
19205         Added check for GstBus.
19206
19207 2005-03-10  Wim Taymans  <wim@fluendo.com>
19208
19209         * docs/design/part-MT-refcounting.txt:
19210         * docs/design/part-clocks.txt:
19211         * docs/design/part-gstelement.txt:
19212         * docs/design/part-gstobject.txt:
19213         * docs/design/part-standards.txt:
19214         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19215         (gst_bin_remove_func), (gst_bin_remove):
19216         * gst/gstbin.h:
19217         * gst/gstbuffer.c:
19218         * gst/gstcaps.h:
19219         * testsuite/clock/clock1.c: (main):
19220         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19221         (main):
19222         * testsuite/dlopen/loadgst.c: (do_test):
19223         * testsuite/refcounting/bin.c: (add_remove_test1),
19224         (add_remove_test2), (main):
19225         * testsuite/refcounting/element.c: (main):
19226         * testsuite/refcounting/element_pad.c: (main):
19227         * testsuite/refcounting/pad.c: (main):
19228         * tools/gst-launch.c: (sigint_handler_sighandler):
19229         * tools/gst-typefind.c: (main):
19230         Doc updates.
19231         Added doc about clock.
19232         removed gst_bin_iterate_recurse_up(), marked methods
19233         for removal.
19234         Fix more testsuites.
19235
19236 2005-03-09  Wim Taymans  <wim@fluendo.com>
19237
19238         * gst/gstpad.c: (gst_pad_get_direction),
19239         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19240         (gst_pad_collect_valist):
19241         * testsuite/bins/interface.c: (main):
19242         * testsuite/caps/audioscale.c: (test_caps):
19243         * testsuite/caps/caps.c: (test1), (test2), (test3):
19244         * testsuite/caps/deserialize.c: (main):
19245         * testsuite/caps/enumcaps.c: (main):
19246         * testsuite/caps/filtercaps.c: (main):
19247         * testsuite/caps/intersect2.c: (main):
19248         * testsuite/caps/random.c: (main):
19249         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19250         * testsuite/caps/sets.c: (check_caps):
19251         * testsuite/caps/simplify.c: (check_caps), (main):
19252         * testsuite/caps/subtract.c: (check_caps):
19253         Fix _pad_get_direction wrt ghostpads.
19254         Fix caps testsuite.
19255
19256 2005-03-09  Wim Taymans  <wim@fluendo.com>
19257
19258         * check/Makefile.am:
19259         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19260         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19261         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19262         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19263         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19264         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19265         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19266         (bin_element_is_sink), (gst_bin_iterate_sinks),
19267         (gst_bin_iterate_all_by_interface):
19268         * gst/gstbin.h:
19269         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19270         (gst_element_change_state), (gst_element_dispose),
19271         (gst_element_finalize), (gst_element_set_loop_function):
19272         * gst/gstelement.h:
19273         * gst/gstiterator.c: (find_custom_fold_func):
19274         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19275         (gst_pad_collectv), (gst_pad_collect_valist),
19276         (gst_pad_template_new):
19277         * gst/gstpipeline.c: (gst_pipeline_class_init),
19278         (gst_pipeline_dispose), (gst_pipeline_set_property),
19279         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19280         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19281         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19282         * gst/gstutils.h:
19283         * gst/schedulers/entryscheduler.c:
19284         * gst/schedulers/gstbasicscheduler.c:
19285         (gst_basic_scheduler_cothreaded_chain),
19286         (gst_basic_scheduler_chain_add_element):
19287         * testsuite/bins/interface.c: (main):
19288         Added GstBin test.
19289         Added GstSystemClock test.
19290         Implemented clock distribution code in GstBin.
19291         Implemented iterate sinks method for future use.
19292         Rearranged gstelement.h
19293         Fix GstIterator comparison bug.
19294         Moved some code to GstPipeline, mostly clocking related.
19295
19296 2005-03-09  Wim Taymans  <wim@fluendo.com>
19297
19298         * configure.ac:
19299         * gst/gst_private.h:
19300         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19301         (gst_bin_remove_func), (gst_bin_remove),
19302         (gst_bin_get_by_name_recurse_up):
19303         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19304         (gst_clock_id_compare_func), (gst_clock_id_wait),
19305         (gst_clock_id_wait_async), (gst_clock_init),
19306         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19307         * gst/gstelement.h:
19308         * gst/gstinfo.c: (_gst_debug_init):
19309         * gst/gstobject.h:
19310         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19311         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19312         * gst/gstpad.h:
19313         Bump version number, we're now 0.9.0
19314         Add future debugging category.
19315         Fix NULL _unref() in _get_by_name_recurse_up
19316         Rearrange gstpad.h.
19317         Update some docs.
19318
19319 2005-03-08  Wim Taymans  <wim@fluendo.com>
19320
19321         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19322         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19323         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19324         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19325         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19326         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19327         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19328         * gst/elements/gstidentity.c: (gst_identity_class_init):
19329         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19330         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19331         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19332         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19333         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19334         (gst_tee_link):
19335         * gst/gstelement.c: (gst_element_class_init),
19336         (gst_element_base_class_init), (gst_element_init),
19337         (gst_element_get_random_pad), (gst_element_wait_state_change),
19338         (gst_element_change_state), (gst_element_dispose),
19339         (gst_element_finalize), (gst_element_set_loop_function):
19340         * gst/gstelement.h:
19341         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19342         * gst/gstthread.c: (gst_thread_class_init),
19343         (gst_thread_release_children_locks), (gst_thread_change_state):
19344         * gst/schedulers/gstbasicscheduler.c:
19345         (gst_basic_scheduler_loopfunc_wrapper),
19346         (gst_basic_scheduler_chain_wrapper),
19347         (gst_basic_scheduler_src_wrapper),
19348         (gst_basic_scheduler_remove_element):
19349         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19350         Remove threadsafe properties. Fix elements because GObject
19351         complains when installing a property before declaring a
19352         set/get_property handler.
19353         Rearrange gstelement.h file, use STATE macros for state locks.
19354         Free mutexes in the finalize method instead of dispose.
19355
19356 2005-03-08  Wim Taymans  <wim@fluendo.com>
19357
19358         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19359         * gst/gstthread.c: (gst_thread_release_children_locks):
19360         Added parentage check.
19361         Fix build og GstThread again.
19362
19363 2005-03-08  Wim Taymans  <wim@fluendo.com>
19364
19365         * docs/design/part-MT-refcounting.txt:
19366         * docs/design/part-conventions.txt:
19367         * docs/design/part-gstobject.txt:
19368         * docs/design/part-relations.txt:
19369         * docs/design/part-standards.txt:
19370         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19371         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19372         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19373         (gst_bin_iterate_all_by_interface):
19374         * gst/gstbuffer.h:
19375         * gst/gstclock.h:
19376         * gst/gstelement.c: (gst_element_class_init),
19377         (gst_element_change_state), (gst_element_set_loop_function):
19378         * gst/gstelement.h:
19379         * gst/gstiterator.c:
19380         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19381         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19382         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19383         (gst_object_set_parent), (gst_object_unparent),
19384         (gst_object_check_uniqueness):
19385         * gst/gstobject.h:
19386         Docs updates, clean up some headers.
19387
19388 2005-03-07  Wim Taymans  <wim@fluendo.com>
19389
19390         * check/.cvsignore:
19391         * check/Makefile.am:
19392         * check/gst-libs/.cvsignore:
19393         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19394         * check/gst/.cvsignore:
19395         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19396         (START_TEST), (gstbus_suite), (main):
19397         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19398         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19399         (gst_data_suite), (main):
19400         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19401         (add_fold_func), (gstiterator_suite), (main):
19402         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19403         (thread_name_object), (thread_name_object_default),
19404         (gst_object_name_compare), (gst_object_suite), (main):
19405         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19406         (gst_pad_suite), (main):
19407         * check/gstcheck.c: (gst_check_log_message_func),
19408         (gst_check_log_critical_func), (gst_check_init):
19409         * check/gstcheck.h:
19410         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19411         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19412         Added checks.
19413
19414 2005-03-07  Wim Taymans  <wim@fluendo.com>
19415
19416         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19417         (gst_list_iterator_next), (gst_list_iterator_resync),
19418         (gst_list_iterator_free), (gst_iterator_new_list),
19419         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19420         (gst_iterator_free), (gst_iterator_push), (filter_next),
19421         (filter_resync), (filter_uninit), (filter_free),
19422         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19423         (gst_iterator_foreach), (find_custom_fold_func),
19424         (gst_iterator_find_custom):
19425         * gst/gstiterator.h:
19426         Added missing files.
19427
19428 2005-03-07  Wim Taymans  <wim@fluendo.com>
19429
19430         * Makefile.am:
19431         * configure.ac:
19432         * docs/design/part-MT-refcounting.txt:
19433         * docs/design/part-conventions.txt:
19434         * docs/design/part-gstobject.txt:
19435         * docs/design/part-relations.txt:
19436         * examples/mixer/mixer.c: (main):
19437         * examples/thread/thread.c: (eos), (main):
19438         * gst/Makefile.am:
19439         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19440         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19441         (gst_spider_plug_from_srcpad):
19442         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19443         (gst_spider_identity_change_state),
19444         (gst_spider_identity_sink_loop_type_finding):
19445         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19446         * gst/elements/gstidentity.c: (gst_identity_init):
19447         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19448         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19449         * gst/elements/gsttypefindelement.c: (free_entry):
19450         * gst/gst.c:
19451         * gst/gst.h:
19452         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19453         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19454         (gst_bin_set_index), (gst_bin_set_element_sched),
19455         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19456         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19457         (gst_bin_iterate_elements), (iterate_child_recurse),
19458         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19459         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19460         (compare_interface), (gst_bin_get_by_interface),
19461         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19462         * gst/gstbin.h:
19463         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19464         (gst_buffer_default_free), (gst_buffer_default_copy),
19465         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19466         (gst_buffer_create_sub):
19467         * gst/gstbuffer.h:
19468         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19469         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19470         (gst_caps_unref), (gst_static_caps_get),
19471         (gst_caps_remove_and_get_structure), (gst_caps_append),
19472         (gst_caps_append_structure), (gst_caps_remove_structure),
19473         (gst_caps_copy_nth), (gst_caps_set_simple),
19474         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19475         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19476         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19477         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19478         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19479         (gst_caps_structure_figure_out_union),
19480         (gst_caps_switch_structures), (gst_caps_do_simplify),
19481         (gst_caps_replace), (gst_caps_from_string),
19482         (gst_caps_copy_conditional):
19483         * gst/gstcaps.h:
19484         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19485         (_gst_clock_id_free), (gst_clock_id_unref),
19486         (gst_clock_id_compare_func), (gst_clock_id_wait),
19487         (gst_clock_id_wait_async), (gst_clock_class_init),
19488         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19489         (gst_clock_get_time), (gst_clock_set_time_adjust),
19490         (gst_clock_set_property), (gst_clock_get_property):
19491         * gst/gstclock.h:
19492         * gst/gstcompat.h:
19493         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19494         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19495         * gst/gstdata.h:
19496         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19497         (gst_element_requires_clock), (gst_element_provides_clock),
19498         (gst_element_set_clock), (gst_element_clock_wait),
19499         (gst_element_wait), (gst_element_set_time_delay),
19500         (gst_element_is_indexable), (gst_element_add_pad),
19501         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19502         (pad_compare_name), (gst_element_get_static_pad),
19503         (gst_element_request_pad), (gst_element_get_request_pad),
19504         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19505         (gst_element_class_get_pad_template_list),
19506         (gst_element_class_get_pad_template), (gst_element_error_func),
19507         (gst_element_get_random_pad), (gst_element_get_event_masks),
19508         (gst_element_send_event), (gst_element_seek),
19509         (gst_element_get_query_types), (gst_element_query),
19510         (gst_element_get_formats), (gst_element_convert),
19511         (gst_element_is_locked_state), (gst_element_set_locked_state),
19512         (gst_element_sync_state_with_parent), (gst_element_change_state),
19513         (gst_element_finalize), (gst_element_yield),
19514         (gst_element_interrupt), (gst_element_set_scheduler),
19515         (gst_element_get_scheduler), (gst_element_set_loop_function):
19516         * gst/gstelement.h:
19517         * gst/gstevent.h:
19518         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19519         (gst_format_get_by_nick), (gst_format_get_details),
19520         (gst_format_iterate_definitions):
19521         * gst/gstformat.h:
19522         * gst/gstindex.c: (gst_index_gtype_resolver):
19523         * gst/gstinfo.c:
19524         * gst/gstinfo.h:
19525         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19526         (gst_mem_chunk_free):
19527         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19528         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19529         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19530         (gst_object_dispatch_properties_changed),
19531         (gst_object_set_name_default), (gst_object_set_name),
19532         (gst_object_get_name), (gst_object_set_name_prefix),
19533         (gst_object_get_name_prefix), (gst_object_set_parent),
19534         (gst_object_get_parent), (gst_object_unparent),
19535         (gst_object_check_uniqueness), (gst_object_save_thyself),
19536         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19537         (gst_object_set_property), (gst_object_get_property),
19538         (gst_object_get_path_string):
19539         * gst/gstobject.h:
19540         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19541         (gst_real_pad_init), (gst_real_pad_get_property),
19542         (gst_pad_custom_new), (gst_pad_get_direction),
19543         (gst_pad_set_active), (gst_pad_is_active),
19544         (gst_pad_set_event_function), (gst_pad_is_linked),
19545         (gst_pad_link_free), (gst_pad_link_intersect),
19546         (gst_pad_link_fixate), (gst_pad_set_caps),
19547         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19548         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19549         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19550         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19551         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19552         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19553         (gst_pad_realize), (gst_pad_get_allowed_caps),
19554         (gst_real_pad_dispose), (gst_real_pad_finalize),
19555         (gst_pad_collectv), (gst_pad_collect_valist),
19556         (gst_pad_template_dispose), (gst_pad_template_new),
19557         (gst_pad_get_internal_links):
19558         * gst/gstpad.h:
19559         * gst/gstpipeline.c: (gst_pipeline_dispose),
19560         (gst_pipeline_change_state):
19561         * gst/gstpipeline.h:
19562         * gst/gstplugin.c:
19563         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19564         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19565         * gst/gstpluginfeature.h:
19566         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19567         * gst/gstquery.c: (_gst_query_type_initialize),
19568         (gst_query_type_register), (gst_query_type_get_by_nick),
19569         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19570         * gst/gstquery.h:
19571         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19572         * gst/gstscheduler.c: (gst_scheduler_add_element),
19573         (gst_scheduler_factory_create):
19574         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19575         (gst_structure_free), (gst_structure_set_name),
19576         (gst_structure_id_set_value), (gst_structure_set_value),
19577         (gst_structure_set_valist), (gst_structure_remove_field),
19578         (gst_structure_remove_fields),
19579         (gst_structure_remove_fields_valist),
19580         (gst_structure_remove_all_fields), (gst_structure_foreach),
19581         (gst_structure_map_in_place),
19582         (gst_caps_structure_fixate_field_nearest_int),
19583         (gst_caps_structure_fixate_field_nearest_double):
19584         * gst/gststructure.h:
19585         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19586         (gst_system_clock_init), (gst_system_clock_dispose),
19587         (gst_system_clock_async_thread),
19588         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19589         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19590         * gst/gstsystemclock.h:
19591         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19592         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19593         * gst/gsttaginterface.c:
19594         * gst/gstthread.c: (gst_thread_dispose),
19595         (gst_thread_release_children_locks), (gst_thread_change_state),
19596         (gst_thread_main_loop):
19597         * gst/gsttrashstack.h:
19598         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19599         * gst/gsttypes.h:
19600         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19601         (gst_element_request_pad), (gst_element_get_pad_from_template),
19602         (gst_element_request_compatible_pad),
19603         (gst_element_get_compatible_pad_filtered),
19604         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19605         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19606         (gst_element_link_many), (gst_element_link),
19607         (gst_element_link_pads), (gst_element_unlink_pads),
19608         (gst_element_unlink_many), (gst_element_unlink),
19609         (gst_pad_can_link_filtered), (gst_pad_can_link),
19610         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19611         (gst_object_default_error), (gst_bin_add_many),
19612         (gst_bin_remove_many), (gst_element_populate_std_props),
19613         (gst_element_class_install_std_props), (gst_buffer_merge),
19614         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19615         (link_fold_func), (gst_pad_proxy_setcaps):
19616         * gst/gstutils.h:
19617         * gst/gstvalue.c: (gst_value_deserialize_string):
19618         * gst/parse/grammar.y:
19619         * gst/schedulers/gstbasicscheduler.c:
19620         (gst_basic_scheduler_cothreaded_chain),
19621         (gst_basic_scheduler_chain_recursive_add),
19622         (gst_basic_scheduler_pad_link):
19623         * gst/schedulers/gstoptimalscheduler.c:
19624         (get_group_schedule_function),
19625         (gst_opt_scheduler_state_transition),
19626         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19627         * libs/gst/bytestream/bytestream.c:
19628         * libs/gst/dataprotocol/dataprotocol.c:
19629         (gst_dp_header_from_buffer):
19630         * po/nb.po:
19631         * po/ru.po:
19632         * tests/threadstate/threadstate2.c: (eos):
19633         * tools/gst-compprep.c: (main):
19634         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19635         (print_pad_info), (print_children_info):
19636         * tools/gst-launch.c: (idle_func), (main):
19637         * tools/gst-md5sum.c: (idle_func), (main):
19638         * tools/gst-xmlinspect.c: (print_element_info):
19639         First THREADED backport attempt, focusing on adding locks and
19640         making sure the API is threadsafe. Needs more work. More docs
19641         follow this week.
19642
19643 2005-02-24  Andy Wingo  <wingo@pobox.com>
19644
19645         * tests/bench-complexity.scm:
19646         * tests/complexity.gnuplot: New files, good for running complexity
19647         benchmarks.
19648
19649         * tests/Makefile.am:
19650         * tests/complexity.c: New test, sets up N elements, at each level
19651         teeing into M streams per element. Eeeenteresting.
19652
19653         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19654         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19655         running bench-mass_elements.scm.
19656
19657         * tests/bench-mass_elements.scm: New script, runs mass_elements
19658         for various numbers of identities, outputting the results to a
19659         file. Requires guile 1.6. Just for testing.
19660
19661 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * gst/schedulers/fairscheduler.c:
19664           compile with debug disabled
19665
19666 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19667
19668         * configure.ac:
19669           hunting season on 0.9 is now OPEN