tools/gst-launch.c: Added some comments here and there.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-15  Wim Taymans  <wim@fluendo.com>
2
3         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
4         (event_loop), (main):
5         Added some comments here and there.
6         Post an application message when an interrupt is caught instead of doing
7         an uncontrolled state change.
8         Clean up the event loop.
9         Handle buffering messages, pause/resume the pipeline.
10         Make shutdown because of an interrupt more reliable.
11
12 2006-09-15  Wim Taymans  <wim@fluendo.com>
13
14         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
16         (gst_base_sink_preroll_object):
17         Make sure that our internal state is correct when we commit our state
18         asynchronously. This solves a race where a state change to PLAYING
19         could cause the sink to remain blocked in preroll in some situations.
20
21 2006-09-15  Wim Taymans  <wim@fluendo.com>
22
23         * tools/gst-inspect.c: (print_element_properties_info),
24         (print_signal_info):
25         List flags as hex so it's easier to deal with.
26
27 2006-09-15  Wim Taymans  <wim@fluendo.com>
28
29         * docs/libs/gstreamer-libs-sections.txt:
30         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
31         (gst_base_sink_do_sync):
32         * libs/gst/base/gstbasesink.h:
33         Expose logic to wait for preroll so that subclasses such as audiosink
34         can also use this method.
35         API: gst_base_sink_wait_preroll()
36
37 2006-09-15  Wim Taymans  <wim@fluendo.com>
38
39         * gst/gstobject.c: (gst_object_set_parent):
40         * gst/gstpipeline.c: (do_pipeline_seek):
41         Small cleanups in docs and code.
42
43         * gst/gstsegment.c: (gst_segment_clip):
44         * tests/check/gst/gstsegment.c: (GST_START_TEST):
45         if stop == start and start is in the segment, no clipping should be
46         done. Also add a test for this.
47
48 2006-09-15  Wim Taymans  <wim@fluendo.com>
49
50         * docs/design/part-buffering.txt:
51         * docs/gst/gstreamer-sections.txt:
52         * gst/gstmessage.c: (gst_message_new_buffering),
53         (gst_message_parse_buffering):
54         * gst/gstmessage.h:
55         Added methods to create and parse BUFFERING messages.
56         Added preliminary docs about buffering.
57         API: gst_message_new_buffering
58         API: gst_message_parse_buffering
59
60 2006-09-06  Wim Taymans  <wim@fluendo.com>
61
62         * gst/gstbin.c:
63         Update documentation.
64
65         * gst/gstelement.c: (gst_element_class_init),
66         (gst_element_release_request_pad), (gst_element_set_clock),
67         (gst_element_get_index), (gst_element_add_pad),
68         (gst_element_remove_pad), (gst_element_get_random_pad),
69         (gst_element_send_event), (gst_element_get_query_types),
70         (gst_element_query), (gst_element_post_message),
71         (gst_element_message_full), (gst_element_continue_state),
72         (gst_element_lost_state), (gst_element_save_thyself),
73         (gst_element_restore_thyself):
74         Documentation updates.
75         Rename last bit of the new-pad -> pad-added signal rename.
76         Fix the case where an element query would only work if the source
77         pad was linked.
78         Avoid some useless type checking in message handling.
79
80         * gst/gstevent.c:
81         * gst/gstevent.h:
82         * gst/gstutils.c:
83         Documentation updates.
84
85 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
86
87         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
88           add an INFO line for when we actually update the fd
89
90 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
91
92         * configure.ac:
93           back to TRUNK
94
95 === release 0.10.10 ===
96
97 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
98
99         * configure.ac:
100           releasing 0.10.10, "Pais"
101
102 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
103
104         * docs/manual/advanced-position.xml:
105           Fix typo in sample code.
106
107 2006-09-05  Wim Taymans  <wim@fluendo.com>
108
109         * libs/gst/net/gstnetclientclock.c: (inet_aton),
110         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
111         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
112         * libs/gst/net/gstnetclientclock.h:
113         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
114         * libs/gst/net/gstnettimepacket.h:
115         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
116         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
117         (gst_net_time_provider_thread), (gst_net_time_provider_new):
118         * libs/gst/net/gstnettimeprovider.h:
119         Make stuff compile on windows. Fixes #345295.
120
121 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
122
123         * gst/gst.c: (ensure_current_registry_forking):
124           Print better details when child was terminated by signal.
125
126 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
127
128         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
129           Print a warning rather than g_assert() if a plugin feature
130           is a URI handler but returns no protocols (#353976).
131
132 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
133
134         * docs/random/moving-plugins:
135         Fix two typos.         
136
137 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
138
139         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
140           Fix locking order, handle NULL function values properly.
141
142         * gst/gstinfo.h:
143           Fix docs.
144
145         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
146           Initialise variable before using it and fix debug statement to
147           print the address of the function rather than the address of the
148           variable on the stack holding the address of the function.
149
150 2006-09-01  Wim Taymans  <wim@fluendo.com>
151
152         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
153         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
154         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
155         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
156         (gst_ghost_pad_parent_unset),
157         (gst_ghost_pad_internal_do_activate_push),
158         (gst_ghost_pad_internal_do_activate_pull),
159         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
160         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
161         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
162         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
163         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
164         (gst_ghost_pad_new_no_target_from_template),
165         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
166         More cleanups.
167         Avoid needless typechecking in macros.
168         Since the internal pad is always present and never changes, there is
169         no need to locking or ref when retrieving it.
170         Improve debugging a bit.
171         Handle link errors when setting the target. Fixes #341029.
172
173 2006-09-01  Wim Taymans  <wim@fluendo.com>
174
175         * docs/libs/gstreamer-libs-sections.txt:
176         * docs/plugins/gstreamer-plugins-sections.txt:
177         Fix docs some more.
178
179         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
180         (gst_collect_pads_event):
181         * libs/gst/base/gstcollectpads.h:
182         Documentation updates.
183         Free queued buffer when removing a pad.
184
185 2006-08-31  Michael Smith  <msmith@fluendo.com>
186
187         * gst/gstutils.c: (gst_element_link_pads),
188         (gst_element_link_pads_filtered):
189           Ensure that we set a capsfilter to NULL if we failed to link it
190           when doing filtered linking, to avoid criticals.
191
192           No need to check for unreffing srcpad, which is explicly NULLed
193           above (a trivial code cleanup).
194
195 2006-08-31  Wim Taymans  <wim@fluendo.com>
196
197         * docs/design/part-gstghostpad.txt:
198         Update ascii art in documentation.
199
200         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
201         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
202         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
203         (gst_ghost_pad_internal_do_activate_push),
204         (gst_ghost_pad_internal_do_activate_pull),
205         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
206         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
207         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
208         (gst_ghost_pad_set_target):
209         Small cleanups and leak fixes.
210         Remove some checks now that the internal pad is never NULL.
211         Fix the case where linking pads without a target would create nasty
212         criticals. Fixes #341029.
213         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
214         value of _set_target().
215
216         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
217         (gst_ghost_pad_suite):
218         Some more tests for creating and linking untargeted ghostpads.
219
220 2006-08-31  Edward Hervey  <edward@fluendo.com>
221
222         * docs/gst/gstreamer-sections.txt:
223         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
224         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
225         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
226         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
227         (gst_ghost_pad_new_from_template),
228         (gst_ghost_pad_new_no_target_from_template):
229         * gst/gstghostpad.h:
230         Refactored *_new() functions.
231         Templates are now used as a g_object_new() parameter.
232         Use template in _do_getcaps() if we don't have a target.
233         Small documentation cleanups.
234         Added two new constructors:
235         gst_ghost_pad_new_from_template()
236         gst_ghost_pad_new_no_target_from_template()
237         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
238         (gst_ghost_pad_suite):
239         Added tests for new ghostpad instanciation functions.
240
241         API additions: gst_ghost_pad_new_from_template,
242         gst_ghost_pad_new_no_target_from_template
243
244 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
245
246         * docs/random/ensonic/profiling.txt:
247           Ideas about qos profiling.
248
249 2006-08-29  Wim Taymans  <wim@fluendo.com>
250
251         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
252         Code cleanups.
253         Fix memleak.
254
255 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
256
257         * gst/gstxml.c:
258           Improve and detypofy docs.
259
260         * tests/check/Makefile.am:
261         * tests/check/gst/.cvsignore:
262         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
263           Add a basic test suite for GstXML.
264
265 2006-08-29  Wim Taymans  <wim@fluendo.com>
266
267         * gst/gstelement.c: (activate_pads), (clear_caps),
268         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
269         Clear the pad caps when the element shut down all of the pads and
270         is not streaming data that could modify the caps. 
271         Fixes #352958.
272
273 2006-08-28  Michael Smith  <msmith@fluendo.com>
274
275         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
276           Revert previous change; I misunderstood single-segment mode.
277
278 2006-08-28  Michael Smith  <msmith@fluendo.com>
279
280         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
281           Unset DISCONT on buffers when using single-segment mode.
282
283 2006-08-28  Wim Taymans  <wim@fluendo.com>
284
285         * gst/gstcaps.c: (gst_caps_merge_structure):
286         * gst/gstcaps.h:
287         Fix docs and indentation again.
288
289         * tests/check/gst/gstquery.c: (GST_START_TEST):
290         Fix leak in tests and add some more tests.
291
292 2006-08-28  Edward Hervey  <edward@fluendo.com>
293
294         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
295         Inform GstSegment of the last stop position in order for the current
296         segment to have a proper duration if it doesn't have a specific stop
297         position from which a duration could be calculated.
298         This bug was noticeable when a non-flushing, non-update new segment was
299         followed by another segment (all buffers from the new segment were being
300         dropped).
301
302 2006-08-28  Wim Taymans  <wim@fluendo.com>
303
304         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
305         Small comment update.
306
307         * plugins/elements/gstidentity.c: (gst_identity_class_init),
308         (gst_identity_transform_ip):
309         Drop-probability is broken, mention this in the code with a 
310         FIXME and also in the property description.
311         Make silent also be silent about the drop messages.
312
313 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
314
315         * docs/manual/appendix-win32.xml:
316           Remove mention of popt, we don't depend on that any
317           longer (#353136). Add some comments pointing out that
318           this section is slightly outdated.
319
320 2006-08-28  Wim Taymans  <wim@fluendo.com>
321
322         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
323
324         * gst/gstquery.c: (gst_query_new_segment):
325         * tests/check/gst/gstquery.c: (GST_START_TEST):
326         Initialize variables when creating a new segment query.
327         Fixes #353121.
328
329 2006-08-28  Wim Taymans  <wim@fluendo.com>
330
331         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
332
333         * gst/gstelement.c: (gst_element_get_bus):
334         * tests/check/gst/gstelement.c: (GST_START_TEST):
335         Check for NULL before _reffing the bus. Fixes #353122.
336
337 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
338
339         * docs/manual/basics-bus.xml:
340           Docs update: fix wrong callback return value explanation; add
341           some lines about the implicit relationship between main loop
342           and main context; remove duplicate main loop variable declaration.
343
344 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
345
346         * tests/check/gst/gstcaps.c: (GST_START_TEST):
347           Don't leak caps in unit test; add a few more simple
348           checks. 
349
350 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
351
352         * docs/gst/gstreamer-sections.txt:
353         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
354         (gst_caps_structure_is_subset), (gst_caps_merge),
355         (gst_caps_merge_structure):
356         * gst/gstcaps.h:
357         * libs/gst/base/gstbasetransform.c:
358         (gst_base_transform_transform_caps):
359         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
360           implement caps merging (fixes #352580)
361
362 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
363
364         * tools/Makefile.am:
365         * tools/gst-plot-timeline.py:
366           add debug-log plotting developer tool (#340674)
367
368 2006-08-23  Wim Taymans  <wim@fluendo.com>
369
370         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
371         (gst_pad_stop_task):
372         Improve debugging for task functions.
373
374         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
375         (gst_task_start), (gst_task_pause), (gst_task_join):
376         Make sure that the task function started and finished after a 
377         join(). 
378         Don't try to push the task function on the threadpool multiple
379         times.
380         Improve the g_warning message with some useful suggestions
381         about how to fix the problem. 
382
383 2006-08-23  Wim Taymans  <wim@fluendo.com>
384
385         * gst/gstutils.c: (gst_pad_proxy_getcaps):
386         Handle RESYNC correctly in _proxy_getcaps.
387
388 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
389
390         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
391         (gst_xml_parse_memory), (gst_xml_get_element):
392           Chain up to parent class in dispose function and also
393           unref the elements in the toplevel_elements GList.
394           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
395           Always return a reference in gst_xml_get_element() rather
396           than only sometimes.
397
398         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
399           Don't leak GstXml object.
400
401 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
402
403         * docs/gst/gstreamer-sections.txt:
404         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
405         (gst_caps_merge):
406         * gst/gstcaps.h:
407         * libs/gst/base/gstbasetransform.c:
408         (gst_base_transform_transform_caps):
409           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
410           in a better way
411
412 2006-08-21  Edward Hervey  <edward@fluendo.com>
413
414         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
415         Implement GObject::dispose virtual method in GstXML so we can free the
416         top_elements GList.
417
418 2006-08-21  Wim Taymans  <wim@fluendo.com>
419
420         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
421         (gst_buffer_create_sub):
422         Copy duration/offset_end/caps when creating a subbuffer of the
423         complete parent.
424         Make the subbuffer read-only when we make the metadata writable for
425         now. Fixes #351768.
426
427         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
428         Added check for metadata copy when creating subbuffers.
429
430 2006-08-21  Edward Hervey  <edward@fluendo.com>
431
432         * libs/gst/base/gstbasetransform.c:
433         (gst_base_transform_buffer_alloc):
434         Only call downstream buffer_alloc if transform element is passthrough
435         or always_in_place. Closes #350449.
436
437 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
438
439         * ChangeLog:
440           ChangeLog surgery to add comments to previous changes
441
442 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
443
444         * gst/gst.c:
445           Add comments
446
447         * gst/gstpad.c: (gst_pad_set_active):
448           Be more verbose in the log
449
450         * libs/gst/base/gstbasetransform.c:
451         (gst_base_transform_transform_caps):
452           Simplify caps to get rid of duplicates, fixes #345444
453
454 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
455
456         * gst/gstvalue.c:
457         * gst/gstvalue.h:
458           Use these optimizations only internally.
459
460 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
461
462         * gst/gstvalue.c: (gst_value_compare_list),
463         (gst_value_compare_fraction_range),
464         (gst_value_intersect_fraction_fraction_range),
465         (gst_value_intersect_fraction_range_fraction_range),
466         (gst_value_subtract_fraction_fraction_range),
467         (gst_value_subtract_fraction_range_fraction_range),
468         (gst_value_get_compare_func), (gst_value_compare),
469         (gst_value_compare_with_func):
470         * gst/gstvalue.h:
471           Saves the expensive lookup of the compare function in many cases
472          (#345444)
473
474 2006-08-18  Edward Hervey  <edward@fluendo.com>
475
476         * tests/check/gst/gstinfo.c: (gst_info_suite):
477         Disable test that require gstdebug if it wasn't built in core.
478
479 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
480
481         * docs/random/ensonic/logging.txt:
482           update ideas
483           
484         * gst/gstinfo.c: (gst_debug_log_default):
485           reorder fields, save some columns, add optional color codes for log
486           levels
487
488 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
489
490         * docs/random/ensonic/logging.txt:
491           add ideas about making the logs a bit more useful
492
493 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
494
495         * docs/pwg/advanced-events.xml:
496         * docs/pwg/titlepage.xml:
497           Update for 0.10 API (#340627). Add myself
498           to authors list.
499
500 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
501
502         * docs/libs/gstreamer-libs-docs.sgml:
503         * docs/libs/gstreamer-libs-sections.txt:
504         * libs/gst/check/gstbufferstraw.c:
505           Make gstcheck stuff show up in docs (still needs to
506           be documented properly though).
507
508 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
509
510         * docs/gst/gstreamer-sections.txt:
511         * gst/Makefile.am:
512         * gst/gst.c: (init_post):
513         * gst/gst_private.h:
514         * gst/gstquark.c: (_priv_gst_quarks_initialize):
515         * gst/gstquark.h:
516         * gst/gstquery.c: (gst_query_new_position),
517         (gst_query_set_position), (gst_query_parse_position),
518         (gst_query_new_duration), (gst_query_set_duration),
519         (gst_query_parse_duration), (gst_query_new_convert),
520         (gst_query_set_convert), (gst_query_parse_convert),
521         (gst_query_new_segment), (gst_query_set_segment),
522         (gst_query_parse_segment), (gst_query_new_seeking),
523         (gst_query_set_seeking), (gst_query_parse_seeking):
524         Add internal helpers for pre-registering quarks from static strings
525         and using the quark values directly instead of looking them up when
526         creating and parsing queries. Can be used for event construction too.
527         Closes #350432.
528
529 2006-08-16  Wim Taymans  <wim@fluendo.com>
530
531         * gst/gstbin.c:
532         Fix bogus docs.
533
534 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
535
536         * gst/gstutils.c: (gst_util_set_value_from_string):
537           Fix memleak (#351502).
538
539         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
540           Add unit test for most of gst_util_set_value_from_string()
541           (not that one would want to encourage use of this function).
542
543 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
544
545         * libs/gst/check/gstcheck.h:
546           Use const gchar * variables in fail_unless_equals_string
547           macro to avoid compiler warnings (and don't use tabs for
548           indenting).
549
550 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
551
552         * tools/gst-launch.c: (print_tag):
553           More space on the left for the tag names, to cater
554           for the 'extended comment' tag (not touching the
555           string for the first line since it's translated).
556
557 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
558
559         * libs/gst/check/gstcheck.h:
560           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
561           print something when they fail.
562
563 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
564
565         * docs/gst/gstreamer-sections.txt:
566         * gst/gsttaglist.c: (_gst_tag_initialize):
567         * gst/gsttaglist.h:
568           API: add GST_TAG_EXTENDED_COMMENT (#350935).
569           Also change merge function for GST_TAG_COMMENT to
570           use_first.
571
572 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
573
574         * gst/gstinfo.c: (gst_debug_print_object):
575           Make GST_PTR_FORMAT print messages as well.
576
577         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
578         (GST_START_TEST), (gst_info_suite):
579           More tests.
580
581 2006-08-14  Edward Hervey  <edward@fluendo.com>
582
583         * gst/gstelementfactory.c: (gst_element_register):
584         If the GstElementClass doesn't have a GstElementDetails with all fields
585         filled up correctly (longname, description AND author), then error out
586         nicely instead of crashing.
587
588 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
589
590         * gst/gststructure.c:
591           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
592
593         * gst/gstvalue.h:
594           Expand on the difference between arrays and lists as we use them.
595           
596 2006-08-14  Wim Taymans  <wim@fluendo.com>
597
598         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
599         If the parent state change function failed, don't assume we can safely
600         stop the source, this will be done when the pads are deactivated.
601
602 2006-08-14  Wim Taymans  <wim@fluendo.com>
603
604         * gst/gstbuffer.c:
605         * gst/gsttask.c: (gst_task_join):
606         Small doc updates.
607
608         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
609         (gst_pad_stop_task):
610         When pad (de)activation failed for some reason, restore the old
611         activation mode and set the pad to flushing instead of assuming the
612         pad is deactivated.
613         If the _task_join() failed, reinstall the task on the pad so that it can
614         be stopped later and return an error.
615
616 2006-08-11  Andy Wingo  <wingo@pobox.com>
617
618         * configure.ac:
619         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
620         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
621         is only for users of API that don't want to see deprecated
622         functions in the headers; people that want to compile out
623         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
624         CFLAGS. Fixes the build of multifdsink, or will soon..
625
626 2006-08-11  Wim Taymans  <wim@fluendo.com>
627
628         * docs/gst/gstreamer-sections.txt:
629         Add GstClockClass vmethod docs.
630
631         * gst/gstcaps.h:
632         Mark #endif with comment for associated #if
633
634         * gst/gstclock.c: (gst_clock_id_wait):
635         * gst/gstclock.h:
636         Add vmethod wait_jitter to avoid an unneeded _get_time() for
637         most clock implementations.
638         Document vmethods.
639         Flesh out docs about resolution methods.
640         API: GstClockClass::wait_jitter
641
642         * gst/gstsystemclock.c: (gst_system_clock_class_init),
643         (gst_system_clock_async_thread),
644         (gst_system_clock_id_wait_jitter_unlocked),
645         (gst_system_clock_id_wait_jitter):
646         Use base class wait_jitter variant for improved performance
647         due to less clock polling.
648
649 2006-08-11  Edward Hervey  <edward@fluendo.com>
650
651         * gst/gst.c: (gst_init_check), (init_post):
652         Set gst as being initialized before scanning/updating the registry,
653         since there might be my python plugin loader that calls gst_init() and
654         we don't want to loop back in.
655         Closes #350879
656
657 2006-08-11  Wim Taymans  <wim@fluendo.com>
658
659         * docs/design/part-qos.txt:
660         Bring docs in line with the code. Mostly the sign of the jitter was
661         wrong in the docs. Fixes #349943.
662
663         * gst/gstclock.c:
664         Fix the docs for the jitter.
665
666         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
667         (gst_event_parse_tag), (gst_event_new_buffer_size),
668         (gst_event_parse_buffer_size), (gst_event_parse_qos),
669         (gst_event_new_seek), (gst_event_parse_seek),
670         (gst_event_new_navigation):
671         Make sure the GstStructure has no parent when creating custom
672         events.
673         Add some more argument checking so that we avoid 0.0 rates.
674         Flesh out the docs for the QoS event some more.
675
676 2006-08-11  Wim Taymans  <wim@fluendo.com>
677
678         * docs/gst/gstreamer-sections.txt:
679         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
680         (ensure_current_registry_forking), (ensure_current_registry),
681         (parse_one_option), (parse_goption_arg), (gst_deinit),
682         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
683         * gst/gst.h:
684         Doc updates.
685         Added API and command line option to disable registry forking in
686         addition to the environment variable.
687         Constify some static arrays.
688         Added some more debug.
689         Don't deinit twice.
690         API: gst_registry_fork_is_enabled()
691         API: gst_registry_fork_set_enabled()
692         API: --gst-disable-registry-fork command line option
693         Fixes #348918.
694
695 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
696
697         * gst/gst.c: (gst_init):
698           Fix typo in error message.
699
700 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
701
702         * libs/gst/controller/gstcontroller.h:
703           fix ABI size-correction
704
705         * tests/check/libs/gdp.c: (gst_dp_suite):
706           make tests that use deprecated API conditional
707
708 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
709
710         * docs/libs/gstreamer-libs-sections.txt:
711         * libs/gst/controller/gstcontroller.c:
712         (_gst_controller_get_property), (_gst_controller_set_property),
713         (_gst_controller_init), (_gst_controller_class_init):
714         * libs/gst/controller/gstcontroller.h:
715         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
716         (gst_object_set_control_rate):
717           API: add gst_object_{s,g}et_control_rate(), add private data section,
718           fix docs
719
720         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
721         * libs/gst/dataprotocol/dataprotocol.h:
722           add deprecation guards to make gtk-doc happy and allow disabling cruft
723
724 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
725
726         * tests/check/Makefile.am:
727         * tests/check/gst/.cvsignore:
728           Let's enable the new unit test as well.
729
730 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
731
732         * configure.ac:
733         * docs/gst/gstreamer-sections.txt:
734         * gst/gstconfig.h.in:
735         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
736         (_gst_info_printf_extension_ptr),
737         (_gst_info_printf_extension_segment):
738           API: add GST_SEGMENT_FORMAT, which is a printf extension we
739           register that lets us easily dump GstSegments into debug
740           logs (#350419).
741
742         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
743         (info_segment_format_printf_extension), (gst_info_suite):
744           Add simple unit test that logs a bunch of different segments (not
745           valgrinded at the moment because of leaks in
746           gst_debug_add_log_function).
747
748 2006-08-09  Edward Hervey  <edward@fluendo.com>
749
750         * libs/gst/base/gstbasetransform.c:
751         (gst_base_transform_buffer_alloc):
752         Even if we can't figure out the proper format to request downstream,
753         call buffer_alloc() downstream with the input parameters without setting
754         the caps on the srcpad. This will force negotiation in the chain
755         function.
756         Closes #350449
757
758 2006-08-08  Edward Hervey  <edward@fluendo.com>
759
760         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
761         Unlinking from a pad without a target is now a perfectly valid case
762         which should NOT raise an assertion.
763         This case would happen if a linked ghostpad its target set to NULL after
764         it was previously linked.
765
766 2006-08-08  Edward Hervey  <edward@fluendo.com>
767
768         * tests/check/libs/gdp.c:
769         Also comment out the test (see below).
770
771 2006-08-08  Edward Hervey  <edward@fluendo.com>
772
773         * tests/check/libs/gdp.c: (gst_dp_suite):
774         Use the architecture information from config.h and not gcc macros
775         in order to properly disable a test that fails on PPC64.
776
777 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
778
779         * gst/gstelement.c: (gst_element_remove_pad):
780           Don't crash printing the warning if the pad has no parent.
781
782 2006-08-02  Wim Taymans  <wim@fluendo.com>
783
784         * libs/gst/dataprotocol/dataprotocol.c:
785         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
786         (gst_dp_crc), (gst_dp_header_payload_length),
787         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
788         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
789         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
790         (gst_dp_event_from_packet), (gst_dp_validate_header),
791         (gst_dp_validate_payload):
792         Make debug category static
793         Constify the crc table.
794         Do some more arg checking in public functions.
795         Fix some docs and do some small cleanups.
796
797         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
798         Add some more checks to see if GDP deals with bogus input.
799
800 2006-07-31  Wim Taymans  <wim@fluendo.com>
801
802         * gst/gstvalue.c: (gst_value_compare_list):
803         Fix GstValueList comparison code. Fixes #347293.
804
805         * tests/check/gst/gstvalue.c: (GST_START_TEST):
806         Check to test GstValueList comparison.
807
808 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
809
810         * gst/gstelementfactory.c: (gst_element_factory_create):
811         Remove unnecessary ref/unref pair
812
813         * gst/parse/grammar.y:
814         Make sure to free the parse buffer on all code paths.
815         Move a g_free up to the error handler where it's easier to see.
816
817         * tests/check/gst/gstevent.c: (test_event):
818         Extending timeout for downstream travelling events to 10 seconds to
819         hopefully avoid intermittent failure on the buildbots.
820
821         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
822         Don't manually set the state of the src element - it will happen as a
823         natural consequence of the pipeline changing state, and that way it
824         will do it in the right order too.
825
826 2006-07-31  Wim Taymans  <wim@fluendo.com>
827
828         * libs/gst/base/gstbasetransform.c:
829         (gst_base_transform_buffer_alloc):
830         Use OBJECT_LOCK and refcounting to get the pad caps in the
831         buffer_alloc function because the caps could change while we are
832         busy with them. Fixes #349105
833
834 2006-07-31  Wim Taymans  <wim@fluendo.com>
835
836         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
837         Protect _PAD_CAPS with OBJECT_LOCK.
838
839 2006-07-31  Wim Taymans  <wim@fluendo.com>
840
841         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
842         (gst_pad_get_property), (gst_pad_activate_pull),
843         (gst_pad_activate_push), (gst_pad_set_blocked_async),
844         (gst_pad_set_activate_function),
845         (gst_pad_set_activatepull_function),
846         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
847         (gst_pad_set_getrange_function),
848         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
849         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
850         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
851         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
852         (gst_pad_set_acceptcaps_function),
853         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
854         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
855         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
856         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
857         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
858         (gst_pad_configure_sink), (gst_pad_configure_src),
859         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
860         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
861         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
862         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
863         (gst_pad_send_event):
864         Use _DEBUG_OBJECT when it makes sense.
865         Protect GST_PAD_CAPS with the OBJECT_LOCK.
866         Small cleanups and code reflows.
867         Avoid caps refcounting in _accept_caps.
868         Refactor alloc_buffer so that the code performed on the peer is in a
869         separate function. Also if the pad does not implement a buffer alloc
870         function, we should still check if the pad is flushing before falling
871         back to the default allocator.
872
873 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
874
875         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
876         Make all uses of identity and fakesink have silent=true to avoid
877         serialising every passing data structure, which is breaking tests
878         on FC4 for some unknown reason.
879
880 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
881
882         * gst/parse/Makefile.am:
883         * gst/parse/grammar.y:
884         * gst/parse/parse.l:
885           Reverted previous patch as it required to bump the flex dependency to
886           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
887
888 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
889
890         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
891
892         * gst/parse/Makefile.am:
893         * gst/parse/grammar.y:
894         * gst/parse/parse.l:
895           push & pop the state of the lexer for reentrant use case
896           Fixes #349180
897
898 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
899
900         * libs/gst/base/gstbasesrc.h:
901           Note in the docs that the ::newsegment vfunc is not actually used by
902           GstBaseSrc.
903
904 2006-07-28  Wim Taymans  <wim@fluendo.com>
905
906         * libs/gst/base/gstcollectpads.c:
907         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
908         (gst_collect_pads_clear), (gst_collect_pads_flush),
909         (gst_collect_pads_event), (gst_collect_pads_chain):
910         When flushing a pad, also clear the queued buffer so that we don't
911         accidentally use it when we shouldn't.
912         Fix leaks by inreffing incomming buffer.
913         Flush out queued buffers in case of errors.
914         Fixes #347452.
915
916 2006-07-28  Wim Taymans  <wim@fluendo.com>
917
918         * docs/random/phonon-gst:
919         Random notes about a Phonon backend.
920
921 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
922
923         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
924         Extra debug output
925         * tests/check/libs/gdp.c: (gst_dp_suite):
926         Take a whack at fixing the ppc compile using a different define to
927         disable the broken test.
928
929         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
930         Remove excess g_print()
931
932 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
933
934         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
935         Oops, meant to uncomment this line too to dampen the noise a bit.
936
937 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
938
939         * gst/parse/grammar.y:
940         * gst/parse/parse.l:
941         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
942         (GST_START_TEST), (parse_suite):
943         Fix some of the leaks exposed by extending the parse-launch testsuite,
944         and move the 3 I can't figure out into a separate test that won't run
945         the pipelines unless the appropriate line is uncommented.
946
947 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
948
949         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
950           Requesting 0 bytes before the end of the file should result in
951           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
952           unit test.
953
954 2006-07-27  Wim Taymans  <wim@fluendo.com>
955
956         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
957         Fix useless assert, a uint is always positive.
958
959         * gst/gststructure.c: (gst_structure_nth_field_name),
960         (gst_structure_foreach), (gst_structure_map_in_place):
961         Check input arguments for public functions to avoid obvious crashes.
962
963         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
964         * plugins/elements/gstfakesink.h:
965         Do less useless typechecking.
966
967 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
968
969         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
970           Do not use mmap() by default since there are a number of error
971           conditions that we would like to handle in a non-fatal way that
972           will result in a SIGBUS if we use mmap(). Examples: external
973           devices (USB harddrive, portable music player) being unplugged
974           while in use; file on mounted CD/DVD that can't be read because
975           the medium is partly damaged. Fixes #348455 and #348475.
976
977 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
978
979         * gst/gstquery.h:
980         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
981         rates are a gdouble
982
983 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
984
985         * gst/gstregistry.c:
986           Move big documentation comment into class section header, so that it
987           appears in the API docs.
988
989 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
990
991         * docs/gst/gstreamer-sections.txt:
992         Oops. Commit the docs additions too for new API.
993         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
994
995 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
996
997         * gst/gststructure.c: (gst_structure_id_set),
998         (gst_structure_id_set_valist):
999         * gst/gststructure.h:
1000         Add API for setting values into structures without performing
1001         a quark lookup, if the appropriate quark is already known.
1002
1003         API: gst_structure_id_set
1004         API: gst_structure_id_set_valist
1005
1006         * gst/parse/grammar.y:
1007         * gst/parse/parse.l:
1008         Remove some dead code shown by the coverage information.
1009         Don't throw a critical g_warning when encountering a syntax error,
1010         just warn and let the normal error path handle it.
1011
1012         * plugins/elements/gstelements.c:
1013         Bump the rank of filesink up to PRIMARY so that it is preferred over
1014         gnomevfssink for file:// sink uri's
1015
1016         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1017         (GST_START_TEST), (run_delayed_test),
1018         (gst_parse_test_element_base_init),
1019         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1020         (gst_parse_test_element_change_state),
1021         (gst_register_parse_element), (parse_suite):
1022         Beef up the tests for parse syntax to check that more error cases
1023         fail as they are supposed to. Increases the test coverage a bit.
1024
1025 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1026
1027         * docs/manual/basics-elements.xml:
1028           Fix gst_element_link() example.
1029
1030         * gst/gstutils.c:
1031           Mention in API docs that one should usually gst_bin_add()
1032           elements to a bin or pipeline before doing the linking.
1033           
1034 2006-07-26  Wim Taymans  <wim@fluendo.com>
1035
1036         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1037         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1038         Avoid function call for known types by keeping the buffer and
1039         subbuffer GType global.
1040
1041         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1042         Random silly optimisations in read() path.
1043
1044 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1045
1046         * tools/gst-launch.c: (main):
1047           If the top-level of the parse is a normal bin, it doesn't do the
1048           right logic to run as a top-level element, so place it inside a
1049           pipeline.
1050
1051 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1052
1053         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1054           Remove superfluous g_object_notify() calls, GObject does
1055           that for us automatically.
1056
1057 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1058
1059         * gst/gstinfo.h:
1060           on Win32, use dllspec to export the debug category symbols
1061
1062 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1063
1064         * gst/gsttaglist.c: (_gst_tag_initialize):
1065           Allow more than one GST_TAG_IMAGE per taglist.
1066
1067 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1068
1069         * gst/gstminiobject.c:
1070           update docs
1071         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1072         (gst_fd_src_create):
1073           log recurring events at LOG level
1074           add more debug for when the fd gets set
1075
1076 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * gst/gstparse.c: (gst_parse_launch):
1079           Also remove reentrance checks if flex is MT safe (#348179)
1080          Fix my empty ChangeLog entry below
1081
1082 2006-07-21  Andy Wingo  <wingo@pobox.com>
1083
1084         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1085
1086         * libs/gst/check/Makefile.am
1087         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1088         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1089         * libs/gst/check/gstbufferstraw.h:
1090         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1091         functions, thus proving I am still a GStreamer haxor. OK I wrote
1092         them a long time ago, but anyways.
1093
1094 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * configure.ac:
1097         * gst/gstparse.c: (gst_parse_launch):
1098           Check for flex version and omit mutex if we have a MT save flex
1099           (fixes #348179)
1100
1101 2006-07-21  Wim Taymans  <wim@fluendo.com>
1102
1103         * gst/gstparse.c: (gst_parse_launch):
1104         Protect recursive calls to _parse with a recursive mutex
1105         and busy flag.
1106
1107 2006-07-21  Wim Taymans  <wim@fluendo.com>
1108
1109         * tests/check/gst/gstpad.c: (GST_START_TEST):
1110         Fix leak in test.
1111
1112 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1113
1114         * gst/gstparse.c: (gst_parse_launch):
1115           Do not hang on recursive usage of gst_parse_launch()
1116
1117 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1118
1119         * gst/gsttaglist.c:
1120           Add some more docs, comments and FIXME 0.11s here and there
1121           and also fix some typos.
1122
1123 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1124
1125         * gst/gstsegment.h:
1126           Convert tabs to spaces for better readability. 
1127
1128 2006-07-20  Edward Hervey  <edward@fluendo.com>
1129
1130         * tests/check/libs/gdp.c: (gst_dp_suite):
1131         the test_buffer test fails at line 140 on ppc64 at the following
1132         check:
1133         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1134                 GST_BUFFER_FLAG_IN_CAPS),
1135                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1136         See bug #348114 for more details.
1137
1138 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1139
1140         * docs/pwg/advanced-scheduling.xml:
1141         * gst/gstpad.c:
1142           Fix typos (#348000).
1143
1144 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1145
1146         * docs/pwg/intro-basics.xml:
1147           Fix wrong links (#347927).
1148
1149 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1150
1151         * gst/gstregistry.h:
1152         * gst/gstregistryxml.c: (load_feature),
1153         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1154         * win32/common/config.h:
1155           make --disable-index work (#342564)
1156
1157 2006-07-18  Wim Taymans  <wim@fluendo.com>
1158
1159         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1160
1161         * gst/Makefile.am:
1162         * gst/gsttrace.h:
1163         The attached patch adds two missing defines to gsttrace.h when tracing
1164         is disabled.  It also corrects one existing define.
1165         Fixes #347756.
1166
1167 2006-07-17  Wim Taymans  <wim@fluendo.com>
1168
1169         * docs/gst/gstreamer-sections.txt:
1170         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1171         * gst/gst.h:
1172         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1173         Add two functions to check and change the SIGSEGV behaviour
1174         when loading plugins.
1175         Don't mess with the SIGSEGV handler when we were told not to.
1176         Fixes #347794.
1177         API: gst_segtrap_is_enabled
1178         API: gst_segtrap_set_enabled
1179
1180 2006-07-14  Wim Taymans  <wim@fluendo.com>
1181
1182         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1183         * tests/check/elements/filesrc.c: (GST_START_TEST):
1184         Revert fix for regression in #347408 after release.
1185
1186 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1187
1188         Patch by: Antoine Tremblay <hexa00 at gmail com>
1189
1190         * gst/gstutils.c: (gst_element_unlink):
1191           Free iterator when done (#347311).
1192
1193         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1194           And add a test case for this.
1195
1196 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1197
1198         * configure.ac:
1199         Bump nano back to CVS
1200
1201 === release 0.10.9 ===
1202
1203 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1204
1205         * configure.ac:
1206           releasing 0.10.9, "On the road again"
1207
1208 2006-07-13  Wim Taymans  <wim@fluendo.com>
1209
1210         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1211         * tests/check/elements/filesrc.c: (GST_START_TEST):
1212         Revert pull-0 fix for release. Disable check. Fixes #347408.
1213
1214 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1215
1216         * libs/gst/dataprotocol/dataprotocol.c:
1217         (gst_dp_event_from_packet_1_0):
1218           Fixes #347337: failure to deserialize event packets with
1219           empty payload (only event type)
1220
1221 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1222
1223         * gst/Makefile.am:
1224           do not install a .c file in the header directory
1225
1226 2006-07-13  Edward Hervey  <edward@fluendo.com>
1227
1228         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1229         GhostPad no longer implicitely use the padtemplates of the targets.
1230         Fixes #347384
1231
1232 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1233
1234         * gst/gstvalue.c: (gst_value_compare_list),
1235         (gst_value_compare_array), (_gst_value_initialize):
1236         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1237         Make GstValueArray comparison be order dependent as designed.
1238         Add checks for value lists and value array comparisons.
1239         Fixes #347221
1240
1241 2006-07-11  Edward Hervey  <edward@fluendo.com>
1242
1243         * gst/gstbin.c: (activate_pads),
1244         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1245         (gst_bin_change_state_func):
1246         (de)activate src pads before calling state_change on the childs.
1247         This is to avoid the case where a src ghostpad is blocked (holding the
1248         stream lock), which would block the deactivation of the ghostpad's
1249         target pad.
1250         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1251         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1252         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1253         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1254         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1255         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1256         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1257         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1258         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1259         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1260         (gst_ghost_pad_class_init),
1261         (gst_ghost_pad_internal_do_activate_push),
1262         (gst_ghost_pad_internal_do_activate_pull),
1263         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1264         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1265         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1266         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1267         GhostPads now create their internal GstProxyPad at creation (and not
1268         when they're linked, as it was being done previously).
1269         The internal and target pads are linked straight away.
1270         The data will also travel through the other pad in order to make
1271         pad blocking and probes non-hackish (the probe/block now really happens
1272         on the GhostPad and not on the target).
1273         * gst/gstpad.c: (gst_pad_set_blocked_async),
1274         (gst_pad_link_prepare), (gst_pad_push_event):
1275         Remove previous ghostpad cruft.
1276         * gst/gstutils.c: (gst_pad_add_data_probe),
1277         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1278         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1279         (gst_pad_remove_buffer_probe):
1280         Remove previous ghost pad cruft.
1281         Added more detailed debug statements.
1282         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1283         Fix the testsuite for refcounting changes.
1284         The comments about who has references were correct, but the refcount
1285         being checked wasn't the same (!?!).
1286
1287         Fixes #341029
1288
1289 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1290
1291         * docs/gst/gstreamer-sections.txt:
1292         * gst/gstconfig.h.in:
1293         More docs for configuration options, add docs to gtk-doc.
1294
1295 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1296
1297         * gst/Makefile.am:
1298         * gst/gstconfig.h.in:
1299         * win32/common/config.h:
1300         Fix build when disabling tracing (fixes #344016). Also start to document
1301         the defines that disable the sub-systems.
1302
1303 2006-07-10  Edward Hervey  <edward@fluendo.com>
1304
1305         * gst/gst.c: (ensure_current_registry_forking):
1306         let's make valgrind happy...
1307
1308 2006-07-09  Wim Taymans  <wim@fluendo.com>
1309
1310         * gst/gstelement.c: (activate_pads),
1311         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1312         Better pad activation code: Reset the collect value too on resync.
1313         Add some comments.
1314
1315 2006-07-09  Wim Taymans  <wim@fluendo.com>
1316
1317         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1318         (gst_pad_activate_push):
1319         Use some more macros where it makes sense.
1320         Allow pad mode switching instead of asserting. When a pad
1321         is activated in one mode and we activate it in another, 
1322         deactivate it first before activating it in a different mode.
1323         Fixes #329198.
1324
1325 2006-07-08  Andy Wingo  <wingo@pobox.com>
1326
1327         * tools/gst-launch.c (main): Handle err == NULL.
1328
1329         * gst/gst.c (init_post, ensure_current_registry)
1330         (ensure_current_registry_forking)
1331         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1332         factoring out the registry scanning into separate functions. Don't
1333         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1334         Better environment var name/interface suggestions accepted.
1335
1336 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1337
1338         * gst/gstobject.c: (gst_object_set_name_default),
1339         (gst_object_set_name):
1340           Random micro-optimisation: don't use a hash table
1341           with strings as keys and the usual strdup/strcmp
1342           involved, but rather just use the GQuark of the
1343           type name as key, since it needs to be looked up
1344           anyway to get the type name string.
1345
1346         * tests/check/gst/gstobject.c: (GST_START_TEST):
1347           Fix various leaks.
1348
1349 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1350
1351         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1352         (gst_bin_iterate_all_by_interface):
1353           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1354           GTypes are gulongs and thus the top 4 bytes might be cut
1355           off on some platforms when doing GPOINTER_TO_INT, leading
1356           to invalid GTypes and bad things happening (see RH bug #179654).
1357           Also add a check to make sure the type passed in is really
1358           an interface type.
1359
1360 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1361
1362         * .cvsignore:
1363           Ignore more.
1364
1365 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1366
1367         * Makefile.am:
1368         * configure.ac:
1369         * gst-element-check.m4:
1370         * gst-element-check.m4.in:
1371           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1372           instead of the unversioned gst-inspect (#324176, #168659).
1373
1374 2006-07-06  Wim Taymans  <wim@fluendo.com>
1375
1376         * gst/gstmessage.h:
1377         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1378         warnings.
1379
1380 2006-07-06  Wim Taymans  <wim@fluendo.com>
1381
1382         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1383         (gst_base_src_wait), (gst_base_src_update_length),
1384         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1385         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1386         (gst_base_src_loop), (gst_base_src_start),
1387         (gst_base_src_activate_pull):
1388         Update docs.
1389         blocksize == 0 now means the default blocksize when working in push
1390         based mode.
1391         Remove some pointless asserts in _wait function.
1392         Fix offset/length calculations and EOS handling. We can now pull 0
1393         bytes as well, which is allowed.
1394         use _check_get_range() to decide if we can operate in _pull based
1395         mode.
1396         Fix refcounting leak when check_get_range function was not 
1397         implemented.
1398         API GstBaseSrc::blocksize range can be 0 too now (default)
1399
1400         * tests/check/elements/filesrc.c: (GST_START_TEST),
1401         (filesrc_suite):
1402         Added check to test _get_range() behaviour.
1403
1404 2006-07-06  Wim Taymans  <wim@fluendo.com>
1405
1406         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1407         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1408         (gst_pad_pull_range):
1409         * gst/gstpad.h:
1410         Lots of comments and docs added to the pad functions.
1411         Flesh out the expected behaviour of the get_range() functions.
1412
1413 2006-07-06  Wim Taymans  <wim@fluendo.com>
1414
1415         * gst/gstbus.h:
1416         * gst/gstclock.h:
1417         * gst/gstevent.h:
1418         * gst/gstiterator.h:
1419         * gst/gstpad.h:
1420         * gst/gstplugin.h:
1421         * gst/gsttask.h:
1422         Remove comma at end of enumerator list. 
1423
1424 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1425
1426         * win32/common/libgstbase.def:
1427         * win32/common/libgstdataprotocol.def:
1428         * win32/common/libsgtreamer.def:
1429         Add new exported functions.
1430
1431 2006-07-05  Wim Taymans  <wim@fluendo.com>
1432
1433         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1434         Add some more docs here and there.
1435
1436 2006-07-05  Wim Taymans  <wim@fluendo.com>
1437
1438         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1439         (gst_base_sink_loop), (gst_base_sink_get_position):
1440         When operating in pull mode update the offset so that we
1441         read sequentially.
1442
1443 2006-07-05  Wim Taymans  <wim@fluendo.com>
1444
1445         * gst/gstregistryxml.c: (read_string):
1446         Avoid strdup. (will happen in libxml, but hey!)
1447
1448         * gst/gsturi.c:
1449         Add some more docs.
1450
1451 2006-07-05  Wim Taymans  <wim@fluendo.com>
1452
1453         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1454         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1455         (gst_buffer_suite):
1456         No point in checking if the size of the subbuffer > 0, the
1457         code handles it correclty as demonstrated by unit test.
1458         Also add a unit test for the zero sized _new_and_alloc and
1459         _copy. Fixes #346663.
1460
1461 2006-07-05  Wim Taymans  <wim@fluendo.com>
1462
1463         * libs/gst/base/gstbasetransform.c:
1464         (gst_base_transform_prepare_output_buffer),
1465         (gst_base_transform_buffer_alloc),
1466         (gst_base_transform_handle_buffer):
1467         Make sure the buffer we pass to transform_ip has a refcount of
1468         1 and thus is writable. Fixes #343196
1469
1470 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1471
1472         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1473         (gst_file_src_init), (gst_file_src_set_property),
1474         (gst_file_src_get_property), (gst_file_src_map_region):
1475         * plugins/elements/gstfilesrc.h:
1476         Add "sequential" property, off by default, to use madvise and hint
1477         to the kernel that sequential access is desired.
1478         Touch all retrieved pages by default to ensure they are pulled
1479         into memory. (Closes #345720)
1480
1481 2006-07-03  Wim Taymans  <wim@fluendo.com>
1482
1483         * docs/design/part-block.txt:
1484         * docs/design/part-dynamic.txt:
1485         Small docs updates.
1486
1487 2006-07-03  Wim Taymans  <wim@fluendo.com>
1488
1489         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1490         (gst_caps_unref), (gst_static_caps_get),
1491         (gst_caps_append_structure):
1492         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1493         Use GSlice when the glib we build against is >= 2.10
1494
1495 2006-07-03  Wim Taymans  <wim@fluendo.com>
1496
1497         * gst/gstelement.c: (gst_element_pads_activate):
1498         Small cleanup in pad activation code.
1499
1500 2006-07-03  Wim Taymans  <wim@fluendo.com>
1501
1502         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1503
1504         * gst/gst-i18n-app.h:
1505         * gst/gst-i18n-lib.h:
1506         * tools/gst-inspect.c: (print_signal_info):
1507         The attached patch will make the inclusion of gettext.h unconditional in
1508         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1509         libintl.h in tools/gst-inspect.c.
1510         This allows use of --disable-nls again and fixes #344642.
1511
1512 2006-07-03  Edward Hervey  <edward@fluendo.com>
1513
1514         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1515         Implement pad blocking on events according to part-block.txt.
1516         More comments on behaviour.
1517         * tests/check/gst/gstevent.c: (test_event):
1518         Send event to peer pad of blocked pad (else it will block).
1519
1520 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1521
1522         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1523         (gst_check_run_suite):
1524           if we get the wrong message, give us the types as string
1525         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1526           Fix a translatable
1527         * tests/check/elements/filesrc.c: (GST_START_TEST):
1528           add a test for trying to open a non-existing file
1529
1530 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1531
1532         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1533           add a test for adding self
1534
1535 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1536
1537         * libs/gst/check/gstcheck.h:
1538           add some assert_ as alias for fail_unless_*
1539         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1540           increase test coverage
1541
1542 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1543
1544         * Makefile.am:
1545           include lcov.mak for lcov coverage generation
1546         * tools/Makefile.am:
1547           add to CLEANFILES
1548
1549 2006-07-02  Edward Hervey  <edward@fluendo.com>
1550
1551         * tests/check/elements/.cvsignore:
1552         moaping
1553
1554 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1555
1556         * configure.ac:
1557           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1558         * tests/check/Makefile.am:
1559           clean up gcov files
1560
1561 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1562
1563         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1564           remove gst_caps_simplify; it was not declared and not used
1565           and deprecated in 0.8
1566
1567 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1568
1569         * docs/faq/gst-uninstalled:
1570           don't put empty paths on PYTHONPATH
1571         * docs/gst/gstreamer-sections.txt:
1572           remove some symbols that are not there
1573
1574 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1575
1576         * gst/gstcaps.c: (gst_caps_compare_structures):
1577           whitespace fixes
1578         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1579         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1580           add more tests
1581
1582 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1583
1584         * libs/gst/dataprotocol/Makefile.am:
1585           build dataprotocol test by linking to the lib, instead of
1586           compiling the source, so we get coverage
1587         * tests/check/Makefile.am:
1588         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1589         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1590           add a test for filesrc
1591
1592 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1593
1594         * tests/check/gst/gststructure.c: (GST_START_TEST),
1595         (gst_structure_suite):
1596           Push coverage from 59.04% to 70.00%
1597
1598 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1599
1600         * tests/check/Makefile.am:
1601           gst-inspect every element; this makes sure that we also get
1602           coverage on element's get/set functions
1603
1604 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1605
1606         * configure.ac:
1607           set CFLAGS and friends to -O0 if gcov is being used
1608           add GCOV LIBS
1609         * gst/Makefile.am:
1610         * libs/gst/base/Makefile.am:
1611         * libs/gst/check/Makefile.am:
1612         * libs/gst/controller/Makefile.am:
1613         * libs/gst/dataprotocol/Makefile.am:
1614         * libs/gst/net/Makefile.am:
1615         * plugins/elements/Makefile.am:
1616         * plugins/indexers/Makefile.am:
1617           add makefile rules to generate gcov data and clean up
1618         * tests/check/Makefile.am:
1619           add a coverage target that generates an html overview
1620           of coverage data
1621
1622 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1623
1624         * tests/check/elements/fakesink.c:
1625         * tests/check/elements/fakesrc.c:
1626         * tests/check/elements/fdsrc.c:
1627         * tests/check/elements/identity.c:
1628         * tests/check/generic/sinks.c: (gst_sinks_suite):
1629         * tests/check/generic/states.c:
1630         * tests/check/gst/gst.c:
1631         * tests/check/gst/gstabi.c:
1632         * tests/check/gst/gstbin.c:
1633         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1634         * tests/check/gst/gstbus.c: (gst_bus_suite):
1635         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1636         * tests/check/gst/gstelement.c:
1637         * tests/check/gst/gstevent.c: (gst_event_suite):
1638         * tests/check/gst/gstghostpad.c:
1639         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1640         * tests/check/gst/gstmessage.c: (gst_message_suite):
1641         * tests/check/gst/gstminiobject.c:
1642         * tests/check/gst/gstobject.c:
1643         * tests/check/gst/gstpad.c:
1644         * tests/check/gst/gstpipeline.c:
1645         * tests/check/gst/gstplugin.c:
1646         * tests/check/gst/gstquery.c: (gst_query_suite):
1647         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1648         * tests/check/gst/gststructure.c:
1649         * tests/check/gst/gstsystemclock.c:
1650         * tests/check/gst/gsttag.c:
1651         * tests/check/gst/gsttask.c: (gst_task_suite):
1652         * tests/check/gst/gstutils.c:
1653         * tests/check/gst/gstvalue.c:
1654         * tests/check/libs/adapter.c:
1655         * tests/check/libs/basesrc.c:
1656         * tests/check/libs/collectpads.c:
1657         * tests/check/libs/controller.c:
1658         * tests/check/libs/gdp.c: (gst_dp_suite):
1659         * tests/check/libs/gstnetclientclock.c:
1660         * tests/check/libs/gstnettimeprovider.c:
1661         * tests/check/libs/libsabi.c: (libsabi_suite):
1662         * tests/check/libs/typefindhelper.c:
1663         * tests/check/pipelines/cleanup.c:
1664         * tests/check/pipelines/parse-launch.c:
1665         * tests/check/pipelines/simple-launch-lines.c:
1666         * tests/check/pipelines/stress.c: (stress_suite):
1667           use the new macro
1668
1669 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1670
1671         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1672         * libs/gst/check/gstcheck.h:
1673           create a macro and function so that the simple unit test
1674           case can be just one macro to create main()
1675
1676 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1677
1678         * gst/gstbin.c: (gst_bin_restore_thyself):
1679         * gst/gstxml.c: (gst_xml_make_element):
1680           Fix deserialisation from XML. Set parent manually
1681           instead of using gst_bin_add(), since gst_bin_add()
1682           will unlink all pads of the element being added.
1683           Fixes #341667.
1684
1685 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1686
1687         Patch by: Peter Kjellerstedt <pkj at axis com>
1688
1689         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1690           Fix missing g_strdup() and double free when using the
1691           --gst-plugin-load command line option (#346097).
1692
1693 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1694
1695         * gst/gstinfo.c:
1696           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1697
1698         * libs/gst/net/gstnetclientclock.c:
1699         * libs/gst/net/gstnettimeprovider.c:
1700           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1701
1702 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1703
1704         * docs/manual/advanced-dataaccess.xml:
1705           Fix buffer probe example compilation in
1706           ADM (#345708).
1707         
1708 2006-06-22  Edward Hervey  <edward@fluendo.com>
1709
1710         * gst/gstelement.c: (gst_element_pads_activate):
1711         We need to deactivate src pads first and then sink pads.
1712         The reason is the src pads might be blocking while holding the streaming
1713         lock, so we need to deactivate them first so that deactivating the sink
1714         pads doesn't block (since it will require the streaming lock).
1715
1716 2006-06-22  Wim Taymans  <wim@fluendo.com>
1717
1718         * libs/gst/base/gstbasetransform.c:
1719         (gst_base_transform_buffer_alloc):
1720         Forgot to remove two unneeded unrefs.
1721         Simplify a check _is_equal allready checks the obvious case.
1722
1723 2006-06-22  Wim Taymans  <wim@fluendo.com>
1724
1725         * docs/design/part-block.txt:
1726         Some docs about what pad_block should do.
1727
1728 2006-06-22  Wim Taymans  <wim@fluendo.com>
1729
1730         * gst/gstcaps.c: (gst_caps_replace):
1731         Fix crasher when passed NULL. Doc clarification.
1732         Optimize for the trivial case.
1733
1734         * gst/gstpipeline.c: (gst_pipeline_change_state):
1735         Small cleanups.
1736
1737         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1738         Small documentation cleanup.
1739
1740         * libs/gst/base/gstbasetransform.c:
1741         (gst_base_transform_buffer_alloc):
1742         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1743         is what we need and it avoids a whole lot of redundant 
1744         refcount operations.
1745
1746 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
1747
1748         Patch by: Philip Jägenstedt  <philip at lysator liu se>
1749
1750         * docs/manual/advanced-dataaccess.xml:
1751           Fix 'Embedding static elements' section to use
1752           GST_PLUGIN_DEFINE_STATIC (#345607).
1753
1754 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1755
1756         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1757           Attempt to 'fix' spuriously failing test case: it seems like the
1758           timeout of half a second is simply too small when the system is under
1759           load otherwise, and the timeout doesn't really seem to serve any
1760           particular purpose here. Give the pipeline a few seconds to preroll
1761           first, and then give it another half a second to go from PAUSED to
1762           PLAYING and marshal the message into the main thread.
1763
1764 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1765
1766         * tools/gst-feedback-m.m:
1767           Don't only use unversioned tools, try versioned tools as well
1768           (#345086).
1769
1770 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1771
1772         * gst/gstbus.c: (gst_bus_class_init):
1773           Fix some typos, make docs more explicit.
1774
1775 2006-06-20  Wim Taymans  <wim@fluendo.com>
1776
1777         * tests/check/gst/gstghostpad.c: (block_callback),
1778         (GST_START_TEST), (gst_ghost_pad_suite):
1779         Added some more ghostpad tests, mainly blocking
1780         and probes.
1781
1782 2006-06-16  Wim Taymans  <wim@fluendo.com>
1783
1784         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1785         (gst_file_sink_close_file), (gst_file_sink_do_seek),
1786         (gst_file_sink_event), (gst_file_sink_render):
1787         * plugins/elements/gstfilesink.h:
1788         Check if we can seek in the file instead of assuming
1789         we always can. Post an error when we are asked to seek in a
1790         non-seekable file (like a fifo). Fixes #343312.
1791         Some cleanups.
1792
1793 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1794
1795         * tools/gst-launch.1.in:
1796           Un-garble (fourcc) bit in filtered caps section.
1797
1798 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1799
1800         * docs/manual/advanced-autoplugging.xml:
1801         * docs/manual/basics-helloworld.xml:
1802         * docs/manual/highlevel-components.xml:
1803           Don't leak bus reference in sample code.
1804
1805 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
1806
1807         * autogen.sh:
1808           Add default for new --enable-plugin-docs switch.
1809
1810         * configure.ac:
1811           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1812           Fixes #344039.
1813
1814         * docs/Makefile.am:
1815           Use new ENABLE_PLUGIN_DOCS conditional.
1816
1817 2006-06-14  Wim Taymans  <wim@fluendo.com>
1818
1819         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1820         Make it clear with a FIXME and a real define what the #if 0
1821         previously disabled.
1822
1823 2006-06-14  Wim Taymans  <wim@fluendo.com>
1824
1825         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1826         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1827         * libs/gst/base/gstbasetransform.c:
1828         (gst_base_transform_sink_eventfunc):
1829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1830         Don't randomly and silently reset a segment when the format 
1831         changes as this is a bug somewhere upstream. Fixes #330379.
1832
1833 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1834
1835         Patch by: Wouter Paesen  <wouter at kangaroot net>
1836
1837         * libs/gst/controller/gstcontroller.c:
1838         (gst_controlled_property_new):
1839           Fix controlling of float properties (#344849).
1840
1841         * tests/check/libs/controller.c:
1842         (gst_test_mono_source_get_property),
1843         (gst_test_mono_source_set_property),
1844         (gst_test_mono_source_class_init), (GST_START_TEST):
1845           While we're at it, add some float stuff to unit test.
1846
1847 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1848
1849         * docs/README:
1850         * docs/images/gdp-header.svg:
1851           add a gdp image
1852         * docs/libs/Makefile.am:
1853         * docs/libs/gdp-header.png:
1854         * libs/gst/dataprotocol/dataprotocol.c:
1855           add it to the API docs
1856         * docs/manual/intro-motivation.xml:
1857           fix typo
1858
1859 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1860
1861         * gst/gst.c: (scan_and_update_registry), (init_post):
1862           If the fork()'ed child process can't write the updated registry cache
1863           file to disk for some reason, make it exit with a failure exit code,
1864           so that the parent can then re-scan the plugins itself and update the
1865           registry structures in memory and work with that (rather than failing
1866           when creating elements because seemingly no plugins are available).
1867           Refactor registry scanning code into separate function for this and
1868           also separate fork() and non-fork() code paths. Fixes #344748.
1869
1870 2006-06-13  Wim Taymans  <wim@fluendo.com>
1871
1872         * docs/manual/advanced-dataaccess.xml:
1873         Fix wrong PluginDesc. Fixes #344755.
1874
1875 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1876
1877         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1878           Fix silly bug that prevented us from creating
1879           ~/.gstreamer-0.10 and writing the registry in one
1880           go (the first call to g_mkstemp() would overwrite the
1881           placeholder in the template string, so the second call
1882           to g_mkstemp() after creating the missing directory
1883           would then error out with 'invalid argument').
1884
1885 2006-06-13  Edward Hervey  <edward@fluendo.com>
1886
1887         * gst/gst.c: (init_post):
1888         Free string.
1889
1890 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1891
1892         * gst/glib-compat-private.h:
1893         * gst/glib-compat.c:
1894         * gst/glib-compat.h:
1895         * gst/gstvalue.c: (gst_value_serialize_flags):
1896           remove GLib 2.6 compatibility code
1897
1898 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
1899
1900         * gst/parse/Makefile.am:
1901           Fix build with 'make -j N' even more (#340016).
1902
1903 2006-06-12  Wim Taymans  <wim@fluendo.com>
1904
1905         * docs/gst/gstreamer-sections.txt:
1906         Fix docs.
1907
1908 2006-06-12  Wim Taymans  <wim@fluendo.com>
1909
1910         * gst/gstsegment.c: (gst_segment_set_duration),
1911         (gst_segment_set_last_stop), (gst_segment_set_seek),
1912         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1913         (gst_segment_to_running_time), (gst_segment_clip):
1914         Use G_UNLIKELY to help the compiler a bit.
1915
1916 2006-06-12  Wim Taymans  <wim@fluendo.com>
1917
1918         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1919
1920         * gst/gstevent.c: (gst_event_get_type):
1921         * gst/gstmessage.c:
1922         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1923         (gst_pad_push):
1924         constify quark registration strings. Fixes #344115
1925         Avoid unneeded type checking is _pad_push() by internally
1926         calling gst_pad_chain_unchecked().
1927
1928 2006-06-12  Wim Taymans  <wim@fluendo.com>
1929
1930         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1931         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1932         (gst_subbuffer_finalize), (gst_buffer_create_sub),
1933         (gst_buffer_is_span_fast), (gst_buffer_span):
1934         Init _type for consistency.
1935         Use _FLAGS macro to avoid type check.
1936         Avoid unneeded type checks in subbufer code.
1937
1938 2006-06-12  Wim Taymans  <wim@fluendo.com>
1939
1940         * gst/gst.c: (gst_debug_help):
1941         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1942         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1943         (gst_plugin_feature_list_free):
1944         * gst/gstregistry.c: (gst_registry_add_plugin),
1945         (gst_registry_add_feature), (gst_registry_plugin_filter),
1946         (gst_registry_feature_filter), (gst_registry_find_plugin),
1947         (gst_registry_find_feature), (gst_registry_get_plugin_list),
1948         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1949         * gst/gstregistryxml.c: (load_feature),
1950         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1951         * gst/gstminiobject.c: (gst_mini_object_unref),
1952         (gst_mini_object_replace), (gst_value_mini_object_free),
1953         (gst_value_mini_object_copy):
1954         Use _CAST macros to avoid unneeded type checking.
1955         Added some more G_UNLIKELY.
1956
1957 2006-06-12  Wim Taymans  <wim@fluendo.com>
1958
1959         * gst/gstbuffer.h:
1960         Avoid unneeded type checking.
1961         API: GST_BUFFER_IS_DISCONT
1962
1963         * gst/gstminiobject.h:
1964         Avoid type check in flag accessor.
1965
1966         * gst/gstelementfactory.h:
1967         * gst/gstplugin.h:
1968         * gst/gstpluginfeature.h:
1969         Add _CAST macros.
1970         API: GST_ELEMENT_FACTORY_CAST
1971         API: GST_PLUGIN_CAST
1972         API: GST_PLUGIN_FEATURE_CAST
1973
1974 2006-06-12  Wim Taymans  <wim@fluendo.com>
1975
1976         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1977         (gst_object_unref):
1978         Add G_UNLIKELY in type registration.
1979         Avoid type check in _ref/_unref since that is also
1980         done in glib.
1981
1982 2006-06-12  Wim Taymans  <wim@fluendo.com>
1983
1984         * gst/gsterror.c: (gst_g_error_get_type):
1985         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1986         (gst_static_pad_template_get_type):
1987         * gst/gsttaglist.c: (gst_tag_list_get_type):
1988         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1989         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1990         * gst/gsturi.c: (gst_uri_handler_get_type):
1991         * gst/gstvalue.c: (gst_date_get_type):
1992         * gst/gstxml.c: (gst_xml_get_type):
1993         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1994         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1995         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1996         Add G_UNLIKELY in type registration.
1997
1998 2006-06-12  Wim Taymans  <wim@fluendo.com>
1999
2000         * tools/gst-inspect.c: (print_signal_info):
2001         Properly print enum values.
2002
2003 2006-06-12  Wim Taymans  <wim@fluendo.com>
2004
2005         * gst/gstinfo.c: (gst_debug_set_active),
2006         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2007         * gst/gstinfo.h:
2008         Add some G_[UN]LIKELY.
2009         Maintain __gst_debug_min to avoid formatting the arguments of
2010         debug messages that will be dropped anyway to avoid a lot of 
2011         overhead from the debugging system.
2012
2013 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2014
2015         * po/POTFILES.in:
2016         * po/POTFILES.skip:
2017           add missing files containing translatable strings, tell intltool about
2018           one exception
2019
2020 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2021
2022         * tests/check/libs/.cvsignore:
2023         add test-binary to ignore list
2024
2025 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2026
2027         * docs/libs/gstreamer-libs-docs.sgml:
2028         reorder (put dp into a chapter) and indent
2029
2030 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2031
2032         * configure.ac:
2033           back to HEAD
2034
2035 === release 0.10.8 ===
2036
2037 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2038
2039         * configure.ac:
2040           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2041
2042 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2043
2044         * gst/gst.c: (init_post):
2045           move pid declaration to declaration block
2046
2047 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2048
2049         * gst/gst.c: (init_post):
2050           use _exit() instead of exit() in our forked child; this ensures
2051           that none of the registered exit handlers from whatever is using
2052           GStreamer get executed.  This fixes gnome-mixer-applet failing
2053           to load, because ORBit would shut down.
2054           Spotted by: Edward Hervey  <edward@fluendo.com>
2055           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2056           Fixes #344474
2057
2058 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2059
2060         * configure.ac:
2061           back to TRUNK
2062
2063 === release 0.10.7 ===
2064
2065 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2066
2067         * configure.ac:
2068           releasing 0.10.7, "Soepeke, ik zie ou"
2069
2070 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2071
2072         * configure.ac:
2073         * po/af.po:
2074         * po/az.po:
2075         * po/bg.po:
2076         * po/ca.po:
2077         * po/cs.po:
2078         * po/de.po:
2079         * po/en_GB.po:
2080         * po/fr.po:
2081         * po/it.po:
2082         * po/nb.po:
2083         * po/nl.po:
2084         * po/ru.po:
2085         * po/sq.po:
2086         * po/sr.po:
2087         * po/sv.po:
2088         * po/tr.po:
2089         * po/uk.po:
2090         * po/vi.po:
2091         * po/zh_CN.po:
2092         * po/zh_TW.po:
2093         * win32/common/config.h:
2094           0.10.6.2 prerelease
2095
2096 2006-06-07  Wim Taymans  <wim@fluendo.com>
2097
2098         * gst/gstindex.c: (gst_index_gtype_resolver):
2099         * tools/gst-xmlinspect.c: (print_plugin_info):
2100         Fix leak spotted by coverity checker. Fixes #343827
2101         Fix another other leak found by paolo borelli.
2102
2103 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2104
2105         * libs/gst/dataprotocol/dataprotocol.c:
2106         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2107         (gst_dp_version_get_type), (gst_dp_init),
2108         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2109         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2110         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2111         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2112         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2113         (gst_dp_packetizer_free):
2114         * libs/gst/dataprotocol/dataprotocol.h:
2115           API: add a GstDPPacketizer object, and create/free functions
2116           API: add GstDPVersion enum
2117           Add 1.0 event function that uses the string serialization
2118           Serialize more useful buffer flags
2119           Fixes #343988
2120
2121 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2122
2123         * tests/check/Makefile.am:
2124         * tests/check/gst/gstabi.c:
2125         * tests/check/gst/struct_ppc64.h:
2126         * tests/check/libs/libsabi.c:
2127         * tests/check/libs/struct_ppc64.h:
2128           add ppc64 structure sizes
2129
2130 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2131
2132         * tests/check/Makefile.am:
2133         * tests/check/gst/gstabi.c:
2134         * tests/check/gst/struct_x86_64.h:
2135         * tests/check/libs/libsabi.c:
2136         * tests/check/libs/struct_x86_64.h:
2137           generate and add structure size lists for x86_64
2138
2139 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2140
2141         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2142         * libs/gst/check/gstcheck.h:
2143           factor out the method from tests that checks size of structures,
2144           and add code to generate the header containing these sizes
2145         * tests/check/gst/gstabi.c: (GST_START_TEST):
2146         * tests/check/gst/struct_i386.h:
2147         * tests/check/libs/libsabi.c: (GST_START_TEST):
2148         * tests/check/libs/struct_i386.h:
2149           use it
2150
2151 2006-06-06  Michael Smith  <msmith@fluendo.com>
2152
2153         * gst/gstsegment.h:
2154           Don't use c++-style comments, fixes #343929
2155
2156 2006-06-05  Edward Hervey  <edward@fluendo.com>
2157
2158         * gst/gst.c:
2159         plugin_paths is not used if we build without registry support.
2160
2161         * gst/gstsegment.c: (gst_segment_copy): 
2162         _copy() was always returning NULL...
2163
2164 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2165
2166         * libs/gst/dataprotocol/dataprotocol.c:
2167         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2168         (gst_dp_packet_from_event):
2169           factor out CRC code
2170
2171 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2172
2173         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2174           make sure we unset caps
2175
2176 2006-06-02  Michael Smith  <msmith@fluendo.com>
2177
2178         * libs/gst/check/gstcheck.c: (gst_check_init),
2179         (gst_check_chain_func):
2180         * libs/gst/check/gstcheck.h:
2181           Add a cond/mutex to the check support lib, signal this whenever we
2182           add to the buffers list. This will allow tests to not busy-wait on
2183           the buffer-list.
2184
2185 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2186
2187         * libs/gst/dataprotocol/dataprotocol.c:
2188         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2189         (gst_dp_packet_from_event):
2190           factor out some common header init code
2191
2192 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2193
2194         * docs/libs/gstreamer-libs-sections.txt:
2195         * docs/libs/tmpl/gstdataprotocol.sgml:
2196         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2197         * libs/gst/dataprotocol/dataprotocol.h:
2198           API: make gst_dp_crc() public
2199
2200 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2201
2202         * plugins/indexers/gstindexers.c: (plugin_init):
2203         conditionally register fileindexer (fixes #343598)
2204
2205 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2206
2207         * gst/gsttagsetter.h:
2208         Can't cast ifaces to a class
2209
2210         * libs/gst/net/gstnetclientclock.h:
2211         * libs/gst/net/gstnettimeprovider.h:
2212         * plugins/elements/gstfakesink.h:
2213         * plugins/elements/gstfakesrc.h:
2214         * plugins/elements/gstfdsink.h:
2215         * plugins/elements/gstfdsrc.h:
2216         * plugins/elements/gstfilesink.h:
2217         * plugins/elements/gstfilesrc.h:
2218         * plugins/elements/gstidentity.h:
2219         * plugins/elements/gstqueue.h:
2220         * plugins/elements/gsttee.h:
2221         * plugins/indexers/gstfileindex.c:
2222         * plugins/indexers/gstmemindex.c:
2223         * tests/old/examples/plugins/example.h:
2224         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2225
2226 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2227
2228         * libs/gst/dataprotocol/dataprotocol.c:
2229         (gst_dp_header_from_buffer):
2230           make sure we zero the whole ABI-compatible area
2231
2232 2006-06-01  Wim Taymans  <wim@fluendo.com>
2233
2234         Patch by: Alessandro Decina <alessandro at nnva dot org>
2235
2236         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2237         Make sure the EOS flag is cleared from pads after a flush
2238         or stop. Fixes #343538.
2239
2240         * tests/check/libs/collectpads.c: (GST_START_TEST),
2241         (gst_collect_pads_suite):
2242         Added test for collectpads reusage after EOS.
2243
2244 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2245
2246         * gst/gst.c:
2247          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2248         * win32/common/libgstbase.def:
2249          export gst_collect_pads_set_flushing
2250         * win32/common/libgstreamer.def:
2251          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2252          gst_value_fraction_multiply
2253         * win32/vs6/gst_inspect.dsp:
2254          add a link to intl.lib
2255
2256 2006-05-30  Wim Taymans  <wim@fluendo.com>
2257
2258         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2259         (gst_collect_pads_chain):
2260         Handle the case where a pad is removed from the collection
2261         that could cause the other pads to become collectable.
2262
2263 2006-05-30  Wim Taymans  <wim@fluendo.com>
2264
2265         * gst/gstelement.c:
2266         Clarify the use of _release_request_pad() and
2267         _get_request_pad() a bit better.
2268
2269         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2270         (gst_adapter_take_buffer):
2271         Fix some doc and comment typos.
2272
2273 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2274
2275         * docs/gst/gstreamer-sections.txt:
2276         * docs/libs/gstreamer-libs-sections.txt:
2277           add declared symbols
2278
2279 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2280
2281         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2282         Add debug that can be enabled using a #define at the top of the file,
2283         for dumping stats about how late/early we were when waking up from
2284         waiting on the clock.
2285
2286 2006-05-30  Wim Taymans  <wim@fluendo.com>
2287
2288         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2289         When rebuilding the pad list, don't leak the previous list.
2290
2291 2006-05-30  Wim Taymans  <wim@fluendo.com>
2292
2293         Patch by: Lutz Mueller <lutz at topfrose dot de>
2294
2295         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2296         (gst_base_src_get_query_types), (gst_base_src_update_length):
2297         Publish supported query types.
2298         Update last_stop field in get_range mode so the position
2299         query works. Fixes #342321.
2300
2301 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2302
2303         * docs/gst/gstreamer-sections.txt:
2304         * gst/gsttaglist.c: (_gst_tag_initialize):
2305         * gst/gsttaglist.h:
2306           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2307
2308 2006-05-30  Wim Taymans  <wim@fluendo.com>
2309
2310         Patch by: Alessandro Decina <alessandro at nnva dot org>
2311
2312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2313         Unlock mutex when removing an unknown pad.
2314         Fixes #343334.
2315
2316         * tests/check/Makefile.am:
2317         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2318         (push_event), (setup), (teardown), (GST_START_TEST),
2319         (gst_collect_pads_suite), (main):
2320         Added collecpads check, disabled for now as check crashes for
2321         some reason.
2322
2323 2006-05-29  Wim Taymans  <wim@fluendo.com>
2324
2325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2326         Don't leak pads lists.
2327
2328 2006-05-29  Wim Taymans  <wim@fluendo.com>
2329
2330         * docs/libs/gstreamer-libs-sections.txt:
2331         * libs/gst/base/gstcollectpads.c:
2332         (gst_collect_pads_set_flushing_unlocked),
2333         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2334         (gst_collect_pads_stop):
2335         * libs/gst/base/gstcollectpads.h:
2336         API: gst_collect_pads_set_flushing()
2337         Added api to set the pads to flushing, useful for seeking
2338         code in elements using collectpads.
2339         Clear segment when receiving a flush.
2340
2341 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2342
2343         * gst/gst.c: (add_path_func), (init_post):
2344           Don't scan registry paths passed via --gst-plugin-path immediately
2345           (will crash, because absolutely nothing is set up and no types are
2346           registered etc.); do this later in init_post(). Fixes #343057.
2347
2348 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2349
2350         * gst/gst.c: (init_post):
2351           if we have fork, fork while reading/rebuilding the registry
2352           so the parent doesn't take the hit of having all plugins loaded
2353           in memory.  Fixes #342777.
2354         * configure.ac:
2355           Check if we have fork()
2356         * win32/common/config.h.in:
2357           no fork() on win32
2358
2359 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2360
2361         * plugins/elements/gstelements.c:
2362         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2363         (gst_file_src_init), (gst_file_src_set_property),
2364         (gst_file_src_get_property), (gst_file_src_start):
2365         * plugins/elements/gstfilesrc.h:
2366           API: GstFileSrc::use-mmap
2367
2368         Add a use-mmap property to enable easier testing of all code paths.
2369         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2370         in the absence of gnomevfssrc. (Closes #340501)
2371
2372 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2373
2374         * tools/gst-inspect.c:
2375         Add missing include, removes warning of ngettext not being defined on
2376         some arches.
2377
2378 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2379
2380         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2381         Handle NULL input and output pointers silently as a failed conversion,
2382         rather than g_warnings.
2383
2384 2006-05-25  Wim Taymans  <wim@fluendo.com>
2385
2386         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2387         Initialize variable before using. Fixes #342820.
2388
2389 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2390
2391         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2392           Fix off-by-one bug that would only allow peeks of N-1 bytes
2393           from the start even if the buffer to typefind on contains
2394           in fact N bytes of data (makes vorbis typefinding from a
2395           vorbis identification header buffer work).
2396
2397         * tests/check/Makefile.am:
2398         * tests/check/libs/.cvsignore:
2399         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2400         (gst_typefindhelper_suite), (main), (foobar_typefind),
2401         (plugin_init):
2402           Add very basic unit test for gst_type_find_helper_for_buffer()
2403           that checks for the problem fixed above.
2404
2405 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2406
2407         * tools/gst-inspect.c: (print_interfaces),
2408         (print_element_properties_info), (print_element_list), (main):
2409           add more translatable strings
2410
2411 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2412
2413         Patch by: Julien Moutte  <julien at moutte net>
2414
2415         * docs/gst/gstreamer-sections.txt:
2416           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2417           
2418         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2419         (gst_fake_sink_preroll):
2420         * plugins/elements/gstfakesink.h:
2421           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2422
2423 2006-05-23  Wim Taymans  <wim@fluendo.com>
2424
2425         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2426         * gst/gstpad.h:
2427         Added _CUSTOM error and success GstFlowReturn that can be
2428         used be elements internally. 
2429         Added macro to check for SUCCESS flowreturns.
2430         API: GST_FLOW_CUSTOM_SUCCESS
2431         API: GST_FLOW_CUSTOM_ERROR
2432         API: GST_FLOW_IS_SUCCESS
2433
2434         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2435         Added check for GstFlowReturn sanity.
2436
2437 2006-05-23  Wim Taymans  <wim@fluendo.com>
2438
2439         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2440
2441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2442         (gst_collect_pads_event):
2443         clear/reset segment info in FLUSH_STOP.
2444         Fixes #336929.
2445
2446 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2447
2448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2449         (gst_collect_pads_check_collected):
2450         Flush queued buffer on _stop(), fixes playing again (#342454)
2451
2452 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2453
2454         * tests/check/gst/gststructure.c: (GST_START_TEST),
2455         (gst_structure_suite):
2456           add a test for a complete structure
2457
2458 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2459
2460         * docs/faq/developing.xml:
2461         * docs/faq/faq.xml:
2462         * docs/faq/troubleshooting.xml:
2463         * docs/faq/using.xml:
2464           Some minor FAQ updates that won't change the fact that
2465           our FAQ is badly structured, full of information hardly
2466           anyone new to GStreamer needs to know and lacking lots
2467           of information people constantly ask for.
2468           
2469 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2470
2471         * gst/gstpad.c: (gst_pad_set_caps):
2472           Short-circuit gst_pad_set_caps if setting the existing
2473           caps pointer again, and avoid printing debug and 
2474           reffing/unreffing the caps.
2475
2476         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2477           There's actually no need to set the caps before pushing -
2478           the acceptcaps method will handle it anyway.
2479
2480 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2481
2482         * docs/gst/gstreamer-sections.txt:
2483         * win32/common/libgstreamer.def:
2484         * gst/gstutils.c: (gst_element_seek_simple):
2485         * gst/gstutils.h:
2486           API: add gst_element_seek_simple() (#342238).
2487
2488 2006-05-18  Edward Hervey  <edward@fluendo.com>
2489
2490         * gst/gsttypefind.c: (gst_type_find_get_type):
2491         * gst/gsttypefind.h:
2492         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2493         registered for GstTypeFind pointers. This allows wrapping the structure
2494         in bindings (i.e. gst-python).
2495
2496 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2497
2498         * gst/gsttagsetter.c:
2499           Docs additions and fixes (see #339918).
2500
2501 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2502
2503         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2504         The caps intersection algorithm can produce multiple copies of the
2505         caps. Until that is fixed, we need to simplify the result to be
2506         sure whether the allowed caps are fixed or not.
2507
2508         * plugins/elements/gstqueue.c: (gst_queue_init),
2509         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2510         (gst_queue_push_one):
2511         Proxied buffer alloc should not set the caps on the source pad.
2512         When pushing buffers, we always accept the caps change that triggers.
2513         This prevents negotiation errors caused by caps changing mid-stream 
2514         and then being refused on our source pad (because upstream is now
2515         refusing those caps).
2516
2517 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2518
2519         * tests/examples/helloworld/helloworld.c: (main):
2520           Must plug audioconvert and audioresample between decoder
2521           and audio sink.
2522
2523 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2524
2525         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2526         (load_feature), (load_plugin):
2527         Allow empty strings for some of the plugin fields so we don't 
2528         drop valid plugin entries that were written out correctly
2529         (Fixes #341479)
2530
2531 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2532         
2533         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2534           Use g_remove and g_rename instead of remove and rename that don't 
2535           handle utf8 characters. rename was failing for users who had specific
2536           characters in their name then the registry was built at each 
2537           gstreamer init.
2538         * win32/vs6/gst_inspect.dsp:
2539         * win32/vs6/gst_launch.dsp:
2540         * win32/vs6/libgstbase.dsp:
2541         * win32/vs6/libgstcoreelements.dsp:
2542         * win32/vs6/libgstreamer.dsp:
2543           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2544           build of libgstreamer and clean unused libraries in projects link 
2545           settings.
2546
2547 2006-05-17  Edward Hervey  <edward@fluendo.com>
2548
2549         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2550         The queue is not responsible for pushing an EOS when receiving a fatal
2551         flow error. It's up to the real element driving the pipeline to do that.
2552
2553 2006-05-16  Edward Hervey  <edward@fluendo.com>
2554
2555         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2556         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2557         buffer returned a fatal error. It should just send an EOS and stop
2558         its task.
2559         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2560         when pushing buffers on the queue and will be able to handle the event.
2561
2562 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2563
2564         * docs/manual/basics-bins.xml:
2565         * docs/manual/basics-init.xml:
2566           Fix typos and minor errors in sample code (#341856).
2567
2568 2006-05-16  Wim Taymans  <wim@fluendo.com>
2569
2570         * docs/design/part-qos.txt:
2571         Fix indexes in formulas to make more sense.
2572
2573 2006-05-15  Wim Taymans  <wim@fluendo.com>
2574
2575         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2576         Don't report POSITION based on clock time if sync is
2577         disabled in a sink.
2578
2579 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2580
2581         * gst/gstobject.h:
2582           Add cast to make compiler happy - refcount variable was a gint
2583           in GstObject but is a guint in GObject and g_atomic_int_get()
2584           wants a gint *.
2585
2586 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2587
2588         * gst/parse/Makefile.am:
2589           chain commands using &&, which also makes parallel make work
2590
2591 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2592
2593         * docs/gst/gstreamer-sections.txt:
2594         * gst/gstevent.c:
2595         * gst/gstevent.h:
2596         * gst/gstmessage.h:
2597           Minor docs fixes.
2598
2599 === release 0.10.6 ===
2600
2601 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2602
2603         * configure.ac:
2604           releasing 0.10.6, "Take the cannoli"
2605
2606 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2607
2608         * tools/gst-launch.c: (print_tag):
2609           Fix use of uninitialized variable in the hypothetical
2610           case that some broken plugin creates a GST_TAG_IMAGE
2611           tag containing a NULL buffer (#341667).
2612
2613 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2614
2615         * tools/gst-launch.c: (print_tag):
2616           Print something more intelligible for image tags when
2617           using the -t switch (#341556).
2618
2619 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2620
2621         * Makefile.am:
2622           updates for win32
2623         * configure.ac:
2624           define GST_MAJORMINOR so we have it available in win32/common/config.h
2625           Possibly remove it from our Makefile.am files later
2626         * win32/common/config.h:
2627         * win32/common/config.h.in:
2628           added GST_MAJORMINOR
2629         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2630         * win32/common/gstversion.h:
2631           updated
2632
2633 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2634
2635         * win32/MANIFEST:
2636           Update win32 files listing.
2637         * win32/common/gstversion.h:
2638           Add GST_MAJORMINOR definition.
2639         * win32/common/libgstreamer.def:
2640           Add new exported functions.
2641           
2642 2006-05-12  Michael Smith  <msmith@fluendo.com>
2643
2644         * gst/gstplugin.c: (gst_plugin_load_file):
2645           If an so file has no plugin entry point, unload the module.
2646
2647 2006-05-11  Wim Taymans  <wim@fluendo.com>
2648
2649         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2650         (gst_queue_set_property):
2651         Don't forget to signal the _chain or _loop function 
2652         when the queue size or thresholds change since that might
2653         cause them to make progres again.
2654
2655 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2656
2657         * gst/gstclock.c: (gst_clock_class_init):
2658         * gst/gstindex.c: (gst_index_class_init):
2659         * gst/gstobject.c: (gst_object_class_init):
2660         * gst/gstpad.c: (gst_pad_class_init):
2661         * gst/gstpipeline.c: (gst_pipeline_class_init):
2662         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2663         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2664         * libs/gst/base/gstbasetransform.c:
2665         (gst_base_transform_class_init):
2666         * libs/gst/net/gstnetclientclock.c:
2667         (gst_net_client_clock_class_init):
2668         * libs/gst/net/gstnettimeprovider.c:
2669         (gst_net_time_provider_class_init):
2670         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2671         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2672         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2673         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2674         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2675         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2676         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2677         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2678         * plugins/elements/gsttee.c: (gst_tee_class_init):
2679         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2680         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2681           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2682
2683 2006-05-11  Wim Taymans  <wim@fluendo.com>
2684
2685         * gst/gstbuffer.c: (_gst_buffer_initialize):
2686         Register subbufer along with the buffer type so that
2687         it does not accidentally gets registered from N
2688         different streaming threads in a non threadsafe way.
2689
2690 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2691
2692         * gst/gstbuffer.h:
2693         * gst/gstevent.h:
2694         * gst/gstmessage.h:
2695           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2696           gst_event_ref() and gst_message_ref() functions again
2697           (ugly hack, please do fix if there's a better way besides
2698           overrides.txt, which doesn't seem to work).
2699
2700 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2701
2702         * libs/gst/check/gstcheck.h:
2703           add an assert for setting state to avoid lots of repetitive code
2704           in the future
2705
2706 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2707
2708         * gst/gstvalue.c: (gst_value_serialize_flags):
2709           fix a leak if no flags are set
2710         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2711           fix leak in tests
2712
2713 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2714
2715         * docs/manual/basics-pads.xml:
2716           Expand a bit on caps and filtered links and update
2717           examples that were still using the no longer existing
2718           gst_pad_link_filtered() (#338206).
2719
2720 2006-05-10  Wim Taymans  <wim@fluendo.com>
2721
2722         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2723         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2724         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2725         (gst_collect_pads_stop):
2726         * libs/gst/base/gstcollectpads.h:
2727         No need to call _stop in _finalize.
2728         Iterate the main pad list in _finalize.
2729         Added some more debug.
2730         Free lists and data in the right order.
2731         Also free data whem doing _remove_pad when stopped for
2732         backward compatibility protect ::started with PAD_LOCK as
2733         well.
2734
2735 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2736
2737         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2738         (gst_structure_parse_value):
2739           add some comments
2740           rename a method so that it actually says what it does better
2741
2742 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2743
2744         * gst/gstevent.c: (_gst_event_initialize):
2745         * gst/gstformat.c: (_gst_format_initialize):
2746           make sure some essential types used by events are registered
2747           as part of gst_init()
2748         * gst/gstvalue.c: (gst_value_serialize_flags):
2749           if no flags are set, serialize them to a value that represents NONE
2750           so that deserializing them works
2751         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2752           add tests for serialization and deserialization of flags
2753
2754 2006-05-10  Wim Taymans  <wim@fluendo.com>
2755
2756         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2757         (gst_collect_pads_collect_range), (gst_collect_pads_available),
2758         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2759         (gst_collect_pads_event), (gst_collect_pads_chain):
2760         Update docs.
2761         Better debug info.
2762         Catch and return errors from the collect function
2763         Refuse data on eos pads.
2764
2765 2006-05-10  Edward Hervey  <edward@fluendo.com>
2766
2767         * gst/gstinterface.h:
2768         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2769         GInterface type checking.
2770         They were previously using non-defined macros.
2771
2772 2006-05-09  Wim Taymans  <wim@fluendo.com>
2773
2774         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2775         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2776         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2777         (gst_collect_pads_start), (gst_collect_pads_stop),
2778         (gst_collect_pads_peek), (gst_collect_pads_pop),
2779         (gst_collect_pads_available), (gst_collect_pads_read),
2780         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2781         (gst_collect_pads_is_collected), (gst_collect_pads_event),
2782         (gst_collect_pads_chain):
2783         * libs/gst/base/gstcollectpads.h:
2784         Clean up the mess that is collectpads, add comments and
2785         FIXMEs where needed.
2786         Maintain a separate pad list so we can add pads while
2787         collecting the other ones. For this we need a new separate 
2788         lock (see comics).
2789         Fix memory leak in finalize.
2790         Refactor some weird code to set/unset pad flushing flags, mark
2791         with comments.
2792         Don't crash in _available, _read, _flush when we're EOS.
2793
2794         * tests/check/libs/.cvsignore:
2795         Ignore adapter check binary.
2796
2797 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2798
2799         * gst/gstindex.c: (gst_index_resolver_get_type):
2800         * plugins/elements/gstfakesink.c:
2801         (gst_fake_sink_state_error_get_type):
2802         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2803         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2804         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2805           Const-ify GEnumValue arrays.
2806
2807 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2808
2809         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2810           Add test case for flags + gst_buffer_make_metadata_writable().
2811
2812 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2813
2814         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2815           gst_buffer_make_metadata_writable() should maintain the
2816           buffer flags (those that make sense at least) (see #340859).
2817
2818 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2819
2820         * tools/gst-inspect.c:
2821         * tools/gst-launch.c:
2822         * tools/gst-typefind.c:
2823         * tools/gst-xmlinspect.c:
2824         * tools/tools.h:
2825           Fix up includes: need to include stdlib.h in tools.h for exit().
2826
2827 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * gst/gsttaglist.c: (_gst_tag_initialize):
2830         * gst/gsttaglist.h:
2831           API: add GST_TAG_IMAGE tag (#340721).
2832
2833 2006-05-08  Wim Taymans  <wim@fluendo.com>
2834
2835         * gst/gstquery.c:
2836         Added some docs for the segment query.
2837
2838 2006-05-08  Wim Taymans  <wim@fluendo.com>
2839
2840         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2841         (gst_base_src_loop), (gst_base_src_change_state):
2842         Always push non-flushing serialized events in the streaming 
2843         thread.
2844
2845 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2846
2847         * gst/gsterror.c: (_gst_stream_errors_init):
2848           Add a missing error string.
2849
2850 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
2851
2852         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2853         Add applied_rate to the debug
2854
2855         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2856         Copy applied_rate into the outgoing NEWSEGMENT event
2857
2858 2006-05-08  Wim Taymans  <wim@fluendo.com>
2859
2860         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2861
2862         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2863         (gst_base_sink_change_state):
2864         call ::unlock before taking the PREROLL_LOCK so we can safely
2865         handle elements that lock in ::render.
2866         Fixes #340174.
2867
2868 2006-05-08  Edward Hervey  <edward@fluendo.com>
2869
2870         * autogen.sh: (CONFIGURE_DEF_OPT): 
2871         Darwin's libtoolize is in fact called glibtoolize.
2872         Adding glibtoolize to the list of accepted names for libtoolize.
2873
2874 2006-05-08  Wim Taymans  <wim@fluendo.com>
2875
2876         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2877         Unify error handling, don't post an error message
2878         when a push() returns EOS but perform our normal EOS
2879         handling code. Fixes #340772.
2880
2881 2006-05-08  Wim Taymans  <wim@fluendo.com>
2882
2883         * docs/design/part-overview.txt:
2884         Make upsteam/downstream concepts more clear.
2885         Give an example of serialized/non-serialized events.
2886
2887         * docs/design/part-events.txt:
2888         * docs/design/part-streams.txt:
2889         Mention applied_rate.
2890
2891         * docs/design/part-trickmodes.txt:
2892         Mention applied rate, flesh out some more use cases.
2893
2894         * gst/gstevent.c: (gst_event_new_new_segment),
2895         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2896         (gst_event_parse_new_segment_full), (gst_event_new_tag),
2897         (gst_event_parse_tag), (gst_event_new_buffer_size),
2898         (gst_event_parse_buffer_size), (gst_event_new_qos),
2899         (gst_event_parse_qos), (gst_event_parse_seek),
2900         (gst_event_new_navigation):
2901         * gst/gstevent.h:
2902         Add applied_rate field to NEWSEGMENT event.
2903         API: gst_event_new_new_segment_full()
2904         API: gst_event_parse_new_segment_full()
2905
2906         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2907         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2908         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2909         * gst/gstsegment.h:
2910         Add applied_rate to GstSegment structure.
2911         Make calculation of stream_time and running_time more correct
2912         wrt rate/applied_rate.
2913         Add some more docs.
2914         API: GstSegment::applied_rate field
2915         API: gst_segment_set_newsegment_full();
2916
2917         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2918         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2919         * libs/gst/base/gstbasetransform.c:
2920         (gst_base_transform_sink_eventfunc),
2921         (gst_base_transform_handle_buffer):
2922         Parse and use applied_rate in the GstSegment field.
2923
2924         * tests/check/gst/gstevent.c: (GST_START_TEST):
2925         Add check for applied_rate field.
2926
2927         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2928         (gstsegments_suite):
2929         Add more checks for various GstSegment operations.
2930
2931 2006-05-08  Wim Taymans  <wim@fluendo.com>
2932
2933         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2934         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2935         (gst_base_sink_get_position), (gst_base_sink_change_state):
2936         Store the sync time of the buffer end position separatly in a
2937         new variable eos_rtime so we can properly sync the EOS event.
2938         Fixes #340697.
2939         Fix the docs for gst_base_sink_set_qos_enabled().
2940         Don't set segment start to invalid value when we receive a 
2941         non TIME newsegment.
2942         get closer to handling position reporting for negative rates 
2943         correctly.
2944
2945 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2946
2947         * gst/gstcaps.c:
2948         Docs about how to print caps for debug purposes.
2949
2950         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2951         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2952
2953 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2954
2955         * gst/gstelement.c:
2956           use full enum names and preprend a '%' in docs strings to make recent 
2957           gtk-doc turn that into a link
2958
2959 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2960
2961         * docs/manual/basics-bins.xml:
2962         * docs/manual/basics-bus.xml:
2963         * docs/manual/basics-pads.xml:
2964           Some typo fixes, some additions, some clarifications. 
2965
2966 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2967
2968         * tools/gst-inspect.c: (main):
2969         * tools/gst-launch.c: (main):
2970         * tools/gst-run.c: (main):
2971         * tools/gst-typefind.c: (main):
2972         * tools/gst-xmlinspect.c: (main):
2973           Use the string passed to g_option_context_new() for
2974           what it's intended for - the program name is already
2975           printed elsewhere.
2976
2977 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2978
2979         * tools/Makefile.am:
2980         * tools/gst-inspect.c: (main):
2981         * tools/gst-launch.c: (main):
2982         * tools/gst-xmlinspect.c: (main):
2983         * tools/tools.h:
2984           Add back --version command line option (#340460).
2985
2986         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2987           Add --version option and use GOption for argument parsing; refactor a
2988           bit; accept directories as arguments and recurse into them; lastly,
2989           print a decent error message when things go wrong.
2990
2991 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2992
2993         * docs/manual/basics-bins.xml:
2994         Don't mention GstThread (#340611)
2995         * docs/manual/basics-elements.xml:
2996         Update link to GObject tutorial (#340607)
2997         
2998 2006-05-05  Wim Taymans  <wim@fluendo.com>
2999
3000         * gst/gstbuffer.h:
3001         * gst/gstminiobject.c:
3002         Add note about refcounting and miniobject/buffer writeability
3003         to docs. Fixes #340604
3004
3005         * gst/gstelementfactory.h:
3006         Added some explanation about @klass.
3007
3008 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3009
3010         * docs/manual/intro-motivation.xml:
3011         * docs/manual/manual.xml:
3012         Avoid CORBA & Bonobo references (#340598)
3013
3014 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3015
3016         * docs/manual/basics-bus.xml:
3017         * docs/manual/basics-pads.xml:
3018         Fix up some inaccuracies and omissions (#340609)
3019         
3020 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3021
3022         * gst/gstghostpad.c:
3023           Small typo in docs (#340625)
3024
3025 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3026
3027         * gst/parse/Makefile.am:
3028           Make 'make -j' proof (see #340698).
3029
3030 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3031
3032         * configure.ac:
3033           Require GLib-2.8 here as well.
3034
3035 2006-05-05  Wim Taymans  <wim@fluendo.com>
3036
3037         * gst/glib-compat.c:
3038         * gst/gst.c: (init_pre):
3039         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3040         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3041         (gst_object_dispatch_properties_changed):
3042         * gst/gstobject.h:
3043         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3044         * gst/gststructure.c: (gst_structure_set_valist):
3045         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3046         Remove pre glib2.8 compatibility, fixes #340508
3047
3048 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3049
3050         * gst/gsttaglist.h:
3051           Mention type of tags in doc blurbs.
3052
3053 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3054
3055         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3056         (gst_pad_configure_src), (gst_pad_push):
3057         Restore acceptcaps checking behaviour now that good plugins have
3058         been released.
3059
3060 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3061
3062         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3063
3064         * gst/gst.c:
3065         * gst/gstbus.c:
3066         * gst/gstclock.c:
3067         * gst/gstevent.c:
3068         * gst/gstformat.c:
3069         * gst/gstmessage.c:
3070         * gst/gstparse.c:
3071         * gst/gstquery.c:
3072         * gst/gstutils.c:
3073         * gst/parse/Makefile.am:
3074         * libs/gst/base/gstadapter.c:
3075         * libs/gst/base/gstbasesrc.c:
3076         * libs/gst/base/gstpushsrc.c:
3077         * libs/gst/base/gsttypefindhelper.c:
3078         * plugins/elements/gstfakesrc.c:
3079         * plugins/elements/gstidentity.c:
3080           Make sure gstprivate.h and/or config.h are
3081           always included first, otherwise some of our
3082           defines (like _FILE_OFFSET_BITS) might be
3083           redefined in the system headers. Fixes build
3084           on opensolaris (#340016).
3085
3086 2006-05-04  Wim Taymans  <wim@fluendo.com>
3087
3088         * docs/libs/gstreamer-libs-sections.txt:
3089         API: addition: gst_adapter_take_buffer()
3090         
3091         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3092         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3093         (gst_adapter_available_fast):
3094         * libs/gst/base/gstadapter.h:
3095         Prepare for optimizing the hell out of this hugely inefficient
3096         piece of code. 
3097         Added gst_adapter_take_buffer() so we can at least start thinking
3098         about subbuffering and merging.
3099         Added some comments.
3100
3101         * tests/check/Makefile.am:
3102         * tests/check/libs/adapter.c: (GST_START_TEST),
3103         (gst_adapter_suite), (main):
3104         Added GstAdapter check.
3105
3106 2006-05-04  Wim Taymans  <wim@fluendo.com>
3107
3108         * docs/design/part-overview.txt:
3109         Fix some typos, add blurb about buffer flags.
3110
3111 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3112
3113         * docs/libs/gstreamer-libs-sections.txt:
3114           make sure GstBaseTransformClass shows up in the docs
3115         * libs/gst/base/gstbasetransform.c:
3116         * libs/gst/base/gstbasetransform.h:
3117           move docs so gtk-doc picks it up now
3118
3119 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3120
3121         * docs/libs/gstreamer-libs-sections.txt:
3122           add missing symbols to docs
3123
3124 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3125
3126         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3127           back out the newsegment handling change, see #340060 for ongoing
3128           discussion
3129
3130 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3131
3132         * tools/gst-run.c: (get_candidates), (main):
3133           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3134           work); fix typo in error message. Fixes #340079.
3135
3136 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3137
3138         * common/Makefile.am:
3139         * docs/Makefile.am:
3140         * docs/faq/Makefile.am:
3141         * docs/gst/Makefile.am:
3142         * docs/libs/Makefile.am:
3143         * docs/manual/Makefile.am:
3144         * docs/plugins/Makefile.am:
3145         * docs/pwg/Makefile.am:
3146         * docs/slides/Makefile.am:
3147         * docs/upload.mak:
3148         * common/upload.mak:
3149           move upload.mak to common
3150
3151 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3152
3153         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3154           add more asserts on refcounts
3155           do more cleanup at end of tests
3156           fix test leaks showing in FC5
3157
3158 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3159
3160         * plugins/elements/gsttypefindelement.c:
3161         (gst_type_find_element_handle_event):
3162         reverted wrong change and reflowed code to avoid others falling into
3163         this trap
3164
3165 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3166
3167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3168           fix changelog entry about last collectpads change,
3169           add notes about proper fix
3170
3171 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3172
3173         * gst/gst.c:
3174         * gst/gstregistry.c: (gst_registry_scan_path_level),
3175         (gst_registry_scan_path):
3176         * gst/gstregistry.h:
3177           only write out registry if it has changed, fixes #338339
3178
3179 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * gst/gstbin.c:
3182         * gst/gstpipeline.c:
3183         * plugins/elements/gstcapsfilter.c:
3184         * plugins/elements/gstfakesink.c:
3185         * plugins/elements/gstfakesrc.c:
3186         * plugins/elements/gstfdsink.c:
3187         * plugins/elements/gstfdsrc.c:
3188         * plugins/elements/gstfilesink.c:
3189         * plugins/elements/gstfilesrc.c:
3190         * plugins/elements/gstidentity.c:
3191         * plugins/elements/gstqueue.c:
3192         * plugins/elements/gsttee.c:
3193         * plugins/elements/gsttypefindelement.c:
3194         (gst_type_find_element_handle_event):
3195           make GstElementDetails const
3196
3197 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3200         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3201         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3202           more detailed debug and formatting cleanup,
3203           forward newsegments to src-pad (so that e.g. adder not eats them)
3204
3205 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3206
3207         * gst/gstutils.c: (gst_element_link_pads):
3208           cleanup double code
3209
3210 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3211
3212         * libs/gst/controller/gstcontroller.c:
3213         (gst_controller_sync_values):
3214           some little tuning
3215         * tests/check/libs/controller.c: (GST_START_TEST),
3216         (gst_controller_suite):
3217           a new test for live value handling
3218
3219 2006-04-28  Wim Taymans  <wim@fluendo.com>
3220
3221         * gst/gstutils.c: (push_and_ref):
3222         Added some more docs.
3223         Fix refcount issue whith gst_element_found_tags() helper 
3224         function. Fixes #338335
3225
3226         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3227         Added testsuite for gst_element_found_tags().
3228
3229 2006-04-28  Michael Smith  <msmith@fluendo.com>
3230
3231         * gst/gstvalue.c: (gst_value_serialize_flags):
3232           Avoid NULL dereference when trying to serialize flags containing
3233           invalid values.
3234
3235 2006-04-28  Michael Smith  <msmith@fluendo.com>
3236
3237         * plugins/elements/gsttypefindelement.c:
3238         (gst_type_find_element_handle_event):
3239           If we get EOS before any data is accumulated, don't use
3240           uninitialised local variables.
3241
3242 2006-04-28  Michael Smith  <msmith@fluendo.com>
3243
3244         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3245         (gst_dp_event_from_packet):
3246           Fixes in reading/writing events over GDP (not currently used?) - 
3247           dereferencing NULL events for unknown/invalid event types, memory
3248           leak, and change g_warning to GST_WARNING.
3249
3250 2006-04-28  Wim Taymans  <wim@fluendo.com>
3251
3252         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3253         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3254         (gst_base_sink_get_position), (gst_base_sink_change_state):
3255         When frame dropping is enabled, we should not ignore frames
3256         without a duration.
3257         Update some documentation.
3258
3259 2006-04-28  Wim Taymans  <wim@fluendo.com>
3260
3261         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3262         (gst_base_src_send_event), (gst_base_src_change_state):
3263         Documentation updates.
3264
3265 2006-04-28  Wim Taymans  <wim@fluendo.com>
3266
3267         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3268         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3269         handle EAGAIN, EINTR and short writes correctly. Also clean
3270         up some error cases, avoid a deadlock on bad file descriptors and
3271         use GST_DEBUG_OBJECT.
3272         Fixes #339843
3273
3274 2006-04-28  Wim Taymans  <wim@fluendo.com>
3275
3276         * gst/gstvalue.c: (gst_value_serialize_buffer),
3277         (gst_value_deserialize_buffer):
3278         Don't try to serialize a GValue with a NULL buffer. 
3279         Fixes #339821.
3280
3281         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3282         Added check for serialisation of NULL buffers.
3283
3284 2006-04-28  Wim Taymans  <wim@fluendo.com>
3285
3286         * gst/gstminiobject.c: (gst_value_take_mini_object):
3287         Taking a NULL miniobject is valid, fix the case where
3288         we try to unref the NULL miniobject.
3289
3290 2006-04-28  Wim Taymans  <wim@fluendo.com>
3291
3292         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3293
3294         * gst/gstbin.c: (gst_bin_handle_message_func):
3295         Update docs.
3296         Don't leak bin refcount when a state recalc is
3297         in progress and we delay another one #339808.
3298
3299 2006-04-28  Wim Taymans  <wim@fluendo.com>
3300
3301         * docs/design/part-TODO.txt:
3302         Mention QoS as an ongoing work item.
3303
3304         * docs/design/part-buffering.txt:
3305         New doc about buffering that needs to be fleshed out
3306         at some point.
3307
3308         * docs/design/part-qos.txt:
3309         More QoS policy for decoders/demuxers/transforms
3310
3311         * docs/design/part-trickmodes.txt:
3312         Small update.
3313
3314 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3315
3316         * configure.ac:
3317           back to HEAD
3318
3319 === release 0.10.5 ===
3320
3321 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3322
3323         * configure.ac:
3324           releasing 0.10.5, "Fogo"
3325
3326 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3327
3328         patch by: Wim Taymans
3329
3330         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3331         (gst_pad_configure_src), (gst_pad_push):
3332         * gst/gstpipeline.c: (gst_pipeline_init):
3333           Fix internal data flow errors.  Fixes #338711.
3334
3335 2006-04-12  Wim Taymans  <wim@fluendo.com>
3336
3337         * tests/check/gst/gstelement.c: (GST_START_TEST):
3338         Don't leak the factory.
3339
3340 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3341
3342         * configure.ac:
3343         * win32/common/config.h:
3344           prerelease
3345
3346 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3347
3348         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3349         (gst_controller_unset_all):
3350           Free allocated GstTimedValues when freeing list nodes.
3351           Should fix leaks 'make check-valgrind' complains about.
3352
3353         * win32/common/libgstcontroller.def:
3354           Add gst_controller_unset_all.
3355
3356 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * docs/libs/gstreamer-libs-sections.txt:
3359         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3360         (gst_controller_unset_all):
3361         * libs/gst/controller/gstcontroller.h:
3362         API: Added new method gst_controller_unset_all()
3363         fixed gst_controller_unset()
3364         * tests/check/libs/controller.c: (GST_START_TEST),
3365         (gst_controller_suite):
3366         Added two testcases for new and fixed method
3367
3368 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3369
3370         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3371           MSG_DONTWAIT is not defined on Cygwin, so work
3372           around that (fixes #317048).
3373           
3374 2006-04-11  Wim Taymans  <wim@fluendo.com>
3375
3376         * gst/gstelementfactory.c: (gst_element_register),
3377         (gst_element_factory_create), (gst_element_factory_make):
3378         Some cleanups.
3379         Fixed a FIXME.
3380         Updated docs (Fixes #131079)
3381
3382         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3383         Small cleanups.
3384
3385         * tests/check/gst/gstelement.c: (GST_START_TEST),
3386         (gst_element_suite):
3387         Added testcase for elementfactory class field.
3388
3389 2006-04-10  Wim Taymans  <wim@fluendo.com>
3390
3391         * gst/gstsegment.c:
3392         Added some more docs.
3393
3394         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3395         (gst_base_sink_reset_qos):
3396         Calculate more accurate rate values.
3397
3398 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3399
3400         * gst/gst_private.h:
3401           add a new #ifdef to use __declspec(dllimport) only for
3402           other modules and not for gstreamer core
3403         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3404           use gst_guint64_to_gdouble for conversion
3405         * win32/common/libgstreamer.def:
3406           add new exported functions
3407         * win32/vs6/gst_inspect.dsp:
3408         * win32/vs6/gst_launch.dsp:
3409         * win32/vs6/libgstbase.dsp:
3410         * win32/vs6/libgstcontroller.dsp:
3411         * win32/vs6/libgstcoreelements.dsp:
3412         * win32/vs6/libgstdataprotocol.dsp:
3413         * win32/vs6/libgstnet.dsp:
3414           update project files
3415
3416 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3417
3418         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3419         * gst/gstclock.c: (gst_clock_class_init):
3420         * gst/gstelement.c: (gst_element_class_init):
3421         * gst/gstindex.c: (gst_index_class_init):
3422         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3423         * gst/gstobject.c: (gst_object_class_init),
3424         (gst_signal_object_class_init):
3425         * gst/gstpad.c: (gst_pad_class_init):
3426         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3427         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3428         * gst/gstregistry.c: (gst_registry_class_init):
3429         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3430         * gst/gsttask.c: (gst_task_class_init):
3431         * gst/gstxml.c: (gst_xml_class_init):
3432         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3433         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3434         (gst_base_src_loop):
3435         * libs/gst/controller/gstcontroller.c:/
3436         (_gst_controller_class_init):
3437         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3438         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3439         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3440         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3441         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3442         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3443
3444 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3445
3446         * gst/gstpad.c: (gst_pad_link):
3447           Must set peer pads before calling the link function, otherwise
3448           a task started from a link function might get a flow-not-linked
3449           result when trying to push because the other thread where the
3450           linking happens hasn't had a chance to set the peers yet. This
3451           might happen for example when a queue gets linked to a downstream
3452           element, as queue starts a streaming task when its source pad
3453           gets linked. Happens in real life when playing back flac/musepack
3454           files in playbin (#332390).
3455           
3456 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3457
3458         * gst/gstindex.h:
3459         * gst/gstxml.h:
3460         * libs/gst/base/gstadapter.h:
3461         * libs/gst/base/gstbasesink.h:
3462         * libs/gst/base/gstbasesrc.h:
3463         * libs/gst/base/gstbasetransform.h:
3464         * libs/gst/base/gstcollectpads.h:
3465         * libs/gst/base/gstpushsrc.h:
3466         Fix broken GObject macros
3467
3468 2006-04-07  Wim Taymans  <wim@fluendo.com>
3469
3470         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3471         Initialize start and stop times, thanks valgrind.
3472
3473 2006-04-07  Wim Taymans  <wim@fluendo.com>
3474
3475         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3476         Be a bit nicer to badly behaving upstream elements that expect
3477         us to deal with non TIME segments and timestamps (such as fakesrc
3478         in the testsuite).
3479
3480 2006-04-07  Wim Taymans  <wim@fluendo.com>
3481
3482         * gst/gstbus.c:
3483         Small documentation clarification about the signal watch.
3484
3485         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3486         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3487         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3488         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3489         (gst_base_sink_get_position_last),
3490         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3491         Convert and store timestamps in stream time and running time, the
3492         raw timestamps are not usefull, also document this better.
3493         Use different window sizes for good and bad QoS observations so
3494         we react to badness a little quicker.
3495         Keep track of the amount of rendered and dropped buffers.
3496         Send QoS timestamps in running time.
3497
3498         * libs/gst/base/gstbasetransform.c:
3499         (gst_base_transform_sink_eventfunc),
3500         (gst_base_transform_handle_buffer):
3501         Compare QoS timestamps against running time.
3502
3503 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3504
3505         * gst/gstpad.c:
3506           Typo fixes in docs.
3507
3508 2006-04-06  Michael Smith  <msmith@fluendo.com>
3509
3510         * gst/gstpad.c: (gst_pad_set_property):
3511           Use g_value_get_object() instead of g_value_dup_gst_object(),
3512           to avoid double-reffing the pad template (which we then sink,
3513           so this worked previously if (and only if) the pad template
3514           was floating.
3515
3516         * gst/gstpadtemplate.c: (gst_pad_template_init),
3517         (gst_pad_template_pad_created):
3518           Never return floating references to pad templates, create
3519           them as initially-sunken.
3520
3521           Document an extra function (and make this stop sinking our
3522           pad template, since that is now guaranteed to do nothing,
3523           since we created it sunken).
3524
3525         * gst/gstghostpad.c:
3526           Fix docs typo.
3527
3528 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3529
3530         * gst/gstinfo.c: (__gst_in_valgrind):
3531           Add some newlines.
3532
3533         * plugins/elements/gsttypefindelement.c:
3534         (gst_type_find_element_chain):
3535           Don't leak buffer caps.
3536
3537 2006-04-06  Michael Smith  <msmith@fluendo.com>
3538
3539         * gst/parse/grammar.y:
3540           Fix a leak in parse-launch for any source-or-sink named element 
3541           references used.
3542
3543         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3544           Unref the pipeline if it exists after we've failed parsing.
3545
3546 2006-04-05  Michael Smith  <msmith@fluendo.com>
3547
3548         * gst/gstpipeline.c: (gst_pipeline_init):
3549           When we create a pipeline bus, initially create it in flushing mode.
3550           Fixes leaks in at least one test, and makes a new pipeline work the
3551           same as one that has gone to READY and then back to NULL.
3552
3553         * gst/gstelement.c:
3554           Typo fix in docs.
3555
3556 2006-04-05  Michael Smith  <msmith@fluendo.com>
3557
3558         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3559           Unref a pad we reffed.
3560         * tests/check/gst/gstutils.c: (GST_START_TEST):
3561           Unref bins
3562
3563 2006-04-05  Michael Smith  <msmith@fluendo.com>
3564
3565         * gst/gstquery.c: (gst_query_set_formats),
3566         (gst_query_set_formatsv):
3567           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3568
3569 2006-04-05  Michael Smith  <msmith@fluendo.com>
3570
3571         * tests/check/generic/sinks.c: (GST_START_TEST):
3572           Fix a variety of memleaks in sinks check, which are only sometimes 
3573           shown by running the tests under valgrind (weird?).
3574
3575 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3576
3577         * docs/version.entities.in:
3578           Fix the substituted entity name after thomas' changes on the
3579           weekend.
3580
3581 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3582
3583         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3584         VALGRIND_PRINTF
3585         
3586 2006-04-05  Andy Wingo  <wingo@pobox.com>
3587
3588         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3589
3590         * libs/gst/base/gstbasetransform.c
3591         (gst_base_transform_sink_eventfunc): When resetting our segment on
3592         FLUSH_STOP, also update the flag saying we haven't seen a
3593         newsegment.
3594
3595 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3598
3599         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3600         (gst_plugin_check_license):
3601           minor clean-ups: G_DEFINE_TYPE already takes care of the
3602           parent_class stuff, no need to do it twice. Mark array of
3603           license strings as constant. (#337103)
3604           
3605 2006-04-04  Michael Smith  <msmith@fluendo.com>
3606
3607         * tools/gst-inspect.c: (print_element_list):
3608           Free the right plugin list; fixes a memory leak.
3609
3610 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3611
3612         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3613
3614         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3615           Don't error out on empty buffers (#336945).
3616           
3617 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3618
3619         * docs/libs/gstreamer-libs-sections.txt:
3620         * gst/gsttaglist.c:
3621         * libs/gst/base/gstbasesink.c:
3622         * libs/gst/base/gstbasesink.h:
3623         * libs/gst/base/gstbasesrc.c:
3624         * libs/gst/base/gstbasesrc.h:
3625           Documentation updates. Make BaseSink and BaseSrc docs contain the
3626           class structure so that people can actually see the prototypes for
3627           virtual functions they're supposed to be overriding.
3628
3629 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3630
3631         * plugins/elements/gsttypefindelement.c:
3632         (gst_type_find_element_chain):
3633           More debug info; when skipping typefinding, send cached
3634           events in all cases.
3635
3636 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3637
3638         * configure.ac:
3639           use new AS_VERSION and AS_NANO macros
3640         * gst/gst-i18n-lib.h:
3641         * gst/gst.c:
3642         * gst/gsterror.c:
3643         * gst/gstversion.h.in:
3644         * win32/common/config.h:
3645         * win32/common/config.h.in:
3646           update accordingly
3647
3648 2006-03-31  Michael Smith  <msmith@fluendo.com>
3649
3650         * plugins/elements/gsttypefindelement.c:
3651         (gst_type_find_element_chain):
3652           Do not typefind content if the buffers already have caps.
3653           Neccesary for icydemux (#333657), and the right thing to do anyway.
3654
3655 2006-03-30  Wim Taymans  <wim@fluendo.com>
3656
3657         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3658         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3659         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3660         (gst_base_sink_record_qos_observation),
3661         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3662         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3663         (gst_base_sink_change_state):
3664         More QoS measurements as described in the design doc.
3665         Get rid of ringbuffer with observations, running average is
3666         more simple and equally good.
3667         Calculates valid proportion now.
3668         Added beginning of flood measurement.
3669
3670 2006-03-29  Wim Taymans  <wim@fluendo.com>
3671
3672         * docs/design/part-qos.txt:
3673         * gst/gstclock.c:
3674         Small documentation updates and additions.
3675
3676 2006-03-29  Wim Taymans  <wim@fluendo.com>
3677
3678         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3679         (gst_base_src_send_event), (gst_base_src_loop),
3680         (gst_base_src_change_state):
3681         Perform the EOS logic when we reach the segment stop position.
3682         Fix compilation on gcc4.1
3683
3684 2006-03-29  Wim Taymans  <wim@fluendo.com>
3685
3686         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3687
3688         * plugins/elements/gstqueue.c: (gst_queue_init),
3689         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3690         (gst_queue_set_property):
3691         * plugins/elements/gstqueue.h:
3692         In queue, when EOS is received, if minimum threshold > max_size -
3693         current_level, there is chance that queue blocks forever in conditional
3694         item del wait. This is because the queue is not emptied completely due
3695         to minimum threshold.  Here is another approach. Instead of setting
3696         cur_levels to max in EOS, just zero all minimum threshold levels. This
3697         should make sure that queue gives out all data. When going to READY
3698         (stop) state, just reset the original minimum threshold levels.
3699         Fixes #336336.
3700
3701 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
3702
3703         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3704         (gst_type_find_element_handle_event),
3705         (gst_type_find_element_send_cached_events),
3706         (gst_type_find_element_change_state):
3707         * plugins/elements/gsttypefindelement.h:
3708           When typefinding is done in push mode, we should cache
3709           events we receive during typefinding instead of just
3710           dropping them (e.g. newsegment, custom events from
3711           dvdreadsrc etc.) and then send them out once we've
3712           determined the type of the stream (and decodebin
3713           has had a chance to plug in a decoder/demuxer).
3714           
3715 2006-03-27  Wim Taymans  <wim@fluendo.com>
3716
3717         * docs/design/part-qos.txt:
3718         First QoS ideas.
3719
3720 2006-03-27  Wim Taymans  <wim@fluendo.com>
3721
3722         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3723
3724         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3725         (gst_base_src_send_event), (gst_base_src_change_state):
3726         Handle element seek correctly when we are streaming.
3727         Fixes #326998.
3728
3729 2006-03-24  Michael Smith  <msmith@fluendo.com>
3730
3731         * docs/faq/gst-uninstalled:
3732           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3733           allow you to correctly run intalled applications built against old 
3734           core, using plugins that require updated core (e.g. running
3735           installed totem against a full uninstalled gstreamer stack)
3736
3737 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3738
3739         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3740         more debug details
3741
3742 2006-03-24  Wim Taymans  <wim@fluendo.com>
3743
3744         * docs/gst/gstreamer-sections.txt:
3745         Rearrange the order of the methods so that related methods
3746         are grouped together in sections.
3747
3748 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3749
3750         * gst/gstelement.c:
3751           Little clarification in the docs
3752
3753 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3754
3755         * docs/README:
3756         formatting fix
3757         * plugins/elements/gstidentity.c:
3758         * plugins/elements/gstqueue.c:
3759         * plugins/elements/gsttee.c:
3760         * plugins/elements/gsttypefindelement.c:
3761         GST_ELEMENT_DETAILS formatting
3762
3763 2006-03-24  Wim Taymans  <wim@fluendo.com>
3764
3765         * libs/gst/base/gstbasesink.h:
3766         Only add fields, not insert or we break ABI.
3767
3768 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3769
3770         * win32/common/libgstbase.def:
3771         * win32/common/libgstreamer.def:
3772           Update, add recently added functions.
3773
3774 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3775
3776         * docs/gst/gstreamer-sections.txt:
3777         * gst/gstutils.c: (gst_pad_query_peer_position),
3778         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3779         * gst/gstutils.h:
3780           API: add some new utility functions:
3781            - gst_pad_query_peer_position()
3782            - gst_pad_query_peer_duration()
3783            - gst_pad_query_peer_convert()
3784           
3785 2006-03-23  Wim Taymans  <wim@fluendo.com>
3786
3787         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3788         (gst_base_sink_init), (gst_base_sink_finalize),
3789         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3790         (gst_base_sink_set_property), (gst_base_sink_get_property),
3791         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3792         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3793         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3794         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3795         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3796         (gst_base_sink_preroll_object), (gst_base_sink_event),
3797         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3798         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3799         (gst_base_sink_query), (gst_base_sink_change_state):
3800         Decouple max-lateness and the fact that QoS messages are generated
3801         with a new property (qos).
3802         added API: GstBaseSink::async_play()
3803         Add vmethod so subclasses can be notified of ASYNC playing
3804         state changes.
3805         Collect timestamp start and stop to report better current
3806         position in EOS/PLAYING/PAUSED/READY/NULL.
3807         Refactor QoS/frame dropping and other measurements.
3808         API: GstBaseSrc::qos
3809         Fixes #326311
3810
3811         * libs/gst/base/gstbasesink.h:
3812         Added Private struct.
3813         API: gst_base_sink_set_qos_enabled()
3814         API: gst_base_sink_is_qos_enabled()
3815
3816 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3819           If compiling against GLib-2.8 or newer, try to read the
3820           registry file using GMappedFile first before falling back
3821           to fopen() + fread() (#332151).
3822
3823 2006-03-22  Wim Taymans  <wim@fluendo.com>
3824
3825         * gst/gstinfo.c: (gst_debug_set_active),
3826         (gst_debug_category_set_threshold):
3827         Disable debugging unless explicitly activated.
3828         Fixes #335480.
3829
3830 2006-03-22  Wim Taymans  <wim@fluendo.com>
3831
3832         * gst/gstelement.c: (gst_element_set_locked_state),
3833         (gst_element_dispose):
3834         Cleanup the error case.
3835
3836         * gst/gstobject.c: (gst_object_dispose):
3837         print a critical when some object was disposed with
3838         a parent, also revive the object since it might
3839         crash the parent.
3840
3841 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
3842
3843         * tools/gst-launch.1.in:
3844           Fix another typo.
3845
3846 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3847
3848         * configure.ac:
3849         * tests/check/Makefile.am:
3850           disable some tests when we don't have a registry
3851         * tests/check/gst/gstutils.c: (gst_utils_suite):
3852           don't build the part that needs parsing
3853
3854 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3855
3856         * gst/Makefile.am
3857         * tests/examples/Makefile.am:
3858           fix --disable-parse build
3859
3860 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3861
3862         * tools/gst-feedback.1.in:
3863           Fix typo: s/feeback/feedback/ (#133494).
3864
3865 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3866
3867         * tools/Makefile.am:
3868         * tools/gst-launch.1.in:
3869           Add FILES section and correct entry about GST_REGISTRY_PATH
3870           environment variable (#133495; #133494).
3871
3872 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3873
3874         * tools/Makefile.am:
3875         * tools/gst-md5sum.1.in:
3876         * tools/gst-md5sum.c:
3877           Remove gst-md5sum and man page (the md5sink element
3878           required was removed ages ago)
3879
3880 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3881
3882         * gst/gststructure.c: (gst_structure_id_set_value):
3883           Make sure that string fields in structures/taglists
3884           contain valid UTF-8 - we don't want to pass rubbish to
3885           applications because of a buggy plugin (cp. #334167).
3886
3887 2006-03-21  Edward Hervey  <edward@fluendo.com>
3888
3889         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3890         (gst_bin_handle_message_func):
3891         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3892         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3893         (gst_element_set_bus_func):
3894         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3895         * gst/gstminiobject.c: (gst_value_set_mini_object),
3896         (gst_value_take_mini_object):
3897         * gst/gstpad.c: (gst_pad_set_pad_template):
3898         * gst/gstpipeline.c: (gst_pipeline_dispose),
3899         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3900         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3901         (gst_collect_pads_chain):
3902         * libs/gst/net/gstnettimeprovider.c:
3903         (gst_net_time_provider_set_property):
3904         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3905         It's in fact all issues with gst_*object_replace().
3906
3907 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3908
3909         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
3910         
3911         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3912         * pkgconfig/gstreamer-check.pc.in:
3913           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3914
3915 2006-03-21  Edward Hervey  <edward@fluendo.com>
3916
3917         * gst/gstbuffer.h:
3918         * gst/gstevent.h:
3919         * gst/gstmessage.h:
3920         gst_[buffer|event|message]_ref() macros are replaced by a static
3921         inline functions because gcc-4.1 will about if the return value
3922         isn't used.
3923         * tests/check/gst/gstevent.c: (event_probe):
3924         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3925
3926 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
3927
3928         * gst/gstutils.h:
3929         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3930         the type' case. (Closes: #335195 for now). In the future, when we
3931         depend on GLib 2.10, we could also intern the type name using
3932         g_intern_static_string()
3933
3934 2006-03-20  Wim Taymans  <wim@fluendo.com>
3935
3936         * gst/gstbin.c: (gst_bin_handle_message_func),
3937         (bin_query_max_init), (bin_query_position_fold),
3938         (bin_query_position_done), (gst_bin_query):
3939         Position query should also take max of all streams.
3940
3941 2006-03-20  Wim Taymans  <wim@fluendo.com>
3942
3943         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3944         (gst_fake_src_finalize):
3945         Fix leaks in fakesrc.
3946
3947         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3948         Fix leaks in the testcase.
3949
3950 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
3951
3952         * gst/gst_private.h:
3953           add win32 specific import decoration(__declspec(dllimport)) 
3954           for all extern GstDebugCategory * variables
3955         * win32/common/libgstbase.def:
3956         * win32/common/libgstcontroller.def:
3957         * win32/common/libgstreamer.def:
3958           Add some exports, remove empty lines
3959         * win32/common/libgstdataprotocol.def:
3960         * win32/common/libgstdataprotocol.dsp:
3961         * win32/common/libgstnet.def:
3962         * win32/common/libgstnet.dsp:
3963           new project files and exportation files added
3964         
3965 2006-03-19  Wim Taymans  <wim@fluendo.com>
3966
3967         * tests/check/libs/basesrc.c: (eos_event_counter):
3968         Use proper return value for probe.
3969
3970 2006-03-17  Wim Taymans  <wim@fluendo.com>
3971
3972         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3973         (gst_pad_push):
3974         Don't leak buffers, caps and pads on negotiation errors.
3975
3976 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
3977
3978         * docs/faq/cvs.xml:
3979         * docs/faq/dependencies.xml:
3980         * docs/faq/developing.xml:
3981         * docs/faq/faq.xml:
3982         * docs/faq/general.xml:
3983         * docs/faq/getting.xml:
3984         * docs/faq/legal.xml:
3985         * docs/faq/troubleshooting.xml:
3986         * docs/faq/using.xml:
3987         Faq review and update.
3988
3989 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
3990
3991         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3992         (gst_pad_push):
3993         Don't pound the cpu to pieces by checking get_caps when accept_caps
3994         is called with the same caps as the pad already has.
3995         Use GST_DEBUG_OBJECT when outputting caps change information.
3996
3997 2006-03-15  Wim Taymans  <wim@fluendo.com>
3998
3999         * gst/gstclock.c: (gst_clock_class_init):
4000         Fix docs.
4001
4002 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4003
4004         * gst/gstbuffer.h:
4005         Documentation fix.
4006
4007         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4008         (gst_pad_accept_caps), (gst_pad_configure_sink),
4009         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4010         Make the default acceptcaps behaviour be to check the requested 
4011         caps against the gst_pad_get_caps output. 
4012
4013         Ensure that gst_pad_accept_caps is used to check caps when a pad
4014         doesn't have a setcaps function, so that pads automatically refuse 
4015         caps that they don't allow in their pad template. (Fixes #332986)
4016
4017         When a buffer with attached caps is pushed, ensure that the source 
4018         pad receives those caps even if the element didn't call
4019         gst_pad_set_caps first.
4020
4021 2006-03-15  Wim Taymans  <wim@fluendo.com>
4022
4023         * libs/gst/base/gstadapter.c:
4024         Add some docs.
4025
4026 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4027
4028         * win32/common/libgstbase.def:
4029         * win32/common/libgstcontroller.def:
4030         * win32/common/libgstreamer.def:
4031           Add a whole bunch of missing functions (#334434).
4032
4033 2006-03-14  Wim Taymans  <wim@fluendo.com>
4034
4035         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4036         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4037         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4038         Better debug info when we receive a segment event.
4039         Reorganize a bit so we can pass the get_times() results around.
4040         Use the segment format when calculating the running time.
4041         Don't do QoS is sync is disabled or we have no clock or the
4042         element does not want us to sync to the clock.
4043         Don't drop buffers if QoS is disabled for now.
4044
4045 2006-03-14  Wim Taymans  <wim@fluendo.com>
4046
4047         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4048         Marked the stats property as unimplemented so people don't get
4049         wild ideas.
4050         Add debug message when regression goes wrong.
4051         Added some more docs.
4052
4053 2006-03-14  Wim Taymans  <wim@fluendo.com>
4054
4055         * gst/gstsegment.c: (gst_segment_to_stream_time):
4056         Return correct return type in case of errors.
4057
4058 2006-03-14  Wim Taymans  <wim@fluendo.com>
4059
4060         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4061           Don't segfault on invalid formats.
4062
4063 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4066           Can't use gst_segment_to_running_time() when the segment
4067           is not in GST_TIME_FORMAT (like with filesink, for example).
4068           Stops flac encoding pipelines from spewing critical warnings
4069           at EOS (#331248).
4070           
4071 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4072
4073         * gst/gstpipeline.c: (gst_pipeline_class_init):
4074           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4075
4076         * plugins/elements/gsttypefindelement.c:
4077         (gst_type_find_element_handle_event):
4078           Don't try to typefind empty streams.
4079
4080 2006-03-14  Wim Taymans  <wim@fluendo.com>
4081
4082         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4083         (gst_base_sink_do_qos):
4084         Separate QoS calculation.
4085         Only drop buffers when lateness is bigger than the 
4086         duration of the buffer.
4087
4088 2006-03-13  Wim Taymans  <wim@fluendo.com>
4089
4090         * gst/gstpipeline.c: (gst_pipeline_set_property),
4091         (gst_pipeline_get_property), (do_pipeline_seek),
4092         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4093         (gst_pipeline_get_delay):
4094         Don't deadlock when reading properties.
4095
4096 2006-03-13  Wim Taymans  <wim@fluendo.com>
4097
4098         * libs/gst/base/gstbasetransform.c:
4099         (gst_base_transform_class_init), (gst_base_transform_init),
4100         (gst_base_transform_sink_event),
4101         (gst_base_transform_sink_eventfunc),
4102         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4103         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4104         (gst_base_transform_set_property),
4105         (gst_base_transform_get_property),
4106         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4107         (gst_base_transform_set_qos_enabled),
4108         (gst_base_transform_is_qos_enabled):
4109         * libs/gst/base/gstbasetransform.h:
4110         Make basetransform virtual method for src events too.
4111         Handle QOS in basetransform.
4112         API: gst_base_transform_update_qos()
4113         API: gst_base_transform_set_qos_enabled()
4114         API: gst_base_transform_is_qos_enabled()
4115
4116 2006-03-13  Wim Taymans  <wim@fluendo.com>
4117
4118         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4119         (gst_base_sink_do_sync):
4120         Small cleanups.
4121         Use QOS debug category.
4122
4123 2006-03-13  Wim Taymans  <wim@fluendo.com>
4124
4125         * plugins/elements/gstqueue.c:
4126         Very small doc update.
4127
4128 2006-03-13  Wim Taymans  <wim@fluendo.com>
4129
4130         * gst/gst_private.h:
4131         * gst/gstinfo.c: (_gst_debug_init):
4132         Added QOS debug category
4133
4134 2006-03-13  Wim Taymans  <wim@fluendo.com>
4135
4136         * docs/gst/gstreamer-sections.txt:
4137         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4138         * gst/gstbin.h:
4139         * gst/gstbus.c: (gst_bus_class_init):
4140         * gst/gstbus.h:
4141         * gst/gstclock.c:
4142         * gst/gstelement.c: (gst_element_set_locked_state):
4143         * gst/gstsegment.c:
4144         Documentation updates.
4145
4146         * gst/gstpipeline.c: (gst_pipeline_get_type),
4147         (gst_pipeline_class_init), (gst_pipeline_init),
4148         (gst_pipeline_dispose), (gst_pipeline_set_property),
4149         (gst_pipeline_get_property), (do_pipeline_seek),
4150         (gst_pipeline_send_event), (gst_pipeline_change_state),
4151         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4152         (gst_pipeline_get_delay):
4153         * gst/gstpipeline.h:
4154         Added methods for setting the delay.
4155         API: gst_pipeline_set_delay()
4156         API: gst_pipeline_get_delay()
4157         Add pipeline debug category
4158         Various cleanups.
4159         Updated docs.
4160         Don't reset stream time when seek failed.
4161
4162 2006-03-13  Wim Taymans  <wim@fluendo.com>
4163
4164         * docs/design/draft-klass.txt:
4165         * docs/design/part-clocks.txt:
4166         * docs/design/part-events.txt:
4167         * docs/design/part-gstbin.txt:
4168         * docs/design/part-gstpipeline.txt:
4169         * docs/design/part-messages.txt:
4170         * docs/design/part-negotiation.txt:
4171         * docs/design/part-overview.txt:
4172         * docs/design/part-preroll.txt:
4173         * docs/design/part-seeking.txt:
4174         * docs/design/part-states.txt:
4175         * docs/design/part-streams.txt:
4176         Documentation updates.
4177
4178 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4179
4180         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4181         us to leak strings...
4182
4183 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4184
4185         * libs/gst/net/gstnettimeprovider.c:
4186           fix docs
4187         * win32/common/config.h:
4188           update
4189
4190 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4193
4194         * configure.ac:
4195           Don't check for libgnomeui (leftover from old examples
4196           that aren't built or disted any longer) (#334303).
4197           
4198 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4199
4200         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4201         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4202           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4203           there's no space left on the device.
4204
4205 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4206
4207         * gst/gstclock.h:
4208           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4209           to cast the input to GstClockTime before comparing with
4210           another GstClockTime value.
4211
4212 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4213
4214         * configure.ac:
4215           back to trunk
4216
4217 === release 0.10.4 ===
4218
4219 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4220
4221         * configure.ac:
4222           releasing 0.10.4, "Light"
4223
4224 2006-03-10  Michael Smith  <msmith@fluendo.com>
4225
4226         * libs/gst/dataprotocol/dataprotocol.c:
4227           Fix docs for dataprocotol to not get the return types completely
4228           wrong for a few functions.
4229
4230 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4231
4232         * docs/gst/gstreamer-sections.txt:
4233         * gst/gstpipeline.c: (gst_pipeline_class_init),
4234         (gst_pipeline_init), (gst_pipeline_set_property),
4235         (gst_pipeline_get_property), (gst_pipeline_change_state),
4236         (gst_pipeline_set_auto_flush_bus),
4237         (gst_pipeline_get_auto_flush_bus):
4238         * gst/gstpipeline.h:
4239           Add new API: gst_pipeline_set_auto_flush_bus() and
4240           gst_pipeline_get_auto_flush_bus() to disable automatic
4241           flushing of the pipeline's GstBus when going from READY
4242           to NULL state (#332045).
4243
4244 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4245
4246         * docs/gst/gstreamer-sections.txt:
4247         * gst/gsturi.c: (gst_uri_has_protocol):
4248         * gst/gsturi.h:
4249            Add new API: gst_uri_has_protocol() (#333779).
4250
4251 2006-03-09  Wim Taymans  <wim@fluendo.com>
4252
4253         * gst/gstclock.c: (gst_clock_entry_new),
4254         (gst_clock_id_compare_func), (gst_clock_id_wait),
4255         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4256         (gst_clock_init), (gst_clock_get_internal_time),
4257         (gst_clock_set_master), (do_linear_regression),
4258         (gst_clock_add_observation), (gst_clock_set_property):
4259         * gst/gstclock.h:
4260         Review docs.
4261         Small cleanups.
4262         Fix a possible segfault when the window-size is made smaller.
4263         Calculate jitter before performing the clock wait. Ideally
4264         the clock implementation should calculate jitter but we need
4265         API breakage for that.
4266
4267         * gst/gstsystemclock.c: (gst_system_clock_init):
4268         Docs review.
4269         
4270         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4271         Remove leftover else
4272
4273         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4274         (gst_systemclock_suite):
4275         Added check to test GST_CLOCK_DIFF.
4276
4277 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4278
4279         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4280         (gst_type_find_helper_get_range):
4281           If we are provided with the size, we should implement
4282           GstTypeFind::get_length, so that typefind functions who
4283           want to can actually peek at the middle of a file.
4284
4285 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4286
4287         * docs/manual/advanced-dataaccess.xml:
4288           Add some very very basic error checking.
4289
4290         * docs/pwg/appendix-checklist.xml:
4291           Some updates to the list of things to check when writing an element.
4292
4293 2006-03-08  Wim Taymans  <wim@fluendo.com>
4294
4295         * docs/design/part-element-transform.txt:
4296         Added some docs about the design of tranform elements.
4297
4298         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4299         (gst_base_src_loop), (gst_base_src_change_state):
4300         Mark buffers with the DISCONT flag.
4301
4302 2006-03-08  Michael Smith  <msmith@fluendo.com>
4303
4304         * gst/gstregistry.h:
4305         * gst/gstregistryxml.c: (gst_registry_save),
4306         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4307         (gst_registry_xml_save_pad_template),
4308         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4309         (gst_registry_xml_write_cache):
4310           Rewrite registry-saving to avoid race conditions and check for
4311           failed writes.
4312
4313 2006-03-08  Wim Taymans  <wim@fluendo.com>
4314
4315         * libs/gst/base/gstbasetransform.c:
4316         (gst_base_transform_transform_caps),
4317         (gst_base_transform_transform_size),
4318         (gst_base_transform_prepare_output_buffer),
4319         (gst_base_transform_get_unit_size),
4320         (gst_base_transform_buffer_alloc),
4321         (gst_base_transform_handle_buffer),
4322         (gst_base_transform_change_state):
4323         Cleanups, separate normal flow from errors, add sensible
4324         DEBUG lines.
4325         Don't try to renegotiate when allocating an output buffer.
4326         Also copy DISCONT buffer flag when copying a buffer.
4327         Reset the transform after we finish streaming, not during.
4328
4329 2006-03-08  Wim Taymans  <wim@fluendo.com>
4330
4331         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4332         Use last buffer timestamp in qos message.
4333
4334 2006-03-07  Wim Taymans  <wim@fluendo.com>
4335
4336         Patch by: Christophe Fergeau
4337
4338         * docs/pwg/advanced-tagging.xml:
4339         * docs/pwg/building-pads.xml:
4340           fixes #333416
4341
4342 2006-03-07  Wim Taymans  <wim@fluendo.com>
4343
4344         * docs/libs/gstreamer-libs-sections.txt:
4345         Added basesink new methods.
4346
4347         * gst/gstevent.c:
4348         * gst/gstevent.h:
4349         Docs updates. Flesh out the QoS docs.
4350
4351         * libs/gst/base/gstadapter.c:
4352         Small doc clarification about ownership and flushing.
4353
4354         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4355         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4356         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4357         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4358         * libs/gst/base/gstbasesink.h:
4359         API additions: 
4360         Added new methods to allow subclass to control max-lateness 
4361         and sync.
4362         Generate very basic QoS events based on last sync observation.
4363         Updated docs, fix typo, added some QoS blurb.
4364
4365         * libs/gst/base/gstbasesrc.c:
4366         Remove obsolete _get_state() calls from docs.
4367
4368 2006-03-07  Wim Taymans  <wim@fluendo.com>
4369
4370         * docs/libs/gstreamer-libs-sections.txt:
4371         * libs/gst/base/gstbasetransform.h:
4372         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4373         Fix docs for GstBaseSrc.
4374
4375 2006-03-07  Wim Taymans  <wim@fluendo.com>
4376
4377         * docs/gst/gstreamer-sections.txt:
4378         * gst/gstbuffer.h:
4379         * gst/gstvalue.c:
4380         * libs/gst/base/gstbasetransform.h:
4381         Small documentation fixes.
4382
4383 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4384
4385         * gst/gstvalue.c:
4386           Document thread-unsafety of gst_value_register_foo_func()
4387           when used at the same time as gst_value_foo() (#322628).
4388
4389 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4390
4391         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4392         (gst_push_src_check_get_range):
4393           Push sources don't support pull mode by default.
4394
4395 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4396
4397         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4398         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4399         (gst_base_src_default_check_get_range):
4400         * libs/gst/base/gstbasesrc.h:
4401           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4402           provide default implementation, and rename
4403           gst_base_src_check_get_range() to
4404           gst_base_src_pad_check_get_range() for clarity.
4405
4406 2006-03-06  Wim Taymans  <wim@fluendo.com>
4407
4408         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4409         Make property overridable.
4410
4411 2006-03-06  Wim Taymans  <wim@fluendo.com>
4412
4413         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4414         (gst_base_sink_init), (gst_base_sink_set_property),
4415         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4416         * libs/gst/base/gstbasesink.h:
4417         API addition: Make max-lateness a property.
4418
4419 2006-03-06  Wim Taymans  <wim@fluendo.com>
4420
4421         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4422         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4423         Don't ever draw a frame that is >10ms late.
4424
4425 2006-03-06  Michael Smith  <msmith@fluendo.com>
4426
4427         * gst/gstmessage.c: (_gst_message_copy):
4428           When copying a message, set the parent_refcount of the enclosed
4429           structure to point at the copy, not the original message.
4430
4431 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4432
4433         Patch by: Christophe Fergeau
4434
4435         * gst/gstutils.h:
4436           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4437           usable in c++ code (#333417)
4438
4439 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4440
4441         * gst/gstclock.h:
4442           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4443
4444 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         * libs/gst/base/gstbasetransform.c:
4447         (gst_base_transform_transform_caps):
4448           Make sure caps are writable before passing them to
4449           gst_caps_append().
4450
4451 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * gst/gsterror.h:
4454           Fix some minor docs errors.
4455
4456 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4457
4458           Patch by: Ross Burton <ross at burtonini dot com>
4459
4460         * gst/gsterror.c: (_gst_resource_errors_init):
4461         * gst/gsterror.h:
4462           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4463
4464 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4465
4466         * gst/gst.c:
4467         Add a check and output a g_warning when GStreamer is built
4468         against GLib 2.6 but running against 2.8 or higher, and vice 
4469         versa. (Closes: #323542)
4470
4471 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4472
4473         * gst/parse/parse.l:
4474           Commit patch for parse_launch syntax from #331255. Removes 
4475           support for quoted strings and mimetypes when writing filtered 
4476           caps. See the bug report for more details - I'm pretty sure this
4477           obscure feature is not in use by _anyone_ anywhere.
4478
4479           With this simple change, the size of the gstreamer.so here 
4480           drops from 2193KB to 1565KB.
4481
4482 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4483
4484         * plugins/elements/gsttypefindelement.h:
4485         * plugins/elements/gsttypefindelement.c:
4486         (gst_type_find_element_src_event), (start_typefinding),
4487         (stop_typefinding), (gst_type_find_element_handle_event),
4488         (gst_type_find_element_chain),
4489         (gst_type_find_element_chain_do_typefinding):
4490           Use gst_type_find_helper_for_buffer() for chain-based
4491           typefinding.
4492
4493 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4494
4495         * plugins/elements/gsttypefindelement.c:
4496         (gst_type_find_element_class_init),
4497         (gst_type_find_element_set_property),
4498         (gst_type_find_element_get_property):
4499           Deprecate "maximum" property (not only was it only taken into
4500           account for typefinding in push-mode anyway, it also was never
4501           actually possible to set it in the first place because the
4502           property was registered with the numeric property ID for the
4503           "minimum" property). Register "maximum" property correctly,
4504           for the sake of future copy'n'pasters. Remove some cruft
4505           from property get/set functions.
4506
4507 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4508
4509         * plugins/elements/gsttypefindelement.c:
4510         (gst_type_find_element_activate):
4511           Use gst_type_find_helper_get_range() here, so we
4512           can honour the "minimum" property and also emit
4513           the signal with the correct probability of the found caps.
4514
4515 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4516
4517         * docs/libs/gstreamer-libs-sections.txt:
4518         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4519         (helper_find_suggest), (gst_type_find_helper_get_range),
4520         (gst_type_find_helper):
4521         * libs/gst/base/gsttypefindhelper.h:
4522           New API: gst_type_find_helper_get_range() (#333042).
4523
4524 2006-03-02  Michael Smith  <msmith@fluendo.com>
4525
4526         * gst/gstregistryxml.c: (load_feature):
4527           Asserting on a failure to read part of the registry is Not Cool.
4528           Just log a warning and return NULL (which is already handled)
4529
4530 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4531
4532         * win32/common/libgstbase.def:
4533           added export of gst_type_find_helper_for_buffer
4534         * win32/common/libgstbase.def:
4535           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4536           gst_ghost_pad_get_target
4537
4538 2006-02-28  Wim Taymans  <wim@fluendo.com>
4539
4540         * docs/design/draft-klass.txt:
4541         We use Filter now.
4542         Added Connector to mark elements that are only used to
4543         allow pipeline connections.
4544         Moved Debug to extra feature since most of them are 
4545         functionally something else.
4546
4547 2006-02-28  Wim Taymans  <wim@fluendo.com>
4548
4549         * docs/design/draft-klass.txt:
4550         Some updates and clarifications.
4551
4552 2006-02-28  Wim Taymans  <wim@fluendo.com>
4553
4554         * docs/design/draft-klass.txt:
4555         Proposal for klass field values.
4556
4557         * docs/design/part-streams.txt:
4558         Start of a doc describing stream anatomy.
4559
4560 2006-02-28  Wim Taymans  <wim@fluendo.com>
4561
4562         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4563         Help the compiler a bit with type registration.
4564         Use existing forward cod path instead of duplicating it when 
4565         handling a message.
4566         
4567         * gst/gstbus.c: (gst_bus_get_type):
4568         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4569         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4570         * gst/gstclock.c: (gst_clock_get_type):
4571         * gst/gstelement.c: (gst_element_get_type),
4572         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4573         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4574         * gst/gstminiobject.c: (gst_mini_object_get_type):
4575         * gst/gstpad.c: (gst_pad_get_type):
4576         * gst/gstsegment.c: (gst_segment_get_type):
4577         * gst/gststructure.c: (gst_structure_get_type):
4578         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4579         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4580         * gst/gstvalue.c:
4581         Help compiler with type registration.
4582
4583         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4584         Small doc update.
4585
4586 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4587
4588         * plugins/elements/gsttypefindelement.c:
4589         (gst_type_find_element_handle_event):
4590           When we get an EOS event and have not found a type yet
4591           (most likely because we had not yet accumulated
4592           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4593           type given the data we have so far. Fixes typefinding
4594           for very short streams again, most notably quicktime
4595           redirections as used on Apple's trailer site (#331701).
4596
4597 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4598
4599         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4600         (gst_type_find_helper):
4601           Try typefinding factories with the highest rank first.
4602
4603 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4604
4605         * docs/libs/gstreamer-libs-docs.sgml:
4606         * docs/libs/gstreamer-libs-sections.txt:
4607         * libs/gst/base/gsttypefindhelper.c:
4608           Add section for typefind helper and add documentation
4609           for the old and the new function.
4610
4611 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4612
4613         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4614         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4615         (gst_type_find_helper_for_buffer):
4616         * libs/gst/base/gsttypefindhelper.h:
4617           New API: gst_type_find_helper_for_buffer() (#332723).
4618           
4619 2006-02-27  Michael Smith  <msmith@fluendo.com>
4620
4621         Patch by: Loïc Minier
4622
4623         * configure.ac:
4624         * docs/Makefile.am:
4625         * docs/slides/Makefile.am:
4626           prevent CVS directories getting disted.
4627
4628 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4629
4630         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4631           Use the REFCOUNTING category for caps refcounting.
4632           
4633 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4634
4635         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4636           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4637
4638 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4639
4640         * plugins/elements/gsttypefindelement.c:
4641         (gst_type_find_element_activate):
4642           Use gst_pad_check_pull_range() before _activate_pull()
4643           to avoid unnecessary open/close (see #331690).
4644
4645 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4646
4647         * gst/gstutils.c:
4648           Docs enhancement: make it crystal clear what the
4649           gst_pad_add_*_probe() callbacks should look like.
4650
4651 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4652
4653         * libs/gst/base/gstbasesrc.c:
4654           Document how applications can stop recording from
4655           live sources (see #330996).
4656
4657 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4658
4659         * tests/check/Makefile.am:
4660         * tests/check/libs/basesrc.c: (eos_event_counter),
4661         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4662         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4663         (gst_basesrc_suite), (main):
4664           ... and add some tests for the base source EOS stuff.
4665
4666 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4667
4668         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4669           Test case originally showed the problem fixed below,
4670           but was then amended. Add checks back at the place
4671           where they used to be.
4672
4673 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4674
4675         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4676         (gst_base_src_init), (gst_base_src_loop),
4677         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4678         (gst_base_src_change_state):
4679         * libs/gst/base/gstbasesrc.h:
4680           Don't unconditionally send EOS when going from PAUSED to
4681           READY state, esp. make sure we don't send two EOS events
4682           in some cases (e.g. one when reaching EOS and one when
4683           going from PAUSED to READY). Also, we don't want to send
4684           EOS events when operating in pull mode. However, we do
4685           want to send an EOS event when shutting down a live
4686           source explicitly, for example (fixes #330996).
4687           
4688 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4689
4690         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4691           Update src->read_position after a seek when not using mmap.
4692           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4693
4694 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4695
4696         * gst/Makefile.am:
4697         * gst/gstparse.h:
4698         * gst/gstutils.c:
4699         * gst/gstutils.h:
4700         Make things work with --disable-parse as they do with 
4701         --disable-load-save - the symbols involved disappear, but the
4702         header is still installed and GST_DISABLE_PARSE is included via
4703         gstconfig.h
4704
4705 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4706
4707         * libs/gst/base/gstbasetransform.c:
4708         (gst_base_transform_change_state): Fix a stupid bug. I was 
4709         sure I compiled that.
4710
4711 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4712
4713         * gst/gstpad.c: (gst_pad_set_blocked_async):
4714         * gst/gstutils.c: (gst_pad_add_data_probe),
4715         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4716         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4717         (gst_pad_remove_buffer_probe): Make those function act on the
4718         ghostpad target when it's a ghostpad. (Closes #331727)
4719
4720 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4721
4722         * libs/gst/base/gstbasetransform.c:
4723         (gst_base_transform_change_state): Make basetransform reusable.
4724         (Closes #331898)
4725
4726 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
4727
4728         * docs/random/release:
4729         Move the current documentation of how to do a release to the top
4730         of the file.
4731
4732         * gst/gstbin.c: (gst_bin_class_init),
4733         (gst_bin_handle_message_func):
4734         Allow multiple state-recalculation threads. (Closes #328873)
4735
4736 2006-02-19  Julien MOUTTE  <julien@moutte.net>
4737
4738         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4739         * gst/gstpad.c: (gst_pad_set_event_function),
4740         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4741         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4742         2 strings. You can't use the STR_NULL macro on that.
4743
4744 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
4745
4746         * gst/gstpad.c: (gst_pad_set_event_function),
4747         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4748         (gst_pad_set_getcaps_function)
4749         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4750           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4751           So now, we can use --gst-debug-level=5 on Windows
4752         * win32/common/libgstcontroller.def:
4753           Added export of gst_controller_init
4754         * win32/vs6/libgstcontroller.dsp:
4755           Fixed Release post build configuration
4756
4757 2006-02-17  Wim Taymans  <wim@fluendo.com>
4758
4759         * tests/check/gst/gstquery.c: (GST_START_TEST):
4760         Added another check.
4761
4762 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
4763
4764         * plugins/elements/gsttypefindelement.c: (find_peek):
4765           We can do peeks at non-zero offsets, as long as they
4766           fall within the buffer we have.
4767
4768 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
4769
4770         * tests/check/Makefile.am:
4771         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4772         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4773         (parse_suite), (main):
4774           Add testsuite for parse launch syntax
4775
4776 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * plugins/elements/gsttypefindelement.c:
4779         (gst_type_find_element_chain):
4780           When typefinding is unsuccessful in the chain function, don't
4781           error out immediately. Only error out with NO_CAPS_FOUND if
4782           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4783           otherwise simply wait for more data so we can try typefinding
4784           again with more data later. Also, don't attempt to typefind
4785           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4786           this should improve typefinding from network sources where the
4787           size of the first buffer can be somewhat random.
4788
4789 2006-02-14  Wim Taymans  <wim@fluendo.com>
4790
4791         * docs/gst/gstreamer-sections.txt:
4792         * gst/gstpadtemplate.c:
4793         * gst/gstpadtemplate.h:
4794         Fix padtemplate docs, fixes #328805.
4795
4796 2006-02-14  Wim Taymans  <wim@fluendo.com>
4797
4798         * tools/gst-launch.c: (main):
4799         NO_PREROLL is not an ERROR so don't send confusing messages
4800         to the user.
4801
4802 2006-02-14  Wim Taymans  <wim@fluendo.com>
4803
4804         Patch by: Torsten Schoenfeld
4805
4806         * gst/gstregistry.c: (gst_registry_get_default),
4807         (_gst_registry_cleanup):
4808         Protect default registry with lock and ref/sink it.
4809         Fixes #324818
4810
4811 2006-02-14  Wim Taymans  <wim@fluendo.com>
4812
4813         * gst/gstbuffer.c:
4814         * gst/gstquery.c: (gst_query_list_add_format),
4815         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4816         (gst_query_parse_formats_nth):
4817         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4818         Docs fixes.
4819
4820 2006-02-14  Wim Taymans  <wim@fluendo.com>
4821
4822         * docs/gst/gstreamer-sections.txt:
4823         Reworked query docs.
4824
4825         * gst/gstquery.c: (gst_query_new_formats),
4826         (gst_query_list_add_format), (gst_query_set_formats),
4827         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4828         (gst_query_parse_formats_nth):
4829         * gst/gstquery.h:
4830         Flesh out formats query, added some new methods.
4831         Fix part of #324398.
4832
4833         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4834         Added query creation tests.
4835
4836 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
4837
4838         * gst/gstpad.c: (fixate_value):
4839         Add a default fixation for fraction lists.
4840
4841 2006-02-13  Wim Taymans  <wim@fluendo.com>
4842
4843         * gst/gsttask.c: (gst_task_init), (gst_task_func),
4844         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4845         (gst_task_join):
4846         * gst/gsttask.h:
4847         Detect and warn for obvious deadlocks. fixes #320340
4848         Fix error case where lock was not released.
4849
4850         * tests/check/Makefile.am:
4851         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4852         (task_func), (gst_element_suite), (main):
4853         Add task check.
4854
4855 2006-02-13  Wim Taymans  <wim@fluendo.com>
4856
4857         * docs/gst/gstreamer-sections.txt:
4858         * gst/gstbus.c:
4859         Add new functions to docs.
4860
4861 2006-02-13  Wim Taymans  <wim@fluendo.com>
4862
4863         * docs/design/part-TODO.txt:
4864         Updated TODO list, basesrc supports seeking to non-bytes
4865         formats.
4866
4867         * docs/design/part-element-sink.txt:
4868         Update docs.
4869
4870         * gst/gstbin.c: (bin_replace_message),
4871         (gst_bin_handle_message_func):
4872         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4873         * gst/gstevent.c: (gst_event_finalize):
4874         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4875         (gst_pad_send_event):
4876         Use shiny new _TYPE_NAME macros.
4877
4878         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4879         Move debug statement up.
4880
4881         * gst/gstelement.c: (gst_element_set_locked_state):
4882         Add some debugging.
4883
4884 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
4885
4886         * docs/gst/gstreamer-sections.txt:
4887         * gst/gstmessage.h:
4888         * gst/gstquery.h:
4889           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4890           macros (#330906). Also, document the already existing
4891           GST_QUERY_TYPE macro.
4892
4893 2006-02-13  Wim Taymans  <wim@fluendo.com>
4894
4895         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4896         (event_probe), (GST_START_TEST):
4897         Only events up to the pipeline EOS are counted, there are
4898         some more when going to NULL currently which we don't care
4899         about for now.
4900
4901 2006-02-13  Wim Taymans  <wim@fluendo.com>
4902
4903         * gst/gstpad.c: (gst_pad_send_event):
4904         Correctly check flushing and emit probes. fixes #330125
4905
4906 2006-02-10  Andy Wingo  <wingo@pobox.com>
4907
4908         * gst/gstbus.c (gst_bus_class_init): Declare our private data
4909         structure.
4910         (gst_bus_init): Cache the location of the private data in the
4911         instance structure.
4912         (gst_bus_enable_sync_message_emission) 
4913         (gst_bus_disable_sync_message_emission): Implement new public
4914         functions.
4915         (gst_bus_post): Emit the sync-message signal if the user asked for
4916         it. Fixes #330684.
4917
4918         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4919         location of the bus-private structure.
4920         (gst_bus_enable_sync_message_emission)
4921         (gst_bus_disable_sync_message_emission): API addition
4922
4923 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
4924
4925         Patch by: Vincent Torri
4926
4927         * docs/pwg/building-boiler.xml:
4928         PWG patch from #326800
4929
4930 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4931
4932         * configure.ac:
4933         * docs/Makefile.am:
4934         * docs/design/Makefile.am:
4935           Dist design docs.
4936
4937 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4938
4939         * configure.ac:
4940           back to CVS
4941
4942 === release 0.10.3 ===
4943
4944 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
4945
4946         * configure.ac:
4947           releasing 0.10.3, "Like a virgin"
4948
4949 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4950
4951         * configure.ac:
4952           2nd prerelease of 0.10.3
4953           Bump libtool versioning.
4954
4955 2006-02-07  Andy Wingo  <wingo@pobox.com>
4956
4957         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4958         update last_stop if we're in TIME format and the timestamp is
4959         valid.
4960
4961         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
4962         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
4963         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4964         If we get a new newsegment with a different format, adapt
4965         accordingly.
4966
4967         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4968         of 0. Not a problem, really.
4969
4970         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4971         warn if sync=true.
4972
4973 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
4974
4975         * configure.ac:
4976           Prelease of 0.10.3
4977
4978 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
4979
4980         * win32/vs7:
4981           project files updated to the default vs7 configuration
4982         * win32/common/libgstbase.def:
4983         * win32/common/libgstreamer.def:
4984           added new symbols,
4985           removed empty lines,
4986           sorted all exported symbols alphabetically
4987         * win32/common/dirent.c:
4988         * win32/common/dirent.h:
4989         * win32/common/gchar.h:
4990           use windows line end.
4991           
4992 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4995           Send EOS event when stopping.
4996
4997 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         * docs/README:
5000           Tell folks what to do if the plugin-foobar.xml file
5001           hasn't been generated for a newly-added plugin.
5002
5003 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5004
5005         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5006         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5007         (gst_collect_pads_start), (gst_collect_pads_stop),
5008         (gst_collect_pads_event): Collectpads now holds a reference
5009         to the GstPad that was added. Indeed we don't want to look
5010         at pads that might just go away with no warning...
5011
5012 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5013
5014         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5015         (gst_collect_pads_start), (gst_collect_pads_stop),
5016         (gst_collect_pads_event), (gst_collect_pads_chain):
5017         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5018         Mark Nauwelaerts's patch on bug #328491.
5019
5020 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5023         (gst_utils_suite):
5024           Add some simple tests for gst_parse_bin_from_description() and
5025           gst_bin_find_unconnected_pad() (#329069).
5026
5027 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * tools/gst-launch.c: (event_loop), (main):
5030           Catch errors during preroll (#320084).
5031
5032 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5033
5034         * plugins/elements/gsttypefindelement.c:
5035         (gst_type_find_element_activate):
5036           Post TYPE_NOT_FOUND error message when typefinding
5037           is unsuccessful in the activate function as well.
5038
5039 2006-02-02  Wim Taymans  <wim@fluendo.com>
5040
5041         * docs/design/part-element-sink.txt:
5042         Updated doc.
5043
5044 2006-02-02  Wim Taymans  <wim@fluendo.com>
5045
5046         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5047         (gst_base_sink_render_object),
5048         (gst_base_sink_queue_object_unlocked):
5049         Only keep track of prerollable items when we are 
5050         prerolling.
5051         Before rendering after preroll, always check if we
5052         have queued items.
5053         Added some more debugging.
5054
5055 2006-02-02  Wim Taymans  <wim@fluendo.com>
5056
5057         * gst/gstelement.c: (gst_element_continue_state),
5058         (gst_element_set_state_func), (gst_element_change_state):
5059         Fixed #326576, been running this for quite some time with
5060         no regressions at all.
5061
5062 2006-02-02  Wim Taymans  <wim@fluendo.com>
5063
5064         * common/gst.supp:
5065         Added more suppressions
5066
5067 2006-02-02  Wim Taymans  <wim@fluendo.com>
5068
5069         * docs/design/part-element-sink.txt:
5070         Updated document.
5071
5072         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5073         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5074         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5075         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5076         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5077         (gst_base_sink_preroll_object),
5078         (gst_base_sink_queue_object_unlocked),
5079         (gst_base_sink_queue_object), (gst_base_sink_event),
5080         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5081         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5082         (gst_base_sink_get_position), (gst_base_sink_change_state):
5083         * libs/gst/base/gstbasesink.h:
5084         Totally refactored matching the design doc.
5085         Use two segments, one to clip incomming buffers and another to
5086         perform sync.
5087         Handle queueing correctly, bypass the queue when playing.
5088         Make EOS cancelable.
5089         Handle errors correctly when operating in pull based mode.
5090
5091         * tests/check/elements/fakesink.c: (GST_START_TEST),
5092         (fakesink_suite):
5093         Added new check for sinks.
5094
5095 2006-02-02  Wim Taymans  <wim@fluendo.com>
5096
5097         * gst/gstsegment.c: (gst_segment_clip):
5098         No reason to refuse to clip when start == -1
5099
5100 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5101
5102         * docs/README:
5103         * docs/manual/intro-basics.xml:
5104         * docs/manual/intro-preface.xml:
5105         * docs/manual/manual.xml:
5106         * docs/pwg/advanced-dparams.xml:
5107         * docs/pwg/intro-basics.xml:
5108         * docs/pwg/intro-preface.xml:
5109         * docs/pwg/pwg.xml:
5110           describe dparams (controller) for plugins
5111           unify docs a little more
5112
5113 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5114
5115         * docs/gst/gstreamer-sections.txt:
5116         * gst/gstutils.c: (element_find_unconnected_pad),
5117         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5118         * gst/gstutils.h:
5119           Add new API: gst_parse_bin_from_description() and
5120           gst_bin_find_unconnected_pad() (#329069).
5121
5122 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5123
5124         * docs/manual/README:
5125           uncover a nasty detail of the docs build
5126
5127 2006-01-31  Wim Taymans  <wim@fluendo.com>
5128
5129         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5130         Don't cache duration messages if we're not going to use or
5131         free them.
5132
5133 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5134
5135         * docs/manual/advanced-dparams.xml:
5136         * docs/pwg/advanced-dparams.xml:
5137           more dparam docs
5138         * gst/gstindex.c:
5139           fix docs
5140         * libs/gst/controller/lib.c: (gst_controller_init):
5141           init just once
5142
5143 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5144
5145         * gst/gstelement.c: (gst_element_message_full):
5146           also show file/line/func if no additional debug was given
5147
5148 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5149         
5150         * win32/vs7/grammar.vcproj:
5151           activate copy of autogenerated files for Release mode
5152
5153 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5154         
5155         * win32/common/libgstreamer.def:
5156           export gst_value_compare
5157
5158 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5159
5160         * plugins/elements/Makefile.am:
5161         * plugins/elements/gstelements.c:
5162         * plugins/elements/gstfdsink.c: (_do_init),
5163         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5164         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5165         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5166         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5167         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5168         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5169         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5170         * plugins/elements/gstfdsink.h:
5171         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5172
5173 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5174
5175         * docs/manual/advanced-dparams.xml:
5176           describe controller
5177         * docs/manual/advanced-position.xml:
5178         * docs/manual/basics-init.xml:
5179         * docs/manual/manual.xml:
5180         * docs/manual/titlepage.xml:
5181         * docs/pwg/pwg.xml:
5182         * docs/pwg/titlepage.xml:
5183           cleanup xml (more to come)
5184         * libs/gst/controller/gstcontroller.c:
5185           fix typo
5186
5187 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5188         
5189         * win32/vs6/grammar.dsp:
5190           add autogen of gstmarshal.c,h for Release mode
5191                 
5192 2006-01-30  Wim Taymans  <wim@fluendo.com>
5193
5194         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5195         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5196         (gst_base_sink_handle_object), (gst_base_sink_event),
5197         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5198         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5199         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5200         (gst_base_sink_deactivate), (gst_base_sink_activate),
5201         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5202         (gst_base_sink_query), (gst_base_sink_change_state):
5203         Basesink cleanups, remove some old code.
5204         Handle the case where a subclass can preroll in the render
5205         method (mostly audiosinks).
5206         Handle more events.
5207         Remove some locks around variables that are now protected
5208         with the PREROLL_LOCK (clock_id, flushing, ..).
5209         Optimize position query some more, do correct locking.
5210         Remove old code to push queue in state change, this is not
5211         needed anymore since preroll blocks on all prerollable items 
5212         now.
5213         Almost implemented as described in design doc.
5214
5215 2006-01-30  Wim Taymans  <wim@fluendo.com>
5216
5217         * tests/check/gst/gstbin.c: (GST_START_TEST):
5218         Wait for refcount to settle down before checking.
5219
5220 2006-01-30  Wim Taymans  <wim@fluendo.com>
5221
5222         * docs/design/part-element-sink.txt:
5223         Pseudo code overview of desired sink behaviour regarding
5224         preroll.
5225
5226 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5227         * win32/vs6/grammar.dsp:
5228           fix some bugs in Release mode for autogenerated files
5229                 
5230 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5231         * win32/common/libgstbase.def:
5232         * win32/common/libgstreamer.def:
5233           export some new symbols: gst_base_src_set_format,
5234           gst_iterator_next, gst_structure_set_valist
5235
5236 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5237
5238         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5239         Set pad functions unconditionally. Fixes #329105.
5240
5241 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5242         * win32/vs8:
5243           add vs8 project files created by Sergey Scobich
5244
5245 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5246
5247         * gst/gstutils.c: (gst_element_unlink_pads):
5248         Don't leak pad references.
5249
5250         * tests/check/elements/fakesink.c: (GST_START_TEST):
5251         * tests/check/generic/sinks.c: (GST_START_TEST):
5252         * tests/check/generic/states.c: (GST_START_TEST):
5253         * tests/check/gst/gstbin.c: (GST_START_TEST):
5254         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5255         * tests/check/gst/gstelement.c: (GST_START_TEST):
5256         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5257         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5258         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5259         Fix a bunch of leaks. Make generic/sinks.c
5260         use a bit less cpu by slowing the buffer rate
5261         between fakesrc and fakesink.
5262         
5263 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5264         * gst/gstcaps.c:
5265         * gst/gstelement.c: (gst_element_send_event):
5266         * gst/gstevent.c:
5267         * gst/gstinfo.c:
5268         * gst/gstiterator.c:
5269         * gst/gstiterator.h:
5270         * gst/gstpad.c: (gst_pad_send_event):
5271         * gst/gststructure.c:
5272         * gst/gsturi.c:
5273         * gst/gstutils.c:
5274         * gst/gstvalue.c:
5275         * libs/gst/base/gstadapter.c:
5276           doc fixes, to link to function, just write gst_cool_function(), don't
5277           prefix with '#'
5278
5279 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5280
5281         * plugins/elements/gsttee.c: (gst_tee_do_push),
5282         (gst_tee_handle_buffer):
5283         Always prefer an actual return value from a src
5284         pad in place of NOT_LINKED. This means we return
5285         WRONG_STATE when all src pads are WRONG_STATE
5286         instead of NOT_LINKED.
5287
5288         Lock when replacing the last message to prevent
5289         racing with the get_property method.
5290
5291         Add debug output
5292
5293 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5294
5295         * tests/check/Makefile.am:
5296         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5297         (main):
5298         Add a very simple check that should have caught the memleak I fixed
5299         last night (if not for the slice allocator hiding it)
5300
5301 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5302
5303         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5304         (gst_bin_remove_func), (gst_bin_handle_message_func),
5305         (bin_query_duration_fold), (bin_query_generic_fold):
5306         Clean up references to the clock provider when disposed or when
5307         handling a clock-lost message from it.
5308
5309         Unref sinks when performing a query via gst_iterator_fold, as the
5310         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5311
5312         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5313         (gst_clock_set_master):
5314         Drop our reference to the master clock, if any, when we are disposed.
5315
5316         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5317         Chain up in dispose. 
5318
5319 2006-01-26  Wim Taymans  <wim@fluendo.com>
5320
5321         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5322         Add some debugging.
5323
5324 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5325
5326         * plugins/elements/gsttee.c: (gst_tee_do_push),
5327         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5328         handles pad being NOT_LINKED or in WRONG_STATE.
5329
5330 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5331
5332         * win32/MANIFEST:
5333           more updating
5334
5335 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5336
5337         * win32/MANIFEST:
5338           remove obsolete entry
5339
5340 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5341
5342         * docs/gst/gstreamer-sections.txt:
5343         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5344         (gst_bin_iterate_sources), (gst_bin_send_event):
5345         * gst/gstbin.h:
5346         * gst/gstelement.c: (gst_element_send_event):
5347         * gst/gstevent.c:
5348         * gst/gstpad.c: (gst_pad_send_event):
5349           added code for downstream events, reviewed docs in gstevent.c
5350
5351 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5352
5353         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5354         We only query position using the clock in the playing state.
5355         Query peer in the other cases.
5356         * win32/common/config.h: Updates.
5357
5358 2006-01-24  Wim Taymans  <wim@fluendo.com>
5359
5360         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5361         A clock entry that is scheduled for the exact time of the
5362         clock is still in time.
5363
5364         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5365         (gst_base_sink_do_sync):
5366         Add some more debug info.
5367
5368 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5369
5370         * win32/vs7:
5371           Add new vs7 project files and solution.
5372
5373 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5374
5375         * win32/vs7:
5376           all files removed as they were out-dated.
5377
5378 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5379
5380         * docs/random/release:
5381           update notes
5382         * gst/gstbin.c: (gst_bin_init):
5383         * gst/gstbus.c: (gst_bus_new):
5384         * gst/gstbus.h:
5385         * gst/gstpipeline.c: (gst_pipeline_init):
5386           use gst_bus_new(), improve logging, fix docs
5387         * win32/common/config.h:
5388           update for cvs build
5389
5390 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5391
5392         * autogen.sh:
5393           up required version of automake to 1.7
5394
5395 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5396
5397         * win32/common/libgstreamer.def:
5398           export gst_buffer_is_metadata_writable
5399
5400 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5401
5402         * docs/gst/gstreamer-sections.txt:
5403         * gst/gstevent.h:
5404           Add gst_event_replace() (#327001)
5405
5406 2006-01-20  Wim Taymans  <wim@fluendo.com>
5407
5408         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5409         Make it actually compile too..
5410
5411 2006-01-20  Wim Taymans  <wim@fluendo.com>
5412
5413         * gst/gstcaps.c:
5414         Clarify behaviour of _is_equal() when passing NULL parameters.
5415
5416         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5417         (gst_pad_set_caps):
5418         Cleanups. Don't unref NULL caps.
5419         When setting the same caps, protect caps of the pad with
5420         proper lock.
5421         Use full functionality of _is_equal() when comparing caps.
5422
5423 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5424
5425         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5426         Don't loop infinitely if there are no buffers to present. Partially
5427         fixes #327197, but collectpads is just broken for reusing elements
5428         to do multiple encodes atm.
5429
5430 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5431
5432         * tools/gst-inspect.c: (print_element_features):
5433         * tools/gst-xmlinspect.c: (main):
5434         URL_HANDLER is not a plugin feature we can search for in
5435         the registry.
5436
5437 2006-01-19  Edward Hervey  <edward@fluendo.com>
5438
5439         * gst/gstelement.c: (gst_element_pads_activate): 
5440         When activating, do src pads first, then sink pads.
5441         When de-activating, do sink pads first, then src pads.
5442
5443 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5444
5445         * docs/gst/gstreamer-sections.txt:
5446         Add gst_index_add_associationv to the docs
5447
5448 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5449
5450         * gst/gstevent.c:
5451           Fix docs typo
5452
5453         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5454         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5455           Do some refactoring. Doesn't actually change functionality,
5456           but makes landing the DRAIN event easier later.
5457
5458 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5459
5460         * docs/pwg/advanced-scheduling.xml:
5461           Update from 0.9.x to 0.10 API and make example a bit
5462           clearer.
5463
5464 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5465
5466         * docs/gst/gstreamer-sections.txt:
5467         Add gst_buffer_(is|make)_metadata_writable methods.
5468
5469 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5470
5471         * docs/design/part-sparsestreams.txt:
5472         Update sparse streams doc, hopefully for greater clarity
5473
5474 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5475
5476         * docs/design/part-events.txt:
5477         Remove mention of FILLER events.
5478         Add DRAIN event.
5479
5480         * docs/design/part-sparsestreams.txt:
5481         Write some things about using NEWSEGMENT to keep sparse streams
5482         flowing.
5483
5484 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5485
5486         * gst/gstbin.c: (gst_bin_dispose):
5487           Guard gst_object_unref call against a NULL object (dispose
5488           can theoretically be called multiple times).
5489           
5490 2006-01-18  Wim Taymans  <wim@fluendo.com>
5491
5492         * gst/gstbin.c: (gst_bin_element_set_state):
5493         * gst/gstclock.c: (gst_clock_id_wait):
5494         Added some more debug info.
5495
5496         * libs/gst/base/gstadapter.c:
5497         Added more docs.
5498
5499         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5500         (gst_base_sink_do_sync), (gst_base_sink_chain):
5501         Added some comments.
5502
5503 2006-01-18  Wim Taymans  <wim@fluendo.com>
5504
5505         * tests/check/Makefile.am:
5506         * tests/check/elements/fakesink.c: (chain_async_buffer),
5507         (chain_async), (chain_async_return), (GST_START_TEST),
5508         (fakesink_suite), (main):
5509         Added fakesink test that checks prerolling and clipping
5510         behaviour.
5511
5512         * tests/check/gst/gstutils.c: (GST_START_TEST):
5513         Make check run faster so that buildbots don't timeout.
5514
5515 2006-01-18  Wim Taymans  <wim@fluendo.com>
5516
5517         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5518         (gst_base_sink_do_sync):
5519         Some cleanups.
5520         When the sink finishes blocking on the preroll buffer, it can
5521         immediatly render it instead of rendering when the next buffer
5522         arrives.
5523
5524 2006-01-18  Wim Taymans  <wim@fluendo.com>
5525
5526         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5527         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5528         (gst_base_sink_chain):
5529         Small cleanups.
5530         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5531         Don't store _last_stop if the buffer is dropped.
5532
5533 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5534
5535         * plugins/elements/gsttypefindelement.c:
5536         (gst_type_find_element_class_init):
5537           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5538           object method handler that sets the caps on the pad and we want
5539           that to happen before we emit the signal (fixes e.g. feeding a
5540           plain text file to decodebin).
5541
5542 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5543
5544         * gst/gstplugin.c: Add MPL and Proprietary as license options
5545
5546 2006-01-18  Andy Wingo  <wingo@pobox.com>
5547
5548         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5549         symbol was exported before, it appears this was just an oversight.
5550         Fixes #168703.
5551         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5552
5553         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5554         prototype to gint. OK since this prototype was not in the header.
5555
5556 2006-01-17  Andy Wingo  <wingo@pobox.com>
5557
5558         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5559         registry while we remove plugins.
5560
5561         * tools/gst-inspect.c (print_element_info): Don't unref the
5562         factory arg, that should be the responsibility of whatever code
5563         received the ref. Fixes a double-free when called from
5564         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5565         (main): Unref the factory if we have one.
5566         (print_element_list): No change -- relies on the
5567         plugin_feature_list_free to free the list of features.
5568
5569 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5570
5571         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5572         (gst_buffer_make_metadata_writable):
5573         * gst/gstbuffer.h:
5574         * libs/gst/base/gstbasetransform.c:
5575         (gst_base_transform_prepare_output_buf):
5576         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5577         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5578           Replace gst_buffer_(make|is)_metadata_writable patch now
5579           that the release is out.
5580
5581 2006-01-17  Andy Wingo  <wingo@pobox.com>
5582
5583         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5584         in the present tense without reference to versions.
5585
5586         * gst/gstregistry.c (gst_registry_add_plugin)
5587         (gst_registry_remove_plugin, gst_registry_remove_feature)
5588         (gst_registry_find_feature, gst_registry_get_feature_list)
5589         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5590         (gst_registry_lookup, gst_registry_scan_path)
5591         (_gst_registry_remove_cache_plugins)
5592         (gst_registry_get_feature_list_by_plugin): Add argument
5593         validation.
5594
5595 === release 0.10.2 ===
5596
5597 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5598
5599         * configure.ac:
5600           releasing 0.10.2, "If man is five"
5601
5602 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5603
5604         * gst/gstbuffer.c:
5605         * gst/gstbuffer.h:
5606         * libs/gst/base/gstbasetransform.c:
5607         (gst_base_transform_prepare_output_buf):
5608         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5609         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5610           Back out patch until after the release.
5611
5612 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5613
5614         * gst/gstminiobject.c:
5615           Spelling fix in docs.
5616         * ChangeLog - remove conflict indicator
5617
5618 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5619
5620         Reviewed By: Andy Wingo
5621
5622         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5623         (gst_buffer_make_metadata_writable):
5624         * gst/gstbuffer.h:
5625           Add gst_buffer_(is|make)_metadata_writable as analogues of
5626           gst_buffer_(is|make)_writable.
5627
5628         * libs/gst/base/gstbasetransform.c:
5629         (gst_base_transform_prepare_output_buf):
5630         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5631           Use name gst_buffer_(is|make)_metadata_writable functions.
5632
5633         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5634           Test gst_buffer_(is|make)_metadata_writable
5635         
5636           (Closes: #324162)
5637
5638 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5639
5640         * docs/manual/Makefile.am:
5641           don't do parallel make
5642         * configure.ac:
5643           AC_SUBST HOST_CPU
5644         * win32/common/config.h.in:
5645           add generations for HOST_CPU and GST_MAJORMINOR
5646         * win32/common/config.h:
5647           commit generated result
5648
5649 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5650
5651         * docs/manual/appendix-integration.xml:
5652           Update GNOME integration section to use gst_init_get_option_group()
5653           instead of the old popt stuff (#322911). Also, GNOME applications
5654           should  now use gconf*sink and gconf*src instead of the old gconf
5655           helper lib we had.
5656
5657 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5658
5659
5660         * docs/gst/gstreamer-docs.sgml:
5661         * docs/gst/gstreamer-sections.txt:
5662         * docs/libs/gstreamer-libs-sections.txt:
5663           add new API entries to the docs
5664         * libs/gst/controller/Makefile.am:
5665         * libs/gst/controller/gstcontroller.c:
5666         * libs/gst/controller/gstcontroller.h:
5667         * libs/gst/controller/gstcontrollerprivate.h:
5668         * libs/gst/controller/gsthelper.c:
5669         * libs/gst/controller/gstinterpolation.c:
5670           move private structs to private header
5671         * po/README:
5672           gstreamer-0.7 -> gstreamer-0.10
5673         * tests/check/libs/struct_i386.h:
5674           remove private structs
5675
5676 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5677
5678         * plugins/indexers/Makefile.am:
5679           Fixes as part of #317048
5680
5681 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5682
5683         * plugins/indexers/Makefile.am:
5684           fix #316086 - compilation when mmap is missing
5685
5686 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5687
5688         * libs/gst/base/gstbasesink.c:
5689           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5690           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5691         * win32/common/config.h:
5692           added some defines GST_MAJORMINOR and HOST_CPU
5693         * win32/common/libgstbase.def:
5694         * win32/common/libgstreamer.def:
5695           added some exported functions.
5696
5697 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5698
5699         * libs/gst/controller/gstcontroller.c:
5700         (gst_controlled_property_set_interpolation_mode),
5701         (gst_controlled_property_new):
5702         * libs/gst/controller/gstcontroller.h:
5703         * libs/gst/controller/gstinterpolation.c:
5704         (interpolate_none_get_string_value_array):
5705           make G_TYPE_STRING controlable
5706
5707 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * tools/README:
5710         * tools/gst-feedback.1.in:
5711         * tools/gst-inspect.1.in:
5712         * tools/gst-launch.1.in:
5713         * tools/gst-md5sum.1.in:
5714         * tools/gst-typefind.1.in:
5715         * tools/gst-xmlinspect.1.in:
5716         * tools/gst-xmllaunch.1.in:
5717           cleanup man-pages, remove reference to gst-register, document env-vars
5718
5719 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
5720
5721         * gst/gstbuffer.c: (gst_buffer_span):
5722           gst_buffer_span should copy the timestamp of the first buffer
5723           if they were both originally overlapping subbuffers of the 
5724           same parent, using the same logic as the 'slow copy' case.
5725
5726 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
5727
5728         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5729           Need to awaken ALL the pads when we pop a buffer, otherwise
5730           collectpads only works when there is 2 input streams.
5731
5732 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
5733
5734         * docs/random/ensonic/media-device-daemon.txt:
5735           more ideas (dbus)
5736         * gst/gstbuffer.c:
5737           fix doc example, add clarification
5738         * tools/gst-launch.1.in:
5739           add initial info about GST_PLUGIN_PATH, needs more work
5740
5741 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5742
5743         * docs/manual/basics-bins.xml:
5744         * docs/manual/basics-elements.xml:
5745         * docs/manual/intro-basics.xml:
5746           Some more minor docs additions and updates.
5747
5748 2006-01-11  Wim Taymans  <wim@fluendo.com>
5749
5750         * docs/manual/basics-bins.xml:
5751         * docs/manual/basics-elements.xml:
5752         Some small fixes as pointed out by Ser-ver on IRC.
5753
5754 2006-01-10  Edward Hervey  <edward@fluendo.com>
5755
5756         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5757         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5758         the single-segment mode.
5759
5760 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
5761
5762         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5763
5764         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5765         (gst_base_src_perform_seek), (gst_base_src_send_event),
5766         (gst_base_src_set_property), (gst_base_src_get_property),
5767         (gst_base_src_loop), (gst_base_src_start),
5768         (gst_base_src_activate_push):
5769         * libs/gst/base/gstbasesrc.h:
5770           Name (private) union; makes Sun's Forte compiler happy (#324900).
5771
5772 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5773
5774         * README:
5775           gst-register is gone.
5776
5777 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5778
5779         * gst/gstvalue.c: (_gst_value_initialize):
5780           make the G_TYPE_DATE instantiation work if debug is disabled
5781
5782 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * gst/gstmessage.c: (gst_message_parse_tag),
5785         (gst_message_parse_error), (gst_message_parse_warning):
5786           Don't crash when return location for error/warning debug
5787           string is NULL; add fact that return locations can be
5788           NULL to docs where appropriate.
5789
5790 2006-01-05  Wim Taymans  <wim@fluendo.com>
5791
5792         * gst/gstplugin.c: (gst_plugin_load_file):
5793         Replace strdup by g_strdup.
5794
5795 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5796
5797         * docs/pwg/advanced-types.xml:
5798           fix doc borkage
5799
5800 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5801
5802         submitted by: Abel Cheung
5803
5804         * po/LINGUAS:
5805         * po/zh_TW.po:
5806           Added Chinese (traditional) translation
5807
5808 2006-01-04  Wim Taymans  <wim@fluendo.com>
5809
5810         * docs/manual/basics-pads.xml:
5811         * docs/plugins/Makefile.am:
5812         * docs/plugins/gstreamer-plugins-docs.sgml:
5813         * docs/plugins/gstreamer-plugins-sections.txt:
5814         * docs/pwg/advanced-clock.xml:
5815         * docs/pwg/advanced-scheduling.xml:
5816         * docs/pwg/advanced-types.xml:
5817         * plugins/elements/gstfdsink.c:
5818         * plugins/elements/gstfdsrc.c:
5819         * plugins/elements/gstfdsrc.h:
5820         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5821         * plugins/elements/gstidentity.h:
5822         * plugins/elements/gstqueue.h:
5823         * plugins/elements/gsttee.c:
5824         * plugins/elements/gsttee.h:
5825         * plugins/elements/gsttypefindelement.c:
5826         (gst_type_find_element_class_init):
5827         * plugins/elements/gsttypefindelement.h:
5828         Small updates to various docs.
5829         Added core plugins to docs.
5830
5831 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5832
5833         * common/gst.supp:
5834           add a suppression for liboil's uninitialized variable
5835
5836 2006-01-02  James Livingston  <jrl at ids dot org dot au>
5837
5838         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5839
5840         * gst/gstutils.h:
5841           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5842           macro, so that gcc doesn't complain if the -Wmissing-prototypes
5843           compiler switch is being used (#325429).
5844
5845 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
5846
5847         * gst/gstbin.c: (gst_bin_query):
5848           Disable duration query caching in bins until it gets
5849           fixed (see #324807).
5850
5851 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5852
5853         * tools/gst-inspect.c: (print_element_properties_info):
5854           Handle properties of POINTER and BOXED type.
5855
5856 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5857
5858         * gst/gst.c: (init_post):
5859           Init tags stuff and some other things before loading
5860           any static plugins (there may be other static plugins
5861           than just the GStreamer ones, and they may want to
5862           register their own tags or formats or whatever, and
5863           preferably without segfaulting).
5864
5865         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5866           Print at least a warning in the debug logs if we drop a
5867           query just because we don't know how to adjust the value
5868           in the particular format.
5869
5870 2005-12-24  David Schleef  <ds@schleef.org>
5871
5872         * tools/gstreamer-completion:
5873           Replacement for gst-complete written in sh and sed.  Only
5874           completes names of features, but that's 90% of what I want
5875           it for.  Properties are not available in registry.xml.  (Maybe
5876           they should be...)
5877
5878 === release 0.10.1 ===
5879
5880 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
5881
5882         * configure.ac:
5883           releasing 0.10.1, "Nollaig chridheil"
5884
5885 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
5886
5887         * docs/faq/cvs.xml:
5888           Add missing quote, should be make ERROR_CFLAGS="".
5889
5890 2005-12-20  Wim Taymans  <wim@fluendo.com>
5891
5892         * docs/design/part-trickmodes.txt:
5893         More documentation on trickmodes.
5894
5895 2005-12-20  Edward Hervey  <edward@fluendo.com>
5896
5897         * gst/gstcaps.c: (gst_static_caps_get_type):
5898         * gst/gstcaps.h:
5899           API addition: GST_TYPE_STATIC_CAPS
5900         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5901         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5902         * gst/gstpadtemplate.h:
5903           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5904         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5905         bindings.
5906
5907 2005-12-18  Wim Taymans  <wim@fluendo.com>
5908
5909         * libs/gst/base/gstadapter.c:
5910         * libs/gst/base/gstadapter.h:
5911         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5912         (gst_base_sink_get_position):
5913         * libs/gst/base/gstbasesink.h:
5914         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5915         (gst_base_src_default_query), (gst_base_src_default_do_seek),
5916         (gst_base_src_do_seek), (gst_base_src_perform_seek),
5917         (gst_base_src_send_event), (gst_base_src_update_length),
5918         (gst_base_src_get_range), (gst_base_src_loop),
5919         (gst_base_src_start):
5920         * libs/gst/base/gstbasesrc.h:
5921         * libs/gst/base/gstbasetransform.h:
5922         * libs/gst/base/gstcollectpads.h:
5923         * libs/gst/base/gstpushsrc.c:
5924         * libs/gst/base/gstpushsrc.h:
5925         * libs/gst/dataprotocol/dataprotocol.c:
5926         * libs/gst/dataprotocol/dataprotocol.h:
5927         * libs/gst/net/gstnetclientclock.h:
5928         * libs/gst/net/gstnettimeprovider.h:
5929         Documentation updates.
5930
5931 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5932
5933         * docs/manual/basics-helloworld.xml:
5934           Remove superfluous closing bracket in helloworld example.
5935
5936 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5937
5938         * tools/gst-launch.1.in:
5939           Update gst-launch man page; add a section with useful
5940           environment variables. Fixes #323882.
5941
5942 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
5943
5944         * gst/gst.c:
5945         * gst/gst_private.h:
5946           change some char* into char[]
5947
5948 2005-12-16  Wim Taymans  <wim@fluendo.com>
5949
5950         * gst/gstregistryxml.c: (load_feature):
5951         Cleanups.
5952         Don't use g_object_unref on GstObjects so that we avoid
5953         leaks on unsafe glibs.
5954
5955 2005-12-16  Wim Taymans  <wim@fluendo.com>
5956
5957         * gst/gstbin.c: (gst_bin_recalc_state):
5958         Small doc updates.
5959
5960 2005-12-16  Wim Taymans  <wim@fluendo.com>
5961
5962         * common/check.mak:
5963         Added make forever target for check.
5964
5965 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5966
5967         * gst/gst.c: (init_post):
5968           make the registry cache file HOST_CPU-dependent
5969
5970 2005-12-16  Andy Wingo  <wingo@pobox.com>
5971
5972         * plugins/elements/gstbufferstore.c
5973         (gst_buffer_store_cleared_func): Pay attention to g_list_append
5974         return value.
5975
5976         * tests/check/gst/gstobject.c
5977         (test_fake_object_name_threaded_unique): Pay attention to
5978         g_list_sort return value.
5979
5980 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5981
5982         * tools/gst-feedback-m.m:
5983           Update for 0.9/0.10 (fixes #323870).
5984
5985 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
5986
5987         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5988           Fix lcopy for mini objects, the mini object needs to be ref'ed.
5989           
5990         * tests/check/gst/gstminiobject.c: (my_foo_init),
5991         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5992         (test_value_collection), (gst_mini_object_suite):
5993           Add test to ensure refcounts end up as expected when passing
5994           GstMiniObjects through g_object_get() and g_object_set().
5995
5996 2005-12-14  Julien MOUTTE  <julien@moutte.net>
5997
5998         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5999         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6000         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6001         of collectpads. This version removes a lot of races without
6002         touching API/ABI. Yay !
6003
6004 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6005
6006         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6007           Don't allow activation of a srcpad in pull_range if it has no
6008           getrange function.
6009           Change some debug statements to be a little clearer
6010
6011         * plugins/elements/gsttypefindelement.c:
6012         (gst_type_find_handle_src_query):
6013           Check that we have a peer before executing queries thereupon.
6014
6015         * tests/examples/metadata/read-metadata.c: (message_loop):
6016           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6017           immediately return us any available message with 0 timeout.
6018
6019 2005-12-12  Michael Smith  <msmith@fluendo.com>
6020
6021         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6022           Don't unref factories after calling them.
6023         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6024         * plugins/elements/gsttypefindelement.c:
6025         (gst_type_find_element_chain):
6026           Free lists of factories after using them. Fixing typefinding memory
6027           leaks.
6028
6029 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6030
6031         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6032         (gst_plugin_feature_load):
6033           more meaningful debug output
6034         * configure.ac:
6035         * tests/Makefile.am:
6036         * tests/old/examples/Makefile.am:
6037           make make distcheck happy again
6038
6039 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6040
6041         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6042           Catch the special case where we are operating chain-based,
6043           but the downstream peer pad has no chain function. Emit a
6044           custom error message in this case instead of letting the
6045           core generate one implying that this is some sort of core
6046           bug. It's not, it just means that whatever got plugged
6047           into the pipeline downstream when we announced the type
6048           can only operate pull-based, while our source can only
6049           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6050           Error string has not been marked for translation yet, as
6051           it probably needs some more work first.
6052
6053         (gst_type_find_element_get_best_possibility):
6054           Add helper function to find the best of all available
6055           found possibilities that qualify given the min. threshold.
6056
6057         (gst_type_find_element_handle_event):
6058           Fix the case where we get an EOS while still in TYPEFIND
6059           mode (we want to chose the best of all possible types,
6060           not just the first type that happens to be in our unsorted
6061           list of possible types).
6062
6063         (gst_type_find_element_chain):
6064           Make sure we return GST_FLOW_ERROR when we errored out
6065           in stop_typefinding(); also, don't just find the best of
6066           all found type entries and then use the last examined
6067           type entry, but actually use the best entry.
6068
6069 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6070
6071         * tests/examples/typefind/typefind.c: (type_found):
6072         * tests/examples/xml/runxml.c: (xml_loaded):
6073           More gcc4 fixes and a mem leak fix.
6074
6075 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6076
6077         * tests/examples/xml/createxml.c: (object_saved):
6078           gcc 4 fixes
6079
6080 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6081
6082         * tests/Makefile.am:
6083           enable the examples even more
6084
6085 2005-12-12  Andy Wingo  <wingo@pobox.com>
6086
6087         * libs/gst/net/gstnettimeprovider.c
6088         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6089         (gst_net_time_provider_set_property)
6090         (gst_net_time_provider_get_property):
6091         API addition: Export "active" as a GObject property.
6092         (gst_net_time_provider_thread): Only respond to time queries if
6093         the time provider is active.
6094
6095         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6096         NetTimeProvider, preserving binary compat.
6097
6098 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6099
6100         * tests/examples/controller/audio-example.c: (main):
6101         * tests/examples/launch/Makefile.am:
6102           convert comments again
6103
6104 2005-12-12  Wim Taymans  <wim@fluendo.com>
6105
6106         * libs/gst/base/gstpushsrc.c:
6107         Fix typo.
6108
6109 2005-12-12  Wim Taymans  <wim@fluendo.com>
6110
6111         * docs/libs/gstreamer-libs-sections.txt:
6112         Added new symbol to docs.
6113
6114         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6115         (gst_base_src_init), (gst_base_src_set_format),
6116         (gst_base_src_default_query), (gst_base_src_query),
6117         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6118         (gst_base_src_perform_seek), (gst_base_src_send_event),
6119         (gst_base_src_default_event), (gst_base_src_event_handler),
6120         (gst_base_src_set_property), (gst_base_src_get_property),
6121         (gst_base_src_wait), (gst_base_src_do_sync),
6122         (gst_base_src_update_length), (gst_base_src_get_range),
6123         (gst_base_src_check_get_range), (gst_base_src_loop),
6124         (gst_base_src_default_negotiate), (gst_base_src_start),
6125         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6126         (gst_base_src_change_state):
6127         * libs/gst/base/gstbasesrc.h:
6128         Implement seeking to other formats than _BYTES.
6129         Implement more seeking methods correctly.
6130         Doc updates.
6131         Added query vmethod.
6132         Added do_seek vmethod to make life easier for subclasses
6133         when seeking.
6134         API addition: gst_base_src_set_format()
6135
6136 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6137
6138         * tests/examples/Makefile.am:
6139           added that too
6140
6141 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6142
6143         * configure.ac:
6144         * docs/random/ensonic/media-device-daemon.txt:
6145         * tests/examples/controller/.cvsignore:
6146         * tests/examples/controller/Makefile.am:
6147         * tests/examples/controller/audio-example.c: (main):
6148         * tests/examples/helloworld/.cvsignore:
6149         * tests/examples/helloworld/Makefile.am:
6150         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6151         * tests/examples/launch/.cvsignore:
6152         * tests/examples/launch/Makefile.am:
6153         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6154         * tests/examples/metadata/.cvsignore:
6155         * tests/examples/metadata/Makefile.am:
6156         * tests/examples/metadata/read-metadata.c: (message_loop),
6157         (make_pipeline), (print_tag), (main):
6158         * tests/examples/queue/.cvsignore:
6159         * tests/examples/queue/Makefile.am:
6160         * tests/examples/queue/queue.c: (event_loop), (main):
6161         * tests/examples/typefind/.cvsignore:
6162         * tests/examples/typefind/Makefile.am:
6163         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6164         (main):
6165         * tests/examples/xml/.cvsignore:
6166         * tests/examples/xml/Makefile.am:
6167         * tests/examples/xml/createxml.c: (object_saved), (main):
6168         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6169         * tests/old/examples/Makefile.am:
6170         * tests/old/examples/TODO:
6171         * tests/old/examples/controller/.cvsignore:
6172         * tests/old/examples/controller/Makefile.am:
6173         * tests/old/examples/controller/audio-example.c:
6174         * tests/old/examples/helloworld/.cvsignore:
6175         * tests/old/examples/helloworld/Makefile.am:
6176         * tests/old/examples/helloworld/helloworld.c:
6177         * tests/old/examples/launch/.cvsignore:
6178         * tests/old/examples/launch/Makefile.am:
6179         * tests/old/examples/launch/mp3parselaunch.c:
6180         * tests/old/examples/launch/mp3play:
6181         * tests/old/examples/manual/Makefile.am:
6182         * tests/old/examples/metadata/Makefile.am:
6183         * tests/old/examples/metadata/read-metadata.c:
6184         * tests/old/examples/queue/.cvsignore:
6185         * tests/old/examples/queue/Makefile.am:
6186         * tests/old/examples/queue/queue.c:
6187         * tests/old/examples/typefind/.cvsignore:
6188         * tests/old/examples/typefind/Makefile.am:
6189         * tests/old/examples/typefind/typefind.c:
6190         * tests/old/examples/xml/.cvsignore:
6191         * tests/old/examples/xml/Makefile.am:
6192         * tests/old/examples/xml/createxml.c:
6193         * tests/old/examples/xml/runxml.c:
6194           applied some simple fixing to some examples
6195           re-enabled the working examples
6196
6197 2005-12-12  Wim Taymans  <wim@fluendo.com>
6198
6199         * gst/gstsegment.c: (gst_segment_init),
6200         (gst_segment_set_last_stop), (gst_segment_set_seek),
6201         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6202         (gst_segment_to_running_time):
6203         Added more documentation.
6204         Make sure the last_pos value is updated properly.
6205         Make sure to_stream_time and to_running_time don't
6206         operate on wrong values.
6207
6208         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6209         Update check.
6210
6211 2005-12-12  Michael Smith  <msmith@fluendo.com>
6212
6213         * plugins/elements/gsttypefindelement.c: (free_entry),
6214         (gst_type_find_element_chain):
6215           Now that we're not leaking factories, make sure we keep references
6216           to them while we need them.
6217
6218 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6219
6220         * tests/check/gst/struct_i386.h:
6221           ifdef out the XML structs
6222
6223 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6224
6225         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6226           floor is not needed, F is always positive; this obviates the
6227           need for adding -lm when building without libxml
6228
6229 2005-12-12  Wim Taymans  <wim@fluendo.com>
6230
6231         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6232         Take current playback rate into account when reporting
6233         the position.
6234
6235 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6236
6237         * docs/manual/mime-world.fig:
6238           Let's try this again, this time with a file that is
6239           actually in XFig format.
6240
6241 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6242
6243         * docs/manual/mime-world.fig:
6244           Add audioconvert element to diagram so that it
6245           matches the text and the code (fixes #319526).
6246
6247 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6248
6249         * docs/pwg/building-chainfn.xml:
6250         * docs/pwg/building-pads.xml:
6251         * docs/pwg/building-state.xml:
6252         * docs/pwg/other-source.xml:
6253           Update state change stuff for 0.10 (fixes #322969).
6254
6255 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6256
6257         * docs/manual/advanced-dataaccess.xml:
6258         * docs/manual/appendix-checklist.xml:
6259         * docs/manual/appendix-programs.xml:
6260         * docs/manual/basics-pads.xml:
6261         * docs/manual/highlevel-components.xml:
6262         * docs/manual/manual.xml:
6263           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6264           add converters in front of pipelines; remove curly
6265           brackets for threads stuff, they no longer exist; use
6266           GST_TYPE_FRACTION for framerates; update some pieces of
6267           code to 0.10, but there's plenty more to do.
6268
6269         * docs/manual/appendix-porting.xml:
6270           Expand on asynchroneous state changes; s/0.9/0.10/;
6271           mention disappearance of gst_init_get_popt_table()
6272           (fixes #322916).
6273
6274 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6275
6276         * docs/faq/using.xml:
6277           Spider no longer exists, and neither does gst-launch-ext.
6278           Update examples to use decodebin and playbin and put
6279           converters in front of sinks (fixes #323726).
6280
6281 2005-12-09  Michael Smith  <msmith@fluendo.com>
6282
6283         * plugins/elements/gsttypefindelement.c: (find_peek),
6284         (gst_type_find_element_chain):
6285           Fix leaking element factories in typefinding.
6286           Fix problem where we forgot about a probable type on non-seekable
6287           files, and thus later mis-typefound it.
6288
6289 2005-12-09  Michael Smith  <msmith@fluendo.com>
6290
6291         * common/m4/gst-makecontext.m4:
6292         * common/m4/gst-mcsc.m4:
6293         * configure.ac:
6294         * win32/common/config.h:
6295         * win32/common/config.h.in:
6296           Remove makecontext stuff; not used in 0.10 and causes problems on
6297           HPUX according to bug #322441
6298
6299 2005-12-07  Wim Taymans  <wim@fluendo.com>
6300
6301         * tests/check/Makefile.am:
6302         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6303         (main):
6304         * tests/check/libs/struct_i386.h:
6305         Added ABI check for libs
6306
6307 2005-12-07  Wim Taymans  <wim@fluendo.com>
6308
6309         * tests/check/Makefile.am:
6310         And add the struct_i386.h to dist.
6311
6312 2005-12-07  Wim Taymans  <wim@fluendo.com>
6313
6314         * tests/check/Makefile.am:
6315         * tests/check/gst/.cvsignore:
6316         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6317         (main):
6318         * tests/check/gst/struct_i386.h:
6319         Added check for ABI compatibility.
6320
6321 2005-12-07  Wim Taymans  <wim@fluendo.com>
6322
6323         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6324         (gst_fake_src_get_times), (gst_fake_src_create):
6325         Fix broken sync option, fixes #323259
6326
6327 2005-12-07  Wim Taymans  <wim@fluendo.com>
6328
6329         * gst/gstbuffer.c:
6330         Small docs update.
6331
6332         * gst/gstcaps.c: (gst_caps_is_equal):
6333         Don't assert on NULL <--> X. Fixes #323260
6334
6335         * gst/gstminiobject.c: (gst_mini_object_replace):
6336         If we're doing atomic operations, we might just as well use
6337         the proper way to get an atomic pointer.
6338
6339         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6340         Clean up debugging.
6341
6342 2005-12-07  Michael Smith  <msmith@fluendo.com>
6343
6344         * gst/parse/grammar.y:
6345           Remove handling of { } for threads.
6346
6347 2005-12-06  David Schleef  <ds@schleef.org>
6348
6349         * libs/gst/base/gstbasetransform.c: speling fix.
6350
6351 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6352
6353         * docs/libs/tmpl/gstdataprotocol.sgml:
6354         * docs/random/omega/testing/gstobject.c:
6355         * gst/gst.c:
6356         * gst/gstclock.c:
6357         * gst/gstelement.c:
6358         * gst/gstelementfactory.c:
6359         * gst/gsterror.c:
6360         * gst/gstevent.c:
6361         * gst/gstghostpad.c:
6362         * gst/gstinfo.c:
6363         * gst/gstpadtemplate.c:
6364         * gst/gstregistryxml.c:
6365         * gst/gsttaglist.c:
6366         * gst/gsttagsetter.c:
6367         * gst/gsttypefind.c:
6368         * gst/gstvalue.c:
6369         * libs/gst/base/gstbasesrc.c:
6370         * libs/gst/net/gstnetclientclock.c:
6371         * libs/gst/net/gstnettimeprovider.c:
6372         * plugins/elements/gstfakesrc.c:
6373         * plugins/elements/gstfdsrc.c:
6374         * plugins/elements/gstfilesrc.c:
6375         * plugins/elements/gstidentity.c:
6376         * plugins/elements/gstqueue.c:
6377         * plugins/elements/gsttypefindelement.c:
6378         * plugins/indexers/gstfileindex.c:
6379         * plugins/indexers/gstmemindex.c:
6380         * tests/check/gst/gsttag.c:
6381         * tests/old/examples/cutter/cutter.c:
6382         * tests/old/examples/mixer/mixer.c:
6383         * tests/old/examples/xml/runxml.c: (main):
6384         * tests/old/testsuite/caps/normalisation.c:
6385         * tests/old/testsuite/debug/global.c:
6386         * tests/old/testsuite/parse/parse1.c:
6387         * tools/gst-xmlinspect.c:
6388         * win32/common/dirent.c:
6389           expand tabs
6390
6391 === release 0.10.0 ===
6392
6393 2005-12-05   <thomas (at) apestaart (dot) org>
6394
6395         * configure.ac:
6396           releasing 0.10.0, "Maroilles"
6397
6398 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6399
6400         submitted by: Funda Wang <fundawang@linux.net.cn>
6401
6402         * po/LINGUAS:
6403         * po/zh_CN.po:
6404           added Chinese (Traditional) translation
6405
6406 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6407
6408         * docs/gst/gstreamer-sections.txt:
6409         * docs/libs/tmpl/gstdataprotocol.sgml:
6410         * docs/random/thomasvs/TODO:
6411         * gst/gstutils.c:
6412         * gst/gstutils.h:
6413           fix docs
6414
6415 2005-12-05  Andy Wingo  <wingo@pobox.com>
6416
6417         patch by: Wim Taymans <wim@fluendo.com>
6418
6419         * libs/gst/base/gstbasetransform.c
6420         (gst_base_transform_prepare_output_buf)
6421         (gst_base_transform_buffer_alloc):
6422         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6423         alloc_buffer_and_set_caps.
6424
6425         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6426         set_caps on the source pad.
6427         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6428         alloc_buffer used to do. Fixes #322874.
6429
6430         * docs/gst/gstreamer-sections.txt: 
6431         * docs/design/part-negotiation.txt: 
6432         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6433         changes.
6434
6435 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6436
6437         patch by: Sebastien Moutte
6438
6439         * win32/MANIFEST:
6440         * win32/common/config.h.in:
6441         * win32/vs6/libgstcontroller.dsp:
6442           win32 build fixes
6443
6444 2005-12-05  Wim Taymans  <wim@fluendo.com>
6445
6446         * gst/gstcaps.c: (gst_caps_is_equal):
6447         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6448         (gst_fake_src_create):
6449         Back out previous code changes, leave doc updates, file bugs 
6450         instead. 
6451
6452 2005-12-05  Wim Taymans  <wim@fluendo.com>
6453
6454         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6455         (gst_fake_src_get_times), (gst_fake_src_create):
6456         * plugins/elements/gstfakesrc.h:
6457         Fix broken sync code.
6458
6459 2005-12-05  Wim Taymans  <wim@fluendo.com>
6460
6461         * gst/gstcaps.c: (gst_caps_is_equal):
6462         Comparing NULL against !NULL yields different caps, not a
6463         failure.
6464
6465 2005-12-05  Wim Taymans  <wim@fluendo.com>
6466
6467         * gst/gstpipeline.c:
6468         Fix small typo in docs.
6469
6470 2005-12-05  Andy Wingo  <wingo@pobox.com>
6471
6472         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6473
6474         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6475         registries/plugins with a MAJORMINOR one.
6476         (plugin_desc): Rename library from gstcoreleements to
6477         staticelements. Fixes #323222.
6478
6479 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6480
6481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6482           Change debug category to 'collectpads' from 'collect_pads'
6483           (fixes #323250).
6484
6485 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6486
6487         patch by: Sebastien Moutte
6488
6489         * libs/gst/controller/gstinterpolation.c:
6490           use convert function for uint64/double
6491         * win32/vs6/libgstcontroller.dsp:
6492           link to GLib
6493
6494 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6495
6496         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6497         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6498         * gst/gstutils.h:
6499         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6500           add tests that seem to show that the guint64/gdouble conversions
6501           are correct.
6502
6503 2005-12-02  Wim Taymans  <wim@fluendo.com>
6504
6505         * gst/gstregistry.c: (gst_registry_add_path):
6506         * gst/gstregistry.h:
6507         * gst/gstregistryxml.c:
6508         Fix docs again.
6509
6510 2005-12-02  Wim Taymans  <wim@fluendo.com>
6511
6512         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6513         (gst_util_uint64_scale_int):
6514         Small cleanup.
6515
6516         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6517         Add debug log line.
6518
6519         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6520         Add FIXME.
6521
6522 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6523
6524         * win32/MANIFEST:
6525         * win32/common/config.h:
6526         * win32/vs6/gstreamer.dsw:
6527         * win32/vs6/libgstcoreelements.dsp:
6528         * win32/vs6/libgstelements.dsp:
6529           renamed core elements plugin
6530
6531 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6532
6533         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6534         (get_candidates):
6535           do piece-wise major/minor comparison so 0.9 < 0.10
6536           also allow .exe extensions for tools
6537
6538 2005-12-02  Michael Smith  <msmith@fluendo.com>
6539
6540         * gst/gst.c:
6541           Escape a % to make gtkdoc happier; bug 322958.
6542
6543 === release 0.9.7 ===
6544
6545 2005-12-01   <thomas (at) apestaart (dot) org>
6546
6547         * configure.ac:
6548           releasing 0.9.7, "My Dog Has No Nose"
6549
6550 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6551
6552         * common/gst-xmlinspect.py:
6553         * configure.ac:
6554         * docs/libs/tmpl/gstdataprotocol.sgml:
6555         * docs/random/release:
6556         * po/af.po:
6557         * po/az.po:
6558         * po/bg.po:
6559         * po/ca.po:
6560         * po/cs.po:
6561         * po/de.po:
6562         * po/en_GB.po:
6563         * po/fr.po:
6564         * po/it.po:
6565         * po/nb.po:
6566         * po/nl.po:
6567         * po/ru.po:
6568         * po/sq.po:
6569         * po/sr.po:
6570         * po/sv.po:
6571         * po/tr.po:
6572         * po/uk.po:
6573         * po/vi.po:
6574         * win32/common/config.h:
6575         * win32/common/config.h.in:
6576         * win32/vs6/gst_inspect.dsp:
6577         * win32/vs6/gst_launch.dsp:
6578         * win32/vs6/libgstbase.dsp:
6579         * win32/vs6/libgstelements.dsp:
6580         * win32/vs6/libgstreamer.dsp:
6581         * win32/vs7/GStreamer.vcproj:
6582         * win32/vs7/gst-inspect.vcproj:
6583         * win32/vs7/gst-launch.vcproj:
6584         * win32/vs7/libgstbase.vcproj:
6585           bump GST_MAJORMINOR to 0.10
6586           reset libtool version
6587
6588 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6589
6590         * po/LINGUAS:
6591         * po/bg.po:
6592           Added Bulgarian translation by (Alexander Shopov)
6593
6594 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6595
6596         * tests/check/gst/gstplugin.c:
6597           fix test
6598
6599 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6600
6601         * common/gst-xmlinspect.py:
6602         * common/gtk-doc-plugins.mak:
6603         * configure.ac:
6604         * docs/Makefile.am:
6605         * docs/gst/Makefile.am:
6606         * docs/gst/gstreamer-docs.sgml:
6607         * docs/gst/gstreamer-sections.txt:
6608         * docs/gst/gstreamer.types:
6609         * docs/gst/gstreamer.types.in:
6610         * docs/plugins/Makefile.am:
6611         * docs/plugins/gstreamer-plugins-docs.sgml:
6612         * docs/plugins/gstreamer-plugins-sections.txt:
6613         * docs/plugins/gstreamer-plugins.types:
6614         * docs/plugins/inspect.stamp:
6615         * docs/plugins/inspect/plugin-coreelements.xml:
6616         * docs/plugins/inspect/plugin-coreindexers.xml:
6617         * docs/plugins/scanobj-build.stamp:
6618         * gstreamer.spec.in:
6619         * plugins/elements/Makefile.am:
6620         * plugins/elements/gstelements.c:
6621         * plugins/elements/gstfakesink.c:
6622         * plugins/elements/gstfakesrc.c:
6623         * plugins/elements/gstfilesink.c:
6624         * plugins/elements/gstfilesrc.c:
6625         * plugins/elements/gstqueue.c:
6626         * plugins/indexers/Makefile.am:
6627         * plugins/indexers/gstindexers.c:
6628           document core plugins in a separate document just like all the
6629           others
6630           rename these plugins to something starting with core
6631
6632 2005-12-01  Andy Wingo  <wingo@pobox.com>
6633
6634         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6635         padding here before, but it missed the commit.
6636
6637 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6638
6639         * libs/gst/controller/gstinterpolation.c:
6640           whitespace prices have crashed, we should feel free to use some now
6641           use gst_guint64_to_gdouble
6642
6643 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6644
6645         * libs/gst/controller/gstcontroller.c:
6646         * libs/gst/controller/gsthelper.c:
6647         * libs/gst/controller/gstinterpolation.c:
6648         * libs/gst/controller/lib.c:
6649           wrap config.h include
6650
6651 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6652
6653         * docs/gst/gstreamer-sections.txt:
6654           update docs
6655
6656 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6657
6658         * plugins/elements/gstelements.c:
6659         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6660         (gst_fd_sink__class_init), (gst_fd_sink__init),
6661         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6662         (gst_fd_sink__get_property):
6663         * plugins/elements/gstfdsink.h:
6664         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6665         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6666         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6667         (gst_fd_src_unlock), (gst_fd_src_set_property),
6668         (gst_fd_src_get_property), (gst_fd_src_create),
6669         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6670         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6671         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6672         (gst_fd_src_uri_handler_init):
6673         * plugins/elements/gstfdsrc.h:
6674         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6675           more anal cleanup
6676
6677 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6678
6679         * docs/gst/Makefile.am:
6680         * docs/gst/gstreamer.types.in:
6681         * gst/Makefile.am:
6682           fix the docs build
6683
6684 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6685
6686         * configure.ac:
6687         * gst/Makefile.am:
6688         * gst/gst.c:
6689         * gst/gstplugin.h:
6690         * gst/gstregistry.h:
6691         * tests/benchmarks/complexity.c:
6692         * tests/benchmarks/mass-elements.c:
6693         * tests/check/Makefile.am:
6694         * tools/Makefile.am:
6695         * tools/gst-inspect.c:
6696         * tools/gst-xmlinspect.c:
6697           various fixes to make
6698           --disable-nls --disable-registry --disable-loadsave
6699           --disable-parse --disable-gst-debug
6700           work and get the core .so down to 360444 bytes after stripping
6701
6702 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6703
6704         * Makefile.am:
6705         * configure.ac:
6706           descend into tests
6707         * docs/random/thomasvs/TODO:
6708         * tests/Makefile.am:
6709         * tests/README:
6710           add a README
6711
6712 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6713
6714         * win32/GStreamer.vcproj:
6715         * win32/MANIFEST:
6716         * win32/Makefile:
6717         * win32/Makefile.inspect:
6718         * win32/Makefile.launch:
6719         * win32/Makefile.register:
6720         * win32/README.txt:
6721         * win32/gst-inspect.vcproj:
6722         * win32/gst-launch.vcproj:
6723         * win32/gst-register.vcproj:
6724         * win32/gstelements.vcproj:
6725         * win32/gstgetbits.def:
6726         * win32/gstgetbits.vcproj:
6727         * win32/gstreamer-dbg.def:
6728         * win32/gstreamer.def:
6729         * win32/libgstbase.def:
6730         * win32/libgstbase.vcproj:
6731         * win32/link_oldruntime.c:
6732         * win32/mman.c:
6733         * win32/mman.h:
6734         * win32/mman.inl:
6735         * win32/msvc71.sln:
6736           move even more stuff, win32/ is nice and clean now
6737
6738 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6739
6740         * libs/gst/control/.cvsignore:
6741         * win32/MANIFEST:
6742         * win32/config.h:
6743         * win32/dirent.c:
6744         * win32/dirent.h:
6745         * win32/gstbytestream.def:
6746         * win32/gstbytestream.vcproj:
6747         * win32/gstconfig.h:
6748         * win32/gstenumtypes.c:
6749         * win32/gstenumtypes.h:
6750         * win32/gstoptimalscheduler.vcproj:
6751         * win32/gstversion.h:
6752         * win32/gtchar.h:
6753         * win32/testsuite/bins.vcproj:
6754         * win32/testsuite/bytestream.vcproj:
6755         * win32/testsuite/caps.vcproj:
6756         * win32/testsuite/cleanup.vcproj:
6757         * win32/testsuite/clock.vcproj:
6758         * win32/testsuite/debug.vcproj:
6759         * win32/testsuite/dlopen.vcproj:
6760         * win32/testsuite/dynparams.vcproj:
6761         * win32/testsuite/elements.vcproj:
6762         * win32/testsuite/ghostpads.vcproj:
6763         * win32/testsuite/indexers.vcproj:
6764         * win32/testsuite/negotiation.vcproj:
6765         * win32/testsuite/parse.vcproj:
6766         * win32/testsuite/plugin.vcproj:
6767         * win32/testsuite/refcounting.vcproj:
6768         * win32/testsuite/schedulers.vcproj:
6769         * win32/testsuite/states.vcproj:
6770         * win32/testsuite/tags.vcproj:
6771         * win32/testsuite/threads.vcproj:
6772           remove old win32 stuff that isn't maintained and should be
6773           reorganized
6774
6775 2005-11-30  Andy Wingo  <wingo@pobox.com>
6776
6777         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6778         loading the gst.interfaces python module bork.
6779
6780         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6781         available since GLib 2.2. Fixes #318031.
6782
6783 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6784
6785         * Makefile.am:
6786         * check/.cvsignore:
6787         * check/Makefile.am:
6788         * check/elements/.cvsignore:
6789         * check/elements/fakesrc.c:
6790         * check/elements/fdsrc.c:
6791         * check/elements/identity.c:
6792         * check/generic/.cvsignore:
6793         * check/generic/states.c:
6794         * check/gst-libs/.cvsignore:
6795         * check/gst-libs/controller.c:
6796         * check/gst-libs/gdp.c:
6797         * check/gst/.cvsignore:
6798         * check/gst/capslist.h:
6799         * check/gst/gst.c:
6800         * check/gst/gstbin.c:
6801         * check/gst/gstbuffer.c:
6802         * check/gst/gstbus.c:
6803         * check/gst/gstcaps.c:
6804         * check/gst/gstelement.c:
6805         * check/gst/gstevent.c:
6806         * check/gst/gstghostpad.c:
6807         * check/gst/gstiterator.c:
6808         * check/gst/gstmessage.c:
6809         * check/gst/gstminiobject.c:
6810         * check/gst/gstobject.c:
6811         * check/gst/gstpad.c:
6812         * check/gst/gstpipeline.c:
6813         * check/gst/gstplugin.c:
6814         * check/gst/gstsegment.c:
6815         * check/gst/gststructure.c:
6816         * check/gst/gstsystemclock.c:
6817         * check/gst/gsttag.c:
6818         * check/gst/gstutils.c:
6819         * check/gst/gstvalue.c:
6820         * check/net/.cvsignore:
6821         * check/net/gstnetclientclock.c:
6822         * check/net/gstnettimeprovider.c:
6823         * check/pipelines/.cvsignore:
6824         * check/pipelines/cleanup.c:
6825         * check/pipelines/simple_launch_lines.c:
6826         * check/pipelines/stress.c:
6827         * check/states/.cvsignore:
6828         * check/states/sinks.c:
6829         * configure.ac:
6830         * examples/Makefile.am:
6831         * examples/appreader/.cvsignore:
6832         * examples/appreader/Makefile.am:
6833         * examples/appreader/appreader.c:
6834         * examples/controller/.cvsignore:
6835         * examples/controller/Makefile.am:
6836         * examples/controller/audio-example.c:
6837         * examples/cutter/.cvsignore:
6838         * examples/cutter/Makefile.am:
6839         * examples/cutter/cutter.c:
6840         * examples/cutter/cutter.h:
6841         * examples/events/Makefile.am:
6842         * examples/events/seek.c:
6843         * examples/helloworld/.cvsignore:
6844         * examples/helloworld/Makefile.am:
6845         * examples/helloworld/helloworld.c:
6846         * examples/helloworld2/.cvsignore:
6847         * examples/helloworld2/Makefile.am:
6848         * examples/helloworld2/helloworld2.c:
6849         * examples/launch/.cvsignore:
6850         * examples/launch/Makefile.am:
6851         * examples/launch/mp3parselaunch.c:
6852         * examples/launch/mp3play:
6853         * examples/manual/.cvsignore:
6854         * examples/manual/Makefile.am:
6855         * examples/manual/extract.pl:
6856         * examples/metadata/Makefile.am:
6857         * examples/metadata/read-metadata.c:
6858         * examples/mixer/.cvsignore:
6859         * examples/mixer/Makefile.am:
6860         * examples/mixer/mixer.c:
6861         * examples/mixer/mixer.h:
6862         * examples/pingpong/.cvsignore:
6863         * examples/pingpong/Makefile.am:
6864         * examples/pingpong/pingpong.c:
6865         * examples/plugins/.cvsignore:
6866         * examples/plugins/Makefile.am:
6867         * examples/plugins/example.c:
6868         * examples/plugins/example.h:
6869         * examples/pwg/.cvsignore:
6870         * examples/pwg/Makefile.am:
6871         * examples/pwg/extract.pl:
6872         * examples/queue/.cvsignore:
6873         * examples/queue/Makefile.am:
6874         * examples/queue/queue.c:
6875         * examples/queue2/.cvsignore:
6876         * examples/queue2/Makefile.am:
6877         * examples/queue2/queue2.c:
6878         * examples/queue3/.cvsignore:
6879         * examples/queue3/Makefile.am:
6880         * examples/queue3/queue3.c:
6881         * examples/queue4/.cvsignore:
6882         * examples/queue4/Makefile.am:
6883         * examples/queue4/queue4.c:
6884         * examples/retag/.cvsignore:
6885         * examples/retag/Makefile.am:
6886         * examples/retag/retag.c:
6887         * examples/retag/transcode.c:
6888         * examples/thread/.cvsignore:
6889         * examples/thread/Makefile.am:
6890         * examples/thread/thread.c:
6891         * examples/typefind/.cvsignore:
6892         * examples/typefind/Makefile.am:
6893         * examples/typefind/typefind.c:
6894         * examples/xml/.cvsignore:
6895         * examples/xml/Makefile.am:
6896         * examples/xml/createxml.c:
6897         * examples/xml/runxml.c:
6898         * tests/Makefile.am:
6899         * tests/check/Makefile.am:
6900         * testsuite/.cvsignore:
6901         * testsuite/Makefile.am:
6902         * testsuite/Rules:
6903         * testsuite/caps/.cvsignore:
6904         * testsuite/caps/Makefile.am:
6905         * testsuite/caps/app_fixate.c:
6906         * testsuite/caps/audioscale.c:
6907         * testsuite/caps/caps.c:
6908         * testsuite/caps/caps.h:
6909         * testsuite/caps/caps_strings:
6910         * testsuite/caps/compatibility.c:
6911         * testsuite/caps/deserialize.c:
6912         * testsuite/caps/enumcaps.c:
6913         * testsuite/caps/eratosthenes.c:
6914         * testsuite/caps/filtercaps.c:
6915         * testsuite/caps/fixed.c:
6916         * testsuite/caps/fraction-convert.c:
6917         * testsuite/caps/fraction-multiply-and-zero.c:
6918         * testsuite/caps/intersect2.c:
6919         * testsuite/caps/intersection.c:
6920         * testsuite/caps/normalisation.c:
6921         * testsuite/caps/random.c:
6922         * testsuite/caps/renegotiate.c:
6923         * testsuite/caps/sets.c:
6924         * testsuite/caps/simplify.c:
6925         * testsuite/caps/string-conversions.c:
6926         * testsuite/caps/structure.c:
6927         * testsuite/caps/subtract.c:
6928         * testsuite/caps/union.c:
6929         * testsuite/debug/.cvsignore:
6930         * testsuite/debug/Makefile.am:
6931         * testsuite/debug/category.c:
6932         * testsuite/debug/commandline.c:
6933         * testsuite/debug/global.c:
6934         * testsuite/debug/output.c:
6935         * testsuite/debug/printf_extension.c:
6936         * testsuite/dlopen/.cvsignore:
6937         * testsuite/dlopen/Makefile.am:
6938         * testsuite/dlopen/dlopen_gst.c:
6939         * testsuite/dlopen/loadgst.c:
6940         * testsuite/elements/.cvsignore:
6941         * testsuite/elements/Makefile.am:
6942         * testsuite/elements/gst-inspect-check.in:
6943         * testsuite/elements/struct_i386.h:
6944         * testsuite/elements/struct_size.c:
6945         * testsuite/indexers/.cvsignore:
6946         * testsuite/indexers/Makefile.am:
6947         * testsuite/indexers/cache1.c:
6948         * testsuite/indexers/indexdump.c:
6949         * testsuite/parse/.cvsignore:
6950         * testsuite/parse/Makefile.am:
6951         * testsuite/parse/parse1.c:
6952         * testsuite/parse/parse2.c:
6953         * testsuite/plugin/.cvsignore:
6954         * testsuite/plugin/Makefile.am:
6955         * testsuite/plugin/README:
6956         * testsuite/plugin/dynamic.c:
6957         * testsuite/plugin/linked.c:
6958         * testsuite/plugin/loading.c:
6959         * testsuite/plugin/registry.c:
6960         * testsuite/plugin/static.c:
6961         * testsuite/plugin/static2.c:
6962         * testsuite/plugin/testplugin.c:
6963         * testsuite/plugin/testplugin2.c:
6964         * testsuite/plugin/testplugin2_s.c:
6965         * testsuite/plugin/testplugin_s.c:
6966         * testsuite/refcounting/.cvsignore:
6967         * testsuite/refcounting/Makefile.am:
6968         * testsuite/refcounting/bin.c:
6969         * testsuite/refcounting/element.c:
6970         * testsuite/refcounting/element_pad.c:
6971         * testsuite/refcounting/mainloop.c:
6972         * testsuite/refcounting/mem.c:
6973         * testsuite/refcounting/mem.h:
6974         * testsuite/refcounting/object.c:
6975         * testsuite/refcounting/pad.c:
6976         * testsuite/refcounting/sched.c:
6977         * testsuite/refcounting/thread.c:
6978         * testsuite/states/.cvsignore:
6979         * testsuite/states/Makefile.am:
6980         * testsuite/states/bin.c:
6981         * testsuite/states/locked.c:
6982         * testsuite/states/parent.c:
6983         * testsuite/threads/.cvsignore:
6984         * testsuite/threads/159566.c:
6985         * testsuite/threads/159852.c:
6986         * testsuite/threads/Makefile.am:
6987         * testsuite/threads/queue.c:
6988         * testsuite/threads/signals.c:
6989         * testsuite/threads/staticrec.c:
6990         * testsuite/threads/thread.c:
6991         * testsuite/threads/threadb.c:
6992         * testsuite/threads/threadc.c:
6993         * testsuite/threads/threadd.c:
6994         * testsuite/threads/threade.c:
6995         * testsuite/threads/threadf.c:
6996         * testsuite/threads/threadg.c:
6997         * testsuite/threads/threadh.c:
6998         * testsuite/threads/threadi.c:
6999           move all of these under tests
7000
7001 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7002
7003         * configure.ac:
7004         * tests/Makefile.am:
7005           fix distcheck
7006
7007 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7008
7009         * docs/gst/gstreamer-sections.txt:
7010         * tests/sched/.cvsignore:
7011         * tests/sched/Makefile.am:
7012         * tests/sched/cases/(fs-fs).xml:
7013         * tests/sched/cases/(fs-i-fs).xml:
7014         * tests/sched/cases/(fs-i-i-fs).xml:
7015         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7016         * tests/sched/dynamic-pipeline.c:
7017         * tests/sched/interrupt1.c:
7018         * tests/sched/interrupt2.c:
7019         * tests/sched/interrupt3.c:
7020         * tests/sched/runtestcases:
7021         * tests/sched/runxml.c:
7022         * tests/sched/sched-stress.c:
7023         * tests/sched/sort.c:
7024         * tests/sched/testcases:
7025         * tests/sched/testcases1.tc:
7026         * tests/seeking/.cvsignore:
7027         * tests/seeking/Makefile.am:
7028         * tests/seeking/seeking1.c:
7029         * tests/threadstate/.cvsignore:
7030         * tests/threadstate/Makefile.am:
7031         * tests/threadstate/test1.c:
7032         * tests/threadstate/test2.c:
7033         * tests/threadstate/threadstate1.c:
7034         * tests/threadstate/threadstate2.c:
7035         * tests/threadstate/threadstate3.c:
7036         * tests/threadstate/threadstate4.c:
7037         * tests/threadstate/threadstate5.c:
7038           remove obsolete tests
7039         * configure.ac:
7040         * tests/bench-complexity.scm:
7041         * tests/bench-mass_elements.scm:
7042         * tests/complexity.c:
7043         * tests/complexity.gnuplot:
7044         * tests/instantiate/.cvsignore:
7045         * tests/instantiate/Makefile.am:
7046         * tests/instantiate/caps.c:
7047         * tests/mass_elements.c:
7048         * tests/network-clock-utils.scm:
7049         * tests/network-clock.scm:
7050         * tests/plot-data:
7051         First pass at cleaning up tests/ dir before moving the rest
7052         Combined with CVS surgery
7053
7054 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7055
7056         * po/POTFILES.in:
7057           queue has moved, update
7058
7059 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7060
7061         * docs/gst/gstreamer-sections.txt:
7062           remove double entries from the docs
7063         * gst/gst_private.h:
7064         * gst/gstinfo.c: (_gst_debug_init):
7065           remove the THREAD debug category
7066         * gst/Makefile.am:
7067         * gst/gstqueue.c:
7068         * gst/gstqueue.h:
7069         * docs/gst/gstreamer.types:
7070         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7071         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7072           completely move queue and fix up debugging categories
7073
7074 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7075
7076         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7077           make initialization portable, using LL is not
7078
7079 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7080
7081         * win32/common/gstconfig.h:
7082           add large padding
7083
7084 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7085
7086         * win32/common/libgstreamer.def:
7087           rename symbols; sort base section
7088
7089 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7090
7091         * gst/gstclock.c: (do_linear_regression):
7092           remove crack non-portable handrolled DEBUG macro
7093
7094 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7095
7096         * docs/random/release:
7097           update notes
7098         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7099         (gst_object_flags_get_type), (register_gst_bin_flags),
7100         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7101         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7102         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7103         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7104         (gst_caps_flags_get_type), (register_gst_clock_return),
7105         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7106         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7107         (gst_clock_flags_get_type), (register_gst_state),
7108         (gst_state_get_type), (register_gst_state_change_return),
7109         (gst_state_change_return_get_type), (register_gst_state_change),
7110         (gst_state_change_get_type), (register_gst_element_flags),
7111         (gst_element_flags_get_type), (register_gst_core_error),
7112         (gst_core_error_get_type), (register_gst_library_error),
7113         (gst_library_error_get_type), (register_gst_resource_error),
7114         (gst_resource_error_get_type), (register_gst_stream_error),
7115         (gst_stream_error_get_type), (register_gst_event_type_flags),
7116         (gst_event_type_flags_get_type), (register_gst_event_type),
7117         (gst_event_type_get_type), (register_gst_seek_type),
7118         (gst_seek_type_get_type), (register_gst_seek_flags),
7119         (gst_seek_flags_get_type), (register_gst_format),
7120         (gst_format_get_type), (register_gst_index_certainty),
7121         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7122         (gst_index_entry_type_get_type),
7123         (register_gst_index_lookup_method),
7124         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7125         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7126         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7127         (gst_index_flags_get_type), (register_gst_debug_level),
7128         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7129         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7130         (gst_iterator_result_get_type), (register_gst_iterator_item),
7131         (gst_iterator_item_get_type), (register_gst_message_type),
7132         (gst_message_type_get_type), (register_gst_mini_object_flags),
7133         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7134         (gst_pad_link_return_get_type), (register_gst_flow_return),
7135         (gst_flow_return_get_type), (register_gst_activate_mode),
7136         (gst_activate_mode_get_type), (register_gst_pad_direction),
7137         (gst_pad_direction_get_type), (register_gst_pad_flags),
7138         (gst_pad_flags_get_type), (register_gst_pad_presence),
7139         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7140         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7141         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7142         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7143         (gst_plugin_flags_get_type), (register_gst_rank),
7144         (gst_rank_get_type), (register_gst_query_type),
7145         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7146         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7147         (gst_tag_flag_get_type), (register_gst_task_state),
7148         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7149         (gst_alloc_trace_flags_get_type),
7150         (register_gst_type_find_probability),
7151         (gst_type_find_probability_get_type), (register_gst_uri_type),
7152         (gst_uri_type_get_type), (register_gst_parse_error),
7153         (gst_parse_error_get_type):
7154         * win32/common/gstenumtypes.h:
7155         * win32/common/gstversion.h:
7156           update visual studio generated files
7157
7158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7159
7160         * win32/vs6/libgstbase.dsp:
7161         * win32/vs6/libgstelements.dsp:
7162           update project files for new locations
7163
7164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7165
7166         * Makefile.am:
7167           remove some files
7168         * README:
7169           reinstate and update
7170         * DEVEL:
7171         * REQUIREMENTS:
7172           removed
7173         * LICENSE:
7174         * docs/random/LICENSE:
7175           moved to random
7176
7177 2005-11-30  Edward Hervey  <edward@fluendo.com>
7178
7179         * gst/gsttypefind.c: (gst_type_find_register):
7180         * gst/gsttypefind.h:
7181         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7182         (gst_type_find_factory_dispose):
7183         * gst/gsttypefindfactory.h:
7184         Fix memory leak in GstTypeFindFactory.
7185
7186 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7187
7188         * gst/gst.c:
7189         * plugins/elements/Makefile.am:
7190         * plugins/elements/gstelements.c:
7191         * plugins/elements/gstqueue.c:
7192           move queue from core to the elements plugin
7193
7194 2005-11-29  Andy Wingo  <wingo@pobox.com>
7195
7196         * libs/gst/base/gstbasetransform.h: 
7197         * libs/gst/base/gstbasesrc.h: 
7198         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7199
7200         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7201         of pointers by which to pad very extensible base classes (like the
7202         ones in libs/gst/base).
7203
7204 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7205
7206         * docs/gst/gstreamer-docs.sgml:
7207         * docs/gst/gstreamer-sections.txt:
7208         * docs/libs/gstreamer-libs-docs.sgml:
7209         * docs/libs/gstreamer-libs-sections.txt:
7210           moving documentation from core to lib
7211
7212 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7213
7214         * check/Makefile.am:
7215         * configure.ac:
7216         * docs/gst/Makefile.am:
7217         * gst/Makefile.am:
7218         * gst/base/.cvsignore:
7219         * gst/base/Makefile.am:
7220         * gst/base/README:
7221         * gst/base/gstadapter.c:
7222         * gst/base/gstadapter.h:
7223         * gst/base/gstbasesink.c:
7224         * gst/base/gstbasesink.h:
7225         * gst/base/gstbasesrc.c:
7226         * gst/base/gstbasesrc.h:
7227         * gst/base/gstbasetransform.c:
7228         * gst/base/gstbasetransform.h:
7229         * gst/base/gstcollectpads.c:
7230         * gst/base/gstcollectpads.h:
7231         * gst/base/gstpushsrc.c:
7232         * gst/base/gstpushsrc.h:
7233         * gst/base/gsttypefindhelper.c:
7234         * gst/base/gsttypefindhelper.h:
7235         * gst/check/Makefile.am:
7236         * gst/check/gstcheck.c:
7237         * gst/check/gstcheck.h:
7238         * gst/net/Makefile.am:
7239         * gst/net/gstnet.h:
7240         * gst/net/gstnetclientclock.c:
7241         * gst/net/gstnetclientclock.h:
7242         * gst/net/gstnettimepacket.c:
7243         * gst/net/gstnettimepacket.h:
7244         * gst/net/gstnettimeprovider.c:
7245         * gst/net/gstnettimeprovider.h:
7246         * libs/gst/Makefile.am:
7247         * libs/gst/base/Makefile.am:
7248         * libs/gst/base/gstbasetransform.c:
7249         * libs/gst/check/Makefile.am:
7250         * plugins/elements/Makefile.am:
7251         * po/POTFILES.in:
7252           CVS surgery + support to move base, check, and net out of gst
7253           and into libs/gst
7254
7255 2005-11-29  Andy Wingo  <wingo@pobox.com>
7256
7257         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7258
7259         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7260         padding.
7261
7262         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7263
7264         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7265
7266         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7267
7268         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7269         padding; reduces object size by about 30%. We don't expect
7270         anything else to go into gstobject.
7271
7272         * gst/gstminiobject.h (struct _GstMiniObject)
7273         (struct _GstMiniObjectClass): Only one pointer of padding; the
7274         payload is only a pointer and two ints anyway. For the class there
7275         are only two methods as well.
7276         
7277         * gst/gstelement.h (struct _GstElementClass): Removed
7278         the state_changed signal callback, it is not used.
7279
7280 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7281
7282         * docs/gst/gstreamer.types:
7283           fix includes, though they are a little dinky
7284
7285 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7286
7287         * check/Makefile.am:
7288           look in the right place for elements, a lot more chance of
7289           success
7290         * gst/Makefile.am:
7291           remove indexers and elements subdirs
7292         * plugins/Makefile.am:
7293           make indexers conditional
7294
7295 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7296
7297         * Makefile.am:
7298         * configure.ac:
7299         * plugins/elements/Makefile.am:
7300         * plugins/elements/gstcapsfilter.c:
7301         * plugins/elements/gstfilesink.c:
7302         * plugins/elements/gstfilesrc.c:
7303         * plugins/elements/gstidentity.c:
7304         * plugins/indexers/Makefile.am:
7305           do CVS surgery and related build fixery to move elements
7306           and indexers in a new gstreamer/plugins directory, out of the
7307           gst/ directory
7308
7309 2005-11-29  Andy Wingo  <wingo@pobox.com>
7310
7311         * check/Makefile.am:
7312         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7313         * pkgconfig/gstreamer-net.pc.in:
7314         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7315         #322257.
7316
7317 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7318
7319         * tools/Makefile.am:
7320         * tools/gst-complete.1.in:
7321         * tools/gst-complete.c:
7322         * tools/gst-compprep.1.in:
7323         * tools/gst-compprep.c:
7324           removing -compprep and -complete
7325
7326 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7327
7328         * gst/gstevent.c: (gst_event_new_new_segment),
7329         (gst_event_parse_new_segment):
7330         * gst/gstevent.h:
7331           fix #320529 - clean up new_segment API and structure.
7332           Let's hope everyone was using the methods, and not the structure.
7333
7334 2005-11-29  Edward Hervey  <edward@fluendo.com>
7335
7336         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7337         (gst_base_sink_event), (gst_base_sink_do_sync),
7338         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7339         Properly handle non GST_FORMAT_TIME segment
7340         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7341         Properly handle non GST_FORMAT_TIME segment
7342         * gst/gstsegment.c:
7343         This function is valid if the accumulator is 0 and the format
7344         is different from the requested format.
7345         
7346 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7347
7348         * docs/gst/gstreamer-sections.txt:
7349         Add gst_query_new_seeking and gst_query_parse_seeking to the
7350         docs.
7351
7352 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7353
7354         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7355           Treat a pad alloc with new caps the same as if we were not
7356           negotiated, in order to allow a changing upstream output
7357           to produce a new format of data.
7358
7359 2005-11-29  Edward Hervey  <edward@fluendo.com>
7360
7361         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7362         (gst_base_transform_event), (gst_base_transform_eventfunc):
7363         The event virtual method is now properly implemented, with a default
7364         handler
7365         Sub classes should call the parent_class event method. They should
7366         return FALSE if they had a problem handling the given event, or don't
7367         want GstBaseTransform to send that even downstream
7368         * gst/elements/gstidentity.c: (gst_identity_class_init),
7369         (gst_identity_init), (gst_identity_event),
7370         (gst_identity_transform_ip), (gst_identity_set_property),
7371         (gst_identity_get_property):
7372         * gst/elements/gstidentity.h:
7373         Added the single-segment boolean property.
7374         If set to TRUE, it will output a single segment of data, starting from
7375         0, will eat up all incoming newsegment, and modify the timestamp of the
7376         buffers accordingly
7377
7378 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7379
7380         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7381           Don't ref NULL target pad (#322751). Improve docs.
7382
7383 2005-11-29  Michael Smith  <msmith@fluendo.com>
7384
7385         * gst/gstregistryxml.c: (load_plugin):
7386           Don't crash if we failed to load a feature from a plugin. 
7387
7388 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7389
7390         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7391         (GST_START_TEST):
7392           use more check API and less GLib API
7393
7394 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7395
7396         * Makefile.am:
7397           don't run checks if we don't have check
7398         * common/check.mak:
7399           remove the registry when running make torture
7400         * docs/gst/gstreamer-sections.txt:
7401           remove second multiply
7402         * gst/gstqueue.c: (gst_queue_loop):
7403           fix a compile warning when disabling debug
7404
7405 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7406
7407         * gst/gstinfo.h:
7408         Hey! Let's print the pad name if the pointer != NULL instead
7409         of when it == NULL :-)
7410
7411 2005-11-28  Wim Taymans  <wim@fluendo.com>
7412
7413         * check/gst/gstutils.c: (GST_START_TEST):
7414         Updated check, add some scaling accuracy checking code.
7415
7416         * gst/gstutils.c: (gst_util_div128_64),
7417         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7418         (gst_util_uint64_scale_int):
7419         Fix 6 times faster division code. Optimize for common 
7420         1/1 and less common X/1 cases.
7421
7422 2005-11-28  Wim Taymans  <wim@fluendo.com>
7423
7424         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7425         More checks.
7426
7427         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7428         (do_linear_regression), (gst_clock_add_observation):
7429         Cleanups.
7430         Release lock when the clock cannot be slaved.
7431         Catch the case where the regression returned an invalid denominator.
7432
7433         * gst/gstutils.c: (gst_util_div128_64_iterate),
7434         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7435         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7436         Add protentially more performant non-iterative 128/64 divide function
7437         that unfortunatly does not work yet.
7438         Shortcut the trivial 0/X = 0 case.
7439         Remove the warnings on overflow.
7440
7441 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7442
7443         * gst/gstplugin.c: (gst_plugin_register_func):
7444           everything causing a plugin not to load should be at least a WARNING
7445
7446 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7447
7448         * docs/random/ensonic/dparams.txt:
7449           some TODOs for the next dev cycle
7450         * libs/gst/controller/gstcontroller.c:
7451         (gst_controlled_property_set_interpolation_mode),
7452         (gst_controlled_property_new):
7453         * libs/gst/controller/gstcontroller.h:
7454           use base type to assign acccessor functions
7455
7456 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7457
7458         * check/Makefile.am:
7459         Oops, that should have been top_srcdir
7460
7461 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7462
7463         * check/Makefile.am:
7464         * check/elements/fdsrc.c: (GST_START_TEST):
7465         Use a cmdline define to specify the location of a file to use for
7466         testing, to avoid breaking distcheck.
7467
7468 2005-11-28  Andy Wingo  <wingo@pobox.com>
7469
7470         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7471
7472 2005-11-28  Edward Hervey  <edward@fluendo.com>
7473
7474         * tools/gst-launch.c: (main):
7475         Clarify the output strings, makes it easier to translate.
7476         Fixes #322626
7477
7478 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7479
7480         * gst/Makefile.am:
7481           don't try and build net if we don't even have <sys/socket.h>
7482
7483 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7484
7485         * check/Makefile.am:
7486         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7487         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7488           Add tests for fdsrc seekability
7489
7490         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7491         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7492         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7493         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7494         * gst/elements/gstfdsrc.h:
7495           fdsrc should not be a 'live' source.
7496           Implement seeking on seekable fd's.
7497
7498         * gst/gstquery.c: (gst_query_new_seeking),
7499         (gst_query_parse_seeking):
7500         * gst/gstquery.h:
7501           Implement SEEKING query functions: 
7502             *_new_seeking and *_parse_seeking
7503
7504 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7505
7506         * gst/gstelement.c: (gst_element_dispose):
7507           don't loop forever
7508
7509         * gst/gstiterator.c:
7510         * gst/gststructure.c:
7511           doc fixes
7512
7513         * libs/gst/controller/gstcontroller.c:
7514         (gst_controlled_property_set_interpolation_mode):
7515         * libs/gst/controller/gstcontroller.h:
7516         * libs/gst/controller/gstinterpolation.c:
7517         (interpolate_none_get_enum_value_array):
7518           support controlling enums
7519
7520 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7521
7522         * gst/gstvalue.c:
7523           Improve documentation for gst_value_union().
7524
7525         * gst/gstvalue.h:
7526           Change return value for union, intersect and subtract functions
7527           from gint to gboolean.
7528
7529 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * gst/gstvalue.c: (gst_value_serialize_any_list),
7532         (gst_value_transform_any_list_string),
7533         (gst_value_deserialize_list), (gst_value_deserialize_array),
7534         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7535         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7536         (gst_value_set_fraction_range_full),
7537         (gst_value_deserialize_fraction_range),
7538         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7539         (gst_value_deserialize_boolean),
7540         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7541         (gst_value_serialize_float), (gst_value_deserialize_float),
7542         (gst_string_wrap), (gst_value_deserialize_string),
7543         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7544         (gst_value_union_int_range_int_range),
7545         (gst_value_intersect_int_range_int_range),
7546         (gst_value_intersect_double_range_double_range),
7547         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7548         (gst_value_subtract_int_range_int_range),
7549         (gst_value_subtract_double_double_range),
7550         (gst_value_subtract_double_range_double_range),
7551         (gst_value_deserialize_fraction):
7552         * gst/gstvalue.h:
7553           Use gint, gdouble and gchar in our API instead of int, double and
7554           char (and make usage in gstvalue.c more consistent).
7555
7556 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7557
7558         * check/Makefile.am:
7559         * libs/gst/controller/Makefile.am:
7560         * libs/gst/dataprotocol/Makefile.am:
7561           fix up Makefile.am and remove GST_ENABLE_NEW
7562
7563 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7564
7565         * configure.ac:
7566         * gst/Makefile.am:
7567         * gst/base/Makefile.am:
7568         * gst/check/Makefile.am:
7569         * gst/elements/Makefile.am:
7570         * gst/net/Makefile.am:
7571           update LDFLAGS use some more
7572
7573 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7574
7575         * common/m4/gst-doc.m4:
7576           Fixes #312589
7577
7578 2005-11-26  Edward Hervey  <edward@fluendo.com>
7579
7580         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7581         This shouldn't issue a g_warning since it returns NULL if it
7582         couldn't find the plugin, and all functions using this behave
7583         properly on a NULL return. Switching to a GST_WARNING.
7584
7585 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7586
7587         * gst/gstbin.c: (gst_bin_handle_message_func):
7588         Don't leak clock messages.
7589
7590 2005-11-25  Wim Taymans  <wim@fluendo.com>
7591
7592         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7593         (gst_util_uint64_scale_int):
7594         Optimisations, remove unneeded vars.
7595
7596 2005-11-25  Wim Taymans  <wim@fluendo.com>
7597
7598         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7599         Added more checks for the high precision uint64 cases.
7600
7601         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7602         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7603         Implement high precision (guint64 * guint64) / guint64.
7604
7605 2005-11-24  Wim Taymans  <wim@fluendo.com>
7606
7607         * gst/base/gstbasesrc.c: (gst_base_src_query):
7608         Fix wrong percentage query.
7609
7610         * gst/gstutils.c: (gst_util_uint64_scale),
7611         (gst_util_uint64_scale_int):
7612         Add some more common cases that can be handled 
7613         efficiently to _scale.
7614
7615 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7616
7617         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7618         (gst_mini_object_suite):
7619           don't use check calls from threads; check probably isn't
7620           threadsafe and using a lock to make it threadsafe would
7621           defeat the purpose of this check
7622         * gst/check/gstcheck.c:
7623         * gst/check/gstcheck.h:
7624           use GST_DEBUG some more
7625
7626 2005-11-24  Wim Taymans  <wim@fluendo.com>
7627
7628         * gst/gstutils.c: (gst_util_uint64_scale),
7629         (gst_util_uint64_scale_int):
7630         Chain trivial case to _scale_int.
7631
7632 2005-11-24  Wim Taymans  <wim@fluendo.com>
7633
7634         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7635         Added test for scaling.
7636
7637         * gst/gstclock.h:
7638         Small doc fix.
7639
7640         * gst/gstutils.c: (gst_util_uint64_scale_int):
7641         Implemented high precision scaling code.
7642
7643 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7644
7645         * gst/gstinfo.h:
7646           do not crash on pad==NULL
7647
7648 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7649
7650         Patch by: Stefan Kost
7651
7652         * common/gtk-doc.mak:
7653         * docs/gst/Makefile.am:
7654         * docs/libs/Makefile.am:
7655           Fix distcheck issues for the libraries docs build
7656           Closes #319599.
7657
7658 2005-11-24  Michael Smith <msmith@fluendo.com>
7659
7660         * docs/manual/basics-helloworld.xml:
7661           Fix bug #315027: memory leak in example code in docs.
7662
7663 2005-11-24  Michael Smith <msmith@fluendo.com>
7664
7665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7666           Unlock the PREROLL_LOCK in a failure case.
7667
7668 2005-11-24  Wim Taymans  <wim@fluendo.com>
7669
7670         * docs/gst/gstreamer-sections.txt:
7671         * gst/base/gstadapter.h:
7672         * gst/base/gstbasesink.h:
7673         * gst/base/gstbasesrc.h:
7674         * gst/base/gstbasetransform.h:
7675         * gst/base/gstpushsrc.h:
7676         * gst/elements/gstfakesink.h:
7677         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7678         * gst/elements/gstfakesrc.h:
7679         * gst/elements/gstfilesink.h:
7680         * gst/elements/gstfilesrc.h:
7681         * gst/gst.c:
7682         * gst/gstbin.c:
7683         * gst/gstbuffer.c: (_gst_buffer_copy):
7684         * gst/gstbus.h:
7685         * gst/gstcaps.c:
7686         * gst/gstchildproxy.c:
7687         * gst/gstclock.c:
7688         * gst/gstelement.c:
7689         * gst/gstelementfactory.c:
7690         * gst/gstelementfactory.h:
7691         * gst/gstevent.c:
7692         * gst/gstghostpad.h:
7693         * gst/gstindex.h:
7694         * gst/gstinterface.h:
7695         * gst/gstminiobject.c:
7696         * gst/gstminiobject.h:
7697         * gst/gstpad.c:
7698         * gst/gstpad.h:
7699         * gst/gstpadtemplate.h:
7700         * gst/gstpipeline.h:
7701         * gst/gstpluginfeature.h:
7702         * gst/gstquery.h:
7703         * gst/gstqueue.h:
7704         * gst/gsttaglist.c:
7705         * gst/gsttaglist.h:
7706         * gst/gsttagsetter.c:
7707         * gst/gsttagsetter.h:
7708         * gst/gsttrace.c:
7709         * gst/gsttrace.h:
7710         * gst/gsttypefind.h:
7711         * gst/gsturi.h:
7712         * gst/gstvalue.c:
7713         * gst/net/gstnetclientclock.c:
7714         * gst/net/gstnetclientclock.h:
7715         * gst/net/gstnettimepacket.c:
7716         * gst/net/gstnettimeprovider.c:
7717         * gst/net/gstnettimeprovider.h:
7718         Doc fixes.
7719
7720 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7721
7722         * configure.ac: back to HEAD
7723
7724 === release 0.9.6 ===
7725
7726 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
7727
7728         * configure.ac:
7729           releasing 0.9.6, "Always On Time"
7730
7731 2005-11-23  Wim Taymans  <wim@fluendo.com>
7732
7733         * docs/gst/gstreamer-sections.txt:
7734         * gst/glib-compat.c:
7735         * gst/gsttagsetter.c:
7736         * gst/gstvalue.c:
7737         * gst/net/gstnetclientclock.c:
7738         * gst/net/gstnettimepacket.h:
7739         Doc updates.
7740
7741 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7742
7743         * docs/faq/using.xml:
7744         * docs/libs/tmpl/gstcontrol.sgml:
7745         * docs/manual/advanced-dparams.xml:
7746         * docs/manual/appendix-checklist.xml:
7747         * docs/manual/basics-elements.xml:
7748         * docs/pwg/other-source.xml:
7749         * docs/random/moving-plugins:
7750         * gst/gstpad.c:
7751         * tools/gst-launch.1.in:
7752           remove mentions of sinesrc
7753
7754 2005-11-23  Michael Smith <msmith@fluendo.com>
7755
7756         * docs/gst/gstreamer-sections.txt:
7757           Update for new API and API changes.
7758         * gst/gstobject.h:
7759           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7760         * gst/gstvalue.c:
7761           Documentation typo fix.
7762         * gst/net/gstnettimepacket.c:
7763           Documentation fixes for arguments.
7764
7765 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
7766
7767         * gst/gststructure.c: (gst_structure_get_fraction),
7768         (gst_structure_parse_value),
7769         (gst_structure_fixate_field_nearest_fraction):
7770         * gst/gststructure.h:
7771         * gst/gstutils.c: (gst_util_uint64_scale_int):
7772         * gst/gstutils.h:
7773         * scripts/update-funcnames:
7774         API Changes. 
7775         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7776         Make gst_structure_fixate_field_nearest_fraction take a numerator
7777         and denominator argument instead of a GValue
7778         add gst_structure_get_fraction helper function.
7779
7780 2005-11-23  Wim Taymans  <wim@fluendo.com>
7781
7782         * docs/design/part-TODO.txt:
7783         Update TODO.
7784
7785         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7786         * gst/net/gstnetclientclock.h:
7787         Use parent fields for timeout and window_size.
7788
7789 2005-11-23  Andy Wingo  <wingo@pobox.com>
7790
7791         * check/net/gstnetclientclock.c (test_functioning): Adjust to
7792         rate_num/rate_denom change.
7793
7794         * gst/net/gstnetclientclock.c
7795         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7796         OBJECT_LOCK. Don't call add_observation with the lock.
7797
7798         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7799         fraction.
7800         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7801         rate fraction.
7802         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7803         deal with rate as a fraction whose numerator and denominator are
7804         GstClockTime values.
7805         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7806         master; the other fields are protected by the SLAVE_LOCK.
7807         (do_linear_regression): Note that this must be called with the
7808         SLAVE_LOCK.
7809         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7810         OBJECT_LOCK. Call set_calibration instead of touching the
7811         variables directly.
7812         (gst_clock_set_property, gst_clock_get_property): Protect
7813         master/slave parameters with the SLAVE_LOCK.
7814
7815         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7816         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7817         note that all of the instance variables that add_observation and
7818         the set_master functions use are protected by that lock and not
7819         the OBJECT_LOCK.
7820         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7821
7822         * gst/gstclock.c (gst_clock_add_observation): No longer requires
7823         the caller to take the object lock.
7824
7825 2005-11-23  Wim Taymans  <wim@fluendo.com>
7826
7827         * gst/gsterror.c: (_gst_core_errors_init):
7828         * gst/gsterror.h:
7829         Add error for clock stuff.
7830
7831         * gst/gstpipeline.c: (gst_pipeline_change_state),
7832         (gst_pipeline_set_clock):
7833         Post clock error when clock cannot be used in a pipeline.
7834
7835 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
7836
7837         * docs/gst/gstreamer-sections.txt:
7838           make two symbols from gstinfo private for the docs
7839         * gst/base/gstcollectpads.h:
7840         * gst/gstutils.c:
7841           fix doc typos, update docs
7842
7843 2005-11-22  Wim Taymans  <wim@fluendo.com>
7844
7845         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7846         (gst_base_sink_wait), (gst_base_sink_do_sync),
7847         (gst_base_sink_handle_event):
7848         * gst/base/gstbasesink.h:
7849         No need to store the clock, the parent element class already
7850         has it.
7851
7852         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7853         Updates for clock_set returning a gboolean
7854
7855         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7856         (gst_clock_id_wait_async), (gst_clock_class_init),
7857         (gst_clock_init), (gst_clock_finalize),
7858         (gst_clock_get_internal_time), (gst_clock_get_time),
7859         (gst_clock_slave_callback), (gst_clock_set_master),
7860         (gst_clock_get_master), (do_linear_regression),
7861         (gst_clock_add_observation), (gst_clock_set_property),
7862         (gst_clock_get_property):
7863         * gst/gstclock.h:
7864         Implement master/slave. When setting a clock as a slave, a
7865         periodic timeout is scheduled to sample master and slave times.
7866         Then the slave clock is recalibrated to match offset and rate
7867         of the master clock.
7868         Update logging a bit.
7869         Add flag so that a clock can state that is cannot be slaved to
7870         another clock.
7871
7872         * gst/gstelement.c: (gst_element_set_clock):
7873         * gst/gstelement.h:
7874         The set clock returns a gboolean for when an element cannot
7875         deal with the selected clock in the pipeline. 
7876
7877         * gst/gstpipeline.c: (gst_pipeline_change_state),
7878         (gst_pipeline_set_clock):
7879         * gst/gstpipeline.h:
7880         Handle the case where the selected clock cannot be set on
7881         the pipeline.
7882
7883         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7884         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7885         (gst_net_client_clock_set_property),
7886         (gst_net_client_clock_get_property),
7887         (gst_net_client_clock_observe_times):
7888         * gst/net/gstnetclientclock.h:
7889         Use regression code in GstClock parent, remove duplicated
7890         functionality.
7891
7892 2005-11-22  Michael Smith <msmith@fluendo.com>
7893
7894         * gst/gstutils.c: (gst_util_clock_time_scale):
7895         * gst/gstutils.h:
7896         * docs/gst/gstreamer-sections.txt:
7897           Rename method to have extra underscore.
7898
7899 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7900
7901         * gst/elements/Makefile.am:
7902         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7903         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7904         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7905         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7906         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7907         * gst/elements/gstfakesrc.h:
7908         * gst/gstqueue.c: (queue_leaky_get_type):
7909           correctly fix GEnumValues so that nick is the short lowercase
7910           dashed tag
7911         * tools/gst-inspect.c: (print_element_properties_info):
7912           also show the nick, since it's useful to use from parse_launch
7913           syntax
7914           Fixes #322139
7915
7916 2005-11-22  Michael Smith <msmith@fluendo.com>
7917
7918         * gst/gstutils.c: (gst_util_clocktime_scale):
7919         * gst/gstutils.h:
7920         * docs/gst/gstreamer-sections.txt:
7921           Add util method for scaling a clocktime by a fraction. Useful 
7922           implementation is left as an exercise for the reader.
7923
7924 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7925
7926         * gst/gstvalue.c: (gst_value_collect_fraction_range):
7927         If needed, allocate storage in the destination value during
7928         collection.
7929
7930 2005-11-22  Edward Hervey  <edward@fluendo.com>
7931
7932         * docs/gst/gstreamer-sections.txt:
7933         * gst/Makefile.am:
7934         * gst/gst.h:
7935         * gst/gsturitype.c:
7936         * gst/gsturitype.h:
7937         * gst/gstutils.c: (gst_util_set_object_arg):
7938         * tools/gst-compprep.c: (main):
7939         * tools/gst-inspect.c: (print_element_properties_info):
7940         Removed GstURI, closes bug #321061
7941
7942 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7943
7944         * check/gst/gststructure.c: (GST_START_TEST):
7945         * gst/gststructure.c: (gst_structure_parse_value):
7946           Oops, broke automatic string type parsing.
7947           Add a test to catch it in future.
7948
7949 2005-11-22  Andy Wingo  <wingo@pobox.com>
7950
7951         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
7952         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7953         Actually rename the function implementations. Grr.
7954
7955 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7956
7957         * check/gst/capslist.h:
7958           Comment test cases
7959         * check/gst/gststructure.c: (GST_START_TEST),
7960         (gst_structure_suite):
7961           Test automatic value type detection in gst_structure_from_string.
7962         * gst/gststructure.c: (gst_structure_parse_value):
7963           Add fraction as a type we try and guess automatically in
7964           caps/structure strings.
7965
7966 2005-11-22  Andy Wingo  <wingo@pobox.com>
7967
7968         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7969
7970         * gst/gsttagsetter.h:
7971         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7972         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7973         (gst_tag_setter_add_tag_valist)
7974         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7975         _add_values, _add_valist, and _add_valist_values. Since this is an
7976         interface the function suffixes should be more explicit so
7977         language binding don't end up with element.add_valist ->
7978         gst_tag_setter_add_valist, for example. Fixes #322069.
7979
7980 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7981
7982         * check/gst/gstcaps.c: (GST_START_TEST):
7983           Extend caps string tests to check that a caps to string
7984           conversion is reversible and produces the same caps.
7985
7986         * gst/gststructure.c: (gst_structure_value_get_generic_type):
7987           Output "fraction" as the generic type fraction range, so caps
7988           serialisation and deserialisation works.
7989         * check/gst/capslist.h:
7990         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7991           Support 'MIN' and 'MAX' for deserialising fractions.
7992
7993 2005-11-22  Andy Wingo  <wingo@pobox.com>
7994
7995         * gst/gstevent.h (gst_event_new_new_segment)
7996         (gst_event_parse_new_segment, gst_event_new_buffer_size)
7997         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7998         Renamed from *_newsegment, *_buffersize, *_notarget.
7999
8000         * scripts/update-funcnames: New script, performs the changes
8001         listed above.
8002
8003 2005-11-22  Wim Taymans  <wim@fluendo.com>
8004
8005         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8006         Make sure the GstFlowReturn is returned.
8007
8008         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8009         (gst_bus_add_signal_watch):
8010         * gst/gstbus.h:
8011         add gst_bus_add_signal_watch_full.
8012
8013         * gst/gstplugin.c: (gst_plugin_load_file):
8014         Small style cleanup.
8015
8016 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8017
8018         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8019           Block the fakesrc srcpad when we send an event, to avoid
8020           contention on the stream_lock causing random test failures.
8021
8022 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8023
8024         * check/gst/gstvalue.c: (GST_START_TEST):
8025         * gst/gstvalue.c: (gst_value_fraction_subtract):
8026           Fix subtraction.
8027
8028 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8029
8030         * gst/gst.h:
8031           include "gstchildproxy.h"
8032         * gst/gstchildproxy.h:
8033         * libs/gst/controller/gstcontroller.h:
8034           use G_GNUC_NULL_TERMINATED
8035
8036 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8037
8038         * check/gst/capslist.h:
8039         * check/gst/gstcaps.c: (GST_START_TEST):
8040         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8041         * gst/gststructure.c: (gst_structure_parse_range),
8042         (gst_structure_fixate_field_nearest_fraction):
8043         * gst/gststructure.h:
8044         * gst/gstvalue.c: (gst_value_init_fraction_range),
8045         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8046         (gst_value_collect_fraction_range),
8047         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8048         (gst_value_set_fraction_range_full),
8049         (gst_value_get_fraction_range_min),
8050         (gst_value_get_fraction_range_max),
8051         (gst_value_serialize_fraction_range),
8052         (gst_value_transform_fraction_range_string),
8053         (gst_value_compare_fraction_range),
8054         (gst_value_deserialize_fraction_range),
8055         (gst_value_intersect_fraction_fraction_range),
8056         (gst_value_intersect_fraction_range_fraction_range),
8057         (gst_value_subtract_fraction_fraction_range),
8058         (gst_value_subtract_fraction_range_fraction),
8059         (gst_value_subtract_fraction_range_fraction_range),
8060         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8061         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8062         (gst_value_transform_string_fraction), (_gst_value_initialize):
8063         * gst/gstvalue.h:
8064           Implement fraction ranges and extend GstFraction to support
8065           arithmetic subtraction, as well as deserialization from integer
8066           strings such as "100"
8067           Add a testsuite as for int and double range set operations
8068
8069 2005-11-21  Andy Wingo  <wingo@pobox.com>
8070
8071         * gst/gsttaglist.h: 
8072         * gst/gstcaps.h: 
8073         * gst/gststructure.h: Add glib-compat.h.
8074
8075 2005-11-21  Wim Taymans  <wim@fluendo.com>
8076
8077         * gst/gstbin.c: (gst_bin_change_state_func):
8078         Fix for #321595
8079
8080 2005-11-21  Wim Taymans  <wim@fluendo.com>
8081
8082         * gst/gstsegment.h:
8083         And add a nice define too.
8084
8085 2005-11-21  Wim Taymans  <wim@fluendo.com>
8086
8087         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8088         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8089         (gst_segment_set_duration), (gst_segment_set_last_stop),
8090         (gst_segment_set_seek), (gst_segment_set_newsegment),
8091         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8092         (gst_segment_clip):
8093         * gst/gstsegment.h:
8094         Make binding friendly.
8095
8096 2005-11-21  Andy Wingo  <wingo@pobox.com>
8097
8098         * gst/gsttagsetter.h: 
8099         * gst/gsttaglist.h: 
8100         * gst/gststructure.h: 
8101         * gst/gstcaps.h: 
8102         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8103         #319940.
8104
8105         * gst/gsterror.c (_gst_core_errors_init):
8106         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8107         category.
8108
8109         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8110         (noinst_HEADERS): noinst the -private.
8111
8112 2005-11-21  Michael Smith <msmith@fluendo.com>
8113
8114         * gst/gstplugin.h:
8115         * gst/gstregistry.h:
8116           Remove unimplemented declarations for which we can see no sensible
8117           use.
8118
8119 2005-11-21  Andy Wingo  <wingo@pobox.com>
8120
8121         * gst/gst.h: Include glib-compat.h.
8122
8123         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8124
8125         * gst/glib-compat.c: Include the public and the private header.
8126
8127         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8128
8129         * gst/gstvalue.c: 
8130         * gst/gstpad.c: 
8131         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8132
8133         * check/gst/gstevent.c (create_custom_events): Check that
8134         FLUSH_STOP is serialized.
8135
8136         * check/elements/identity.c (event_func): 
8137         * check/elements/fakesrc.c (event_func): No stream lock, the core
8138         takes it.
8139
8140         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8141         stream lock taking, yay.
8142
8143         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8144         ensure that core takes the stream lock.
8145
8146         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8147         lock name change.
8148
8149         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8150         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8151         it already. For the flush start we do take it though so we get the
8152         right preroll state change messages.
8153
8154         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8155         the stream lock here, the core does it for us.
8156
8157         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8158         GST_STREAM_GET_LOCK.
8159         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8160         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8161         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8162         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8163         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8164         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8165
8166         * gst/gstpad.c: Update for stream lock name change.
8167
8168         * gst/base/gstbasesink.c: Update for preroll lock name change.
8169
8170 2005-11-21  Wim Taymans  <wim@fluendo.com>
8171
8172         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8173         (gst_clock_get_master):
8174         * gst/gstclock.h:
8175         * gst/gstsystemclock.c: (gst_system_clock_init):
8176         Convert Clock flags to object flags.
8177         Added methods to manage master/slave clocks.
8178
8179 2005-11-21  Wim Taymans  <wim@fluendo.com>
8180
8181         * check/gst/gstsegment.c: (GST_START_TEST):
8182         * docs/design/part-TODO.txt:
8183         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8184         (gst_base_sink_event), (gst_base_sink_do_sync),
8185         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8186         (gst_base_sink_query), (gst_base_sink_change_state):
8187         * gst/base/gstbasesink.h:
8188         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8189         (gst_base_src_default_newsegment),
8190         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8191         (gst_base_src_get_range), (gst_base_src_loop),
8192         (gst_base_src_change_state):
8193         * gst/base/gstbasesrc.h:
8194         * gst/base/gstbasetransform.c:
8195         (gst_base_transform_prepare_output_buf),
8196         (gst_base_transform_event), (gst_base_transform_change_state):
8197         * gst/base/gstbasetransform.h:
8198         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8199         (gst_collect_pads_event):
8200         * gst/base/gstcollectpads.h:
8201         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8202         (gst_fake_src_create):
8203         * gst/elements/gstfakesrc.h:
8204         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8205         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8206         (gst_segment_set_last_stop), (gst_segment_set_seek),
8207         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8208         (gst_segment_to_running_time), (gst_segment_clip):
8209         * gst/gstsegment.h:
8210         More segment updates, replace code in plugins with segment
8211         helper functions.
8212
8213 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8214
8215         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8216         Don't ignore sscanf results
8217
8218 2005-11-21  Andy Wingo  <wingo@pobox.com>
8219
8220         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8221
8222         * *.h:
8223         * *.c: Ran scripts/update-macros. Oh yes.
8224
8225         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8226         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8227         GST_GET_LOCK, etc.
8228
8229         * scripts/update-macros: New script. Run it on your files to
8230         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8231         well.
8232
8233 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8234
8235         * docs/gst/Makefile.am:
8236         * docs/gst/gstreamer-docs.sgml:
8237         * docs/gst/gstreamer-sections.txt:
8238         * docs/gst/gstreamer.types:
8239         * gst/gstinfo.h:
8240           more docs fixes, add new api to the docs
8241
8242 2005-11-21  Andy Wingo  <wingo@pobox.com>
8243
8244         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8245         state_broadcast call.
8246
8247         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8248
8249 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8250
8251         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8252         function calls for arrays.
8253
8254 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8255
8256         * docs/random/ensonic/media-device-daemon.txt:
8257           wild idea, can this be done?
8258         * docs/gst/gstreamer-sections.txt:
8259         * gst/gsterror.h:
8260         * gst/gstfilter.c:
8261         * gst/gstfilter.h:
8262         * gst/gstplugin.h:
8263         * gst/gstpluginfeature.c:
8264         * gst/gsttrace.c:
8265         * gst/gstvalue.c:
8266         * gst/gstvalue.h:
8267           doc fixes and additions
8268
8269 2005-11-21  Andy Wingo  <wingo@pobox.com>
8270
8271         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8272         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8273         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8274         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8275         private to the basesrc implementation.
8276
8277         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8278         behalf of event function if necessary. It should no longer be
8279         necessary to take the stream lock in pad's event functions. Fixes
8280         #320299.
8281
8282 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8283         * docs/gst/gstreamer-sections.txt:
8284         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8285         (gst_structure_fixate_field_nearest_double),
8286         (gst_structure_fixate_field_boolean):
8287         * gst/gststructure.h:
8288         * win32/common/libgstreamer.def:
8289         * win32/gstreamer.def:
8290
8291         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8292         (#322027)
8293
8294 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8295
8296         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8297         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8298         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8299         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8300         (gst_fdsrc_uri_handler_init):
8301         * gst/elements/gstfdsrc.h:
8302           Port fd:// URI handler from 0.8 to fdsrc
8303
8304 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8305
8306         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8307         (gst_value_serialize_fourcc):
8308         * gst/gstvalue.h:
8309           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8310           consistent with our other format defines (#320324).
8311
8312 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8313
8314         * gst/gstvalue.c: (gst_value_is_fixed):
8315           Revert previous commit. Value lists are by definition
8316           not fixed, as they are a list of possible values.
8317
8318 2005-11-21  Andy Wingo  <wingo@pobox.com>
8319
8320         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8321         during the stable series if we need it. Fixes #319178.
8322
8323         * gst/gstevent.c (gst_event_new_filler): Removed.
8324
8325         * check/gst/gstevent.c: Update comment about filler events.
8326
8327 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8328
8329         * gst/gstvalue.c: (gst_value_is_fixed):
8330           Should handle both value arrays and value lists.
8331
8332 2005-11-21  Andy Wingo  <wingo@pobox.com>
8333
8334         patch by: Alessandro Dessina <alessandro nnva org>
8335
8336         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8337         functions to access arrays. Fixes #321962.
8338
8339 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8340
8341         * docs/gst/gstreamer.types:
8342           gst_collectpads_get_type => gst_collect_pads_get_type.
8343           
8344         * gst/base/gstbasetransform.c:
8345           Remove unused SIGNAL_HANDOFF enum.
8346
8347 2005-11-21  Andy Wingo  <wingo@pobox.com>
8348
8349         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8350         the event type (upstream, downstream, serialized). Renamed
8351         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8352         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8353         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8354
8355         * gst/gstevent.c: Update for new CUSTOM event names.
8356
8357         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8358
8359         * gst/gstevent.h:
8360         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8361         bug #319392.
8362
8363 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8364
8365         * docs/gst/gstreamer-sections.txt:
8366         * win32/common/libgstbase.def:
8367         * win32/libgstbase.def:
8368         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8369         (gst_collect_pads_class_init), (gst_collect_pads_init),
8370         (gst_collect_pads_finalize), (gst_collect_pads_new),
8371         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8372         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8373         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8374         (gst_collect_pads_start), (gst_collect_pads_stop),
8375         (gst_collect_pads_peek), (gst_collect_pads_pop),
8376         (gst_collect_pads_available), (gst_collect_pads_read),
8377         (gst_collect_pads_flush), (gst_collect_pads_event),
8378         (gst_collect_pads_chain):
8379         * gst/base/gstcollectpads.h:
8380           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8381           unimplemented functions as unimplemented. Add padding to
8382           GstCollectData. (#320766, #320423)
8383
8384 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8385
8386         * gst/gstmessage.c:
8387           Improve docs for DURATION message (usage of duration parameter)
8388           (#320113)
8389
8390 2005-11-20  Wim Taymans  <wim@fluendo.com>
8391
8392         * check/Makefile.am:
8393         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8394         (main):
8395         * gst/Makefile.am:
8396         * gst/gst.h:
8397         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8398         (gst_segment_set_seek), (gst_segment_set_newsegment),
8399         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8400         (gst_segment_clip):
8401         * gst/gstsegment.h:
8402         Added segment helper structure and methods. Not fully implemented
8403         yet.
8404         Added segment check.
8405
8406 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8407
8408         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8409           Add a deserialisation test for fractions
8410         * examples/metadata/read-metadata.c: (message_loop),
8411         (make_pipeline), (main):
8412           Fix up metadata reading sample.
8413         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8414           Debug format fix
8415         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8416           Don't try and fixate empty caps
8417         * gst/gst_private.h:
8418           Wrap in G_BEGIN_DECLS/G_END_DECLS
8419         * gst/gstvalue.c: (gst_value_collect_fraction),
8420         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8421         (gst_value_transform_string_fraction),
8422         (gst_value_compare_fraction):
8423           Add some extra guards to ensure that we don't end up 
8424           with an invalid denominator of 0 in a gstfraction and
8425           that fractions always get reduced.
8426
8427 2005-11-20  Wim Taymans  <wim@fluendo.com>
8428
8429         * docs/gst/gstreamer-sections.txt:
8430         * gst/gstbuffer.h:
8431         * gst/gstelement.c:
8432         * gst/gstformat.c:
8433         * gst/gstformat.h:
8434         * gst/gstindex.h:
8435         * gst/gstquery.c:
8436         * gst/gstquery.h:
8437         * gst/gstvalue.c:
8438         Doc fixes.
8439
8440 2005-11-20  Wim Taymans  <wim@fluendo.com>
8441
8442         * docs/design/part-TODO.txt:
8443         * gst/gstcaps.h:
8444         Make a proper enum of the flag.
8445
8446 2005-11-19  Wim Taymans  <wim@fluendo.com>
8447
8448         * docs/design/part-TODO.txt:
8449         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8450         (gst_format_to_quark), (gst_format_register):
8451         * gst/gstformat.h:
8452         * gst/gstquery.c: (_gst_query_initialize),
8453         (gst_query_type_get_name), (gst_query_type_to_quark),
8454         (gst_query_type_register):
8455         * gst/gstquery.h:
8456         Add type to quark and type to string conversions.
8457
8458 2005-11-19  Andy Wingo  <wingo@pobox.com>
8459
8460         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8461         #320097.
8462
8463 2005-11-19  Wim Taymans  <wim@fluendo.com>
8464
8465         * docs/design/part-TODO.txt:
8466         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8467         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8468         (gst_bin_handle_message_func):
8469         * gst/gstbin.h:
8470         Make message handling overridable.
8471
8472 2005-11-19  Andy Wingo  <wingo@pobox.com>
8473
8474         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8475
8476         * gst/gstclock.h:
8477         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8478         be a GstClockTime.
8479         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8480         is a GstClockTime. Fixes #321710.
8481
8482         * gst/gstclock.h (GstClock): Remove offset property. Add
8483         internal_calibration and external_calibration. Fix padding. Pad
8484         also by GstClockTime so we don't run into problems.
8485
8486         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8487         (gst_clock_get_rate_offset): Remove.
8488         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8489
8490         * gst/gstutils.h:
8491         * gst/gstutils.c (g_static_rec_cond_wait)
8492         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8493
8494         * gst/gstbin.c: Remove terrible continue_state prototype.
8495
8496         * gst/gstelement.h (gst_element_continue_state): Make public.
8497
8498         * gst/gstelement.h:
8499         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8500         by continue_state. Fixes #319389.
8501
8502         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8503         Really fixes #168438. However I don't see anywhere where the
8504         filter function is called... stupid GStreamer...
8505         
8506         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8507         don't have a dispose function, so it won't get called when the
8508         object is unreffed, but oh well!
8509
8510         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8511         allows a destroy function to be set so user_data can be freed.
8512         Fixes #168438.
8513         (gst_index_set_filter): Call gst_index_set_filter_full.
8514
8515         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8516
8517         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8518         string should produce an error, given the lack of a way to
8519         represent NULL strings. Fixes #165650.
8520         
8521         * gst/gstvalue.h: 
8522         * gst/gstvalue.c (gst_value_array_append_value) 
8523         (gst_value_array_prepend_value, gst_value_array_get_size) 
8524         (gst_value_array_get_value): New API, copied from
8525         gst_value_list_*, only operates on arrays.
8526         (gst_value_list_append_value, gst_value_list_prepend_value) 
8527         (gst_value_list_concat, gst_value_list_get_size) 
8528         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8529
8530         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8531         init_list, because it works on both.
8532         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8533         (gst_value_copy_list_or_array): Renamed from copy_list.
8534         (gst_value_free_list_or_array): Renamed from free_list.
8535         (gst_value_collect_list_or_array): Renamed from collect_list.
8536         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8537         (gst_value_list_or_array_peek_pointer): Renamed from
8538         list_peek_pointer.
8539         (_gst_value_array_value_table, _gst_value_list_value_table):
8540         Update value table functions.
8541         (gst_value_compare_list_or_array): Renamed from compare_list.
8542
8543         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8544         some constness.
8545
8546         * gst/gsttaglist.c:
8547         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8548         GstTagList*. Fixes #143472.
8549
8550         * gst/gststructure.h: Clarify what the foreach/map functions can
8551         or can't do to their arguments.
8552
8553 2005-11-18  Wim Taymans  <wim@fluendo.com>
8554
8555         * gst/gstclock.c: (gst_clock_set_calibration),
8556         (gst_clock_get_calibration):
8557         Doc and API fixes.
8558         Calibration can be set with internal time equal to current
8559         internal time too.
8560
8561 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8562
8563         * gst/gsterror.c:
8564         * gst/gsterror.h:
8565           document
8566
8567 2005-11-18  Andy Wingo  <wingo@pobox.com>
8568
8569         * configure.ac: 
8570         * pkgconfig/gstreamer-net.pc.in:
8571         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8572         * pkgconfig/Makefile.am: Add net pkgconfig files.
8573
8574 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8575
8576         * gst/gstcaps.c:
8577         * gst/gstghostpad.c:
8578         * gst/gsttrace.c:
8579         * gst/gstvalue.c:
8580         * gst/gstvalue.h:
8581           docs fixes
8582
8583 2005-11-18  Andy Wingo  <wingo@pobox.com>
8584
8585         * gst/net/gstnetclientclock.c: Turn off debugging.
8586
8587         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8588         times connverge somewhat. Can't make a real test.
8589
8590         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8591         integer arithmetic. Return the minimum of the domain, which can be
8592         set as "internal" for gst_clock_set_calibration.
8593         (gst_net_client_clock_observe_times): Call _set_calibration.
8594         (gst_net_client_clock_new): Call _set_calibration instead of
8595         rate_offset.
8596
8597         * check/net/gstnetclientclock.c (test_functioning): Use the right
8598         adjustment api.
8599
8600         * gst/gstclock.h:
8601         * gst/gstclock.c (gst_clock_get_calibration) 
8602         (gst_clock_set_calibration): New functions, obsolete the ones I
8603         added yesterday. Doh. Precision issues mean we have to extrapolate
8604         from a point in the more recent past than 1970.
8605         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8606         obsolete.
8607         (gst_clock_adjust_unlocked): Use the right calibration data.
8608
8609 2005-11-18  Edward Hervey  <edward@fluendo.com>
8610
8611         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8612         Also reset the ->current_* values in READY->PAUSED
8613
8614 2005-11-18  Andy Wingo  <wingo@pobox.com>
8615
8616         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8617         Whoops, check the right fd. Also add some debugging.
8618         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8619         (do_linear_regression): Add a crapload of debugging. Subtract off
8620         the minimum values from the input series to discard unneeded bits.
8621         Use only int arithmetic. There is still double arithmetic when
8622         calculating the intercept that needs fixing. Return boolean to
8623         indicate success; FALSE would mean the domain or range is too
8624         great. Still needs fixes.
8625
8626 2005-11-18  Wim Taymans  <wim@fluendo.com>
8627
8628         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8629         For the current position in stream time, we need to subtract
8630         accumulated time.
8631         
8632         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8633         Release lock before calling the callback function of async
8634         entries.
8635
8636 2005-11-18  Andy Wingo  <wingo@pobox.com>
8637
8638         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8639         Port goes all the way to MAXUINT16.
8640
8641         * gst/net/gstnettimeprovider.c: Make the port range the same as
8642         for the kernel: 0 assigns, otherwise ports are less than
8643         MAXUINT16.
8644
8645         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8646         port change.
8647
8648         * check/net/gstnetclientclock.c (test_functioning): Add the start
8649         of another test. 
8650
8651 2005-11-18  Wim Taymans  <wim@fluendo.com>
8652
8653         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8654         (gst_bin_remove_func), (bin_bus_handler):
8655         * gst/gstbin.h:
8656         Removing a clock provider from a bin, triggers a clock lost message
8657         so that a new clock will be selected.
8658         Adding a clock to a bin triggers a clock provider message.
8659         Make sure we reselect a clock when we received a clock lost message.
8660         Keep a reference to the element that provided the clock.
8661
8662 2005-11-18  Andy Wingo  <wingo@pobox.com>
8663
8664         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8665         the clock initially so it produces values around the base time.
8666         (gst_net_client_clock_class_init): Typo fix.
8667         (gst_net_client_clock_thread): Add note on when the socket gets
8668         closed.
8669
8670 2005-11-17  Wim Taymans  <wim@fluendo.com>
8671
8672         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8673         Free remote and local time arrays.
8674
8675 2005-11-17  Wim Taymans  <wim@fluendo.com>
8676
8677         * gst/net/gstnetclientclock.c: (do_linear_regression),
8678         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8679         Fix compilation, uninitialized vars and a forgotten continue.
8680
8681 2005-11-17  Andy Wingo  <wingo@pobox.com>
8682
8683         * check/Makefile.am (check_PROGRAMS): 
8684         * check/net/gstnetclientclock.c: Add a most minimal test for the
8685         net client clock. More to come later.
8686
8687         * gst/net/gstnet.h: 
8688         * gst/net/Makefile.am: Add netclientclock.
8689
8690         * gst/net/gstnetclientclock.h:
8691         * gst/net/gstnetclientclock.c: New files, implement an untested
8692         GstClock that takes its time from a network time provider.
8693         Implements the algorithm in network-clock.scm.
8694
8695         * tests/network-clock.scm (*window-size*): Rename from
8696         *queue-length*.
8697         * tests/network-clock.scm (network-time): 
8698         * tests/network-clock-utils.scm (q-push): Update callers.
8699
8700 2005-11-17  Wim Taymans  <wim@fluendo.com>
8701
8702         * gst/gstbin.c: (gst_bin_provide_clock_func),
8703         (gst_bin_sort_iterator_new):
8704         And unref the child too..
8705
8706 2005-11-17  Wim Taymans  <wim@fluendo.com>
8707
8708         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8709         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8710         Refactor the sort iterator so it can be used while holding the
8711         LOCK too.
8712         Make clock selection select a clock closest to the source.
8713
8714 2005-11-17  Michael Smith <msmith@fluendo.com>
8715
8716         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8717         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8718         * gst/gstclock.h:
8719           Anonymous structs are a gcc (and some other compilers) extension, so
8720           don't use them. Since this is only for ABI-compatibility, and our
8721           API/ABI freeze is over in a few days, this whole thing will only
8722           last a few days, so don't bother trying to think up a meaningful
8723           name for the struct.
8724
8725 2005-11-17  Andy Wingo  <wingo@pobox.com>
8726
8727         * gst/gstclock.h (GstClock): Add rate and offset properties,
8728         preserving ABI stability. Add rate/offset accessors. Will file bug
8729         for the freeze break.
8730
8731         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8732         and offset, trying to keep precision and avoiding
8733         underflow/overflow.
8734         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8735         functions. Make gst_clock_set_time_adjust obsolete.
8736         (gst_clock_set_time_adjust): Note that this function is obsolete.
8737         Will file bug soon.
8738
8739         * gst/base/gstbasetransform.h: Make the ABI-stability hack
8740         greppable by using GST_PADDING-1+1.
8741
8742 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
8743
8744         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         * gst/gstmessage.c: (gst_message_parse_clock_lost):
8747           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8748
8749         * gst/gstpadtemplate.h:
8750         * gst/gstpluginfeature.h:
8751           Don't use c++ style comments in headers (#321638).
8752
8753 2005-11-16  Andy Wingo  <wingo@pobox.com>
8754
8755         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8756         buffer.
8757
8758         * check/net/gstnettimeprovider.c: Check to see that the time
8759         provider actually provides times. Works, yo!
8760
8761 2005-11-16  Wim Taymans  <wim@fluendo.com>
8762
8763         * check/Makefile.am:
8764         Enable more tests.
8765
8766         * check/elements/fakesrc.c: (GST_START_TEST):
8767         Set element to NULL before disposing it.
8768
8769 2005-11-16  Andy Wingo  <wingo@pobox.com>
8770
8771         * gst/net/Makefile.am:
8772         * gst/net/gstnet.h:
8773         * gst/net/gstnettimeprovider.c: 
8774         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8775         provider, include it from gstnet.h, and add it to the build.
8776
8777         * gst/net/gstnettimepacket.h: 
8778         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8779         sending and receiving.
8780
8781 2005-11-16  Wim Taymans  <wim@fluendo.com>
8782
8783         * check/Makefile.am:
8784         Enable valgrind check.
8785
8786         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8787         (gst_fake_src_alloc_buffer):
8788         Fix memleak.
8789
8790 2005-11-16  Wim Taymans  <wim@fluendo.com>
8791
8792         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8793         Call parent finalize too.
8794
8795 2005-11-16  Wim Taymans  <wim@fluendo.com>
8796
8797         * check/Makefile.am:
8798         Enable valgrind check that should work fine now.
8799
8800         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8801         * gst/gstqueue.c: (gst_queue_init):
8802         Fix memleaks in pad allocation.
8803
8804 2005-11-16  Andy Wingo  <wingo@pobox.com>
8805
8806         * gst/net/Makefile.am:
8807         * gst/net/gstnet.h: New part of core to hold network elements and
8808         objects. Put in core because it exposes API that applications want
8809         to use. The library is named libgstnet-tempname right now because
8810         of the existing libgstnet in gst-plugins-base. Solution is
8811         probably to rename the one in plugins-base; will file a bug for
8812         the freeze break.
8813
8814         * gst/net/gstnettimeprovider.c: 
8815         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8816         get_time call over the network.
8817
8818         * configure.ac: 
8819         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8820
8821         * check/Makefile.am:
8822         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8823         get additions shortly.
8824
8825 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8826
8827         * gst/gstpad.c: (gst_pad_new_from_static_template):
8828         * gst/gstpad.h:
8829           add gst_pad_new_from_static_template functions
8830         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8831         (gst_check_setup_sink_pad):
8832         * gst/elements/gsttee.c: (gst_tee_init):
8833           and use them
8834
8835 2005-11-16  Wim Taymans  <wim@fluendo.com>
8836
8837         * gst/gstpad.c: (gst_pad_pause_task):
8838         Removed warning, it's not really an error either.
8839
8840 2005-11-16  Wim Taymans  <wim@fluendo.com>
8841
8842         * gst/base/gstbasetransform.c:
8843         (gst_base_transform_prepare_output_buf),
8844         (gst_base_transform_event):
8845         Check if the caps are NULL, this can happen if the element
8846         is shutting down and the pad caps are set to NULL.
8847
8848 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8849
8850         * gst/elements/gsttee.c: (gst_tee_init):
8851           fix pad template leak in tee
8852
8853 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8854
8855         * gst/glib-compat.c: (g_value_dup_gst_object):
8856         * gst/glib-compat.h:
8857         * gst/gstpad.c: (gst_pad_set_property):
8858           use gst_object_ref when setting the pad template; this will
8859           trigger the pad template leaks on GLib 2.6 and the slaves
8860
8861 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8862
8863         * gst/glib-compat.c: (gst_flags_get_first_value):
8864         * gst/glib-compat.h:
8865         * gst/gstregistryxml.c:
8866           remove functions copied from GLib 2.6
8867
8868 2005-11-16  Michael Smith <msmith@fluendo.com>
8869
8870         * gst/Makefile.am:
8871           Don't link against VALGRIND_LIBS. That was always the wrong thing to
8872           do, but only breaks with newer valgrind versions. We're not a
8873           valgrind tool, we have no link-time dependencies on libcoregrind.
8874
8875 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8876
8877         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8878           some debug changes
8879         * gst/gstmessage.h:
8880           typo fixes
8881
8882 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8883
8884         * gst/base/gstbasesrc.c: (gst_base_src_init):
8885         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8886         * gst/gstqueue.c: (gst_queue_init):
8887         * gst/gstregistryxml.c: (load_feature):
8888           Revert all these unrefs, they don't even pass make check !
8889
8890 2005-11-15  Johan Dahlin  <johan@gnome.org>
8891
8892         * gst/base/gstbasesrc.c: (gst_base_src_init):
8893         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8894         * gst/gstqueue.c: (gst_queue_init): 
8895         Free pad templates, fixes a couple of leaks.
8896
8897 2005-11-15  Daniel Fischer  <dan at f3c dot com>
8898
8899         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8900
8901         * gst/gstpad.c: (gst_pad_get_property):
8902           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8903           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8904           (#321452)
8905
8906 2005-11-15  Wim Taymans  <wim@fluendo.com>
8907
8908         * gst/gstevent.c:
8909         Small doc update.
8910
8911 2005-11-15  Andy Wingo  <wingo@pobox.com>
8912
8913         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8914
8915         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8916         using GST_CLOCK_TIME_NONE to disable base time management.
8917         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8918         time if it was NONE before.
8919         (gst_pipeline_change_state): Only munge the base time if
8920         stream_time != GST_CLOCK_TIME_NONE.
8921
8922         * check/gst/gstpipeline.c (test_base_time): Punt around the
8923         problem of the probe not being called, because that's not the
8924         issue I'm looking at. Add a check that setting stream_time to NONE
8925         disables base time management.
8926         
8927 2005-11-15  Wim Taymans  <wim@fluendo.com>
8928
8929         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8930         segment_stop == -1 at startup.
8931
8932         * gst/base/gstbasetransform.c: (gst_base_transform_event),
8933         (gst_base_transform_change_state):
8934         Init segment values at start.
8935
8936 2005-11-15  Wim Taymans  <wim@fluendo.com>
8937
8938         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8939         0 segment values are 0 in any format.
8940
8941         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8942         * gst/base/gstbasetransform.h:
8943         Parse newsegment correctly in basetransform
8944
8945         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8946         Sync to clock using updated segment values.
8947
8948 2005-11-15  Andy Wingo  <wingo@pobox.com>
8949
8950         * check/gst/gstpipeline.c (test_base_time): Add check that the
8951         base time and stream time are reset correctly.
8952
8953 2005-11-15  Wim Taymans  <wim@fluendo.com>
8954
8955         * docs/design/part-TODO.txt:
8956         Some more TODO items.
8957
8958 2005-11-15  Andy Wingo  <wingo@pobox.com>
8959
8960         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8961         error if the user selected "no clock" as the clocking method.
8962
8963         * check/gst/gstpipeline.c (test_base_time): New test for buffer
8964         timestamps with live capture.
8965
8966         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8967         is 0 but we are a live source, timestamp the buffers using the
8968         element's clock.
8969
8970 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
8971
8972         * docs/gst/gstreamer-sections.txt:
8973         * gst/gsterror.c:
8974         * gst/gstghostpad.c:
8975         * gst/gstobject.h:
8976         * gst/gstxml.c:
8977           more section docs
8978
8979 2005-11-14  Wim Taymans  <wim@fluendo.com>
8980
8981         * common/gst.supp:
8982           add suppressions from Wim's Debian machine
8983
8984 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8985
8986         * common/gst.supp:
8987           add suppressions from Andy's AMD64 Ubuntu machine
8988
8989 2005-11-14  Andy Wingo  <wingo@pobox.com>
8990
8991         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8992         STATE_LOCK not necessary. Fixes #311489.
8993
8994         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8995         #305291.
8996
8997         * gst/gstindex.c (gst_index_add_object): Note in the docs that
8998         this function is not implemented.
8999
9000 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9001
9002         * gst/base/gstbasetransform.c:
9003         (gst_base_transform_prepare_output_buf):
9004         Ref the source pad caps while we need them.
9005         Fixes (#321386)
9006
9007 2005-11-11  Wim Taymans  <wim@fluendo.com>
9008
9009         * docs/gst/gstreamer-sections.txt:
9010         Added some docs for GstCollectData.
9011
9012         * gst/base/gstadapter.c:
9013         Some small code example fix.
9014
9015         * gst/base/gstcollectpads.c:
9016         * gst/base/gstcollectpads.h:
9017         Document some more.
9018
9019 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9020
9021         * configure.ac: back to HEAD
9022
9023 === release 0.9.5 ===
9024
9025 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9026
9027         * configure.ac:
9028           releasing 0.9.5, "Bike Lunch Day"
9029
9030 2005-11-11  Wim Taymans  <wim@fluendo.com>
9031
9032         * gst/gstbuffer.c: (_gst_buffer_copy):
9033         Copy more flags.
9034
9035         * gst/gstcaps.c: (gst_caps_is_equal):
9036         Fix some docs.
9037         Make _is_equal fast in the trivial cases.
9038
9039         * gst/gstminiobject.c:
9040         * gst/gstminiobject.h:
9041         More docs. Spifify .h file.
9042
9043         * gst/gstutils.c:
9044         Small doc update.
9045
9046 2005-11-11  Wim Taymans  <wim@fluendo.com>
9047
9048         * gst/base/gstbasetransform.c:
9049         (gst_base_transform_prepare_output_buf),
9050         (gst_base_transform_handle_buffer):
9051         Small cleanups.
9052         If we're processing a buffer and need to allocate an output
9053         buffer, we cannot accept a format change. If we did get a 
9054         format change, we have to alloc a buffer ourselves of the 
9055         right size.
9056
9057 2005-11-11  Wim Taymans  <wim@fluendo.com>
9058
9059         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9060         While checking the flag for reentrancy in the gstcaps function
9061         is nice to detect recursive invocations, it also makes it 
9062         impossible to call getcaps from multiple threads, which must be
9063         possible. So, checking for recursive calls has to go.
9064
9065 2005-11-11  Michael Smith <msmith@fluendo.com>
9066
9067         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9068           Don't sync on buffers that fall partially outside our current
9069           segment. Prevents an assertion failure/abort playing some files.
9070
9071 2005-11-10  Andy Wingo  <wingo@pobox.com>
9072
9073         * check/gst/gstbin.c (test_message_state_changed_children): Style
9074         fix..
9075
9076         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9077         gst_bus_poll with the signal watch. Ensures that poll and a signal
9078         watch see the same messages.
9079
9080         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9081         a poll and a watch at the same time get the same messages.
9082
9083 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9084
9085         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9086         * gst/gstcaps.c: (gst_caps_intersect):
9087           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9088           and it's not needed.
9089
9090 2005-11-10  Wim Taymans  <wim@fluendo.com>
9091
9092         * docs/design/part-TODO.txt:
9093         Updated todo.
9094
9095 2005-11-10  Wim Taymans  <wim@fluendo.com>
9096
9097         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9098         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9099         (gst_base_src_do_sync), (gst_base_src_get_range):
9100         Implement clock sync in base class.
9101
9102 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9103
9104         patch by: Tim-Philipp Müller <tim at centricular dot net>
9105
9106         * gst/gststructure.c: (gst_structure_parse_field),
9107         (gst_structure_from_string):
9108           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9109           so that gst_parse_launch() can deal with spaces in filtered link
9110           caps (fixes #164479)
9111         * check/gst/capslist.h:
9112         * check/gst/gststructure.c: (GST_START_TEST):
9113           add unit tests for this change
9114
9115 2005-11-10  Wim Taymans  <wim@fluendo.com>
9116
9117         * docs/gst/gstreamer-sections.txt:
9118         * gst/gstelement.c:
9119         * gst/gstelement.h:
9120         Fix docs, move some STATE macros to private.
9121
9122 2005-11-10  Wim Taymans  <wim@fluendo.com>
9123
9124         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9125         Added check for bug #317341
9126
9127         * gst/gstbuffer.c:
9128         * gst/gstbuffer.h:
9129         Some more spiffifying.
9130
9131         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9132         Call peer linkfunction if we are a source pad. Totally fixes
9133         #317341
9134
9135         * gst/gstpad.c:
9136         Update docs, source pads should call the peer linkfunction
9137         so they can atomically perform the pad link.
9138
9139 2005-11-09  Wim Taymans  <wim@fluendo.com>
9140
9141         * gst/gstbuffer.c:
9142         * gst/gstbuffer.h:
9143         Uber-spiffy-spiffify some more.
9144
9145 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9146
9147         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9148         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9149         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9150         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9151         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9152         * gst/gstpad.c: (gst_pad_init):
9153           Use GST_DEBUG_FUNCPTR() more extensively.
9154
9155 2005-11-09  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/gstobject.c: (gst_object_class_init):
9158         * gst/gstobject.h:
9159         Documentation fixes.
9160
9161 2005-11-09  Edward Hervey  <edward@fluendo.com>
9162
9163         * gst/gsttypefindfactory.c:
9164         Fix docs.
9165         
9166 2005-11-09  Edward Hervey  <edward@fluendo.com>
9167
9168         * gst/base/gsttypefindhelper.c:
9169         * gst/gsttypefind.c:
9170         * gst/gsttypefind.h:
9171         Fix docs.
9172
9173 2005-11-09  Wim Taymans  <wim@fluendo.com>
9174
9175         * gst/gstiterator.c:
9176         Fix revision data.
9177
9178         * gst/gsttask.c:
9179         * gst/gsttask.h:
9180         Fix docs.
9181
9182 2005-11-09  Wim Taymans  <wim@fluendo.com>
9183
9184         * gst/gstevent.h:
9185         * gst/gsturi.h:
9186         Fix docs.
9187
9188 2005-11-09  Wim Taymans  <wim@fluendo.com>
9189
9190         * docs/gst/gstreamer-sections.txt:
9191         Moved the message async delivery private lock and cond
9192         to the private section.
9193
9194         * gst/gstmessage.c:
9195         * gst/gstmessage.h:
9196         Fixed docs.
9197
9198 2005-11-09  Edward Hervey  <edward@fluendo.com>
9199
9200         * docs/gst/gstreamer-sections.txt:
9201         * gst/gsturi.c:
9202         * gst/gsturi.h:
9203         Document GstURIHandler
9204
9205 2005-11-09  Wim Taymans  <wim@fluendo.com>
9206
9207         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9208         (gst_iterator_find_custom):
9209         * gst/gstiterator.h:
9210         Fix iterator docs.
9211
9212 2005-11-09  Wim Taymans  <wim@fluendo.com>
9213
9214         * gst/gstbin.h:
9215         Document another field.
9216
9217         * gst/gststructure.c:
9218         * gst/gststructure.h:
9219         Document.
9220
9221 2005-11-09  Wim Taymans  <wim@fluendo.com>
9222
9223         * gst/gstbin.h:
9224         Documented structs.
9225
9226 2005-11-09  Wim Taymans  <wim@fluendo.com>
9227
9228         * docs/gst/gstreamer-sections.txt:
9229         Added some new macros.
9230
9231         * gst/gstclock.c:
9232         * gst/gstclock.h:
9233         * gst/gstobject.h:
9234         Docs updates.
9235
9236 2005-11-09  Wim Taymans  <wim@fluendo.com>
9237
9238         * docs/design/part-TODO.txt:
9239         Some more items for the TODO
9240
9241         * gst/gstcaps.c:
9242         * gst/gstcaps.h:
9243         Document GstCaps.
9244
9245 2005-11-09  Andy Wingo  <wingo@pobox.com>
9246
9247         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9248         to work on something else now tho...
9249
9250         * gst/base/gstadapter.c: More adapter docs.
9251
9252         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9253         (gst_file_sink_stop): New functions, replace the state change
9254         handler.
9255         (gst_file_sink_class_init): Hook up the start and stop functions.
9256         (gst_file_sink_base_init): Don't set the state change handler any
9257         more. It was a bit ugly too, being set from here...
9258         (gst_file_sink_get_property, gst_file_sink_set_property):
9259         Cleanups...
9260         (gst_file_sink_set_location): More robust check that doesn't call
9261         GST_STATE. Ugggggg.
9262
9263 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9264
9265         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9266           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9267
9268 2005-11-08  Wim Taymans  <wim@fluendo.com>
9269
9270         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9271         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9272         (gst_base_sink_chain), (gst_base_sink_change_state):
9273         * gst/base/gstbasesink.h:
9274         * gst/base/gstbasesrc.h:
9275         * gst/gstelement.h:
9276         * gst/gstevent.h:
9277         Avoid excessive typechecking in macros.
9278
9279         * gst/gstminiobject.c: (gst_mini_object_get_type),
9280         (gst_mini_object_init), (gst_mini_object_new),
9281         (gst_mini_object_free):
9282         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9283         (gst_object_finalize):
9284         Remove cruft code, optimize alloc_trace.
9285
9286 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9287
9288         * docs/faq/gst-uninstalled:
9289           fix up PS1 for systems that try to reset it
9290
9291 2005-11-07  Wim Taymans  <wim@fluendo.com>
9292
9293         * gst/base/gstbasesrc.c: (gst_base_src_init),
9294         (gst_base_src_get_range):
9295         Set the segment_end to -1 initially. Fixed typefind.
9296
9297 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9298
9299         * gst/base/gstadapter.c:
9300           Debug category should be 'adapter', not 'GstAdapter'.
9301           
9302         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9303         (gst_collectpads_class_init), (gst_collectpads_init),
9304         (gst_collectpads_peek), (gst_collectpads_pop),
9305         (gst_collectpads_event), (gst_collectpads_chain):
9306           Add debug category and some debugging output. Use boilerplate
9307           macros. Remove some extraneous words from docs.
9308
9309 2005-11-05  Andy Wingo  <wingo@pobox.com>
9310
9311         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9312         macro.
9313
9314 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9315
9316         * docs/gst/gstreamer-sections.txt:
9317         * gst/gstcaps.h:
9318         * gst/gstinfo.c:
9319         * gst/gstminiobject.h:
9320         * gst/gstobject.h:
9321         * gst/gstutils.h:
9322           more docs added
9323
9324 2005-11-04  Wim Taymans  <wim@fluendo.com>
9325
9326         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9327         Small update to stop at the configured segment_end
9328         position.
9329
9330 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9331
9332         * gst/gstregistry.c:
9333         * gst/gstregistry.h:
9334           added missing docs
9335
9336 2005-11-04  Edward Hervey  <edward@fluendo.com>
9337
9338         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9339         Check if we are doing a segment seek and have arrived at the
9340         end of that segment.
9341
9342 2005-11-04  Wim Taymans  <wim@fluendo.com>
9343
9344         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9345         Don't leak a mutex unlock in case of an error.
9346
9347         * gst/gstbus.h:
9348         Doc fixes.
9349
9350 2005-11-04  Wim Taymans  <wim@fluendo.com>
9351
9352         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9353         (gst_bus_post):
9354         Get the context to wake up only once.
9355
9356 2005-11-03  Wim Taymans  <wim@fluendo.com>
9357
9358         * check/states/sinks.c: (GST_START_TEST):
9359         Uncomment fixed check.
9360
9361         * docs/design/part-TODO.txt:
9362         Updated TODO.
9363
9364         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9365         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9366         (gst_base_sink_get_position):
9367         If we are going to PLAYING, post the right pending state
9368         when we post the intermediate paused message.
9369
9370         * gst/gstelement.c: (gst_element_continue_state),
9371         (gst_element_set_state_func), (gst_element_change_state):
9372         Don't post state changes that were between the same state
9373         and were not ASYNC.
9374
9375 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9376
9377         * docs/gst/gstreamer-sections.txt:
9378         * gst/gstcaps.h:
9379         * gst/gstinfo.c:
9380         * gst/gstminiobject.h:
9381         * gst/gstobject.h:
9382         * gst/gstutils.h:
9383           more docs and doc style fixes
9384
9385 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9386
9387         * docs/gst/gstreamer-sections.txt:
9388         * gst/gstelement.c:
9389         * gst/gstminiobject.c:
9390         doc fixes
9391
9392 2005-11-03  Andy Wingo  <wingo@pobox.com>
9393
9394         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9395         state-changed messages actually have the right order and the right
9396         values.
9397
9398 2005-11-03  Wim Taymans  <wim@fluendo.com>
9399
9400         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9401         Added some more checks. Specifically the case where NO_PREROLL
9402         elements are in the pipeline.
9403
9404         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9405         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9406         (gst_base_sink_get_position):
9407         Post READY->PAUSED state change messages too.
9408         Fix bug where VOID was posted as pending state...
9409
9410         * gst/gstbin.c: (gst_bin_recalc_state):
9411         use _element_continue_state() to continue the state change.
9412
9413         * gst/gstelement.c: (gst_element_continue_state),
9414         (gst_element_commit_state), (gst_element_set_state_func),
9415         (gst_element_change_state), (gst_element_change_state_func):
9416         Lots of state change cleanups, assign the STATE_RETURN in
9417         a new continue_state() function that also propagates the
9418         last return value from a state change to the app.
9419         Update some debug statements with proper category.
9420
9421 2005-11-03  Wim Taymans  <wim@fluendo.com>
9422
9423         * docs/design/part-events.txt:
9424         * docs/design/part-gstpipeline.txt:
9425         * docs/design/part-messages.txt:
9426         * docs/design/part-overview.txt:
9427         * docs/design/part-seeking.txt:
9428         * docs/design/part-states.txt:
9429         * docs/design/part-trickmodes.txt:
9430         * docs/manual/advanced-position.xml:
9431         Small docs updates.
9432
9433         * gst/gstobject.h:
9434         People think !! is ugly, this looks better.
9435
9436         * gst/gstpad.c: (gst_pad_set_blocked_async):
9437         Remove !! since it's fixed elsewhere now.
9438
9439 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9440
9441         * gst/gstminiobject.h:
9442         * gst/gstobject.h:
9443           Add !! to _FLAG_IS_SET macros to make the result boolean.
9444
9445 2005-11-03  Edward Hervey  <edward@fluendo.com>
9446
9447         * gst/gstpad.c: (gst_pad_set_blocked_async):
9448         comparing a flag and a gboolean rarely returns coherent results...
9449         Added two characters (!!) to make that work correctly.
9450         
9451 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9452
9453         * gst/gstbus.c: (gst_bus_class_init):
9454           Fix some typos.
9455           
9456         * gst/gstqueue.c: (gst_queue_loop):
9457           Don't assume a miniobject that isn't a buffer is an
9458           event (it could be that there is a refcounting
9459           problem somewhere and the pointer is stale and
9460           refers to an already destroyed miniobject).
9461
9462 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9463
9464         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9465
9466 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9467
9468         * docs/manual/advanced-position.xml:
9469           Update seek example and explanations to current 0.9 API.
9470
9471         * gst/elements/gsttypefindelement.c:
9472         (gst_type_find_element_activate):
9473           Remove FIXME comment now that the found caps
9474           are unreffed.
9475
9476 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9477
9478         * gst/gstregistryxml.c: (load_feature):
9479           Add another GST_STR_NULL instance
9480
9481 2005-11-02  Edward Hervey  <edward@fluendo.com>
9482
9483         * gst/gstpad.c: (handle_pad_block):
9484         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9485         
9486 2005-11-02  Wim Taymans  <wim@fluendo.com>
9487
9488         * gst/gstbin.c:
9489         Fix typo in docs.
9490
9491         * gst/gstelement.c: (gst_element_commit_state):
9492         Remove unused value.
9493
9494         * gst/gstiterator.c:
9495         Mention that the returned element is reffed in the docs.
9496
9497 2005-11-02  Wim Taymans  <wim@fluendo.com>
9498
9499         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9500         (gst_pad_push), (gst_pad_push_event):
9501         Unlock blocked pads when they are flushed.
9502
9503 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9504
9505         * docs/README:
9506         * docs/gst/gstreamer-sections.txt:
9507         * gst/gstbin.c:
9508           doc updates
9509         * gst/gstregistry.c: (gst_registry_scan_path_level):
9510           fix for a nasty little missed situation where an installed plug-in
9511           which was in the cache did not get overridden by an uninstalled one
9512           which was earlier in the plugin path because the newly created plugin
9513           for the uninstalled one (not in the registry) didn't get its
9514           ->registered set to TRUE
9515
9516 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9517
9518         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9519         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9520         (gst_collectpads_is_active), (gst_collectpads_collect),
9521         (gst_collectpads_collect_range), (gst_collectpads_start),
9522         (gst_collectpads_stop), (gst_collectpads_peek),
9523         (gst_collectpads_pop), (gst_collectpads_available),
9524         (gst_collectpads_read), (gst_collectpads_flush):
9525           Guard public API with assertions.
9526         
9527         * gst/gstpad.c:
9528           Fix docs for gst_pad_set_link_function().
9529
9530 2005-11-02  Johan Dahlin  <johan@gnome.org>
9531
9532         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9533         Unref found_caps after we used it.
9534
9535 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9536
9537         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9538           Don't try to ref NULL.
9539
9540 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9541
9542         * win32/common/config.h.in:
9543           provide a GST_FUNCTION that just gives a string for now
9544
9545 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9546
9547         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9548         (gst_object_flags_get_type), (register_gst_bin_flags),
9549         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9550         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9551         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9552         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9553         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9554         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9555         (gst_clock_flags_get_type), (register_gst_state),
9556         (gst_state_get_type), (register_gst_state_change_return),
9557         (gst_state_change_return_get_type), (register_gst_state_change),
9558         (gst_state_change_get_type), (register_gst_element_flags),
9559         (gst_element_flags_get_type), (register_gst_core_error),
9560         (gst_core_error_get_type), (register_gst_library_error),
9561         (gst_library_error_get_type), (register_gst_resource_error),
9562         (gst_resource_error_get_type), (register_gst_stream_error),
9563         (gst_stream_error_get_type), (register_gst_event_type),
9564         (gst_event_type_get_type), (register_gst_seek_type),
9565         (gst_seek_type_get_type), (register_gst_seek_flags),
9566         (gst_seek_flags_get_type), (register_gst_format),
9567         (gst_format_get_type), (register_gst_index_certainty),
9568         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9569         (gst_index_entry_type_get_type),
9570         (register_gst_index_lookup_method),
9571         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9572         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9573         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9574         (gst_index_flags_get_type), (register_gst_debug_level),
9575         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9576         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9577         (gst_iterator_result_get_type), (register_gst_iterator_item),
9578         (gst_iterator_item_get_type), (register_gst_message_type),
9579         (gst_message_type_get_type), (register_gst_mini_object_flags),
9580         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9581         (gst_pad_link_return_get_type), (register_gst_flow_return),
9582         (gst_flow_return_get_type), (register_gst_activate_mode),
9583         (gst_activate_mode_get_type), (register_gst_pad_direction),
9584         (gst_pad_direction_get_type), (register_gst_pad_flags),
9585         (gst_pad_flags_get_type), (register_gst_pad_presence),
9586         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9587         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9588         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9589         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9590         (gst_plugin_flags_get_type), (register_gst_rank),
9591         (gst_rank_get_type), (register_gst_query_type),
9592         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9593         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9594         (gst_tag_flag_get_type), (register_gst_task_state),
9595         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9596         (gst_alloc_trace_flags_get_type),
9597         (register_gst_type_find_probability),
9598         (gst_type_find_probability_get_type), (register_gst_uri_type),
9599         (gst_uri_type_get_type), (register_gst_parse_error),
9600         (gst_parse_error_get_type):
9601         * win32/common/gstversion.h:
9602           update win32 copies
9603
9604 2005-11-01  Luca Ognibene  <luogni@tin.it>
9605
9606         * gst/gst.c:
9607           fix docs. popt is dead, long live GOption.
9608
9609 2005-10-31  Wim Taymans  <wim@fluendo.com>
9610
9611         * gst/gstbuffer.h:
9612         Small doc fix.
9613
9614 2005-10-31  Andy Wingo  <wingo@pobox.com>
9615
9616         * Boo!
9617
9618         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9619
9620         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9621         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9622         the possibility of deadlocks here if code calling notify() or
9623         set() has a lock that can be taken in another notify handler (ABBA
9624         with class lock and e.g. python GIL state lock).
9625
9626 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9627
9628         * gst/gstbus.c: Doc updates.
9629
9630 2005-10-28  Wim Taymans  <wim@fluendo.com>
9631
9632         * docs/design/part-TODO.txt:
9633         * gst/gstiterator.c:
9634         * gst/gstsystemclock.c:
9635         * gst/gstsystemclock.h:
9636         Doc updates.
9637
9638 2005-10-28  Edward Hervey  <edward@fluendo.com>
9639
9640         * docs/gst/gstreamer-docs.sgml:
9641         * docs/gst/gstreamer-sections.txt:
9642         the GstURIType documentation page is private, it only defines GstURIType
9643         which should be defined in the GstURIHandler page
9644         
9645 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9646
9647         * gst/gstbin.c: (gst_bin_class_init):
9648         * gst/gstbin.h:
9649         * gst/gstutils.c:
9650         Documentation updates.
9651
9652 2005-10-28  Wim Taymans  <wim@fluendo.com>
9653
9654         * docs/gst/gstreamer-sections.txt:
9655         * gst/gstclock.c:
9656         * gst/gstclock.h:
9657         Documented the clocks.
9658
9659 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9660
9661         * docs/gst/gstreamer-sections.txt:
9662           move some macros to private sections
9663         * gst/gstminiobject.c:
9664         * gst/gstminiobject.h:
9665           add descriptions provided by ds and some more
9666         * gst/gstpad.h:
9667           mark macro as to be removed
9668
9669 2005-10-28  Wim Taymans  <wim@fluendo.com>
9670
9671         * docs/design/part-TODO.txt:
9672         Add an item to TODO.
9673
9674         * gst/gstiterator.c: (gst_iterator_fold),
9675         (gst_iterator_find_custom):
9676         * gst/gstiterator.h:
9677         Add iterator docs.
9678
9679 2005-10-28  Wim Taymans  <wim@fluendo.com>
9680
9681         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9682         (gst_base_transform_init):
9683         Don't leak class.
9684
9685         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9686         An EOS event marks the queue as completely filled.
9687
9688 2005-10-27  Wim Taymans  <wim@fluendo.com>
9689
9690         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9691         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9692         Some more debugging.
9693
9694         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9695         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9696         (gst_base_transform_event), (gst_base_transform_getrange),
9697         (gst_base_transform_chain):
9698         * gst/base/gstbasetransform.h:
9699         Fix debugging,
9700         Protect transform and concurrent buffer alloc with a new lock.
9701         Try not to break ABI/API.
9702
9703 2005-10-27  Wim Taymans  <wim@fluendo.com>
9704
9705         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9706         (gst_base_src_init), (gst_base_src_query),
9707         (gst_base_src_default_newsegment),
9708         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9709         (gst_base_src_send_event), (gst_base_src_event_handler),
9710         (gst_base_src_pad_get_range), (gst_base_src_loop),
9711         (gst_base_src_unlock), (gst_base_src_default_negotiate),
9712         (gst_base_src_start), (gst_base_src_deactivate),
9713         (gst_base_src_activate_push), (gst_base_src_change_state):
9714         Move some stuff around and cleanup things.
9715
9716 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
9717
9718         * gst/base/gstbasesrc.c: (gst_base_src_query):
9719           Add missing break statements.
9720
9721 2005-10-27  Wim Taymans  <wim@fluendo.com>
9722
9723         * check/gst/gstbin.c: (GST_START_TEST):
9724         An extra refcount is taken in basesrc.
9725
9726         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9727         (gst_base_src_get_range), (gst_base_src_pad_get_range),
9728         (gst_base_src_loop):
9729         Small cleanups, check for flushing after being unlocked from the 
9730         LIVE_LOCK. take refcounts correctly (not yet everywhere).
9731         Don't send out EOS when going to READY.
9732
9733 2005-10-27  Wim Taymans  <wim@fluendo.com>
9734
9735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9736         (gst_base_sink_get_position):
9737         Some more debug.
9738
9739         * gst/gstbin.c: (message_check), (bin_replace_message),
9740         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9741         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9742         (bin_query_duration_init), (bin_query_duration_fold),
9743         (bin_query_duration_done), (bin_query_generic_fold),
9744         (gst_bin_query):
9745         * tools/gst-launch.c: (main):
9746         Remove old option.
9747
9748 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
9749
9750         * examples/controller/audio-example.c: (main):
9751         * examples/queue/queue.c: (event_loop):
9752         * gst/base/gstbasetransform.h:
9753         * gst/gstelement.c: (gst_element_send_event):
9754         * gst/gstevent.h:
9755         * gst/gstpad.c: (gst_pad_send_event):
9756           fixing examples
9757           fixing docs typos
9758           changing log priority in error situations
9759
9760 2005-10-25  Wim Taymans  <wim@fluendo.com>
9761
9762         * gst/gstbin.c: (message_check), (bin_replace_message),
9763         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9764         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9765         (bin_query_duration_init), (bin_query_duration_fold),
9766         (bin_query_duration_done), (bin_query_generic_fold),
9767         (gst_bin_query):
9768         Some doc and debug updates.
9769         Cache previously requested query DURATION for speed. invalidate
9770         cached duration if element posts a DURATION message.
9771
9772 2005-10-25  Wim Taymans  <wim@fluendo.com>
9773
9774         * docs/design/part-TODO.txt:
9775         Update TODO.
9776
9777         * gst/gstbin.c: (message_check), (bin_replace_message),
9778         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9779         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9780         (bin_query_duration_init), (bin_query_duration_fold),
9781         (bin_query_duration_done), (bin_query_generic_fold),
9782         (gst_bin_query):
9783         Handle SEGMENT_START/DONE messages correctly.
9784         More evolved query algorithm that handles duration queries
9785         correctly.
9786
9787         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9788         (gst_element_get_state_func), (gst_element_abort_state),
9789         (gst_element_commit_state), (gst_element_lost_state):
9790         Some more debugging.
9791
9792         * gst/gstmessage.h:
9793         Added doc.
9794
9795 2005-10-25  Wim Taymans  <wim@fluendo.com>
9796
9797         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9798         Don't use invalid stream_time.
9799
9800         * gst/gstevent.c: (gst_event_new_newsegment):
9801         stream_time in newsegment cannot be undefined.
9802
9803 2005-10-24  Wim Taymans  <wim@fluendo.com>
9804
9805         * gst/gstbus.c:
9806         Doc fix.
9807
9808         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9809         (gst_queue_loop):
9810         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9811
9812 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
9813
9814         * docs/libs/tmpl/gstdparam.sgml:
9815         * docs/libs/tmpl/gstdplinint.sgml:
9816         * docs/libs/tmpl/gstdpman.sgml:
9817         * docs/libs/tmpl/gstdpsmooth.sgml:
9818         * docs/libs/tmpl/gstunitconvert.sgml:
9819           these are obsolete
9820
9821 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9822
9823         * configure.ac:
9824           back to HEAD
9825
9826 === release 0.9.4 ===
9827
9828 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9829
9830         * configure.ac:
9831           releasing 0.9.4, "Tyrannosaurus Rex"
9832
9833 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
9834
9835         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9836         (gst_file_sink_get_current_offset):
9837           Use fseeko() and ftello() if available. When falling back on
9838           lseek() to get the current offset, fflush() first to make sure
9839           everything is up-to-date and we get the right offset.
9840
9841 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9842
9843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9844         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9845         * gst/gsterror.c: (_gst_stream_errors_init):
9846         * gst/gsterror.h:
9847         * gst/gstqueue.c: (gst_queue_loop):
9848         * po/POTFILES.in:
9849           remove prematurely added error category and clean up the instances
9850
9851 2005-10-21  Wim Taymans  <wim@fluendo.com>
9852
9853         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9854         (gst_base_sink_get_position), (gst_base_sink_query),
9855         (gst_base_sink_change_state):
9856         Simply set the right flag when going to playing, that's all
9857         we need to do instead of calling a function inside the object
9858         lock (that could take the lock as well and deadlock)
9859
9860 2005-10-21  Wim Taymans  <wim@fluendo.com>
9861
9862         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9863         (gst_base_src_loop):
9864         Don't warn, the peer element knows what to do best when
9865         the seek failed, it might try something else.
9866
9867 2005-10-21  Wim Taymans  <wim@fluendo.com>
9868
9869         * gst/base/gstbasesrc.c: (gst_base_src_init),
9870         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9871         Fix seeking.
9872
9873 2005-10-21  Wim Taymans  <wim@fluendo.com>
9874
9875         * docs/design/part-segments.txt:
9876         More docs.
9877
9878         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9879         Correctly set caps, even on the subbufer.
9880
9881 2005-10-21  Wim Taymans  <wim@fluendo.com>
9882
9883         * docs/gst/gstreamer-docs.sgml:
9884         * docs/gst/gstreamer-sections.txt:
9885         * gst/gstelement.h:
9886         * gst/gstevent.c:
9887         * gst/gstevent.h:
9888         * gst/gstmessage.h:
9889         * gst/gstpad.h:
9890         * gst/gstparse.h:
9891         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9892         * gst/gsttask.h:
9893         * gst/gstutils.c:
9894         * gst/gstutils.h:
9895         And 2% more doc coverage.
9896
9897 2005-10-21  Andy Wingo  <wingo@pobox.com>
9898
9899         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9900         position reporting.
9901
9902 2005-10-20  Wim Taymans  <wim@fluendo.com>
9903
9904         * gst/gsterror.c: (gst_error_get_message):
9905         * gst/gstparse.h:
9906         * gst/gstquery.h:
9907         * gst/gststructure.c:
9908         * gst/gsttrace.c:
9909         * gst/gstutils.c:
9910         More docs.
9911
9912 2005-10-20  Wim Taymans  <wim@fluendo.com>
9913
9914         * gst/gstbuffer.h:
9915         * gst/gstpad.c:
9916         * gst/gstparse.c:
9917         Another 1% more coverage.
9918
9919 2005-10-20  Wim Taymans  <wim@fluendo.com>
9920
9921         * docs/gst/gstreamer-sections.txt:
9922         * gst/gstelement.c: (gst_element_get_state_func),
9923         (gst_element_abort_state), (gst_element_commit_state),
9924         (gst_element_lost_state):
9925         * gst/gstevent.h:
9926         * gst/gstquery.c: (gst_query_set_position),
9927         (gst_query_parse_position), (gst_query_set_duration),
9928         (gst_query_parse_duration), (gst_query_new_convert):
9929         * gst/gstutils.c:
9930         Yay! 1% more docs coverage.
9931
9932 2005-10-20  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/gstpad.h:
9935         * gst/gstquery.c: (gst_query_set_position),
9936         (gst_query_parse_position), (gst_query_set_duration),
9937         (gst_query_parse_duration), (gst_query_new_convert):
9938         * gst/gstquery.h:
9939         * gst/gstutils.c: (gst_element_query_convert):
9940         * gst/gstutils.h:
9941         Docs and consistency fixes.
9942
9943 2005-10-20  Wim Taymans  <wim@fluendo.com>
9944
9945         * gst/gsttask.c:
9946         * gst/gsttask.h:
9947         More docs.
9948
9949 2005-10-20  Wim Taymans  <wim@fluendo.com>
9950
9951         * gst/gstbin.c: (message_check), (bin_replace_message),
9952         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9953         (update_degree), (gst_bin_sort_iterator_next),
9954         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9955         Reworked the message handling a bit, cache the messages instead of
9956         only the senders. alows us to do more in the future.
9957
9958 2005-10-20  Wim Taymans  <wim@fluendo.com>
9959
9960         * docs/design/part-TODO.txt:
9961         Update TODO
9962
9963         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9964         (gst_base_sink_query):
9965         Don't use clock time to report position when in EOS.
9966
9967 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * tools/gst-inspect.c: (print_interfaces),
9970         (print_element_properties_info), (print_element_info):
9971           Fix interface output with gst-inspect -a; don't print
9972           newlines after double/float properties.
9973
9974 2005-10-20  Wim Taymans  <wim@fluendo.com>
9975
9976         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9977         (gst_base_sink_query):
9978         Speed up current position calculation.
9979
9980         * gst/base/gstbasesrc.c: (gst_base_src_query),
9981         (gst_base_src_default_newsegment):
9982         Correctly set stream position in newsegment.
9983
9984         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9985         (update_degree), (gst_bin_sort_iterator_next),
9986         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9987         * gst/gstmessage.c: (gst_message_new_custom):
9988         Clean up debugging info
9989
9990         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9991         (gst_queue_loop), (gst_queue_handle_src_query):
9992         Pause task faster.
9993
9994 2005-10-19  Wim Taymans  <wim@fluendo.com>
9995
9996         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9997         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9998         Fix query handling again.
9999
10000 2005-10-19  Wim Taymans  <wim@fluendo.com>
10001
10002         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10003         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10004         * gst/base/gstbasesrc.c: (gst_base_src_query):
10005         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10006         * gst/elements/gsttypefindelement.c:
10007         (gst_type_find_handle_src_query), (find_element_get_length),
10008         (gst_type_find_element_activate):
10009         API change fix.
10010
10011         * gst/gstquery.c: (gst_query_new_position),
10012         (gst_query_set_position), (gst_query_parse_position),
10013         (gst_query_new_duration), (gst_query_set_duration),
10014         (gst_query_parse_duration), (gst_query_set_segment),
10015         (gst_query_parse_segment):
10016         * gst/gstquery.h:
10017         Bundling query position/duration is not a good idea since duration
10018         does not change much and we don't want to recalculate it for every
10019         position query, so they are separated again..
10020         Base value in segment query is not needed.
10021
10022         * gst/gstqueue.c: (gst_queue_handle_src_query):
10023         * gst/gstutils.c: (gst_element_query_position),
10024         (gst_element_query_duration), (gst_pad_query_position),
10025         (gst_pad_query_duration):
10026         * gst/gstutils.h:
10027         Updates for query API change.
10028         Added some docs here and there.
10029
10030 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10031
10032         * check/gst/gstbin.c: (GST_START_TEST):
10033         * check/gst/gstghostpad.c: (GST_START_TEST):
10034         * check/pipelines/cleanup.c: (GST_START_TEST):
10035           wait on thread to die so we can check refcount correctly
10036
10037 2005-10-18  Wim Taymans  <wim@fluendo.com>
10038
10039         * check/pipelines/stress.c: (GST_START_TEST):
10040         Make check a little more time consuming.
10041
10042 2005-10-18  Wim Taymans  <wim@fluendo.com>
10043
10044         * check/Makefile.am:
10045         * check/pipelines/stress.c: (GST_START_TEST),
10046         (simple_launch_lines_suite), (main):
10047         Small state change torture test.
10048
10049         * docs/design/part-states.txt:
10050         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10051         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10052         (gst_base_sink_change_state):
10053         Never take state lock from streaming thread, clean up ugly
10054         hacks. Unfortunatly core does not yet support nice ways to
10055         async commit state.
10056         
10057         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10058         (bin_bus_handler):
10059         Start state recalc if a STATE_DIRTY message is posted, but only
10060         on the toplevel bin.
10061
10062         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10063         (gst_element_get_state_func), (gst_element_abort_state),
10064         (gst_element_commit_state), (gst_element_lost_state),
10065         (gst_element_set_state_func), (gst_element_change_state):
10066         * gst/gstelement.h:
10067         State variables are now protected with the LOCK, the state
10068         lock is only used to serialize _set_state().
10069
10070 2005-10-18  Wim Taymans  <wim@fluendo.com>
10071
10072         * check/gst/gstbin.c: (GST_START_TEST):
10073         * check/gst/gstmessage.c: (GST_START_TEST):
10074         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10075         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10076         (bin_bus_handler):
10077         * gst/gstelement.c: (gst_element_abort_state),
10078         (gst_element_commit_state), (gst_element_lost_state):
10079         * gst/gstmessage.c: (gst_message_new_state_changed),
10080         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10081         (gst_message_new_segment_done), (gst_message_new_duration),
10082         (gst_message_parse_state_changed),
10083         (gst_message_parse_segment_start),
10084         (gst_message_parse_segment_done), (gst_message_parse_duration):
10085         * gst/gstmessage.h:
10086         * tools/gst-launch.c: (event_loop):
10087         Seriously, this is better than a previous commit as we only need
10088         to notify the fact that an element changed state in a streaming
10089         thread, marking the state of the parents dirty, hence the 
10090         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10091         message.
10092
10093 2005-10-18  Wim Taymans  <wim@fluendo.com>
10094
10095         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10096         (gst_bin_recalc_func):
10097         * gst/gstelement.c: (gst_element_set_clock),
10098         (gst_element_abort_state), (gst_element_lost_state):
10099         Cleanups, prepare for state change fixes.
10100
10101 2005-10-18  Wim Taymans  <wim@fluendo.com>
10102
10103         * gst/gstbin.h:
10104         * gst/gstelement.c: (gst_element_class_init),
10105         (gst_element_set_state), (gst_element_set_state_func):
10106         * gst/gstelement.h:
10107         Pending ABI changes.
10108         GThreadPool in GstBinClass to monitor async state changes.
10109         state_cookie in GstElement to detect concurrent gst/set state.
10110         set_state is now virtual too in case a very complicated element
10111         has to be constructed.
10112
10113 2005-10-18  Wim Taymans  <wim@fluendo.com>
10114
10115         * check/gst/gstbin.c: (GST_START_TEST):
10116         * check/gst/gstmessage.c: (GST_START_TEST):
10117         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10118         * gst/gstbin.c: (bin_bus_handler):
10119         * gst/gstelement.c: (gst_element_commit_state),
10120         (gst_element_lost_state):
10121         * gst/gstmessage.c: (gst_message_new_state_changed),
10122         (gst_message_new_segment_start), (gst_message_new_segment_done),
10123         (gst_message_new_duration), (gst_message_parse_state_changed),
10124         (gst_message_parse_segment_start),
10125         (gst_message_parse_segment_done), (gst_message_parse_duration):
10126         * gst/gstmessage.h:
10127         * tools/gst-launch.c: (event_loop):
10128         Make messages future proof.
10129         state-change gets a flag if it was a message comming from the
10130         streaming thread.
10131         segment-start/stop can also be specified in other formats.
10132         A message to notify an app that a pipeline changed playback 
10133         duration.
10134         Also fix a GstMessage leak in -launch
10135
10136 2005-10-18  Andy Wingo  <wingo@pobox.com>
10137
10138         * gst/gstelement.c (gst_element_dispose): More helpful message.
10139
10140 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10141
10142         reviewed by: <delete if not using a buddy>
10143
10144         * common/gtk-doc.mak:
10145
10146 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10147
10148         * gst/gstregistry.c: (gst_registry_scan_path_level):
10149           unref a plug-in we get that was already initialized
10150
10151 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10152
10153         * docs/gst/gstreamer-sections.txt:
10154         * docs/libs/gstreamer-libs-sections.txt:
10155         * gst/gstelement.h:
10156           add new api entries
10157           hide internal macro
10158
10159 2005-10-17  Andy Wingo  <wingo@pobox.com>
10160
10161         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10162         cleanup.
10163
10164         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10165
10166         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10167
10168         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10169         (gst_element_get_state_func): Better debug message.
10170         (gst_element_commit_state): s/INFO/DEBUG/.
10171         (gst_element_lost_state, gst_element_change_state): 
10172
10173         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10174         (gst_message_new_custom): s/INFO/LOG/.
10175
10176 2005-10-17  Michael Smith <msmith@fluendo.com>
10177
10178         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10179           Check if end time is valid using end time, not start time.
10180
10181 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10182
10183         * check/gst-libs/controller.c: (GST_START_TEST),
10184         (gst_controller_suite):
10185         * libs/gst/controller/gstcontroller.c:
10186         (gst_controlled_property_set_interpolation_mode):
10187         * libs/gst/controller/gstcontroller.h:
10188         * libs/gst/controller/gstinterpolation.c:
10189         * testsuite/controller/.cvsignore:
10190         * testsuite/controller/Makefile.am:
10191         * testsuite/controller/interpolator.c:
10192           merge controller testsuites
10193           fix broken tests
10194           remove mem-chunk from docs
10195
10196 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10197
10198         * gst/gstmemchunk.c:
10199         * gst/gstmemchunk.h:
10200         * gst/gsttrashstack.c:
10201         * gst/gsttrashstack.h:
10202           out.  get out.  you're fired.  to the Attic !
10203
10204 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10205
10206         * gst/gstcaps.c: (gst_caps_intersect):
10207           fix signedness issues in a (hopefully) correct way
10208         * gst/gstelement.c: (gst_element_pads_activate):
10209           some debugging
10210         * gst/gstobject.c: (gst_object_set_parent):
10211           some debugging
10212
10213 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10214
10215         * gst/gstvalue.h: Fix prototypes.
10216
10217 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10218
10219         * docs/gst/gstreamer-sections.txt:
10220         * gst/gst.c: (gst_version_string):
10221         * gst/gst.h:
10222         * gst/gstversion.h.in:
10223         * win32/common/libgstreamer.def:
10224           add gst_version_string ()
10225
10226 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10227
10228         * configure.ac:
10229           clean up further
10230         * gst/gst.c: (init_post):
10231         * win32/common/config.h.in:
10232           it's PLUGINDIR now
10233         * gst/gstcaps.c: (gst_caps_intersect):
10234           use gint64, the range could be bigger than a guint
10235
10236 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10237
10238         * gst/gstclock.h:
10239           document potential problem in 2038
10240
10241 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10242
10243         * gst/gstcaps.c: (gst_caps_intersect):
10244           Fix guint j diving under 0
10245
10246 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10247
10248         * configure.ac:
10249         * win32/common/config.h:
10250         * win32/common/config.h.in:
10251           check for process.h, declares getpid() on Windows
10252         * gst/gstinfo.c:
10253           include process.h if we have it
10254         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10255         * gst/gstmemchunk.h:
10256           fix signedness issues
10257         * win32/common/libgstreamer.def:
10258           fix get_type's
10259
10260 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10261
10262         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10263         fix. Because of unsigned ints, caps intersection was going nuts and
10264         trying to access structures with G_MAXUINT index. That fixes
10265         videotestsrc ! ffmpegcolorspace ! fakesink
10266         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10267         consistency.
10268
10269 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10270
10271         * configure.ac:
10272           use the gettext macro
10273         * gst/elements/gstelements.c:
10274         * gst/gst.c:
10275         * gst/indexers/gstindexers.c:
10276           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10277         * win32/common/config.h:
10278           updated config.h
10279         * win32/common/config.h.in:
10280           add the template to generate config.h
10281         * win32/common/gstenumtypes.c:
10282         * win32/common/gstversion.h:
10283           updated copies
10284
10285 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10286
10287         * gst/gst.c: (gst_version):
10288         * gst/gstversion.h.in:
10289           add the nano
10290
10291 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10292
10293         * gst/gstevent.h:
10294           Oops, add missing closing bracket.
10295
10296 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10297
10298         * configure.ac:
10299           use common m4's for argument checking
10300
10301 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10302
10303         * docs/gst/gstreamer-sections.txt:
10304         * gst/gstevent.h:
10305           Add GST_EVENT_TYPE_NAME() macro.
10306
10307 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10308
10309         * gst/gstinfo.c:
10310         * gst/gstpluginfeature.c:
10311         * gst/gsttask.c:
10312           privatize more symbols
10313
10314 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10315
10316         * configure.ac:
10317           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10318           everything that uses GStreamer API should have the includes
10319
10320 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10321
10322         * docs/gst/gstreamer-sections.txt:
10323         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10324         * gst/gstvalue.h:
10325           give each value a _get_type, removes the DATA exports
10326
10327 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10328
10329         * gst/gst.c:
10330         * gst/gst.h:
10331           remove _gst_registry_auto_load, not used anymore
10332         * gst/gstbin.c: (gst_bin_get_type):
10333         * gst/gstbin.h:
10334         * gst/gstelement.c: (gst_element_get_type):
10335         * gst/gstelement.h:
10336         * gst/gstobject.c: (gst_object_get_type):
10337         * gst/gstobject.h:
10338         * gst/gstpad.c: (gst_pad_get_type):
10339         * gst/gstpad.h:
10340           make _get_type functions similar, fixes data export from library
10341
10342 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10343
10344         * configure.ac:
10345           correctly make conditionals
10346         * gst/elements/Makefile.am:
10347         * gst/elements/gstelements.c:
10348           fix typo causing fdsrc not to build
10349
10350 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * testsuite/Makefile.am:
10353         * testsuite/bytestream/.cvsignore:
10354         * testsuite/bytestream/Makefile.am:
10355         * testsuite/bytestream/filepadsink.c:
10356         * testsuite/bytestream/gstbstest.c:
10357         * testsuite/bytestream/test1.c:
10358         * testsuite/bytestream/testfile1:
10359         * testsuite/caps/normalisation.c:
10360         * testsuite/caps/random.c: (main):
10361         * testsuite/cleanup/.cvsignore:
10362         * testsuite/cleanup/Makefile.am:
10363         * testsuite/cleanup/cleanup1.c:
10364         * testsuite/cleanup/cleanup2.c:
10365         * testsuite/cleanup/cleanup3.c:
10366         * testsuite/cleanup/cleanup4.c:
10367         * testsuite/cleanup/cleanup5.c:
10368         * testsuite/controller/interpolator.c:
10369         * testsuite/debug/printf_extension.c: (main):
10370         * testsuite/elements/tee.c:
10371         * testsuite/negotiation/.cvsignore:
10372         * testsuite/negotiation/Makefile.am:
10373         * testsuite/negotiation/pad_link.c:
10374         * testsuite/pad/Makefile.am:
10375         * testsuite/pad/chainnopull.c:
10376         * testsuite/pad/getnopush.c:
10377         * testsuite/pad/link.c:
10378         * testsuite/refcounting/sched.c: (create_pipeline):
10379         * testsuite/registry/Makefile.am:
10380         * testsuite/registry/gst-print-formats.c:
10381         * testsuite/schedulers/.cvsignore:
10382         * testsuite/schedulers/142183-2.c:
10383         * testsuite/schedulers/142183.c:
10384         * testsuite/schedulers/143777-2.c:
10385         * testsuite/schedulers/143777.c:
10386         * testsuite/schedulers/147713.c:
10387         * testsuite/schedulers/147819.c:
10388         * testsuite/schedulers/147894-2.c:
10389         * testsuite/schedulers/147894.c:
10390         * testsuite/schedulers/Makefile.am:
10391         * testsuite/schedulers/group_link.c:
10392         * testsuite/schedulers/queue_link.c:
10393         * testsuite/schedulers/relink.c:
10394         * testsuite/schedulers/unlink.c:
10395         * testsuite/schedulers/unref.c:
10396         * testsuite/schedulers/useless_iteration.c:
10397         * testsuite/states/bin.c:
10398           clean out/remove some stuff from the testsuite directories
10399
10400 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10401
10402         * configure.ac:
10403           check for some headers
10404         * gst/elements/Makefile.am:
10405         * gst/elements/gstelements.c:
10406           don't compile fdsrc without sys/socket.h
10407         * gst/indexers/Makefile.am:
10408         * gst/indexers/gstindexers.c: (plugin_init):
10409           don't compile fileindex without mmap
10410
10411 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10412
10413         * configure.ac:
10414           reorganize
10415           clean up
10416           document more
10417           remove cruft
10418         * check/Makefile.am:
10419         * docs/gst/Makefile.am:
10420         * examples/helloworld/Makefile.am:
10421         * gst/Makefile.am:
10422         * gst/base/Makefile.am:
10423         * gst/check/Makefile.am:
10424         * gst/elements/Makefile.am:
10425         * gst/indexers/Makefile.am:
10426         * gst/parse/Makefile.am:
10427         * libs/gst/controller/Makefile.am:
10428         * libs/gst/dataprotocol/Makefile.am:
10429         * examples/helloworld/helloworld.c: (event_loop):
10430           compile fixes, though it's not being compiled currently
10431
10432 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10433
10434         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10435           Add some simple tests for the new taglist date API.
10436
10437 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10438
10439         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10440         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10441           Beautify 'last-message' output: print 'none' for buffer timestamps
10442           and durations if none is set; improve alignment with next messages.
10443
10444 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10445
10446         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10447         * gst/gstpluginfeature.h:
10448         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10449         * gst/gstregistry.h:
10450         * docs/gst/gstreamer-sections.txt:
10451           Add new API to check plugin feature version requirements.
10452
10453         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10454           Some basic tests for the above.         
10455
10456 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10457
10458         * gst/gststructure.c: (gst_structure_to_string):
10459           guard against NULL printf - happens when for example
10460           a message structure with GstClock gets serialized
10461
10462 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10463
10464         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10465           Fix presumable copy'n'pasto.
10466
10467 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10468
10469         * gst/elements/gstfakesrc.h:
10470         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10471         * gst/elements/gsttypefindelement.c:
10472           fix some signedness
10473         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10474           I wonder if this could actually write +2GB files before
10475
10476 2005-10-13  Andy Wingo  <wingo@pobox.com>
10477
10478         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10479         Fix Timmeke Waymans bug.
10480         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10481         string of the proper length to gst_caps_from_string. There's a
10482         potential for, before this fix, that this could cause someone
10483         connecting over the network to cause a segfault if the payload is
10484         not NUL-terminated.
10485
10486 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10487
10488         * docs/design/draft-push-pull.txt:
10489         * docs/design/part-overview.txt:
10490         * docs/random/TODO-pre-0.9:
10491         * docs/random/old/ChangeLog.gstreamer:
10492         * gst/base/gstpushsrc.c:
10493         * gst/gstclock.c:
10494           fixed typos
10495
10496 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10497
10498         * gst/glib-compat.c: (gst_flags_get_first_value):
10499         * gst/glib-compat.h:
10500         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10501         (gst_value_compare_double), (gst_value_serialize_flags):
10502           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10503           infinite loop
10504
10505 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10506
10507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10508         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10509           fix up debugging
10510         * tools/gst-launch.c: (event_loop):
10511           print out clock nicely
10512
10513 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10514
10515         * docs/gst/gstreamer-sections.txt:
10516         * gst/gsttaglist.h:
10517         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10518         (gst_tag_list_get_date_index):
10519           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10520           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10521
10522 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10523
10524         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10525         (gst_collectpads_chain):
10526         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10527         in CollectData.
10528
10529 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10530
10531         * docs/gst/gstreamer-sections.txt:
10532         * gst/gst.c:
10533         * gst/gsterror.h:
10534         * tools/gst-inspect.c: (main):
10535         * tools/gst-launch.c: (main):
10536         * tools/gst-run.c: (main):
10537         * tools/gst-xmlinspect.c: (main):
10538           fix GOption context leaks
10539           doc fixes
10540
10541 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10542
10543         * gst/gstbus.c:
10544           use HAVE_UNISTD_H
10545         * win32/common/config.h:
10546           update config
10547         * win32/vs6/grammar.dsp:
10548         * win32/vs6/libgstelements.dsp:
10549         * win32/vs6/libgstreamer.dsp:
10550           update vs6 files
10551
10552 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10553
10554         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10555         * gst/base/gstbasesrc.c: (gst_base_src_query):
10556           fix more guint64<->gdouble conversions
10557
10558 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10559
10560         * Makefile.am:
10561           add win32-update target
10562         * win32/common/gstconfig.h:
10563         * win32/common/gstenumtypes.c:
10564         * win32/common/gstenumtypes.h:
10565         * win32/common/gstversion.h:
10566           add files that visual studio can't generate
10567
10568 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10569
10570         * Makefile.am:
10571           add a win32-update target
10572         * configure.ac:
10573
10574 2005-10-12  Wim Taymans  <wim@fluendo.com>
10575
10576         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10577         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10578         * gst/gstelement.c: (gst_element_commit_state),
10579         (gst_element_set_state):
10580         Protect flags with proper lock.
10581         unref provided cached clock in dispose.
10582
10583 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10584
10585         * gst/gst.c:
10586         * gst/gstminiobject.h:
10587         * gst/gstpad.h:
10588         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10589           removed unused flags from miniobject
10590           doc fixes
10591
10592 2005-10-12  Wim Taymans  <wim@fluendo.com>
10593
10594         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10595         (gst_file_sink_event), (gst_file_sink_render):
10596         Flush before seeking.
10597
10598 2005-10-12  Andy Wingo  <wingo@pobox.com>
10599
10600         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10601         always been the case.
10602
10603 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10604
10605         * check/gst/gstbin.c: (GST_START_TEST):
10606         * docs/gst/gstreamer-sections.txt:
10607         * gst/base/gstbasesink.c: (gst_base_sink_init):
10608         * gst/base/gstbasesrc.c: (gst_base_src_init),
10609         (gst_base_src_get_range), (gst_base_src_check_get_range),
10610         (gst_base_src_start), (gst_base_src_stop):
10611         * gst/base/gstbasesrc.h:
10612         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10613         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10614         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10615         (bin_bus_handler):
10616         * gst/gstbin.h:
10617         * gst/gstbuffer.h:
10618         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10619         * gst/gstbus.h:
10620         * gst/gstelement.c: (gst_element_is_locked_state),
10621         (gst_element_set_locked_state), (gst_element_commit_state),
10622         (gst_element_set_state):
10623         * gst/gstelement.h:
10624         * gst/gstindex.c: (gst_index_init):
10625         * gst/gstindex.h:
10626         * gst/gstminiobject.h:
10627         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10628         (gst_object_set_parent):
10629         * gst/gstobject.h:
10630         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10631         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10632         * gst/gstpad.h:
10633         * gst/gstpadtemplate.h:
10634         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10635         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10636         * gst/gstpipeline.h:
10637         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10638         (gst_file_index_commit):
10639         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10640         * testsuite/pad/link.c: (gst_test_src_init),
10641         (gst_test_filter_init), (gst_test_sink_init):
10642         * testsuite/states/locked.c: (main):
10643           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10644           moved bitshift from macro to enum definition
10645
10646 2005-10-12  Wim Taymans  <wim@fluendo.com>
10647
10648         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10649         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10650         (gst_file_sink_render):
10651         Some more debugging info.
10652
10653 2005-10-12  Wim Taymans  <wim@fluendo.com>
10654
10655         * docs/design/part-states.txt:
10656         * tools/gst-launch.c: (main):
10657         Some doc updates.
10658         Revert non-intentional change.
10659
10660 2005-10-12  Wim Taymans  <wim@fluendo.com>
10661
10662         * check/gst/gstbin.c: (GST_START_TEST):
10663         * check/gst/gstelement.c: (GST_START_TEST):
10664         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10665         * check/gst/gstghostpad.c: (GST_START_TEST):
10666         * check/gst/gstpipeline.c: (GST_START_TEST):
10667         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10668         * check/states/sinks.c: (GST_START_TEST):
10669         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10670         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10671         (gst_bin_remove_func), (gst_bin_get_state_func),
10672         (gst_bin_recalc_state), (gst_bin_change_state_func),
10673         (bin_bus_handler):
10674         * gst/gstelement.c: (gst_element_get_state_func),
10675         (gst_element_get_state), (gst_element_abort_state),
10676         (gst_element_commit_state), (gst_element_set_state),
10677         (gst_element_change_state), (gst_element_change_state_func):
10678         * gst/gstelement.h:
10679         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10680         (gst_pipeline_provide_clock_func):
10681         * gst/gstutils.c: (gst_element_link_pads_filtered):
10682         * tools/gst-launch.c: (main):
10683         * tools/gst-typefind.c: (main):
10684         Use GstClockTime in _get_state() instead of GTimeVal.
10685         Remove old code in gstutils.c
10686
10687 2005-10-12  Andy Wingo  <wingo@pobox.com>
10688
10689         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10690         removed.
10691
10692         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10693         there is no task. Shouldn't affect any code, as nothing in our
10694         plugins checks this return value.
10695         (gst_pad_stop_task): Also take the stream lock if the pad has no
10696         task. Docs updated.
10697
10698 2005-10-12  Wim Taymans  <wim@fluendo.com>
10699
10700         * gst/gstpad.c: (pre_activate), (post_activate),
10701         (gst_pad_activate_pull), (gst_pad_activate_push):
10702         Cleanup activation code. Reset old state if
10703         activation failed.
10704
10705 2005-10-12  Wim Taymans  <wim@fluendo.com>
10706
10707         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10708         (gst_base_sink_change_state):
10709         No need to prerol after receiving EOS.
10710
10711         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10712         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10713         * gst/elements/gstidentity.c: (gst_identity_event):
10714         Print events more verbosely.
10715
10716 2005-10-12  Wim Taymans  <wim@fluendo.com>
10717
10718         * check/Makefile.am:
10719         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10720         * check/states/sinks2.c:
10721         Moved sinks2 testcode in sinks check.
10722
10723         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10724         (gst_bin_remove_func), (gst_bin_recalc_state),
10725         (gst_bin_change_state_func), (bin_bus_handler):
10726         Fix potential race condition when _get_state() iterated over an
10727         ASYNC element right before it posted a state completion.
10728
10729         * gst/gstclock.h:
10730         Do proper cast here.
10731
10732         * gst/gstevent.c: (gst_event_new_newsegment),
10733         (gst_event_parse_newsegment):
10734         A playback rate of 0.0 is not allowed.
10735
10736 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10737
10738         * win32/common/config.h:
10739         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10740         (_trewinddir), (_ttelldir), (_tseekdir):
10741         * win32/common/dirent.h:
10742         * win32/common/gtchar.h:
10743         * win32/common/libgstbase.def:
10744         * win32/common/libgstreamer.def:
10745         * win32/vs6/grammar.dsp:
10746         * win32/vs6/gst_inspect.dsp:
10747         * win32/vs6/gst_launch.dsp:
10748         * win32/vs6/gstreamer.dsw:
10749         * win32/vs6/libgstbase.dsp:
10750         * win32/vs6/libgstelements.dsp:
10751         * win32/vs6/libgstreamer.dsp:
10752           Visual Studio 6 project files, and a new common directory.
10753           Phear.
10754
10755 2005-10-11  Wim Taymans  <wim@fluendo.com>
10756
10757         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10758         (gst_base_sink_do_sync), (gst_base_sink_query),
10759         (gst_base_sink_change_state):
10760         * gst/base/gstbasesink.h:
10761         Correctly parse newsegment info.
10762
10763 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10764
10765         * gst/gst.c: (init_post):
10766           split plugin paths correctly
10767
10768 2005-10-11  Wim Taymans  <wim@fluendo.com>
10769
10770         * check/gst/gstevent.c: (GST_START_TEST):
10771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10772         (gst_base_sink_change_state):
10773         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10774         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10775         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10776         * gst/gstevent.c: (gst_event_new_newsegment),
10777         (gst_event_parse_newsegment):
10778         * gst/gstevent.h:
10779         Added extra flag to newsegment for future API freeze.
10780         Updated check and base elements.
10781
10782 2005-10-11  Julien MOUTTE  <julien@moutte.net>
10783
10784         * gst/base/gstcollectpads.c: (gst_collectpads_init),
10785         (gst_collectpads_add_pad), (gst_collectpads_pop),
10786         (gst_collectpads_event), (gst_collectpads_chain):
10787         * gst/base/gstcollectpads.h: Handle EOS correctly.
10788
10789 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10790
10791         * tools/gst-launch.c: (main):
10792           more null protecting
10793
10794 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10795
10796         * gst/gst-i18n-lib.h:
10797           check for ENABLE_NLS, not GETTEXT_PACKAGE
10798         * gst/gstregistry.c: (gst_registry_add_plugin),
10799         (gst_registry_scan_path_level),
10800         (_gst_registry_remove_cache_plugins):
10801           protect possibly NULL strings
10802         * gst/parse/types.h:
10803           config.h already included before
10804         * tools/gst-inspect.c: (main):
10805           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10806           check for ENABLE_NLS, not GETTEXT_PACKAGE
10807         * tools/gst-launch.c: (main):
10808           check for ENABLE_NLS, not GETTEXT_PACKAGE
10809
10810 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10811
10812         * configure.ac:
10813           if we don't have glib, fail before testing 2.8
10814         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10815           fix a leak, should fix plugins-base testsuite
10816
10817 2005-10-11  Andy Wingo  <wingo@pobox.com>
10818
10819         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10820         take the mode we're going to as an arg. Go head and set the mode
10821         and flushing flags now, so that if the activate function starts a
10822         thread all the flags will be in the right state.
10823         (post_activate): Renamed also. Just handle making sure streaming
10824         finishes for the deactivation case, and setting the deactivated
10825         mode.
10826         (gst_pad_set_active): Complain loudly if deactivation fails.
10827         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10828         (gst_pad_activate_push): Adapt to pre/post_activate changes,
10829         remove the terrible hack.
10830
10831 2005-10-11  Wim Taymans  <wim@fluendo.com>
10832
10833         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10834         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10835         (gst_bin_recalc_state), (gst_bin_change_state_func),
10836         (gst_bin_dispose), (bin_bus_handler):
10837         * gst/gstbin.h:
10838         Prepare to make current EOS message queue more generic.
10839         Fix some typos.
10840
10841         * gst/gstevent.c: (gst_event_new_newsegment),
10842         (gst_event_parse_newsegment):
10843         * gst/gstevent.h:
10844         Rename base to stream_time.
10845
10846         * gst/gstmessage.h:
10847         Fix typo in docs.
10848
10849 2005-10-11  Wim Taymans  <wim@fluendo.com>
10850
10851         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10852         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10853         (gst_bin_change_state_func), (bin_bus_handler):
10854         * gst/gstbin.h:
10855         Work on proper clock selection.
10856
10857 2005-10-11  Edward Hervey  <edward@fluendo.com>
10858
10859         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
10860         * libs/gst/controller/gstcontroller.h:
10861         Added GList* version of _remove_properties() in order to be able to wrap
10862         it in bindings.
10863
10864 2005-10-11  Wim Taymans  <wim@fluendo.com>
10865
10866         * docs/design/part-states.txt:
10867         Some more docs.
10868
10869         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10870         (gst_bin_change_state_func), (bin_bus_handler):
10871         Doc updates. Don't distribute the same clock over and over again.
10872
10873         * gst/gstclock.c:
10874         * gst/gstclock.h:
10875         Doc updates.
10876
10877         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10878         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10879         (gst_pad_send_event):
10880         * gst/gstpad.h:
10881         Make probe emission threadsafe again.
10882         Register quarks and move _get_name() from utils.
10883         Doc updates.
10884
10885         * gst/gstpipeline.c: (gst_pipeline_class_init),
10886         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10887         Only redistribute the clock of it changed.
10888
10889         * gst/gstsystemclock.h:
10890         Doc updates. 
10891
10892         * gst/gstutils.c:
10893         * gst/gstutils.h:
10894         Moved the _flow_get_name() to GstPad.
10895
10896 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10897
10898         * check/gst-libs/gdp.c: (GST_START_TEST):
10899         * check/gst/gstcaps.c: (GST_START_TEST):
10900         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10901         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10902         (gst_dp_packet_from_caps):
10903           fix more valgrind warnings before turning up the heat
10904
10905 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10906
10907         * gst/parse/grammar.y:
10908           some cleanup before the hacking
10909
10910 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10911
10912         * gst/base/gstbasesrc.c: (gst_base_src_query):
10913           use conversions
10914         * gst/gstutils.c: (gst_guint64_to_gdouble),
10915         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10916         * gst/gstutils.h:
10917           externalize, basesrc uses it
10918           obviously the implementation needs testing
10919
10920 2005-10-10  Wim Taymans  <wim@fluendo.com>
10921
10922         * tests/sched/Makefile.am:
10923         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10924         (make_pipeline3), (make_pipeline4), (print_elem), (main):
10925
10926 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10927
10928         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10929           apparently converting from guint64 to double is not implemented
10930           on MSVC
10931
10932 2005-10-10  Wim Taymans  <wim@fluendo.com>
10933
10934         * check/Makefile.am:
10935         * check/generic/states.c: (GST_START_TEST):
10936         * check/gst/gstbin.c: (GST_START_TEST):
10937         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10938         * check/states/sinks.c: (GST_START_TEST):
10939         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10940         (main):
10941         Check fixes, use API as stated in design docs, remove hacks.
10942
10943         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10944         (gst_base_sink_change_state):
10945         Catch stopping our task while we're shutting down.
10946
10947         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10948         (gst_bin_remove_func), (gst_bin_get_state_func),
10949         (gst_bin_recalc_state), (gst_bin_change_state_func),
10950         (bin_bus_handler):
10951         * gst/gstbin.h:
10952         * gst/gstelement.c: (gst_element_init),
10953         (gst_element_get_state_func), (gst_element_abort_state),
10954         (gst_element_commit_state), (gst_element_lost_state),
10955         (gst_element_set_state), (gst_element_change_state),
10956         (gst_element_change_state_func):
10957         * gst/gstelement.h:
10958         New state change algorithm (see #318116)
10959
10960         * gst/gstpipeline.c: (gst_pipeline_class_init),
10961         (gst_pipeline_init), (gst_pipeline_set_property),
10962         (gst_pipeline_get_property), (do_pipeline_seek),
10963         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10964         * gst/gstpipeline.h:
10965         Remove crude state change hacks.
10966
10967         * gst/gstutils.h:
10968         Remove crude hacks.
10969
10970         * tools/gst-launch.c: (main):
10971         Fixes for state change. Needs some more work to fully use the
10972         new stuff.
10973
10974 2005-10-10  Andy Wingo  <wingo@pobox.com>
10975
10976         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10977
10978         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10979         this flag, but it's not even in GLib 2.6. Odd. Hack around the
10980         issue.
10981
10982 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * gst/gstiterator.c: (gst_iterator_new):
10985           Fix my previous commit: GTypes passed to gst_iterator_new()
10986           can be fundamental types.
10987
10988 2005-10-10  Wim Taymans  <wim@fluendo.com>
10989
10990         * gst/gstelement.c: (gst_element_iterate_pad_list),
10991         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10992         (gst_element_iterate_sink_pads):
10993         Use src/sink pads lists for the respective iterators instead
10994         of filtering.
10995
10996 2005-10-10  Andy Wingo  <wingo@pobox.com>
10997
10998         Merged in popt removal + GOption addition patch from Ronald, bug
10999         #169772.
11000
11001         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11002         GstElement macros around, remove popt-related symbols, add goption
11003         stuff.
11004
11005         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11006         
11007         * docs/gst/Makefile.am:
11008         * docs/libs/Makefile.am: No POPT_CFLAGS.
11009         
11010         * examples/manual/Makefile.am:
11011         * docs/manual/basics-init.xml: Doc updates with an example.
11012         
11013         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11014         (gst_init), (parse_one_option), (parse_goption_arg):
11015         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11016         bit of hand merging and debugging to get the GOption stuff working
11017         tho.
11018         
11019         * tests/Makefile.am:
11020         * tools/Makefile.am:
11021         * tools/gst-inspect.c: (main):
11022         * tools/gst-launch.c: (main):
11023         * tools/gst-run.c: (main):
11024         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11025
11026 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11027
11028         * gst/gstiterator.c: (gst_iterator_new):
11029           Add assertions to make sure passed GType is likely to really
11030           be a GType (as the compiler won't catch it if the size and
11031           GType arguments get mixed up, see #318447).
11032
11033 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11034
11035         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11036
11037         * gst/gstbin.c: (gst_bin_iterate_sorted):
11038           Pass GType and size arguments to gst_iterator_new() in the right
11039           order (maybe we should make _new() take the GType as first argument
11040           just like _new_list()?) (#318447).
11041           
11042
11043 2005-10-10  Wim Taymans  <wim@fluendo.com>
11044
11045         * gst/gstelement.c: (gst_element_finalize):
11046         And free the GStaticRecMutex too
11047
11048 2005-10-10  Andy Wingo  <wingo@pobox.com>
11049
11050         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11051         Allocate and free the mutex properly.
11052
11053         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11054         New macros.
11055         (GstElement): The state_lock is now recursive. Rebuild your
11056         plugins, suckers. Old macros adapted.
11057
11058         * docs/gst/gstreamer-sections.txt: Doc updates.
11059
11060         * gst/gstutils.h:
11061         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11062         (g_static_rec_cond_wait): Ported from state changes patch, while
11063         we wait on bug #317802 to be solved in a well-distributed GLib.
11064
11065         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11066         gst_element_change_state, variable name changes.
11067         (gst_element_change_state): Split out of gst_element_set_state in
11068         preparation for the state change merge. Doesn't pay attention to
11069         the 'transition' argument.
11070         (gst_element_set_state): Updates, hopefully purely cosmetic.
11071         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11072         state change patch.
11073         (gst_element_get_state_func): Renamed from get_state, cosmetic
11074         changes.
11075
11076 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11077
11078         * gst/elements/gstelements.c:
11079         * win32/GStreamer.vcproj:
11080         * win32/config.h:
11081         * win32/dirent.c: (_tseekdir):
11082         * win32/gst-inspect.vcproj:
11083         * win32/gst-launch.vcproj:
11084         * win32/gstconfig.h:
11085         * win32/gstelements.vcproj:
11086         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11087         * win32/gstreamer.def:
11088         * win32/msvc71.sln:
11089           updates for the win32 build (patch from Sebastien Moutte)
11090
11091 2005-10-10  Andy Wingo  <wingo@pobox.com>
11092
11093         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11094         gst_bin_get_state, cleaned up (but no logic changes).
11095         (bin_element_is_sink): Comment updates.
11096         (sink_iterator_filter): Remove needless cast.
11097         (gst_bin_iterate_sinks): Doc update.
11098         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11099         cleaned up (but no logic changes).
11100
11101         * check/states/sinks.c (test_src_sink): Cleanups from the state
11102         change patch.
11103         (test_livesrc_sink): Sync on the state.
11104
11105         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11106         the state change patch.
11107
11108         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11109         change patch.
11110
11111         * check/gst/gstbin.c: Merge in some style fixes and additional
11112         checks from Wim's state change patch.
11113
11114 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11115
11116         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11117         (gst_type_find_helper):
11118           Check whether we have the requested data already in our list of
11119           cached buffers before pulling a new buffer; also make the buffer
11120           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11121
11122 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11123
11124         * gst/gstcaps.c:
11125         * gst/gstevent.c:
11126           doc updates
11127         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11128           don't use long long, it's not portable.  Replacing with
11129           gint64 seems to work; let's hope no skeletons fall out of the closet.
11130
11131 2005-10-10  Andy Wingo  <wingo@pobox.com>
11132
11133         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11134
11135 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11136
11137         * docs/gst/gstreamer-sections.txt:
11138         * gst/gstevent.c:
11139         * gst/gstevent.h:
11140         * gst/gstinfo.c:
11141         * gst/gstinfo.h:
11142         * gst/gstmessage.c: (gst_message_parse_state_changed):
11143         * gst/gstpad.c:
11144         * gst/gstpad.h:
11145           more docs, fix compilation
11146
11147 2005-10-09  Philippe Khalaf <burger@speedy.org>
11148         * gst/gstmessage.c:
11149           Fixed a few forgotten variables on previous commit
11150
11151 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11152
11153         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11154           Fix evil typefind crasher: getrange() might return a short
11155           buffer at the end of a file, but gst_type_find_peek() must
11156           either return the full data as requested or NULL, but
11157           never a short buffer.
11158
11159 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11160
11161         * gst/gstmessage.c: (gst_message_new_state_changed),
11162         (gst_message_parse_state_changed):
11163         * gst/gstmessage.h:
11164           don't use "new", it's a C++ keyword
11165
11166 2005-10-08  Wim Taymans  <wim@fluendo.com>
11167
11168         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11169         * gst/gstelement.c: (gst_element_post_message):
11170         * gst/gstpipeline.c: (gst_pipeline_change_state):
11171         Small docs and debug updates.
11172
11173 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11174
11175         * docs/gst/gstreamer-sections.txt:
11176         * gst/gstelementfactory.c:
11177         * gst/gstevent.c:
11178         * gst/gsttaglist.c:
11179           more docs
11180
11181 2005-10-08  Wim Taymans  <wim@fluendo.com>
11182
11183         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11184         (gst_bin_dispose), (bin_bus_handler):
11185         Fix typos, add comments.
11186         Clear EOS list when going to PAUSED from any direction and do it
11187         in a threadsafe way.
11188         Get base time in a threadsafe way too.
11189         Fix confusing debug in the change_state function.
11190         Various other small cleanups.
11191         
11192         * gst/gstelement.c: (gst_element_post_message):
11193         Fix very verbose bus posting code.
11194
11195         * gst/gstpipeline.c: (gst_pipeline_class_init),
11196         (gst_pipeline_set_property), (gst_pipeline_get_property),
11197         (gst_pipeline_change_state):
11198         Small ARG_ -> PROP_ cleanup
11199
11200 2005-10-08  Wim Taymans  <wim@fluendo.com>
11201
11202         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11203         Do a less CPU demanding EOS check because we can.
11204
11205 2005-10-08  Wim Taymans  <wim@fluendo.com>
11206
11207         * libs/gst/dataprotocol/dataprotocol.c:
11208         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11209         (gst_dp_packet_from_event):
11210         * libs/gst/dataprotocol/dataprotocol.h:
11211         * libs/gst/dataprotocol/dp-private.h:
11212         It's about time we bump the version number.
11213         Since event types don't fit in the guint8 anymore describing
11214         the payload type, make payload type 16 bits wide.
11215
11216 2005-10-08  Wim Taymans  <wim@fluendo.com>
11217
11218         * docs/design/part-TODO.txt:
11219         * docs/design/part-clocks.txt:
11220         * docs/design/part-events.txt:
11221         * docs/design/part-gstbin.txt:
11222         * docs/design/part-gstelement.txt:
11223         * docs/design/part-gstpipeline.txt:
11224         * docs/design/part-live-source.txt:
11225         * docs/design/part-messages.txt:
11226         * docs/design/part-overview.txt:
11227         * docs/design/part-states.txt:
11228         Many doc updates.
11229
11230 2005-10-08  Wim Taymans  <wim@fluendo.com>
11231
11232         * gst/gstevent.c:
11233         * gst/gstevent.h:
11234         Fix event quark registration.
11235         Add some space between events so we can insert them in the
11236         right groups.
11237
11238 2005-10-08  Wim Taymans  <wim@fluendo.com>
11239
11240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11241         (gst_base_sink_handle_buffer):
11242         Better log message.
11243
11244         * gst/gstbus.h:
11245         * gst/gstelement.h:
11246         More docs.
11247
11248         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11249         (gst_queue_set_property), (gst_queue_get_property):
11250         * gst/gstqueue.h:
11251         Remove old unused properties.
11252
11253 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11254         * docs/gst/gstreamer-sections.txt:
11255         * gst/gstmessage.c:
11256         * gst/gstmessage.h:
11257         * gst/gstminiobject.c:
11258         * gst/gstminiobject.h:
11259         * gst/gstobject.h:
11260         * gst/gstpad.h:
11261         * gst/gstutils.h:
11262           lots of new docs and doc fixes
11263
11264 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11265
11266         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11267         * gst/gstplugin.h:
11268         * gst/gstregistry.c: (gst_registry_lookup_locked),
11269         (gst_registry_scan_path_level):
11270         * gst/gstregistryxml.c: (load_plugin):
11271           Only ever load one plugin for a given plugin basename.
11272           This ensures correct overriding of GST_PLUGIN_PATH over
11273           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11274           system installed plugins.
11275
11276 2005-10-08  Wim Taymans  <wim@fluendo.com>
11277
11278         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11279         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11280         Prepare for doing QOS.
11281
11282 2005-10-08  Wim Taymans  <wim@fluendo.com>
11283
11284         * check/gst/gstbin.c: (GST_START_TEST):
11285         * check/pipelines/cleanup.c: (GST_START_TEST):
11286         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11287         Allow new clock message too.
11288
11289 2005-10-08  Wim Taymans  <wim@fluendo.com>
11290
11291         * gst/gstmessage.c: (gst_message_new_error),
11292         (gst_message_new_warning), (gst_message_new_tag),
11293         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11294         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11295         (gst_message_new_segment_start), (gst_message_new_segment_done),
11296         (gst_message_parse_state_changed),
11297         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11298         (gst_message_parse_new_clock):
11299         * gst/gstmessage.h:
11300         Also carry the clock in question.
11301
11302 2005-10-08  Wim Taymans  <wim@fluendo.com>
11303
11304         * gst/gstmessage.c: (gst_message_new_custom),
11305         (gst_message_new_eos), (gst_message_new_error),
11306         (gst_message_new_warning), (gst_message_new_tag),
11307         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11308         (gst_message_new_new_clock), (gst_message_new_segment_start),
11309         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11310         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11311         * gst/gstmessage.h:
11312         Clean up.
11313         Added clock related messages.
11314
11315         * gst/gstpipeline.c: (gst_pipeline_change_state):
11316         Post message when the clock changed.
11317
11318         * tools/gst-launch.c: (event_loop):
11319         Print new clock.
11320
11321 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11322
11323         * tools/gst-inspect.c: (print_element_properties_info):
11324           Can't pass NULL strings to g_print() on windows.
11325
11326 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11327
11328         * docs/Makefile.am:
11329         * docs/gst/Makefile.am:
11330         * docs/gst/gstreamer-docs.sgml:
11331         * docs/gst/running.xml:
11332         * docs/version.entities.in:
11333           add a chapter on running GStreamer.
11334           document GST_DEBUG and GST_PLUGIN* env vars
11335
11336 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11337
11338         * Makefile.am:
11339           remove include dir
11340         * configure.ac:
11341           remove PLUGINS_BUILDDIR stuff
11342         * gst/gst.c: (init_post):
11343           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11344         * idiottest.mak:
11345           remove, it was condescending and not needed
11346
11347 2005-10-08  Wim Taymans  <wim@fluendo.com>
11348
11349         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11350         (gst_base_sink_handle_object), (gst_base_sink_event),
11351         (gst_base_sink_wait), (gst_base_sink_handle_event),
11352         (gst_base_sink_change_state):
11353         * gst/base/gstbasesink.h:
11354         Repost EOS message while going to PLAYING if still EOS.
11355         Make sure that when receiving a FLUSH_START we don't attempt
11356         to sync on the clock anymore.
11357
11358 2005-10-08  Wim Taymans  <wim@fluendo.com>
11359
11360         * tools/gst-launch.c: (event_loop):
11361         Better message printout.
11362
11363 2005-10-08  Wim Taymans  <wim@fluendo.com>
11364
11365         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11366         (gst_bin_child_proxy_get_children_count):
11367         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11368         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11369         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11370         (gst_child_proxy_set_valist):
11371         * gst/parse/grammar.y:
11372         Make ChildProxy threadsafe and fix mem leaks.
11373
11374 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11375
11376         * gst/gst.c: (init_post):
11377           debug the GST_PLUGIN_ env vars
11378
11379 2005-10-08  Wim Taymans  <wim@fluendo.com>
11380
11381         * check/gst/gstbin.c: (GST_START_TEST):
11382         * check/gst/gstmessage.c: (GST_START_TEST):
11383         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11384         * gst/gstelement.c: (gst_element_commit_state),
11385         (gst_element_lost_state):
11386         * gst/gstmessage.c: (gst_message_new_state_changed),
11387         (gst_message_parse_state_changed):
11388         * gst/gstmessage.h:
11389         * tools/gst-launch.c: (event_loop):
11390         Added extra field to STATE_CHANGE message with the pending
11391         state, which will be different from the new state soon.
11392
11393 2005-10-08  Wim Taymans  <wim@fluendo.com>
11394
11395         * gst/gstbus.c: (gst_bus_pop):
11396         * gst/gstclock.c:
11397         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11398         Small cleanups and doc updates.
11399
11400 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11401
11402         * gst/gst.c: (init_pre):
11403         * gst/gstbin.c: (gst_bin_add_func):
11404           log distributing clocks and base time
11405         * gst/gstregistry.c: (gst_registry_add_plugin),
11406         (gst_registry_scan_path_level), (gst_registry_scan_path):
11407           clean up the debugging output a little
11408         * gst/gstutils.c: (gst_element_state_get_name):
11409           warn about a memleak (I've actually seen this be used, though
11410           it was probably a bug)
11411
11412 2005-10-07  Wim Taymans  <wim@fluendo.com>
11413
11414         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11415         (gst_base_src_init), (gst_base_src_default_newsegment),
11416         (gst_base_src_newsegment), (gst_base_src_do_seek),
11417         (gst_base_src_loop), (gst_base_src_start):
11418         * gst/base/gstbasesrc.h:
11419         Make the newsegment event customizable by subclasses.
11420
11421 2005-10-07  Wim Taymans  <wim@fluendo.com>
11422
11423         * gst/gstevent.c: (gst_event_new_buffersize),
11424         (gst_event_parse_buffersize):
11425         * gst/gstevent.h:
11426         New event for future idea.
11427
11428 2005-10-07  Andy Wingo  <wingo@pobox.com>
11429
11430         * gst/gstelement.c (gst_element_post_message): Doc update.
11431
11432         * docs/gst/gstreamer-sections.txt: Update.
11433
11434         * gst/gstmessage.c (gst_message_new_application): Made into a
11435         function like honest API calls.
11436         (gst_message_new_element): New message type.
11437
11438         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11439
11440         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11441         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11442         times.
11443
11444         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11445         NO_PREROLL from gst_element_change_state to fall through.
11446
11447 2005-10-07  Wim Taymans  <wim@fluendo.com>
11448
11449         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11450         (gst_ghost_pad_do_activate_push):
11451         Activating a ghostpad with no internal pad in push mode
11452         is ok.
11453
11454 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11455
11456         * gst/gstobject.h:
11457           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11458           Fixes compilation on Windows.
11459
11460 2005-10-07  Michael Smith <msmith@fluendo.com>
11461
11462         * tools/gst-inspect.c:
11463           Print out feature and plugin count at the end when printing out
11464           all features.
11465
11466 2005-10-04  Michael Smith <msmith@fluendo.com>
11467
11468         * gst/gsterror.c: (_gst_stream_errors_init):
11469           Add another error string used in a few existing plugins.
11470
11471         * gst/gstplugin.c:
11472         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11473         * tools/gst-inspect.c: (print_element_info):
11474           When a feature disappears from a plugin (and the feature exists in
11475           the cached registry file), things went horribly wrong. This isn't a
11476           complete fix, we should actually be removing the 'missing' features
11477           from the features list when we load the actual plugin. That's not
11478           yet implemented. 
11479
11480 2005-10-04  Johan Dahlin  <johan@gnome.org>
11481
11482         * check/gst/gstiterator.c: (GST_START_TEST):
11483         * gst/gstbin.c: (gst_bin_iterate_elements),
11484         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11485         * gst/gstelement.c: (gst_element_iterate_pads):
11486         * gst/gstformat.c: (gst_format_iterate_definitions):
11487         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11488         (gst_iterator_new_list), (gst_iterator_filter):
11489         * gst/gstiterator.h:
11490         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11491         Add a GType to GstIterator, update callsites and tests.
11492
11493 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11494
11495         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11496           give events a chance to be handled by event probes when the pad
11497           is not linked
11498
11499 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11500
11501         * gst/gstevent.c: (gst_event_type_get_name),
11502         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11503         * gst/gstevent.h:
11504           add string representations for event types
11505
11506 2005-10-06  Wim Taymans  <wim@fluendo.com>
11507
11508         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11509         Don't use NULL pointers.
11510
11511 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11512
11513         * gst/gst_private.h:
11514         * gst/gstbus.c:
11515         * gst/gstelement.c:
11516         * gst/gstinfo.c:
11517         * gst/gstpluginfeature.c:
11518           widen the debug category in output to fit the biggest one we have
11519           add a bus category and use it
11520           play with the colors
11521           fix up some categories
11522
11523 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11524
11525         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11526           add push activation of sink ghost pads.
11527           Andye, please verify
11528
11529 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11530
11531         * gst/gstutils.c: (gst_element_link_pads):
11532           fix a bug in the case where neither element has a pad
11533         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11534           add a test for that case
11535
11536 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11537
11538         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11539           emit have-data before checking for peers.  This allows
11540           for probe handlers to connect elements.  This helps autopluggers.
11541         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11542         (gst_pad_suite):
11543           add six checks, linked/unlinked with no/true/false probe
11544
11545 2005-10-04  Wim Taymans  <wim@fluendo.com>
11546
11547         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11548         (gst_fake_sink_event), (gst_fake_sink_preroll),
11549         (gst_fake_sink_render), (gst_fake_sink_change_state):
11550         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11551         (gst_fake_src_get_property), (gst_fake_src_create),
11552         (gst_fake_src_stop):
11553         * gst/elements/gstidentity.c: (gst_identity_stop):
11554         Protect last_message with lock.
11555
11556 2005-10-04  Edward Hervey  <edward@fluendo.com>
11557
11558         * gst/gstformat.h: 
11559         Added precision in the comments for GST_FORMAT_DEFAULT
11560
11561 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11562
11563         * tools/gst-launch.c: (main):
11564           Don't try to run erroneous pipelines.
11565
11566 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11567
11568         * gst/gstbus.c: We don't need this header.
11569
11570 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11571
11572         * configure.ac:
11573           back to development
11574
11575 === release 0.9.3 ===
11576
11577 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11578
11579         * README:
11580         * configure.ac:
11581           Releasing 0.9.3, "Unregistered"
11582
11583 2005-10-03  Andy Wingo  <wingo@pobox.com>
11584
11585         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11586         whereby calling a pad's activatepush() function can start a thread
11587         that starts to push or pull before the pad gets the FLUSHING flag
11588         unset. Hack around it by holding the stream lock until the flag is
11589         set. Need to replace this with a proper solution. Together with
11590         the ghost pad fixes, this fixes mp3 playing/tagreading.
11591
11592         * docs/design/part-gstghostpad.txt: Add a note about activation of
11593         proxy pads outside of ghost pads.
11594
11595         * gst/gstghostpad.c: Implement the ghost pad activation design.
11596
11597 2005-10-02  Andy Wingo  <wingo@pobox.com>
11598
11599         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11600         It is volatile, after all.
11601
11602         * docs/design/part-gstghostpad.txt: Flesh out activation with
11603         ghost pads.
11604
11605         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11606         GST_DEBUG_FUNCPTR.
11607
11608 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11609
11610         * configure.ac:
11611           Fix (unused) AM_CONDITIONAL tests.
11612
11613 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11614
11615         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11616
11617         * gst/gstutils.c: (gst_pad_query_convert):
11618           Add assertion that makes sure src_val is >=0, just like
11619           gst_query_new_convert() has. (#315895)
11620
11621 2005-09-30  Edward Hervey  <edward@fluendo.com>
11622
11623         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11624         Let's not iterate pads we're not interested in, it avoids getting 
11625         sky-high refcounts on sinkpad.
11626
11627 2005-09-30  Wim Taymans  <wim@fluendo.com>
11628
11629         * gst/gstelement.c: (gst_element_set_state),
11630         (gst_element_change_state):
11631         Small tweak, element in ASYNC remains ASYNC.
11632
11633 2005-09-30  Wim Taymans  <wim@fluendo.com>
11634
11635         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11636         Only error is an error.
11637
11638         * gst/gstbin.c: (gst_bin_change_state):
11639         Better debugging.
11640
11641         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11642         Also call pad_block in pad alloc.
11643
11644         * gst/gstutils.c: (gst_flow_get_name):
11645         Better debugging.
11646
11647 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11650         (gst_base_src_get_range):
11651           Fix documentation typos. Add some more debug info.
11652
11653 2005-09-29  David Schleef  <ds@schleef.org>
11654
11655         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11656           more end-user friendly.
11657         * tools/gst-inspect.c: (main): Check if command-line argument is
11658           a file and attempt to load that file as a plugin.
11659
11660 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11661
11662         * check/gst/gstbin.c:
11663         * check/states/sinks.c:
11664           fix tests for the new warning
11665         * check/gst/gstpipeline.c:
11666           add a test for pipeline and bus interaction
11667         * gst/gstelement.c:
11668           elements should be NULL if they get disposed; add a warning if not
11669
11670 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11671
11672         * gst/gstobject.c:
11673           for 2.6 refcounting, make debug log more correct by printing
11674           the actual refcounts at the time of swap (Wim)
11675
11676 2005-09-29  Andy Wingo  <wingo@pobox.com>
11677
11678         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11679         removes signal watches previously added via
11680         gst_bus_add_signal_watch.
11681         (gst_bus_add_signal_watch): Don't return the source id, just store
11682         it on the bus if there wasn't an id already.
11683
11684         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11685         add_signal_watch and remove_signal_watch.
11686
11687 2005-09-29  Edward Hervey  <edward@fluendo.com>
11688
11689         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11690         Better if we actually iterate the list :)
11691
11692 2005-09-29  Wim Taymans  <wim@fluendo.com>
11693
11694         * check/gst/gstbin.c: (GST_START_TEST):
11695         Change for new bus API.
11696
11697         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11698         (send_messages), (GST_START_TEST), (gstbus_suite):
11699         Change for new bus signal API.
11700
11701         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11702         (gst_bus_source_prepare), (gst_bus_source_check),
11703         (gst_bus_create_watch), (gst_bus_add_watch_full),
11704         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11705         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11706         * gst/gstbus.h:
11707         Remove support for multiple GSources operating on different
11708         message types as it is too complex and unneeded when using
11709         signals.
11710         Added support for receiving signals from the bus.
11711
11712 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11713
11714         * docs/libs/tmpl/gstdataprotocol.sgml:
11715         * docs/manual/advanced-dataaccess.xml:
11716         * gst/elements/gstcapsfilter.c:
11717         * gst/gstutils.c:
11718           rename filter-caps to caps property
11719
11720 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11721
11722         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11723           More robust fraction string parsing.
11724
11725         * docs/pwg/appendix-porting.xml:
11726           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11727
11728 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11729
11730         * gst/gstcaps.c: (gst_caps_do_simplify):
11731           Thou shalt not free a structure and then continue using it
11732           in the next loop iteration.
11733
11734         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11735         (gst_caps_suite):
11736           Add test case for caps simplification.
11737
11738 2005-09-29  Wim Taymans  <wim@fluendo.com>
11739
11740         * check/gst/gstbin.c: (GST_START_TEST):
11741         Oops.
11742
11743 2005-09-29  Wim Taymans  <wim@fluendo.com>
11744
11745         * check/gst/gstbin.c: (GST_START_TEST):
11746         Add bus to bin.
11747
11748         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11749         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11750         (find_element), (gst_bin_sort_iterator_next),
11751         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11752         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11753         (gst_bin_change_state), (gst_bin_dispose):
11754         A bin does not have a bus, it gets the bus from the parent.
11755
11756         * gst/gstelement.c: (gst_element_requires_clock),
11757         (gst_element_provides_clock), (gst_element_is_indexable),
11758         (gst_element_is_locked_state), (gst_element_change_state),
11759         (gst_element_set_bus_func):
11760         Small cleanups.
11761
11762         * gst/gstpipeline.c: (gst_pipeline_class_init),
11763         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11764         The pipeline provides a bus.
11765
11766 2005-09-28  Johan Dahlin  <johan@gnome.org>
11767
11768         * gst/gstmessage.c (gst_message_parse_state_changed): Use
11769         gst_structure_get_enum instead of gst_structure_get_int
11770
11771         * gst/gststructure.c (gst_structure_get_enum): Impl.
11772
11773         * gst/gststructure.h (gst_structure_get_enum): Add
11774
11775         * docs/gst/gstreamer-sections.txt: Ditto
11776
11777         * gst/gstmessage.c (gst_message_new_state_changed): Use
11778         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11779         which does introspection.
11780         Reviewed by Christian Schaller
11781
11782 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11783
11784         * gst/gstinfo.c: (gst_debug_log_default):
11785           don't do dummy g_strdup()s
11786         * libs/gst/controller/gstcontroller.c:
11787         (on_object_controlled_property_changed),
11788         (gst_controlled_property_new), (gst_controller_new_valist),
11789         (gst_controller_new_list),
11790         (gst_controller_remove_properties_valist), (gst_controller_set),
11791         (gst_controller_get), (gst_controller_sync_values),
11792         (gst_controller_get_value_array), (_gst_controller_class_init),
11793         (gst_controller_get_type):
11794         * libs/gst/controller/gstcontroller.h:
11795         * libs/gst/controller/gstinterpolation.c:
11796         (gst_controlled_property_find_timed_value_node):
11797           convert // to /**/ comments
11798
11799 2005-09-28  Wim Taymans  <wim@fluendo.com>
11800
11801         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11802         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11803         (gst_bus_sync_signal_handler):
11804         * gst/gstbus.h:
11805         Added async-message and sync-message signals to the bus.
11806         Added helper BusFunc to emit signals for all posted messages.
11807
11808         * gst/gstmessage.c: (gst_message_type_get_name),
11809         (gst_message_type_to_quark), (gst_message_get_type):
11810         * gst/gstmessage.h:
11811         Register quarks for message names.
11812
11813 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11814
11815         * docs/libs/gstreamer-libs-sections.txt:
11816         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11817         (gst_controller_new_list):
11818         * libs/gst/controller/gstcontroller.h:
11819           added another constructor for language bindings
11820
11821 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11822
11823         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11824           add another check
11825         * gst/gstbus.c:
11826           add some doc
11827         * gst/gstinfo.c: (_gst_debug_init):
11828           slightly more readable color for refcount debugging
11829
11830 2005-09-28  Wim Taymans  <wim@fluendo.com>
11831
11832         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11833         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11834         (find_element), (gst_bin_sort_iterator_next),
11835         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11836         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11837         (gst_bin_change_state), (gst_bin_dispose):
11838         Small doc fixes. get_clock -> provide_clock.
11839
11840         * gst/gstelement.c: (gst_element_class_init),
11841         (gst_element_provides_clock), (gst_element_provide_clock),
11842         (gst_element_get_clock), (gst_element_commit_state),
11843         (gst_element_lost_state):
11844         * gst/gstelement.h:
11845         Make get/set_clock() symetric. Add provide_clock vmethod since
11846         that is actually what this function does.
11847
11848         * gst/gstpipeline.c: (gst_pipeline_class_init),
11849         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11850         (gst_pipeline_get_clock):
11851         get_clock -> provide_clock.
11852
11853 2005-09-28  Andy Wingo  <wingo@pobox.com>
11854
11855         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11856         lieu of real docs...
11857
11858         * gst/elements/gstfdsrc.c: Cleaned up a bit.
11859
11860 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
11861
11862         * gst/elements/gstcapsfilter.c:
11863         * gst/elements/gstfakesink.c:
11864         * gst/elements/gstfakesrc.c:
11865         * gst/elements/gstfdsink.c:
11866         * gst/elements/gstfdsrc.c:
11867         * gst/elements/gstfilesink.c:
11868         * gst/elements/gstfilesrc.c:
11869         * gst/elements/gstidentity.c:
11870         * gst/elements/gsttee.c:
11871         * gst/elements/gsttypefindelement.c:
11872           Make element details static.
11873
11874 2005-09-28  Wim Taymans  <wim@fluendo.com>
11875
11876         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11877         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11878         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11879         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11880         (gst_bin_change_state), (gst_bin_dispose):
11881         Some documentation updates.
11882         Clean up dispose handlers.
11883
11884         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11885         * gst/gstpad.c: (gst_pad_dispose):
11886         Clean up dispose handler.
11887
11888         * gst/gstpipeline.c: (gst_pipeline_change_state):
11889         Removed spurious UNLOCK.
11890
11891 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
11892
11893         * docs/gst/gstreamer-sections.txt:
11894         * gst/base/gstbasesrc.h:
11895         * gst/gstelement.h:
11896         * gst/gstevent.h:
11897         * gst/gstobject.h:
11898         * gst/gstpad.h:
11899         * gst/gstpipeline.c:
11900         * gst/gstpipeline.h:
11901         * gst/gstutils.h:
11902         * gst/gstxml.h:
11903           added two new functions to the docs
11904                 documents all undocumented GstXXXFlags
11905                 completed some incomplete docs 
11906
11907 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11908
11909         * gst/gstbin.c: (gst_bin_dispose):
11910         * gst/gstelement.c: (gst_element_dispose):
11911           remove now useless and leaky resurrection code in dispose
11912         * gst/base/gstbasesrc.c: (gst_base_src_init):
11913         * gst/gstelementfactory.c: (gst_element_factory_create):
11914         * gst/gstobject.c: (gst_object_set_parent):
11915           add some debugging
11916
11917 2005-09-27  Wim Taymans  <wim@fluendo.com>
11918
11919         * docs/design/part-TODO.txt:
11920         Update TODO.
11921
11922         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11923         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11924         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11925         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11926         (gst_bin_change_state):
11927         * gst/gstelement.h:
11928         Remove element variable, we keep element info in the iterator now.
11929
11930 2005-09-27  Andy Wingo  <wingo@pobox.com>
11931
11932         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11933         values.
11934
11935 2005-09-27  Wim Taymans  <wim@fluendo.com>
11936
11937         * check/gst/gstbin.c: (GST_START_TEST):
11938         Enable check that works now.
11939
11940         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11941         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11942         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11943         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11944         (gst_bin_change_state):
11945         * gst/gstbin.h:
11946         Redid the state change algorithm using a topological sort algo.
11947         Handles all cases correctly.
11948         Exposed iterator for state change order.
11949
11950         * gst/gstelement.h:
11951         Temp storage for state changes. Need to get rid of this soon.
11952
11953 2005-09-27  Wim Taymans  <wim@fluendo.com>
11954
11955         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11956         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11957         (link_fold_func), (gst_pad_proxy_setcaps):
11958         Leak fixes, the fold functions need to unref the passed object and
11959         _get_parent_*() returns ref to parent.
11960
11961 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11962
11963         * check/gst/gstbuffer.c: (test_make_writable):
11964           Plug leak in test case and fix 'make check-valgrind'
11965
11966 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11967
11968         * gst/gstbuffer.c: (gst_subbuffer_init):
11969           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11970           works correctly in all circumstances (we could have just copied
11971           the parent buffer's readonly flag, but conceptually it seems
11972           cleaner to mark all subbuffers as read-only). (based on patch
11973           by Alessandro Decina, #314710).
11974         
11975         * check/gst/gstbuffer.c: (create_read_only_buffer),
11976         (test_make_writable), (test_subbuffer_make_writable),
11977         (gst_test_suite):
11978           Add some tests for gst_buffer_make_writable().
11979
11980 2005-09-27  Wim Taymans  <wim@fluendo.com>
11981
11982         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11983         use gst_object_has_ancestor().
11984
11985         * gst/gstobject.c: (gst_object_has_ancestor):
11986         * gst/gstobject.h:
11987         gst_object_has_ancestor() copied from gstbin.c as it is a
11988         usefull function.
11989
11990         * tests/instantiate/create.c: (create_all_elements):
11991         * tests/lat.c: (handoff_src), (handoff_sink):
11992         * tests/sched/runxml.c: (main):
11993         * tests/seeking/seeking1.c: (main):
11994         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11995         (main):
11996         Fix compilation of some tests.
11997
11998 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11999
12000         * gst/gsterror.h:
12001           Remove comment. GST_TYPE_G_ERROR is here to stay,
12002           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12003           (#316961, #300610).
12004
12005 2005-09-26  Wim Taymans  <wim@fluendo.com>
12006
12007         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12008         Added check that shows error in state change order.
12009
12010 2005-09-26  Wim Taymans  <wim@fluendo.com>
12011
12012         * gst/gstbin.c: (gst_bin_change_state):
12013         Make state change function use 3 queues again, we were
12014         adding elements in the wrong order.
12015
12016         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12017         Some debug info,
12018
12019         * gst/gstpad.c: (gst_pad_dispose):
12020         Added some debug info first.
12021
12022 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * docs/design/draft-push-pull.txt:
12025         * docs/design/part-events.txt:
12026         * docs/design/part-overview.txt:
12027         * docs/design/part-scheduling.txt:
12028           Replace all _pull_region() with _pull_range()
12029           
12030 2005-09-26  Andy Wingo  <wingo@pobox.com>
12031
12032         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12033
12034         * check/gst-libs/controller.c: Update for controller api change.
12035
12036         * configure.ac: 
12037         * tests/Makefile.am:
12038         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12039         over by GLib bug 118439.
12040         
12041         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12042         routines to a function.
12043
12044         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12045
12046         * libs/gst/controller/gsthelper.c:
12047         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12048         (gst_object_sync_values): Renamed from sink_values. Ugh.
12049
12050         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12051
12052         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12053         Renamed from controller_key, as it is exported.
12054
12055         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12056
12057 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12058
12059         * gst/Makefile.am:
12060         * gst/gst.h:
12061         * gst/gstpad.h:
12062         * gst/gstpadtemplate.h:
12063         * gst/gstquery.c:
12064         * gst/gstquery.h:
12065         * gst/gstqueryutils.c:
12066         * gst/gstqueryutils.h:
12067           remove queryutils headers after moving the two used functions
12068           to gstquery.  also fixes build problem for gstsiddec
12069
12070 2005-09-26  Michael Smith <msmith@fluendo.com>
12071
12072         * tools/gst-launch.1.in:
12073         Correct documentation in manpage of debug syntax
12074
12075 2005-09-26  Wim Taymans  <wim@fluendo.com>
12076
12077         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12078         (gst_base_src_is_seekable), (gst_base_src_change_state):
12079         Some more debugging info.
12080
12081 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12082
12083         * docs/gst/gstreamer-sections.txt:
12084         * gst/base/gstbasetransform.h:
12085         * gst/gstindex.h:
12086           added more docs
12087
12088 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12089
12090         * docs/gst/.cvsignore:
12091         * docs/gst/tmpl/.cvsignore:
12092         * docs/gst/tmpl/gstpipeline.sgml:
12093         * docs/gst/tmpl/gstplugin.sgml:
12094         * gst/gstpipeline.c:
12095         * gst/gstplugin.c:
12096         * gst/gstplugin.h:
12097           inlined the last two docs files
12098           removed the tmpl directory from cvs (no more conflicts here!)
12099
12100 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12101
12102         * docs/gst/gstreamer-sections.txt:
12103         * docs/gst/tmpl/.cvsignore:
12104         * docs/gst/tmpl/gstpad.sgml:
12105         * docs/gst/tmpl/gstpadtemplate.sgml:
12106         * gst/Makefile.am:
12107         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12108         (gst_pad_finalize), (gst_pad_set_pad_template):
12109         * gst/gstpad.h:
12110         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12111         (gst_pad_template_class_init), (gst_pad_template_init),
12112         (gst_pad_template_dispose), (name_is_valid),
12113         (gst_static_pad_template_get), (gst_pad_template_new),
12114         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12115         (gst_pad_template_pad_created):
12116         * gst/gstpadtemplate.h:
12117           inlined two more docs
12118           factored gstpadtemplate out of gstpad
12119
12120 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12121
12122         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12123         (test_children_state_change_order_semi_sink):
12124           Fix test case: we can't rely on a fixed state change order when
12125           going from READY => PAUSED because the sink might commit its 
12126           new state first when the first buffer created by the source 
12127           reaches the sink before the source has finished its change state.
12128           (Test case still fails at times, see #316856, comment 5 onwards)
12129
12130 2005-09-24  Wim Taymans  <wim@fluendo.com>
12131
12132         * docs/design/part-events.txt:
12133         * docs/design/part-gstbus.txt:
12134         * docs/design/part-gstpipeline.txt:
12135         * docs/design/part-messages.txt:
12136         * docs/design/part-overview.txt:
12137         * docs/design/part-segments.txt:
12138         * gst/gstbin.c:
12139         * gst/gstbuffer.c:
12140         * gst/gstclock.c:
12141         * gst/gstelement.c:
12142         * gst/gstevent.c:
12143         * gst/gstfilter.c:
12144         * gst/gstiterator.c:
12145         Various documentation updates.
12146
12147 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12148
12149         * gst/gstclock.h:
12150           Well, that's embarassing.  Luckily we weren't using
12151           GST_CLOCK_DIFF anywhere.
12152
12153 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12154
12155         * common/gtk-doc.mak:
12156           don't fail on building XML, FC4 slave shows a bunch of doc
12157           missing bits that I don't get
12158         * gst/gstpad.c:
12159         * gst/gstpipeline.c:
12160         * gst/gststructure.c:
12161           some doc updates
12162
12163 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12164
12165         * docs/design/part-gstbin.txt:
12166         * docs/design/part-gstbus.txt:
12167         * gst/gstbus.c:
12168           Add blurb about how the bus goes into flushing mode and
12169           drops all messages when its bin goes from READY into NULL 
12170           state.
12171
12172 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12173
12174         * docs/gst/gstreamer-sections.txt:
12175         * gst/gststructure.c: (gst_structure_get_clock_time):
12176         * gst/gststructure.h:
12177           add a method to get a GstClockTime out of a structure
12178
12179 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12180
12181         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12182         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12183           Added test to check state change order in bins (can still be made
12184           to fail here under heavy disk load; bails out with 'Push on pad
12185           fakesink:sink0, but it was not activated in push mode').
12186
12187         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12188           Fix state change order when there is only a semi sink (#316856)
12189
12190         * gst/gstbus.c: (gst_bus_class_init):
12191           Use _class_peek_parent(), not _class_ref(); fix docs to say
12192           'default main context' instead of 'mainloop' where that is
12193           what's meant.
12194
12195         * gst/gstelement.c: (gst_element_commit_state),
12196         (gst_element_set_state):
12197           Fix typos in debug messages
12198
12199 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12200
12201         * docs/README:
12202         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12203         * gst/gstpluginfeature.c:
12204         * gst/gstutils.c:
12205           various doc updates
12206         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12207           change an assert into an error until it gets fixed properly
12208
12209 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12210
12211         * docs/gst/gstreamer-sections.txt:
12212         * docs/gst/tmpl/.cvsignore:
12213         * docs/gst/tmpl/gstelement.sgml:
12214         * docs/gst/tmpl/gstinfo.sgml:
12215         * docs/gst/tmpl/gstobject.sgml:
12216         * gst/gstelement.c:
12217         * gst/gstelement.h:
12218         * gst/gstinfo.c:
12219         * gst/gstinfo.h:
12220         * gst/gstobject.c: (gst_object_class_init):
12221         * gst/gstobject.h:
12222           inlined 3 more biiiig doc files and added some missing docs on the fly
12223
12224 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12225
12226         * check/gst/.cvsignore:
12227         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12228         * gst/gstregistryxml.c: (load_plugin),
12229         (gst_registry_xml_save_plugin):
12230           put back source in registry.  add checks for find_plugin.
12231         * testsuite/states/bin.c: (assert_state), (empty_bin),
12232         (test_adding_one_element), (main):
12233         * testsuite/states/locked.c: (main):
12234           some compile/run fixes
12235
12236 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12237
12238         * check/gst/gstvalue.c: (GST_START_TEST):
12239           fix leaks in the test itself
12240
12241 2005-09-22  Wim Taymans  <wim@fluendo.com>
12242
12243         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12244         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12245         (gst_base_sink_query):
12246         Prepare for more accurate position reporting and query
12247         handling.
12248
12249         * gst/gstelement.c: (gst_element_send_event),
12250         (gst_element_set_state):
12251         Add some comment.
12252
12253 2005-09-22  Wim Taymans  <wim@fluendo.com>
12254
12255         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12256         (gst_query_parse_segment):
12257         * gst/gstquery.h:
12258         More documentation.
12259         Add segment query for future use.
12260
12261 2005-09-22  Wim Taymans  <wim@fluendo.com>
12262
12263         * gst/gstbin.c: (gst_bin_add_func):
12264         Some more debug info.
12265
12266         * gst/gstelement.c: (gst_element_send_event):
12267         Simplify send_event
12268
12269         * gst/gstelement.h:
12270         Don't know how flags got broken.
12271
12272         * gst/gstquery.h:
12273         Added new query.
12274
12275 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12276
12277         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12278           Add simplistic test suite for GST_TYPE_DATE serialisation and
12279           deserialisation.
12280
12281 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12282
12283         * docs/gst/gstreamer-sections.txt:
12284         * gst/gststructure.c: (gst_structure_set_valist),
12285         (gst_structure_get_date):
12286         * gst/gststructure.h:
12287         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12288         (gst_date_copy), (gst_value_compare_date),
12289         (gst_value_serialize_date), (gst_value_deserialize_date),
12290         (gst_value_transform_date_string),
12291         (gst_value_transform_string_date), (_gst_value_initialize):
12292         * gst/gstvalue.h:
12293           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12294           bunch of utility functions along with a hack that checks that
12295           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12296           is required. Part of the grand scheme in #170777.
12297
12298 2005-09-22  Andy Wingo  <wingo@pobox.com>
12299
12300         * gst/gstconfig.h.in: Psych out gtk-doc.
12301
12302         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12303
12304         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12305
12306         * tools/gst-inspect.c (print_element_list): Plug some
12307         inconsequential leaks.
12308
12309         * gst/gstregistry.c (gst_registry_get_default): Doc.
12310
12311         * check/gst/gstplugin.c: 
12312         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12313         * gst/gstelementfactory.c (gst_element_factory_create): 
12314         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12315         refcount changes.
12316
12317         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12318         (gst_plugin_feature_load): Doc, don't eat refs.
12319
12320         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12321         (gst_plugin_list_free): Doc.
12322         (gst_plugin_load_file): Doc updates.
12323
12324         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12325         accessors returning refcounted objects, return a ref.
12326
12327         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12328         accessor for caps. IDEMPOTENCE. Oh yes.
12329
12330 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12331
12332         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12333
12334         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12335         (_gst_debug_register_funcptr):
12336           Add mutex to serialise access to the hash table with
12337           the function pointer => function name string mapping;
12338           make that hash table static scope (#316809).
12339
12340         * gst/registries/.cvsignore:
12341           Remove left-over file.
12342
12343 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12344
12345         * docs/pwg/appendix-porting.xml:
12346           And something about newsegment events and caps-on-buffers to
12347           the porting guide (feel free to improve).
12348
12349 2005-09-21  Andy Wingo  <wingo@pobox.com>
12350
12351         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12352         data and event probes on the same pad.
12353         (test_buffer_probe_once): Test that removing probes from within
12354         the probe functions works.
12355
12356 2005-09-21  Andy Wingo  <wingo@pobox.com>
12357
12358         * check/gst/gstutils.c: New file.
12359         (test_buffer_probe_n_times): A simple buffer probe test. More to
12360         come, foolios.
12361
12362         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12363         have-data::buffer, not have-data.
12364         (gst_pad_add_event_probe): Likewise for have-data::event.
12365         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12366         peer' isn't quite right yet though.
12367         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12368         (gst_pad_remove_data_probe): Change to take the guint handler_id
12369         as their arg, not the function+data, which is more glib-like.
12370
12371         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12372         the signal emission to indicate if the data is a buffer or an
12373         event.
12374         (gst_pad_get_type): Initialize buffer and event quarks.
12375         (gst_pad_class_init): have-data is now a detailed signal, yes it
12376         is.
12377
12378 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12379
12380         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12381         * gst/gstutils.c: (gst_util_set_value_from_string),
12382         (gst_util_set_object_arg):
12383           Don't put functional code in g_return_if_fail() or
12384           g_return_val_if_fail() statements, otherwise things will 
12385           break when G_DISABLE_CHECKS is defined during compilation.
12386
12387 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12388
12389         * docs/gst/tmpl/.cvsignore:
12390         * docs/gst/tmpl/gstvalue.sgml:
12391         * gst/gstvalue.c:
12392         * gst/gstvalue.h:
12393           inlied another one and added  some obvious docs
12394
12395 2005-09-21  Wim Taymans  <wim@fluendo.com>
12396
12397         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12398         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12399         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12400         (gst_fdsrc_get_property), (gst_fdsrc_create):
12401         * gst/elements/gstfdsrc.h:
12402         Properly implement fdsrc. Removed signal and timeout,
12403         better implemented somewhere else.
12404
12405 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12406
12407         * docs/gst/tmpl/.cvsignore:
12408         * docs/gst/tmpl/gstimplementsinterface.sgml:
12409         * gst/gstinterface.c:
12410           inlined more docs
12411
12412 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12413
12414         * docs/gst/gstreamer-sections.txt:
12415         * docs/gst/tmpl/.cvsignore:
12416         * docs/gst/tmpl/gstenumtypes.sgml:
12417           remove obsolete doc file
12418
12419 2005-09-21  David Schleef  <ds@schleef.org>
12420
12421         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12422         little beer, fix a little leak.
12423
12424 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12425
12426         * docs/gst/gstreamer-docs.sgml:
12427         * docs/gst/gstreamer-sections.txt:
12428         * docs/gst/tmpl/.cvsignore:
12429         * gst/Makefile.am:
12430         * gst/gst.h:
12431         * gst/gstbin.c:
12432         * gst/gstelement.h:
12433         * gst/gstindex.c: (gst_index_class_init):
12434         * gst/gstindex.h:
12435         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12436         (gst_index_factory_class_init), (gst_index_factory_init),
12437         (gst_index_factory_finalize), (gst_index_factory_new),
12438         (gst_index_factory_destroy), (gst_index_factory_find),
12439         (gst_index_factory_create), (gst_index_factory_make):
12440         * gst/gstindexfactory.h:
12441         * gst/gstpluginfeature.c:
12442         * gst/gstpluginfeature.h:
12443         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12444           more docs inlined, splitted gstindex.{c,h}
12445
12446 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12447
12448         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12449           fix a leak
12450
12451 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12452
12453         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12454           Set sync to FALSE by default.
12455
12456 2005-09-20  Wim Taymans  <wim@fluendo.com>
12457
12458         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12459         (gst_base_sink_init):
12460         Make sync property settable from subclass.
12461
12462         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12463         (gst_fake_sink_change_state):
12464         Set sync to FALSE by default.
12465
12466 2005-09-20  Wim Taymans  <wim@fluendo.com>
12467
12468         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12469         * tools/gst-launch.c: (main):
12470         The timeout handler should have lower priority than the source
12471         so we don't timeout before popping a message with 0 timeout.
12472         Dump error messages after failed state change.
12473
12474 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12475
12476         * tools/gst-inspect.c: (print_element_properties_info):
12477           Fix two typos.
12478
12479 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12480
12481         * check/gst/gstevent.c:
12482         * gst/elements/gstfakesink.c:
12483         * gst/elements/gstfakesink.h:
12484           remove the sync property from fakesink.
12485           has the side effect of setting sync TRUE
12486           for fakesink, which is a change.  Anyone who knows how
12487           to fix this nicely in a GObject-y way, feel free.
12488
12489 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12490
12491         * docs/gst/gstreamer-docs.sgml:
12492           remove probe refsection
12493
12494 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12495
12496         * check/Makefile.am:
12497           disable valgrinding the controller test again
12498         * docs/gst/gstreamer-sections.txt:
12499           update for api-changes
12500
12501 2005-09-20  Wim Taymans  <wim@fluendo.com>
12502
12503         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12504         (gst_base_sink_set_property), (gst_base_sink_get_property),
12505         (gst_base_sink_do_sync):
12506         * gst/base/gstbasesink.h:
12507         Added sync property to basesink to disable clock sync.
12508
12509 2005-09-20  Andy Wingo  <wingo@pobox.com>
12510
12511         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12512         eating the caller's refcount.
12513
12514         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12515         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12516         refcount.
12517
12518         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12519         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12520         of GLib 2.8 public, so we can know which refcount to check in
12521         tests.
12522
12523         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12524         (gst_object_init): Only set the gst refcount if we're going ahead
12525         with the refcount hack.
12526
12527 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12528
12529         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12530         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12531           more leaks plumbed, added more debug-logging
12532         * gst/gstmacros.h:
12533           whitespace fix
12534
12535 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12536
12537         * gst/gstmessage.c:
12538           remove include of gstmemchunk.h
12539
12540 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12541
12542         * gst/gstclock.c: (_gst_clock_id_free):
12543           Commit from the Political Party For More Atomic CVS Commits,
12544           so that people don't waste too much of their day fishing
12545           out obvious leaks out of massive commits.
12546           Oh, and fix a pretty damn obvious leak in the memchunk
12547           removal code.
12548
12549 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12550
12551         * check/Makefile.am:
12552         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12553           plug mem-leak, re-add to valgrindable tests
12554
12555 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12556
12557         * gst/gstplugin.h:
12558           unbreak the build for those who have chronic arthritis
12559           and typing "make check" is just too taxing on the hands
12560
12561 2005-09-20  Andy Wingo  <wingo@pobox.com>
12562
12563         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12564         really want it out, you should fix plugins at the same time.
12565
12566 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12567
12568         * configure.ac:
12569         * docs/gst/gstreamer-sections.txt:
12570         * gst/gstobject.c:
12571           added missing symbols to api docs
12572           disable ref-count hack if we have glib >= 2.8
12573
12574 2005-09-19  David Schleef  <ds@schleef.org>
12575
12576         * docs/gst/Makefile.am: Ignore a few more internal headers
12577         * docs/gst/gstreamer-docs.sgml: Remove old sections
12578         * docs/gst/gstreamer-sections.txt: Remove old sections
12579         * docs/gst/tmpl/gstobject.sgml: update
12580         * docs/gst/tmpl/gstplugin.sgml: update
12581         * docs/gst/tmpl/gstpluginfeature.sgml: update
12582         * docs/random/ds/0.9-suggested-changes: update.
12583         * gst/Makefile.am: remove memchunk and trashstack, since they're
12584           not used.
12585         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12586         * gst/gst.h: don't include some headers
12587         * gst/gstchildproxy.c: add gstmarshal.h
12588         * gst/gstclock.c: Don't use memchunks
12589         * gst/gstminiobject.c: Add some docs
12590         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12591         * gst/gstobject.h: same
12592         * gst/gstplugin.c: include gstmacros.h
12593         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12594         * gst/gstquery.c: don't use memchunks
12595         * gst/gstregistry.c: rename gst_registry_deinit()
12596         * gst/gstregistry.h: same
12597
12598 2005-09-19  David Schleef  <ds@schleef.org>
12599
12600         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12601         * docs/libs/gstreamer-libs-sections.txt:
12602         * docs/libs/tmpl/gstgetbits.sgml:
12603         * docs/libs/tmpl/gstputbits.sgml:
12604
12605 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12606
12607         * win32/gstenumtypes.c:
12608         * win32/gstenumtypes.h:
12609           Update.
12610
12611 2005-09-19  Wim Taymans  <wim@fluendo.com>
12612
12613         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12614         Automatically PAUSE and RESUME a pipeline when a flushing seek
12615         is performed.
12616
12617 2005-09-19  Andy Wingo  <wingo@pobox.com>
12618
12619         * gst/gstregistry.h: Spacing fixen.
12620
12621 2005-09-19  Wim Taymans  <wim@fluendo.com>
12622
12623         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12624         Handle state change failure more correctly.
12625
12626 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12627
12628         * check/Makefile.am:
12629         * check/pipelines/cleanup.c: (run_pipeline):
12630         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12631         (GST_START_TEST):
12632           enable cleanup again after fixing the leak
12633         * docs/README:
12634           some more info on docs
12635
12636 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12637
12638         * check/Makefile.am:
12639           re-enable tests now that leaks are plugged
12640         * check/gst/gst.c:
12641         * check/gst/gstbin.c:
12642         * check/gst/gstpipeline.c:
12643           add some more tests while fixing leaks
12644         * common/check.mak:
12645           make sure binaries are uptodate when valgrinding/gdbing
12646         * gst/gst.c:
12647         * gst/gstelementfactory.c:
12648           remove a ref too many, and add a FIXME for when we get
12649           round to disposing of classes
12650         * gst/gstplugin.c:
12651           fix the refcounting when loading a plugin from a file and
12652           the code pretends that the pointer is the same even though
12653           of course it can change
12654         * gst/gstpluginfeature.c:
12655           unref plugins marked cached (a bit confusing as a name)
12656           as the docs state should be done
12657           various doc additions to explain refcounting
12658         * gst/gstregistry.c:
12659         * gst/gstregistryxml.c:
12660           debugging
12661
12662 2005-09-19  Wim Taymans  <wim@fluendo.com>
12663
12664         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12665         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12666         (send_messages), (GST_START_TEST), (gstbus_suite):
12667         * check/gst/gstpipeline.c: (GST_START_TEST):
12668         * check/pipelines/cleanup.c: (run_pipeline):
12669         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12670         (GST_START_TEST):
12671         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12672         (gst_bus_source_check), (gst_bus_source_dispatch),
12673         (gst_bus_create_watch), (gst_bus_add_watch_full),
12674         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12675         * gst/gstbus.h:
12676         * tools/gst-launch.c: (event_loop):
12677         * tools/gst-md5sum.c: (event_loop):
12678         GstBusHandler -> GstBusFunc, return value has the same meaning as
12679         any other GSource (FALSE == remove source).
12680         _add_watch() and _add_watch_full() now take a MessageType mask to
12681         only handle specific types of messages.
12682         _poll() returns the GstMessage instead of the message type to avoid
12683         race conditions.
12684         _have_pending() takes a MessageType mask now too.
12685         Added testsuite for multiple bus watches.
12686         Fix testsuites and applications for new bus API.
12687
12688 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12689
12690         * check/Makefile.am:
12691           mark a bunch of the tests as to fix until we fix them
12692
12693 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12694
12695         * common/check.mak:
12696           use GST_PLUGIN settings for valgrind tests as well, so we're
12697           valgrinding the correct thing
12698         * gst/gst.c: (init_post):
12699           plug another leak
12700
12701 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12702
12703         * gst/gst.c: (init_post), (gst_deinit):
12704         * gst/gstelementfactory.c: (gst_element_factory_class_init),
12705         (gst_element_factory_finalize), (gst_element_factory_cleanup):
12706         * gst/gstindex.c: (gst_index_factory_class_init),
12707         (gst_index_factory_finalize):
12708         * gst/gstobject.c: (gst_object_dispose):
12709         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12710         (gst_plugin_load_file), (gst_plugin_desc_free):
12711         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12712         (gst_plugin_feature_finalize):
12713         * gst/gstregistry.c: (gst_registry_class_init),
12714         (gst_registry_init), (gst_registry_finalize),
12715         (gst_registry_get_default), (gst_registry_deinit):
12716         * gst/gstregistry.h:
12717         * gst/gstregistryxml.c: (load_feature), (load_plugin):
12718           various cleanups and memleak plugging.  make valgrind is happy now.
12719
12720 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12721
12722         * common/check.mak:
12723           add a check-valgrind target
12724
12725 2005-09-18  David Schleef  <ds@schleef.org>
12726
12727         * tools/gst-inspect.c: Revert the GOption code.
12728
12729 2005-09-17  David Schleef  <ds@schleef.org>
12730
12731         * check/Makefile.am: Fix environment variables.
12732         * check/gst/gstplugin.c: Fix for API changes.
12733         * tools/gst-inspect.c: Fix for API changes.
12734         * tools/gst-xmlinspect.c: Fix for API changes.
12735         * gst/gstelementfactory.c:
12736         * gst/gstplugin.c:
12737         * gst/gstplugin.h:
12738         * gst/gstpluginfeature.c:
12739         * gst/gstpluginfeature.h:
12740         * gst/gstregistry.c:
12741         * gst/gstregistry.h:
12742         * gst/gstregistryxml.c:
12743         * gst/gsttypefind.c:
12744         * gst/gsttypefindfactory.c:
12745         * gst/indexers/gstfileindex.c:
12746         * gst/indexers/gstmemindex.c:
12747         * gst/schedulers/Makefile.am:
12748           Change registry to keep track of both plugins and features,
12749           removing the feature tracking from plugins themselves.
12750
12751 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12752
12753         * check/Makefile.am:
12754         * tools/gst-register.1.in:
12755           remove gst-register
12756
12757 2005-09-15  David Schleef  <ds@schleef.org>
12758
12759         * check/gst/gstplugin.c:
12760         * gst/gstelementfactory.c:
12761         * gst/gstplugin.c:
12762         * gst/gstpluginfeature.c:
12763         * gst/gstregistry.c:
12764           Getting tired of debugging.  Disabled all the unreffing of
12765           plugins and features, which fixes the segfaults, but of
12766           course leaks like crazy.  At least playbin works.
12767
12768 2005-09-15  David Schleef  <ds@schleef.org>
12769
12770         * check/gst/gstplugin.c: (register_check_elements),
12771         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12772         More testing
12773         * gst/elements/gsttypefindelement.c: Fix refcounting.
12774         * gst/gsttypefind.c:
12775         * gst/gsttypefindfactory.c:
12776         * gst/gsttypefindfactory.h:
12777
12778 2005-09-15  David Schleef  <ds@schleef.org>
12779
12780         * gst/gstindex.c: get refcounting correct.
12781         * gst/gstregistry.c: Handle the case where a feature/plugin is
12782           not found.
12783
12784 2005-09-15  David Schleef  <ds@schleef.org>
12785
12786         * check/Makefile.am:
12787         * check/gst/gstplugin.c: Add test
12788         * gst/gstplugin.c: Fix problems noticed by testsuite
12789         * gst/gstplugin.h:
12790         * gst/gstregistry.c: 
12791         * gst/gstregistry.h:
12792
12793 2005-09-15  David Schleef  <ds@schleef.org>
12794
12795         * gst/gstplugin.c: Implement semi-decent recounting and locking
12796           in plugins and plugin features.
12797         * gst/gstplugin.h:
12798         * gst/gstpluginfeature.c:
12799         * gst/gstpluginfeature.h:
12800         * gst/gstregistry.c:
12801
12802 2005-09-15  Michael Smith <msmith@fluendo.com>
12803
12804         * gst/gstregistry.c: (gst_registry_get_feature_list):
12805           Implement this. Makes oggdemux work; decodebin still broken.
12806
12807 2005-09-14  David Schleef  <ds@schleef.org>
12808
12809         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12810           #316076)
12811         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12812         * gst/check/Makefile.am:
12813         * libs/gst/controller/Makefile.am:
12814         * libs/gst/dataprotocol/Makefile.am:
12815
12816 2005-09-14  David Schleef  <ds@schleef.org>
12817
12818         * configure.ac: Remove getbits library.  Nothing uses it, and
12819           it should be in something like liboil if someone did want
12820           to use it.
12821         * libs/gst/Makefile.am:
12822         * libs/gst/getbits/Makefile.am:
12823         * libs/gst/getbits/gbtest.c:
12824         * libs/gst/getbits/getbits.c:
12825         * libs/gst/getbits/getbits.h:
12826         * libs/gst/getbits/gstgetbits_generic.c:
12827         * libs/gst/getbits/gstgetbits_i386.s:
12828         * libs/gst/getbits/gstgetbits_inl.h:
12829
12830 2005-09-14  David Schleef  <ds@schleef.org>
12831
12832         * gst/Makefile.am: Dist glib-compat.h
12833
12834 2005-09-14  David Schleef  <ds@schleef.org>
12835
12836         * configure.ac: Remove gst/registries, since it's no longer used.
12837         * gst/registries/Makefile.am:
12838         * gst/registries/gstlibxmlregistry.c:
12839         * gst/registries/gstlibxmlregistry.h:
12840         * gst/registries/gstxmlregistry.c:
12841         * gst/registries/gstxmlregistry.h:
12842         * gst/registries/registrytest.c:
12843
12844 2005-09-14  David Schleef  <ds@schleef.org>
12845
12846         * gst/glib-compat.h:
12847         * gst/gstregistryxml.c:
12848           Convergence is near.  Seriously.
12849
12850 2005-09-14  David Schleef  <ds@schleef.org>
12851
12852         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12853         * gst/glib-compat.h:
12854           Attempt #4 to appease the buildbots.
12855
12856 2005-09-14  David Schleef  <ds@schleef.org>
12857
12858         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12859           Attempt #3.
12860
12861 2005-09-14  David Schleef  <ds@schleef.org>
12862
12863         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12864         Attempt #2.
12865
12866 2005-09-14  David Schleef  <ds@schleef.org>
12867
12868         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12869           the new functions.
12870
12871 2005-09-14  David Schleef  <ds@schleef.org>
12872
12873         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12874         * gst/glib-compat.h: Add some functions that are in newer versions
12875           of glib than we care to require.
12876         * gst/gstregistryxml.c: Use them.
12877
12878 2005-09-14  David Schleef  <ds@schleef.org>
12879
12880         * po/POTFILES.in: remove gst-register.c
12881
12882 2005-09-14  David Schleef  <ds@schleef.org>
12883
12884         * docs/gst/gstreamer-docs.sgml:
12885         * docs/gst/gstreamer-sections.txt:
12886         * docs/gst/gstreamer.types:
12887         * docs/gst/tmpl/gstelement.sgml:
12888         * docs/gst/tmpl/gstplugin.sgml:
12889         * docs/gst/tmpl/gstpluginfeature.sgml:
12890           Documentation updates for registry changes.
12891
12892 2005-09-14  David Schleef  <ds@schleef.org>
12893
12894         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12895           because we don't require glib-2.8.
12896
12897 2005-09-14  David Schleef  <ds@schleef.org>
12898
12899         * gst/gstregistryxml.c: Added.  Essentially moved out of the
12900           registries directory.
12901
12902 2005-09-14  David Schleef  <ds@schleef.org>
12903
12904         * check/Makefile.am:
12905         * check/generic/states.c:
12906         * gst/Makefile.am:
12907         * gst/gst.c:
12908         * gst/gst.h:
12909         * gst/gst_private.h:
12910         * gst/gstelementfactory.c:
12911         * gst/gstindex.c:
12912         * gst/gstinfo.c:
12913         * gst/gstplugin.c:
12914         * gst/gstplugin.h:
12915         * gst/gstpluginfeature.c:
12916         * gst/gstpluginfeature.h:
12917         * gst/gstregistry.c:
12918         * gst/gstregistry.h:
12919         * gst/gstregistrypool.c: remove
12920         * gst/gstregistrypool.h: remove
12921         * gst/gsttypefind.c:
12922         * gst/gsttypefindfactory.c:
12923         * gst/gsturi.c:
12924         * tools/Makefile.am:
12925         * tools/gst-compprep.c:
12926         * tools/gst-inspect.c:
12927         * tools/gst-register.c: remove
12928         * tools/gst-xmlinspect.c:
12929           Registry rewrite.  Changes registry from being a file created
12930           by a tool into a simple cache file created automatically by 
12931           libgstreamer.  Removed gst-register (because it's no longer
12932           needed).  Remove registry pools, because we only have one
12933           registry implementation (XML).  Fix up other subsystems as
12934           necessary.
12935
12936 2005-09-13  Michael Smith <msmith@fluendo.com>
12937
12938         * gst/gstconfig.h.in:
12939           Don't Use windows linking attributes for MinGW. Fixes #316157
12940
12941 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12942
12943         * gst/gstutils.c: (set_state_async_thread_func),
12944         (gst_element_set_state_async):
12945           Apparently people think it's better if this function doesn't
12946           try to set the state to whatever state was asked for on the first
12947           call to this function for any object.  Seriously.
12948
12949 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12950
12951         * check/gst/gstpipeline.c: (GST_START_TEST):
12952         * docs/gst/gstreamer-sections.txt:
12953         * gst/gstutils.c: (set_state_async_thread_func),
12954         (gst_element_set_state_async):
12955         * gst/gstutils.h:
12956           add a "gst_element_set_state_async" method that
12957           sets the state and starts a thread to make sure the state
12958           change completes as best as it can
12959
12960 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12961
12962         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12963           codify design+behaviour in testsuite after discussion
12964
12965 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12966
12967         * docs/gst/tmpl/gstelement.sgml:
12968         * docs/manual/appendix-quotes.xml:
12969           add a quote
12970         * gst/gstelement.c: (gst_element_set_state):
12971           add some debug
12972
12973 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
12974
12975         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12976         (gst_base_transform_prepare_output_buf),
12977         (gst_base_transform_handle_buffer):
12978         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12979         (gst_capsfilter_prepare_buf):
12980           Remove the requirement for sub-classes to call the parent
12981           implementation of prepare_output_buffer with a wrapper function.
12982           
12983         * gst/gsttaglist.h:
12984         * gst/gsttagsetter.h:
12985           Fix #define wrapper
12986
12987 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
12988
12989         * docs/gst/gstreamer-sections.txt:
12990           more doc cleanups
12991
12992 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12993
12994         * docs/gst/gstreamer-sections.txt:
12995         * docs/gst/tmpl/gstelement.sgml:
12996         * docs/gst/tmpl/gstplugin.sgml:
12997         * gst/gstminiobject.c:
12998         * gst/gstvalue.h:
12999           docs now stop throwing warnings
13000
13001 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13002
13003         * docs/gst/gstreamer-sections.txt:
13004         * docs/gst/gstreamer.types:
13005         * docs/gst/tmpl/gstpad.sgml:
13006         * docs/gst/tmpl/gsttypes.sgml:
13007         * gst/base/gstadapter.h:
13008         * gst/base/gstbasesink.h:
13009         * gst/base/gstbasesrc.h:
13010         * gst/gstbin.h:
13011         * gst/gstbuffer.h:
13012         * gst/gstbus.h:
13013         * gst/gstcaps.h:
13014         * gst/gstclock.h:
13015         * gst/gstelement.h:
13016         * gst/gstevent.h:
13017         * gst/gstmessage.h:
13018         * gst/gstpad.h:
13019         * gst/gststructure.c:
13020         * gst/registries/gstlibxmlregistry.h:
13021           various documentation fixes
13022
13023 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13024
13025         * docs/gst/gstreamer-sections.txt:
13026         * docs/gst/tmpl/gstvalue.sgml:
13027           rearrange gstvalue section
13028         * gst/gstutils.c: (gst_element_state_get_name):
13029           NONE -> VOID
13030         * gst/gstvalue.c: (_gst_value_initialize):
13031         * gst/gstvalue.h:
13032           doc updates
13033
13034 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13035
13036         * check/gst-libs/controller.c:
13037           Header include fix.
13038         * gst/base/gstbasetransform.c:
13039         (gst_base_transform_default_prepare_buf),
13040         (gst_base_transform_handle_buffer):
13041         * gst/base/gstbasetransform.h:
13042           Some more basetransform changes and fixes to enable sub-classes
13043           that modify buffer metadata only.
13044         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13045         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13046         (gst_capsfilter_prepare_buf):
13047           If the output pad has fixed allowed caps and input buffers 
13048           don't have any, set the fixed caps on outgoing buffers.
13049
13050 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13051         * check/elements/identity.c: (GST_START_TEST):
13052           Make the error a little clearer when the test fails because
13053           identity made a copy of the buffer.
13054         * docs/gst/gstreamer-sections.txt:
13055           New symbols in gstbasetransform.h
13056         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13057         (gst_base_transform_init), (gst_base_transform_transform_size),
13058         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13059         (gst_base_transform_default_prepare_buf),
13060         (gst_base_transform_get_unit_size),
13061         (gst_base_transform_buffer_alloc),
13062         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13063         (gst_base_transform_change_state),
13064         (gst_base_transform_set_passthrough),
13065         (gst_base_transform_set_in_place),
13066         (gst_base_transform_is_in_place):
13067         * gst/base/gstbasetransform.h:
13068           Change BaseTransform to separate in_place operate from same_caps
13069           output. in_place implies that the element can perform the transform
13070           on incoming buffers in-place, even if the caps on the output are
13071           different.
13072           Sub-class elements can now implement special buffer allocation
13073           methods for outgoing buffers if they wish to.
13074           Big documentation addition.
13075         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13076         * gst/elements/gstelements.c:
13077           Changes for basetransform modifications.
13078         * gst/elements/Makefile.am:
13079         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13080           Compile fix. Extra debug output.
13081
13082 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13083
13084         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13085         (gst_pad_suite):
13086           add tests for valid pad naming
13087         * gst/check/gstcheck.c: (gst_check_log_message_func),
13088         (gst_check_log_critical_func):
13089           add ASSERT_WARNING
13090           remove printing of code, it is fragile when the code contains
13091           % and the line number is enough info
13092         * gst/check/gstcheck.h:
13093         * gst/gstpad.c: (gst_pad_template_new):
13094           fix memleaks
13095
13096 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13097
13098         * configure.ac:
13099           say what CHECK flags we use
13100         * docs/libs/gstreamer-libs.types:
13101         * libs/gst/controller/Makefile.am:
13102         * libs/gst/controller/gst-controller.c:
13103         * libs/gst/controller/gst-controller.h:
13104         * libs/gst/controller/gst-helper.c:
13105         * libs/gst/controller/gst-interpolation.c:
13106         * libs/gst/controller/gstcontroller.c:
13107         * libs/gst/controller/gsthelper.c:
13108         * libs/gst/controller/gstinterpolation.c:
13109         * tools/gst-inspect.c: (print_plugin_info):
13110           we don't use dashes in header names
13111
13112 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13113
13114         * check/Makefile.am:
13115         * check/gst/.cvsignore:
13116         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13117         (gst_pipeline_suite), (main):
13118           adding a test for pipelines and state changes
13119         * gst/gstutils.c: (get_state_func):
13120           add some debugging
13121         * gstreamer.spec.in:
13122           fix up spec file
13123
13124 2005-09-08  Michael Smith <msmith@fluendo.com>
13125
13126         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13127         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13128         (gst_file_src_is_seekable), (gst_file_src_get_size),
13129         (gst_file_src_start):
13130         * gst/elements/gstfilesrc.h:
13131           Various fixes for unseekable, unmmapable, and non-normal files, so
13132           that fallback to read() rather than mmap() works.
13133         * gst/gstevent.c: (gst_event_new_newsegment):
13134           Allow newsegment events with segment_start == segment_end, as will
13135           correctly happen if you use filesrc on a zero-size file, for
13136           example.
13137
13138 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13139
13140         * gst/gstplugin.c: (gst_plugin_load_file):
13141           Call g_module_close when we don't load the module
13142
13143         * gst/registries/gstlibxmlregistry.c:
13144         (gst_xml_registry_get_property):
13145           Port leak fix from 0.8
13146
13147 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13148
13149         * docs/gst/gstreamer-docs.sgml:
13150         * docs/gst/tmpl/.cvsignore:
13151         * docs/gst/tmpl/gsttrace.sgml:
13152         * docs/gst/tmpl/gsttrashstack.sgml:
13153         * gst/Makefile.am:
13154         * gst/gst.h:
13155         * gst/gstelement.h:
13156         * gst/gstevent.h:
13157         * gst/gstmessage.c:
13158         * gst/gstmessage.h:
13159         * gst/gsttag.c:
13160         * gst/gsttag.h:
13161         * gst/gsttaginterface.c:
13162         * gst/gsttaginterface.h:
13163         * gst/gsttaglist.c:
13164         * gst/gsttaglist.h:
13165         * gst/gsttagsetter.c:
13166         * gst/gsttagsetter.h:
13167         * gst/gsttrace.c:
13168         * gst/gsttrace.h:
13169         * gst/gsttrashstack.c:
13170           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13171           inlined docs for gsttrace, gsttrashstack
13172
13173 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13174
13175         * gst/Makefile.am:
13176         * gst/elements/gstbufferstore.h:
13177         * gst/elements/gsttypefindelement.c:
13178         * gst/elements/gsttypefindelement.h:
13179         * gst/gst.h:
13180         * gst/gsttypefind.c:
13181         * gst/gsttypefind.h:
13182         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13183         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13184         (gst_type_find_factory_dispose),
13185         (gst_type_find_factory_unload_thyself),
13186         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13187         (gst_type_find_factory_get_caps),
13188         (gst_type_find_factory_get_extensions),
13189         (gst_type_find_factory_call_function):
13190         * gst/gsttypefindfactory.h:
13191         * gst/registries/gstlibxmlregistry.c:
13192         * gst/registries/gstxmlregistry.c:
13193           splitted gsttypefind into gsttypefind, gsttypefindfactory
13194
13195 2005-09-07  Andy Wingo  <wingo@pobox.com>
13196
13197         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13198         condition whereby the pad's task function is entered before the
13199         pad_mode variable was set.
13200
13201 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13202
13203         * gst/gstpad.c: (gst_pad_alloc_buffer):
13204           Catch misbehaving pad_alloc functions that don't
13205           set up caps and do it for them.
13206
13207 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13208
13209         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13210           test for pipe!=NULL
13211         * docs/gst/tmpl/.cvsignore:
13212         * docs/gst/tmpl/gstmemchunk.sgml:
13213         * docs/gst/tmpl/gstparse.sgml:
13214         * docs/gst/tmpl/gsttaglist.sgml:
13215         * docs/gst/tmpl/gsttagsetter.sgml:
13216         * docs/gst/tmpl/gsttypefind.sgml:
13217         * docs/gst/tmpl/gsttypefindfactory.sgml:
13218         * gst/gstmemchunk.c:
13219         * gst/gstparse.c:
13220         * gst/gsttag.c:
13221         * gst/gsttaginterface.c:
13222         * gst/gsttypefind.c:
13223         * gst/gsttypefind.h:
13224           inlined more docs
13225
13226 === release 0.9.2 ===
13227
13228 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13229
13230         * NEWS:
13231         * RELEASE:
13232         * configure.ac:
13233           releasing 0.9.2, "South"
13234
13235 2005-09-05  Andy Wingo  <wingo@pobox.com>
13236
13237         * gst/registries/gstxmlregistry.h:
13238         * gst/registries/gstxmlregistry.c: Um... resurrect...
13239         
13240         * gst/registries/gstxmlregistry.h:
13241         * gst/registries/gstxmlregistry.c: and update to newer API.
13242         Incidentally they should be a bit faster now that they don't have
13243         to parse the caps.
13244         
13245 2005-09-05  Andy Wingo  <wingo@pobox.com>
13246
13247         * gst/registries/gstxmlregistry.h:
13248         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13249         replaced by the libxml registry a while back
13250
13251 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13252
13253         * docs/gst/tmpl/gstplugin.sgml:
13254         * gst/elements/gstelements.c:
13255         * gst/gst.c:
13256         * gst/gstplugin.c: (gst_plugin_register_func),
13257         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13258         (gst_plugin_get_source):
13259         * gst/gstplugin.h:
13260         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13261         (gst_xml_registry_save_plugin):
13262         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13263         (gst_xml_registry_save_plugin):
13264         * tools/gst-inspect.c: (print_plugin_info):
13265           add a "source" plugin description field, to represent the source
13266           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13267           will set it to PACKAGE, which is automake's idea of the name of
13268           the source project.
13269
13270 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13271
13272         * Makefile.am:
13273         * autogen.sh:
13274         * configure.ac:
13275         * docs/Makefile.am:
13276         * docs/faq/Makefile.am:
13277         * docs/gst/tmpl/gstelement.sgml:
13278         * docs/gst/tmpl/gsttypes.sgml:
13279         * docs/htmlinstall.mak:
13280         * docs/manual/Makefile.am:
13281         * docs/pwg/Makefile.am:
13282           reorganize doc build a little
13283           split out docbook and gtk-doc stuff
13284           have two separate --enable's and enable them through autogen
13285           but disable by default in configure (to be similar to other
13286           projects)
13287         * gstreamer.spec.in:
13288           clean up docs install
13289         * po/af.po:
13290         * po/az.po:
13291         * po/ca.po:
13292         * po/cs.po:
13293         * po/de.po:
13294         * po/en_GB.po:
13295         * po/fr.po:
13296         * po/it.po:
13297         * po/nb.po:
13298         * po/nl.po:
13299         * po/ru.po:
13300         * po/sq.po:
13301         * po/sr.po:
13302         * po/sv.po:
13303         * po/tr.po:
13304         * po/uk.po:
13305         * po/vi.po:
13306           translation updates
13307
13308 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13309
13310         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13311           Add comment.
13312           
13313         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13314         (gst_fake_sink_change_state):
13315           Make state change function thread-safe.
13316           
13317         * gst/gstpad.c: (gst_pad_alloc_buffer):
13318           Set offset on generic buffer allocated by fallback.
13319
13320 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13321
13322         * docs/gst/gstreamer-sections.txt:
13323         * docs/gst/tmpl/gstelement.sgml:
13324         * gst/gstpad.c:
13325         * libs/gst/controller/gst-controller.c:
13326         (gst_controlled_property_set_interpolation_mode),
13327         (gst_controlled_property_new),
13328         (gst_controller_find_controlled_property):
13329          run the wingo-magic script against the docs
13330
13331 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13332
13333         * docs/gst/gstreamer-docs.sgml:
13334         * docs/gst/gstreamer-sections.txt:
13335         * docs/gst/tmpl/.cvsignore:
13336         * docs/gst/tmpl/gstelementdetails.sgml:
13337         * docs/gst/tmpl/gstelementfactory.sgml:
13338         * gst/gst.c:
13339         * gst/gstbus.c:
13340         * gst/gstelementfactory.c:
13341         * gst/gstelementfactory.h:
13342           merged elementdetails docs into elementfactory docs
13343           inlined both
13344
13345 2005-09-02  Andy Wingo  <wingo@pobox.com>
13346
13347         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13348         consider this enum an enum and not a flags.
13349
13350 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13351
13352         * docs/gst/gstreamer-docs.sgml:
13353         * docs/gst/tmpl/.cvsignore:
13354         * docs/gst/tmpl/gstghostpad.sgml:
13355         * docs/gst/tmpl/gstiterator.sgml:
13356         * docs/gst/tmpl/gstmacros.sgml:
13357         * docs/gst/tmpl/gstrealpad.sgml:
13358         * docs/gst/tmpl/gstregistry.sgml:
13359         * docs/gst/tmpl/gstregistrypool.sgml:
13360         * docs/gst/tmpl/gststructure.sgml:
13361         * docs/gst/tmpl/gstsystemclock.sgml:
13362         * docs/gst/tmpl/gsttrace.sgml:
13363         * gst/gstghostpad.c:
13364         * gst/gstmacros.h:
13365         * gst/gstmemchunk.c:
13366         * gst/gstmemchunk.h:
13367         * gst/gstqueue.c:
13368         * gst/gstregistry.c:
13369         * gst/gstregistrypool.c:
13370         * gst/gststructure.c:
13371         * gst/gstsystemclock.c:
13372           more docs inlined
13373
13374 2005-09-02  Andy Wingo  <wingo@pobox.com>
13375
13376         * gst/gstelement.h (GstState): Renamed from GstElementState,
13377         changed to be a normal enum instead of flags.
13378         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13379         munged to be GST_STATE_CHANGE_*.
13380         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13381         work with the new state representation.
13382         (GstStateChange): New enumeration of possible state transitions.
13383         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13384         (GstElementClass::change_state): Pass the GstStateChange along as
13385         an argument. Helps language bindings, so they don't have to use
13386         tricky lock-needing macros like GST_STATE_CHANGE ().
13387
13388         * scripts/update-states (file): New script. Run it on a file to
13389         update it for state naming and API changes. Updates files in
13390         place.
13391
13392         * All files updated for the new API.
13393
13394 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13395
13396         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13397         * gst/gstutils.c: (gst_util_set_value_from_string),
13398         (gst_util_set_object_arg):
13399           fix a bunch of unchecked return values
13400         * tools/gst-complete.c: (main):
13401         * gstreamer.spec.in:
13402           clean up a little
13403
13404 2005-09-01  Wim Taymans  <wim@fluendo.com>
13405
13406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13407         (gst_base_sink_event), (gst_base_sink_do_sync),
13408         (gst_base_sink_handle_event):
13409         * gst/base/gstbasesink.h:
13410         Handle newsegments more correctly.
13411
13412         * gst/gstbus.c:
13413         Fix docs.
13414
13415         * gst/gstevent.c: (gst_event_new_newsegment):
13416         A newsegment cannot have a start_time of -1
13417
13418 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13419
13420         * win32/gstenumtypes.c:
13421         * win32/gstenumtypes.h:
13422           Update
13423
13424 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13425
13426         * libs/gst/controller/gst-controller.c:
13427         (gst_controlled_property_set_interpolation_mode),
13428         (gst_controlled_property_new):
13429          fixed boolean again
13430
13431 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13432
13433         * docs/faq/gst-uninstalled:
13434           add -good
13435         * gst/gstevent.c:
13436         * gst/gstevent.h:
13437           remove wrong docs
13438         * gst/gstutils.c: (gst_element_link_filtered):
13439         * gst/gstutils.h:
13440           add gst_element_link_filtered
13441
13442 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13443
13444         * docs/gst/gstreamer-docs.sgml:
13445         * docs/gst/gstreamer-sections.txt:
13446         * docs/gst/tmpl/.cvsignore:
13447         * docs/gst/tmpl/gsterror.sgml:
13448         * docs/gst/tmpl/gstfilter.sgml:
13449         * docs/gst/tmpl/gsturihandler.sgml:
13450         * docs/gst/tmpl/gsturitype.sgml:
13451         * docs/gst/tmpl/gstutils.sgml:
13452         * docs/gst/tmpl/gstxml.sgml:
13453         * gst/gsterror.c:
13454         * gst/gsterror.h:
13455         * gst/gstfilter.c:
13456         * gst/gsturi.c:
13457         * gst/gsturitype.c:
13458         * gst/gstutils.c:
13459         * gst/gstxml.c:
13460           inlined more docs, fixed double id-ref
13461
13462 2005-08-31  Wim Taymans  <wim@fluendo.com>
13463
13464         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13465         (gst_base_transform_handle_buffer):
13466         Passthrough elements don't need the caps as they don't care.
13467
13468 2005-08-31  Wim Taymans  <wim@fluendo.com>
13469
13470         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13471         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13472         Don't leak refcounts on buffers.
13473
13474 2005-08-31  Wim Taymans  <wim@fluendo.com>
13475
13476         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13477         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13478         (gst_base_transform_chain), (gst_base_transform_change_state):
13479         * gst/base/gstbasetransform.h:
13480         Handle the case where we are not negotiated more gracefully.
13481
13482 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13483
13484         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13485         (gst_file_src_map_region):
13486           Set READONLY flag on mmap'ed buffers, otherwise
13487           gst_buffer_make_writable() won't work properly (#314708).
13488
13489 2005-08-31  Wim Taymans  <wim@fluendo.com>
13490
13491         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13492         passthrough elements can even do inplace on non writable
13493         buffers (as they don't touch them).
13494
13495 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13496
13497         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13498         (gst_test_mono_source_set_property),
13499         (gst_test_mono_source_class_init), (GST_START_TEST),
13500         (gst_controller_suite):
13501           more tests (hehe I have the most)
13502         * gst/gstbus.c:
13503           describe popping messages whenusing mulltiple sources
13504         * libs/gst/controller/gst-controller.c:
13505         (gst_controlled_property_set_interpolation_mode),
13506         (gst_controlled_property_new):
13507         * libs/gst/controller/gst-controller.h:
13508         * libs/gst/controller/gst-interpolation.c:
13509           implement boolean properties
13510
13511 2005-08-31  Wim Taymans  <wim@fluendo.com>
13512
13513         * gst/gstminiobject.c: (gst_mini_object_ref):
13514         Cannot assert that the refcount has to be positive
13515         since a disposed object can be resurrected.
13516
13517 2005-08-31  Wim Taymans  <wim@fluendo.com>
13518
13519         * gst/gstpad.c: (gst_pad_init):
13520         Revert change, need to first fix badly behaving 
13521         apps.
13522
13523 2005-08-30  Wim Taymans  <wim@fluendo.com>
13524
13525         * check/elements/fakesrc.c: (setup_fakesrc):
13526         * check/elements/identity.c: (setup_identity):
13527         Activate pads before using them.
13528
13529 2005-08-30  Wim Taymans  <wim@fluendo.com>
13530
13531         * gst/base/gstadapter.c: (gst_adapter_flush):
13532         Flushing out 0 bytes is ok for this function.
13533
13534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13535         no newsegment gives a warning and sets the start/stop to 
13536         invalid.
13537
13538         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13539         (gst_base_transform_set_passthrough):
13540         Some debug info.
13541
13542         * gst/gstminiobject.c: (gst_mini_object_ref):
13543         Check refcount here too.
13544
13545         * gst/gstpad.c: (gst_pad_init):
13546         Pads are initially flushing and refusing data.
13547
13548         * gst/gstutils.c: (gst_element_link_pads_filtered):
13549         When adding a capsfilter element make sure it has the
13550         same state as the parent bin.
13551
13552 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13553
13554         * docs/gst/tmpl/.cvsignore:
13555         * docs/gst/tmpl/gstformat.sgml:
13556         * docs/gst/tmpl/gstversion.sgml:
13557         * gst/gstbus.h:
13558         * gst/gstformat.c:
13559         * gst/gstformat.h:
13560         * gst/gstversion.h.in:
13561           more docs and two more inlined
13562
13563 2005-08-30  Wim Taymans  <wim@fluendo.com>
13564
13565         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13566         Don't sync to clock.
13567
13568 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13569
13570         * docs/gst/gstreamer-sections.txt:
13571           ultral33t func10ns deserve to appear in the docs actually
13572         * docs/gst/tmpl/.cvsignore:
13573         * docs/gst/tmpl/gstcompat.sgml:
13574         * docs/gst/tmpl/gstconfig.sgml:
13575         * gst/check/gstcheck.c:
13576         * gst/gstcompat.h:
13577         * gst/gstconfig.h.in:
13578           inlined more docs
13579
13580 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13581
13582         * docs/gst/tmpl/.cvsignore:
13583         * docs/gst/tmpl/gstquery.sgml:
13584         * docs/gst/tmpl/gstutils.sgml:
13585         * gst/gstquery.c:
13586         * gst/gstquery.h:
13587           inlined and extended docs
13588
13589 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13590
13591         * check/gst-libs/controller.c: (GST_START_TEST),
13592         (gst_controller_suite):
13593           more tests
13594         * docs/gst/tmpl/gstutils.sgml:
13595         * docs/libs/gstreamer-libs-sections.txt:
13596         * docs/libs/tmpl/gstdataprotocol.sgml:
13597           include path fixes
13598         * examples/controller/audio-example.c: (main):
13599           controller example works now
13600         * gst/gstclock.h:
13601           doc fixes
13602         * tools/gst-inspect.c: (print_element_properties_info):
13603           show param spec flags
13604
13605 2005-08-29  Andy Wingo  <wingo@pobox.com>
13606
13607         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13608
13609 2005-08-28  Andy Wingo  <wingo@pobox.com>
13610
13611         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13612         as having two arguments instead of just one. Allows superclasses
13613         to access information on subclasses -- see the terrible for() loop
13614         in gtype.c:g_type_create_instance for the reason why. All callers
13615         changed.
13616
13617 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13618
13619         * docs/design/part-messages.txt:
13620           update info
13621         * docs/gst/tmpl/.cvsignore:
13622         * docs/gst/tmpl/gstcaps.sgml:
13623         * docs/gst/tmpl/gstclock.sgml:
13624         * gst/gstbus.c:
13625         * gst/gstcaps.c:
13626         * gst/gstcaps.h:
13627         * gst/gstclock.c:
13628         * gst/gstclock.h:
13629         * gst/gstmessage.c:
13630           added descriptions for bus and message
13631           inline caps and clock docs
13632
13633 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13634
13635         * gst/gstmessage.c:
13636         * gst/gstmessage.h:
13637           doc fixes
13638
13639 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13640
13641         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13642           fix div-by-zero
13643
13644 2005-08-26  Andy Wingo  <wingo@pobox.com>
13645
13646         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13647         element_set_state's return val.
13648         (test_2_elements): Add test that's been disabled for months.
13649
13650         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13651         can-activate-pull properties.
13652
13653         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13654         can-activate-pull properties. Implement is_seekable so fakesrc can
13655         operate in pull mode.
13656
13657         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13658         properties.
13659         (gst_base_sink_activate, gst_base_sink_activate_pull)
13660         (gst_base_sink_activate_push): Make activation mode choosing work.
13661         Cleanups.
13662         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13663         is right. Make pull mode work. Post an eos before pausing in pull
13664         mode.
13665         (gst_base_sink_change_state): Pay attention to the core's
13666         change_state() return val.
13667         
13668         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13669         has-getrange properties. Cleanups.
13670         
13671         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13672         has_getrange and replace with can_activate_pull and
13673         can_activate_push.
13674
13675         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13676         locking comments. Remove has_loop, has_chain and replace with
13677         can_activate_pull and can_activate_push.
13678
13679 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13680
13681         * configure.ac:
13682         * examples/Makefile.am:
13683         * examples/metadata/Makefile.am:
13684         * examples/metadata/read-metadata.c: (message_loop),
13685         (have_pad_handler), (make_pipeline), (print_tag), (main):
13686           Add metadata reading example that loops over a list of filenames,
13687           dumping any tags found.
13688
13689         * gst/gstbus.c: (gst_bus_dispose):
13690         * gst/gstelement.c: (gst_element_dispose):
13691           Release a few potentially-held references in dispose.
13692
13693 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13694
13695         * docs/gst/tmpl/gstminiobject.sgml:
13696           do *not* add tmpl/*.sgml files to CVS!
13697
13698 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13699
13700         * libs/gst/bytestream/.cvsignore:
13701         * libs/gst/bytestream/Makefile.am:
13702         * libs/gst/bytestream/adapter.c:
13703         * libs/gst/bytestream/adapter.h:
13704         * libs/gst/bytestream/bytestream.c:
13705         * libs/gst/bytestream/bytestream.h:
13706         * libs/gst/bytestream/filepad.c:
13707         * libs/gst/bytestream/filepad.h:
13708           removing obsolete files
13709
13710 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13711
13712         * docs/gst/gstreamer-docs.sgml:
13713         * docs/libs/gstreamer-libs-docs.sgml:
13714           disabed additional index entries again, as this makes docs-gen just
13715           slow and they aren't useful yet
13716         * docs/libs/gstreamer-libs-sections.txt:
13717           little -section.txt cleanup for libs
13718
13719 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13720
13721         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13722         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13723           fix up some debugging
13724         (gst_base_transform_get_unit_size),
13725         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13726         (gst_base_transform_handle_buffer):
13727         * gst/base/gstbasetransform.h:
13728           handle and store timed NEWSEGMENT events so that subclasses that
13729           calculate time by counting samples have a segment_start time they
13730           need to add to their timestamps - see audioresample
13731
13732 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13733
13734         * gst/gstbin.h:
13735           removed ';' from the end of macro defs
13736         * docs/gst/gstreamer-docs.sgml:
13737         * docs/gst/gstreamer-sections.txt:
13738         * docs/gst/tmpl/.cvsignore:
13739         * gst/gstbus.h:
13740         * gst/gstelement.c: (gst_element_class_init),
13741         (gst_element_set_state), (activate_pads),
13742         (gst_element_save_thyself):
13743         * gst/gstevent.c: (gst_event_new_newsegment):
13744         * gst/gstevent.h:
13745         * gst/gstiterator.c:
13746         * gst/gstiterator.h:
13747         * gst/gstpad.c:
13748         * gst/gstprobe.h:
13749         * gst/gstutils.c: (gst_pad_query_convert):
13750         * gst/gstutils.h:
13751           fixed parameter name mismatches between source, header and docs
13752           added some more docs, resolved the last batch of unused elements in
13753           docs (now someone needs to doc them)
13754
13755 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13756
13757         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13758         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13759           don't walk through the plugins backwards.  Where is all this
13760           reversed logic coming from ?
13761
13762 2005-08-25  Wim Taymans  <wim@fluendo.com>
13763
13764         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13765         (gst_base_transform_transform_size),
13766         (gst_base_transform_configure_caps),
13767         (gst_base_transform_get_unit_size),
13768         (gst_base_transform_buffer_alloc),
13769         (gst_base_transform_change_state):
13770         * gst/base/gstbasetransform.h:
13771         Cache caps unit_size.
13772         Make sure we cannot negotiate up and downstream at the
13773         same time.
13774
13775 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13776
13777         * gst/gst.c: (init_pre), (init_post):
13778           register the installed plugin path after the env var
13779         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13780         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13781           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13782           directories, so the tests can prefer uninstalled over installed
13783
13784 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13785
13786         * gst/base/gstbasetransform.h:
13787           comment
13788         * gst/gstpad.c:
13789           add to docs
13790
13791 2005-08-25  Wim Taymans  <wim@fluendo.com>
13792
13793         * gst/gstbin.c: (bin_bus_handler):
13794         Be a bit more conservative about the posted message.
13795         
13796         * gst/gstbus.c: (gst_bus_post):
13797         Some cleanups, warn wrong return values.
13798
13799 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
13800
13801         * check/gst/gstbin.c: (GST_START_TEST):
13802         * gst/gstbin.c: (bin_bus_handler):
13803         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13804         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13805         (gst_message_new_warning), (gst_message_new_tag),
13806         (gst_message_new_state_changed), (gst_message_new_segment_start),
13807         (gst_message_new_segment_done), (gst_message_new_custom):
13808         * gst/gstmessage.h:
13809         * tools/gst-launch.c: (event_loop):
13810         * tools/gst-md5sum.c: (event_loop):
13811           Revert unpopular change for GST_MESSAGE_SRC to GObject.
13812
13813 2005-08-25  Wim Taymans  <wim@fluendo.com>
13814
13815         * check/generic/states.c: (GST_START_TEST):
13816         Cleanup can be done at the end.
13817
13818         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13819         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13820         (gst_task_get_state), (gst_task_start), (gst_task_pause):
13821         Oh boy.. Thanks for finding this, Thomas. 
13822
13823 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13824
13825         * docs/gst/gstreamer.types:
13826           added missing types
13827
13828 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13829
13830         * docs/gst/gstreamer-docs.sgml:
13831         * docs/gst/gstreamer-sections.txt:
13832         * docs/gst/tmpl/.cvsignore:
13833         * gst/gstbin.c:
13834         * gst/gstiterator.c:
13835         * gst/gstutils.c:
13836         * gst/registries/gstxmlregistry.h:
13837           added missing classes and symbols (123 more to go)
13838           removed removed symbols from section file
13839           fixed many doc-comments
13840
13841 2005-08-24  Wim Taymans  <wim@fluendo.com>
13842
13843         * check/generic/states.c: (GST_START_TEST):
13844         Make sure all tasks are stopped.
13845
13846         * check/gst/gstbin.c: (GST_START_TEST):
13847         Unref after usage for proper valgrinding.
13848
13849         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13850         Really wait for the task to stop before destroying the
13851         mutex.
13852
13853         * gst/gstqueue.c: (gst_queue_sink_activate_push),
13854         (gst_queue_src_activate_push):
13855         Small cleanups. Don't stop the task when we did not start
13856         it.
13857
13858         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13859         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13860         (gst_task_get_state), (gst_task_start), (gst_task_pause),
13861         (gst_task_join):
13862         * gst/gsttask.h:
13863         Protect the stream lock with the object lock.
13864         Disallow setting the stream lock when running.
13865         Add cleanup_all to wait for the threadpool to finish.
13866         Remove code to autoallocate a mutex if none was provided.
13867         Add _join() to wait for a task to stop.
13868         Protect the thread pool with a global lock.
13869
13870 2005-08-24  Wim Taymans  <wim@fluendo.com>
13871
13872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13873         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13874         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13875         * gst/base/gstbasesink.h:
13876         Handle newsegment events correctly.
13877         Drop buffers out of the segment range.
13878
13879 2005-08-22  Andy Wingo  <wingo@pobox.com>
13880
13881         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13882         macro, implements an interface and gstimplementsinterface for a
13883         new type.
13884
13885 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * check/Makefile.am:
13888         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13889           add a test that does a bunch of state changes on elements
13890           needs some fixing for valgrind
13891         * check/states/sinks.c: (gst_object_suite):
13892           whitespace
13893         * gst/gstcaps.h:
13894           add prototype for gst_caps_is_equal_fixed
13895         * gst/gstplugin.c:
13896         * gst/gstregistrypool.c:
13897           doc fixes
13898
13899 2005-08-24  Andy Wingo  <wingo@pobox.com>
13900
13901         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13902         convert a negative value. Doesn't make much sense. Mostly this is
13903         here to force callers to ensure -1 maps to -1.
13904
13905 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13906
13907         * docs/pwg/advanced-types.xml:
13908           Well done to Michael for catching my deliberate introduction
13909           of this spelling mistake. 
13910         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13911         * gst/gstelement.h:
13912           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13913           unlink pads before removing the element from the bin.
13914
13915 2005-08-24  Andy Wingo  <wingo@pobox.com>
13916
13917         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13918         the same thing as GST_DEBUG=*:4.
13919         (parse_debug_level, parse_debug_category): New helper parsers.
13920
13921 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13922
13923         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13924         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13925         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13926         (gst_base_transform_buffer_alloc),
13927         (gst_base_transform_handle_buffer):
13928           use gboolean return values and pointers to size so we can use the
13929           full GST_BUFFER_SIZE range (guint) for buffer sizes
13930           use GstPadDirection for transform_caps
13931         * gst/base/gstbasetransform.h:
13932           rename get_size to get_unit_size since that's what it is
13933         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13934           use GstPadDirection for transform_caps
13935         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13936         * gst/gstutils.h:
13937           cleanup and debugging
13938
13939 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13940
13941         * gst/gstelement.c: (gst_element_class_init),
13942         (gst_element_set_state), (activate_pads),
13943         (gst_element_save_thyself):
13944         * tools/gst-compprep.c: (main):
13945         * tools/gst-inspect.c: (print_element_properties_info):
13946         * tools/gst-xmlinspect.c: (print_element_properties):
13947           Fixed long standing mem-leak
13948
13949 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13950
13951         * check/gst/gstbin.c: (GST_START_TEST):
13952         * gst/gstbin.c: (bin_bus_handler):
13953         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13954         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13955         (gst_message_new_warning), (gst_message_new_tag),
13956         (gst_message_new_state_changed), (gst_message_new_segment_start),
13957         (gst_message_new_segment_done), (gst_message_new_custom):
13958         * gst/gstmessage.h:
13959         * tools/gst-launch.c: (event_loop):
13960         * tools/gst-md5sum.c: (event_loop):
13961           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13962           that applications can sensibly post custom messages with references
13963           to their own objects.
13964
13965 2005-08-24  Andy Wingo  <wingo@pobox.com>
13966
13967         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13968         already.
13969
13970 2005-08-24  Wim Taymans  <wim@fluendo.com>
13971
13972         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13973         (gst_base_transform_transform_caps),
13974         (gst_base_transform_transform_size),
13975         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13976         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13977         (gst_base_transform_handle_buffer):
13978         * gst/base/gstbasetransform.h:
13979         Many fixes and new features added by Thomas. Can now also do
13980         transforms with variable sizes and a custom fixate_caps function.
13981
13982 2005-08-24  Wim Taymans  <wim@fluendo.com>
13983
13984         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13985         Some debugging.
13986
13987         * gst/gstclock.h:
13988         Cast to ClockTime before formatting to time.
13989
13990         * gst/gstutils.h:
13991         Cleanups.
13992
13993 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13994
13995         * check/gst-libs/controller.c: (GST_START_TEST),
13996         (gst_controller_suite):
13997         * docs/gst/tmpl/gstcaps.sgml:
13998         * docs/gst/tmpl/gstghostpad.sgml:
13999         * docs/gst/tmpl/gstquery.sgml:
14000         * docs/gst/tmpl/gstutils.sgml:
14001         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14002         (gst_object_sink_values), (gst_object_get_value_arrays),
14003         (gst_object_get_value_array):
14004           gracefully handle helper method calls to objects that are not beeing
14005           controlled, added test case for that          
14006
14007 2005-08-23  Wim Taymans  <wim@fluendo.com>
14008
14009         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14010         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14011         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14012         (gst_event_parse_qos), (gst_event_new_seek),
14013         (gst_event_parse_seek):
14014         * gst/gstevent.h:
14015         Some more debugging output and doc cleanups.
14016
14017         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14018         Fix possible deadlock.
14019
14020 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14021
14022         * docs/gst/gstreamer-docs.sgml:
14023         * docs/gst/gstreamer-sections.txt:
14024         * docs/gst/gstreamer.types:
14025         * docs/gst/tmpl/.cvsignore:
14026         * gst/gstbin.h:
14027         * gst/gstbus.c:
14028         * gst/gstelement.c:
14029         * gst/gstevent.h:
14030           added 100 symbols from gstreamer-unused.txt to the right sections
14031           fixed more broken comments
14032           added GstBus to docs
14033
14034 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14035
14036         * docs/gst/gstreamer-sections.txt:
14037         * docs/gst/tmpl/.cvsignore:
14038         * docs/gst/tmpl/gstbin.sgml:
14039         * docs/gst/tmpl/gstbuffer.sgml:
14040         * gst/base/gstbasesrc.c:
14041         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14042         * gst/gstbuffer.c:
14043         * gst/gstbuffer.h:
14044         * tools/gst-launch.1.in:
14045           inlined more doc comments, added missing comments and fixed comments
14046           fixed typos
14047
14048 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14049
14050         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14051           some debugging
14052         * gst/gstcaps.h:
14053           whitespace fixes
14054         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14055           more debugging
14056         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14057         * gst/gststructure.h:
14058           add a fixate function for booleans; add a FIXME that these func
14059           names should probably be gst_structure_fixate_*
14060
14061 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14062
14063         * docs/gst/gstreamer-docs.sgml:
14064         * docs/gst/gstreamer-sections.txt:
14065         * gst/Makefile.am:
14066         * gst/gstbin.c: (gst_bin_get_type),
14067         (gst_bin_child_proxy_get_child_by_index),
14068         (gst_bin_child_proxy_get_children_count),
14069         (gst_bin_child_proxy_init):
14070         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14071         (gst_child_proxy_get_child_by_index),
14072         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14073         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14074         (gst_child_proxy_get), (gst_child_proxy_set_property),
14075         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14076         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14077         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14078         * gst/gstchildproxy.h:
14079         * gst/parse/grammar.y:
14080         * tools/gst-inspect.c: (print_interfaces),
14081         (print_element_properties_info), (print_element_info):
14082           ported gstchildproxy over from 0.8
14083           ported gst-inspect fixes and enhancements over from 0.8
14084
14085 2005-08-22  Wim Taymans  <wim@fluendo.com>
14086
14087         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14088         (gst_base_transform_handle_buffer):
14089         Also call the transform function if we have ANY caps.
14090
14091         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14092         Fix debug info.
14093
14094 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14095
14096         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14097           Don't pretend to handle seek events if the source is not seekable
14098
14099 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14100
14101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14102           Remove extra parameter to debug output
14103
14104         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14105         (gst_base_src_do_seek), (gst_base_src_activate_push):
14106           Fix seek event handling.
14107
14108         * gst/gstpipeline.c: (gst_pipeline_change_state):
14109         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14110         (gst_queue_src_activate_push):
14111           Don't start the src pad task on FLUSH_STOP if the pad
14112           isn't linked.
14113           Debug changes.
14114
14115 2005-08-22  Wim Taymans  <wim@fluendo.com>
14116
14117         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14118         Added check for gst_static_caps_get() refcounting.
14119
14120 2005-08-22  Wim Taymans  <wim@fluendo.com>
14121
14122         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14123         Make _static_caps_get() refcounting sane.
14124         
14125         * gst/gstelement.c: (gst_element_set_state):
14126         Add g_return_val_if_fail() to protect against segfaults.
14127
14128 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14129
14130         * docs/gst/tmpl/gstevent.sgml:
14131         * gst/gstevent.c:
14132         * gst/gstevent.h:
14133           inlined remaining docs, added missing doc comments
14134
14135 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14136
14137         * check/gst/gstbin.c: (GST_START_TEST):
14138           since we don't know when preroll is done, use refcount range
14139           check for the sink
14140         * gst/check/gstcheck.h:
14141           add macro for checking refcount range
14142
14143 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14144
14145         * check/Makefile.am:
14146           clean up environment for when registry gets built versus
14147           when actual tests are run; valgrind seems to not report
14148           leaks if GST_PLUGIN_PATH is set to some specific values
14149         * check/gst/gstbin.c: (GST_START_TEST):
14150           add more refcounting checks; maybe this exposes a
14151           preroll lock bug ?
14152         * common/check.mak:
14153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14154         * gst/check/gstcheck.h:
14155         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14156         (gst_bin_change_state):
14157         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14158           add/fix debugging/whitespace
14159
14160 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14161
14162         * check/gst/gstevent.c: (event_probe), (test_event),
14163         (GST_START_TEST):
14164          Er, don't call gst_bin_watch_for_state_change you idiot.
14165
14166 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14167
14168         * check/Makefile.am:
14169           Use CHECK_CFLAGS and CHECK_LIBS
14170         * check/gst/gstevent.c: (event_probe), (test_event),
14171         (GST_START_TEST):
14172           Don't leak events.
14173         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14174         (gst_base_src_start), (gst_base_src_stop),
14175         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14176         (gst_base_src_change_state):
14177           Sprinkle gst_base_src_stop liberally around error paths to fix
14178           problems reusing a source after failed state changes.
14179         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14180         (helper_find_suggest), (gst_type_find_helper):
14181           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14182         * gst/gstevent.h:
14183         * docs/gst/tmpl/gstevent.sgml:
14184           Migrate part of the docs from the SGML file. Wait for ensonic to
14185           tell me how I did it wrong ;)
14186         * tools/gst-typefind.c: (main):
14187           Extra robustness to state changes between files.
14188
14189 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14190
14191         * check/Makefile.am:
14192           don't valgrind the controller test - it's leaking - Stefan, HELP
14193         * gst/check/gstcheck.c: (gst_check_message_error),
14194         (gst_check_chain_func), (gst_check_setup_element),
14195         (gst_check_teardown_element), (gst_check_setup_src_pad),
14196         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14197         (gst_check_teardown_sink_pad):
14198         * gst/check/gstcheck.h:
14199           add a bunch of methods to set up elements, and src and sink pads
14200         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14201         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14202         (GST_START_TEST):
14203           use them
14204         * gst/gstmessage.c:
14205         * gst/gsttag.h:
14206           whitespace/doc fixes
14207
14208 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14209
14210         * gst/gstelement.h:
14211           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14212           be handled by the application and not always printed as well
14213
14214 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14215
14216         * check/Makefile.am:
14217           set GST_TOOLS_DIR
14218         * gst/check/gstcheck.c: (gst_check_message_error):
14219         * gst/check/gstcheck.h:
14220           add a fail_unless_equals_int
14221           add fail_unless for error messages
14222
14223 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14224
14225         * check/Makefile.am:
14226         * check/gst.supp:
14227         * common/Makefile.am:
14228         * common/check.mak:
14229         * common/gst.supp:
14230           factor out some of the common stuff so we can use it
14231
14232 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14233
14234         * check/Makefile.am:
14235         * check/gst/gstiterator.c: (GST_START_TEST):
14236         * check/gst/gstsystemclock.c: (GST_START_TEST),
14237         (gst_systemclock_suite):
14238         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14239         * gst/gstclock.c:
14240           valgrind more tests
14241
14242 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14243
14244         * check/elements/.cvsignore:
14245         * check/elements/gstfakesrc.c:
14246           rename to name of element
14247         * check/elements/identity.c: (chain_func), (event_func),
14248         (setup_identity), (cleanup_identity), (GST_START_TEST),
14249         (identity_suite), (main):
14250           add a test for identity
14251         * check/Makefile.am:
14252         * pkgconfig/Makefile.am:
14253         * pkgconfig/gstreamer-check.pc.in:
14254         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14255         * gst/check:
14256         * gst/Makefile.am:
14257         * configure.ac:
14258           move the check stuff to a library that gets installed
14259         * check/gst-libs/controller.c: (GST_START_TEST):
14260         * check/gst-libs/gdp.c:
14261         * check/gst/gst.c: (GST_START_TEST):
14262         * check/gst/gstbin.c:
14263         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14264         * check/gst/gstbus.c:
14265         * check/gst/gstcaps.c: (GST_START_TEST):
14266         * check/gst/gstelement.c:
14267         * check/gst/gstghostpad.c:
14268         * check/gst/gstiterator.c:
14269         * check/gst/gstmessage.c:
14270         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14271         * check/gst/gstobject.c:
14272         * check/gst/gstpad.c: (GST_START_TEST):
14273         * check/gst/gststructure.c: (GST_START_TEST):
14274         * check/gst/gstsystemclock.c: (GST_START_TEST),
14275         (gst_systemclock_suite):
14276         * check/gst/gsttag.c: (gst_tag_suite):
14277         * check/gst/gstvalue.c:
14278         * check/pipelines/cleanup.c:
14279         * check/pipelines/simple_launch_lines.c:
14280         * check/states/sinks.c:
14281           change include statement
14282
14283         * docs/gst/gstreamer-sections.txt:
14284         * docs/gst/tmpl/gstpad.sgml:
14285           document more pad stuff
14286         * gst/gstminiobject.c: (gst_mini_object_ref),
14287         (gst_mini_object_unref):
14288           debug refcounting
14289
14290 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14291
14292         * docs/gst/tmpl/gst.sgml:
14293         * gst/gst.c:
14294           eliminate another tmpl file, fix spelling in the long-description
14295
14296 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14297
14298         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14299         (test_event), (timediff), (gstevents_suite):
14300           Should fix build on 64-bit arch's
14301
14302 2005-08-18  Andy Wingo  <wingo@pobox.com>
14303
14304         Make sure that when a pipeline goes to PLAYING, that data has
14305         actually hit the sink.
14306
14307         * check/states/sinks.c (test_sink): A sink that doesn't get any
14308         data shouldn't return SUCCESS for going to either PLAYING or
14309         PAUSED. Test also the return values on the way back down.
14310
14311         * gst/gstelement.c (gst_element_set_state): When changing the
14312         state of an element currently changing state asynchronously, go to
14313         lost-state after commiting the pending state. Makes future calls
14314         to get_state continue to return ASYNC.
14315
14316         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14317         ASYNC when going to PLAYING if we still don't have preroll, as can
14318         happen with live sources.
14319
14320 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14321
14322         * docs/pwg/advanced-types.xml:
14323           Hack long paragraph into 2 chunks as a workaround for buggy
14324           jadetex version in sid and breezy that loops infinitely and
14325           eats all RAM.
14326
14327 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14328
14329         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14330         (test_event), (timediff), (gstevents_suite):
14331           Provide more error margin in clock measurements to allow for 
14332           g_get_current_time inaccuracies.
14333
14334 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14335
14336         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14337         (test_event), (timediff), (gstevents_suite):
14338            Fix error message output so I might be able to tell why the
14339            test works here but fails on the build farm.
14340
14341 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14342
14343         * check/Makefile.am:
14344         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14345         (test_event), (timediff), (gstevents_suite), (main):
14346           I wrote a test!
14347
14348         * docs/design/part-seeking.txt:
14349           Spelling correction
14350
14351         * docs/gst/tmpl/gstevent.sgml:
14352         * docs/gst/tmpl/gstfakesrc.sgml:
14353           Docs updates.
14354
14355         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14356           Treat a buffer-without-newsegment the same as a receiving 
14357           a newsegment not in time format, and disable syncing to the clock
14358           with a warning.
14359
14360         * gst/gstbus.c: (gst_bus_set_sync_handler):
14361           Assert if anyone tries to replace the existing sync_handler for bus, 
14362           as only the owner should be setting it.
14363
14364         * gst/gstevent.h:
14365           Have a fixed set of custom event enums with events identified by
14366           their structure name (as in 0.8), rather than a free-for-all
14367           allowing collisions between enum values from different plugins.
14368
14369         * gst/gstpad.c: (gst_pad_class_init):
14370           Docs change.
14371           
14372         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14373           Handle out-of-band downstream events from the sending thread.
14374
14375 2005-08-17  Andy Wingo  <wingo@pobox.com>
14376
14377         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14378         play-timeout==0 to mean no timeout at all. In that case, don't
14379         bother with a get_state or a warning, just return directly, even
14380         if it's ASYNC.
14381
14382         * gst/base/gstbasetransform.c: Debug changes.
14383
14384         * gst/gstutils.h:
14385         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14386         ensure bins post state change messages. A bit of a hack but I can't
14387         think of a way to avoid it.
14388
14389         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14390
14391 2005-08-16  Andy Wingo  <wingo@pobox.com>
14392
14393         * gst/base/gstadapter.h:
14394         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14395         peek() but you own the data. Not terribly efficient atm.
14396
14397 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14398
14399         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14400         (gst_element_found_tags):
14401         * gst/gstutils.h:
14402           Add two utility functions for tag handling.
14403
14404 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14405
14406         * docs/manual/advanced-dataaccess.xml:
14407         * docs/manual/basics-helloworld.xml:
14408           Fix docs to use _bin_add() before _link(), which fixes the examples
14409           with recent core versions (reported by Madhan Raj M
14410           <raj_madan@rediffmail.com>, #313199).
14411
14412 2005-08-16  Wim Taymans  <wim@fluendo.com>
14413
14414         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14415         Added subtract checks.
14416
14417         * docs/design/part-events.txt:
14418         Some more docs about newsegment
14419
14420         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14421         Fix FIXME
14422
14423         * gst/gstcaps.c: (gst_caps_to_string):
14424         Add comments, cleanups.
14425         
14426         * gst/gstelement.c: (gst_element_save_thyself):
14427         cleanups
14428         
14429         * gst/gstvalue.c: (gst_value_collect_int_range),
14430         (gst_string_unwrap), (gst_value_union_int_int_range),
14431         (gst_value_union_int_range_int_range),
14432         (gst_value_intersect_int_int_range),
14433         (gst_value_intersect_int_range_int_range),
14434         (gst_value_intersect_double_double_range),
14435         (gst_value_intersect_double_range_double_range),
14436         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14437         (gst_value_subtract_int_range_int),
14438         (gst_value_subtract_double_range_double),
14439         (gst_value_subtract_double_range_double_range),
14440         (gst_value_subtract_from_list), (gst_value_subtract_list),
14441         (gst_value_can_compare), (gst_value_compare_fraction):
14442         Cleanups, add comments, remove unneeded asserts.
14443
14444 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14445
14446         * tools/gst-launch.c: (event_loop):
14447           don't convert NULL structures to strings
14448
14449 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14450
14451         * docs/gst/gstreamer-sections.txt:
14452           made some defines private
14453         * docs/gst/tmpl/gstconfig.sgml:
14454         * docs/gst/tmpl/gstqueue.sgml:
14455         * docs/gst/tmpl/gsttaglist.sgml:
14456         * docs/gst/tmpl/gsttypes.sgml:
14457         * docs/gst/tmpl/gstutils.sgml:
14458         * docs/pwg/appendix-porting.xml:
14459         * gst/base/gstbasesink.h:
14460         * gst/base/gstbasesrc.c:
14461         * gst/base/gstbasesrc.h:
14462         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14463         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14464         * gst/gstelement.c: (gst_element_class_init):
14465         * gst/gstpad.c: (gst_pad_class_init):
14466         * gst/gstqueue.c: (gst_queue_class_init):
14467         * gst/gstxml.c: (gst_xml_class_init):
14468           documented all undocumented signal inline
14469         * libs/gst/controller/gst-controller.h:
14470           added padding
14471
14472 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14473
14474         * docs/pwg/appendix-porting.xml:
14475           Document _set_link_function -> _set_setcaps_function.
14476
14477 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14478
14479         * check/Makefile.am:
14480           add a .check target for running the check
14481         * check/gst-libs/controller.c: (GST_START_TEST):
14482           cosmetic fixups
14483         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14484           complete checks for gstbuffer; would be nice if I could get the
14485           gcov stuff to work so I can see if I actually completed gstbuffer.c
14486         * check/gstcheck.h:
14487           add ASSERT_BUFFER_REFCOUNT
14488
14489 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14490
14491         * docs/gst/gstreamer-sections.txt:
14492         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14493         * gst/gsttag.h:
14494           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14495           spew out a warning if a tag that is already registered
14496           is re-registered, unless it is re-registered with a 
14497           different type (#308438).
14498
14499 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14500
14501         * docs/pwg/appendix-porting.xml:
14502         * docs/pwg/building-state.xml:
14503           Add some paragraphs about state changes in 0.9 to the PWG
14504           and the porting guide, in particular about the new meaning
14505           of GST_STATE_PAUSED and how to write state change functions
14506           with concurrent access by multiple threads in mind.
14507
14508 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14509
14510         * docs/gst/gstreamer-docs.sgml:
14511         * docs/libs/gstreamer-libs-docs.sgml:
14512           added deprecation and since indexes
14513         * libs/gst/controller/gst-controller.c:
14514         * libs/gst/controller/gst-helper.c:
14515           added since tags
14516
14517
14518 2005-08-11  Wim Taymans  <wim@fluendo.com>
14519
14520         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14521         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14522         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14523         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14524         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14525         (gst_ghost_pad_set_target):
14526         Actually implement (re)setting the target on a ghostpad
14527         as described in the docs.
14528
14529 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14530
14531         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14532           Check whether GST_DEBUG_NO_COLOR environment variable is
14533           set and disable coloured debug output if that is the case.
14534
14535 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14536
14537         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14538         (gst_type_find_helper):
14539           The memory returned by gst_type_find_peek() needs to
14540           stay valid until the end of a typefind function, and
14541           typefind functions may keep results from different 
14542           offsets around, so we can't just unref the buffer from
14543           the previous _peek(), but have to save all buffers 
14544           returned by _peek() until typefinding is done and only
14545           free them then.
14546
14547 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14548
14549         * docs/gst/gstreamer-sections.txt:
14550         * gst/gstutils.h:
14551           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14552
14553 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14554
14555         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14556           Fix a pretty good memleak.
14557
14558 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14559
14560         * gst/gstiterator.h:
14561           Fix wrong include and 'make distcheck'.
14562
14563 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14564
14565         * gst/gstbin.c: (bin_bus_handler):
14566           Use gst_element_post_message() instead.
14567
14568 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14569
14570         * gst/base/gstadapter.h:
14571         * gst/base/gstbasesink.h:
14572         * gst/base/gstbasesrc.h:
14573         * gst/base/gstbasetransform.h:
14574         * gst/base/gstcollectpads.h:
14575         * gst/base/gstpushsrc.h:
14576         * gst/gstiterator.h:
14577           Add padding to our base elements' class and instance structs and
14578           to GstIterator (you will need to rebuild all plugins and apps!)
14579
14580 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14581
14582         * gst/gstbin.c: (bin_bus_handler):
14583           Make default message forwarding from child->bus to bin->bus
14584           threadsafe and make it not emit warnings if the parent has no bus.
14585
14586 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14587
14588         * gst/gstelement.c: (activate_pads):
14589           On paused->ready, set pad->caps to NULL, as is the documented
14590           behaviour in this state change. Fixes playback of series of
14591           media files when visualization is enabled in Totem.
14592
14593 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14594
14595         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14596           Allow NULL as filter-caps (which means "any").
14597
14598 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14599
14600         * docs/libs/gstreamer-libs-sections.txt:
14601         * libs/gst/controller/gst-controller.c:
14602         * libs/gst/controller/gst-controller.h:
14603         * libs/gst/controller/gst-helper.c:
14604           adding more entries to the docs and fix small doc-bugs
14605
14606 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14607
14608         * docs/gst/gstreamer-docs.sgml:
14609         * docs/gst/gstreamer-sections.txt:
14610         * docs/gst/gstreamer.types:
14611         * docs/gst/tmpl/gstbasesink.sgml:
14612         * docs/gst/tmpl/gstbasesrc.sgml:
14613         * docs/gst/tmpl/gstbasetransform.sgml:
14614         * docs/gst/tmpl/gstfakesrc.sgml:
14615         * gst/base/gstcollectpads.c:
14616         * gst/base/gstcollectpads.h:
14617         * libs/gst/controller/gst-controller.c:
14618         * libs/gst/controller/gst-controller.h:
14619         * libs/gst/controller/gst-helper.c:
14620         * libs/gst/controller/gst-interpolation.c:
14621         * libs/gst/controller/lib.c:
14622           added long/short desc for controller docs
14623           added collectpads base class docs
14624           added correct includes to base-class docs
14625
14626 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14627
14628         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14629         (gst_test_mono_source_set_property),
14630         (gst_test_mono_source_class_init), (GST_START_TEST),
14631         (gst_controller_suite):
14632         * docs/gst/gstreamer-docs.sgml:
14633         * docs/gst/gstreamer-sections.txt:
14634         * docs/gst/gstreamer.types:
14635         * docs/libs/gstreamer-libs-docs.sgml:
14636         * docs/libs/gstreamer-libs-sections.txt:
14637         * gst/base/gstadapter.c:
14638         * libs/gst/controller/gst-controller.c:
14639         (gst_controlled_property_new), (gst_controlled_property_free),
14640         (gst_controller_new_valist),
14641         (gst_controller_remove_properties_valist),
14642         (gst_controller_sink_values), (_gst_controller_finalize):
14643         * libs/gst/controller/gst-controller.h:
14644         * libs/gst/controller/gst-helper.c:
14645         (gst_object_control_properties), (gst_object_uncontrol_properties),
14646         (gst_object_get_controller), (gst_object_set_controller),
14647         (gst_object_sink_values), (gst_object_get_value_arrays),
14648         (gst_object_get_value_array):
14649           more tests (and fixes) for the controller
14650           more docs for the controller
14651           integrated companies docs for the adapter 
14652
14653 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14654
14655         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14656         (GST_START_TEST), (fakesrc_suite):
14657           add tests for sizetype
14658
14659 2005-08-04  Andy Wingo  <wingo@pobox.com>
14660
14661         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14662         fixes buffer_alloc proxying among other things.
14663
14664         * gst/base/gstbasetransform.c:
14665         * gst/base/gstbasetransform.h:
14666         Revert patch to gstbasetransform from 7-28 removing
14667         delay_configure.
14668
14669         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14670         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14671         Semantics changed, should return not the size of the output buffer
14672         but the byte size of a buffer with a given caps.
14673
14674         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14675         debug object.
14676         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14677         out) are not the pad caps until setcaps finishes.
14678         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14679         not-in-place case as well. Deal with changing from in-place to
14680         not-in-place within calling pad_alloc_buffer. Still a bit
14681         concerned about the overhead here...
14682
14683 2005-08-03  Andy Wingo  <wingo@pobox.com>
14684
14685         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14686         fixating is an error.
14687
14688 2005-08-04  Edward Hervey  <edward@fluendo.com>
14689
14690         * gst/base/gstadapter.h: 
14691         Added gst_adapter_get_type() to the header
14692
14693 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14694
14695         * check/Makefile.am:
14696         * check/gst-libs/controller.c:
14697         * libs/gst/controller/gst-controller.c:
14698         (gst_controller_new_valist):
14699           added check test suite for the controller
14700         * gst/base/gstpushsrc.c:
14701           fixed a doc typo
14702
14703 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14704
14705         * docs/gst/Makefile.am:
14706         * docs/gst/gstreamer-docs.sgml:
14707         * docs/gst/gstreamer-sections.txt:
14708         * docs/gst/gstreamer.types:
14709         * docs/gst/tmpl/gstfakesrc.sgml:
14710         * gst/base/README:
14711         * gst/base/gstbasesink.c:
14712         * gst/base/gstbasesink.h:
14713         * gst/base/gstbasesrc.c:
14714         * gst/base/gstbasesrc.h:
14715         * gst/base/gstbasetransform.c:
14716         * gst/base/gstpushsrc.c:
14717         * gst/base/gstpushsrc.h:
14718           add short/long description docs to base classes
14719           add pushsrc to the docs
14720           remove consolidated doc fragments
14721
14722 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14723
14724         * configure.ac:
14725         * docs/libs/Makefile.am:
14726         * docs/libs/gstreamer-libs-docs.sgml:
14727         * docs/libs/gstreamer-libs-sections.txt:
14728         * docs/libs/gstreamer-libs.types:
14729         * examples/Makefile.am:
14730         * examples/controller/.cvsignore:
14731         * examples/controller/Makefile.am:
14732         * examples/controller/audio-example.c: (main):
14733         * libs/gst/Makefile.am:
14734         * libs/gst/controller/.cvsignore:
14735         * libs/gst/controller/Makefile.am:
14736         * libs/gst/controller/gst-controller.c:
14737         (on_object_controlled_property_changed), (gst_timed_value_compare),
14738         (gst_timed_value_find),
14739         (gst_controlled_property_set_interpolation_mode),
14740         (gst_controlled_property_new), (gst_controlled_property_free),
14741         (gst_controller_find_controlled_property),
14742         (gst_controller_new_valist), (gst_controller_new),
14743         (gst_controller_remove_properties_valist),
14744         (gst_controller_remove_properties), (gst_controller_set),
14745         (gst_controller_set_from_list), (gst_controller_unset),
14746         (gst_controller_get), (gst_controller_get_all),
14747         (gst_controller_sink_values), (gst_controller_get_value_arrays),
14748         (gst_controller_get_value_array),
14749         (gst_controller_set_interpolation_mode),
14750         (_gst_controller_finalize), (_gst_controller_init),
14751         (_gst_controller_class_init), (gst_controller_get_type):
14752         * libs/gst/controller/gst-controller.h:
14753         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14754         (g_object_uncontrol_properties), (g_object_get_controller),
14755         (g_object_set_controller), (g_object_sink_values),
14756         (g_object_get_value_arrays), (g_object_get_value_array):
14757         * libs/gst/controller/gst-interpolation.c:
14758         (gst_controlled_property_find_timed_value_node),
14759         (interpolate_none_get), (interpolate_trigger_get),
14760         (interpolate_trigger_get_value_array):
14761         * libs/gst/controller/lib.c: (gst_controller_init):
14762         * pkgconfig/Makefile.am:
14763         * pkgconfig/gstreamer-control-uninstalled.pc.in:
14764         * pkgconfig/gstreamer-control.pc.in:
14765         * testsuite/Makefile.am:
14766         * testsuite/controller/.cvsignore:
14767         * testsuite/controller/Makefile.am:
14768         * testsuite/controller/interpolator.c: (main):
14769           added controller code
14770           removed dparam pc files
14771
14772 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14773         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14774         (gst_collectpads_stop):
14775           Broadcast the condition when shutting down, to make sure we wake all
14776           threads up. Shut down pads on finalize, for safety.
14777
14778 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14779         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14780         (gst_base_transform_handle_buffer),
14781         (gst_base_transform_change_state):
14782           Handle PAUSED->READY->PAUSED transition after negotiation
14783           occurred already.
14784         * gst/gstmessage.c: (gst_message_init):
14785           Extra piece of debug for new messages.
14786
14787 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
14788
14789         * configure.ac:
14790         * docs/gst/tmpl/gstbasesrc.sgml:
14791         * docs/gst/tmpl/gstelement.sgml:
14792         * docs/gst/tmpl/gstevent.sgml:
14793         * docs/gst/tmpl/gstfakesrc.sgml:
14794         * docs/gst/tmpl/gstformat.sgml:
14795         * docs/gst/tmpl/gstghostpad.sgml:
14796         * docs/gst/tmpl/gstpad.sgml:
14797         * docs/gst/tmpl/gstquery.sgml:
14798         * docs/gst/tmpl/gststructure.sgml:
14799         * docs/gst/tmpl/gsttaglist.sgml:
14800         * docs/gst/tmpl/gstvalue.sgml:
14801         * docs/libs/gstreamer-libs-docs.sgml:
14802         * docs/libs/gstreamer-libs-sections.txt:
14803         * docs/libs/gstreamer-libs.types:
14804         * libs/gst/Makefile.am:
14805         * libs/gst/control/.cvsignore:
14806         * libs/gst/control/Makefile.am:
14807         * libs/gst/control/control.c:
14808         * libs/gst/control/control.h:
14809         * libs/gst/control/dparam.c:
14810         * libs/gst/control/dparam.h:
14811         * libs/gst/control/dparam_smooth.c:
14812         * libs/gst/control/dparam_smooth.h:
14813         * libs/gst/control/dparamcommon.h:
14814         * libs/gst/control/dparammanager.c:
14815         * libs/gst/control/dparammanager.h:
14816         * libs/gst/control/dplinearinterp.c:
14817         * libs/gst/control/dplinearinterp.h:
14818         * libs/gst/control/unitconvert.c:
14819         * libs/gst/control/unitconvert.h:
14820         * testsuite/Makefile.am:
14821         * testsuite/dynparams/.cvsignore:
14822         * testsuite/dynparams/Makefile.am:
14823         * testsuite/dynparams/dparamstest.c:
14824         * tools/Makefile.am:
14825         * tools/gst-inspect.c: (print_element_info), (main):
14826         * tools/gst-xmlinspect.c: (print_element_info), (main):
14827           deactivate and remove dparams (libgstcontrol)
14828
14829 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14830
14831         * gst/elements/gsttypefindelement.c:
14832         (gst_type_find_element_have_type), (gst_type_find_element_init),
14833         (stop_typefinding), (gst_type_find_element_handle_event),
14834         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14835         * gst/elements/gsttypefindelement.h:
14836           Set caps on all outgoing buffers, not just the first one.
14837
14838 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14839
14840         * gst/elements/gsttypefindelement.c:
14841         (gst_type_find_element_have_type),
14842         (gst_type_find_element_check_set_buffer_caps),
14843         (gst_type_find_element_init), (stop_typefinding),
14844         (gst_type_find_element_handle_event),
14845         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14846         * gst/elements/gsttypefindelement.h:
14847           Set caps on first outgoing buffer when we've found the type.
14848
14849 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14850
14851         * docs/gst/gstreamer-docs.sgml:
14852         * docs/gst/gstreamer-sections.txt:
14853         * docs/gst/tmpl/gstscheduler.sgml:
14854         * docs/gst/tmpl/gstschedulerfactory.sgml:
14855           Remove some old cruft from docs.
14856
14857 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
14858
14859         * gst/gstpad.h:
14860           Fix inline docs for GstPadLinkReturn.
14861           
14862         * gst/gststructure.c: (gst_structure_has_name):
14863         * gst/gststructure.h:
14864         * docs/gst/gstreamer-sections.txt:
14865           New API: gst_structure_has_name().
14866
14867 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
14868
14869         * configure.ac:
14870           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14871           and _LARGEFILE_SOURCE in config.h as required. Do not 
14872           export those flags in our .pc files any longer (#142209).
14873
14874           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14875
14876         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14877         (gst_file_sink_do_seek), (gst_file_sink_event),
14878         (gst_file_sink_get_current_offset), (gst_file_sink_render):
14879           Redo seek/tell calls with large file support in mind; add some
14880           debugging messages; add log message that tells us when large
14881           file support is unavailable or not enabled for some reason.
14882
14883         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14884           Add log message that tells us when large file support 
14885           is unavailable or not enabled for some reason.
14886
14887 2005-07-29  Wim Taymans  <wim@fluendo.com>
14888
14889         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14890         Added test for removing an element with ghostpad from a bin.
14891         Fixed test as current implementation does the right thing.
14892
14893         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14894         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14895         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14896         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14897         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14898         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14899         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14900         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14901         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14902         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14903         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14904         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14905         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14906         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14907         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14908         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14909         * gst/gstghostpad.h:
14910         Clean up ghostpads, remove properties for internal stuff.
14911         Make threadsafe.
14912         Fix refcounting.
14913         Prepare for switching targets, not all use cases work yet.
14914
14915 2005-07-29  Wim Taymans  <wim@fluendo.com>
14916
14917         * docs/design/part-gstghostpad.txt:
14918         Small update.
14919
14920         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14921         (gst_bin_remove_func):
14922         Unlinking pads while holding the bin LOCK is not a good
14923         idea.
14924
14925         * gst/gstpad.c: (gst_pad_class_init),
14926         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14927         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14928         No prob setting template after creating the pad.
14929
14930 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
14931
14932         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14933         (gst_bus_peek), (gst_bus_source_dispatch),
14934         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14935         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14936           gst_bus_poll may be called from other threads. Handle
14937           this nicely by not making poll_data disappear off the
14938           stack once gst_bus_poll returns.
14939           gst_bus_peek now increments the refcount on the returned
14940           message.
14941
14942 2005-07-29  Wim Taymans  <wim@fluendo.com>
14943
14944         * docs/design/part-gstghostpad.txt:
14945         Overview of current GhostPad datastructures and use
14946         cases for changing the target.
14947
14948 2005-07-28  Wim Taymans  <wim@fluendo.com>
14949
14950         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14951         Added checks for hierarchy consistency whan adding linked
14952         elements to bins.
14953
14954         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14955         Added check to test element scheduling without bin/pipeline.
14956
14957         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14958         First add elements to bin, then link.
14959         
14960         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14961         (gst_bin_remove_func):
14962         Unlink pads from elements added/removed from bin to maintain
14963         hierarchy consistency.
14964
14965 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14966
14967         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14968         (gst_base_transform_handle_buffer):
14969         * gst/base/gstbasetransform.h:
14970           Remove broken delay_configure (fixes renegotiation of software
14971           scaling pipelines); remove some leftover printf()s.
14972
14973 2005-07-28  Wim Taymans  <wim@fluendo.com>
14974
14975         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14976         Added some more tests for wrong hierarchy
14977
14978         * docs/design/part-overview.txt:
14979         Some updates.
14980
14981         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14982         Cleanups.
14983
14984         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14985         (gst_element_dispose):
14986         Some more cleanups.
14987
14988         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14989         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14990         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14991         (gst_pad_set_caps), (gst_pad_send_event):
14992         Check for correct hierarchy when linking pads. Moving to
14993         strict requirement for ghostpads when linking elements in
14994         different bins.
14995
14996         * gst/gstpad.h:
14997         Clean ups. Added WRONG_HIERARCHY return value.
14998
14999 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15000
15001         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15002           Better debug if no transform is possible.
15003
15004 2005-07-27  Wim Taymans  <wim@fluendo.com>
15005
15006         * docs/random/wtay/network-transp:
15007         Some old doc I had.
15008
15009 2005-07-27  Wim Taymans  <wim@fluendo.com>
15010
15011         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15012         (gst_dp_event_from_packet):
15013         Fix serialization of seek events.
15014
15015 2005-07-27  Wim Taymans  <wim@fluendo.com>
15016
15017         * check/gst-libs/gdp.c: (GST_START_TEST):
15018         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15019         Fix compilation and fix event serialization.
15020
15021 2005-07-27  Wim Taymans  <wim@fluendo.com>
15022
15023         * CHANGES-0.9:
15024         * docs/design/part-TODO.txt:
15025         * docs/design/part-events.txt:
15026         Some docs updates
15027
15028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15029         (gst_base_sink_event), (gst_base_sink_do_sync),
15030         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15031         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15032         (gst_base_src_do_seek), (gst_base_src_event_handler),
15033         (gst_base_src_loop):
15034         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15035         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15036         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15037         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15038         (gst_base_transform_set_passthrough),
15039         (gst_base_transform_is_passthrough):
15040         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15041         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15042         Event updates.
15043
15044         * gst/gstbuffer.h:
15045         Use faster casts.
15046
15047         * gst/gstelement.c: (gst_element_seek):
15048         * gst/gstelement.h:
15049         Update gst_element_seek.
15050
15051         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15052         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15053         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15054         (gst_event_new_eos), (gst_event_new_newsegment),
15055         (gst_event_parse_newsegment), (gst_event_new_tag),
15056         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15057         (gst_event_parse_qos), (gst_event_new_seek),
15058         (gst_event_parse_seek), (gst_event_new_navigation):
15059         * gst/gstevent.h:
15060         Make GstEvent use GstStructure. Add parsing code, make sure the
15061         API is sufficiently generic.
15062         Mark possible directions of events and serialization.
15063
15064         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15065         (_gst_message_copy), (gst_message_new_segment_start),
15066         (gst_message_new_segment_done), (gst_message_new_custom),
15067         (gst_message_parse_segment_start),
15068         (gst_message_parse_segment_done):
15069         Small cleanups.
15070
15071         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15072         (gst_pad_set_caps), (gst_pad_send_event):
15073         Update for new events. 
15074         Catch events sent in wrong directions.
15075
15076         * gst/gstqueue.c: (gst_queue_link_src),
15077         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15078         (gst_queue_handle_src_query):
15079         Event updates.
15080
15081         * gst/gsttag.c:
15082         * gst/gsttag.h:
15083         Remove event code from this file.
15084
15085         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15086         (gst_dp_event_from_packet):
15087         Event updates.
15088
15089 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15090
15091         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15092         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15093         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15094           Make debugging actually useful.
15095
15096 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15097
15098         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15099         (gst_pad_fixate_caps):
15100           Implement default fixation once again, so that gst_pad_fixate()
15101           actually does anything at all. This probably needs to be some
15102           sort of a last resort, and use profile-based fixation first, but
15103           since that doesn't exist yet, this is the best we have. Fixes
15104           visualization in Totem.
15105
15106 2005-07-22  Wim Taymans  <wim@fluendo.com>
15107
15108         * docs/design/part-events.txt:
15109         Small update.
15110
15111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15112         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15113         (gst_base_sink_activate_pull):
15114         Some more comments.
15115
15116         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15117         (gst_fake_src_create):
15118         Fix handoff marshall.
15119
15120         * gst/elements/gstidentity.c: (gst_identity_class_init),
15121         (gst_identity_transform_ip):
15122         We're a real inplace element.
15123
15124         * gst/gstbus.c: (gst_bus_post):
15125         Added some comments.
15126
15127         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15128         * tests/muxing/case1.c: (main):
15129         * tests/sched/dynamic-pipeline.c: (main):
15130         * tests/sched/interrupt1.c: (main):
15131         * tests/sched/interrupt2.c: (main):
15132         * tests/sched/interrupt3.c: (main):
15133         * tests/sched/runxml.c: (main):
15134         * tests/sched/sched-stress.c: (main):
15135         * tests/seeking/seeking1.c: (event_received), (main):
15136         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15137         (main):
15138         * tests/threadstate/threadstate3.c: (main):
15139         * tests/threadstate/threadstate4.c: (main):
15140         * tests/threadstate/threadstate5.c: (main):
15141         Fix the tests.
15142
15143 2005-07-21  Wim Taymans  <wim@fluendo.com>
15144
15145         * docs/design/part-seeking.txt:
15146         Some small additions.
15147
15148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15149         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15150         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15151         * gst/base/gstbasesink.h:
15152         discont values are gint64, handle the math correctly.
15153
15154         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15155         Make the basesrc report error if the source pad is not linked.
15156
15157         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15158         (gst_queue_loop), (gst_queue_handle_src_query),
15159         (gst_queue_src_activate_push):
15160         Make queue collect data even if the srcpad is not linked.
15161         Start pushing out data as soon as it is linked.
15162
15163         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15164         * gst/gstutils.h:
15165         Added gst_flow_get_name() to ease error reporting.
15166
15167 2005-07-20  Wim Taymans  <wim@fluendo.com>
15168
15169         * gst/gstmessage.c: (gst_message_new_segment_start),
15170         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15171         (gst_message_parse_segment_done):
15172         * gst/gstmessage.h:
15173         Added a bunch of messages for advanced seeking.
15174
15175         * gst/parse/grammar.y:
15176         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15177         (gst_dpman_state_changed):
15178         Fix some new-pad -> pad-added signals
15179
15180 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15181
15182         * docs/manual/appendix-porting.xml:
15183         * docs/pwg/appendix-porting.xml:
15184           Document new-pad/state-change signal renames and the FixedList
15185           type rename.
15186
15187 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15188
15189         * docs/manual/advanced-autoplugging.xml:
15190         * docs/manual/basics-helloworld.xml:
15191         * docs/manual/basics-pads.xml:
15192         * docs/random/ds/0.9-suggested-changes:
15193         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15194         * gst/gstelement.h:
15195         * gst/gstevent.h:
15196         * gst/gstformat.h:
15197         * gst/gstquery.h:
15198         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15199         (gst_structure_parse_array), (gst_structure_parse_value):
15200         * gst/gstvalue.c: (gst_type_is_fixed),
15201         (gst_value_list_prepend_value), (gst_value_list_append_value),
15202         (gst_value_list_get_size), (gst_value_list_get_value),
15203         (gst_value_transform_array_string), (gst_value_serialize_array),
15204         (gst_value_deserialize_array), (gst_value_intersect_array),
15205         (gst_value_is_fixed), (_gst_value_initialize):
15206         * gst/gstvalue.h:
15207           GstElement::new-pad -> pad-added, GstElement::state-change ->
15208           state-changed, GstValueFixedList -> GstValueArray, add format and
15209           flags as their own arguments in gst_element_seek() (should improve
15210           "bindeability"), remove function generators since they don't work
15211           under a whole bunch of compilers (they were deprecated already
15212           anyway).
15213
15214 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15215
15216         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15217         (_gst_debug_register_funcptr):
15218         * gst/gstinfo.h:
15219           Fix illegal cast on some platforms (#309253).
15220
15221 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15222
15223         * gst/gstmessage.c: (gst_message_new_custom):
15224         * gst/gstmessage.h:
15225           Add _new_custom, make _new_application a macro to _new_custom.
15226
15227 2005-07-20  Wim Taymans  <wim@fluendo.com>
15228
15229         * gst/base/gstbasesrc.c: (gst_base_src_init),
15230         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15231         * gst/base/gstbasesrc.h:
15232         Add a gboolean to decide when to push out a discont.
15233
15234         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15235         (gst_queue_loop), (gst_queue_handle_src_query),
15236         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15237         (gst_queue_set_property), (gst_queue_get_property):
15238         Some cleanups.
15239
15240         * tests/threadstate/threadstate1.c: (main):
15241         Make a thread test compile and run... very silly..
15242
15243
15244 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15245
15246         * docs/manual/appendix-porting.xml:
15247           Mention removal of libgstgconf-0.9.la and existence of gconf
15248           elements.
15249
15250 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15251
15252         * docs/pwg/advanced-clock.xml:
15253         * docs/pwg/appendix-porting.xml:
15254         * docs/pwg/intro-preface.xml:
15255         * docs/pwg/other-base.xml:
15256         * docs/pwg/other-manager.xml:
15257         * docs/pwg/other-nton.xml:
15258         * docs/pwg/other-ntoone.xml:
15259         * docs/pwg/other-oneton.xml:
15260         * docs/pwg/pwg.xml:
15261           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15262           demuxer), remove n-to-n (was never written), fix some code examples
15263           and links and update the porting section to include all this.
15264
15265 2005-07-19  Wim Taymans  <wim@fluendo.com>
15266
15267         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15268         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15269         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15270         (gst_queue_src_activate_push), (gst_queue_change_state),
15271         (gst_queue_get_property):
15272         * gst/gstqueue.h:
15273         Propagate GstFlowReturn more intelligently upstream and output
15274         an ERROR/EOS when streaming stopped due to fatal error.
15275
15276 2005-07-19  Wim Taymans  <wim@fluendo.com>
15277
15278         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15279         Don't block forever for the state change to complete, the
15280         pipeline already did with a sensible timeout.
15281
15282 2005-07-19  Wim Taymans  <wim@fluendo.com>
15283
15284         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15285         Make sure we never call the create function is we
15286         got deactivated.
15287
15288 2005-07-19  Andy Wingo  <wingo@pobox.com>
15289
15290         * gst/parse/parse.l: Attempt to solve bug #172815.
15291
15292 2005-07-19  Wim Taymans  <wim@fluendo.com>
15293
15294         * docs/design/part-clocks.txt:
15295         * docs/design/part-events.txt:
15296         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15297         Small docs updates.
15298         Only update the seeking values when we are not
15299         busy streaming.
15300
15301 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15302
15303         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15304           Oops, ignore the result of gst_pad_push_event here.
15305
15306 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15307
15308         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15309         (gst_base_src_activate_push):
15310           Send discont event from the loop function, as pads
15311           aren't activated yet in the activate_push handler.
15312
15313         * gst/gstbin.c: (bin_bus_handler):
15314           Don't leak element name.
15315
15316 2005-07-18  Andy Wingo  <wingo@pobox.com>
15317
15318         * configure.ac: Use AS_LIBTOOL_TAGS.
15319
15320 2005-07-18  Wim Taymans  <wim@fluendo.com>
15321
15322         * docs/gst/gstreamer.types:
15323         Remove deleted types.
15324
15325 2005-07-18  Wim Taymans  <wim@fluendo.com>
15326
15327         * check/elements/gstfakesrc.c: (GST_START_TEST):
15328         * configure.ac:
15329         * gst/Makefile.am:
15330         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15331         (init_popt_callback):
15332         * gst/gst.h:
15333         * gst/gst_private.h:
15334         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15335         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15336         * gst/gstbin.h:
15337         * gst/gstbus.h:
15338         * gst/gstconfig.h.in:
15339         * gst/gstelement.c: (gst_element_class_init),
15340         (gst_element_set_base_time), (gst_element_get_base_time),
15341         (iterator_fold_with_resync), (gst_element_change_state),
15342         (gst_element_dispose), (gst_element_get_bus):
15343         * gst/gstelement.h:
15344         * gst/gstelementfactory.h:
15345         * gst/gsterror.c: (_gst_core_errors_init):
15346         * gst/gsterror.h:
15347         * gst/gstevent.h:
15348         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15349         * gst/gstindex.c:
15350         * gst/gstinfo.c: (_gst_debug_init):
15351         * gst/gstmessage.c: (_gst_message_copy):
15352         * gst/gstmessage.h:
15353         * gst/gstminiobject.h:
15354         * gst/gstobject.c:
15355         * gst/gstobject.h:
15356         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15357         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15358         * gst/gstpad.h:
15359         * gst/gstparse.h:
15360         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15361         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15362         (gst_pipeline_get_last_stream_time):
15363         * gst/gstpipeline.h:
15364         * gst/gstpluginfeature.h:
15365         * gst/gstquery.h:
15366         * gst/gstscheduler.c:
15367         * gst/gstscheduler.h:
15368         * gst/gststructure.h:
15369         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15370         (gst_task_finalize), (gst_task_func), (gst_task_create),
15371         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15372         (gst_task_stop), (gst_task_pause):
15373         * gst/gsttask.h:
15374         * gst/gsttypefind.h:
15375         * gst/gsttypes.h:
15376         * gst/registries/gstlibxmlregistry.c: (load_feature),
15377         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15378         * gst/registries/gstxmlregistry.c:
15379         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15380         * gst/schedulers/threadscheduler.c:
15381         * libs/gst/control/dparammanager.h:
15382         * tools/gst-inspect.c: (print_element_list),
15383         (print_plugin_features), (print_element_features):
15384         * tools/gst-xmlinspect.c: (print_element_list),
15385         (print_plugin_info), (main):
15386         Removed plugable schedulers.
15387         Removed Scheduler/Manager from elements.
15388         Removed gsttypes.h, rearranged includes.
15389         Removed dependency pad<->element, element<>pipeline, and
15390         various others,  fix includes.
15391         implement gst_pad_get_parent() with gst_object_get_parent()
15392         Make GstTask sefcontained.
15393         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15394         timeout.
15395         Fix endless loop in iterator_fold_with_resync.
15396
15397
15398 2005-07-18  Wim Taymans  <wim@fluendo.com>
15399
15400         * gst/Makefile.am:
15401         * gst/gstarch.h:
15402         Remove old file.
15403
15404 2005-07-18  Wim Taymans  <wim@fluendo.com>
15405
15406         * gst/Makefile.am:
15407         No more cothreads.h
15408
15409 2005-07-18  Wim Taymans  <wim@fluendo.com>
15410
15411         * gst/cothreads.c:
15412         * gst/cothreads.h:
15413         Let's remove these.
15414
15415 2005-07-18  Wim Taymans  <wim@fluendo.com>
15416
15417         * docs/design/part-dynamic.txt:
15418         * docs/design/part-events.txt:
15419         * docs/design/part-seeking.txt:
15420         Some more docs in the works.
15421
15422         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15423         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15424         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15425         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15426         (gst_base_transform_handle_buffer),
15427         (gst_base_transform_sink_activate_push),
15428         (gst_base_transform_src_activate_pull),
15429         (gst_base_transform_set_passthrough),
15430         (gst_base_transform_is_passthrough):
15431         Refcounting fixes.
15432
15433         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15434         Cleanups.
15435
15436         * gst/gstevent.c: (gst_event_finalize):
15437         Set SRC to NULL.
15438
15439         * gst/gstutils.c: (gst_element_unlink),
15440         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15441         (gst_pad_proxy_setcaps):
15442         * gst/gstutils.h:
15443         Add _get_parent_element() to get a pads parent as an element.
15444
15445 2005-07-18  Wim Taymans  <wim@fluendo.com>
15446
15447         * check/gst/gstbin.c: (GST_START_TEST):
15448         Remove bogus test.
15449
15450 2005-07-18  Wim Taymans  <wim@fluendo.com>
15451
15452         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15453         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15454         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15455         (gst_base_sink_event), (gst_base_sink_do_sync),
15456         (gst_base_sink_chain), (gst_base_sink_loop),
15457         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15458         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15459         Refcounting fixes.
15460         Fix logic for returning ASYNC when not prerolled.
15461
15462 2005-07-18  Wim Taymans  <wim@fluendo.com>
15463
15464         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15465         Fix nasty refcount bug.
15466
15467 2005-07-16 Philippe Khalaf <burger@speedy.org>
15468
15469         * gst/elements/gstfdsrc.c:
15470         * gst/elements/gstfdsrc.h:
15471         * gst/elements/gstelements.c:
15472         * gst/elements/Makefile.am:
15473         Ported fdsrc to 0.9.
15474
15475 2005-07-16  Wim Taymans  <wim@fluendo.com>
15476
15477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15478         (gst_base_sink_do_sync):
15479         Fix compile error.
15480
15481 2005-07-16  Wim Taymans  <wim@fluendo.com>
15482
15483         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15484         (gst_base_sink_event), (gst_base_sink_get_times),
15485         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15486         * gst/base/gstbasesink.h:
15487         Store and use discont values when syncing buffers as described
15488         in design docs.
15489         
15490         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15491         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15492         (gst_base_src_activate_push):
15493         Push discont event when starting.
15494
15495         * gst/elements/gstidentity.c: (gst_identity_transform):
15496         Small cleanups.
15497
15498         * gst/gstbin.c: (gst_bin_change_state):
15499         Small cleanups in base_time  distribution.
15500
15501         * gst/gstelement.c: (gst_element_set_base_time),
15502         (gst_element_get_base_time), (gst_element_change_state):
15503         * gst/gstelement.h:
15504         Added methods for the base_time of the element.
15505         Some MT fixes.
15506
15507         * gst/gstpipeline.c: (gst_pipeline_send_event),
15508         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15509         (gst_pipeline_get_last_stream_time):
15510         * gst/gstpipeline.h:
15511         MT fixes.
15512         Handle seeking as described in design doc, remove stream_time
15513         hack.
15514         Cleanups clock and stream_time selection code. Added accessors
15515         for the stream_time.
15516         
15517
15518 2005-07-16  Andy Wingo  <wingo@pobox.com>
15519
15520         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15521         (#305291).
15522
15523 2005-07-16  Wim Taymans  <wim@fluendo.com>
15524
15525         * check/gst/gstbin.c: (GST_START_TEST):
15526         Make elements silent as the deep_notify refs the
15527         parent, which might make the test fail.
15528
15529         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15530         Don't hold the lock for too long.
15531
15532 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15533
15534         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15535           Don't unref the caps we passed to gst_caps_make_writable() after
15536           passing them. gst_caps_make_writable() will do that for us.
15537
15538 2005-07-15  Andy Wingo  <wingo@pobox.com>
15539
15540         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15541         (#157311).
15542
15543         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15544         own marshalling function for the handoff signal. Properly type the
15545         buffer as a buffer. Fixes some warnings. Should do a more general
15546         solution.
15547         (gst_identity_class_init): Plug into the right marshaller.
15548
15549 2005-07-15  Wim Taymans  <wim@fluendo.com>
15550
15551         * docs/design/part-TODO.txt:
15552         * docs/design/part-clocks.txt:
15553         * docs/design/part-element-sink.txt:
15554         * docs/design/part-events.txt:
15555         * docs/design/part-gstpipeline.txt:
15556         Updated docs, mostly DISCONT related.
15557
15558 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15559
15560         * docs/pwg/building-pads.xml:
15561           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15562
15563 2005-07-15  Andy Wingo  <wingo@pobox.com>
15564
15565         * tools/gst-typefind.c: Update, add copyright block.
15566
15567         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15568         Normalize and truncate caps before fixation.
15569
15570         * gst/gstcaps.h:
15571         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15572         discards all but the first structure from its argument.
15573
15574 2005-07-15  Wim Taymans  <wim@fluendo.com>
15575
15576         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15577         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15578         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15579         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15580         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15581         (gst_base_transform_chain), (gst_base_transform_change_state),
15582         (gst_base_transform_set_passthrough),
15583         (gst_base_transform_is_passthrough):
15584         * gst/base/gstbasetransform.h:
15585         Make passthrough work using the bufferpools.
15586         Changed API a bit, subclasses have to write into a buffer
15587         provided by the base class.
15588         More debug info in nego functions.
15589         
15590         * gst/elements/gstidentity.c: (gst_identity_init),
15591         (gst_identity_transform):
15592         Port to new base class.
15593
15594 2005-07-15  Wim Taymans  <wim@fluendo.com>
15595
15596         * gst/gstmessage.c: (gst_message_new_state_changed):
15597         * tools/gst-launch.c: (event_loop), (main):
15598         Totally dump messages in -launch with the -m option.
15599         Fix message name for State messages,
15600
15601 2005-07-14  Wim Taymans  <wim@fluendo.com>
15602
15603         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15604         Post error messages on errors.
15605
15606 2005-07-14  Wim Taymans  <wim@fluendo.com>
15607
15608         * gst/gstcaps.c: (gst_caps_do_simplify):
15609         Remove debug info.
15610
15611         * gst/gsterror.h:
15612         Define error for stream stopped.
15613
15614         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15615         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15616         Do proper return values.
15617
15618         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15619         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15620         (gst_pad_get_range):
15621         Better return values.
15622
15623         * gst/gstpad.h:
15624         Reorganise return values, add macro to check for fatal errors.
15625
15626         * gst/gstqueue.c: (gst_queue_chain):
15627         Return proper GstFlowReturn values,
15628
15629 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15630
15631         * docs/gst/gstreamer-sections.txt:
15632         * docs/gst/gstreamer.types:
15633         * docs/gst/tmpl/gst.sgml:
15634         * docs/gst/tmpl/gstbasesink.sgml:
15635         * docs/gst/tmpl/gstbasesrc.sgml:
15636         * docs/gst/tmpl/gstbasetransform.sgml:
15637         * docs/gst/tmpl/gstbin.sgml:
15638         * docs/gst/tmpl/gstbuffer.sgml:
15639         * docs/gst/tmpl/gstcaps.sgml:
15640         * docs/gst/tmpl/gstclock.sgml:
15641         * docs/gst/tmpl/gstcompat.sgml:
15642         * docs/gst/tmpl/gstconfig.sgml:
15643         * docs/gst/tmpl/gstelement.sgml:
15644         * docs/gst/tmpl/gstelementdetails.sgml:
15645         * docs/gst/tmpl/gstelementfactory.sgml:
15646         * docs/gst/tmpl/gstenumtypes.sgml:
15647         * docs/gst/tmpl/gsterror.sgml:
15648         * docs/gst/tmpl/gstevent.sgml:
15649         * docs/gst/tmpl/gstfakesink.sgml:
15650         * docs/gst/tmpl/gstfakesrc.sgml:
15651         * docs/gst/tmpl/gstfilesink.sgml:
15652         * docs/gst/tmpl/gstfilesrc.sgml:
15653         * docs/gst/tmpl/gstfilter.sgml:
15654         * docs/gst/tmpl/gstformat.sgml:
15655         * docs/gst/tmpl/gstghostpad.sgml:
15656         * docs/gst/tmpl/gstimplementsinterface.sgml:
15657         * docs/gst/tmpl/gstindex.sgml:
15658         * docs/gst/tmpl/gstindexfactory.sgml:
15659         * docs/gst/tmpl/gstinfo.sgml:
15660         * docs/gst/tmpl/gstiterator.sgml:
15661         * docs/gst/tmpl/gstmacros.sgml:
15662         * docs/gst/tmpl/gstmemchunk.sgml:
15663         * docs/gst/tmpl/gstminiobject.sgml:
15664         * docs/gst/tmpl/gstobject.sgml:
15665         * docs/gst/tmpl/gstpad.sgml:
15666         * docs/gst/tmpl/gstpadtemplate.sgml:
15667         * docs/gst/tmpl/gstparse.sgml:
15668         * docs/gst/tmpl/gstpipeline.sgml:
15669         * docs/gst/tmpl/gstplugin.sgml:
15670         * docs/gst/tmpl/gstpluginfeature.sgml:
15671         * docs/gst/tmpl/gstquery.sgml:
15672         * docs/gst/tmpl/gstqueue.sgml:
15673         * docs/gst/tmpl/gstregistry.sgml:
15674         * docs/gst/tmpl/gstregistrypool.sgml:
15675         * docs/gst/tmpl/gstscheduler.sgml:
15676         * docs/gst/tmpl/gstschedulerfactory.sgml:
15677         * docs/gst/tmpl/gststructure.sgml:
15678         * docs/gst/tmpl/gstsystemclock.sgml:
15679         * docs/gst/tmpl/gsttaglist.sgml:
15680         * docs/gst/tmpl/gsttagsetter.sgml:
15681         * docs/gst/tmpl/gsttrace.sgml:
15682         * docs/gst/tmpl/gsttrashstack.sgml:
15683         * docs/gst/tmpl/gsttypefind.sgml:
15684         * docs/gst/tmpl/gsttypefindfactory.sgml:
15685         * docs/gst/tmpl/gsttypes.sgml:
15686         * docs/gst/tmpl/gsturihandler.sgml:
15687         * docs/gst/tmpl/gsturitype.sgml:
15688         * docs/gst/tmpl/gstutils.sgml:
15689         * docs/gst/tmpl/gstvalue.sgml:
15690         * docs/gst/tmpl/gstversion.sgml:
15691         * docs/gst/tmpl/gstxml.sgml:
15692         * docs/libs/tmpl/gstcontrol.sgml:
15693         * docs/libs/tmpl/gstdataprotocol.sgml:
15694         * docs/libs/tmpl/gstdparam.sgml:
15695         * docs/libs/tmpl/gstdplinint.sgml:
15696         * docs/libs/tmpl/gstdpman.sgml:
15697         * docs/libs/tmpl/gstdpsmooth.sgml:
15698         * docs/libs/tmpl/gstgetbits.sgml:
15699         * docs/libs/tmpl/gstunitconvert.sgml:
15700         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15701         (gst_push_src_base_init), (gst_push_src_class_init),
15702         (gst_push_src_init), (gst_push_src_create):
15703         * gst/base/gstpushsrc.h:
15704         * gst/elements/gstelements.c:
15705         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15706         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15707         (gst_fake_sink_init), (gst_fake_sink_set_property),
15708         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15709         (gst_fake_sink_event), (gst_fake_sink_preroll),
15710         (gst_fake_sink_render), (gst_fake_sink_change_state):
15711         * gst/elements/gstfakesink.h:
15712         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15713         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15714         (gst_fake_src_base_init), (gst_fake_src_class_init),
15715         (gst_fake_src_init), (gst_fake_src_event_handler),
15716         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15717         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15718         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15719         (gst_fake_src_create_buffer), (gst_fake_src_create),
15720         (gst_fake_src_start), (gst_fake_src_stop):
15721         * gst/elements/gstfakesrc.h:
15722         * gst/elements/gstfilesink.c: (_do_init),
15723         (gst_file_sink_base_init), (gst_file_sink_class_init),
15724         (gst_file_sink_init), (gst_file_sink_dispose),
15725         (gst_file_sink_set_location), (gst_file_sink_set_property),
15726         (gst_file_sink_get_property), (gst_file_sink_open_file),
15727         (gst_file_sink_close_file), (gst_file_sink_query),
15728         (gst_file_sink_event), (gst_file_sink_render),
15729         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15730         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15731         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15732         * gst/elements/gstfilesink.h:
15733         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15734         (gst_file_src_class_init), (gst_file_src_init),
15735         (gst_file_src_finalize), (gst_file_src_set_location),
15736         (gst_file_src_set_property), (gst_file_src_get_property),
15737         (gst_file_src_map_region), (gst_file_src_map_small_region),
15738         (gst_file_src_create_mmap), (gst_file_src_create_read),
15739         (gst_file_src_create), (gst_file_src_is_seekable),
15740         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15741         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15742         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15743         (gst_file_src_uri_handler_init):
15744         * gst/elements/gstfilesrc.h:
15745           more autistic cleanliness in functions/names/defines
15746
15747 2005-07-13  Andy Wingo  <wingo@pobox.com>
15748
15749         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15750         source couldn't negotiate.
15751
15752         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15753         connections again.
15754
15755         * gst/gstutils.h:
15756         * gst/gstutils.c (gst_element_link_pads_filtered): New old
15757         function. I am channeling Hades. Put your boots on suckers!!!
15758
15759 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15760
15761         * testsuite/caps/Makefile.am:
15762         * testsuite/caps/value_compare.c:
15763         * testsuite/caps/value_intersect.c:
15764         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15765           move two testsuite apps over to the check dir
15766
15767 2005-07-12  Wim Taymans  <wim@fluendo.com>
15768
15769         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15770         Added more debug info in the negotiate process.
15771
15772         * gst/gstmessage.h:
15773         Prepare for segment playback.
15774
15775         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15776         Better debugging.
15777
15778         * gst/gstutils.c:
15779         Some more docs.
15780
15781         * tools/gst-launch.c: (main):
15782         NULL pipeline on errors.
15783
15784 2005-07-12  Andy Wingo  <wingo@pobox.com>
15785
15786         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15787         not it comes from a malloc region. Make sure our copy gets freed.
15788
15789 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15790
15791         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15792         * check/gst/gstmessage.c: (GST_START_TEST):
15793         * check/gst/gststructure.c: (GST_START_TEST),
15794         (gst_structure_suite), (main):
15795           more testing
15796         * gst/gstelement.c: (gst_element_message_full):
15797           clean up GError and debug string now that they get copied
15798         * gst/gstmessage.c: (gst_message_new_error),
15799         (gst_message_new_warning), (gst_message_parse_error),
15800         (gst_message_parse_warning):
15801           use GST_TYPE_G_ERROR for structure_new, and take copies of
15802           arguments, so that we don't mess up refcounting
15803
15804 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15805
15806         * check/Makefile.am:
15807           add per-test valgrind targets
15808         * check/gst-libs/gdp.c: (GST_START_TEST),
15809         (gst_data_protocol_suite), (main):
15810           clean up
15811
15812 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15813
15814         * check/Makefile.am:
15815           instate more valgrindable tests
15816         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15817         (GST_START_TEST), (fakesrc_suite):
15818         * check/gst/gstpad.c: (GST_START_TEST):
15819         * check/gst/gststructure.c: (GST_START_TEST):
15820           fix test leaks
15821         * docs/gst/tmpl/gstminiobject.sgml:
15822         * gst/gstpad.c: (gst_pad_finalize):
15823           fix the static mutex leak
15824
15825 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15826
15827         * check/Makefile.am:
15828           add two more tests for valgrinding
15829         * check/gst/gstvalue.c: (GST_START_TEST):
15830           test refcount of deserialized buffer, found a leak
15831         * docs/gst/gstreamer-docs.sgml:
15832         * docs/gst/gstreamer-sections.txt:
15833         * docs/gst/gstreamer.types:
15834         * docs/gst/tmpl/gstminiobject.sgml:
15835           add miniobject to docs
15836         * gst/gstminiobject.c:
15837           add some docs
15838         * gst/gstvalue.c: (gst_value_deserialize_buffer),
15839         (gst_string_unwrap):
15840           fix a hard-to-find invalid write for one of the tests
15841           fix a leak for deserialized buffers
15842
15843 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15844
15845         * docs/pwg/advanced-events.xml:
15846         * docs/pwg/advanced-request.xml:
15847         * docs/pwg/advanced-scheduling.xml:
15848         * docs/pwg/appendix-porting.xml:
15849         * docs/pwg/building-boiler.xml:
15850         * docs/pwg/intro-preface.xml:
15851         * docs/pwg/other-ntoone.xml:
15852           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15853           of example code and explanation for pad activation, loop() and
15854           getrange() functions and a bit more. Remove old comments pointing
15855           to loop-functions.
15856         * examples/pwg/Makefile.am:
15857           Add loop/getrange examples.
15858
15859 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15860
15861         * configure.ac:
15862           check for valgrind binary + some fixes
15863         * check/gst.supp:
15864           valgrind suppressions for the tests
15865         * check/Makefile.am:
15866           add a valgrind: target that valgrinds the unit tests
15867         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15868         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15869         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15870         * check/gst/gstghostpad.c:
15871           added some cleanup
15872         * check/gst/gstdata.c:
15873           removed
15874         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15875         (thread_unref), (gst_mini_object_suite), (main):
15876           added
15877         * gst/gst.c: (gst_deinit):
15878         * gst/gst.h:
15879           add a method to clean up.
15880         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15881         (gst_system_clock_obtain):
15882           allow for disposing the system clock.
15883         * tools/gst-launch.c: (main):
15884           deinit
15885
15886 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15887
15888         * docs/gst/tmpl/gstbasesrc.sgml:
15889         * docs/gst/tmpl/gstfakesrc.sgml:
15890         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15891         (gst_base_src_init), (gst_base_src_set_property),
15892         (gst_base_src_get_property), (gst_base_src_get_range),
15893         (gst_base_src_start):
15894         * gst/base/gstbasesrc.h:
15895           add num-buffers property
15896         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15897         (gst_fakesrc_init), (gst_fakesrc_set_property),
15898         (gst_fakesrc_get_property), (gst_fakesrc_create),
15899         (gst_fakesrc_start):
15900           remove num-buffers property
15901
15902 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15903
15904         * docs/gst/gstreamer-sections.txt:
15905         * docs/gst/tmpl/gstbasesink.sgml:
15906         * docs/gst/tmpl/gstbasesrc.sgml:
15907         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15908         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15909         (gst_base_sink_finalize), (gst_base_sink_set_clock),
15910         (gst_base_sink_set_property), (gst_base_sink_get_property),
15911         (gst_base_sink_handle_object), (gst_base_sink_event),
15912         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15913         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15914         (gst_base_sink_loop), (gst_base_sink_deactivate),
15915         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15916         (gst_base_sink_change_state):
15917         * gst/base/gstbasesink.h:
15918         * gst/base/gstbasesrc.h:
15919         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15920         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15921         (gst_filesink_init):
15922           more macro splitting
15923
15924 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15925
15926         * gst/gstelement.c: (gst_element_get_bus):
15927           add debug
15928         * tools/gst-launch.c: (check_intr), (event_loop):
15929           fix bus leaks
15930
15931 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15932
15933         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15934           fix a caps leak
15935
15936 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15937
15938         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15939         (gst_base_src_finalize):
15940           add finalize method and clean up properly
15941         * gst/gstpipeline.c: (gst_pipeline_dispose):
15942           add debug
15943
15944 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15945
15946         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15947         (gst_bin_suite):
15948           add more things to check
15949         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15950         * gst/gstelement.c:
15951           more debug
15952
15953 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15954
15955         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15956         (GST_START_TEST), (fakesrc_suite):
15957         * check/gst-libs/gdp.c: (GST_START_TEST):
15958         * check/gst/gst.c: (GST_START_TEST):
15959         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15960         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15961         * check/gst/gstbus.c: (GST_START_TEST):
15962         * check/gst/gstcaps.c: (GST_START_TEST):
15963         * check/gst/gstdata.c: (GST_START_TEST):
15964         * check/gst/gstelement.c: (GST_START_TEST):
15965         * check/gst/gstghostpad.c: (GST_START_TEST):
15966         * check/gst/gstiterator.c: (GST_START_TEST):
15967         * check/gst/gstmessage.c: (GST_START_TEST):
15968         * check/gst/gstobject.c: (GST_START_TEST):
15969         * check/gst/gstpad.c: (GST_START_TEST):
15970         * check/gst/gststructure.c: (GST_START_TEST):
15971         * check/gst/gstsystemclock.c: (GST_START_TEST),
15972         (gst_systemclock_suite):
15973         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15974         * check/gst/gstvalue.c: (GST_START_TEST):
15975         * check/pipelines/cleanup.c: (GST_START_TEST):
15976         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15977         * check/states/sinks.c: (GST_START_TEST):
15978         * check/gstcheck.c: (gst_check_init):
15979         * check/gstcheck.h:
15980           add debugging category
15981           use GST_START_TEST now, so we add a debug line
15982
15983 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15984
15985         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15986           add test for state change message on a bin
15987         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15988           add another test
15989         * gst/gstbin.c: (gst_bin_init):
15990         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15991         * gst/gstelement.c: (gst_element_post_message),
15992         (gst_element_set_state):
15993         * gst/gstelementfactory.c: (gst_element_factory_create):
15994         * gst/gstmessage.c: (gst_message_new):
15995         * gst/gstscheduler.c:
15996           various debugging additions and cleanups
15997
15998 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15999
16000         * check/Makefile.am:
16001         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16002         (main):
16003           adding tests for elements
16004         * gst/gstelement.c: (gst_element_dispose):
16005
16006 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16007
16008         * gst/registries/gstlibxmlregistry.c: (load_feature):
16009           plug more leaks.  A simple gst_init() now is leakfree, yay.
16010
16011 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16012
16013         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16014         (gst_xml_registry_load):
16015           plug another memleak
16016
16017 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16018
16019         * configure.ac:
16020           use GST_SET_ERROR_CFLAGS
16021         * docs/faq/cvs.xml:
16022           change to ERROR_CFLAGS
16023
16024 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16025
16026         * configure.ac:
16027           make GST_ERROR_CFLAGS overridable and re-enable Werror
16028         * docs/faq/cvs.xml:
16029           add a note about error CFLAGS
16030         * docs/gst/tmpl/gstfakesrc.sgml:
16031         * gst/elements/gstfakesrc.c:
16032           comment out some unused code
16033         * gst/gst.c: (split_and_iterate):
16034         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16035         (load_feature):
16036           plug some memleaks
16037
16038 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16039
16040         * common/Makefile.am:
16041         * common/gtk-doc.mak:
16042         * docs/gst/Makefile.am:
16043           factor out gtk-doc.mak
16044
16045 2005-07-07  Wim Taymans  <wim@fluendo.com>
16046
16047         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16048         (gst_thread_scheduler_dispose):
16049         Unlock the STREAM_LOCK completely.
16050
16051 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16052
16053         * check/Makefile.am:
16054         * check/elements/.cvsignore:
16055         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16056         (START_TEST), (fakesrc_suite), (main):
16057         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16058         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16059         (gst_fakesrc_create), (gst_fakesrc_start):
16060         * gst/elements/gstfakesrc.h:
16061           adding a first element test
16062
16063 2005-07-07  Andy Wingo  <wingo@pobox.com>
16064
16065         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16066         debug message.
16067
16068 2005-07-07  Wim Taymans  <wim@fluendo.com>
16069
16070         * gst/gstquery.c:
16071         * gst/gstquery.h:
16072         Remove old types
16073
16074 2005-07-07  Wim Taymans  <wim@fluendo.com>
16075
16076         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16077         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16078         Allow subclasses to implement their own negotiation.
16079
16080 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16081
16082         * docs/design/part-gstbin.txt:
16083         * docs/design/part-gstpipeline.txt:
16084           Update design notes to reflect the movement of
16085           responsibility for bus handling from GstPipeline to
16086           GstBin
16087
16088 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16089
16090         * configure.ac:
16091           Remove unnecessary queue2/3/4 examples.
16092
16093 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16094
16095         * examples/Makefile.am:
16096         * examples/helloworld/helloworld.c: (event_loop), (main):
16097         * examples/queue/queue.c: (event_loop), (main):
16098         * examples/queue2/queue2.c: (main):
16099           Update a couple of the examples to work again.
16100
16101         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16102         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16103          Spelling corrections and extra debug.
16104         
16105         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16106         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16107         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16108         * gst/gstbin.h:
16109         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16110         (gst_pipeline_change_state):
16111         * gst/gstpipeline.h:
16112           Move the bus handler for children to the GstBin, and create a
16113           separate bus for receiving messages from children to the one the
16114           bus sends 'upwards' on.
16115
16116 2005-07-06  Wim Taymans  <wim@fluendo.com>
16117
16118         * gst/base/README:
16119         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16120         (gst_base_sink_handle_object), (gst_base_sink_loop),
16121         (gst_base_sink_change_state):
16122         * gst/base/gstbasesink.h:
16123         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16124         (gst_base_src_init), (gst_base_src_setcaps),
16125         (gst_base_src_getcaps), (gst_base_src_loop),
16126         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16127         (gst_base_src_start), (gst_base_src_change_state):
16128         * gst/base/gstbasesrc.h:
16129         Make basesrc negotiate.
16130         Handle the case where preroll fails in basesink.
16131         Update README.
16132
16133 2005-07-06  Wim Taymans  <wim@fluendo.com>
16134
16135         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16136         Implement the fixate function.
16137         Clean up acceptcaps.
16138
16139 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16140
16141         * docs/pwg/building-filterfactory.xml:
16142         * docs/pwg/pwg.xml:
16143           Remove never-written filter-factory chapter; I'll add the various
16144           base classes to part 4 ("other element types") later on.
16145
16146 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16147
16148         * docs/pwg/advanced-negotiation.xml:
16149         * docs/pwg/building-boiler.xml:
16150         * docs/pwg/building-pads.xml:
16151         * docs/pwg/pwg.xml:
16152         * examples/pwg/Makefile.am:
16153           Add a chapter on caps negotiation, simplify the original code
16154           samples a bit w.r.t. caps negotiation, add link to the advanced
16155           section. Add a bunch of examples showing different use cases of
16156           different types of caps negotiation. Upstream renegotiation isn't
16157           fully documented yet since nobody knows how that works.
16158
16159 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16160
16161         * check/gst/gstpad.c:
16162         * check/gstcheck.c:
16163         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16164           if pad has no parent, return NULL as list of internal links
16165
16166 2005-07-05  Andy Wingo  <wingo@pobox.com>
16167
16168         * gst/elements/gstfilesrc.c:
16169         * gst/elements/gstfakesrc.c: 
16170         * gst/base/gstpushsrc.c:
16171         * gst/base/gstbasesrc.h: 
16172         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16173         
16174 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16175
16176         * Makefile.am:
16177           better report generation target (lcov needs a patch)
16178
16179 2005-07-05  Andy Wingo  <wingo@pobox.com>
16180
16181         * gst/elements, testsuite: Null if we got it...
16182
16183 2005-07-05  Wim Taymans  <wim@fluendo.com>
16184
16185         * configure.ac:
16186         * libs/gst/dataprotocol/Makefile.am:
16187         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16188         * libs/gst/dataprotocol/dataprotocol.h:
16189         * pkgconfig/Makefile.am:
16190         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16191         * pkgconfig/gstreamer-dataprotocol.pc.in:
16192         Ported dataprotol to 0.9. 
16193         Added pkgconfig files.
16194
16195 2005-07-05  Andy Wingo  <wingo@pobox.com>
16196
16197         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16198         Default to returning TRUE for the case when tranform_caps returns
16199         a fixed caps, like for identity or volume.
16200
16201         * check/gst/gstbus.c (pound_bus_with_messages): 
16202         * check/gst/gstmessage.c (START_TEST): 
16203         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16204         message API change.
16205
16206         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16207         logic weaks here: always run transform_caps, trying passthrough
16208         operation only if the original caps intersects with the transform.
16209
16210         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16211         source and sink caps.
16212
16213         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16214         Intersect the peer caps with the pad template before going into
16215         transform_caps.
16216         (gst_base_transform_transform_caps): More debugging.
16217
16218         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16219         src argument.
16220
16221 2005-07-04  Edward Hervey  <edward@fluendo.com>
16222
16223         * gst/gstutils.c:
16224         * gst/gstutils.h:
16225         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16226         in bindings.
16227
16228 2005-07-04  Andy Wingo  <wingo@pobox.com>
16229
16230         * check/gst/gstpad.c: Only set explicit caps on pads.
16231
16232 2005-07-01  Andy Wingo  <wingo@pobox.com>
16233
16234         * tests/network-clock.scm: Commentary update.
16235
16236         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16237         Didn't really make sense, not implementable with basetransform,
16238         etc.
16239         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16240         attempt at implementing the sync property, needs an unlock method.
16241
16242         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16243         New func, by default returns the same caps (the identity
16244         transformation).
16245         (gst_base_transform_getcaps): Uses transform_caps to return
16246         something sensible.
16247         (gst_base_transform_setcaps): Complicated logic to get caps on
16248         both pads, even if they are different, and to call set_caps once
16249         for every time both pads get their caps set.
16250         (gst_base_transform_handle_buffer): Give the ref to the transform
16251         function. Allows in-place modification of the buffer.
16252
16253         * gst/base/gstbasetransform.h (transform_caps): New class method.
16254         Given caps on one side, what can I do on the other.
16255         (set_caps): Take two caps, one for each side of the element.
16256
16257         * gst/gstpad.h:
16258         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16259         caps in place. This is safe because we can check the mutability of
16260         the caps, and a good idea because fixate functions are just called
16261         as a matter of last resort. (Not actually implemented.)
16262         (gst_pad_set_caps): If the caps we're setting is actually the same
16263         as the existing pad caps, just update the pointer without calling
16264         setcaps. Assert that caps is either NULL or fixed, as per the
16265         docs.
16266
16267         * gst/gstghostpad.c: Update for fixate changes.
16268
16269 2005-07-02  Andy Wingo  <wingo@pobox.com>
16270
16271         * gst/gstcaps.c:
16272         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16273         two refcounts makes it immutable, which is enough. Doc more.
16274
16275 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16276
16277         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16278           Put the mini_object into GValue as a mini_object,
16279           not a gpointer, since that's how we declared
16280           the signal.
16281
16282 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16283
16284         * examples/pwg/Makefile.am:
16285           Fix buildbot again.
16286
16287 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16288
16289         * docs/pwg/building-testapp.xml:
16290           Add extra check.
16291         * examples/pwg/Makefile.am:
16292           Fix buildbot.
16293
16294 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16295
16296         * configure.ac:
16297         * examples/Makefile.am:
16298         * examples/pwg/Makefile.am:
16299         * examples/pwg/extract.pl:
16300           Enable building the PWG examples.
16301         * docs/pwg/advanced-interfaces.xml:
16302           Add URI interface stub.
16303         * docs/pwg/advanced-types.xml:
16304         * docs/pwg/other-autoplugger.xml:
16305         * docs/pwg/appendix-porting.xml:
16306         * docs/pwg/pwg.xml:
16307           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16308         * docs/pwg/building-boiler.xml:
16309         * docs/pwg/building-chainfn.xml:
16310         * docs/pwg/building-pads.xml:
16311         * docs/pwg/building-props.xml:
16312         * docs/pwg/building-state.xml:
16313         * docs/pwg/building-testapp.xml:
16314           Update the building-*.xml parts for 0.9 changes. All examples
16315           code blocks compile in examples/pwg/*.
16316
16317 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16318
16319         * docs/manual/advanced-autoplugging.xml:
16320         * docs/manual/appendix-checklist.xml:
16321         * docs/manual/appendix-integration.xml:
16322         * docs/manual/highlevel-components.xml:
16323           Fix playbin/decodebin examples, update docs a bit, mention bus
16324           instead of signals in various places, mention kmplayer and
16325           kaffeine since they have a working GStreamer backend in the KDE
16326           section.
16327
16328 2005-06-30  Wim Taymans  <wim@fluendo.com>
16329
16330         * CHANGES-0.9:
16331         * docs/design/draft-ghostpads.txt:
16332         * docs/design/draft-push-pull.txt:
16333         * docs/design/draft-query.txt:
16334         * docs/design/part-TODO.txt:
16335         * docs/design/part-query.txt:
16336         Added CHANGES-0.9 doc, updated status of other docs.
16337         
16338         * gst/gstquery.h:
16339         Remove "hmm" macro
16340
16341 2005-06-30  Wim Taymans  <wim@fluendo.com>
16342
16343         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16344         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16345         (gst_base_sink_change_state):
16346         * gst/base/gstbasesink.h:
16347         Some tweaks, only EOS and a buffer complete a preroll.
16348
16349 2005-06-30  Andy Wingo  <wingo@pobox.com>
16350
16351         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16352         activate_push down to the internal pad as well.
16353
16354 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16355
16356         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16357
16358         * gst/gsttaginterface.c:
16359           Some documentation fixes (#307394 and #307397).
16360
16361 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16362
16363         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16364
16365         * gst/gstvalue.c: (gst_value_intersect_list):
16366           Fix memleak (#309125).
16367
16368 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16369
16370         * docs/manual/advanced-dataaccess.xml:
16371           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16372         * docs/manual/basics-pads.xml:
16373           Add reference for filtered caps to above chapter.
16374
16375 2005-06-30  Wim Taymans  <wim@fluendo.com>
16376
16377         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16378         (gst_bin_change_state):
16379         Probes are gone.
16380         Lame attempt at making the state change function a bit
16381         more readable.
16382
16383 2005-06-30  Wim Taymans  <wim@fluendo.com>
16384
16385         * docs/design/part-clocks.txt:
16386         * docs/design/part-element-sink.txt:
16387         * docs/design/part-events.txt:
16388         * docs/design/part-preroll.txt:
16389         * docs/design/part-states.txt:
16390         Some more tweeks and additions to the docs.
16391
16392 2005-06-30  Wim Taymans  <wim@fluendo.com>
16393
16394         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16395         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16396         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16397         (gst_pad_check_pull_range), (gst_pad_get_range),
16398         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16399         * gst/gstpad.h:
16400         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16401         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16402         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16403         (gst_pad_remove_buffer_probe):
16404         Removed atomic operations, use existing LOCK.
16405         Move exception handling out of main code path.
16406
16407 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16408
16409         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16410         (silly_return_true_function), (gst_pad_class_init),
16411         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16412         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16413         (gst_pad_send_event):
16414           Fix accumulator, add default value by using _emitv() instead
16415           of _emit() for signal emission.
16416
16417 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16418
16419         * docs/manual/advanced-dataaccess.xml:
16420         * examples/manual/Makefile.am:
16421           Add probe example.
16422         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16423           Make work (??).
16424
16425 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16426
16427         * gst/elements/gstfilesink.c: (gst_filesink_render):
16428           Simplify code so that we don't have to handle short
16429           writes and return GST_FLOW_ERROR if an error occured.
16430
16431 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16432
16433         * docs/gst/gstreamer-docs.sgml:
16434           Remove probes more.
16435
16436 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16437
16438         * docs/gst/gstreamer-sections.txt:
16439         * docs/gst/tmpl/gstpad.sgml:
16440         * docs/gst/tmpl/gstprobe.sgml:
16441         * gst/Makefile.am:
16442         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16443         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16444         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16445         (gst_pad_push_event), (gst_pad_send_event):
16446         * gst/gstpad.h:
16447         * gst/gstutils.c: (gst_pad_add_data_probe),
16448         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16449         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16450         (gst_pad_remove_buffer_probe):
16451         * gst/gstutils.h:
16452           Remove old probes, add new g-signal-based probes and some utility
16453           functions.
16454
16455 2005-06-29  Edward Hervey  <edward@fluendo.com>
16456
16457         * gst/gstelementfactory.c:
16458         * gst/gstutils.h:
16459         * gst/gstutils.c:
16460         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16461         the definition to the header file.
16462
16463 2005-06-29  Andy Wingo  <wingo@pobox.com>
16464
16465         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16466         plugins from the source directory.
16467
16468 2005-06-29  Wim Taymans  <wim@fluendo.com>
16469
16470         * docs/gst/tmpl/gstbuffer.sgml:
16471         * docs/gst/tmpl/gstclock.sgml:
16472         Some fixings for blantently wrong text.
16473
16474 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16475
16476         * check/Makefile.am:
16477         * gst/gst.c: (add_path_func), (init_pre):
16478         * gst/gstregistry.c: (gst_registry_add_path):
16479           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16480           only scan the GST_PLUGIN_PATH locations, and not add
16481           system locations
16482
16483 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16484
16485         * docs/gst/gstreamer-sections.txt:
16486         * docs/gst/tmpl/gstbasesrc.sgml:
16487         * gst/gstelement.c:
16488         * gst/gstelement.h:
16489         * gst/gstevent.c:
16490         * gst/gstutils.c:
16491           doc fixes
16492
16493 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16494
16495         * docs/manual/advanced-autoplugging.xml:
16496           Fix autoplugging example.
16497
16498 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16499
16500         * docs/manual/advanced-autoplugging.xml:
16501         * docs/manual/mime-world.fig:
16502           Try to get autoplugging working, fix type detection. Fix text
16503           in hello-world image.
16504
16505 2005-06-29  Wim Taymans  <wim@fluendo.com>
16506
16507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16508         (gst_base_sink_change_state):
16509         Small debug line.
16510
16511         * gst/gstclock.h:
16512         map SIGNAL and BROADCAST to the right function.
16513
16514         * gst/gstobject.h:
16515         Remove redundant braces.
16516
16517         * gst/gstpad.c: (gst_pad_set_caps):
16518         Don't call setcaps function when reseting caps to NULL.
16519
16520         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16521         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16522         (gst_system_clock_id_unschedule):
16523         Use BROADCAST as this is what we do.
16524
16525 2005-06-29  Wim Taymans  <wim@fluendo.com>
16526
16527         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16528         We are actually prerolling before commiting the state
16529         change. 
16530
16531 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16532
16533         * docs/manual/advanced-clocks.xml:
16534         * docs/manual/advanced-interfaces.xml:
16535         * docs/manual/advanced-metadata.xml:
16536         * docs/manual/advanced-position.xml:
16537         * docs/manual/advanced-schedulers.xml:
16538         * docs/manual/advanced-threads.xml:
16539         * docs/manual/appendix-porting.xml:
16540         * docs/manual/basics-bins.xml:
16541         * docs/manual/basics-bus.xml:
16542         * docs/manual/basics-elements.xml:
16543         * docs/manual/basics-helloworld.xml:
16544         * docs/manual/basics-pads.xml:
16545         * docs/manual/highlevel-components.xml:
16546         * docs/manual/manual.xml:
16547         * docs/manual/thread.fig:
16548           Update (until threads/scheduling) Application Development Manual;
16549           remove GstThread, add GstBus, add simple porting checklist, add
16550           documentation for tag writing, clocks, make all examples until this
16551           part compile and run.
16552         * examples/manual/Makefile.am:
16553           Update from changes to Application Development Manual; add bus
16554           example, remove thread example.
16555
16556 2005-06-28  Wim Taymans  <wim@fluendo.com>
16557
16558         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16559         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16560         (gst_bus_source_dispatch):
16561         Add debugging messages.
16562         Make internal methods static.
16563         Handle the case where the bus is flushed in the handler.
16564         
16565         * gst/gstelement.c: (gst_element_get_bus):
16566         Fix refcount in _get_bus();
16567
16568         * gst/gstpipeline.c: (gst_pipeline_change_state),
16569         (gst_pipeline_get_clock_func):
16570         Clock refcounting fixes.
16571         Handle the case where preroll timed out more gracefully.
16572         
16573         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16574         Clean up the internal thread in dispose. This is needed
16575         for subclasses that actually get disposed.
16576         
16577         * gst/schedulers/threadscheduler.c:
16578         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16579         (gst_thread_scheduler_dispose):
16580         Free thread pool in dispose.
16581
16582 2005-06-28  Andy Wingo  <wingo@pobox.com>
16583
16584         * tests/network-clock-utils.scm (debug, print-event): New utils.
16585
16586         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16587         (*packet-loss*): Unified loss probability.
16588         (network-time): Report out-of-band events.
16589
16590         * tests/plot-data: Add support for out-of-band events. Hack it
16591         into this script instead of passing it down the pipe; should fix
16592         this later.
16593
16594 2005-06-28  Wim Taymans  <wim@fluendo.com>
16595
16596         * docs/gst/gstreamer.types:
16597         * docs/gst/tmpl/gstbasesrc.sgml:
16598         * docs/gst/tmpl/gstpad.sgml:
16599         Docs fixes.
16600
16601 2005-06-28  Wim Taymans  <wim@fluendo.com>
16602
16603         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16604         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16605         (gst_proxy_pad_do_fixatecaps):
16606         Correctly proxy the check_pull_range function.
16607
16608 2005-06-28  Andy Wingo  <wingo@pobox.com>
16609
16610         * tests/network-clock.scm: Removed need for slib.
16611         
16612 2005-06-28  Wim Taymans  <wim@fluendo.com>
16613
16614         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16615         (gst_basesink_preroll_queue_flush):
16616         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16617         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16618         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16619         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16620         (gst_proxy_pad_set_property):
16621         * gst/gstpad.c:
16622         * gst/gstpad.h:
16623         * gst/gstqueue.c: (gst_queue_init):
16624         The deprecated pad loop function is removed now.
16625
16626 2005-06-28  Andy Wingo  <wingo@pobox.com>
16627
16628         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16629         New parameters, simulate network packet loss.
16630
16631         * tests/network-clock-utils.scm: Initialize the RNG.
16632
16633 2005-06-28  Wim Taymans  <wim@fluendo.com>
16634
16635         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16636         (gst_basesink_event), (gst_basesink_deactivate):
16637         Flushing the preroll queue always needs to unlock the waiters.
16638
16639 2005-06-28  Edward Hervey  <edward@fluendo.com>
16640
16641         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16642         Wheen a seek was successful on a pipeline, set the stream_time to the
16643         seek offset in order to have a synchronized stream_time.
16644
16645 2005-06-28  Wim Taymans  <wim@fluendo.com>
16646
16647         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16648         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16649         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16650         (gst_proxy_pad_do_fixatecaps):
16651         Call wrapper function instead of just calling the function
16652         pointers. This takes care of any locking and whatmore.
16653
16654 2005-06-28  Wim Taymans  <wim@fluendo.com>
16655
16656         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16657         (gst_pad_pull_range):
16658         * gst/gstpad.h:
16659         CONNECTED -> LINKED.
16660
16661 2005-06-28  Andy Wingo  <wingo@pobox.com>
16662
16663         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16664         source-munging commit!!!
16665
16666         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16667         (gst_object_sink): Take gpointer arguments, not GstObject --
16668         avoids casts. Like GLib.
16669
16670         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16671         activate.
16672
16673 2005-06-27  Andy Wingo  <wingo@pobox.com>
16674
16675         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16676         remaining buffer.
16677
16678         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16679         returns a sorted copy of the trace list.
16680         (gst_alloc_trace_print_live): New API, only prints traces with
16681         live objects. Sort the list.
16682         (gst_alloc_trace_print_all): Sort the list.
16683         (gst_alloc_trace_print): Align columns.
16684
16685         * gst/elements/gstttypefindelement.c:
16686         * gst/elements/gsttee.c:
16687         * gst/base/gstbasesrc.c:
16688         * gst/base/gstbasesink.c:
16689         * gst/base/gstbasetransform.c:
16690         * gst/gstqueue.c: Adapt for pad activation changes.
16691
16692         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16693         sched.
16694         (gst_pipeline_dispose): Drop ref on sched.
16695
16696         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16697         (gst_pad_activate_default): Push mode by default.
16698         (pre_activate_switch, post_activate_switch): New stubs, things to
16699         do before and after switching activation modes on pads.
16700         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16701         the pad's activate function to choose which mode to activate.
16702         Shortcut on deactivation and call the right function directly.
16703         (gst_pad_activate_pull): New API, (de)activates a pad in pull
16704         mode.
16705         (gst_pad_activate_push): New API, same for push mode.
16706         (gst_pad_set_activate_function) 
16707         (gst_pad_set_activatepull_function) 
16708         (gst_pad_set_activatepush_function): Setters for new API.
16709
16710         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16711         Trace all miniobjects.
16712         (gst_mini_object_make_writable): Unref the arg if we copy, like
16713         gst_caps_make_writable.
16714
16715         * gst/gstmessage.c (_gst_message_initialize): No trace init.
16716
16717         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
16718         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16719         Adapt for new pad API.
16720
16721         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16722
16723         * gst/gstelement.h:
16724         * gst/gstelement.c (gst_element_iterate_src_pads) 
16725         (gst_element_iterate_sink_pads): New API functions.
16726         
16727         * gst/gstelement.c (iterator_fold_with_resync): New utility,
16728         should fold into gstiterator.c in some form.
16729         (gst_element_pads_activate): Simplified via use of fold and
16730         delegation of decisions to gstpad->activate.
16731
16732         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16733         help in debugging.
16734
16735         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16736         class once in init, like gstmessage. Didn't run into this issue
16737         but it seems correct. Don't initialize a trace, gstminiobject does
16738         that.
16739
16740         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16741         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16742         to the bus.
16743         (assert_live_count): New util function, uses alloc traces to check
16744         cleanup.
16745
16746         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16747         To be modified when unlink drops the internal pad.
16748
16749 2005-06-27  Wim Taymans  <wim@fluendo.com>
16750
16751         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16752         (gst_bin_change_state):
16753         Cleanup the get_state() function a little, make sure it
16754         iterates the same set of elements.
16755         Added stub iterate_state_order().
16756
16757 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16758
16759         * docs/gst/gstreamer-docs.sgml:
16760         * docs/gst/gstreamer-sections.txt:
16761         * docs/gst/gstreamer.types:
16762         * docs/gst/tmpl/gstbasesink.sgml:
16763         * docs/gst/tmpl/gstbasesrc.sgml:
16764         * docs/gst/tmpl/gstbasetransform.sgml:
16765         * docs/gst/tmpl/gstelement.sgml:
16766         * docs/gst/tmpl/gstiterator.sgml:
16767         * gst/base/gstbasesrc.c:
16768         * gst/base/gstbasesrc.h:
16769         * gst/base/gstbasetransform.h:
16770         * gst/gstelement.c:
16771         * gst/gstiterator.h:
16772           adding basetransform and iterator docs
16773
16774 2005-06-27  Andy Wingo  <wingo@pobox.com>
16775
16776         * docs/design/part-activation.txt: Notes on how activation should
16777         work -- not quite implemented yet.
16778
16779 2005-06-25  Wim Taymans  <wim@fluendo.com>
16780
16781         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16782         At least get the chain function correct, needs more
16783         fixing.
16784
16785 2005-06-25  Wim Taymans  <wim@fluendo.com>
16786
16787         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16788         (gst_basesink_handle_object), (gst_basesink_event),
16789         (gst_basesink_do_sync), (gst_basesink_handle_event),
16790         (gst_basesink_change_state):
16791         * gst/gsttask.h:
16792         Right, two problems here: ghostpads don't take locks and
16793         glib _rec_mutex_lock_full() with depth==0 still locks.
16794         Catch illegal locking and g_warn them.
16795
16796 2005-06-25  Wim Taymans  <wim@fluendo.com>
16797
16798         * check/states/sinks.c: (START_TEST), (gst_object_suite):
16799         Have to check for completion now...
16800
16801 2005-06-25  Wim Taymans  <wim@fluendo.com>
16802
16803         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16804         (gst_basesink_handle_object), (gst_basesink_event),
16805         (gst_basesink_do_sync), (gst_basesink_handle_event),
16806         (gst_basesink_change_state):
16807         * gst/gstpad.h:
16808         Unlock STREAM_LOCK whatever the recursion was.
16809
16810 2005-06-25  Wim Taymans  <wim@fluendo.com>
16811
16812         * gst/base/gstbasesink.c: (gst_basesink_set_property),
16813         (gst_basesink_preroll_queue_empty),
16814         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16815         (gst_basesink_event), (gst_basesink_do_sync),
16816         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16817         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16818         (gst_basesink_change_state):
16819         Reworked the base sink, handle event and buffer serialisation
16820         correctly and removed possible deadlock.
16821         Handle EOS correctly.
16822
16823 2005-06-25  Wim Taymans  <wim@fluendo.com>
16824
16825         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16826         (gst_pipeline_change_state):
16827         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16828         Allow elements to post EOS in the state change function.
16829         Fix up -launch, make it exit the poll loop when the
16830         pipeline actually changed state.
16831         Fix up warning parsing in -launch.
16832
16833 2005-06-25  Wim Taymans  <wim@fluendo.com>
16834
16835         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16836         (gst_tee_sink_activate):
16837         Core takes STREAM_LOCK for us now.
16838
16839 2005-06-25  Wim Taymans  <wim@fluendo.com>
16840
16841         * gst/gstelement.c: (gst_element_get_state_func),
16842         (gst_element_set_state):
16843         * gst/gstelement.h:
16844         * gst/gstmessage.c: (gst_message_parse_error),
16845         (gst_message_parse_warning):
16846         Keep track of current target state while performing a state
16847         change so that subclasses can do something interesting.
16848         Fix parsing of warning/error messages when GError is NULL.
16849
16850 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16851
16852         * docs/gst/Makefile.am:
16853         * docs/gst/gstreamer-docs.sgml:
16854         * docs/gst/gstreamer-sections.txt:
16855         * docs/gst/gstreamer.types:
16856         * docs/gst/tmpl/gstbasesink.sgml:
16857         * docs/gst/tmpl/gstbasesrc.sgml:
16858         * docs/gst/tmpl/gstbin.sgml:
16859         * docs/gst/tmpl/gstcompat.sgml:
16860         * docs/gst/tmpl/gstfakesink.sgml:
16861         * docs/gst/tmpl/gstfakesrc.sgml:
16862         * docs/gst/tmpl/gstfilesink.sgml:
16863         * docs/gst/tmpl/gstfilesrc.sgml:
16864         * docs/gst/tmpl/gstindex.sgml:
16865         * docs/manual/appendix-quotes.xml:
16866         * gst/base/gstbasesrc.h:
16867         * gst/elements/gstfakesrc.h:
16868         * gst/gstmessage.h:
16869           start pulling in base classes and elements in our docs
16870
16871 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
16872
16873         * docs/gst/Makefile.am:
16874         * docs/libs/Makefile.am:
16875           fixed make distcheck with gtk-doc 1.3
16876
16877 2005-06-23  Wim Taymans  <wim@fluendo.com>
16878
16879         * gst/gstelement.c: (gst_element_get_state_func),
16880         (gst_element_set_state), (gst_element_change_state):
16881         When the state did not change, also report NO_PREROLL
16882         when it matters.
16883
16884 2005-06-23  Wim Taymans  <wim@fluendo.com>
16885
16886         * gst/gstpad.c: (gst_pad_event_default):
16887         * gst/gstqueue.c: (gst_queue_loop):
16888         No unsafe task pausing please.
16889
16890 2005-06-23  Wim Taymans  <wim@fluendo.com>
16891
16892         * gst/schedulers/threadscheduler.c:
16893         (gst_thread_scheduler_task_start),
16894         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16895         Ref the task before pushing it on the threadpool. This
16896         makes sure that we have a ref when the threadfunction is
16897         actually called.
16898
16899 2005-06-23  Andy Wingo  <wingo@pobox.com>
16900
16901         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16902         offset is greater than the file's size.
16903
16904         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
16905         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16906         * gst/gstobject.c (gst_object_class_init): Make the class lock
16907         recursive. Wim won't let me drop deep_notify. Decodebin works
16908         again, whoopdy doo.
16909
16910         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16911         internal pad, and hacks accordingly. Doesn't do it on the target
16912         pad because we change its caps. Probably catches all cases of
16913         interest tho.
16914         (gst_ghost_pad_set_property): Connect to notify::caps as
16915         appropritate.
16916
16917         * tests/network-clock.scm (plot-simulation): Pipe data to the
16918         elite python skript.
16919
16920         * tests/network-clock-utils.scm (define-parameter): New macro,
16921         defines a parameter that can be set via the command line.
16922         (set-parameter!, parse-parameter-arguments): Command line args
16923         parser.
16924
16925         * tests/plot-data: Simple matplotlib-based plotter, takes input on
16926         stdin.
16927
16928 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
16929
16930         * gst/elements/gsttypefindelement.c:
16931         (gst_type_find_element_handle_event):
16932           Don't restart typefinding on a discont.
16933         * gst/gstelement.c: (gst_element_set_state):
16934           Debug spelling fix.
16935         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16936           Allow changing mode of an active pad.
16937           Debug output fixes.
16938         * gst/registries/gstlibxmlregistry.c: (load_feature):
16939           Don't cast a static pad template to a normal pad template.
16940
16941 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16942
16943         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16944         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16945           remove gst_strtoll completely, since it didn't actually do
16946           anything more than what g_ascii_strtoull already does.
16947           check for range errors when deserializing
16948           do a cast for the unsigned cases; but further fixing needs
16949           a decision on what the interpretation of "(int)" and
16950           deserialization should be for values that fall outside the
16951           type's boundaries (ie, refuse, or interpret as casting)
16952
16953 2005-06-23  Wim Taymans  <wim@fluendo.com>
16954
16955         * check/Makefile.am:
16956         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16957         * docs/design/part-live-source.txt:
16958         * docs/design/part-states.txt:
16959         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16960         (gst_basesrc_set_live), (gst_basesrc_is_live),
16961         (gst_basesrc_get_range), (gst_basesrc_activate),
16962         (gst_basesrc_change_state):
16963         * gst/base/gstbasesrc.h:
16964         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16965         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16966         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16967         * gst/gstelement.c: (gst_element_get_state_func),
16968         (gst_element_set_state):
16969         * gst/gstelement.h:
16970         * gst/gsttypes.h:
16971         * tools/gst-launch.c: (event_loop), (main):
16972         Added support for live sources and other elements that
16973         cannot do preroll.
16974         Updated design docs, added live-source design doc.
16975         Implemented live source functionality in basesrc
16976         Fix error condition in _bin_get_state()
16977         Implement live source handling in -launch.
16978         Added check for live sources.
16979         Fixed case in GstBin where elements were changed state
16980         multiple times.
16981
16982
16983 2005-06-23  Andy Wingo  <wingo@pobox.com>
16984
16985         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16986         borken refcounting.
16987
16988         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16989         gst_caps_replace takes care of this for us.
16990
16991         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16992         gst_pad_set_caps on the target, not just its setcaps() function.
16993
16994         * tests/network-clock.scm: 
16995         * tests/network-clock-utils.scm: A network clock simulator.
16996         Something of an algorithmic testbed before doing something in C.
16997
16998 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16999
17000         * check/Makefile.am:
17001         * check/gst/capslist.h:
17002           copy over from 0.8, and add two with bitmasks specified with
17003           (int) 0xFF...
17004         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17005           add test to parse everything from capslist.h
17006         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17007         (main):
17008           add test for structure deserialization
17009         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17010           add tests for deserialization of strings to int types
17011         * gst/gststructure.c: (gst_structure_nth_field_name):
17012         * gst/gststructure.h:
17013           add a way to get the name of a field referenced by index
17014         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17015           instead of checking if the resulting long long lies between
17016           min and max, we check if the long long would fit into
17017           a number of bytes for the final type.
17018           This fixes cases where a string represents 2^32 - 1, which
17019           when cast to int would be the (valid) -1, but is bigger than
17020           G_MAXINT
17021
17022 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17023
17024         * gst/parse/grammar.y:
17025           add a log line for type deserialization
17026
17027 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17028
17029         * check/gst/gstvalue.c: (START_TEST):
17030         * gst/gstvalue.c: (gst_value_deserialize):
17031           return long long, not int, so gint64 deserialization actually
17032           works.  Is there any flag that makes the compiler check this ?
17033           Fixes #308559
17034
17035 2005-06-22  Wim Taymans  <wim@fluendo.com>
17036
17037         * gst/gstbuffer.h:
17038         Added convenience macros for setting buffers in GValue.
17039
17040 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17041
17042         * check/gst/.cvsignore:
17043         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17044           add a test deserializing int64, and comment part out because
17045           it fails, yay !
17046
17047 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17048
17049         * check/Makefile.am:
17050         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17051         * testsuite/Makefile.am:
17052         * testsuite/caps/Makefile.am:
17053         * testsuite/caps/value_serialize.c:
17054         * testsuite/test_gst_init.c:
17055           move a value_serialize test over
17056
17057 2005-06-20  Wim Taymans  <wim@fluendo.com>
17058
17059         * gst/gstpad.c:
17060         Small doc updates.
17061         
17062         * gst/gstvalue.c: (gst_value_compare_buffer),
17063         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17064         (gst_value_compare_flags), (gst_value_serialize_flags),
17065         (gst_value_deserialize_flags), (_gst_value_initialize):
17066         Fix serialisation of buffers, they are not boxed types anymore
17067
17068 2005-06-20  Wim Taymans  <wim@fluendo.com>
17069
17070         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17071         Testcase to show error in buffer-on-caps serialisation.
17072
17073 2005-06-20  Andy Wingo  <wingo@pobox.com>
17074
17075         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17076         will be adding to later.
17077
17078         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17079         if its socks fill with rocks.
17080         (gst_system_clock_obtain): Set the name on object construction.
17081         Avoid double-checked locking.
17082
17083 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17084
17085         * gst/gsturi.c: (gst_element_make_from_uri):
17086           Fix potential endless loop.
17087
17088 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17089
17090         * check/Makefile.am:
17091           add gsttag
17092         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17093         (main):
17094           move over from testsuite dir and clean up
17095         * configure.ac:
17096         * gst/gsttag.c:
17097         * testsuite/Makefile.am:
17098         * testsuite/tags/.cvsignore:
17099         * testsuite/tags/Makefile.am:
17100         * testsuite/tags/merge.c:
17101           remove testsuite/tags
17102
17103 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17104
17105         * docs/gst/gstreamer-sections.txt:
17106         * docs/gst/tmpl/gstenumtypes.sgml:
17107         * win32/gstenumtypes.c:
17108           clean up documentation build a little
17109
17110 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17111
17112         * check/gstcheck.h:
17113           add macros for checking refcounts on objects and caps
17114         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17115           add some more unit tests
17116         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17117         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17118           fix leaked refcounts (I hope :)) so unittest works
17119         * gst/gstpad.h:
17120           whitespace removal
17121
17122 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17123
17124         * configure.ac: back to HEAD
17125
17126 === release 0.9.1 ===
17127
17128 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17129
17130         * NEWS:
17131         * RELEASE:
17132           updated
17133
17134 2005-06-17  Andy Wingo  <wingo@pobox.com>
17135
17136         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17137         assert; it's always possible that the pad gets deactivated in
17138         between the checks in gstpad.c and the implementation. Rely on
17139         finish_preroll() to return a FLUSHING or similar instead of on the
17140         assert.
17141         
17142         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17143         clock and post an EOS message if we come out of finish_preroll in
17144         the playing state.
17145
17146 2005-06-16  David Schleef  <ds@schleef.org>
17147
17148         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17149         (gst_capsfilter_set_property): Allow NULL as possible value
17150         for filter_caps property, indicating GST_CAPS_ANY.
17151
17152 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17153
17154         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17155           fix debug output
17156         * gst/schedulers/Makefile.am:
17157           use libgst prefix
17158         * gstreamer.spec.in:
17159           fix spec for it
17160
17161 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17162
17163         * gstreamer.spec.in:
17164           clean up
17165
17166 2005-06-08  Andy Wingo  <wingo@pobox.com>
17167
17168         * gst/gstutils.c: RPAD fixes all around.
17169         (gst_element_link_pads): Refcounting fixes.
17170
17171         * tools/gst-inspect.c:
17172         * tools/gst-xmlinspect.c:
17173         * parse/grammar.y:
17174         * gst/base/gsttypefindhelper.c:
17175         * gst/base/gstbasesink.c:
17176         * gst/gstqueue.c: RPAD fixes.
17177
17178         * gst/gstghostpad.h:
17179         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17180         pads. The tricky thing is they provide both source and sink
17181         interfaces, since they proxy the internal pad for the external
17182         pad, and vice versa. Implement with lower-level ProxyPad objects,
17183         with the interior proxy pad as a child of the exterior ghost pad.
17184         Should write a doc on this.
17185         
17186         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17187         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17188         gst_object API.
17189         
17190         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17191         pads are real pads. No ghost pads in this file. Not documenting
17192         the myriad s/RPAD/PAD/ and REALIZE fixes.
17193         (gst_pad_class_init): Add properties for "direction" and
17194         "template". Both are construct-only, so they can't change during
17195         the life of the pad. Fixes properly deriving from GstPad.
17196         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17197         derived objects, just set properties when creating the objects via
17198         g_object_new.
17199         (gst_pad_get_parent): Implement as a function, return NULL if the
17200         parent is not an element.
17201         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17202         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17203         
17204         * gst/gstobject.c (gst_object_class_init): Make name a construct
17205         property. Don't set it in the object init.
17206
17207         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17208         with UNKNOWN direction.
17209         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17210         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17211         (gst_element_remove_pad): Remove ghost-pad special cases.
17212         (gst_element_pads_activate): Remove rpad cruft.
17213
17214         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17215         catch the pad's-parent-not-an-element case.
17216
17217         * gst/gst.h: Include gstghostpad.h.
17218
17219         * gst/gst.c (init_post): No more real, ghost pads.
17220
17221         * gst/Makefile.am: Add gstghostpad.[ch].
17222
17223         * check/Makefile.am:
17224         * check/gst/gstbin.c:
17225         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17226         into a bin creates ghost pads, and that the refcounts are right.
17227         Partly moved from gstbin.c.
17228
17229 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17230
17231         * check/gst-libs/.cvsignore:
17232         * check/gst/.cvsignore:
17233         * check/pipelines/.cvsignore:
17234           ignore more
17235         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17236         (START_TEST), (cleanup_suite), (main):
17237           add some tests related to cleanup after running pipelines
17238
17239 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17240
17241         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17242           add a testsuite for GstBuffer
17243
17244 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17245
17246         * gst/gstminiobject.h:
17247           add defines for accessing the refcount
17248
17249 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17250
17251         * Makefile.am: added support for html unit test coverage reports
17252
17253 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17254
17255         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17256           Free existing caps if the capsfilter changes. Add a FIXME about
17257           setting those caps on the pads.
17258
17259         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17260           Before adding a ghost pad to a parent bin, check that there isn't
17261           already one for the element on the bin. Prevents infinite recursion
17262           when using decodebin in parse pipelines. Andy says he'll rewrite the
17263           way this works anyway, so ignore the hack.
17264
17265 2005-06-02  Andy Wingo  <wingo@pobox.com>
17266
17267         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17268         file size, pass it on to the type find helper.
17269
17270         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17271         segment_start and segment_end properly according to the seek
17272         method. Segment_end is still a bit flaky because offset can be
17273         negative for CUR and END cases, but it takes -1 as an "unset"
17274         value.
17275
17276 2005-06-02  Wim Taymans  <wim@fluendo.com>
17277
17278         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17279         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17280         (gst_basesink_activate):
17281         * gst/base/gstbasesink.h:
17282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17283         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17284         (gst_pad_query), (gst_pad_start_task):
17285         * gst/gstpad.h:
17286         * gst/gstqueue.c: (gst_queue_bufferalloc),
17287         (gst_queue_handle_sink_event), (gst_queue_chain):
17288         Bufferalloc: return GstFlowReturn to more accuratly report
17289         why allocation failed.
17290
17291 2005-06-02  Wim Taymans  <wim@fluendo.com>
17292
17293         * gst/gstpipeline.c: (gst_pipeline_send_event):
17294         Take snapshot of state without blocking.
17295
17296 2005-06-02  Wim Taymans  <wim@fluendo.com>
17297
17298         * docs/design/part-TODO.txt:
17299         * docs/design/part-caps.txt:
17300         * docs/design/part-clocks.txt:
17301         * docs/design/part-negotiation.txt:
17302         * docs/design/part-preroll.txt:
17303         Small doc updates 
17304
17305 2005-05-30  Wim Taymans  <wim@fluendo.com>
17306
17307         * gst/elements/gstidentity.c: (gst_identity_event),
17308         (gst_identity_transform), (gst_identity_get_property):
17309         Protect last_message property as it is accessed from
17310         multiple threads.
17311
17312 2005-05-30  Wim Taymans  <wim@fluendo.com>
17313
17314         * gst/gstelement.c: (gst_element_init),
17315         (gst_element_pads_activate), (gst_element_change_state):
17316         Slicker pad activation code.
17317
17318 2005-05-30  Wim Taymans  <wim@fluendo.com>
17319
17320         * gst/Makefile.am:
17321         * gst/gstelement.h:
17322         * gst/gstelementfactory.h:
17323         * gst/gsttypes.h:
17324         Move elementfactory methods to separate .h file.
17325
17326 2005-05-30  Wim Taymans  <wim@fluendo.com>
17327
17328         * docs/design/part-overview.txt:
17329         * gst/gstsystemclock.h:
17330         Small typo fixes, doc updates.
17331
17332 2005-05-30  Wim Taymans  <wim@fluendo.com>
17333
17334         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17335         (init_popt_callback):
17336         Remove cpu-opt flag.
17337
17338 2005-05-30  Wim Taymans  <wim@fluendo.com>
17339
17340         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17341         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17342         * gst/gstbuffer.h:
17343         Avoid typechecking in places where not needed.
17344         Added accessor for malloc_data.
17345
17346 2005-05-30  Wim Taymans  <wim@fluendo.com>
17347
17348         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17349         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17350         (gst_pad_configure_sink), (gst_pad_configure_src),
17351         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17352         (gst_pad_start_task):
17353         Propagate errors from _set_caps() in configure_src/sink
17354         functions instead of returning TRUE.
17355         FLUSH events can travel up and downstream
17356
17357
17358 2005-05-30  Wim Taymans  <wim@fluendo.com>
17359
17360         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17361         (gst_basesink_activate):
17362         Handle EOS in preroll.
17363
17364 2005-05-30  Wim Taymans  <wim@fluendo.com>
17365
17366         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17367         (gst_queue_loop), (gst_queue_handle_src_event):
17368         Remove old pieces of code
17369         Flushing the queue in an upstream event is a very bad idea.
17370
17371 2005-05-26  Andy Wingo  <wingo@pobox.com>
17372
17373         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17374         gst_value_set_mini_object so as to add a ref on the object (which
17375         will be removed when the value is unset).
17376
17377         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17378         arg type in ::handoff.
17379
17380         * gst/gstelement.c (gst_element_change_state): Also deactivate
17381         pads in READY->NULL, just in case the element didn't make it to
17382         PAUSED. Wingo tested, Wim approved.
17383
17384 2005-05-26  Wim Taymans  <wim@fluendo.com>
17385
17386         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17387         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17388         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17389         A flushing pad cannot be used to alloc_buffer from.
17390
17391 2005-05-26  Wim Taymans  <wim@fluendo.com>
17392
17393         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17394         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17395         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17396         (gst_bus_create_watch), (gst_bus_add_watch_full):
17397         * gst/gstbus.h:
17398         Implement a real GSource and use g_main_context_wakeup() to
17399         signal new messages instead of the socketpair.
17400
17401 2005-05-25  Wim Taymans  <wim@fluendo.com>
17402
17403         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17404         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17405         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17406         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17407         (gst_pad_send_event), (gst_pad_start_task):
17408         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17409         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17410         (gst_queue_sink_activate), (gst_queue_src_activate),
17411         (gst_queue_change_state):
17412         * gst/gstqueue.h:
17413         Fix state changes for non sinks. We now change sinks, then elements
17414         with unconnected srcpads, then the rest.
17415         More efficient queue unlocking in flush and state changes.
17416         Set the pad activate mode even if it does not have an activate
17417         function.
17418
17419 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17420
17421         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17422           Don't go in pull mode for non-seekable sources.
17423         * gst/elements/gsttypefindelement.h:
17424         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17425         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17426         (free_entry), (stop_typefinding),
17427         (gst_type_find_element_handle_event), (find_peek),
17428         (gst_type_find_element_chain), (do_pull_typefind),
17429         (gst_type_find_element_change_state):
17430           Allow typefinding (w/o seeking) in push-mode, simplified version
17431           of what was in 0.8.
17432         * gst/gstutils.c: (gst_buffer_join):
17433         * gst/gstutils.h:
17434           gst_buffer_join() from 0.8.
17435
17436 2005-05-25  Wim Taymans  <wim@fluendo.com>
17437
17438         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17439         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17440         (gst_pad_send_event), (gst_pad_start_task):
17441         Disable attempt at mode switching until it is figured out.
17442
17443 2005-05-25  Wim Taymans  <wim@fluendo.com>
17444
17445         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17446         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17447         (gst_basesink_finish_preroll), (gst_basesink_chain),
17448         (gst_basesink_loop), (gst_basesink_activate),
17449         (gst_basesink_change_state):
17450         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17451         (gst_basesrc_get_range), (gst_basesrc_loop),
17452         (gst_basesrc_activate):
17453         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17454         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17455         (gst_real_pad_init), (gst_real_pad_set_property),
17456         (gst_real_pad_get_property), (gst_pad_set_active),
17457         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17458         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17459         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17460         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17461         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17462         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17463         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17464         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17465         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17466         (gst_pad_stop_task):
17467         * gst/gstpad.h:
17468         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17469         (gst_queue_loop), (gst_queue_src_activate):
17470         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17471         (gst_task_get_state):
17472         * gst/gsttask.h:
17473         * gst/schedulers/threadscheduler.c:
17474         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17475         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17476         in task function.
17477         Remove ACTIVE pad flag, use FLUSHING everywhere
17478         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17479         functions.
17480         Add locks around IS_FLUSHING when reading.
17481         Take STREAM lock in chain(), get_range() functions so plugins
17482         don't need to take it anymore.
17483         
17484
17485
17486 2005-05-25  Wim Taymans  <wim@fluendo.com>
17487
17488         * tools/gst-launch.c: (event_loop):
17489         Unref message after using its contents instead of
17490         before.
17491
17492 2005-05-24  Wim Taymans  <wim@fluendo.com>
17493
17494         * docs/design/draft-ghostpads.txt:
17495         * docs/design/draft-push-pull.txt:
17496         * docs/design/draft-query.txt:
17497         * docs/design/part-overview.txt:
17498         Docs updates, added general overview doc.
17499
17500 2005-05-21  David Schleef  <ds@schleef.org>
17501
17502         * docs/gst/tmpl/old/GstBin.sgml:
17503         * docs/gst/tmpl/old/GstBuffer.sgml:
17504         * docs/gst/tmpl/old/GstCaps.sgml:
17505         * docs/gst/tmpl/old/GstClock.sgml:
17506         * docs/gst/tmpl/old/GstCompat.sgml:
17507         * docs/gst/tmpl/old/GstData.sgml:
17508         * docs/gst/tmpl/old/GstElement.sgml:
17509         * docs/gst/tmpl/old/GstEvent.sgml:
17510         * docs/gst/tmpl/old/GstIndex.sgml:
17511         * docs/gst/tmpl/old/GstStructure.sgml:
17512         * docs/gst/tmpl/old/GstTag.sgml:
17513         * docs/gst/tmpl/old/cothreads.sgml:
17514         * docs/gst/tmpl/old/cothreads_compat.sgml:
17515         * docs/gst/tmpl/old/gettext.sgml:
17516         * docs/gst/tmpl/old/gobject2gtk.sgml:
17517         * docs/gst/tmpl/old/grammar.tab.sgml:
17518         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17519         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17520         * docs/gst/tmpl/old/gst_private.sgml:
17521         * docs/gst/tmpl/old/gstaggregator.sgml:
17522         * docs/gst/tmpl/old/gstarch.sgml:
17523         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17524         * docs/gst/tmpl/old/gstbufferstore.sgml:
17525         * docs/gst/tmpl/old/gstdata_private.sgml:
17526         * docs/gst/tmpl/old/gstdisksink.sgml:
17527         * docs/gst/tmpl/old/gstdisksrc.sgml:
17528         * docs/gst/tmpl/old/gstelementfactory.sgml:
17529         * docs/gst/tmpl/old/gstextratypes.sgml:
17530         * docs/gst/tmpl/old/gstfakesink.sgml:
17531         * docs/gst/tmpl/old/gstfakesrc.sgml:
17532         * docs/gst/tmpl/old/gstfdsink.sgml:
17533         * docs/gst/tmpl/old/gstfdsrc.sgml:
17534         * docs/gst/tmpl/old/gstfilesink.sgml:
17535         * docs/gst/tmpl/old/gstfilesrc.sgml:
17536         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17537         * docs/gst/tmpl/old/gstidentity.sgml:
17538         * docs/gst/tmpl/old/gstindexfactory.sgml:
17539         * docs/gst/tmpl/old/gstmarshal.sgml:
17540         * docs/gst/tmpl/old/gstmd5sink.sgml:
17541         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17542         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17543         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17544         * docs/gst/tmpl/old/gstpipefilter.sgml:
17545         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17546         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17547         * docs/gst/tmpl/old/gstshaper.sgml:
17548         * docs/gst/tmpl/old/gstspider.sgml:
17549         * docs/gst/tmpl/old/gstspideridentity.sgml:
17550         * docs/gst/tmpl/old/gststatistics.sgml:
17551         * docs/gst/tmpl/old/gsttee.sgml:
17552         * docs/gst/tmpl/old/gsttimecache.sgml:
17553         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17554         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17555         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17556         * docs/gst/tmpl/old/types.sgml:
17557           I didn't intend to add these or check them in.
17558
17559 2005-05-19  David Schleef  <ds@schleef.org>
17560
17561         * configure.ac: Use -no-common everywhere.  In a sane world, it
17562           would be the default in libtool, because without it, you can't
17563           build DLLs on Windows.
17564         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17565         * docs/gst/gstreamer-sections.txt:
17566         * docs/gst/tmpl/gstcpu.sgml:
17567         * docs/gst/tmpl/gstdata.sgml:
17568         * docs/gst/tmpl/gstthread.sgml:
17569
17570 2005-05-19  David Schleef  <ds@schleef.org>
17571
17572         * gst/gstminiobject.c: (gst_value_set_mini_object),
17573         (gst_value_take_mini_object), (gst_value_get_mini_object):
17574         * gst/gstminiobject.h: Add GValue set/get functions.
17575
17576 2005-05-19  Wim Taymans  <wim@fluendo.com>
17577
17578         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17579         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17580         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17581         * gst/gstbuffer.h:
17582         * gst/gstbus.c: (gst_bus_post):
17583         * gst/gstelement.c: (gst_element_get_random_pad):
17584         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17585         Make subbufer unref the parent in finalize.
17586         some more debugging info.
17587
17588
17589 2005-05-19  Wim Taymans  <wim@fluendo.com>
17590
17591         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17592         (gst_basesink_init), (gst_basesink_finalize),
17593         (gst_basesink_activate), (gst_basesink_change_state):
17594         Don't free preroll queue too early.
17595
17596 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17597
17598         * gst/Makefile.am:
17599         * gst/ROADMAP:
17600           Hi, I'm outdated. Please shoot me.
17601
17602 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17603
17604         * gst/gstpipeline.c: (gst_pipeline_send_event):
17605           Do not access variables after they have been deleted.
17606
17607 2005-05-19  Wim Taymans  <wim@fluendo.com>
17608
17609         * tools/gst-inspect.c: (print_plugin_features):
17610         A plugin feature does unfortunatly not use the
17611         object name yet...
17612
17613 2005-05-18  Wim Taymans  <wim@fluendo.com>
17614
17615         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17616         Port _span() functions to new subbuffers.
17617
17618 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17619
17620         * gst/gstbin.c: (gst_bin_add_func):
17621           Fix clock settery in bins when adding kids after the clock has
17622           been selected.
17623
17624 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17625
17626         * gst/elements/gstidentity.c: (gst_identity_class_init):
17627           Workaround until signals support GstMiniObject.
17628
17629 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17630
17631         * gst/gstbuffer.c:
17632         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17633
17634 2005-05-18  Wim Taymans  <wim@fluendo.com>
17635
17636         * gst/base/Makefile.am:
17637         * gst/base/gstadapter.c: (gst_adapter_base_init),
17638         (gst_adapter_class_init), (gst_adapter_init),
17639         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17640         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17641         (gst_adapter_flush), (gst_adapter_available),
17642         (gst_adapter_available_fast):
17643         * gst/base/gstadapter.h:
17644         Ported and added adapter to the base classes.
17645
17646 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17647
17648         * gst/gst.c:
17649         * gst/gstmessage.c:
17650           Make sure the class is reffed/unreffed once before threads can be
17651           used.  Fixes #304551.
17652
17653 2005-05-17  Wim Taymans  <wim@fluendo.com>
17654
17655         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17656         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17657         * gst/gstminiobject.c: (gst_mini_object_get_type),
17658         (gst_mini_object_free):
17659         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17660         (gst_pad_push), (gst_pad_push_event):
17661         * gst/gstqueue.c: (gst_queue_change_state):
17662         Don't queue buffers in basesink when we are flushing.
17663         Unref buffer when flushing in basesink.
17664         Flush queue when going to READY
17665         Unref buffer when _push() returns an error.
17666         Don't free MiniObject instance when refcount is incremented
17667         in _finalize() so that we can recover objects.
17668
17669 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17670
17671         * docs/manual/advanced-schedulers.xml:
17672         * docs/manual/appendix-checklist.xml:
17673         * docs/pwg/advanced-clock.xml:
17674         * docs/pwg/advanced-interfaces.xml:
17675         * docs/pwg/advanced-request.xml:
17676         * docs/pwg/advanced-types.xml:
17677         * docs/pwg/intro-preface.xml:
17678         * examples/plugins/example.c: (gst_example_get_type),
17679         (gst_example_class_init), (gst_example_chain),
17680         (gst_example_set_property), (gst_example_get_property),
17681         (gst_example_change_state), (plugin_init):
17682         * examples/plugins/example.h:
17683           small doc fixes
17684
17685 2005-05-17  Wim Taymans  <wim@fluendo.com>
17686
17687         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17688         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17689         * gst/gstqueue.c: (gst_queue_change_state):
17690         Clear queue when going to READY.
17691         Remove IN_SETCAPS flag too.
17692
17693 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17694
17695         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17696           Remove implicit cast from gboolean to GstElementStateReturn;
17697           make sure we still return failure in paused => ready case if
17698           the parent class fails to change state and our own stop 
17699           vfunc succeeds.
17700
17701 2005-05-17  Wim Taymans  <wim@fluendo.com>
17702
17703         * tools/gst-launch.c: (event_loop):
17704         Message was unreffed too soon.
17705
17706 2005-05-16  Andy Wingo  <wingo@pobox.com>
17707
17708         * gst/gstbin.c (sink_iterator_filter): Err... um...
17709
17710         * check/gst/gstbin.c (test_ghost_pads): New test for the
17711         ghosting-if-elements-not-in-same-bin behavior.
17712
17713 2005-05-16  David Schleef  <ds@schleef.org>
17714
17715         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17716         accessing refcount directly.
17717
17718 2005-05-15  David Schleef  <ds@schleef.org>
17719
17720         * check/Makefile.am: remove GstData checks
17721         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17722         * gst/Makefile.am: add miniobject, remove data
17723         * gst/gst.h: add miniobject, remove data
17724         * gst/gstdata.c: remove
17725         * gst/gstdata.h: remove
17726         * gst/gstdata_private.h: remove
17727         * gst/gsttypes.h: remove GstEvent and GstMessage
17728         * gst/gstelement.c: (gst_element_post_message): fix for API changes
17729         * gst/gstmarshal.list: change BOXED -> OBJECT
17730
17731         Implement GstMiniObject.
17732         * gst/gstminiobject.c:
17733         * gst/gstminiobject.h:
17734
17735         Modify to be subclasses of GstMiniObject.
17736         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17737         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17738         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17739         (gst_subbuffer_get_type), (gst_subbuffer_init),
17740         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17741         (gst_buffer_span):
17742         * gst/gstbuffer.h:
17743         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17744         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17745         (_gst_event_copy), (gst_event_new):
17746         * gst/gstevent.h:
17747         * gst/gstmessage.c: (_gst_message_initialize),
17748         (gst_message_get_type), (gst_message_class_init),
17749         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17750         (gst_message_new), (gst_message_new_error),
17751         (gst_message_new_warning), (gst_message_new_tag),
17752         (gst_message_new_state_changed), (gst_message_new_application):
17753         * gst/gstmessage.h:
17754         * gst/gstprobe.c: (gst_probe_perform),
17755         (gst_probe_dispatcher_dispatch):
17756         * gst/gstprobe.h:
17757         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17758         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17759         (_gst_query_copy), (gst_query_new):
17760
17761         Update elements for GstData -> GstMiniObject changes
17762         * gst/gstquery.h:
17763         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17764         (gst_queue_chain), (gst_queue_loop):
17765         * gst/elements/gstbufferstore.c:
17766         (gst_buffer_store_add_buffer_func),
17767         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17768         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17769         (gst_fakesink_render):
17770         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17771         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17772         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17773         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17774         (gst_filesrc_create_read):
17775         * gst/elements/gstidentity.c: (gst_identity_class_init):
17776         * gst/elements/gsttypefindelement.c:
17777         (gst_type_find_element_src_event), (free_entry_buffers),
17778         (gst_type_find_element_handle_event):
17779         * libs/gst/dataprotocol/dataprotocol.c:
17780         (gst_dp_header_from_buffer):
17781         * libs/gst/dataprotocol/dataprotocol.h:
17782         * libs/gst/dataprotocol/dp-private.h:
17783
17784 2005-05-15  David Schleef  <ds@schleef.org>
17785
17786         * gst/elements/gstelements.c: Don't include headers that were
17787         just removed.
17788
17789 2005-05-15  David Schleef  <ds@schleef.org>
17790
17791         * gst/elements/Makefile.am: Remove some elements that don't
17792         need to be in the core (or even exist at all).
17793         * gst/elements/gstaggregator.c:
17794         * gst/elements/gstaggregator.h:
17795         * gst/elements/gstmd5sink.c:
17796         * gst/elements/gstmd5sink.h:
17797         * gst/elements/gstmultifilesrc.c:
17798         * gst/elements/gstmultifilesrc.h:
17799         * gst/elements/gstpipefilter.c:
17800         * gst/elements/gstpipefilter.h:
17801         * gst/elements/gstshaper.c:
17802         * gst/elements/gstshaper.h:
17803         * gst/elements/gststatistics.c:
17804         * gst/elements/gststatistics.h:
17805         * po/POTFILES.in: Remove above files.
17806
17807 2005-05-14  Andy Wingo  <wingo@pobox.com>
17808
17809         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17810         so as to get the refs right.
17811         (sink_iterator_filter): New function, wraps bin_element_is_sink,
17812         unreffing objects that don't pass the filter.
17813
17814         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17815         gst_element_set_bus.
17816         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17817         normal cases, this will destroy the bus.
17818
17819         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17820         object.
17821
17822         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17823         has no sinks.
17824
17825 2005-05-13  Andy Wingo  <wingo@pobox.com>
17826
17827         * gst/gstutils.c (gst_element_link_pads): Instead of calling
17828         gst_pad_link, call pad_link_maybe_ghosting,
17829         (pad_link_maybe_ghosting): Links pads, making sure that the
17830         elements being linked are in the same bin.
17831         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17832         Helpers for pad_link_maybe_ghosting.
17833
17834 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17835
17836         * configure.ac:
17837           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17838
17839 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17840
17841         * docs/design/part-element-source.txt:
17842           Mention GstPushSrc
17843
17844 2005-05-12  Wim Taymans  <wim@fluendo.com>
17845
17846         * gst/base/gstbasesink.c: (gst_basesink_init),
17847         (gst_basesink_activate):
17848         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17849         (gst_basesrc_is_seekable):
17850         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17851         (bin_element_is_sink), (gst_bin_change_state):
17852         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17853         * gst/gstelement.h:
17854         Identify sinks by their flag to avoid overly complicated
17855         checks (fow now).
17856         Do state changes even for elements not reachable from the
17857         sinks.
17858         BaseSink is a sink now :)
17859         Some more debugging info in the basesrc.
17860
17861
17862 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17863
17864         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17865           Implement _query on a bin, similar to _send_event.
17866
17867 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
17868
17869         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17870           Discont event offset format should be GST_FORMAT_BYTES,
17871           not GST_FORMAT_TIME.
17872
17873 2005-05-12  Wim Taymans  <wim@fluendo.com>
17874
17875         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17876         Same fix as Ronald's but without the signal. 
17877
17878 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17879
17880         * gst/gstutils.c: (gst_element_query_position):
17881           No, an element is not a pad.
17882
17883 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17884
17885         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17886         (gst_bin_get_state):
17887           If a child is removed from a bin while we remove the child from
17888           the bin and while we're retrieving its state, signal this to the
17889           get_state function so we abort the wait (instead of waiting for
17890           a timeout) and can immediately re-iterate over all other elements.
17891
17892 2005-05-12  Wim Taymans  <wim@fluendo.com>
17893
17894         * gst/base/Makefile.am:
17895         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17896         (gst_basesrc_start):
17897         * gst/base/gstbasesrc.h:
17898         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17899         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17900         (gst_pushsrc_init), (gst_pushsrc_create):
17901         * gst/base/gstpushsrc.h:
17902         Added is_seekable to BaseSrc
17903         Added simple PushSrc.
17904
17905 2005-05-11  Wim Taymans  <wim@fluendo.com>
17906
17907         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17908         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17909         (gst_element_link_pads), (gst_element_query_position),
17910         (gst_element_query_convert), (intersect_caps_func),
17911         (gst_pad_query_position), (gst_pad_query_convert):
17912         Fix refcounting in utils function.
17913         No point in trying to activate a pad when it's added, it could
17914         be added from the state change function and then we deadlock, the
17915         element has to decide what to do.
17916
17917 2005-05-10  Andy Wingo  <wingo@pobox.com>
17918
17919         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17920         *all* the arguments.
17921
17922         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17923         stream lock if it's a FLUSH_DONE; normal flushes don't get the
17924         lock (according to the docs -- if this is wrong change the docs).
17925
17926         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17927         flush messages in the NULL state.
17928
17929         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17930         message immediately and return.
17931         (gst_bus_set_flushing): New function. If a bus is flushing, it
17932         flushes out any queued messages and immediately unrefs new
17933         messages. This is so when an element goes to NULL, all of the
17934         unhandled messages coming from it can be freed, and their
17935         references to the element dropped. In other words: message source
17936         ref considered harmful :P
17937
17938         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17939         we're finished with it.
17940
17941         * gst/gstmessage.c (gst_message_new_state_changed): 
17942
17943 2005-05-10  Wim Taymans  <wim@fluendo.com>
17944
17945         * gst/gstvalue.c: (gst_value_compare_flags),
17946         (gst_value_serialize_flags), (gst_value_deserialize_flags),
17947         (_gst_value_initialize):
17948         Added flags serialize/deserialize/compare code.
17949
17950 2005-05-09  Andy Wingo  <wingo@pobox.com>
17951
17952         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17953         Intersect the peer's caps with our caps.
17954
17955 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17956
17957         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17958         * gst/elements/gsttypefindelement.c: (find_peek):
17959           Handle negative offsets better. Fixes decodebin.
17960
17961 2005-05-09  Wim Taymans  <wim@fluendo.com>
17962
17963         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17964         (gst_base_transform_event):
17965         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17966         Implement accept_caps.
17967         Fix silly lock/unlock mismatch in base class.
17968
17969 2005-05-09  Wim Taymans  <wim@fluendo.com>
17970
17971         * docs/design/draft-push-pull.txt:
17972         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17973         * gst/elements/gstfilesink.c: (gst_filesink_init),
17974         (gst_filesink_query):
17975         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17976         (gst_type_find_handle_src_query), (find_element_get_length):
17977         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17978         * gst/gstelement.h:
17979         * gst/gstmessage.c:
17980         * gst/gstmessage.h:
17981         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17982         (gst_real_pad_get_caps_unlocked),
17983         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17984         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17985         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17986         (gst_real_pad_dispose), (gst_real_pad_finalize),
17987         (gst_pad_load_and_link), (gst_pad_save_thyself),
17988         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17989         (gst_pad_check_pull_range), (gst_pad_pull_range),
17990         (gst_pad_template_get_type), (gst_pad_template_class_init),
17991         (gst_pad_template_init), (gst_pad_template_dispose),
17992         (name_is_valid), (gst_static_pad_template_get),
17993         (gst_pad_template_new), (gst_static_pad_template_get_caps),
17994         (gst_pad_template_get_caps), (gst_pad_set_element_private),
17995         (gst_pad_get_element_private), (gst_pad_start_task),
17996         (gst_pad_pause_task), (gst_pad_stop_task),
17997         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17998         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17999         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18000         (gst_ghost_pad_new):
18001         * gst/gstpad.h:
18002         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18003         (gst_query_new_position), (gst_query_set_position),
18004         (gst_query_parse_position), (gst_query_new_convert),
18005         (gst_query_set_convert), (gst_query_parse_convert):
18006         * gst/gstquery.h:
18007         * gst/gstqueryutils.c:
18008         * gst/gstqueryutils.h:
18009         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18010         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18011         (gst_queue_handle_src_query):
18012         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18013         (gst_element_query_position), (gst_element_query_convert),
18014         (intersect_caps_func), (gst_pad_query_position),
18015         (gst_pad_query_convert):
18016         * gst/gstutils.h:
18017         * tools/gst-inspect.c: (print_pad_info):
18018         * tools/gst-xmlinspect.c: (print_element_info):
18019         Remove old query functions. Ported old code.
18020         Added position/convert helper functions to gstutils.
18021         Reordered gstpad.c code, grouping relevant things.
18022         Remove gst_message_new(), always need to speficy a specific
18023         message.
18024
18025
18026 2005-05-09  Andy Wingo  <wingo@pobox.com>
18027
18028         * gst/gstiterator.h: Add some includes.
18029
18030         * gst/gstqueryutils.h: Include more headers.
18031
18032         * gst/gstpad.h:
18033         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18034         some uses of gst_pad_query.
18035
18036         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18037         NULL out parameters.
18038         (gst_query_new_position): New proc, allocates a new position
18039         query.
18040
18041         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18042         gstqueryutils.c to the build.
18043
18044         * gst/gststructure.c (gst_structure_set_valist): Implement with
18045         the generic G_VALUE_COLLECT.
18046         
18047 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18048
18049         * gst/Makefile.am: (gst_headers):
18050         Added gstqueryutils.h to the list of headers to install, that was
18051         a 'nachty' move wingo :)
18052
18053 2005-05-06  Andy Wingo  <wingo@pobox.com>
18054
18055         * gst/gstquery.h
18056         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18057         GstData, init a memchunk.
18058         (standard_definitions): Add a few query types, deprecate a few.
18059         (gst_query_get_type): New proc.
18060         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18061         implementation.
18062         (gst_query_new_application, gst_query_get_structure): New public
18063         procs.
18064
18065         * docs/design/draft-query.txt: Removed LINKS from the query types,
18066         because all the rest can be dispatched to other pads -- seemed
18067         ugly to have a query that couldn't be dispatched. internal_links
18068         is fine as a pad method.
18069
18070         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18071         in gstpad.c, but maintain binary compatibility for the moment.
18072         Will fix before 0.9 is out.
18073
18074         * gst/gstqueryutils.c: 
18075         * gst/gstqueryutils.h: New files, implement 3 methods for each
18076         query type: parse_query, parse_response, and set. Probably need an
18077         allocator as well.
18078
18079         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18080
18081         * gst/elements/gstfilesink.c (gst_filesink_query2):
18082         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18083         query_types, and formats methods.
18084
18085         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18086         (gst_pad_set_query2_function): New functions.
18087         (gst_real_pad_init): Set query2_default as the default query2
18088         function. Basically just dispatches to internally linked pads.
18089
18090         Needs review!
18091         
18092         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18093         without using the atomic operations. Only one thread can possibly
18094         be accessing the data at this point. Changed so as to avoid
18095         gst_atomic operations.
18096
18097 2005-05-06  Wim Taymans  <wim@fluendo.com>
18098
18099         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18100         Also set caps if we use the fallback buffer alloc.
18101
18102 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18103
18104         * docs/gst/Makefile.am:
18105         * docs/gst/gstreamer-docs.sgml:
18106         * docs/gst/gstreamer-sections.txt:
18107         * docs/gst/tmpl/gstatomic.sgml:
18108         * docs/gst/tmpl/gstmemchunk.sgml:
18109         * testsuite/elements/struct_i386.h:
18110         * win32/GStreamer.vcproj:
18111         * win32/Makefile:
18112           Purge GstAtomic stuff from docs and win32 makefiles as well
18113
18114 2005-05-06  Wim Taymans  <wim@fluendo.com>
18115
18116         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18117         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18118         * gst/gstpad.c: (gst_pad_peer_get_caps):
18119         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18120         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18121         (gst_queue_src_activate), (gst_queue_change_state):
18122         * gst/gstqueue.h:
18123         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18124         (intersect_caps_func):
18125         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18126         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18127         Some fixes for the peer_get_caps() change.
18128
18129 2005-05-06  Wim Taymans  <wim@fluendo.com>
18130
18131         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18132         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18133         (gst_basesink_activate):
18134         Actually do something with error codes returned from the push
18135         functions.
18136
18137 2005-05-06  Wim Taymans  <wim@fluendo.com>
18138
18139         * docs/design/part-element-sink.txt:
18140         * docs/design/part-element-source.txt:
18141         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18142         (gst_basesink_event), (gst_basesink_activate):
18143         * gst/base/gstbasesink.h:
18144         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18145         (gst_basesrc_activate):
18146         * gst/base/gstbasesrc.h:
18147         * gst/gstelement.c: (gst_element_pads_activate):
18148         Some more documentation.
18149         Fixed scheduling decision in _pads_activate().
18150
18151 2005-05-05  Andy Wingo  <wingo@pobox.com>
18152
18153         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18154         the test suite.
18155
18156 2005-05-05  Wim Taymans  <wim@fluendo.com>
18157
18158         * gst/base/Makefile.am:
18159         * gst/base/gstbasesink.h:
18160         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18161         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18162         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18163         (gst_collectpads_class_init), (gst_collectpads_init),
18164         (gst_collectpads_finalize), (gst_collectpads_new),
18165         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18166         (find_pad), (gst_collectpads_remove_pad),
18167         (gst_collectpads_is_active), (gst_collectpads_collect),
18168         (gst_collectpads_collect_range), (gst_collectpads_start),
18169         (gst_collectpads_stop), (gst_collectpads_peek),
18170         (gst_collectpads_pop), (gst_collectpads_available),
18171         (gst_collectpads_read), (gst_collectpads_flush),
18172         (gst_collectpads_chain):
18173         * gst/base/gstcollectpads.h:
18174         * gst/elements/Makefile.am:
18175         * gst/elements/gstelements.c:
18176         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18177         (gst_fakesink_get_times), (gst_fakesink_event),
18178         (gst_fakesink_preroll), (gst_fakesink_render):
18179         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18180         (gst_filesink_init), (gst_filesink_set_location),
18181         (gst_filesink_open_file), (gst_filesink_close_file),
18182         (gst_filesink_pad_query), (gst_filesink_event),
18183         (gst_filesink_render), (gst_filesink_change_state):
18184         * gst/elements/gstfilesink.h:
18185         Added object to help in making collect pad based elements.
18186         Ported filesink.
18187         Make event function in sink baseclass return gboolean.
18188
18189 2005-05-05  Wim Taymans  <wim@fluendo.com>
18190
18191         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18192         (gst_bin_get_by_name):
18193         * gst/gstbuffer.h:
18194         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18195         (gst_clock_finalize):
18196         * gst/gstdata.c: (gst_data_replace):
18197         * gst/gstdata.h:
18198         * gst/gstelement.c: (gst_element_request_pad),
18199         (gst_element_pads_activate):
18200         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18201         (gst_object_unref):
18202         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18203         (gst_pad_set_checkgetrange_function),
18204         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18205         (gst_pad_check_pull_range), (gst_pad_pull_range),
18206         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18207         (gst_pad_pause_task), (gst_pad_stop_task):
18208         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18209         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18210         Fix name lookup in GstBin.
18211         Added _data_replace() function and _buffer_replace()
18212         Use finalize method to clean up clock.
18213         Fix refcounting on request pads.
18214         Fix pad schedule mode error.
18215         Some more object refcounting debug info,
18216
18217
18218 2005-05-04  Andy Wingo <wingo@pobox.com>
18219
18220         * check/Makefile.am:
18221         * docs/gst/tmpl/gstatomic.sgml:
18222         * docs/gst/tmpl/gstplugin.sgml:
18223         * gst/base/gstbasesink.c: (gst_basesink_activate):
18224         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18225         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18226         (gst_basesrc_query), (gst_basesrc_set_property),
18227         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18228         (gst_basesrc_activate):
18229         * gst/base/gstbasesrc.h:
18230         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18231         (gst_base_transform_src_activate):
18232         * gst/elements/gstelements.c:
18233         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18234         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18235         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18236         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18237         (gst_type_find_element_checkgetrange),
18238         (gst_type_find_element_activate):
18239         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18240         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18241         (gst_caps_load_thyself):
18242         * gst/gstelement.c: (gst_element_pads_activate),
18243         (gst_element_save_thyself), (gst_element_restore_thyself):
18244         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18245         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18246         * gst/gstpad.h:
18247         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18248         (gst_xml_parse_file), (gst_xml_parse_memory),
18249         (gst_xml_get_element), (gst_xml_make_element):
18250         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18251         (_file_index_id_save_xml), (gst_file_index_commit):
18252         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18253         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18254         (load_paths):
18255         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18256         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18257         * tools/gst-complete.c: (main):
18258         * tools/gst-compprep.c: (main):
18259         * tools/gst-inspect.c: (print_element_properties_info):
18260         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18261         * tools/gst-xmlinspect.c: (print_element_properties):
18262         GCC 4 fixen.
18263         
18264 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18265
18266         * gst/gstplugin.c: (gst_plugin_check_module),
18267         (gst_plugin_check_file), (gst_plugin_load_file):
18268             apply patch from #172526 to make register work on MacOSX
18269
18270 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18271
18272         * docs/gst/tmpl/gstconfig.sgml:
18273         * gst/gstconfig.h.in:
18274           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18275         * testsuite/debug/printf_extension.c: (main):
18276           Do not use GST_PTR_FORMAT on pointers to types with
18277           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18278         * testsuite/elements/property.h:
18279           use correct printf format
18280
18281 2005-05-02  Wim Taymans  <wim@fluendo.com>
18282
18283         * docs/design/draft-push-pull.txt:
18284         * docs/design/draft-query.txt:
18285         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18286         (gst_basesrc_start):
18287         Added draft for new query API.
18288         Added draft for better selecting scheduling methods.
18289         Make basesrc ignore length if the subclass does not support
18290         it.
18291
18292 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18293
18294         * gst/Makefile.am:
18295           possible fixes for automake-1.5 - _LIBADD is reserved
18296
18297 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18298
18299         * docs/faq/Makefile.am:
18300         * docs/manual/Makefile.am:
18301         * docs/manuals.mak:
18302         * docs/pwg/Makefile.am:
18303         * gst/Makefile.am:
18304           possible fixes for automake-1.5
18305
18306 2005-04-28  Wim Taymans  <wim@fluendo.com>
18307
18308         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18309         (gst_basesink_pad_getcaps), (gst_basesink_init),
18310         (gst_basesink_do_sync):
18311         * gst/gstclock.c: (gst_clock_entry_new):
18312         * gst/gstevent.c: (gst_event_discont_get_value):
18313         * gst/gstpipeline.c: (pipeline_bus_handler),
18314         (gst_pipeline_change_state):
18315         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18316         Better debugging of clocking info.
18317         Allow NULL values when getting discont values.
18318
18319 2005-04-27  Wim Taymans  <wim@fluendo.com>
18320
18321         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18322         * check/gst/gstpad.c: (gst_pad_suite):
18323         Increase timeout for checks.
18324
18325 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18326
18327         * check/Makefile.am:
18328           fix the broken rule for cleanup.  Apparently this rule is
18329           only needed on FC2, so maybe this warrants further autotool
18330           inspection.
18331
18332 2005-04-26  Wim Taymans  <wim@fluendo.com>
18333
18334         * gst/gsttrashstack.h:
18335         Ooohh. a nasty one! After having a failed pop() from the stack,
18336         it's possible that the stack is empty. In that case, don't
18337         follow the NULL pointer.
18338
18339 2005-04-25  Wim Taymans  <wim@fluendo.com>
18340
18341         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18342         (gst_pad_set_checkgetrange_function),
18343         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18344         (gst_pad_check_pull_range), (gst_pad_pull_range),
18345         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18346         (gst_pad_pause_task), (gst_pad_stop_task):
18347         * gst/gstplugin.c: (gst_plugin_load):
18348         * gst/gstplugin.h:
18349         Remove gst_library_load as it does more harm than good with
18350         the new g_module flags.
18351         Revert bogus caps template check in pad linking, pad caps
18352         are important when linking not the template, which is more
18353         general than the current caps.
18354
18355 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18356
18357         * gst/autoplug/.cvsignore:
18358         * gst/autoplug/Makefile.am:
18359         * gst/autoplug/gstsearchfuncs.c:
18360         * gst/autoplug/gstsearchfuncs.h:
18361         * gst/autoplug/gstspider.c:
18362         * gst/autoplug/gstspider.h:
18363         * gst/autoplug/gstspideridentity.c:
18364         * gst/autoplug/gstspideridentity.h:
18365         * gst/autoplug/spidertest.c:
18366           Die, spider, die.
18367
18368 2005-04-25  Wim Taymans  <wim@fluendo.com>
18369
18370         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18371         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18372         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18373         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18374         * gst/gstpad.h:
18375         Added stubs for unimplemented functions. 
18376
18377 2005-04-24  David Schleef  <ds@schleef.org>
18378
18379         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18380         please fix.
18381
18382 2005-04-24  David Schleef  <ds@schleef.org>
18383
18384         Convert everything from GstAtomicInt to g_atomic_int_*, and
18385         remove gstatomic.
18386         * gst/Makefile.am:
18387         * gst/gstatomic.c:
18388         * gst/gstatomic.h:
18389         * gst/gstatomic_impl.h:
18390         * gst/gstbuffer.c:
18391         * gst/gstcaps.c:
18392         * gst/gstcaps.h:
18393         * gst/gstclock.c:
18394         * gst/gstclock.h:
18395         * gst/gstdata.c:
18396         * gst/gstdata.h:
18397         * gst/gstdata_private.h:
18398         * gst/gstevent.c:
18399         * gst/gstinfo.c:
18400         * gst/gstinfo.h:
18401         * gst/gstmessage.c:
18402         * gst/gstobject.c:
18403         * gst/gstobject.h:
18404         * gst/gststructure.c:
18405         * gst/gststructure.h:
18406         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18407         * gst/gstutils.h:
18408
18409 2005-04-24  David Schleef  <ds@schleef.org>
18410
18411         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18412         make the regressions tests work.  Remove some code that is no
18413         longer true.
18414         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18415         Disable warning for pads without templates.
18416
18417 2005-04-24  David Schleef  <ds@schleef.org>
18418
18419         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18420         functions that handle filtered links.
18421         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18422         removed functions.
18423         * gst/gstutils.c: Fix/remove utility functions that handle
18424         filtered caps.
18425         * gst/gstutils.h:
18426         * gst/gstvalue.c: Add serialization/deserialization of caps
18427         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18428         requires fixing so that the filter caps notation creates
18429         a capsfilter element and sets the filter_caps property.  I
18430         think everyone probably wants to keep the shorthand notation.
18431         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18432         * docs/gst/tmpl/gstpad.sgml:
18433
18434         * gst/elements/gstelements.c: Register capsfilter element.
18435         * gst/Makefile.am: fix spacing
18436         * docs/random/ds/0.9-suggested-changes: random
18437
18438 2005-04-23  David Schleef  <ds@schleef.org>
18439
18440         * gst/elements/Makefile.am:
18441         * gst/elements/gstcapsfilter.c: New element that acts like an
18442         identity, but filters caps.  Will eventually replace filtered
18443         caps in pad linking.
18444         * gst/gstutils.c: (gst_element_create_all_pads): New function
18445         to create all the ALWAYS pads that are registered with an
18446         element class.  This functionality should eventually be
18447         merged in with GstElement initialization.
18448         * gst/gstutils.h:
18449         * testsuite/trigger/README: part of trigger test code that should
18450         have been checked in a long time ago.
18451
18452 2005-04-23  David Schleef  <ds@schleef.org>
18453
18454         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18455         needed with new versions of libtool (nobody will confirm this),
18456         and hard to carry around.
18457         * gst/autoplug/Makefile.am:
18458         * gst/base/Makefile.am:
18459         * gst/elements/Makefile.am:
18460         * gst/indexers/Makefile.am:
18461         * gst/schedulers/Makefile.am:
18462         * libs/gst/bytestream/Makefile.am:
18463         * libs/gst/control/Makefile.am:
18464         * libs/gst/dataprotocol/Makefile.am:
18465         * libs/gst/getbits/Makefile.am:
18466
18467 2005-04-21  Wim Taymans  <wim@fluendo.com>
18468
18469         * docs/design/draft-push-pull.txt:
18470         * docs/design/part-MT-refcounting.txt:
18471         * docs/design/part-TODO.txt:
18472         * docs/design/part-caps.txt:
18473         * docs/design/part-events.txt:
18474         * docs/design/part-gstbus.txt:
18475         * docs/design/part-gstpipeline.txt:
18476         * docs/design/part-messages.txt:
18477         * docs/design/part-push-pull.txt:
18478         * docs/design/part-query.txt:
18479         Some more docs.
18480
18481 2005-04-21  Wim Taymans  <wim@fluendo.com>
18482
18483         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18484         (gst_message_new), (gst_message_new_error),
18485         (gst_message_new_warning), (gst_message_new_tag),
18486         (gst_message_new_state_changed), (gst_message_new_application),
18487         (gst_message_get_structure):
18488         * gst/gstmessage.h:
18489         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18490         (gst_structure_copy_conditional):
18491         Use parent refcount in GstMessage to ensure GstStructure
18492         consistency.
18493         Cleaned up headers a bit.
18494         
18495
18496 2005-04-20  Wim Taymans  <wim@fluendo.com>
18497
18498         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18499         (gst_basesink_pad_getcaps), (gst_basesink_init),
18500         (gst_basesink_chain_unlocked):
18501         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18502         (gst_type_find_helper):
18503         * gst/elements/gsttypefindelement.c:
18504         (gst_type_find_element_have_type), (gst_type_find_element_init),
18505         (stop_typefinding), (gst_type_find_element_handle_event),
18506         (find_suggest), (gst_type_find_element_chain),
18507         (gst_type_find_element_checkgetrange),
18508         (gst_type_find_element_getrange), (do_typefind),
18509         (gst_type_find_element_activate):
18510         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18511         (gst_buffer_default_free), (gst_buffer_default_copy),
18512         (gst_buffer_set_caps):
18513         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18514         (gst_caps_replace):
18515         * gst/gstmessage.c: (gst_message_new),
18516         (gst_message_new_state_changed):
18517         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18518         (gst_pad_set_checkgetrange_function),
18519         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18520         (gst_pad_set_caps), (gst_pad_check_pull_range),
18521         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18522         * gst/gstpad.h:
18523         * gst/gsttypefind.c: (gst_type_find_register):
18524         Make gst_caps_replace() work like other _replace() functions.
18525         Use _caps_replace() where possible.
18526         Make sure _message_new() initialises its field.
18527         Add gst_static_pad_template_get_caps()
18528
18529
18530 2005-04-18  Andy Wingo  <wingo@pobox.com>
18531
18532         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18533         on the peer, not the pad. I think that was a typo. Pass an extra
18534         arg to see if random access is possible. Activate the pads as
18535         PULL_RANGE if possible.
18536
18537         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18538
18539         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18540         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18541         to PROP_....
18542
18543 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18544
18545         * docs/faq/using.xml:
18546           Add note on gstreamer-properties (#154996).
18547
18548 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18549
18550         * docs/random/bbb/optional-properties:
18551           Some analysis on optional properties.
18552
18553 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18554
18555         * docs/gst/tmpl/gstelementfactory.sgml:
18556         * gst/gstelement.h:
18557         * gst/gstelementfactory.c: (gst_element_factory_init),
18558         (gst_element_factory_cleanup), (gst_element_register),
18559         (__gst_element_factory_add_static_pad_template),
18560         (gst_element_factory_get_static_pad_templates),
18561         (gst_element_factory_can_src_caps),
18562         (gst_element_factory_can_sink_caps):
18563         * gst/registries/Makefile.am:
18564         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18565         (gst_xml_registry_class_init), (gst_xml_registry_init),
18566         (gst_xml_registry_new), (gst_xml_registry_set_property),
18567         (gst_xml_registry_get_property), (get_time), (make_dir),
18568         (gst_xml_registry_get_perms_func),
18569         (plugin_times_older_than_recurse), (plugin_times_older_than),
18570         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18571         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18572         (add_to_char_array), (read_string), (read_uint), (read_enum),
18573         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18574         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18575         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18576         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18577         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18578         (gst_xml_registry_rebuild):
18579         * gst/registries/gstlibxmlregistry.h:
18580         * tools/gst-compprep.c: (main):
18581         * tools/gst-inspect.c: (print_pad_templates_info):
18582         * tools/gst-xmlinspect.c: (print_element_info):
18583           Use libxml2 for registry parsing, use staticpadtemplates in
18584           elementfactories. Makes gst_init() +/- 10x faster.
18585
18586 2005-04-12  Wim Taymans  <wim@fluendo.com>
18587
18588         * gst/base/Makefile.am:
18589         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18590         (gst_basesink_pad_getcaps), (gst_basesink_init),
18591         (gst_basesink_event), (gst_basesink_change_state):
18592         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18593         (gst_basesrc_init), (gst_basesrc_query),
18594         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18595         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18596         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18597         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18598         (gst_basesrc_stop), (gst_basesrc_activate),
18599         (gst_basesrc_change_state):
18600         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18601         (helper_find_suggest), (gst_type_find_helper):
18602         * gst/base/gsttypefindhelper.h:
18603         * gst/elements/Makefile.am:
18604         * gst/elements/gstelements.c:
18605         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18606         (gst_fakesink_get_times), (gst_fakesink_event),
18607         (gst_fakesink_preroll), (gst_fakesink_render):
18608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18609         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18610         (gst_fakesrc_get_property), (gst_fakesrc_create),
18611         (gst_fakesrc_start), (gst_fakesrc_stop):
18612         * gst/elements/gstfakesrc.h:
18613         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18614         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18615         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18616         (gst_filesrc_create_read), (gst_filesrc_create),
18617         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18618         (gst_filesrc_start):
18619         * gst/elements/gsttypefindelement.c:
18620         (gst_type_find_element_have_type), (gst_type_find_element_init),
18621         (start_typefinding), (stop_typefinding), (push_buffer_store),
18622         (gst_type_find_element_handle_event),
18623         (gst_type_find_element_chain),
18624         (gst_type_find_element_checkgetrange),
18625         (gst_type_find_element_getrange), (do_typefind),
18626         (gst_type_find_element_activate),
18627         (gst_type_find_element_change_state):
18628         * gst/elements/gsttypefindelement.h:
18629         * gst/gstpipeline.c: (pipeline_bus_handler):
18630         Added typefind helper.
18631         Small preroll fix in the base sink.
18632         Disable typefind code in basesrc.
18633         Crude port of typefindelement.
18634         Fakesrc cleanups.
18635
18636
18637 2005-04-11  Wim Taymans  <wim@fluendo.com>
18638
18639         * check/gst/gstbus.c: (gstbus_suite):
18640         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18641         * check/gstcheck.h:
18642           Fix up the timeout so that the test does not fail.
18643
18644 2005-04-06  Wim Taymans  <wim@fluendo.com>
18645
18646         * gst/base/README:
18647         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18648         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18649         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18650         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18651         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18652         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18653         (gst_basesrc_stop), (gst_basesrc_activate),
18654         (gst_basesrc_change_state), (basesrc_find_peek),
18655         (basesrc_find_suggest), (gst_basesrc_type_find):
18656         * gst/base/gstbasesrc.h:
18657         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18658         (gst_filesrc_class_init), (gst_filesrc_init),
18659         (gst_filesrc_finalize), (gst_filesrc_set_location),
18660         (gst_filesrc_set_property), (gst_filesrc_get_property),
18661         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18662         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18663         (gst_filesrc_create_read), (gst_filesrc_create),
18664         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18665         * gst/elements/gstfilesrc.h:
18666         * gst/gstelement.c: (gst_element_get_state_func),
18667         (gst_element_lost_state), (gst_element_pads_activate):
18668         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18669         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18670         (gst_pad_pull_range):
18671         * gst/gstpad.h:
18672         More work on the generic source base class, implement seeking,
18673         query.
18674         Make filesrc extend the base source class.
18675         Added gst_pad_set_checkgetrange_function to GstPad.
18676
18677 2005-04-06  Andy Wingo  <wingo@pobox.com>
18678
18679         * pkgconfig/gstreamer-base.pc.in:
18680         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18681
18682         * pkgconfig/Makefile.am:
18683         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18684
18685 2005-04-04  Wim Taymans  <wim@fluendo.com>
18686
18687         * gst/base/Makefile.am:
18688         * gst/base/README:
18689         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18690         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18691         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18692         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18693         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18694         (gst_basesrc_base_init), (gst_basesrc_class_init),
18695         (gst_basesrc_init), (gst_basesrc_get_formats),
18696         (gst_basesrc_get_query_types), (gst_basesrc_query),
18697         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18698         (gst_basesrc_set_property), (gst_basesrc_get_property),
18699         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18700         (gst_basesrc_loop), (gst_basesrc_activate),
18701         (gst_basesrc_change_state):
18702         * gst/base/gstbasesrc.h:
18703         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18704         (gst_fakesrc_class_init), (gst_fakesrc_init),
18705         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18706         (gst_fakesrc_get_property), (gst_fakesrc_create):
18707         * gst/elements/gstfakesrc.h:
18708         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18709         (gst_filesrc_open_file), (gst_filesrc_loop),
18710         (gst_filesrc_activate), (filesrc_find_peek),
18711         (gst_filesrc_type_find):
18712         Made base source class, make fakesrc extend it.
18713         Add comments to basesink class.
18714         Some filesrc cleanup.
18715
18716 2005-03-31  David Schleef  <ds@schleef.org>
18717
18718         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18719         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18720         expected to link against libgstreamer.
18721         * gst/base/Makefile.am: link against libgstreamer
18722         * gst/elements/Makefile.am: same
18723
18724 2005-03-31  Andy Wingo  <wingo@pobox.com>
18725
18726         * tests/instantiate/Makefile.am:
18727         * tests/instantiate/caps.c: Add test to test speed of caps copy
18728         and free.
18729
18730         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18731         GMemChunk to be fair.
18732
18733         * gst/gsttrashstack.h: Remove warning about using the fallback
18734         trash stack implementation, it's still faster than malloc.
18735
18736 2005-03-30  Andy Wingo  <wingo@pobox.com>
18737
18738         * tests/complexity.c: Add a copyright.
18739
18740 2005-03-31  Wim Taymans  <wim@fluendo.com>
18741
18742         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18743         (gst_base_transform_class_init), (gst_base_transform_init),
18744         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18745         (gst_base_transform_get_property),
18746         (gst_base_transform_sink_activate),
18747         (gst_base_transform_src_activate),
18748         (gst_base_transform_change_state):
18749         * gst/base/gstbasetransform.h:
18750         * gst/elements/gstidentity.c: (gst_identity_class_init),
18751         (gst_identity_event), (gst_identity_check_perfect),
18752         (gst_identity_transform), (gst_identity_start),
18753         (gst_identity_stop):
18754         Added start/stop methods to transform base class so subclasses 
18755         don't need to deal with state changes even.
18756
18757 2005-03-31  Wim Taymans  <wim@fluendo.com>
18758
18759         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18760         (gst_event_new_discontinuous), (gst_event_discont_get_value):
18761         * gst/gstevent.h:
18762         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18763         (gst_pad_pull_range):
18764         Added rate to the discont event to prepare for variable speed
18765         and reverse playback.
18766
18767 2005-03-29  David Schleef  <ds@schleef.org>
18768
18769         * configure.ac:
18770         * testsuite/trigger/Makefile.am:
18771         * testsuite/trigger/trigger.c: A little example program to show
18772         how trigger-based elements can work.
18773
18774 2005-03-29  Wim Taymans  <wim@fluendo.com>
18775
18776         * gst/base/Makefile.am:
18777         * gst/base/README:
18778         * gst/base/gstbasesink.c: (gst_basesink_get_type),
18779         (gst_basesink_base_init), (gst_basesink_class_init),
18780         (gst_basesink_pad_getcaps), (gst_basesink_init),
18781         (gst_basesink_activate), (gst_basesink_change_state):
18782         * gst/base/gstbasesink.h:
18783         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18784         (gst_base_transform_base_init), (gst_base_transform_finalize),
18785         (gst_base_transform_class_init), (gst_base_transform_init),
18786         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18787         (gst_base_transform_event), (gst_base_transform_getrange),
18788         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18789         (gst_base_transform_set_property),
18790         (gst_base_transform_get_property),
18791         (gst_base_transform_sink_activate),
18792         (gst_base_transform_src_activate),
18793         (gst_base_transform_change_state):
18794         * gst/base/gstbasetransform.h:
18795         * gst/elements/gstidentity.c: (gst_identity_finalize),
18796         (gst_identity_class_init), (gst_identity_init),
18797         (gst_identity_event), (gst_identity_check_perfect),
18798         (gst_identity_transform), (gst_identity_set_property),
18799         (gst_identity_get_property), (gst_identity_change_state):
18800         * gst/elements/gstidentity.h:
18801         * gst/gstelement.c: (gst_element_get_state_func),
18802         (gst_element_lost_state), (gst_element_pads_activate):
18803         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18804         (gst_pad_check_pull_range), (gst_pad_pull_range):
18805         * gst/gstpad.h:
18806         Simplify pad activation.
18807         Added function to check if pull_range can be performed.
18808         Error out when pulling inactive or flushing pads.
18809         Removed const from refcounted types as it does not make sense.
18810         Simplify pad templates in basesink
18811         Added base class for simple 1-to-1 transforms.
18812         Make identity subclass the base transform.
18813
18814 2005-03-29  Andy Wingo  <wingo@pobox.com>
18815
18816         * docs/libs/gstreamer-libs-overrides.txt: 
18817         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18818         really don't understand what's going on, but like whatever. I want
18819         green buildbot!
18820
18821         * docs/gst/Makefile.am:
18822         * docs/libs/Makefile.am: Dist the overrides files.
18823
18824         * check/Makefile.am (clean-local): Remove .libs directories.
18825
18826         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18827         elements to EXTRA_DIST, so po/ files are happy.
18828
18829         * po/POTFILES.in: Er, remove it here.
18830
18831         * po/POTFILES: Remove gstspider.c.
18832
18833         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18834
18835         * docs/libs/gstreamer-libs-docs.sgml: 
18836         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18837         bytestream.
18838
18839         * tests/complexity.c (main): Set the length of the preroll queue
18840         on the sinks to prevent a lockup.
18841
18842         * libs/gst/dataprotocol/Makefile.am: 
18843         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18844         the same as the one in check/gst-libs/gdp.c.
18845
18846         * po/, docs/gst/: Commit automatic changes to docs and po files.
18847
18848         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18849         the versioned libgstbase.
18850
18851         * check/Makefile.am: Depend on an unversioned gst-register, seems
18852         to make autoconf happier.
18853
18854         * gst/base/Makefile.am: Make libgstbase a versioned lib.
18855
18856 2005-03-28  Wim Taymans  <wim@fluendo.com>
18857
18858         * configure.ac:
18859         * docs/design/part-gstelement.txt:
18860         * docs/design/part-negotiation.txt:
18861         * docs/design/part-preroll.txt:
18862         * docs/design/part-scheduling.txt:
18863         * docs/design/part-states.txt:
18864         * gst/Makefile.am:
18865         * gst/base/Makefile.am:
18866         * gst/base/README:
18867         * gst/base/gstbasesink.c: (gst_basesink_get_template),
18868         (gst_basesink_base_init), (gst_basesink_class_init),
18869         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18870         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18871         (gst_basesink_set_pad_functions),
18872         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18873         (gst_basesink_set_property), (gst_basesink_get_property),
18874         (gst_base_sink_get_template), (gst_base_sink_get_caps),
18875         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18876         (gst_basesink_preroll_queue_push),
18877         (gst_basesink_preroll_queue_empty),
18878         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18879         (gst_basesink_event), (gst_basesink_get_times),
18880         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18881         (gst_basesink_chain_unlocked), (gst_basesink_chain),
18882         (gst_basesink_loop), (gst_basesink_activate),
18883         (gst_basesink_change_state):
18884         * gst/base/gstbasesink.h:
18885         * gst/elements/Makefile.am:
18886         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18887         (gst_fakesink_class_init), (gst_fakesink_init),
18888         (gst_fakesink_set_property), (gst_fakesink_get_property),
18889         (gst_fakesink_get_times), (gst_fakesink_event),
18890         (gst_fakesink_preroll), (gst_fakesink_render),
18891         (gst_fakesink_change_state):
18892         * gst/elements/gstfakesink.h:
18893         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18894         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18895         * gst/gstelement.c: (gst_element_add_pad),
18896         (gst_element_get_state_func), (gst_element_abort_state),
18897         (gst_element_commit_state), (gst_element_lost_state),
18898         (gst_element_set_state), (gst_element_pads_activate):
18899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18900         * gst/gstpipeline.c: (gst_pipeline_send_event),
18901         (gst_pipeline_change_state):
18902         Added state change code.
18903         Added/updated docs.
18904         Added sink base class, make fakesink extend the base class.
18905         Small cleanups in GstPipeline.
18906
18907 2005-03-26  David Schleef  <ds@schleef.org>
18908
18909         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
18910         is broken and should be implemented in a different library.
18911         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18912         * gst/gst.h: remove gstcpu.h
18913         * gst/gstcpu.c: remove
18914         * gst/gstcpu.h: remove
18915         * gst/Makefile.am.future: Remove this file.  It's ancient.
18916
18917 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18918
18919         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18920         (gst_bin_send_event):
18921           Add default event/set_manager handlers. The set_manager handler
18922           takes care that the manager is distributed over kids that were
18923           already in the bin before the manager was set. The event handler
18924           is a utility virtual function that sends the event over all sinks,
18925           so that gst_element_send_event (bin, event); has the expected
18926           behaviour.
18927         * gst/gstpad.c: (gst_pad_event_default):
18928           Re-install default event handling for discontinuities, so that
18929           seeking works without requiring hacks in applications or extra
18930           code in sinks.
18931         * gst/gstpipeline.c: (gst_pipeline_class_init),
18932         (gst_pipeline_send_event):
18933           Half hack, half utility: set a pipeline to PAUSED for seek events,
18934           since that is the only way we can guarantee a/v sync. Means that
18935           you can do gst_element_seek (pipeline, method, pos); on a pipeline
18936           and it "just works".
18937
18938 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18939
18940         * gst/gstpipeline.c: (gst_pipeline_use_clock):
18941           Lock/unlock mismatch.
18942
18943 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18944
18945         * docs/faq/gst-uninstalled:
18946           add gst-plugins-base
18947         * docs/gst/Makefile.am:
18948           don't error out until docs are fixed
18949         * docs/gst/gstreamer.types:
18950           remove thread
18951
18952 2005-03-22  Wim Taymans  <wim@fluendo.com>
18953
18954         * check/Makefile.am:
18955         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18956         * gst/gststructure.c: (gst_structure_set_valist),
18957         (gst_structure_copy_conditional):
18958         Activated more tests.
18959         Added message test.
18960         Added G_TYPE_POINTER to GstStructure.
18961         
18962
18963 2005-03-22  Wim Taymans  <wim@fluendo.com>
18964
18965         * docs/design/part-TODO.txt:
18966         * docs/design/part-events.txt:
18967         * docs/design/part-gstbin.txt:
18968         * docs/design/part-gstbus.txt:
18969         * docs/design/part-gstpipeline.txt:
18970         * docs/design/part-messages.txt:
18971         * gst/gstbus.c:
18972         * gst/gstmessage.c:
18973         Docs updates
18974
18975 2005-03-21  Wim Taymans  <wim@fluendo.com>
18976
18977         * gst/gstbus.c: (gst_bus_post):
18978         Fix copy-and-paste error.
18979
18980 2005-03-21  Wim Taymans  <wim@fluendo.com>
18981
18982         * check/Makefile.am:
18983         * gst/Makefile.am:
18984         * gst/elements/Makefile.am:
18985         * gst/elements/gstelements.c:
18986         * gst/elements/gstfakesink.c: (gst_fakesink_init),
18987         (gst_fakesink_event), (gst_fakesink_chain):
18988         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18989         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18990         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18991         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18992         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18993         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18994         (gst_fakesrc_loop), (gst_fakesrc_activate),
18995         (gst_fakesrc_change_state):
18996         * gst/elements/gstfakesrc.h:
18997         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18998         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18999         (gst_filesrc_open_file), (gst_filesrc_loop),
19000         (gst_filesrc_activate), (gst_filesrc_change_state),
19001         (filesrc_find_peek), (filesrc_find_suggest),
19002         (gst_filesrc_type_find):
19003         * gst/elements/gstidentity.c: (gst_identity_finalize),
19004         (gst_identity_class_init), (gst_identity_init),
19005         (gst_identity_proxy_getcaps), (identity_queue_push),
19006         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19007         (gst_identity_getrange), (gst_identity_chain),
19008         (gst_identity_sink_loop), (gst_identity_src_loop),
19009         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19010         (gst_identity_set_property), (gst_identity_get_property),
19011         (gst_identity_change_state):
19012         * gst/elements/gstidentity.h:
19013         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19014         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19015         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19016         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19017         (gst_tee_sink_activate):
19018         * gst/elements/gsttee.h:
19019         * gst/gst.c: (gst_register_core_elements), (init_post):
19020         * gst/gst.h:
19021         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19022         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19023         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19024         (gst_bin_change_state):
19025         * gst/gstbin.h:
19026         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19027         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19028         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19029         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19030         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19031         (bus_watch_callback), (bus_watch_destroy),
19032         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19033         (poll_timeout), (gst_bus_poll):
19034         * gst/gstbus.h:
19035         * gst/gstcaps.h:
19036         * gst/gstdata.h:
19037         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19038         (gst_element_post_message), (gst_element_message_full),
19039         (gst_element_get_state_func), (gst_element_get_state),
19040         (gst_element_abort_state), (gst_element_commit_state),
19041         (gst_element_lost_state), (gst_element_set_state),
19042         (gst_element_pads_activate), (gst_element_change_state),
19043         (gst_element_dispose), (gst_element_set_manager_func),
19044         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19045         (gst_element_set_manager), (gst_element_get_manager),
19046         (gst_element_set_bus), (gst_element_get_bus),
19047         (gst_element_set_scheduler), (gst_element_get_scheduler):
19048         * gst/gstelement.h:
19049         * gst/gstevent.c: (gst_event_new_segment_seek),
19050         (gst_event_new_flush):
19051         * gst/gstevent.h:
19052         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19053         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19054         (gst_message_new_eos), (gst_message_new_error),
19055         (gst_message_new_warning), (gst_message_new_tag),
19056         (gst_message_new_state_changed), (gst_message_new_application),
19057         (gst_message_get_structure), (gst_message_parse_tag),
19058         (gst_message_parse_state_changed), (gst_message_parse_error),
19059         (gst_message_parse_warning):
19060         * gst/gstmessage.h:
19061         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19062         (gst_real_pad_set_property), (gst_pad_set_active),
19063         (gst_pad_is_active), (gst_pad_set_blocked_async),
19064         (gst_pad_set_blocked), (gst_pad_is_blocked),
19065         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19066         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19067         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19068         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19069         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19070         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19071         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19072         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19073         (gst_pad_set_caps), (gst_pad_configure_sink),
19074         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19075         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19076         (gst_real_pad_dispose), (gst_real_pad_finalize),
19077         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19078         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19079         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19080         * gst/gstpad.h:
19081         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19082         (pipeline_bus_handler), (gst_pipeline_change_state),
19083         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19084         * gst/gstpipeline.h:
19085         * gst/gstprobe.h:
19086         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19087         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19088         (gst_queue_link_src), (gst_queue_bufferalloc),
19089         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19090         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19091         (gst_queue_loop), (gst_queue_handle_src_event),
19092         (gst_queue_handle_src_query), (gst_queue_src_activate),
19093         (gst_queue_change_state):
19094         * gst/gstqueue.h:
19095         * gst/gstscheduler.c: (gst_scheduler_init),
19096         (gst_scheduler_dispose), (gst_scheduler_create_task),
19097         (gst_scheduler_factory_create):
19098         * gst/gstscheduler.h:
19099         * gst/gststructure.c: (gst_structure_get_type),
19100         (gst_structure_copy_conditional):
19101         * gst/gststructure.h:
19102         * gst/gsttaginterface.h:
19103         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19104         (gst_task_init), (gst_task_dispose), (gst_task_create),
19105         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19106         (gst_task_pause):
19107         * gst/gsttask.h:
19108         * gst/gstthread.c:
19109         * gst/gstthread.h:
19110         * gst/gsttypes.h:
19111         * gst/schedulers/Makefile.am:
19112         * gst/schedulers/cothreads_compat.h:
19113         * gst/schedulers/entryscheduler.c:
19114         * gst/schedulers/faircothreads.c:
19115         * gst/schedulers/faircothreads.h:
19116         * gst/schedulers/fairscheduler.c:
19117         * gst/schedulers/gstbasicscheduler.c:
19118         * gst/schedulers/gstoptimalscheduler.c:
19119         * gst/schedulers/gthread-cothreads.h:
19120         * gst/schedulers/threadscheduler.c:
19121         (gst_thread_scheduler_task_get_type),
19122         (gst_thread_scheduler_task_class_init),
19123         (gst_thread_scheduler_task_init),
19124         (gst_thread_scheduler_task_start),
19125         (gst_thread_scheduler_task_stop),
19126         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19127         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19128         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19129         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19130         (plugin_init):
19131         * libs/gst/Makefile.am:
19132         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19133         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19134         (gst_file_pad_parent_set):
19135         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19136         (gst_dp_event_from_packet):
19137         * tests/complexity.c: (main):
19138         * tests/mass_elements.c: (main):
19139         * testsuite/states/locked.c: (message_received), (main):
19140         * testsuite/states/parent.c: (main):
19141         * tools/gst-inspect.c: (print_element_flag_info),
19142         (print_implementation_info), (print_pad_info):
19143         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19144         (main):
19145         * tools/gst-md5sum.c: (event_loop), (main):
19146         * tools/gst-typefind.c: (main):
19147         * tools/gst-xmlinspect.c: (print_element_info):
19148         Next big merge.
19149         Added GstBus for mainloop integration.
19150         Added GstMessage for sending notifications on the bus.
19151         Added GstTask as an abstraction for pipeline entry points.
19152         Removed GstThread.
19153         Removed Schedulers.
19154         Simplified GstQueue for multithreaded core.
19155         Made _link threadsafe, removed old capsnego.
19156         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19157         Added pad blocking functions.
19158         Reworked scheduling functions in GstPad to prepare for
19159         scheduling updates soon.
19160         Moved events out of data stream.
19161         Simplified GstEvent types.
19162         Added return values to push/pull.
19163         Removed clocking from GstElement.
19164         Added prototypes for state change function for next merge.
19165         Removed iterate from bins and state change management.
19166         Fixed some elements, disabled others for now.
19167         Fixed -inspect and -launch.
19168         Added check for GstBus.
19169
19170 2005-03-10  Wim Taymans  <wim@fluendo.com>
19171
19172         * docs/design/part-MT-refcounting.txt:
19173         * docs/design/part-clocks.txt:
19174         * docs/design/part-gstelement.txt:
19175         * docs/design/part-gstobject.txt:
19176         * docs/design/part-standards.txt:
19177         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19178         (gst_bin_remove_func), (gst_bin_remove):
19179         * gst/gstbin.h:
19180         * gst/gstbuffer.c:
19181         * gst/gstcaps.h:
19182         * testsuite/clock/clock1.c: (main):
19183         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19184         (main):
19185         * testsuite/dlopen/loadgst.c: (do_test):
19186         * testsuite/refcounting/bin.c: (add_remove_test1),
19187         (add_remove_test2), (main):
19188         * testsuite/refcounting/element.c: (main):
19189         * testsuite/refcounting/element_pad.c: (main):
19190         * testsuite/refcounting/pad.c: (main):
19191         * tools/gst-launch.c: (sigint_handler_sighandler):
19192         * tools/gst-typefind.c: (main):
19193         Doc updates.
19194         Added doc about clock.
19195         removed gst_bin_iterate_recurse_up(), marked methods
19196         for removal.
19197         Fix more testsuites.
19198
19199 2005-03-09  Wim Taymans  <wim@fluendo.com>
19200
19201         * gst/gstpad.c: (gst_pad_get_direction),
19202         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19203         (gst_pad_collect_valist):
19204         * testsuite/bins/interface.c: (main):
19205         * testsuite/caps/audioscale.c: (test_caps):
19206         * testsuite/caps/caps.c: (test1), (test2), (test3):
19207         * testsuite/caps/deserialize.c: (main):
19208         * testsuite/caps/enumcaps.c: (main):
19209         * testsuite/caps/filtercaps.c: (main):
19210         * testsuite/caps/intersect2.c: (main):
19211         * testsuite/caps/random.c: (main):
19212         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19213         * testsuite/caps/sets.c: (check_caps):
19214         * testsuite/caps/simplify.c: (check_caps), (main):
19215         * testsuite/caps/subtract.c: (check_caps):
19216         Fix _pad_get_direction wrt ghostpads.
19217         Fix caps testsuite.
19218
19219 2005-03-09  Wim Taymans  <wim@fluendo.com>
19220
19221         * check/Makefile.am:
19222         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19223         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19224         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19225         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19226         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19227         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19228         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19229         (bin_element_is_sink), (gst_bin_iterate_sinks),
19230         (gst_bin_iterate_all_by_interface):
19231         * gst/gstbin.h:
19232         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19233         (gst_element_change_state), (gst_element_dispose),
19234         (gst_element_finalize), (gst_element_set_loop_function):
19235         * gst/gstelement.h:
19236         * gst/gstiterator.c: (find_custom_fold_func):
19237         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19238         (gst_pad_collectv), (gst_pad_collect_valist),
19239         (gst_pad_template_new):
19240         * gst/gstpipeline.c: (gst_pipeline_class_init),
19241         (gst_pipeline_dispose), (gst_pipeline_set_property),
19242         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19243         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19244         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19245         * gst/gstutils.h:
19246         * gst/schedulers/entryscheduler.c:
19247         * gst/schedulers/gstbasicscheduler.c:
19248         (gst_basic_scheduler_cothreaded_chain),
19249         (gst_basic_scheduler_chain_add_element):
19250         * testsuite/bins/interface.c: (main):
19251         Added GstBin test.
19252         Added GstSystemClock test.
19253         Implemented clock distribution code in GstBin.
19254         Implemented iterate sinks method for future use.
19255         Rearranged gstelement.h
19256         Fix GstIterator comparison bug.
19257         Moved some code to GstPipeline, mostly clocking related.
19258
19259 2005-03-09  Wim Taymans  <wim@fluendo.com>
19260
19261         * configure.ac:
19262         * gst/gst_private.h:
19263         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19264         (gst_bin_remove_func), (gst_bin_remove),
19265         (gst_bin_get_by_name_recurse_up):
19266         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19267         (gst_clock_id_compare_func), (gst_clock_id_wait),
19268         (gst_clock_id_wait_async), (gst_clock_init),
19269         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19270         * gst/gstelement.h:
19271         * gst/gstinfo.c: (_gst_debug_init):
19272         * gst/gstobject.h:
19273         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19274         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19275         * gst/gstpad.h:
19276         Bump version number, we're now 0.9.0
19277         Add future debugging category.
19278         Fix NULL _unref() in _get_by_name_recurse_up
19279         Rearrange gstpad.h.
19280         Update some docs.
19281
19282 2005-03-08  Wim Taymans  <wim@fluendo.com>
19283
19284         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19285         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19286         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19287         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19288         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19289         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19290         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19291         * gst/elements/gstidentity.c: (gst_identity_class_init):
19292         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19293         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19294         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19295         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19296         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19297         (gst_tee_link):
19298         * gst/gstelement.c: (gst_element_class_init),
19299         (gst_element_base_class_init), (gst_element_init),
19300         (gst_element_get_random_pad), (gst_element_wait_state_change),
19301         (gst_element_change_state), (gst_element_dispose),
19302         (gst_element_finalize), (gst_element_set_loop_function):
19303         * gst/gstelement.h:
19304         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19305         * gst/gstthread.c: (gst_thread_class_init),
19306         (gst_thread_release_children_locks), (gst_thread_change_state):
19307         * gst/schedulers/gstbasicscheduler.c:
19308         (gst_basic_scheduler_loopfunc_wrapper),
19309         (gst_basic_scheduler_chain_wrapper),
19310         (gst_basic_scheduler_src_wrapper),
19311         (gst_basic_scheduler_remove_element):
19312         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19313         Remove threadsafe properties. Fix elements because GObject
19314         complains when installing a property before declaring a
19315         set/get_property handler.
19316         Rearrange gstelement.h file, use STATE macros for state locks.
19317         Free mutexes in the finalize method instead of dispose.
19318
19319 2005-03-08  Wim Taymans  <wim@fluendo.com>
19320
19321         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19322         * gst/gstthread.c: (gst_thread_release_children_locks):
19323         Added parentage check.
19324         Fix build og GstThread again.
19325
19326 2005-03-08  Wim Taymans  <wim@fluendo.com>
19327
19328         * docs/design/part-MT-refcounting.txt:
19329         * docs/design/part-conventions.txt:
19330         * docs/design/part-gstobject.txt:
19331         * docs/design/part-relations.txt:
19332         * docs/design/part-standards.txt:
19333         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19334         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19335         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19336         (gst_bin_iterate_all_by_interface):
19337         * gst/gstbuffer.h:
19338         * gst/gstclock.h:
19339         * gst/gstelement.c: (gst_element_class_init),
19340         (gst_element_change_state), (gst_element_set_loop_function):
19341         * gst/gstelement.h:
19342         * gst/gstiterator.c:
19343         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19344         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19345         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19346         (gst_object_set_parent), (gst_object_unparent),
19347         (gst_object_check_uniqueness):
19348         * gst/gstobject.h:
19349         Docs updates, clean up some headers.
19350
19351 2005-03-07  Wim Taymans  <wim@fluendo.com>
19352
19353         * check/.cvsignore:
19354         * check/Makefile.am:
19355         * check/gst-libs/.cvsignore:
19356         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19357         * check/gst/.cvsignore:
19358         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19359         (START_TEST), (gstbus_suite), (main):
19360         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19361         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19362         (gst_data_suite), (main):
19363         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19364         (add_fold_func), (gstiterator_suite), (main):
19365         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19366         (thread_name_object), (thread_name_object_default),
19367         (gst_object_name_compare), (gst_object_suite), (main):
19368         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19369         (gst_pad_suite), (main):
19370         * check/gstcheck.c: (gst_check_log_message_func),
19371         (gst_check_log_critical_func), (gst_check_init):
19372         * check/gstcheck.h:
19373         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19374         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19375         Added checks.
19376
19377 2005-03-07  Wim Taymans  <wim@fluendo.com>
19378
19379         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19380         (gst_list_iterator_next), (gst_list_iterator_resync),
19381         (gst_list_iterator_free), (gst_iterator_new_list),
19382         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19383         (gst_iterator_free), (gst_iterator_push), (filter_next),
19384         (filter_resync), (filter_uninit), (filter_free),
19385         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19386         (gst_iterator_foreach), (find_custom_fold_func),
19387         (gst_iterator_find_custom):
19388         * gst/gstiterator.h:
19389         Added missing files.
19390
19391 2005-03-07  Wim Taymans  <wim@fluendo.com>
19392
19393         * Makefile.am:
19394         * configure.ac:
19395         * docs/design/part-MT-refcounting.txt:
19396         * docs/design/part-conventions.txt:
19397         * docs/design/part-gstobject.txt:
19398         * docs/design/part-relations.txt:
19399         * examples/mixer/mixer.c: (main):
19400         * examples/thread/thread.c: (eos), (main):
19401         * gst/Makefile.am:
19402         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19403         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19404         (gst_spider_plug_from_srcpad):
19405         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19406         (gst_spider_identity_change_state),
19407         (gst_spider_identity_sink_loop_type_finding):
19408         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19409         * gst/elements/gstidentity.c: (gst_identity_init):
19410         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19411         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19412         * gst/elements/gsttypefindelement.c: (free_entry):
19413         * gst/gst.c:
19414         * gst/gst.h:
19415         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19416         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19417         (gst_bin_set_index), (gst_bin_set_element_sched),
19418         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19419         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19420         (gst_bin_iterate_elements), (iterate_child_recurse),
19421         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19422         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19423         (compare_interface), (gst_bin_get_by_interface),
19424         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19425         * gst/gstbin.h:
19426         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19427         (gst_buffer_default_free), (gst_buffer_default_copy),
19428         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19429         (gst_buffer_create_sub):
19430         * gst/gstbuffer.h:
19431         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19432         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19433         (gst_caps_unref), (gst_static_caps_get),
19434         (gst_caps_remove_and_get_structure), (gst_caps_append),
19435         (gst_caps_append_structure), (gst_caps_remove_structure),
19436         (gst_caps_copy_nth), (gst_caps_set_simple),
19437         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19438         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19439         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19440         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19441         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19442         (gst_caps_structure_figure_out_union),
19443         (gst_caps_switch_structures), (gst_caps_do_simplify),
19444         (gst_caps_replace), (gst_caps_from_string),
19445         (gst_caps_copy_conditional):
19446         * gst/gstcaps.h:
19447         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19448         (_gst_clock_id_free), (gst_clock_id_unref),
19449         (gst_clock_id_compare_func), (gst_clock_id_wait),
19450         (gst_clock_id_wait_async), (gst_clock_class_init),
19451         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19452         (gst_clock_get_time), (gst_clock_set_time_adjust),
19453         (gst_clock_set_property), (gst_clock_get_property):
19454         * gst/gstclock.h:
19455         * gst/gstcompat.h:
19456         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19457         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19458         * gst/gstdata.h:
19459         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19460         (gst_element_requires_clock), (gst_element_provides_clock),
19461         (gst_element_set_clock), (gst_element_clock_wait),
19462         (gst_element_wait), (gst_element_set_time_delay),
19463         (gst_element_is_indexable), (gst_element_add_pad),
19464         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19465         (pad_compare_name), (gst_element_get_static_pad),
19466         (gst_element_request_pad), (gst_element_get_request_pad),
19467         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19468         (gst_element_class_get_pad_template_list),
19469         (gst_element_class_get_pad_template), (gst_element_error_func),
19470         (gst_element_get_random_pad), (gst_element_get_event_masks),
19471         (gst_element_send_event), (gst_element_seek),
19472         (gst_element_get_query_types), (gst_element_query),
19473         (gst_element_get_formats), (gst_element_convert),
19474         (gst_element_is_locked_state), (gst_element_set_locked_state),
19475         (gst_element_sync_state_with_parent), (gst_element_change_state),
19476         (gst_element_finalize), (gst_element_yield),
19477         (gst_element_interrupt), (gst_element_set_scheduler),
19478         (gst_element_get_scheduler), (gst_element_set_loop_function):
19479         * gst/gstelement.h:
19480         * gst/gstevent.h:
19481         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19482         (gst_format_get_by_nick), (gst_format_get_details),
19483         (gst_format_iterate_definitions):
19484         * gst/gstformat.h:
19485         * gst/gstindex.c: (gst_index_gtype_resolver):
19486         * gst/gstinfo.c:
19487         * gst/gstinfo.h:
19488         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19489         (gst_mem_chunk_free):
19490         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19491         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19492         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19493         (gst_object_dispatch_properties_changed),
19494         (gst_object_set_name_default), (gst_object_set_name),
19495         (gst_object_get_name), (gst_object_set_name_prefix),
19496         (gst_object_get_name_prefix), (gst_object_set_parent),
19497         (gst_object_get_parent), (gst_object_unparent),
19498         (gst_object_check_uniqueness), (gst_object_save_thyself),
19499         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19500         (gst_object_set_property), (gst_object_get_property),
19501         (gst_object_get_path_string):
19502         * gst/gstobject.h:
19503         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19504         (gst_real_pad_init), (gst_real_pad_get_property),
19505         (gst_pad_custom_new), (gst_pad_get_direction),
19506         (gst_pad_set_active), (gst_pad_is_active),
19507         (gst_pad_set_event_function), (gst_pad_is_linked),
19508         (gst_pad_link_free), (gst_pad_link_intersect),
19509         (gst_pad_link_fixate), (gst_pad_set_caps),
19510         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19511         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19512         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19513         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19514         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19515         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19516         (gst_pad_realize), (gst_pad_get_allowed_caps),
19517         (gst_real_pad_dispose), (gst_real_pad_finalize),
19518         (gst_pad_collectv), (gst_pad_collect_valist),
19519         (gst_pad_template_dispose), (gst_pad_template_new),
19520         (gst_pad_get_internal_links):
19521         * gst/gstpad.h:
19522         * gst/gstpipeline.c: (gst_pipeline_dispose),
19523         (gst_pipeline_change_state):
19524         * gst/gstpipeline.h:
19525         * gst/gstplugin.c:
19526         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19527         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19528         * gst/gstpluginfeature.h:
19529         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19530         * gst/gstquery.c: (_gst_query_type_initialize),
19531         (gst_query_type_register), (gst_query_type_get_by_nick),
19532         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19533         * gst/gstquery.h:
19534         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19535         * gst/gstscheduler.c: (gst_scheduler_add_element),
19536         (gst_scheduler_factory_create):
19537         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19538         (gst_structure_free), (gst_structure_set_name),
19539         (gst_structure_id_set_value), (gst_structure_set_value),
19540         (gst_structure_set_valist), (gst_structure_remove_field),
19541         (gst_structure_remove_fields),
19542         (gst_structure_remove_fields_valist),
19543         (gst_structure_remove_all_fields), (gst_structure_foreach),
19544         (gst_structure_map_in_place),
19545         (gst_caps_structure_fixate_field_nearest_int),
19546         (gst_caps_structure_fixate_field_nearest_double):
19547         * gst/gststructure.h:
19548         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19549         (gst_system_clock_init), (gst_system_clock_dispose),
19550         (gst_system_clock_async_thread),
19551         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19552         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19553         * gst/gstsystemclock.h:
19554         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19555         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19556         * gst/gsttaginterface.c:
19557         * gst/gstthread.c: (gst_thread_dispose),
19558         (gst_thread_release_children_locks), (gst_thread_change_state),
19559         (gst_thread_main_loop):
19560         * gst/gsttrashstack.h:
19561         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19562         * gst/gsttypes.h:
19563         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19564         (gst_element_request_pad), (gst_element_get_pad_from_template),
19565         (gst_element_request_compatible_pad),
19566         (gst_element_get_compatible_pad_filtered),
19567         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19568         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19569         (gst_element_link_many), (gst_element_link),
19570         (gst_element_link_pads), (gst_element_unlink_pads),
19571         (gst_element_unlink_many), (gst_element_unlink),
19572         (gst_pad_can_link_filtered), (gst_pad_can_link),
19573         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19574         (gst_object_default_error), (gst_bin_add_many),
19575         (gst_bin_remove_many), (gst_element_populate_std_props),
19576         (gst_element_class_install_std_props), (gst_buffer_merge),
19577         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19578         (link_fold_func), (gst_pad_proxy_setcaps):
19579         * gst/gstutils.h:
19580         * gst/gstvalue.c: (gst_value_deserialize_string):
19581         * gst/parse/grammar.y:
19582         * gst/schedulers/gstbasicscheduler.c:
19583         (gst_basic_scheduler_cothreaded_chain),
19584         (gst_basic_scheduler_chain_recursive_add),
19585         (gst_basic_scheduler_pad_link):
19586         * gst/schedulers/gstoptimalscheduler.c:
19587         (get_group_schedule_function),
19588         (gst_opt_scheduler_state_transition),
19589         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19590         * libs/gst/bytestream/bytestream.c:
19591         * libs/gst/dataprotocol/dataprotocol.c:
19592         (gst_dp_header_from_buffer):
19593         * po/nb.po:
19594         * po/ru.po:
19595         * tests/threadstate/threadstate2.c: (eos):
19596         * tools/gst-compprep.c: (main):
19597         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19598         (print_pad_info), (print_children_info):
19599         * tools/gst-launch.c: (idle_func), (main):
19600         * tools/gst-md5sum.c: (idle_func), (main):
19601         * tools/gst-xmlinspect.c: (print_element_info):
19602         First THREADED backport attempt, focusing on adding locks and
19603         making sure the API is threadsafe. Needs more work. More docs
19604         follow this week.
19605
19606 2005-02-24  Andy Wingo  <wingo@pobox.com>
19607
19608         * tests/bench-complexity.scm:
19609         * tests/complexity.gnuplot: New files, good for running complexity
19610         benchmarks.
19611
19612         * tests/Makefile.am:
19613         * tests/complexity.c: New test, sets up N elements, at each level
19614         teeing into M streams per element. Eeeenteresting.
19615
19616         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19617         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19618         running bench-mass_elements.scm.
19619
19620         * tests/bench-mass_elements.scm: New script, runs mass_elements
19621         for various numbers of identities, outputting the results to a
19622         file. Requires guile 1.6. Just for testing.
19623
19624 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19625
19626         * gst/schedulers/fairscheduler.c:
19627           compile with debug disabled
19628
19629 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19630
19631         * configure.ac:
19632           hunting season on 0.9 is now OPEN