Expose logic to wait for preroll so that subclasses such as audiosink can also use...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-15  Wim Taymans  <wim@fluendo.com>
2
3         * docs/libs/gstreamer-libs-sections.txt:
4         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5         (gst_base_sink_do_sync):
6         * libs/gst/base/gstbasesink.h:
7         Expose logic to wait for preroll so that subclasses such as audiosink
8         can also use this method.
9         API: gst_base_sink_wait_preroll()
10
11 2006-09-15  Wim Taymans  <wim@fluendo.com>
12
13         * gst/gstobject.c: (gst_object_set_parent):
14         * gst/gstpipeline.c: (do_pipeline_seek):
15         Small cleanups in docs and code.
16
17         * gst/gstsegment.c: (gst_segment_clip):
18         * tests/check/gst/gstsegment.c: (GST_START_TEST):
19         if stop == start and start is in the segment, no clipping should be
20         done. Also add a test for this.
21
22 2006-09-15  Wim Taymans  <wim@fluendo.com>
23
24         * docs/design/part-buffering.txt:
25         * docs/gst/gstreamer-sections.txt:
26         * gst/gstmessage.c: (gst_message_new_buffering),
27         (gst_message_parse_buffering):
28         * gst/gstmessage.h:
29         Added methods to create and parse BUFFERING messages.
30         Added preliminary docs about buffering.
31         API: gst_message_new_buffering
32         API: gst_message_parse_buffering
33
34 2006-09-06  Wim Taymans  <wim@fluendo.com>
35
36         * gst/gstbin.c:
37         Update documentation.
38
39         * gst/gstelement.c: (gst_element_class_init),
40         (gst_element_release_request_pad), (gst_element_set_clock),
41         (gst_element_get_index), (gst_element_add_pad),
42         (gst_element_remove_pad), (gst_element_get_random_pad),
43         (gst_element_send_event), (gst_element_get_query_types),
44         (gst_element_query), (gst_element_post_message),
45         (gst_element_message_full), (gst_element_continue_state),
46         (gst_element_lost_state), (gst_element_save_thyself),
47         (gst_element_restore_thyself):
48         Documentation updates.
49         Rename last bit of the new-pad -> pad-added signal rename.
50         Fix the case where an element query would only work if the source
51         pad was linked.
52         Avoid some useless type checking in message handling.
53
54         * gst/gstevent.c:
55         * gst/gstevent.h:
56         * gst/gstutils.c:
57         Documentation updates.
58
59 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
60
61         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
62           add an INFO line for when we actually update the fd
63
64 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
65
66         * configure.ac:
67           back to TRUNK
68
69 === release 0.10.10 ===
70
71 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
72
73         * configure.ac:
74           releasing 0.10.10, "Pais"
75
76 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
77
78         * docs/manual/advanced-position.xml:
79           Fix typo in sample code.
80
81 2006-09-05  Wim Taymans  <wim@fluendo.com>
82
83         * libs/gst/net/gstnetclientclock.c: (inet_aton),
84         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
85         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
86         * libs/gst/net/gstnetclientclock.h:
87         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
88         * libs/gst/net/gstnettimepacket.h:
89         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
90         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
91         (gst_net_time_provider_thread), (gst_net_time_provider_new):
92         * libs/gst/net/gstnettimeprovider.h:
93         Make stuff compile on windows. Fixes #345295.
94
95 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
96
97         * gst/gst.c: (ensure_current_registry_forking):
98           Print better details when child was terminated by signal.
99
100 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
101
102         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
103           Print a warning rather than g_assert() if a plugin feature
104           is a URI handler but returns no protocols (#353976).
105
106 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
107
108         * docs/random/moving-plugins:
109         Fix two typos.         
110
111 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
112
113         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
114           Fix locking order, handle NULL function values properly.
115
116         * gst/gstinfo.h:
117           Fix docs.
118
119         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
120           Initialise variable before using it and fix debug statement to
121           print the address of the function rather than the address of the
122           variable on the stack holding the address of the function.
123
124 2006-09-01  Wim Taymans  <wim@fluendo.com>
125
126         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
127         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
128         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
129         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
130         (gst_ghost_pad_parent_unset),
131         (gst_ghost_pad_internal_do_activate_push),
132         (gst_ghost_pad_internal_do_activate_pull),
133         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
134         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
135         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
136         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
137         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
138         (gst_ghost_pad_new_no_target_from_template),
139         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
140         More cleanups.
141         Avoid needless typechecking in macros.
142         Since the internal pad is always present and never changes, there is
143         no need to locking or ref when retrieving it.
144         Improve debugging a bit.
145         Handle link errors when setting the target. Fixes #341029.
146
147 2006-09-01  Wim Taymans  <wim@fluendo.com>
148
149         * docs/libs/gstreamer-libs-sections.txt:
150         * docs/plugins/gstreamer-plugins-sections.txt:
151         Fix docs some more.
152
153         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
154         (gst_collect_pads_event):
155         * libs/gst/base/gstcollectpads.h:
156         Documentation updates.
157         Free queued buffer when removing a pad.
158
159 2006-08-31  Michael Smith  <msmith@fluendo.com>
160
161         * gst/gstutils.c: (gst_element_link_pads),
162         (gst_element_link_pads_filtered):
163           Ensure that we set a capsfilter to NULL if we failed to link it
164           when doing filtered linking, to avoid criticals.
165
166           No need to check for unreffing srcpad, which is explicly NULLed
167           above (a trivial code cleanup).
168
169 2006-08-31  Wim Taymans  <wim@fluendo.com>
170
171         * docs/design/part-gstghostpad.txt:
172         Update ascii art in documentation.
173
174         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
175         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
176         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
177         (gst_ghost_pad_internal_do_activate_push),
178         (gst_ghost_pad_internal_do_activate_pull),
179         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
180         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
181         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
182         (gst_ghost_pad_set_target):
183         Small cleanups and leak fixes.
184         Remove some checks now that the internal pad is never NULL.
185         Fix the case where linking pads without a target would create nasty
186         criticals. Fixes #341029.
187         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
188         value of _set_target().
189
190         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
191         (gst_ghost_pad_suite):
192         Some more tests for creating and linking untargeted ghostpads.
193
194 2006-08-31  Edward Hervey  <edward@fluendo.com>
195
196         * docs/gst/gstreamer-sections.txt:
197         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
198         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
199         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
200         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
201         (gst_ghost_pad_new_from_template),
202         (gst_ghost_pad_new_no_target_from_template):
203         * gst/gstghostpad.h:
204         Refactored *_new() functions.
205         Templates are now used as a g_object_new() parameter.
206         Use template in _do_getcaps() if we don't have a target.
207         Small documentation cleanups.
208         Added two new constructors:
209         gst_ghost_pad_new_from_template()
210         gst_ghost_pad_new_no_target_from_template()
211         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
212         (gst_ghost_pad_suite):
213         Added tests for new ghostpad instanciation functions.
214
215         API additions: gst_ghost_pad_new_from_template,
216         gst_ghost_pad_new_no_target_from_template
217
218 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
219
220         * docs/random/ensonic/profiling.txt:
221           Ideas about qos profiling.
222
223 2006-08-29  Wim Taymans  <wim@fluendo.com>
224
225         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
226         Code cleanups.
227         Fix memleak.
228
229 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
230
231         * gst/gstxml.c:
232           Improve and detypofy docs.
233
234         * tests/check/Makefile.am:
235         * tests/check/gst/.cvsignore:
236         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
237           Add a basic test suite for GstXML.
238
239 2006-08-29  Wim Taymans  <wim@fluendo.com>
240
241         * gst/gstelement.c: (activate_pads), (clear_caps),
242         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
243         Clear the pad caps when the element shut down all of the pads and
244         is not streaming data that could modify the caps. 
245         Fixes #352958.
246
247 2006-08-28  Michael Smith  <msmith@fluendo.com>
248
249         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
250           Revert previous change; I misunderstood single-segment mode.
251
252 2006-08-28  Michael Smith  <msmith@fluendo.com>
253
254         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
255           Unset DISCONT on buffers when using single-segment mode.
256
257 2006-08-28  Wim Taymans  <wim@fluendo.com>
258
259         * gst/gstcaps.c: (gst_caps_merge_structure):
260         * gst/gstcaps.h:
261         Fix docs and indentation again.
262
263         * tests/check/gst/gstquery.c: (GST_START_TEST):
264         Fix leak in tests and add some more tests.
265
266 2006-08-28  Edward Hervey  <edward@fluendo.com>
267
268         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
269         Inform GstSegment of the last stop position in order for the current
270         segment to have a proper duration if it doesn't have a specific stop
271         position from which a duration could be calculated.
272         This bug was noticeable when a non-flushing, non-update new segment was
273         followed by another segment (all buffers from the new segment were being
274         dropped).
275
276 2006-08-28  Wim Taymans  <wim@fluendo.com>
277
278         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
279         Small comment update.
280
281         * plugins/elements/gstidentity.c: (gst_identity_class_init),
282         (gst_identity_transform_ip):
283         Drop-probability is broken, mention this in the code with a 
284         FIXME and also in the property description.
285         Make silent also be silent about the drop messages.
286
287 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
288
289         * docs/manual/appendix-win32.xml:
290           Remove mention of popt, we don't depend on that any
291           longer (#353136). Add some comments pointing out that
292           this section is slightly outdated.
293
294 2006-08-28  Wim Taymans  <wim@fluendo.com>
295
296         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
297
298         * gst/gstquery.c: (gst_query_new_segment):
299         * tests/check/gst/gstquery.c: (GST_START_TEST):
300         Initialize variables when creating a new segment query.
301         Fixes #353121.
302
303 2006-08-28  Wim Taymans  <wim@fluendo.com>
304
305         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
306
307         * gst/gstelement.c: (gst_element_get_bus):
308         * tests/check/gst/gstelement.c: (GST_START_TEST):
309         Check for NULL before _reffing the bus. Fixes #353122.
310
311 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
312
313         * docs/manual/basics-bus.xml:
314           Docs update: fix wrong callback return value explanation; add
315           some lines about the implicit relationship between main loop
316           and main context; remove duplicate main loop variable declaration.
317
318 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
319
320         * tests/check/gst/gstcaps.c: (GST_START_TEST):
321           Don't leak caps in unit test; add a few more simple
322           checks. 
323
324 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
325
326         * docs/gst/gstreamer-sections.txt:
327         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
328         (gst_caps_structure_is_subset), (gst_caps_merge),
329         (gst_caps_merge_structure):
330         * gst/gstcaps.h:
331         * libs/gst/base/gstbasetransform.c:
332         (gst_base_transform_transform_caps):
333         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
334           implement caps merging (fixes #352580)
335
336 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
337
338         * tools/Makefile.am:
339         * tools/gst-plot-timeline.py:
340           add debug-log plotting developer tool (#340674)
341
342 2006-08-23  Wim Taymans  <wim@fluendo.com>
343
344         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
345         (gst_pad_stop_task):
346         Improve debugging for task functions.
347
348         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
349         (gst_task_start), (gst_task_pause), (gst_task_join):
350         Make sure that the task function started and finished after a 
351         join(). 
352         Don't try to push the task function on the threadpool multiple
353         times.
354         Improve the g_warning message with some useful suggestions
355         about how to fix the problem. 
356
357 2006-08-23  Wim Taymans  <wim@fluendo.com>
358
359         * gst/gstutils.c: (gst_pad_proxy_getcaps):
360         Handle RESYNC correctly in _proxy_getcaps.
361
362 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
363
364         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
365         (gst_xml_parse_memory), (gst_xml_get_element):
366           Chain up to parent class in dispose function and also
367           unref the elements in the toplevel_elements GList.
368           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
369           Always return a reference in gst_xml_get_element() rather
370           than only sometimes.
371
372         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
373           Don't leak GstXml object.
374
375 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
376
377         * docs/gst/gstreamer-sections.txt:
378         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
379         (gst_caps_merge):
380         * gst/gstcaps.h:
381         * libs/gst/base/gstbasetransform.c:
382         (gst_base_transform_transform_caps):
383           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
384           in a better way
385
386 2006-08-21  Edward Hervey  <edward@fluendo.com>
387
388         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
389         Implement GObject::dispose virtual method in GstXML so we can free the
390         top_elements GList.
391
392 2006-08-21  Wim Taymans  <wim@fluendo.com>
393
394         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
395         (gst_buffer_create_sub):
396         Copy duration/offset_end/caps when creating a subbuffer of the
397         complete parent.
398         Make the subbuffer read-only when we make the metadata writable for
399         now. Fixes #351768.
400
401         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
402         Added check for metadata copy when creating subbuffers.
403
404 2006-08-21  Edward Hervey  <edward@fluendo.com>
405
406         * libs/gst/base/gstbasetransform.c:
407         (gst_base_transform_buffer_alloc):
408         Only call downstream buffer_alloc if transform element is passthrough
409         or always_in_place. Closes #350449.
410
411 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
412
413         * ChangeLog:
414           ChangeLog surgery to add comments to previous changes
415
416 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
417
418         * gst/gst.c:
419           Add comments
420
421         * gst/gstpad.c: (gst_pad_set_active):
422           Be more verbose in the log
423
424         * libs/gst/base/gstbasetransform.c:
425         (gst_base_transform_transform_caps):
426           Simplify caps to get rid of duplicates, fixes #345444
427
428 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
429
430         * gst/gstvalue.c:
431         * gst/gstvalue.h:
432           Use these optimizations only internally.
433
434 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
435
436         * gst/gstvalue.c: (gst_value_compare_list),
437         (gst_value_compare_fraction_range),
438         (gst_value_intersect_fraction_fraction_range),
439         (gst_value_intersect_fraction_range_fraction_range),
440         (gst_value_subtract_fraction_fraction_range),
441         (gst_value_subtract_fraction_range_fraction_range),
442         (gst_value_get_compare_func), (gst_value_compare),
443         (gst_value_compare_with_func):
444         * gst/gstvalue.h:
445           Saves the expensive lookup of the compare function in many cases
446          (#345444)
447
448 2006-08-18  Edward Hervey  <edward@fluendo.com>
449
450         * tests/check/gst/gstinfo.c: (gst_info_suite):
451         Disable test that require gstdebug if it wasn't built in core.
452
453 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
454
455         * docs/random/ensonic/logging.txt:
456           update ideas
457           
458         * gst/gstinfo.c: (gst_debug_log_default):
459           reorder fields, save some columns, add optional color codes for log
460           levels
461
462 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
463
464         * docs/random/ensonic/logging.txt:
465           add ideas about making the logs a bit more useful
466
467 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
468
469         * docs/pwg/advanced-events.xml:
470         * docs/pwg/titlepage.xml:
471           Update for 0.10 API (#340627). Add myself
472           to authors list.
473
474 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
475
476         * docs/libs/gstreamer-libs-docs.sgml:
477         * docs/libs/gstreamer-libs-sections.txt:
478         * libs/gst/check/gstbufferstraw.c:
479           Make gstcheck stuff show up in docs (still needs to
480           be documented properly though).
481
482 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
483
484         * docs/gst/gstreamer-sections.txt:
485         * gst/Makefile.am:
486         * gst/gst.c: (init_post):
487         * gst/gst_private.h:
488         * gst/gstquark.c: (_priv_gst_quarks_initialize):
489         * gst/gstquark.h:
490         * gst/gstquery.c: (gst_query_new_position),
491         (gst_query_set_position), (gst_query_parse_position),
492         (gst_query_new_duration), (gst_query_set_duration),
493         (gst_query_parse_duration), (gst_query_new_convert),
494         (gst_query_set_convert), (gst_query_parse_convert),
495         (gst_query_new_segment), (gst_query_set_segment),
496         (gst_query_parse_segment), (gst_query_new_seeking),
497         (gst_query_set_seeking), (gst_query_parse_seeking):
498         Add internal helpers for pre-registering quarks from static strings
499         and using the quark values directly instead of looking them up when
500         creating and parsing queries. Can be used for event construction too.
501         Closes #350432.
502
503 2006-08-16  Wim Taymans  <wim@fluendo.com>
504
505         * gst/gstbin.c:
506         Fix bogus docs.
507
508 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
509
510         * gst/gstutils.c: (gst_util_set_value_from_string):
511           Fix memleak (#351502).
512
513         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
514           Add unit test for most of gst_util_set_value_from_string()
515           (not that one would want to encourage use of this function).
516
517 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
518
519         * libs/gst/check/gstcheck.h:
520           Use const gchar * variables in fail_unless_equals_string
521           macro to avoid compiler warnings (and don't use tabs for
522           indenting).
523
524 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
525
526         * tools/gst-launch.c: (print_tag):
527           More space on the left for the tag names, to cater
528           for the 'extended comment' tag (not touching the
529           string for the first line since it's translated).
530
531 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
532
533         * libs/gst/check/gstcheck.h:
534           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
535           print something when they fail.
536
537 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
538
539         * docs/gst/gstreamer-sections.txt:
540         * gst/gsttaglist.c: (_gst_tag_initialize):
541         * gst/gsttaglist.h:
542           API: add GST_TAG_EXTENDED_COMMENT (#350935).
543           Also change merge function for GST_TAG_COMMENT to
544           use_first.
545
546 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
547
548         * gst/gstinfo.c: (gst_debug_print_object):
549           Make GST_PTR_FORMAT print messages as well.
550
551         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
552         (GST_START_TEST), (gst_info_suite):
553           More tests.
554
555 2006-08-14  Edward Hervey  <edward@fluendo.com>
556
557         * gst/gstelementfactory.c: (gst_element_register):
558         If the GstElementClass doesn't have a GstElementDetails with all fields
559         filled up correctly (longname, description AND author), then error out
560         nicely instead of crashing.
561
562 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
563
564         * gst/gststructure.c:
565           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
566
567         * gst/gstvalue.h:
568           Expand on the difference between arrays and lists as we use them.
569           
570 2006-08-14  Wim Taymans  <wim@fluendo.com>
571
572         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
573         If the parent state change function failed, don't assume we can safely
574         stop the source, this will be done when the pads are deactivated.
575
576 2006-08-14  Wim Taymans  <wim@fluendo.com>
577
578         * gst/gstbuffer.c:
579         * gst/gsttask.c: (gst_task_join):
580         Small doc updates.
581
582         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
583         (gst_pad_stop_task):
584         When pad (de)activation failed for some reason, restore the old
585         activation mode and set the pad to flushing instead of assuming the
586         pad is deactivated.
587         If the _task_join() failed, reinstall the task on the pad so that it can
588         be stopped later and return an error.
589
590 2006-08-11  Andy Wingo  <wingo@pobox.com>
591
592         * configure.ac:
593         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
594         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
595         is only for users of API that don't want to see deprecated
596         functions in the headers; people that want to compile out
597         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
598         CFLAGS. Fixes the build of multifdsink, or will soon..
599
600 2006-08-11  Wim Taymans  <wim@fluendo.com>
601
602         * docs/gst/gstreamer-sections.txt:
603         Add GstClockClass vmethod docs.
604
605         * gst/gstcaps.h:
606         Mark #endif with comment for associated #if
607
608         * gst/gstclock.c: (gst_clock_id_wait):
609         * gst/gstclock.h:
610         Add vmethod wait_jitter to avoid an unneeded _get_time() for
611         most clock implementations.
612         Document vmethods.
613         Flesh out docs about resolution methods.
614         API: GstClockClass::wait_jitter
615
616         * gst/gstsystemclock.c: (gst_system_clock_class_init),
617         (gst_system_clock_async_thread),
618         (gst_system_clock_id_wait_jitter_unlocked),
619         (gst_system_clock_id_wait_jitter):
620         Use base class wait_jitter variant for improved performance
621         due to less clock polling.
622
623 2006-08-11  Edward Hervey  <edward@fluendo.com>
624
625         * gst/gst.c: (gst_init_check), (init_post):
626         Set gst as being initialized before scanning/updating the registry,
627         since there might be my python plugin loader that calls gst_init() and
628         we don't want to loop back in.
629         Closes #350879
630
631 2006-08-11  Wim Taymans  <wim@fluendo.com>
632
633         * docs/design/part-qos.txt:
634         Bring docs in line with the code. Mostly the sign of the jitter was
635         wrong in the docs. Fixes #349943.
636
637         * gst/gstclock.c:
638         Fix the docs for the jitter.
639
640         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
641         (gst_event_parse_tag), (gst_event_new_buffer_size),
642         (gst_event_parse_buffer_size), (gst_event_parse_qos),
643         (gst_event_new_seek), (gst_event_parse_seek),
644         (gst_event_new_navigation):
645         Make sure the GstStructure has no parent when creating custom
646         events.
647         Add some more argument checking so that we avoid 0.0 rates.
648         Flesh out the docs for the QoS event some more.
649
650 2006-08-11  Wim Taymans  <wim@fluendo.com>
651
652         * docs/gst/gstreamer-sections.txt:
653         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
654         (ensure_current_registry_forking), (ensure_current_registry),
655         (parse_one_option), (parse_goption_arg), (gst_deinit),
656         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
657         * gst/gst.h:
658         Doc updates.
659         Added API and command line option to disable registry forking in
660         addition to the environment variable.
661         Constify some static arrays.
662         Added some more debug.
663         Don't deinit twice.
664         API: gst_registry_fork_is_enabled()
665         API: gst_registry_fork_set_enabled()
666         API: --gst-disable-registry-fork command line option
667         Fixes #348918.
668
669 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
670
671         * gst/gst.c: (gst_init):
672           Fix typo in error message.
673
674 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
675
676         * libs/gst/controller/gstcontroller.h:
677           fix ABI size-correction
678
679         * tests/check/libs/gdp.c: (gst_dp_suite):
680           make tests that use deprecated API conditional
681
682 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
683
684         * docs/libs/gstreamer-libs-sections.txt:
685         * libs/gst/controller/gstcontroller.c:
686         (_gst_controller_get_property), (_gst_controller_set_property),
687         (_gst_controller_init), (_gst_controller_class_init):
688         * libs/gst/controller/gstcontroller.h:
689         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
690         (gst_object_set_control_rate):
691           API: add gst_object_{s,g}et_control_rate(), add private data section,
692           fix docs
693
694         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
695         * libs/gst/dataprotocol/dataprotocol.h:
696           add deprecation guards to make gtk-doc happy and allow disabling cruft
697
698 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
699
700         * tests/check/Makefile.am:
701         * tests/check/gst/.cvsignore:
702           Let's enable the new unit test as well.
703
704 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
705
706         * configure.ac:
707         * docs/gst/gstreamer-sections.txt:
708         * gst/gstconfig.h.in:
709         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
710         (_gst_info_printf_extension_ptr),
711         (_gst_info_printf_extension_segment):
712           API: add GST_SEGMENT_FORMAT, which is a printf extension we
713           register that lets us easily dump GstSegments into debug
714           logs (#350419).
715
716         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
717         (info_segment_format_printf_extension), (gst_info_suite):
718           Add simple unit test that logs a bunch of different segments (not
719           valgrinded at the moment because of leaks in
720           gst_debug_add_log_function).
721
722 2006-08-09  Edward Hervey  <edward@fluendo.com>
723
724         * libs/gst/base/gstbasetransform.c:
725         (gst_base_transform_buffer_alloc):
726         Even if we can't figure out the proper format to request downstream,
727         call buffer_alloc() downstream with the input parameters without setting
728         the caps on the srcpad. This will force negotiation in the chain
729         function.
730         Closes #350449
731
732 2006-08-08  Edward Hervey  <edward@fluendo.com>
733
734         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
735         Unlinking from a pad without a target is now a perfectly valid case
736         which should NOT raise an assertion.
737         This case would happen if a linked ghostpad its target set to NULL after
738         it was previously linked.
739
740 2006-08-08  Edward Hervey  <edward@fluendo.com>
741
742         * tests/check/libs/gdp.c:
743         Also comment out the test (see below).
744
745 2006-08-08  Edward Hervey  <edward@fluendo.com>
746
747         * tests/check/libs/gdp.c: (gst_dp_suite):
748         Use the architecture information from config.h and not gcc macros
749         in order to properly disable a test that fails on PPC64.
750
751 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
752
753         * gst/gstelement.c: (gst_element_remove_pad):
754           Don't crash printing the warning if the pad has no parent.
755
756 2006-08-02  Wim Taymans  <wim@fluendo.com>
757
758         * libs/gst/dataprotocol/dataprotocol.c:
759         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
760         (gst_dp_crc), (gst_dp_header_payload_length),
761         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
762         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
763         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
764         (gst_dp_event_from_packet), (gst_dp_validate_header),
765         (gst_dp_validate_payload):
766         Make debug category static
767         Constify the crc table.
768         Do some more arg checking in public functions.
769         Fix some docs and do some small cleanups.
770
771         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
772         Add some more checks to see if GDP deals with bogus input.
773
774 2006-07-31  Wim Taymans  <wim@fluendo.com>
775
776         * gst/gstvalue.c: (gst_value_compare_list):
777         Fix GstValueList comparison code. Fixes #347293.
778
779         * tests/check/gst/gstvalue.c: (GST_START_TEST):
780         Check to test GstValueList comparison.
781
782 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
783
784         * gst/gstelementfactory.c: (gst_element_factory_create):
785         Remove unnecessary ref/unref pair
786
787         * gst/parse/grammar.y:
788         Make sure to free the parse buffer on all code paths.
789         Move a g_free up to the error handler where it's easier to see.
790
791         * tests/check/gst/gstevent.c: (test_event):
792         Extending timeout for downstream travelling events to 10 seconds to
793         hopefully avoid intermittent failure on the buildbots.
794
795         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
796         Don't manually set the state of the src element - it will happen as a
797         natural consequence of the pipeline changing state, and that way it
798         will do it in the right order too.
799
800 2006-07-31  Wim Taymans  <wim@fluendo.com>
801
802         * libs/gst/base/gstbasetransform.c:
803         (gst_base_transform_buffer_alloc):
804         Use OBJECT_LOCK and refcounting to get the pad caps in the
805         buffer_alloc function because the caps could change while we are
806         busy with them. Fixes #349105
807
808 2006-07-31  Wim Taymans  <wim@fluendo.com>
809
810         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
811         Protect _PAD_CAPS with OBJECT_LOCK.
812
813 2006-07-31  Wim Taymans  <wim@fluendo.com>
814
815         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
816         (gst_pad_get_property), (gst_pad_activate_pull),
817         (gst_pad_activate_push), (gst_pad_set_blocked_async),
818         (gst_pad_set_activate_function),
819         (gst_pad_set_activatepull_function),
820         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
821         (gst_pad_set_getrange_function),
822         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
823         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
824         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
825         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
826         (gst_pad_set_acceptcaps_function),
827         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
828         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
829         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
830         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
831         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
832         (gst_pad_configure_sink), (gst_pad_configure_src),
833         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
834         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
835         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
836         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
837         (gst_pad_send_event):
838         Use _DEBUG_OBJECT when it makes sense.
839         Protect GST_PAD_CAPS with the OBJECT_LOCK.
840         Small cleanups and code reflows.
841         Avoid caps refcounting in _accept_caps.
842         Refactor alloc_buffer so that the code performed on the peer is in a
843         separate function. Also if the pad does not implement a buffer alloc
844         function, we should still check if the pad is flushing before falling
845         back to the default allocator.
846
847 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
848
849         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
850         Make all uses of identity and fakesink have silent=true to avoid
851         serialising every passing data structure, which is breaking tests
852         on FC4 for some unknown reason.
853
854 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
855
856         * gst/parse/Makefile.am:
857         * gst/parse/grammar.y:
858         * gst/parse/parse.l:
859           Reverted previous patch as it required to bump the flex dependency to
860           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
861
862 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
863
864         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
865
866         * gst/parse/Makefile.am:
867         * gst/parse/grammar.y:
868         * gst/parse/parse.l:
869           push & pop the state of the lexer for reentrant use case
870           Fixes #349180
871
872 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
873
874         * libs/gst/base/gstbasesrc.h:
875           Note in the docs that the ::newsegment vfunc is not actually used by
876           GstBaseSrc.
877
878 2006-07-28  Wim Taymans  <wim@fluendo.com>
879
880         * libs/gst/base/gstcollectpads.c:
881         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
882         (gst_collect_pads_clear), (gst_collect_pads_flush),
883         (gst_collect_pads_event), (gst_collect_pads_chain):
884         When flushing a pad, also clear the queued buffer so that we don't
885         accidentally use it when we shouldn't.
886         Fix leaks by inreffing incomming buffer.
887         Flush out queued buffers in case of errors.
888         Fixes #347452.
889
890 2006-07-28  Wim Taymans  <wim@fluendo.com>
891
892         * docs/random/phonon-gst:
893         Random notes about a Phonon backend.
894
895 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
896
897         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
898         Extra debug output
899         * tests/check/libs/gdp.c: (gst_dp_suite):
900         Take a whack at fixing the ppc compile using a different define to
901         disable the broken test.
902
903         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
904         Remove excess g_print()
905
906 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
907
908         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
909         Oops, meant to uncomment this line too to dampen the noise a bit.
910
911 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
912
913         * gst/parse/grammar.y:
914         * gst/parse/parse.l:
915         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
916         (GST_START_TEST), (parse_suite):
917         Fix some of the leaks exposed by extending the parse-launch testsuite,
918         and move the 3 I can't figure out into a separate test that won't run
919         the pipelines unless the appropriate line is uncommented.
920
921 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
922
923         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
924           Requesting 0 bytes before the end of the file should result in
925           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
926           unit test.
927
928 2006-07-27  Wim Taymans  <wim@fluendo.com>
929
930         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
931         Fix useless assert, a uint is always positive.
932
933         * gst/gststructure.c: (gst_structure_nth_field_name),
934         (gst_structure_foreach), (gst_structure_map_in_place):
935         Check input arguments for public functions to avoid obvious crashes.
936
937         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
938         * plugins/elements/gstfakesink.h:
939         Do less useless typechecking.
940
941 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
942
943         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
944           Do not use mmap() by default since there are a number of error
945           conditions that we would like to handle in a non-fatal way that
946           will result in a SIGBUS if we use mmap(). Examples: external
947           devices (USB harddrive, portable music player) being unplugged
948           while in use; file on mounted CD/DVD that can't be read because
949           the medium is partly damaged. Fixes #348455 and #348475.
950
951 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
952
953         * gst/gstquery.h:
954         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
955         rates are a gdouble
956
957 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
958
959         * gst/gstregistry.c:
960           Move big documentation comment into class section header, so that it
961           appears in the API docs.
962
963 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
964
965         * docs/gst/gstreamer-sections.txt:
966         Oops. Commit the docs additions too for new API.
967         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
968
969 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
970
971         * gst/gststructure.c: (gst_structure_id_set),
972         (gst_structure_id_set_valist):
973         * gst/gststructure.h:
974         Add API for setting values into structures without performing
975         a quark lookup, if the appropriate quark is already known.
976
977         API: gst_structure_id_set
978         API: gst_structure_id_set_valist
979
980         * gst/parse/grammar.y:
981         * gst/parse/parse.l:
982         Remove some dead code shown by the coverage information.
983         Don't throw a critical g_warning when encountering a syntax error,
984         just warn and let the normal error path handle it.
985
986         * plugins/elements/gstelements.c:
987         Bump the rank of filesink up to PRIMARY so that it is preferred over
988         gnomevfssink for file:// sink uri's
989
990         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
991         (GST_START_TEST), (run_delayed_test),
992         (gst_parse_test_element_base_init),
993         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
994         (gst_parse_test_element_change_state),
995         (gst_register_parse_element), (parse_suite):
996         Beef up the tests for parse syntax to check that more error cases
997         fail as they are supposed to. Increases the test coverage a bit.
998
999 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1000
1001         * docs/manual/basics-elements.xml:
1002           Fix gst_element_link() example.
1003
1004         * gst/gstutils.c:
1005           Mention in API docs that one should usually gst_bin_add()
1006           elements to a bin or pipeline before doing the linking.
1007           
1008 2006-07-26  Wim Taymans  <wim@fluendo.com>
1009
1010         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1011         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1012         Avoid function call for known types by keeping the buffer and
1013         subbuffer GType global.
1014
1015         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1016         Random silly optimisations in read() path.
1017
1018 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1019
1020         * tools/gst-launch.c: (main):
1021           If the top-level of the parse is a normal bin, it doesn't do the
1022           right logic to run as a top-level element, so place it inside a
1023           pipeline.
1024
1025 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1026
1027         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1028           Remove superfluous g_object_notify() calls, GObject does
1029           that for us automatically.
1030
1031 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1032
1033         * gst/gstinfo.h:
1034           on Win32, use dllspec to export the debug category symbols
1035
1036 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1037
1038         * gst/gsttaglist.c: (_gst_tag_initialize):
1039           Allow more than one GST_TAG_IMAGE per taglist.
1040
1041 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1042
1043         * gst/gstminiobject.c:
1044           update docs
1045         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1046         (gst_fd_src_create):
1047           log recurring events at LOG level
1048           add more debug for when the fd gets set
1049
1050 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1051
1052         * gst/gstparse.c: (gst_parse_launch):
1053           Also remove reentrance checks if flex is MT safe (#348179)
1054          Fix my empty ChangeLog entry below
1055
1056 2006-07-21  Andy Wingo  <wingo@pobox.com>
1057
1058         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1059
1060         * libs/gst/check/Makefile.am
1061         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1062         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1063         * libs/gst/check/gstbufferstraw.h:
1064         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1065         functions, thus proving I am still a GStreamer haxor. OK I wrote
1066         them a long time ago, but anyways.
1067
1068 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1069
1070         * configure.ac:
1071         * gst/gstparse.c: (gst_parse_launch):
1072           Check for flex version and omit mutex if we have a MT save flex
1073           (fixes #348179)
1074
1075 2006-07-21  Wim Taymans  <wim@fluendo.com>
1076
1077         * gst/gstparse.c: (gst_parse_launch):
1078         Protect recursive calls to _parse with a recursive mutex
1079         and busy flag.
1080
1081 2006-07-21  Wim Taymans  <wim@fluendo.com>
1082
1083         * tests/check/gst/gstpad.c: (GST_START_TEST):
1084         Fix leak in test.
1085
1086 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1087
1088         * gst/gstparse.c: (gst_parse_launch):
1089           Do not hang on recursive usage of gst_parse_launch()
1090
1091 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1092
1093         * gst/gsttaglist.c:
1094           Add some more docs, comments and FIXME 0.11s here and there
1095           and also fix some typos.
1096
1097 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1098
1099         * gst/gstsegment.h:
1100           Convert tabs to spaces for better readability. 
1101
1102 2006-07-20  Edward Hervey  <edward@fluendo.com>
1103
1104         * tests/check/libs/gdp.c: (gst_dp_suite):
1105         the test_buffer test fails at line 140 on ppc64 at the following
1106         check:
1107         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1108                 GST_BUFFER_FLAG_IN_CAPS),
1109                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1110         See bug #348114 for more details.
1111
1112 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1113
1114         * docs/pwg/advanced-scheduling.xml:
1115         * gst/gstpad.c:
1116           Fix typos (#348000).
1117
1118 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1119
1120         * docs/pwg/intro-basics.xml:
1121           Fix wrong links (#347927).
1122
1123 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1124
1125         * gst/gstregistry.h:
1126         * gst/gstregistryxml.c: (load_feature),
1127         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1128         * win32/common/config.h:
1129           make --disable-index work (#342564)
1130
1131 2006-07-18  Wim Taymans  <wim@fluendo.com>
1132
1133         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1134
1135         * gst/Makefile.am:
1136         * gst/gsttrace.h:
1137         The attached patch adds two missing defines to gsttrace.h when tracing
1138         is disabled.  It also corrects one existing define.
1139         Fixes #347756.
1140
1141 2006-07-17  Wim Taymans  <wim@fluendo.com>
1142
1143         * docs/gst/gstreamer-sections.txt:
1144         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1145         * gst/gst.h:
1146         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1147         Add two functions to check and change the SIGSEGV behaviour
1148         when loading plugins.
1149         Don't mess with the SIGSEGV handler when we were told not to.
1150         Fixes #347794.
1151         API: gst_segtrap_is_enabled
1152         API: gst_segtrap_set_enabled
1153
1154 2006-07-14  Wim Taymans  <wim@fluendo.com>
1155
1156         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1157         * tests/check/elements/filesrc.c: (GST_START_TEST):
1158         Revert fix for regression in #347408 after release.
1159
1160 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         Patch by: Antoine Tremblay <hexa00 at gmail com>
1163
1164         * gst/gstutils.c: (gst_element_unlink):
1165           Free iterator when done (#347311).
1166
1167         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1168           And add a test case for this.
1169
1170 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1171
1172         * configure.ac:
1173         Bump nano back to CVS
1174
1175 === release 0.10.9 ===
1176
1177 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1178
1179         * configure.ac:
1180           releasing 0.10.9, "On the road again"
1181
1182 2006-07-13  Wim Taymans  <wim@fluendo.com>
1183
1184         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1185         * tests/check/elements/filesrc.c: (GST_START_TEST):
1186         Revert pull-0 fix for release. Disable check. Fixes #347408.
1187
1188 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1189
1190         * libs/gst/dataprotocol/dataprotocol.c:
1191         (gst_dp_event_from_packet_1_0):
1192           Fixes #347337: failure to deserialize event packets with
1193           empty payload (only event type)
1194
1195 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1196
1197         * gst/Makefile.am:
1198           do not install a .c file in the header directory
1199
1200 2006-07-13  Edward Hervey  <edward@fluendo.com>
1201
1202         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1203         GhostPad no longer implicitely use the padtemplates of the targets.
1204         Fixes #347384
1205
1206 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1207
1208         * gst/gstvalue.c: (gst_value_compare_list),
1209         (gst_value_compare_array), (_gst_value_initialize):
1210         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1211         Make GstValueArray comparison be order dependent as designed.
1212         Add checks for value lists and value array comparisons.
1213         Fixes #347221
1214
1215 2006-07-11  Edward Hervey  <edward@fluendo.com>
1216
1217         * gst/gstbin.c: (activate_pads),
1218         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1219         (gst_bin_change_state_func):
1220         (de)activate src pads before calling state_change on the childs.
1221         This is to avoid the case where a src ghostpad is blocked (holding the
1222         stream lock), which would block the deactivation of the ghostpad's
1223         target pad.
1224         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1225         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1226         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1227         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1228         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1229         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1230         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1231         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1232         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1233         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1234         (gst_ghost_pad_class_init),
1235         (gst_ghost_pad_internal_do_activate_push),
1236         (gst_ghost_pad_internal_do_activate_pull),
1237         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1238         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1239         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1240         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1241         GhostPads now create their internal GstProxyPad at creation (and not
1242         when they're linked, as it was being done previously).
1243         The internal and target pads are linked straight away.
1244         The data will also travel through the other pad in order to make
1245         pad blocking and probes non-hackish (the probe/block now really happens
1246         on the GhostPad and not on the target).
1247         * gst/gstpad.c: (gst_pad_set_blocked_async),
1248         (gst_pad_link_prepare), (gst_pad_push_event):
1249         Remove previous ghostpad cruft.
1250         * gst/gstutils.c: (gst_pad_add_data_probe),
1251         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1252         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1253         (gst_pad_remove_buffer_probe):
1254         Remove previous ghost pad cruft.
1255         Added more detailed debug statements.
1256         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1257         Fix the testsuite for refcounting changes.
1258         The comments about who has references were correct, but the refcount
1259         being checked wasn't the same (!?!).
1260
1261         Fixes #341029
1262
1263 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1264
1265         * docs/gst/gstreamer-sections.txt:
1266         * gst/gstconfig.h.in:
1267         More docs for configuration options, add docs to gtk-doc.
1268
1269 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1270
1271         * gst/Makefile.am:
1272         * gst/gstconfig.h.in:
1273         * win32/common/config.h:
1274         Fix build when disabling tracing (fixes #344016). Also start to document
1275         the defines that disable the sub-systems.
1276
1277 2006-07-10  Edward Hervey  <edward@fluendo.com>
1278
1279         * gst/gst.c: (ensure_current_registry_forking):
1280         let's make valgrind happy...
1281
1282 2006-07-09  Wim Taymans  <wim@fluendo.com>
1283
1284         * gst/gstelement.c: (activate_pads),
1285         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1286         Better pad activation code: Reset the collect value too on resync.
1287         Add some comments.
1288
1289 2006-07-09  Wim Taymans  <wim@fluendo.com>
1290
1291         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1292         (gst_pad_activate_push):
1293         Use some more macros where it makes sense.
1294         Allow pad mode switching instead of asserting. When a pad
1295         is activated in one mode and we activate it in another, 
1296         deactivate it first before activating it in a different mode.
1297         Fixes #329198.
1298
1299 2006-07-08  Andy Wingo  <wingo@pobox.com>
1300
1301         * tools/gst-launch.c (main): Handle err == NULL.
1302
1303         * gst/gst.c (init_post, ensure_current_registry)
1304         (ensure_current_registry_forking)
1305         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1306         factoring out the registry scanning into separate functions. Don't
1307         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1308         Better environment var name/interface suggestions accepted.
1309
1310 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1311
1312         * gst/gstobject.c: (gst_object_set_name_default),
1313         (gst_object_set_name):
1314           Random micro-optimisation: don't use a hash table
1315           with strings as keys and the usual strdup/strcmp
1316           involved, but rather just use the GQuark of the
1317           type name as key, since it needs to be looked up
1318           anyway to get the type name string.
1319
1320         * tests/check/gst/gstobject.c: (GST_START_TEST):
1321           Fix various leaks.
1322
1323 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1324
1325         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1326         (gst_bin_iterate_all_by_interface):
1327           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1328           GTypes are gulongs and thus the top 4 bytes might be cut
1329           off on some platforms when doing GPOINTER_TO_INT, leading
1330           to invalid GTypes and bad things happening (see RH bug #179654).
1331           Also add a check to make sure the type passed in is really
1332           an interface type.
1333
1334 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1335
1336         * .cvsignore:
1337           Ignore more.
1338
1339 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1340
1341         * Makefile.am:
1342         * configure.ac:
1343         * gst-element-check.m4:
1344         * gst-element-check.m4.in:
1345           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1346           instead of the unversioned gst-inspect (#324176, #168659).
1347
1348 2006-07-06  Wim Taymans  <wim@fluendo.com>
1349
1350         * gst/gstmessage.h:
1351         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1352         warnings.
1353
1354 2006-07-06  Wim Taymans  <wim@fluendo.com>
1355
1356         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1357         (gst_base_src_wait), (gst_base_src_update_length),
1358         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1359         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1360         (gst_base_src_loop), (gst_base_src_start),
1361         (gst_base_src_activate_pull):
1362         Update docs.
1363         blocksize == 0 now means the default blocksize when working in push
1364         based mode.
1365         Remove some pointless asserts in _wait function.
1366         Fix offset/length calculations and EOS handling. We can now pull 0
1367         bytes as well, which is allowed.
1368         use _check_get_range() to decide if we can operate in _pull based
1369         mode.
1370         Fix refcounting leak when check_get_range function was not 
1371         implemented.
1372         API GstBaseSrc::blocksize range can be 0 too now (default)
1373
1374         * tests/check/elements/filesrc.c: (GST_START_TEST),
1375         (filesrc_suite):
1376         Added check to test _get_range() behaviour.
1377
1378 2006-07-06  Wim Taymans  <wim@fluendo.com>
1379
1380         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1381         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1382         (gst_pad_pull_range):
1383         * gst/gstpad.h:
1384         Lots of comments and docs added to the pad functions.
1385         Flesh out the expected behaviour of the get_range() functions.
1386
1387 2006-07-06  Wim Taymans  <wim@fluendo.com>
1388
1389         * gst/gstbus.h:
1390         * gst/gstclock.h:
1391         * gst/gstevent.h:
1392         * gst/gstiterator.h:
1393         * gst/gstpad.h:
1394         * gst/gstplugin.h:
1395         * gst/gsttask.h:
1396         Remove comma at end of enumerator list. 
1397
1398 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1399
1400         * win32/common/libgstbase.def:
1401         * win32/common/libgstdataprotocol.def:
1402         * win32/common/libsgtreamer.def:
1403         Add new exported functions.
1404
1405 2006-07-05  Wim Taymans  <wim@fluendo.com>
1406
1407         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1408         Add some more docs here and there.
1409
1410 2006-07-05  Wim Taymans  <wim@fluendo.com>
1411
1412         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1413         (gst_base_sink_loop), (gst_base_sink_get_position):
1414         When operating in pull mode update the offset so that we
1415         read sequentially.
1416
1417 2006-07-05  Wim Taymans  <wim@fluendo.com>
1418
1419         * gst/gstregistryxml.c: (read_string):
1420         Avoid strdup. (will happen in libxml, but hey!)
1421
1422         * gst/gsturi.c:
1423         Add some more docs.
1424
1425 2006-07-05  Wim Taymans  <wim@fluendo.com>
1426
1427         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1428         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1429         (gst_buffer_suite):
1430         No point in checking if the size of the subbuffer > 0, the
1431         code handles it correclty as demonstrated by unit test.
1432         Also add a unit test for the zero sized _new_and_alloc and
1433         _copy. Fixes #346663.
1434
1435 2006-07-05  Wim Taymans  <wim@fluendo.com>
1436
1437         * libs/gst/base/gstbasetransform.c:
1438         (gst_base_transform_prepare_output_buffer),
1439         (gst_base_transform_buffer_alloc),
1440         (gst_base_transform_handle_buffer):
1441         Make sure the buffer we pass to transform_ip has a refcount of
1442         1 and thus is writable. Fixes #343196
1443
1444 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1445
1446         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1447         (gst_file_src_init), (gst_file_src_set_property),
1448         (gst_file_src_get_property), (gst_file_src_map_region):
1449         * plugins/elements/gstfilesrc.h:
1450         Add "sequential" property, off by default, to use madvise and hint
1451         to the kernel that sequential access is desired.
1452         Touch all retrieved pages by default to ensure they are pulled
1453         into memory. (Closes #345720)
1454
1455 2006-07-03  Wim Taymans  <wim@fluendo.com>
1456
1457         * docs/design/part-block.txt:
1458         * docs/design/part-dynamic.txt:
1459         Small docs updates.
1460
1461 2006-07-03  Wim Taymans  <wim@fluendo.com>
1462
1463         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1464         (gst_caps_unref), (gst_static_caps_get),
1465         (gst_caps_append_structure):
1466         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1467         Use GSlice when the glib we build against is >= 2.10
1468
1469 2006-07-03  Wim Taymans  <wim@fluendo.com>
1470
1471         * gst/gstelement.c: (gst_element_pads_activate):
1472         Small cleanup in pad activation code.
1473
1474 2006-07-03  Wim Taymans  <wim@fluendo.com>
1475
1476         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1477
1478         * gst/gst-i18n-app.h:
1479         * gst/gst-i18n-lib.h:
1480         * tools/gst-inspect.c: (print_signal_info):
1481         The attached patch will make the inclusion of gettext.h unconditional in
1482         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1483         libintl.h in tools/gst-inspect.c.
1484         This allows use of --disable-nls again and fixes #344642.
1485
1486 2006-07-03  Edward Hervey  <edward@fluendo.com>
1487
1488         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1489         Implement pad blocking on events according to part-block.txt.
1490         More comments on behaviour.
1491         * tests/check/gst/gstevent.c: (test_event):
1492         Send event to peer pad of blocked pad (else it will block).
1493
1494 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1495
1496         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1497         (gst_check_run_suite):
1498           if we get the wrong message, give us the types as string
1499         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1500           Fix a translatable
1501         * tests/check/elements/filesrc.c: (GST_START_TEST):
1502           add a test for trying to open a non-existing file
1503
1504 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1505
1506         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1507           add a test for adding self
1508
1509 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1510
1511         * libs/gst/check/gstcheck.h:
1512           add some assert_ as alias for fail_unless_*
1513         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1514           increase test coverage
1515
1516 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1517
1518         * Makefile.am:
1519           include lcov.mak for lcov coverage generation
1520         * tools/Makefile.am:
1521           add to CLEANFILES
1522
1523 2006-07-02  Edward Hervey  <edward@fluendo.com>
1524
1525         * tests/check/elements/.cvsignore:
1526         moaping
1527
1528 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1529
1530         * configure.ac:
1531           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1532         * tests/check/Makefile.am:
1533           clean up gcov files
1534
1535 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1536
1537         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1538           remove gst_caps_simplify; it was not declared and not used
1539           and deprecated in 0.8
1540
1541 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1542
1543         * docs/faq/gst-uninstalled:
1544           don't put empty paths on PYTHONPATH
1545         * docs/gst/gstreamer-sections.txt:
1546           remove some symbols that are not there
1547
1548 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1549
1550         * gst/gstcaps.c: (gst_caps_compare_structures):
1551           whitespace fixes
1552         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1553         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1554           add more tests
1555
1556 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1557
1558         * libs/gst/dataprotocol/Makefile.am:
1559           build dataprotocol test by linking to the lib, instead of
1560           compiling the source, so we get coverage
1561         * tests/check/Makefile.am:
1562         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1563         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1564           add a test for filesrc
1565
1566 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1567
1568         * tests/check/gst/gststructure.c: (GST_START_TEST),
1569         (gst_structure_suite):
1570           Push coverage from 59.04% to 70.00%
1571
1572 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1573
1574         * tests/check/Makefile.am:
1575           gst-inspect every element; this makes sure that we also get
1576           coverage on element's get/set functions
1577
1578 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1579
1580         * configure.ac:
1581           set CFLAGS and friends to -O0 if gcov is being used
1582           add GCOV LIBS
1583         * gst/Makefile.am:
1584         * libs/gst/base/Makefile.am:
1585         * libs/gst/check/Makefile.am:
1586         * libs/gst/controller/Makefile.am:
1587         * libs/gst/dataprotocol/Makefile.am:
1588         * libs/gst/net/Makefile.am:
1589         * plugins/elements/Makefile.am:
1590         * plugins/indexers/Makefile.am:
1591           add makefile rules to generate gcov data and clean up
1592         * tests/check/Makefile.am:
1593           add a coverage target that generates an html overview
1594           of coverage data
1595
1596 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1597
1598         * tests/check/elements/fakesink.c:
1599         * tests/check/elements/fakesrc.c:
1600         * tests/check/elements/fdsrc.c:
1601         * tests/check/elements/identity.c:
1602         * tests/check/generic/sinks.c: (gst_sinks_suite):
1603         * tests/check/generic/states.c:
1604         * tests/check/gst/gst.c:
1605         * tests/check/gst/gstabi.c:
1606         * tests/check/gst/gstbin.c:
1607         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1608         * tests/check/gst/gstbus.c: (gst_bus_suite):
1609         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1610         * tests/check/gst/gstelement.c:
1611         * tests/check/gst/gstevent.c: (gst_event_suite):
1612         * tests/check/gst/gstghostpad.c:
1613         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1614         * tests/check/gst/gstmessage.c: (gst_message_suite):
1615         * tests/check/gst/gstminiobject.c:
1616         * tests/check/gst/gstobject.c:
1617         * tests/check/gst/gstpad.c:
1618         * tests/check/gst/gstpipeline.c:
1619         * tests/check/gst/gstplugin.c:
1620         * tests/check/gst/gstquery.c: (gst_query_suite):
1621         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1622         * tests/check/gst/gststructure.c:
1623         * tests/check/gst/gstsystemclock.c:
1624         * tests/check/gst/gsttag.c:
1625         * tests/check/gst/gsttask.c: (gst_task_suite):
1626         * tests/check/gst/gstutils.c:
1627         * tests/check/gst/gstvalue.c:
1628         * tests/check/libs/adapter.c:
1629         * tests/check/libs/basesrc.c:
1630         * tests/check/libs/collectpads.c:
1631         * tests/check/libs/controller.c:
1632         * tests/check/libs/gdp.c: (gst_dp_suite):
1633         * tests/check/libs/gstnetclientclock.c:
1634         * tests/check/libs/gstnettimeprovider.c:
1635         * tests/check/libs/libsabi.c: (libsabi_suite):
1636         * tests/check/libs/typefindhelper.c:
1637         * tests/check/pipelines/cleanup.c:
1638         * tests/check/pipelines/parse-launch.c:
1639         * tests/check/pipelines/simple-launch-lines.c:
1640         * tests/check/pipelines/stress.c: (stress_suite):
1641           use the new macro
1642
1643 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1644
1645         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1646         * libs/gst/check/gstcheck.h:
1647           create a macro and function so that the simple unit test
1648           case can be just one macro to create main()
1649
1650 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1651
1652         * gst/gstbin.c: (gst_bin_restore_thyself):
1653         * gst/gstxml.c: (gst_xml_make_element):
1654           Fix deserialisation from XML. Set parent manually
1655           instead of using gst_bin_add(), since gst_bin_add()
1656           will unlink all pads of the element being added.
1657           Fixes #341667.
1658
1659 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1660
1661         Patch by: Peter Kjellerstedt <pkj at axis com>
1662
1663         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1664           Fix missing g_strdup() and double free when using the
1665           --gst-plugin-load command line option (#346097).
1666
1667 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1668
1669         * gst/gstinfo.c:
1670           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1671
1672         * libs/gst/net/gstnetclientclock.c:
1673         * libs/gst/net/gstnettimeprovider.c:
1674           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1675
1676 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1677
1678         * docs/manual/advanced-dataaccess.xml:
1679           Fix buffer probe example compilation in
1680           ADM (#345708).
1681         
1682 2006-06-22  Edward Hervey  <edward@fluendo.com>
1683
1684         * gst/gstelement.c: (gst_element_pads_activate):
1685         We need to deactivate src pads first and then sink pads.
1686         The reason is the src pads might be blocking while holding the streaming
1687         lock, so we need to deactivate them first so that deactivating the sink
1688         pads doesn't block (since it will require the streaming lock).
1689
1690 2006-06-22  Wim Taymans  <wim@fluendo.com>
1691
1692         * libs/gst/base/gstbasetransform.c:
1693         (gst_base_transform_buffer_alloc):
1694         Forgot to remove two unneeded unrefs.
1695         Simplify a check _is_equal allready checks the obvious case.
1696
1697 2006-06-22  Wim Taymans  <wim@fluendo.com>
1698
1699         * docs/design/part-block.txt:
1700         Some docs about what pad_block should do.
1701
1702 2006-06-22  Wim Taymans  <wim@fluendo.com>
1703
1704         * gst/gstcaps.c: (gst_caps_replace):
1705         Fix crasher when passed NULL. Doc clarification.
1706         Optimize for the trivial case.
1707
1708         * gst/gstpipeline.c: (gst_pipeline_change_state):
1709         Small cleanups.
1710
1711         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1712         Small documentation cleanup.
1713
1714         * libs/gst/base/gstbasetransform.c:
1715         (gst_base_transform_buffer_alloc):
1716         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1717         is what we need and it avoids a whole lot of redundant 
1718         refcount operations.
1719
1720 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
1721
1722         Patch by: Philip Jägenstedt  <philip at lysator liu se>
1723
1724         * docs/manual/advanced-dataaccess.xml:
1725           Fix 'Embedding static elements' section to use
1726           GST_PLUGIN_DEFINE_STATIC (#345607).
1727
1728 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1729
1730         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1731           Attempt to 'fix' spuriously failing test case: it seems like the
1732           timeout of half a second is simply too small when the system is under
1733           load otherwise, and the timeout doesn't really seem to serve any
1734           particular purpose here. Give the pipeline a few seconds to preroll
1735           first, and then give it another half a second to go from PAUSED to
1736           PLAYING and marshal the message into the main thread.
1737
1738 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * tools/gst-feedback-m.m:
1741           Don't only use unversioned tools, try versioned tools as well
1742           (#345086).
1743
1744 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1745
1746         * gst/gstbus.c: (gst_bus_class_init):
1747           Fix some typos, make docs more explicit.
1748
1749 2006-06-20  Wim Taymans  <wim@fluendo.com>
1750
1751         * tests/check/gst/gstghostpad.c: (block_callback),
1752         (GST_START_TEST), (gst_ghost_pad_suite):
1753         Added some more ghostpad tests, mainly blocking
1754         and probes.
1755
1756 2006-06-16  Wim Taymans  <wim@fluendo.com>
1757
1758         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1759         (gst_file_sink_close_file), (gst_file_sink_do_seek),
1760         (gst_file_sink_event), (gst_file_sink_render):
1761         * plugins/elements/gstfilesink.h:
1762         Check if we can seek in the file instead of assuming
1763         we always can. Post an error when we are asked to seek in a
1764         non-seekable file (like a fifo). Fixes #343312.
1765         Some cleanups.
1766
1767 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1768
1769         * tools/gst-launch.1.in:
1770           Un-garble (fourcc) bit in filtered caps section.
1771
1772 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1773
1774         * docs/manual/advanced-autoplugging.xml:
1775         * docs/manual/basics-helloworld.xml:
1776         * docs/manual/highlevel-components.xml:
1777           Don't leak bus reference in sample code.
1778
1779 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
1780
1781         * autogen.sh:
1782           Add default for new --enable-plugin-docs switch.
1783
1784         * configure.ac:
1785           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1786           Fixes #344039.
1787
1788         * docs/Makefile.am:
1789           Use new ENABLE_PLUGIN_DOCS conditional.
1790
1791 2006-06-14  Wim Taymans  <wim@fluendo.com>
1792
1793         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1794         Make it clear with a FIXME and a real define what the #if 0
1795         previously disabled.
1796
1797 2006-06-14  Wim Taymans  <wim@fluendo.com>
1798
1799         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1800         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1801         * libs/gst/base/gstbasetransform.c:
1802         (gst_base_transform_sink_eventfunc):
1803         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1804         Don't randomly and silently reset a segment when the format 
1805         changes as this is a bug somewhere upstream. Fixes #330379.
1806
1807 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1808
1809         Patch by: Wouter Paesen  <wouter at kangaroot net>
1810
1811         * libs/gst/controller/gstcontroller.c:
1812         (gst_controlled_property_new):
1813           Fix controlling of float properties (#344849).
1814
1815         * tests/check/libs/controller.c:
1816         (gst_test_mono_source_get_property),
1817         (gst_test_mono_source_set_property),
1818         (gst_test_mono_source_class_init), (GST_START_TEST):
1819           While we're at it, add some float stuff to unit test.
1820
1821 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1822
1823         * docs/README:
1824         * docs/images/gdp-header.svg:
1825           add a gdp image
1826         * docs/libs/Makefile.am:
1827         * docs/libs/gdp-header.png:
1828         * libs/gst/dataprotocol/dataprotocol.c:
1829           add it to the API docs
1830         * docs/manual/intro-motivation.xml:
1831           fix typo
1832
1833 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1834
1835         * gst/gst.c: (scan_and_update_registry), (init_post):
1836           If the fork()'ed child process can't write the updated registry cache
1837           file to disk for some reason, make it exit with a failure exit code,
1838           so that the parent can then re-scan the plugins itself and update the
1839           registry structures in memory and work with that (rather than failing
1840           when creating elements because seemingly no plugins are available).
1841           Refactor registry scanning code into separate function for this and
1842           also separate fork() and non-fork() code paths. Fixes #344748.
1843
1844 2006-06-13  Wim Taymans  <wim@fluendo.com>
1845
1846         * docs/manual/advanced-dataaccess.xml:
1847         Fix wrong PluginDesc. Fixes #344755.
1848
1849 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1850
1851         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1852           Fix silly bug that prevented us from creating
1853           ~/.gstreamer-0.10 and writing the registry in one
1854           go (the first call to g_mkstemp() would overwrite the
1855           placeholder in the template string, so the second call
1856           to g_mkstemp() after creating the missing directory
1857           would then error out with 'invalid argument').
1858
1859 2006-06-13  Edward Hervey  <edward@fluendo.com>
1860
1861         * gst/gst.c: (init_post):
1862         Free string.
1863
1864 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1865
1866         * gst/glib-compat-private.h:
1867         * gst/glib-compat.c:
1868         * gst/glib-compat.h:
1869         * gst/gstvalue.c: (gst_value_serialize_flags):
1870           remove GLib 2.6 compatibility code
1871
1872 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
1873
1874         * gst/parse/Makefile.am:
1875           Fix build with 'make -j N' even more (#340016).
1876
1877 2006-06-12  Wim Taymans  <wim@fluendo.com>
1878
1879         * docs/gst/gstreamer-sections.txt:
1880         Fix docs.
1881
1882 2006-06-12  Wim Taymans  <wim@fluendo.com>
1883
1884         * gst/gstsegment.c: (gst_segment_set_duration),
1885         (gst_segment_set_last_stop), (gst_segment_set_seek),
1886         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1887         (gst_segment_to_running_time), (gst_segment_clip):
1888         Use G_UNLIKELY to help the compiler a bit.
1889
1890 2006-06-12  Wim Taymans  <wim@fluendo.com>
1891
1892         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1893
1894         * gst/gstevent.c: (gst_event_get_type):
1895         * gst/gstmessage.c:
1896         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1897         (gst_pad_push):
1898         constify quark registration strings. Fixes #344115
1899         Avoid unneeded type checking is _pad_push() by internally
1900         calling gst_pad_chain_unchecked().
1901
1902 2006-06-12  Wim Taymans  <wim@fluendo.com>
1903
1904         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1905         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1906         (gst_subbuffer_finalize), (gst_buffer_create_sub),
1907         (gst_buffer_is_span_fast), (gst_buffer_span):
1908         Init _type for consistency.
1909         Use _FLAGS macro to avoid type check.
1910         Avoid unneeded type checks in subbufer code.
1911
1912 2006-06-12  Wim Taymans  <wim@fluendo.com>
1913
1914         * gst/gst.c: (gst_debug_help):
1915         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1916         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1917         (gst_plugin_feature_list_free):
1918         * gst/gstregistry.c: (gst_registry_add_plugin),
1919         (gst_registry_add_feature), (gst_registry_plugin_filter),
1920         (gst_registry_feature_filter), (gst_registry_find_plugin),
1921         (gst_registry_find_feature), (gst_registry_get_plugin_list),
1922         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1923         * gst/gstregistryxml.c: (load_feature),
1924         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1925         * gst/gstminiobject.c: (gst_mini_object_unref),
1926         (gst_mini_object_replace), (gst_value_mini_object_free),
1927         (gst_value_mini_object_copy):
1928         Use _CAST macros to avoid unneeded type checking.
1929         Added some more G_UNLIKELY.
1930
1931 2006-06-12  Wim Taymans  <wim@fluendo.com>
1932
1933         * gst/gstbuffer.h:
1934         Avoid unneeded type checking.
1935         API: GST_BUFFER_IS_DISCONT
1936
1937         * gst/gstminiobject.h:
1938         Avoid type check in flag accessor.
1939
1940         * gst/gstelementfactory.h:
1941         * gst/gstplugin.h:
1942         * gst/gstpluginfeature.h:
1943         Add _CAST macros.
1944         API: GST_ELEMENT_FACTORY_CAST
1945         API: GST_PLUGIN_CAST
1946         API: GST_PLUGIN_FEATURE_CAST
1947
1948 2006-06-12  Wim Taymans  <wim@fluendo.com>
1949
1950         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1951         (gst_object_unref):
1952         Add G_UNLIKELY in type registration.
1953         Avoid type check in _ref/_unref since that is also
1954         done in glib.
1955
1956 2006-06-12  Wim Taymans  <wim@fluendo.com>
1957
1958         * gst/gsterror.c: (gst_g_error_get_type):
1959         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1960         (gst_static_pad_template_get_type):
1961         * gst/gsttaglist.c: (gst_tag_list_get_type):
1962         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1963         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1964         * gst/gsturi.c: (gst_uri_handler_get_type):
1965         * gst/gstvalue.c: (gst_date_get_type):
1966         * gst/gstxml.c: (gst_xml_get_type):
1967         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1968         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1969         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1970         Add G_UNLIKELY in type registration.
1971
1972 2006-06-12  Wim Taymans  <wim@fluendo.com>
1973
1974         * tools/gst-inspect.c: (print_signal_info):
1975         Properly print enum values.
1976
1977 2006-06-12  Wim Taymans  <wim@fluendo.com>
1978
1979         * gst/gstinfo.c: (gst_debug_set_active),
1980         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
1981         * gst/gstinfo.h:
1982         Add some G_[UN]LIKELY.
1983         Maintain __gst_debug_min to avoid formatting the arguments of
1984         debug messages that will be dropped anyway to avoid a lot of 
1985         overhead from the debugging system.
1986
1987 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1988
1989         * po/POTFILES.in:
1990         * po/POTFILES.skip:
1991           add missing files containing translatable strings, tell intltool about
1992           one exception
1993
1994 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1995
1996         * tests/check/libs/.cvsignore:
1997         add test-binary to ignore list
1998
1999 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2000
2001         * docs/libs/gstreamer-libs-docs.sgml:
2002         reorder (put dp into a chapter) and indent
2003
2004 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2005
2006         * configure.ac:
2007           back to HEAD
2008
2009 === release 0.10.8 ===
2010
2011 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2012
2013         * configure.ac:
2014           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2015
2016 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2017
2018         * gst/gst.c: (init_post):
2019           move pid declaration to declaration block
2020
2021 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2022
2023         * gst/gst.c: (init_post):
2024           use _exit() instead of exit() in our forked child; this ensures
2025           that none of the registered exit handlers from whatever is using
2026           GStreamer get executed.  This fixes gnome-mixer-applet failing
2027           to load, because ORBit would shut down.
2028           Spotted by: Edward Hervey  <edward@fluendo.com>
2029           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2030           Fixes #344474
2031
2032 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2033
2034         * configure.ac:
2035           back to TRUNK
2036
2037 === release 0.10.7 ===
2038
2039 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2040
2041         * configure.ac:
2042           releasing 0.10.7, "Soepeke, ik zie ou"
2043
2044 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2045
2046         * configure.ac:
2047         * po/af.po:
2048         * po/az.po:
2049         * po/bg.po:
2050         * po/ca.po:
2051         * po/cs.po:
2052         * po/de.po:
2053         * po/en_GB.po:
2054         * po/fr.po:
2055         * po/it.po:
2056         * po/nb.po:
2057         * po/nl.po:
2058         * po/ru.po:
2059         * po/sq.po:
2060         * po/sr.po:
2061         * po/sv.po:
2062         * po/tr.po:
2063         * po/uk.po:
2064         * po/vi.po:
2065         * po/zh_CN.po:
2066         * po/zh_TW.po:
2067         * win32/common/config.h:
2068           0.10.6.2 prerelease
2069
2070 2006-06-07  Wim Taymans  <wim@fluendo.com>
2071
2072         * gst/gstindex.c: (gst_index_gtype_resolver):
2073         * tools/gst-xmlinspect.c: (print_plugin_info):
2074         Fix leak spotted by coverity checker. Fixes #343827
2075         Fix another other leak found by paolo borelli.
2076
2077 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2078
2079         * libs/gst/dataprotocol/dataprotocol.c:
2080         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2081         (gst_dp_version_get_type), (gst_dp_init),
2082         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2083         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2084         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2085         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2086         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2087         (gst_dp_packetizer_free):
2088         * libs/gst/dataprotocol/dataprotocol.h:
2089           API: add a GstDPPacketizer object, and create/free functions
2090           API: add GstDPVersion enum
2091           Add 1.0 event function that uses the string serialization
2092           Serialize more useful buffer flags
2093           Fixes #343988
2094
2095 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2096
2097         * tests/check/Makefile.am:
2098         * tests/check/gst/gstabi.c:
2099         * tests/check/gst/struct_ppc64.h:
2100         * tests/check/libs/libsabi.c:
2101         * tests/check/libs/struct_ppc64.h:
2102           add ppc64 structure sizes
2103
2104 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2105
2106         * tests/check/Makefile.am:
2107         * tests/check/gst/gstabi.c:
2108         * tests/check/gst/struct_x86_64.h:
2109         * tests/check/libs/libsabi.c:
2110         * tests/check/libs/struct_x86_64.h:
2111           generate and add structure size lists for x86_64
2112
2113 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2114
2115         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2116         * libs/gst/check/gstcheck.h:
2117           factor out the method from tests that checks size of structures,
2118           and add code to generate the header containing these sizes
2119         * tests/check/gst/gstabi.c: (GST_START_TEST):
2120         * tests/check/gst/struct_i386.h:
2121         * tests/check/libs/libsabi.c: (GST_START_TEST):
2122         * tests/check/libs/struct_i386.h:
2123           use it
2124
2125 2006-06-06  Michael Smith  <msmith@fluendo.com>
2126
2127         * gst/gstsegment.h:
2128           Don't use c++-style comments, fixes #343929
2129
2130 2006-06-05  Edward Hervey  <edward@fluendo.com>
2131
2132         * gst/gst.c:
2133         plugin_paths is not used if we build without registry support.
2134
2135         * gst/gstsegment.c: (gst_segment_copy): 
2136         _copy() was always returning NULL...
2137
2138 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2139
2140         * libs/gst/dataprotocol/dataprotocol.c:
2141         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2142         (gst_dp_packet_from_event):
2143           factor out CRC code
2144
2145 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2146
2147         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2148           make sure we unset caps
2149
2150 2006-06-02  Michael Smith  <msmith@fluendo.com>
2151
2152         * libs/gst/check/gstcheck.c: (gst_check_init),
2153         (gst_check_chain_func):
2154         * libs/gst/check/gstcheck.h:
2155           Add a cond/mutex to the check support lib, signal this whenever we
2156           add to the buffers list. This will allow tests to not busy-wait on
2157           the buffer-list.
2158
2159 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2160
2161         * libs/gst/dataprotocol/dataprotocol.c:
2162         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2163         (gst_dp_packet_from_event):
2164           factor out some common header init code
2165
2166 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2167
2168         * docs/libs/gstreamer-libs-sections.txt:
2169         * docs/libs/tmpl/gstdataprotocol.sgml:
2170         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2171         * libs/gst/dataprotocol/dataprotocol.h:
2172           API: make gst_dp_crc() public
2173
2174 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2175
2176         * plugins/indexers/gstindexers.c: (plugin_init):
2177         conditionally register fileindexer (fixes #343598)
2178
2179 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2180
2181         * gst/gsttagsetter.h:
2182         Can't cast ifaces to a class
2183
2184         * libs/gst/net/gstnetclientclock.h:
2185         * libs/gst/net/gstnettimeprovider.h:
2186         * plugins/elements/gstfakesink.h:
2187         * plugins/elements/gstfakesrc.h:
2188         * plugins/elements/gstfdsink.h:
2189         * plugins/elements/gstfdsrc.h:
2190         * plugins/elements/gstfilesink.h:
2191         * plugins/elements/gstfilesrc.h:
2192         * plugins/elements/gstidentity.h:
2193         * plugins/elements/gstqueue.h:
2194         * plugins/elements/gsttee.h:
2195         * plugins/indexers/gstfileindex.c:
2196         * plugins/indexers/gstmemindex.c:
2197         * tests/old/examples/plugins/example.h:
2198         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2199
2200 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2201
2202         * libs/gst/dataprotocol/dataprotocol.c:
2203         (gst_dp_header_from_buffer):
2204           make sure we zero the whole ABI-compatible area
2205
2206 2006-06-01  Wim Taymans  <wim@fluendo.com>
2207
2208         Patch by: Alessandro Decina <alessandro at nnva dot org>
2209
2210         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2211         Make sure the EOS flag is cleared from pads after a flush
2212         or stop. Fixes #343538.
2213
2214         * tests/check/libs/collectpads.c: (GST_START_TEST),
2215         (gst_collect_pads_suite):
2216         Added test for collectpads reusage after EOS.
2217
2218 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2219
2220         * gst/gst.c:
2221          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2222         * win32/common/libgstbase.def:
2223          export gst_collect_pads_set_flushing
2224         * win32/common/libgstreamer.def:
2225          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2226          gst_value_fraction_multiply
2227         * win32/vs6/gst_inspect.dsp:
2228          add a link to intl.lib
2229
2230 2006-05-30  Wim Taymans  <wim@fluendo.com>
2231
2232         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2233         (gst_collect_pads_chain):
2234         Handle the case where a pad is removed from the collection
2235         that could cause the other pads to become collectable.
2236
2237 2006-05-30  Wim Taymans  <wim@fluendo.com>
2238
2239         * gst/gstelement.c:
2240         Clarify the use of _release_request_pad() and
2241         _get_request_pad() a bit better.
2242
2243         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2244         (gst_adapter_take_buffer):
2245         Fix some doc and comment typos.
2246
2247 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2248
2249         * docs/gst/gstreamer-sections.txt:
2250         * docs/libs/gstreamer-libs-sections.txt:
2251           add declared symbols
2252
2253 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2254
2255         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2256         Add debug that can be enabled using a #define at the top of the file,
2257         for dumping stats about how late/early we were when waking up from
2258         waiting on the clock.
2259
2260 2006-05-30  Wim Taymans  <wim@fluendo.com>
2261
2262         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2263         When rebuilding the pad list, don't leak the previous list.
2264
2265 2006-05-30  Wim Taymans  <wim@fluendo.com>
2266
2267         Patch by: Lutz Mueller <lutz at topfrose dot de>
2268
2269         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2270         (gst_base_src_get_query_types), (gst_base_src_update_length):
2271         Publish supported query types.
2272         Update last_stop field in get_range mode so the position
2273         query works. Fixes #342321.
2274
2275 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2276
2277         * docs/gst/gstreamer-sections.txt:
2278         * gst/gsttaglist.c: (_gst_tag_initialize):
2279         * gst/gsttaglist.h:
2280           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2281
2282 2006-05-30  Wim Taymans  <wim@fluendo.com>
2283
2284         Patch by: Alessandro Decina <alessandro at nnva dot org>
2285
2286         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2287         Unlock mutex when removing an unknown pad.
2288         Fixes #343334.
2289
2290         * tests/check/Makefile.am:
2291         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2292         (push_event), (setup), (teardown), (GST_START_TEST),
2293         (gst_collect_pads_suite), (main):
2294         Added collecpads check, disabled for now as check crashes for
2295         some reason.
2296
2297 2006-05-29  Wim Taymans  <wim@fluendo.com>
2298
2299         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2300         Don't leak pads lists.
2301
2302 2006-05-29  Wim Taymans  <wim@fluendo.com>
2303
2304         * docs/libs/gstreamer-libs-sections.txt:
2305         * libs/gst/base/gstcollectpads.c:
2306         (gst_collect_pads_set_flushing_unlocked),
2307         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2308         (gst_collect_pads_stop):
2309         * libs/gst/base/gstcollectpads.h:
2310         API: gst_collect_pads_set_flushing()
2311         Added api to set the pads to flushing, useful for seeking
2312         code in elements using collectpads.
2313         Clear segment when receiving a flush.
2314
2315 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2316
2317         * gst/gst.c: (add_path_func), (init_post):
2318           Don't scan registry paths passed via --gst-plugin-path immediately
2319           (will crash, because absolutely nothing is set up and no types are
2320           registered etc.); do this later in init_post(). Fixes #343057.
2321
2322 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2323
2324         * gst/gst.c: (init_post):
2325           if we have fork, fork while reading/rebuilding the registry
2326           so the parent doesn't take the hit of having all plugins loaded
2327           in memory.  Fixes #342777.
2328         * configure.ac:
2329           Check if we have fork()
2330         * win32/common/config.h.in:
2331           no fork() on win32
2332
2333 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2334
2335         * plugins/elements/gstelements.c:
2336         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2337         (gst_file_src_init), (gst_file_src_set_property),
2338         (gst_file_src_get_property), (gst_file_src_start):
2339         * plugins/elements/gstfilesrc.h:
2340           API: GstFileSrc::use-mmap
2341
2342         Add a use-mmap property to enable easier testing of all code paths.
2343         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2344         in the absence of gnomevfssrc. (Closes #340501)
2345
2346 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2347
2348         * tools/gst-inspect.c:
2349         Add missing include, removes warning of ngettext not being defined on
2350         some arches.
2351
2352 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2353
2354         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2355         Handle NULL input and output pointers silently as a failed conversion,
2356         rather than g_warnings.
2357
2358 2006-05-25  Wim Taymans  <wim@fluendo.com>
2359
2360         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2361         Initialize variable before using. Fixes #342820.
2362
2363 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2364
2365         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2366           Fix off-by-one bug that would only allow peeks of N-1 bytes
2367           from the start even if the buffer to typefind on contains
2368           in fact N bytes of data (makes vorbis typefinding from a
2369           vorbis identification header buffer work).
2370
2371         * tests/check/Makefile.am:
2372         * tests/check/libs/.cvsignore:
2373         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2374         (gst_typefindhelper_suite), (main), (foobar_typefind),
2375         (plugin_init):
2376           Add very basic unit test for gst_type_find_helper_for_buffer()
2377           that checks for the problem fixed above.
2378
2379 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2380
2381         * tools/gst-inspect.c: (print_interfaces),
2382         (print_element_properties_info), (print_element_list), (main):
2383           add more translatable strings
2384
2385 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2386
2387         Patch by: Julien Moutte  <julien at moutte net>
2388
2389         * docs/gst/gstreamer-sections.txt:
2390           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2391           
2392         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2393         (gst_fake_sink_preroll):
2394         * plugins/elements/gstfakesink.h:
2395           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2396
2397 2006-05-23  Wim Taymans  <wim@fluendo.com>
2398
2399         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2400         * gst/gstpad.h:
2401         Added _CUSTOM error and success GstFlowReturn that can be
2402         used be elements internally. 
2403         Added macro to check for SUCCESS flowreturns.
2404         API: GST_FLOW_CUSTOM_SUCCESS
2405         API: GST_FLOW_CUSTOM_ERROR
2406         API: GST_FLOW_IS_SUCCESS
2407
2408         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2409         Added check for GstFlowReturn sanity.
2410
2411 2006-05-23  Wim Taymans  <wim@fluendo.com>
2412
2413         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2414
2415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2416         (gst_collect_pads_event):
2417         clear/reset segment info in FLUSH_STOP.
2418         Fixes #336929.
2419
2420 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2421
2422         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2423         (gst_collect_pads_check_collected):
2424         Flush queued buffer on _stop(), fixes playing again (#342454)
2425
2426 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2427
2428         * tests/check/gst/gststructure.c: (GST_START_TEST),
2429         (gst_structure_suite):
2430           add a test for a complete structure
2431
2432 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2433
2434         * docs/faq/developing.xml:
2435         * docs/faq/faq.xml:
2436         * docs/faq/troubleshooting.xml:
2437         * docs/faq/using.xml:
2438           Some minor FAQ updates that won't change the fact that
2439           our FAQ is badly structured, full of information hardly
2440           anyone new to GStreamer needs to know and lacking lots
2441           of information people constantly ask for.
2442           
2443 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2444
2445         * gst/gstpad.c: (gst_pad_set_caps):
2446           Short-circuit gst_pad_set_caps if setting the existing
2447           caps pointer again, and avoid printing debug and 
2448           reffing/unreffing the caps.
2449
2450         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2451           There's actually no need to set the caps before pushing -
2452           the acceptcaps method will handle it anyway.
2453
2454 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2455
2456         * docs/gst/gstreamer-sections.txt:
2457         * win32/common/libgstreamer.def:
2458         * gst/gstutils.c: (gst_element_seek_simple):
2459         * gst/gstutils.h:
2460           API: add gst_element_seek_simple() (#342238).
2461
2462 2006-05-18  Edward Hervey  <edward@fluendo.com>
2463
2464         * gst/gsttypefind.c: (gst_type_find_get_type):
2465         * gst/gsttypefind.h:
2466         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2467         registered for GstTypeFind pointers. This allows wrapping the structure
2468         in bindings (i.e. gst-python).
2469
2470 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2471
2472         * gst/gsttagsetter.c:
2473           Docs additions and fixes (see #339918).
2474
2475 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2476
2477         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2478         The caps intersection algorithm can produce multiple copies of the
2479         caps. Until that is fixed, we need to simplify the result to be
2480         sure whether the allowed caps are fixed or not.
2481
2482         * plugins/elements/gstqueue.c: (gst_queue_init),
2483         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2484         (gst_queue_push_one):
2485         Proxied buffer alloc should not set the caps on the source pad.
2486         When pushing buffers, we always accept the caps change that triggers.
2487         This prevents negotiation errors caused by caps changing mid-stream 
2488         and then being refused on our source pad (because upstream is now
2489         refusing those caps).
2490
2491 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2492
2493         * tests/examples/helloworld/helloworld.c: (main):
2494           Must plug audioconvert and audioresample between decoder
2495           and audio sink.
2496
2497 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2498
2499         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2500         (load_feature), (load_plugin):
2501         Allow empty strings for some of the plugin fields so we don't 
2502         drop valid plugin entries that were written out correctly
2503         (Fixes #341479)
2504
2505 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2506         
2507         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2508           Use g_remove and g_rename instead of remove and rename that don't 
2509           handle utf8 characters. rename was failing for users who had specific
2510           characters in their name then the registry was built at each 
2511           gstreamer init.
2512         * win32/vs6/gst_inspect.dsp:
2513         * win32/vs6/gst_launch.dsp:
2514         * win32/vs6/libgstbase.dsp:
2515         * win32/vs6/libgstcoreelements.dsp:
2516         * win32/vs6/libgstreamer.dsp:
2517           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2518           build of libgstreamer and clean unused libraries in projects link 
2519           settings.
2520
2521 2006-05-17  Edward Hervey  <edward@fluendo.com>
2522
2523         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2524         The queue is not responsible for pushing an EOS when receiving a fatal
2525         flow error. It's up to the real element driving the pipeline to do that.
2526
2527 2006-05-16  Edward Hervey  <edward@fluendo.com>
2528
2529         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2530         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2531         buffer returned a fatal error. It should just send an EOS and stop
2532         its task.
2533         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2534         when pushing buffers on the queue and will be able to handle the event.
2535
2536 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2537
2538         * docs/manual/basics-bins.xml:
2539         * docs/manual/basics-init.xml:
2540           Fix typos and minor errors in sample code (#341856).
2541
2542 2006-05-16  Wim Taymans  <wim@fluendo.com>
2543
2544         * docs/design/part-qos.txt:
2545         Fix indexes in formulas to make more sense.
2546
2547 2006-05-15  Wim Taymans  <wim@fluendo.com>
2548
2549         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2550         Don't report POSITION based on clock time if sync is
2551         disabled in a sink.
2552
2553 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2554
2555         * gst/gstobject.h:
2556           Add cast to make compiler happy - refcount variable was a gint
2557           in GstObject but is a guint in GObject and g_atomic_int_get()
2558           wants a gint *.
2559
2560 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2561
2562         * gst/parse/Makefile.am:
2563           chain commands using &&, which also makes parallel make work
2564
2565 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2566
2567         * docs/gst/gstreamer-sections.txt:
2568         * gst/gstevent.c:
2569         * gst/gstevent.h:
2570         * gst/gstmessage.h:
2571           Minor docs fixes.
2572
2573 === release 0.10.6 ===
2574
2575 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2576
2577         * configure.ac:
2578           releasing 0.10.6, "Take the cannoli"
2579
2580 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2581
2582         * tools/gst-launch.c: (print_tag):
2583           Fix use of uninitialized variable in the hypothetical
2584           case that some broken plugin creates a GST_TAG_IMAGE
2585           tag containing a NULL buffer (#341667).
2586
2587 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2588
2589         * tools/gst-launch.c: (print_tag):
2590           Print something more intelligible for image tags when
2591           using the -t switch (#341556).
2592
2593 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2594
2595         * Makefile.am:
2596           updates for win32
2597         * configure.ac:
2598           define GST_MAJORMINOR so we have it available in win32/common/config.h
2599           Possibly remove it from our Makefile.am files later
2600         * win32/common/config.h:
2601         * win32/common/config.h.in:
2602           added GST_MAJORMINOR
2603         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2604         * win32/common/gstversion.h:
2605           updated
2606
2607 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2608
2609         * win32/MANIFEST:
2610           Update win32 files listing.
2611         * win32/common/gstversion.h:
2612           Add GST_MAJORMINOR definition.
2613         * win32/common/libgstreamer.def:
2614           Add new exported functions.
2615           
2616 2006-05-12  Michael Smith  <msmith@fluendo.com>
2617
2618         * gst/gstplugin.c: (gst_plugin_load_file):
2619           If an so file has no plugin entry point, unload the module.
2620
2621 2006-05-11  Wim Taymans  <wim@fluendo.com>
2622
2623         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2624         (gst_queue_set_property):
2625         Don't forget to signal the _chain or _loop function 
2626         when the queue size or thresholds change since that might
2627         cause them to make progres again.
2628
2629 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2630
2631         * gst/gstclock.c: (gst_clock_class_init):
2632         * gst/gstindex.c: (gst_index_class_init):
2633         * gst/gstobject.c: (gst_object_class_init):
2634         * gst/gstpad.c: (gst_pad_class_init):
2635         * gst/gstpipeline.c: (gst_pipeline_class_init):
2636         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2637         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2638         * libs/gst/base/gstbasetransform.c:
2639         (gst_base_transform_class_init):
2640         * libs/gst/net/gstnetclientclock.c:
2641         (gst_net_client_clock_class_init):
2642         * libs/gst/net/gstnettimeprovider.c:
2643         (gst_net_time_provider_class_init):
2644         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2645         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2646         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2647         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2648         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2649         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2650         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2651         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2652         * plugins/elements/gsttee.c: (gst_tee_class_init):
2653         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2654         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2655           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2656
2657 2006-05-11  Wim Taymans  <wim@fluendo.com>
2658
2659         * gst/gstbuffer.c: (_gst_buffer_initialize):
2660         Register subbufer along with the buffer type so that
2661         it does not accidentally gets registered from N
2662         different streaming threads in a non threadsafe way.
2663
2664 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2665
2666         * gst/gstbuffer.h:
2667         * gst/gstevent.h:
2668         * gst/gstmessage.h:
2669           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2670           gst_event_ref() and gst_message_ref() functions again
2671           (ugly hack, please do fix if there's a better way besides
2672           overrides.txt, which doesn't seem to work).
2673
2674 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2675
2676         * libs/gst/check/gstcheck.h:
2677           add an assert for setting state to avoid lots of repetitive code
2678           in the future
2679
2680 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2681
2682         * gst/gstvalue.c: (gst_value_serialize_flags):
2683           fix a leak if no flags are set
2684         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2685           fix leak in tests
2686
2687 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2688
2689         * docs/manual/basics-pads.xml:
2690           Expand a bit on caps and filtered links and update
2691           examples that were still using the no longer existing
2692           gst_pad_link_filtered() (#338206).
2693
2694 2006-05-10  Wim Taymans  <wim@fluendo.com>
2695
2696         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2697         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2698         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2699         (gst_collect_pads_stop):
2700         * libs/gst/base/gstcollectpads.h:
2701         No need to call _stop in _finalize.
2702         Iterate the main pad list in _finalize.
2703         Added some more debug.
2704         Free lists and data in the right order.
2705         Also free data whem doing _remove_pad when stopped for
2706         backward compatibility protect ::started with PAD_LOCK as
2707         well.
2708
2709 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2710
2711         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2712         (gst_structure_parse_value):
2713           add some comments
2714           rename a method so that it actually says what it does better
2715
2716 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2717
2718         * gst/gstevent.c: (_gst_event_initialize):
2719         * gst/gstformat.c: (_gst_format_initialize):
2720           make sure some essential types used by events are registered
2721           as part of gst_init()
2722         * gst/gstvalue.c: (gst_value_serialize_flags):
2723           if no flags are set, serialize them to a value that represents NONE
2724           so that deserializing them works
2725         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2726           add tests for serialization and deserialization of flags
2727
2728 2006-05-10  Wim Taymans  <wim@fluendo.com>
2729
2730         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2731         (gst_collect_pads_collect_range), (gst_collect_pads_available),
2732         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2733         (gst_collect_pads_event), (gst_collect_pads_chain):
2734         Update docs.
2735         Better debug info.
2736         Catch and return errors from the collect function
2737         Refuse data on eos pads.
2738
2739 2006-05-10  Edward Hervey  <edward@fluendo.com>
2740
2741         * gst/gstinterface.h:
2742         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2743         GInterface type checking.
2744         They were previously using non-defined macros.
2745
2746 2006-05-09  Wim Taymans  <wim@fluendo.com>
2747
2748         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2749         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2750         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2751         (gst_collect_pads_start), (gst_collect_pads_stop),
2752         (gst_collect_pads_peek), (gst_collect_pads_pop),
2753         (gst_collect_pads_available), (gst_collect_pads_read),
2754         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2755         (gst_collect_pads_is_collected), (gst_collect_pads_event),
2756         (gst_collect_pads_chain):
2757         * libs/gst/base/gstcollectpads.h:
2758         Clean up the mess that is collectpads, add comments and
2759         FIXMEs where needed.
2760         Maintain a separate pad list so we can add pads while
2761         collecting the other ones. For this we need a new separate 
2762         lock (see comics).
2763         Fix memory leak in finalize.
2764         Refactor some weird code to set/unset pad flushing flags, mark
2765         with comments.
2766         Don't crash in _available, _read, _flush when we're EOS.
2767
2768         * tests/check/libs/.cvsignore:
2769         Ignore adapter check binary.
2770
2771 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2772
2773         * gst/gstindex.c: (gst_index_resolver_get_type):
2774         * plugins/elements/gstfakesink.c:
2775         (gst_fake_sink_state_error_get_type):
2776         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2777         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2778         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2779           Const-ify GEnumValue arrays.
2780
2781 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2782
2783         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2784           Add test case for flags + gst_buffer_make_metadata_writable().
2785
2786 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2787
2788         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2789           gst_buffer_make_metadata_writable() should maintain the
2790           buffer flags (those that make sense at least) (see #340859).
2791
2792 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2793
2794         * tools/gst-inspect.c:
2795         * tools/gst-launch.c:
2796         * tools/gst-typefind.c:
2797         * tools/gst-xmlinspect.c:
2798         * tools/tools.h:
2799           Fix up includes: need to include stdlib.h in tools.h for exit().
2800
2801 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2802
2803         * gst/gsttaglist.c: (_gst_tag_initialize):
2804         * gst/gsttaglist.h:
2805           API: add GST_TAG_IMAGE tag (#340721).
2806
2807 2006-05-08  Wim Taymans  <wim@fluendo.com>
2808
2809         * gst/gstquery.c:
2810         Added some docs for the segment query.
2811
2812 2006-05-08  Wim Taymans  <wim@fluendo.com>
2813
2814         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2815         (gst_base_src_loop), (gst_base_src_change_state):
2816         Always push non-flushing serialized events in the streaming 
2817         thread.
2818
2819 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2820
2821         * gst/gsterror.c: (_gst_stream_errors_init):
2822           Add a missing error string.
2823
2824 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
2825
2826         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2827         Add applied_rate to the debug
2828
2829         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2830         Copy applied_rate into the outgoing NEWSEGMENT event
2831
2832 2006-05-08  Wim Taymans  <wim@fluendo.com>
2833
2834         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2835
2836         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2837         (gst_base_sink_change_state):
2838         call ::unlock before taking the PREROLL_LOCK so we can safely
2839         handle elements that lock in ::render.
2840         Fixes #340174.
2841
2842 2006-05-08  Edward Hervey  <edward@fluendo.com>
2843
2844         * autogen.sh: (CONFIGURE_DEF_OPT): 
2845         Darwin's libtoolize is in fact called glibtoolize.
2846         Adding glibtoolize to the list of accepted names for libtoolize.
2847
2848 2006-05-08  Wim Taymans  <wim@fluendo.com>
2849
2850         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2851         Unify error handling, don't post an error message
2852         when a push() returns EOS but perform our normal EOS
2853         handling code. Fixes #340772.
2854
2855 2006-05-08  Wim Taymans  <wim@fluendo.com>
2856
2857         * docs/design/part-overview.txt:
2858         Make upsteam/downstream concepts more clear.
2859         Give an example of serialized/non-serialized events.
2860
2861         * docs/design/part-events.txt:
2862         * docs/design/part-streams.txt:
2863         Mention applied_rate.
2864
2865         * docs/design/part-trickmodes.txt:
2866         Mention applied rate, flesh out some more use cases.
2867
2868         * gst/gstevent.c: (gst_event_new_new_segment),
2869         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2870         (gst_event_parse_new_segment_full), (gst_event_new_tag),
2871         (gst_event_parse_tag), (gst_event_new_buffer_size),
2872         (gst_event_parse_buffer_size), (gst_event_new_qos),
2873         (gst_event_parse_qos), (gst_event_parse_seek),
2874         (gst_event_new_navigation):
2875         * gst/gstevent.h:
2876         Add applied_rate field to NEWSEGMENT event.
2877         API: gst_event_new_new_segment_full()
2878         API: gst_event_parse_new_segment_full()
2879
2880         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2881         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2882         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2883         * gst/gstsegment.h:
2884         Add applied_rate to GstSegment structure.
2885         Make calculation of stream_time and running_time more correct
2886         wrt rate/applied_rate.
2887         Add some more docs.
2888         API: GstSegment::applied_rate field
2889         API: gst_segment_set_newsegment_full();
2890
2891         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2892         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2893         * libs/gst/base/gstbasetransform.c:
2894         (gst_base_transform_sink_eventfunc),
2895         (gst_base_transform_handle_buffer):
2896         Parse and use applied_rate in the GstSegment field.
2897
2898         * tests/check/gst/gstevent.c: (GST_START_TEST):
2899         Add check for applied_rate field.
2900
2901         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2902         (gstsegments_suite):
2903         Add more checks for various GstSegment operations.
2904
2905 2006-05-08  Wim Taymans  <wim@fluendo.com>
2906
2907         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2908         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2909         (gst_base_sink_get_position), (gst_base_sink_change_state):
2910         Store the sync time of the buffer end position separatly in a
2911         new variable eos_rtime so we can properly sync the EOS event.
2912         Fixes #340697.
2913         Fix the docs for gst_base_sink_set_qos_enabled().
2914         Don't set segment start to invalid value when we receive a 
2915         non TIME newsegment.
2916         get closer to handling position reporting for negative rates 
2917         correctly.
2918
2919 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2920
2921         * gst/gstcaps.c:
2922         Docs about how to print caps for debug purposes.
2923
2924         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2925         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2926
2927 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2928
2929         * gst/gstelement.c:
2930           use full enum names and preprend a '%' in docs strings to make recent 
2931           gtk-doc turn that into a link
2932
2933 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2934
2935         * docs/manual/basics-bins.xml:
2936         * docs/manual/basics-bus.xml:
2937         * docs/manual/basics-pads.xml:
2938           Some typo fixes, some additions, some clarifications. 
2939
2940 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2941
2942         * tools/gst-inspect.c: (main):
2943         * tools/gst-launch.c: (main):
2944         * tools/gst-run.c: (main):
2945         * tools/gst-typefind.c: (main):
2946         * tools/gst-xmlinspect.c: (main):
2947           Use the string passed to g_option_context_new() for
2948           what it's intended for - the program name is already
2949           printed elsewhere.
2950
2951 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * tools/Makefile.am:
2954         * tools/gst-inspect.c: (main):
2955         * tools/gst-launch.c: (main):
2956         * tools/gst-xmlinspect.c: (main):
2957         * tools/tools.h:
2958           Add back --version command line option (#340460).
2959
2960         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2961           Add --version option and use GOption for argument parsing; refactor a
2962           bit; accept directories as arguments and recurse into them; lastly,
2963           print a decent error message when things go wrong.
2964
2965 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2966
2967         * docs/manual/basics-bins.xml:
2968         Don't mention GstThread (#340611)
2969         * docs/manual/basics-elements.xml:
2970         Update link to GObject tutorial (#340607)
2971         
2972 2006-05-05  Wim Taymans  <wim@fluendo.com>
2973
2974         * gst/gstbuffer.h:
2975         * gst/gstminiobject.c:
2976         Add note about refcounting and miniobject/buffer writeability
2977         to docs. Fixes #340604
2978
2979         * gst/gstelementfactory.h:
2980         Added some explanation about @klass.
2981
2982 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2983
2984         * docs/manual/intro-motivation.xml:
2985         * docs/manual/manual.xml:
2986         Avoid CORBA & Bonobo references (#340598)
2987
2988 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2989
2990         * docs/manual/basics-bus.xml:
2991         * docs/manual/basics-pads.xml:
2992         Fix up some inaccuracies and omissions (#340609)
2993         
2994 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2995
2996         * gst/gstghostpad.c:
2997           Small typo in docs (#340625)
2998
2999 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3000
3001         * gst/parse/Makefile.am:
3002           Make 'make -j' proof (see #340698).
3003
3004 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3005
3006         * configure.ac:
3007           Require GLib-2.8 here as well.
3008
3009 2006-05-05  Wim Taymans  <wim@fluendo.com>
3010
3011         * gst/glib-compat.c:
3012         * gst/gst.c: (init_pre):
3013         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3014         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3015         (gst_object_dispatch_properties_changed):
3016         * gst/gstobject.h:
3017         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3018         * gst/gststructure.c: (gst_structure_set_valist):
3019         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3020         Remove pre glib2.8 compatibility, fixes #340508
3021
3022 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3023
3024         * gst/gsttaglist.h:
3025           Mention type of tags in doc blurbs.
3026
3027 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3028
3029         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3030         (gst_pad_configure_src), (gst_pad_push):
3031         Restore acceptcaps checking behaviour now that good plugins have
3032         been released.
3033
3034 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3037
3038         * gst/gst.c:
3039         * gst/gstbus.c:
3040         * gst/gstclock.c:
3041         * gst/gstevent.c:
3042         * gst/gstformat.c:
3043         * gst/gstmessage.c:
3044         * gst/gstparse.c:
3045         * gst/gstquery.c:
3046         * gst/gstutils.c:
3047         * gst/parse/Makefile.am:
3048         * libs/gst/base/gstadapter.c:
3049         * libs/gst/base/gstbasesrc.c:
3050         * libs/gst/base/gstpushsrc.c:
3051         * libs/gst/base/gsttypefindhelper.c:
3052         * plugins/elements/gstfakesrc.c:
3053         * plugins/elements/gstidentity.c:
3054           Make sure gstprivate.h and/or config.h are
3055           always included first, otherwise some of our
3056           defines (like _FILE_OFFSET_BITS) might be
3057           redefined in the system headers. Fixes build
3058           on opensolaris (#340016).
3059
3060 2006-05-04  Wim Taymans  <wim@fluendo.com>
3061
3062         * docs/libs/gstreamer-libs-sections.txt:
3063         API: addition: gst_adapter_take_buffer()
3064         
3065         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3066         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3067         (gst_adapter_available_fast):
3068         * libs/gst/base/gstadapter.h:
3069         Prepare for optimizing the hell out of this hugely inefficient
3070         piece of code. 
3071         Added gst_adapter_take_buffer() so we can at least start thinking
3072         about subbuffering and merging.
3073         Added some comments.
3074
3075         * tests/check/Makefile.am:
3076         * tests/check/libs/adapter.c: (GST_START_TEST),
3077         (gst_adapter_suite), (main):
3078         Added GstAdapter check.
3079
3080 2006-05-04  Wim Taymans  <wim@fluendo.com>
3081
3082         * docs/design/part-overview.txt:
3083         Fix some typos, add blurb about buffer flags.
3084
3085 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3086
3087         * docs/libs/gstreamer-libs-sections.txt:
3088           make sure GstBaseTransformClass shows up in the docs
3089         * libs/gst/base/gstbasetransform.c:
3090         * libs/gst/base/gstbasetransform.h:
3091           move docs so gtk-doc picks it up now
3092
3093 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * docs/libs/gstreamer-libs-sections.txt:
3096           add missing symbols to docs
3097
3098 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3099
3100         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3101           back out the newsegment handling change, see #340060 for ongoing
3102           discussion
3103
3104 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3105
3106         * tools/gst-run.c: (get_candidates), (main):
3107           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3108           work); fix typo in error message. Fixes #340079.
3109
3110 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3111
3112         * common/Makefile.am:
3113         * docs/Makefile.am:
3114         * docs/faq/Makefile.am:
3115         * docs/gst/Makefile.am:
3116         * docs/libs/Makefile.am:
3117         * docs/manual/Makefile.am:
3118         * docs/plugins/Makefile.am:
3119         * docs/pwg/Makefile.am:
3120         * docs/slides/Makefile.am:
3121         * docs/upload.mak:
3122         * common/upload.mak:
3123           move upload.mak to common
3124
3125 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3126
3127         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3128           add more asserts on refcounts
3129           do more cleanup at end of tests
3130           fix test leaks showing in FC5
3131
3132 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3133
3134         * plugins/elements/gsttypefindelement.c:
3135         (gst_type_find_element_handle_event):
3136         reverted wrong change and reflowed code to avoid others falling into
3137         this trap
3138
3139 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3140
3141         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3142           fix changelog entry about last collectpads change,
3143           add notes about proper fix
3144
3145 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3146
3147         * gst/gst.c:
3148         * gst/gstregistry.c: (gst_registry_scan_path_level),
3149         (gst_registry_scan_path):
3150         * gst/gstregistry.h:
3151           only write out registry if it has changed, fixes #338339
3152
3153 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3154
3155         * gst/gstbin.c:
3156         * gst/gstpipeline.c:
3157         * plugins/elements/gstcapsfilter.c:
3158         * plugins/elements/gstfakesink.c:
3159         * plugins/elements/gstfakesrc.c:
3160         * plugins/elements/gstfdsink.c:
3161         * plugins/elements/gstfdsrc.c:
3162         * plugins/elements/gstfilesink.c:
3163         * plugins/elements/gstfilesrc.c:
3164         * plugins/elements/gstidentity.c:
3165         * plugins/elements/gstqueue.c:
3166         * plugins/elements/gsttee.c:
3167         * plugins/elements/gsttypefindelement.c:
3168         (gst_type_find_element_handle_event):
3169           make GstElementDetails const
3170
3171 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3172
3173         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3174         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3175         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3176           more detailed debug and formatting cleanup,
3177           forward newsegments to src-pad (so that e.g. adder not eats them)
3178
3179 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * gst/gstutils.c: (gst_element_link_pads):
3182           cleanup double code
3183
3184 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * libs/gst/controller/gstcontroller.c:
3187         (gst_controller_sync_values):
3188           some little tuning
3189         * tests/check/libs/controller.c: (GST_START_TEST),
3190         (gst_controller_suite):
3191           a new test for live value handling
3192
3193 2006-04-28  Wim Taymans  <wim@fluendo.com>
3194
3195         * gst/gstutils.c: (push_and_ref):
3196         Added some more docs.
3197         Fix refcount issue whith gst_element_found_tags() helper 
3198         function. Fixes #338335
3199
3200         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3201         Added testsuite for gst_element_found_tags().
3202
3203 2006-04-28  Michael Smith  <msmith@fluendo.com>
3204
3205         * gst/gstvalue.c: (gst_value_serialize_flags):
3206           Avoid NULL dereference when trying to serialize flags containing
3207           invalid values.
3208
3209 2006-04-28  Michael Smith  <msmith@fluendo.com>
3210
3211         * plugins/elements/gsttypefindelement.c:
3212         (gst_type_find_element_handle_event):
3213           If we get EOS before any data is accumulated, don't use
3214           uninitialised local variables.
3215
3216 2006-04-28  Michael Smith  <msmith@fluendo.com>
3217
3218         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3219         (gst_dp_event_from_packet):
3220           Fixes in reading/writing events over GDP (not currently used?) - 
3221           dereferencing NULL events for unknown/invalid event types, memory
3222           leak, and change g_warning to GST_WARNING.
3223
3224 2006-04-28  Wim Taymans  <wim@fluendo.com>
3225
3226         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3227         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3228         (gst_base_sink_get_position), (gst_base_sink_change_state):
3229         When frame dropping is enabled, we should not ignore frames
3230         without a duration.
3231         Update some documentation.
3232
3233 2006-04-28  Wim Taymans  <wim@fluendo.com>
3234
3235         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3236         (gst_base_src_send_event), (gst_base_src_change_state):
3237         Documentation updates.
3238
3239 2006-04-28  Wim Taymans  <wim@fluendo.com>
3240
3241         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3242         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3243         handle EAGAIN, EINTR and short writes correctly. Also clean
3244         up some error cases, avoid a deadlock on bad file descriptors and
3245         use GST_DEBUG_OBJECT.
3246         Fixes #339843
3247
3248 2006-04-28  Wim Taymans  <wim@fluendo.com>
3249
3250         * gst/gstvalue.c: (gst_value_serialize_buffer),
3251         (gst_value_deserialize_buffer):
3252         Don't try to serialize a GValue with a NULL buffer. 
3253         Fixes #339821.
3254
3255         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3256         Added check for serialisation of NULL buffers.
3257
3258 2006-04-28  Wim Taymans  <wim@fluendo.com>
3259
3260         * gst/gstminiobject.c: (gst_value_take_mini_object):
3261         Taking a NULL miniobject is valid, fix the case where
3262         we try to unref the NULL miniobject.
3263
3264 2006-04-28  Wim Taymans  <wim@fluendo.com>
3265
3266         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3267
3268         * gst/gstbin.c: (gst_bin_handle_message_func):
3269         Update docs.
3270         Don't leak bin refcount when a state recalc is
3271         in progress and we delay another one #339808.
3272
3273 2006-04-28  Wim Taymans  <wim@fluendo.com>
3274
3275         * docs/design/part-TODO.txt:
3276         Mention QoS as an ongoing work item.
3277
3278         * docs/design/part-buffering.txt:
3279         New doc about buffering that needs to be fleshed out
3280         at some point.
3281
3282         * docs/design/part-qos.txt:
3283         More QoS policy for decoders/demuxers/transforms
3284
3285         * docs/design/part-trickmodes.txt:
3286         Small update.
3287
3288 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3289
3290         * configure.ac:
3291           back to HEAD
3292
3293 === release 0.10.5 ===
3294
3295 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3296
3297         * configure.ac:
3298           releasing 0.10.5, "Fogo"
3299
3300 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3301
3302         patch by: Wim Taymans
3303
3304         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3305         (gst_pad_configure_src), (gst_pad_push):
3306         * gst/gstpipeline.c: (gst_pipeline_init):
3307           Fix internal data flow errors.  Fixes #338711.
3308
3309 2006-04-12  Wim Taymans  <wim@fluendo.com>
3310
3311         * tests/check/gst/gstelement.c: (GST_START_TEST):
3312         Don't leak the factory.
3313
3314 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3315
3316         * configure.ac:
3317         * win32/common/config.h:
3318           prerelease
3319
3320 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3321
3322         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3323         (gst_controller_unset_all):
3324           Free allocated GstTimedValues when freeing list nodes.
3325           Should fix leaks 'make check-valgrind' complains about.
3326
3327         * win32/common/libgstcontroller.def:
3328           Add gst_controller_unset_all.
3329
3330 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3331
3332         * docs/libs/gstreamer-libs-sections.txt:
3333         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3334         (gst_controller_unset_all):
3335         * libs/gst/controller/gstcontroller.h:
3336         API: Added new method gst_controller_unset_all()
3337         fixed gst_controller_unset()
3338         * tests/check/libs/controller.c: (GST_START_TEST),
3339         (gst_controller_suite):
3340         Added two testcases for new and fixed method
3341
3342 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3343
3344         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3345           MSG_DONTWAIT is not defined on Cygwin, so work
3346           around that (fixes #317048).
3347           
3348 2006-04-11  Wim Taymans  <wim@fluendo.com>
3349
3350         * gst/gstelementfactory.c: (gst_element_register),
3351         (gst_element_factory_create), (gst_element_factory_make):
3352         Some cleanups.
3353         Fixed a FIXME.
3354         Updated docs (Fixes #131079)
3355
3356         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3357         Small cleanups.
3358
3359         * tests/check/gst/gstelement.c: (GST_START_TEST),
3360         (gst_element_suite):
3361         Added testcase for elementfactory class field.
3362
3363 2006-04-10  Wim Taymans  <wim@fluendo.com>
3364
3365         * gst/gstsegment.c:
3366         Added some more docs.
3367
3368         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3369         (gst_base_sink_reset_qos):
3370         Calculate more accurate rate values.
3371
3372 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3373
3374         * gst/gst_private.h:
3375           add a new #ifdef to use __declspec(dllimport) only for
3376           other modules and not for gstreamer core
3377         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3378           use gst_guint64_to_gdouble for conversion
3379         * win32/common/libgstreamer.def:
3380           add new exported functions
3381         * win32/vs6/gst_inspect.dsp:
3382         * win32/vs6/gst_launch.dsp:
3383         * win32/vs6/libgstbase.dsp:
3384         * win32/vs6/libgstcontroller.dsp:
3385         * win32/vs6/libgstcoreelements.dsp:
3386         * win32/vs6/libgstdataprotocol.dsp:
3387         * win32/vs6/libgstnet.dsp:
3388           update project files
3389
3390 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3391
3392         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3393         * gst/gstclock.c: (gst_clock_class_init):
3394         * gst/gstelement.c: (gst_element_class_init):
3395         * gst/gstindex.c: (gst_index_class_init):
3396         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3397         * gst/gstobject.c: (gst_object_class_init),
3398         (gst_signal_object_class_init):
3399         * gst/gstpad.c: (gst_pad_class_init):
3400         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3401         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3402         * gst/gstregistry.c: (gst_registry_class_init):
3403         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3404         * gst/gsttask.c: (gst_task_class_init):
3405         * gst/gstxml.c: (gst_xml_class_init):
3406         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3407         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3408         (gst_base_src_loop):
3409         * libs/gst/controller/gstcontroller.c:/
3410         (_gst_controller_class_init):
3411         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3412         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3413         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3414         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3415         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3416         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3417
3418 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3419
3420         * gst/gstpad.c: (gst_pad_link):
3421           Must set peer pads before calling the link function, otherwise
3422           a task started from a link function might get a flow-not-linked
3423           result when trying to push because the other thread where the
3424           linking happens hasn't had a chance to set the peers yet. This
3425           might happen for example when a queue gets linked to a downstream
3426           element, as queue starts a streaming task when its source pad
3427           gets linked. Happens in real life when playing back flac/musepack
3428           files in playbin (#332390).
3429           
3430 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3431
3432         * gst/gstindex.h:
3433         * gst/gstxml.h:
3434         * libs/gst/base/gstadapter.h:
3435         * libs/gst/base/gstbasesink.h:
3436         * libs/gst/base/gstbasesrc.h:
3437         * libs/gst/base/gstbasetransform.h:
3438         * libs/gst/base/gstcollectpads.h:
3439         * libs/gst/base/gstpushsrc.h:
3440         Fix broken GObject macros
3441
3442 2006-04-07  Wim Taymans  <wim@fluendo.com>
3443
3444         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3445         Initialize start and stop times, thanks valgrind.
3446
3447 2006-04-07  Wim Taymans  <wim@fluendo.com>
3448
3449         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3450         Be a bit nicer to badly behaving upstream elements that expect
3451         us to deal with non TIME segments and timestamps (such as fakesrc
3452         in the testsuite).
3453
3454 2006-04-07  Wim Taymans  <wim@fluendo.com>
3455
3456         * gst/gstbus.c:
3457         Small documentation clarification about the signal watch.
3458
3459         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3460         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3461         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3462         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3463         (gst_base_sink_get_position_last),
3464         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3465         Convert and store timestamps in stream time and running time, the
3466         raw timestamps are not usefull, also document this better.
3467         Use different window sizes for good and bad QoS observations so
3468         we react to badness a little quicker.
3469         Keep track of the amount of rendered and dropped buffers.
3470         Send QoS timestamps in running time.
3471
3472         * libs/gst/base/gstbasetransform.c:
3473         (gst_base_transform_sink_eventfunc),
3474         (gst_base_transform_handle_buffer):
3475         Compare QoS timestamps against running time.
3476
3477 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3478
3479         * gst/gstpad.c:
3480           Typo fixes in docs.
3481
3482 2006-04-06  Michael Smith  <msmith@fluendo.com>
3483
3484         * gst/gstpad.c: (gst_pad_set_property):
3485           Use g_value_get_object() instead of g_value_dup_gst_object(),
3486           to avoid double-reffing the pad template (which we then sink,
3487           so this worked previously if (and only if) the pad template
3488           was floating.
3489
3490         * gst/gstpadtemplate.c: (gst_pad_template_init),
3491         (gst_pad_template_pad_created):
3492           Never return floating references to pad templates, create
3493           them as initially-sunken.
3494
3495           Document an extra function (and make this stop sinking our
3496           pad template, since that is now guaranteed to do nothing,
3497           since we created it sunken).
3498
3499         * gst/gstghostpad.c:
3500           Fix docs typo.
3501
3502 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3503
3504         * gst/gstinfo.c: (__gst_in_valgrind):
3505           Add some newlines.
3506
3507         * plugins/elements/gsttypefindelement.c:
3508         (gst_type_find_element_chain):
3509           Don't leak buffer caps.
3510
3511 2006-04-06  Michael Smith  <msmith@fluendo.com>
3512
3513         * gst/parse/grammar.y:
3514           Fix a leak in parse-launch for any source-or-sink named element 
3515           references used.
3516
3517         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3518           Unref the pipeline if it exists after we've failed parsing.
3519
3520 2006-04-05  Michael Smith  <msmith@fluendo.com>
3521
3522         * gst/gstpipeline.c: (gst_pipeline_init):
3523           When we create a pipeline bus, initially create it in flushing mode.
3524           Fixes leaks in at least one test, and makes a new pipeline work the
3525           same as one that has gone to READY and then back to NULL.
3526
3527         * gst/gstelement.c:
3528           Typo fix in docs.
3529
3530 2006-04-05  Michael Smith  <msmith@fluendo.com>
3531
3532         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3533           Unref a pad we reffed.
3534         * tests/check/gst/gstutils.c: (GST_START_TEST):
3535           Unref bins
3536
3537 2006-04-05  Michael Smith  <msmith@fluendo.com>
3538
3539         * gst/gstquery.c: (gst_query_set_formats),
3540         (gst_query_set_formatsv):
3541           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3542
3543 2006-04-05  Michael Smith  <msmith@fluendo.com>
3544
3545         * tests/check/generic/sinks.c: (GST_START_TEST):
3546           Fix a variety of memleaks in sinks check, which are only sometimes 
3547           shown by running the tests under valgrind (weird?).
3548
3549 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3550
3551         * docs/version.entities.in:
3552           Fix the substituted entity name after thomas' changes on the
3553           weekend.
3554
3555 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3556
3557         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3558         VALGRIND_PRINTF
3559         
3560 2006-04-05  Andy Wingo  <wingo@pobox.com>
3561
3562         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3563
3564         * libs/gst/base/gstbasetransform.c
3565         (gst_base_transform_sink_eventfunc): When resetting our segment on
3566         FLUSH_STOP, also update the flag saying we haven't seen a
3567         newsegment.
3568
3569 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3570
3571         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3572
3573         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3574         (gst_plugin_check_license):
3575           minor clean-ups: G_DEFINE_TYPE already takes care of the
3576           parent_class stuff, no need to do it twice. Mark array of
3577           license strings as constant. (#337103)
3578           
3579 2006-04-04  Michael Smith  <msmith@fluendo.com>
3580
3581         * tools/gst-inspect.c: (print_element_list):
3582           Free the right plugin list; fixes a memory leak.
3583
3584 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3585
3586         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3587
3588         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3589           Don't error out on empty buffers (#336945).
3590           
3591 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3592
3593         * docs/libs/gstreamer-libs-sections.txt:
3594         * gst/gsttaglist.c:
3595         * libs/gst/base/gstbasesink.c:
3596         * libs/gst/base/gstbasesink.h:
3597         * libs/gst/base/gstbasesrc.c:
3598         * libs/gst/base/gstbasesrc.h:
3599           Documentation updates. Make BaseSink and BaseSrc docs contain the
3600           class structure so that people can actually see the prototypes for
3601           virtual functions they're supposed to be overriding.
3602
3603 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3604
3605         * plugins/elements/gsttypefindelement.c:
3606         (gst_type_find_element_chain):
3607           More debug info; when skipping typefinding, send cached
3608           events in all cases.
3609
3610 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3611
3612         * configure.ac:
3613           use new AS_VERSION and AS_NANO macros
3614         * gst/gst-i18n-lib.h:
3615         * gst/gst.c:
3616         * gst/gsterror.c:
3617         * gst/gstversion.h.in:
3618         * win32/common/config.h:
3619         * win32/common/config.h.in:
3620           update accordingly
3621
3622 2006-03-31  Michael Smith  <msmith@fluendo.com>
3623
3624         * plugins/elements/gsttypefindelement.c:
3625         (gst_type_find_element_chain):
3626           Do not typefind content if the buffers already have caps.
3627           Neccesary for icydemux (#333657), and the right thing to do anyway.
3628
3629 2006-03-30  Wim Taymans  <wim@fluendo.com>
3630
3631         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3632         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3633         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3634         (gst_base_sink_record_qos_observation),
3635         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3636         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3637         (gst_base_sink_change_state):
3638         More QoS measurements as described in the design doc.
3639         Get rid of ringbuffer with observations, running average is
3640         more simple and equally good.
3641         Calculates valid proportion now.
3642         Added beginning of flood measurement.
3643
3644 2006-03-29  Wim Taymans  <wim@fluendo.com>
3645
3646         * docs/design/part-qos.txt:
3647         * gst/gstclock.c:
3648         Small documentation updates and additions.
3649
3650 2006-03-29  Wim Taymans  <wim@fluendo.com>
3651
3652         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3653         (gst_base_src_send_event), (gst_base_src_loop),
3654         (gst_base_src_change_state):
3655         Perform the EOS logic when we reach the segment stop position.
3656         Fix compilation on gcc4.1
3657
3658 2006-03-29  Wim Taymans  <wim@fluendo.com>
3659
3660         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3661
3662         * plugins/elements/gstqueue.c: (gst_queue_init),
3663         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3664         (gst_queue_set_property):
3665         * plugins/elements/gstqueue.h:
3666         In queue, when EOS is received, if minimum threshold > max_size -
3667         current_level, there is chance that queue blocks forever in conditional
3668         item del wait. This is because the queue is not emptied completely due
3669         to minimum threshold.  Here is another approach. Instead of setting
3670         cur_levels to max in EOS, just zero all minimum threshold levels. This
3671         should make sure that queue gives out all data. When going to READY
3672         (stop) state, just reset the original minimum threshold levels.
3673         Fixes #336336.
3674
3675 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
3676
3677         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3678         (gst_type_find_element_handle_event),
3679         (gst_type_find_element_send_cached_events),
3680         (gst_type_find_element_change_state):
3681         * plugins/elements/gsttypefindelement.h:
3682           When typefinding is done in push mode, we should cache
3683           events we receive during typefinding instead of just
3684           dropping them (e.g. newsegment, custom events from
3685           dvdreadsrc etc.) and then send them out once we've
3686           determined the type of the stream (and decodebin
3687           has had a chance to plug in a decoder/demuxer).
3688           
3689 2006-03-27  Wim Taymans  <wim@fluendo.com>
3690
3691         * docs/design/part-qos.txt:
3692         First QoS ideas.
3693
3694 2006-03-27  Wim Taymans  <wim@fluendo.com>
3695
3696         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3697
3698         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3699         (gst_base_src_send_event), (gst_base_src_change_state):
3700         Handle element seek correctly when we are streaming.
3701         Fixes #326998.
3702
3703 2006-03-24  Michael Smith  <msmith@fluendo.com>
3704
3705         * docs/faq/gst-uninstalled:
3706           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3707           allow you to correctly run intalled applications built against old 
3708           core, using plugins that require updated core (e.g. running
3709           installed totem against a full uninstalled gstreamer stack)
3710
3711 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3712
3713         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3714         more debug details
3715
3716 2006-03-24  Wim Taymans  <wim@fluendo.com>
3717
3718         * docs/gst/gstreamer-sections.txt:
3719         Rearrange the order of the methods so that related methods
3720         are grouped together in sections.
3721
3722 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3723
3724         * gst/gstelement.c:
3725           Little clarification in the docs
3726
3727 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3728
3729         * docs/README:
3730         formatting fix
3731         * plugins/elements/gstidentity.c:
3732         * plugins/elements/gstqueue.c:
3733         * plugins/elements/gsttee.c:
3734         * plugins/elements/gsttypefindelement.c:
3735         GST_ELEMENT_DETAILS formatting
3736
3737 2006-03-24  Wim Taymans  <wim@fluendo.com>
3738
3739         * libs/gst/base/gstbasesink.h:
3740         Only add fields, not insert or we break ABI.
3741
3742 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3743
3744         * win32/common/libgstbase.def:
3745         * win32/common/libgstreamer.def:
3746           Update, add recently added functions.
3747
3748 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3749
3750         * docs/gst/gstreamer-sections.txt:
3751         * gst/gstutils.c: (gst_pad_query_peer_position),
3752         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3753         * gst/gstutils.h:
3754           API: add some new utility functions:
3755            - gst_pad_query_peer_position()
3756            - gst_pad_query_peer_duration()
3757            - gst_pad_query_peer_convert()
3758           
3759 2006-03-23  Wim Taymans  <wim@fluendo.com>
3760
3761         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3762         (gst_base_sink_init), (gst_base_sink_finalize),
3763         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3764         (gst_base_sink_set_property), (gst_base_sink_get_property),
3765         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3766         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3767         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3768         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3769         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3770         (gst_base_sink_preroll_object), (gst_base_sink_event),
3771         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3772         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3773         (gst_base_sink_query), (gst_base_sink_change_state):
3774         Decouple max-lateness and the fact that QoS messages are generated
3775         with a new property (qos).
3776         added API: GstBaseSink::async_play()
3777         Add vmethod so subclasses can be notified of ASYNC playing
3778         state changes.
3779         Collect timestamp start and stop to report better current
3780         position in EOS/PLAYING/PAUSED/READY/NULL.
3781         Refactor QoS/frame dropping and other measurements.
3782         API: GstBaseSrc::qos
3783         Fixes #326311
3784
3785         * libs/gst/base/gstbasesink.h:
3786         Added Private struct.
3787         API: gst_base_sink_set_qos_enabled()
3788         API: gst_base_sink_is_qos_enabled()
3789
3790 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3791
3792         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3793           If compiling against GLib-2.8 or newer, try to read the
3794           registry file using GMappedFile first before falling back
3795           to fopen() + fread() (#332151).
3796
3797 2006-03-22  Wim Taymans  <wim@fluendo.com>
3798
3799         * gst/gstinfo.c: (gst_debug_set_active),
3800         (gst_debug_category_set_threshold):
3801         Disable debugging unless explicitly activated.
3802         Fixes #335480.
3803
3804 2006-03-22  Wim Taymans  <wim@fluendo.com>
3805
3806         * gst/gstelement.c: (gst_element_set_locked_state),
3807         (gst_element_dispose):
3808         Cleanup the error case.
3809
3810         * gst/gstobject.c: (gst_object_dispose):
3811         print a critical when some object was disposed with
3812         a parent, also revive the object since it might
3813         crash the parent.
3814
3815 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
3816
3817         * tools/gst-launch.1.in:
3818           Fix another typo.
3819
3820 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3821
3822         * configure.ac:
3823         * tests/check/Makefile.am:
3824           disable some tests when we don't have a registry
3825         * tests/check/gst/gstutils.c: (gst_utils_suite):
3826           don't build the part that needs parsing
3827
3828 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3829
3830         * gst/Makefile.am
3831         * tests/examples/Makefile.am:
3832           fix --disable-parse build
3833
3834 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3835
3836         * tools/gst-feedback.1.in:
3837           Fix typo: s/feeback/feedback/ (#133494).
3838
3839 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3840
3841         * tools/Makefile.am:
3842         * tools/gst-launch.1.in:
3843           Add FILES section and correct entry about GST_REGISTRY_PATH
3844           environment variable (#133495; #133494).
3845
3846 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3847
3848         * tools/Makefile.am:
3849         * tools/gst-md5sum.1.in:
3850         * tools/gst-md5sum.c:
3851           Remove gst-md5sum and man page (the md5sink element
3852           required was removed ages ago)
3853
3854 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3855
3856         * gst/gststructure.c: (gst_structure_id_set_value):
3857           Make sure that string fields in structures/taglists
3858           contain valid UTF-8 - we don't want to pass rubbish to
3859           applications because of a buggy plugin (cp. #334167).
3860
3861 2006-03-21  Edward Hervey  <edward@fluendo.com>
3862
3863         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3864         (gst_bin_handle_message_func):
3865         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3866         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3867         (gst_element_set_bus_func):
3868         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3869         * gst/gstminiobject.c: (gst_value_set_mini_object),
3870         (gst_value_take_mini_object):
3871         * gst/gstpad.c: (gst_pad_set_pad_template):
3872         * gst/gstpipeline.c: (gst_pipeline_dispose),
3873         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3874         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3875         (gst_collect_pads_chain):
3876         * libs/gst/net/gstnettimeprovider.c:
3877         (gst_net_time_provider_set_property):
3878         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3879         It's in fact all issues with gst_*object_replace().
3880
3881 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3882
3883         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
3884         
3885         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3886         * pkgconfig/gstreamer-check.pc.in:
3887           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3888
3889 2006-03-21  Edward Hervey  <edward@fluendo.com>
3890
3891         * gst/gstbuffer.h:
3892         * gst/gstevent.h:
3893         * gst/gstmessage.h:
3894         gst_[buffer|event|message]_ref() macros are replaced by a static
3895         inline functions because gcc-4.1 will about if the return value
3896         isn't used.
3897         * tests/check/gst/gstevent.c: (event_probe):
3898         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3899
3900 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
3901
3902         * gst/gstutils.h:
3903         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3904         the type' case. (Closes: #335195 for now). In the future, when we
3905         depend on GLib 2.10, we could also intern the type name using
3906         g_intern_static_string()
3907
3908 2006-03-20  Wim Taymans  <wim@fluendo.com>
3909
3910         * gst/gstbin.c: (gst_bin_handle_message_func),
3911         (bin_query_max_init), (bin_query_position_fold),
3912         (bin_query_position_done), (gst_bin_query):
3913         Position query should also take max of all streams.
3914
3915 2006-03-20  Wim Taymans  <wim@fluendo.com>
3916
3917         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3918         (gst_fake_src_finalize):
3919         Fix leaks in fakesrc.
3920
3921         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3922         Fix leaks in the testcase.
3923
3924 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
3925
3926         * gst/gst_private.h:
3927           add win32 specific import decoration(__declspec(dllimport)) 
3928           for all extern GstDebugCategory * variables
3929         * win32/common/libgstbase.def:
3930         * win32/common/libgstcontroller.def:
3931         * win32/common/libgstreamer.def:
3932           Add some exports, remove empty lines
3933         * win32/common/libgstdataprotocol.def:
3934         * win32/common/libgstdataprotocol.dsp:
3935         * win32/common/libgstnet.def:
3936         * win32/common/libgstnet.dsp:
3937           new project files and exportation files added
3938         
3939 2006-03-19  Wim Taymans  <wim@fluendo.com>
3940
3941         * tests/check/libs/basesrc.c: (eos_event_counter):
3942         Use proper return value for probe.
3943
3944 2006-03-17  Wim Taymans  <wim@fluendo.com>
3945
3946         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3947         (gst_pad_push):
3948         Don't leak buffers, caps and pads on negotiation errors.
3949
3950 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
3951
3952         * docs/faq/cvs.xml:
3953         * docs/faq/dependencies.xml:
3954         * docs/faq/developing.xml:
3955         * docs/faq/faq.xml:
3956         * docs/faq/general.xml:
3957         * docs/faq/getting.xml:
3958         * docs/faq/legal.xml:
3959         * docs/faq/troubleshooting.xml:
3960         * docs/faq/using.xml:
3961         Faq review and update.
3962
3963 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
3964
3965         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3966         (gst_pad_push):
3967         Don't pound the cpu to pieces by checking get_caps when accept_caps
3968         is called with the same caps as the pad already has.
3969         Use GST_DEBUG_OBJECT when outputting caps change information.
3970
3971 2006-03-15  Wim Taymans  <wim@fluendo.com>
3972
3973         * gst/gstclock.c: (gst_clock_class_init):
3974         Fix docs.
3975
3976 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
3977
3978         * gst/gstbuffer.h:
3979         Documentation fix.
3980
3981         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
3982         (gst_pad_accept_caps), (gst_pad_configure_sink),
3983         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
3984         Make the default acceptcaps behaviour be to check the requested 
3985         caps against the gst_pad_get_caps output. 
3986
3987         Ensure that gst_pad_accept_caps is used to check caps when a pad
3988         doesn't have a setcaps function, so that pads automatically refuse 
3989         caps that they don't allow in their pad template. (Fixes #332986)
3990
3991         When a buffer with attached caps is pushed, ensure that the source 
3992         pad receives those caps even if the element didn't call
3993         gst_pad_set_caps first.
3994
3995 2006-03-15  Wim Taymans  <wim@fluendo.com>
3996
3997         * libs/gst/base/gstadapter.c:
3998         Add some docs.
3999
4000 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4001
4002         * win32/common/libgstbase.def:
4003         * win32/common/libgstcontroller.def:
4004         * win32/common/libgstreamer.def:
4005           Add a whole bunch of missing functions (#334434).
4006
4007 2006-03-14  Wim Taymans  <wim@fluendo.com>
4008
4009         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4010         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4011         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4012         Better debug info when we receive a segment event.
4013         Reorganize a bit so we can pass the get_times() results around.
4014         Use the segment format when calculating the running time.
4015         Don't do QoS is sync is disabled or we have no clock or the
4016         element does not want us to sync to the clock.
4017         Don't drop buffers if QoS is disabled for now.
4018
4019 2006-03-14  Wim Taymans  <wim@fluendo.com>
4020
4021         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4022         Marked the stats property as unimplemented so people don't get
4023         wild ideas.
4024         Add debug message when regression goes wrong.
4025         Added some more docs.
4026
4027 2006-03-14  Wim Taymans  <wim@fluendo.com>
4028
4029         * gst/gstsegment.c: (gst_segment_to_stream_time):
4030         Return correct return type in case of errors.
4031
4032 2006-03-14  Wim Taymans  <wim@fluendo.com>
4033
4034         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4035           Don't segfault on invalid formats.
4036
4037 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4038
4039         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4040           Can't use gst_segment_to_running_time() when the segment
4041           is not in GST_TIME_FORMAT (like with filesink, for example).
4042           Stops flac encoding pipelines from spewing critical warnings
4043           at EOS (#331248).
4044           
4045 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4046
4047         * gst/gstpipeline.c: (gst_pipeline_class_init):
4048           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4049
4050         * plugins/elements/gsttypefindelement.c:
4051         (gst_type_find_element_handle_event):
4052           Don't try to typefind empty streams.
4053
4054 2006-03-14  Wim Taymans  <wim@fluendo.com>
4055
4056         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4057         (gst_base_sink_do_qos):
4058         Separate QoS calculation.
4059         Only drop buffers when lateness is bigger than the 
4060         duration of the buffer.
4061
4062 2006-03-13  Wim Taymans  <wim@fluendo.com>
4063
4064         * gst/gstpipeline.c: (gst_pipeline_set_property),
4065         (gst_pipeline_get_property), (do_pipeline_seek),
4066         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4067         (gst_pipeline_get_delay):
4068         Don't deadlock when reading properties.
4069
4070 2006-03-13  Wim Taymans  <wim@fluendo.com>
4071
4072         * libs/gst/base/gstbasetransform.c:
4073         (gst_base_transform_class_init), (gst_base_transform_init),
4074         (gst_base_transform_sink_event),
4075         (gst_base_transform_sink_eventfunc),
4076         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4077         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4078         (gst_base_transform_set_property),
4079         (gst_base_transform_get_property),
4080         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4081         (gst_base_transform_set_qos_enabled),
4082         (gst_base_transform_is_qos_enabled):
4083         * libs/gst/base/gstbasetransform.h:
4084         Make basetransform virtual method for src events too.
4085         Handle QOS in basetransform.
4086         API: gst_base_transform_update_qos()
4087         API: gst_base_transform_set_qos_enabled()
4088         API: gst_base_transform_is_qos_enabled()
4089
4090 2006-03-13  Wim Taymans  <wim@fluendo.com>
4091
4092         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4093         (gst_base_sink_do_sync):
4094         Small cleanups.
4095         Use QOS debug category.
4096
4097 2006-03-13  Wim Taymans  <wim@fluendo.com>
4098
4099         * plugins/elements/gstqueue.c:
4100         Very small doc update.
4101
4102 2006-03-13  Wim Taymans  <wim@fluendo.com>
4103
4104         * gst/gst_private.h:
4105         * gst/gstinfo.c: (_gst_debug_init):
4106         Added QOS debug category
4107
4108 2006-03-13  Wim Taymans  <wim@fluendo.com>
4109
4110         * docs/gst/gstreamer-sections.txt:
4111         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4112         * gst/gstbin.h:
4113         * gst/gstbus.c: (gst_bus_class_init):
4114         * gst/gstbus.h:
4115         * gst/gstclock.c:
4116         * gst/gstelement.c: (gst_element_set_locked_state):
4117         * gst/gstsegment.c:
4118         Documentation updates.
4119
4120         * gst/gstpipeline.c: (gst_pipeline_get_type),
4121         (gst_pipeline_class_init), (gst_pipeline_init),
4122         (gst_pipeline_dispose), (gst_pipeline_set_property),
4123         (gst_pipeline_get_property), (do_pipeline_seek),
4124         (gst_pipeline_send_event), (gst_pipeline_change_state),
4125         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4126         (gst_pipeline_get_delay):
4127         * gst/gstpipeline.h:
4128         Added methods for setting the delay.
4129         API: gst_pipeline_set_delay()
4130         API: gst_pipeline_get_delay()
4131         Add pipeline debug category
4132         Various cleanups.
4133         Updated docs.
4134         Don't reset stream time when seek failed.
4135
4136 2006-03-13  Wim Taymans  <wim@fluendo.com>
4137
4138         * docs/design/draft-klass.txt:
4139         * docs/design/part-clocks.txt:
4140         * docs/design/part-events.txt:
4141         * docs/design/part-gstbin.txt:
4142         * docs/design/part-gstpipeline.txt:
4143         * docs/design/part-messages.txt:
4144         * docs/design/part-negotiation.txt:
4145         * docs/design/part-overview.txt:
4146         * docs/design/part-preroll.txt:
4147         * docs/design/part-seeking.txt:
4148         * docs/design/part-states.txt:
4149         * docs/design/part-streams.txt:
4150         Documentation updates.
4151
4152 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4153
4154         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4155         us to leak strings...
4156
4157 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4158
4159         * libs/gst/net/gstnettimeprovider.c:
4160           fix docs
4161         * win32/common/config.h:
4162           update
4163
4164 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4165
4166         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4167
4168         * configure.ac:
4169           Don't check for libgnomeui (leftover from old examples
4170           that aren't built or disted any longer) (#334303).
4171           
4172 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4173
4174         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4175         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4176           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4177           there's no space left on the device.
4178
4179 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4180
4181         * gst/gstclock.h:
4182           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4183           to cast the input to GstClockTime before comparing with
4184           another GstClockTime value.
4185
4186 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4187
4188         * configure.ac:
4189           back to trunk
4190
4191 === release 0.10.4 ===
4192
4193 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4194
4195         * configure.ac:
4196           releasing 0.10.4, "Light"
4197
4198 2006-03-10  Michael Smith  <msmith@fluendo.com>
4199
4200         * libs/gst/dataprotocol/dataprotocol.c:
4201           Fix docs for dataprocotol to not get the return types completely
4202           wrong for a few functions.
4203
4204 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4205
4206         * docs/gst/gstreamer-sections.txt:
4207         * gst/gstpipeline.c: (gst_pipeline_class_init),
4208         (gst_pipeline_init), (gst_pipeline_set_property),
4209         (gst_pipeline_get_property), (gst_pipeline_change_state),
4210         (gst_pipeline_set_auto_flush_bus),
4211         (gst_pipeline_get_auto_flush_bus):
4212         * gst/gstpipeline.h:
4213           Add new API: gst_pipeline_set_auto_flush_bus() and
4214           gst_pipeline_get_auto_flush_bus() to disable automatic
4215           flushing of the pipeline's GstBus when going from READY
4216           to NULL state (#332045).
4217
4218 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4219
4220         * docs/gst/gstreamer-sections.txt:
4221         * gst/gsturi.c: (gst_uri_has_protocol):
4222         * gst/gsturi.h:
4223            Add new API: gst_uri_has_protocol() (#333779).
4224
4225 2006-03-09  Wim Taymans  <wim@fluendo.com>
4226
4227         * gst/gstclock.c: (gst_clock_entry_new),
4228         (gst_clock_id_compare_func), (gst_clock_id_wait),
4229         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4230         (gst_clock_init), (gst_clock_get_internal_time),
4231         (gst_clock_set_master), (do_linear_regression),
4232         (gst_clock_add_observation), (gst_clock_set_property):
4233         * gst/gstclock.h:
4234         Review docs.
4235         Small cleanups.
4236         Fix a possible segfault when the window-size is made smaller.
4237         Calculate jitter before performing the clock wait. Ideally
4238         the clock implementation should calculate jitter but we need
4239         API breakage for that.
4240
4241         * gst/gstsystemclock.c: (gst_system_clock_init):
4242         Docs review.
4243         
4244         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4245         Remove leftover else
4246
4247         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4248         (gst_systemclock_suite):
4249         Added check to test GST_CLOCK_DIFF.
4250
4251 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4252
4253         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4254         (gst_type_find_helper_get_range):
4255           If we are provided with the size, we should implement
4256           GstTypeFind::get_length, so that typefind functions who
4257           want to can actually peek at the middle of a file.
4258
4259 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4260
4261         * docs/manual/advanced-dataaccess.xml:
4262           Add some very very basic error checking.
4263
4264         * docs/pwg/appendix-checklist.xml:
4265           Some updates to the list of things to check when writing an element.
4266
4267 2006-03-08  Wim Taymans  <wim@fluendo.com>
4268
4269         * docs/design/part-element-transform.txt:
4270         Added some docs about the design of tranform elements.
4271
4272         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4273         (gst_base_src_loop), (gst_base_src_change_state):
4274         Mark buffers with the DISCONT flag.
4275
4276 2006-03-08  Michael Smith  <msmith@fluendo.com>
4277
4278         * gst/gstregistry.h:
4279         * gst/gstregistryxml.c: (gst_registry_save),
4280         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4281         (gst_registry_xml_save_pad_template),
4282         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4283         (gst_registry_xml_write_cache):
4284           Rewrite registry-saving to avoid race conditions and check for
4285           failed writes.
4286
4287 2006-03-08  Wim Taymans  <wim@fluendo.com>
4288
4289         * libs/gst/base/gstbasetransform.c:
4290         (gst_base_transform_transform_caps),
4291         (gst_base_transform_transform_size),
4292         (gst_base_transform_prepare_output_buffer),
4293         (gst_base_transform_get_unit_size),
4294         (gst_base_transform_buffer_alloc),
4295         (gst_base_transform_handle_buffer),
4296         (gst_base_transform_change_state):
4297         Cleanups, separate normal flow from errors, add sensible
4298         DEBUG lines.
4299         Don't try to renegotiate when allocating an output buffer.
4300         Also copy DISCONT buffer flag when copying a buffer.
4301         Reset the transform after we finish streaming, not during.
4302
4303 2006-03-08  Wim Taymans  <wim@fluendo.com>
4304
4305         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4306         Use last buffer timestamp in qos message.
4307
4308 2006-03-07  Wim Taymans  <wim@fluendo.com>
4309
4310         Patch by: Christophe Fergeau
4311
4312         * docs/pwg/advanced-tagging.xml:
4313         * docs/pwg/building-pads.xml:
4314           fixes #333416
4315
4316 2006-03-07  Wim Taymans  <wim@fluendo.com>
4317
4318         * docs/libs/gstreamer-libs-sections.txt:
4319         Added basesink new methods.
4320
4321         * gst/gstevent.c:
4322         * gst/gstevent.h:
4323         Docs updates. Flesh out the QoS docs.
4324
4325         * libs/gst/base/gstadapter.c:
4326         Small doc clarification about ownership and flushing.
4327
4328         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4329         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4330         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4331         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4332         * libs/gst/base/gstbasesink.h:
4333         API additions: 
4334         Added new methods to allow subclass to control max-lateness 
4335         and sync.
4336         Generate very basic QoS events based on last sync observation.
4337         Updated docs, fix typo, added some QoS blurb.
4338
4339         * libs/gst/base/gstbasesrc.c:
4340         Remove obsolete _get_state() calls from docs.
4341
4342 2006-03-07  Wim Taymans  <wim@fluendo.com>
4343
4344         * docs/libs/gstreamer-libs-sections.txt:
4345         * libs/gst/base/gstbasetransform.h:
4346         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4347         Fix docs for GstBaseSrc.
4348
4349 2006-03-07  Wim Taymans  <wim@fluendo.com>
4350
4351         * docs/gst/gstreamer-sections.txt:
4352         * gst/gstbuffer.h:
4353         * gst/gstvalue.c:
4354         * libs/gst/base/gstbasetransform.h:
4355         Small documentation fixes.
4356
4357 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4358
4359         * gst/gstvalue.c:
4360           Document thread-unsafety of gst_value_register_foo_func()
4361           when used at the same time as gst_value_foo() (#322628).
4362
4363 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4364
4365         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4366         (gst_push_src_check_get_range):
4367           Push sources don't support pull mode by default.
4368
4369 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4370
4371         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4372         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4373         (gst_base_src_default_check_get_range):
4374         * libs/gst/base/gstbasesrc.h:
4375           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4376           provide default implementation, and rename
4377           gst_base_src_check_get_range() to
4378           gst_base_src_pad_check_get_range() for clarity.
4379
4380 2006-03-06  Wim Taymans  <wim@fluendo.com>
4381
4382         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4383         Make property overridable.
4384
4385 2006-03-06  Wim Taymans  <wim@fluendo.com>
4386
4387         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4388         (gst_base_sink_init), (gst_base_sink_set_property),
4389         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4390         * libs/gst/base/gstbasesink.h:
4391         API addition: Make max-lateness a property.
4392
4393 2006-03-06  Wim Taymans  <wim@fluendo.com>
4394
4395         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4396         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4397         Don't ever draw a frame that is >10ms late.
4398
4399 2006-03-06  Michael Smith  <msmith@fluendo.com>
4400
4401         * gst/gstmessage.c: (_gst_message_copy):
4402           When copying a message, set the parent_refcount of the enclosed
4403           structure to point at the copy, not the original message.
4404
4405 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         Patch by: Christophe Fergeau
4408
4409         * gst/gstutils.h:
4410           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4411           usable in c++ code (#333417)
4412
4413 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4414
4415         * gst/gstclock.h:
4416           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4417
4418 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4419
4420         * libs/gst/base/gstbasetransform.c:
4421         (gst_base_transform_transform_caps):
4422           Make sure caps are writable before passing them to
4423           gst_caps_append().
4424
4425 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4426
4427         * gst/gsterror.h:
4428           Fix some minor docs errors.
4429
4430 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4431
4432           Patch by: Ross Burton <ross at burtonini dot com>
4433
4434         * gst/gsterror.c: (_gst_resource_errors_init):
4435         * gst/gsterror.h:
4436           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4437
4438 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4439
4440         * gst/gst.c:
4441         Add a check and output a g_warning when GStreamer is built
4442         against GLib 2.6 but running against 2.8 or higher, and vice 
4443         versa. (Closes: #323542)
4444
4445 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4446
4447         * gst/parse/parse.l:
4448           Commit patch for parse_launch syntax from #331255. Removes 
4449           support for quoted strings and mimetypes when writing filtered 
4450           caps. See the bug report for more details - I'm pretty sure this
4451           obscure feature is not in use by _anyone_ anywhere.
4452
4453           With this simple change, the size of the gstreamer.so here 
4454           drops from 2193KB to 1565KB.
4455
4456 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4457
4458         * plugins/elements/gsttypefindelement.h:
4459         * plugins/elements/gsttypefindelement.c:
4460         (gst_type_find_element_src_event), (start_typefinding),
4461         (stop_typefinding), (gst_type_find_element_handle_event),
4462         (gst_type_find_element_chain),
4463         (gst_type_find_element_chain_do_typefinding):
4464           Use gst_type_find_helper_for_buffer() for chain-based
4465           typefinding.
4466
4467 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4468
4469         * plugins/elements/gsttypefindelement.c:
4470         (gst_type_find_element_class_init),
4471         (gst_type_find_element_set_property),
4472         (gst_type_find_element_get_property):
4473           Deprecate "maximum" property (not only was it only taken into
4474           account for typefinding in push-mode anyway, it also was never
4475           actually possible to set it in the first place because the
4476           property was registered with the numeric property ID for the
4477           "minimum" property). Register "maximum" property correctly,
4478           for the sake of future copy'n'pasters. Remove some cruft
4479           from property get/set functions.
4480
4481 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4482
4483         * plugins/elements/gsttypefindelement.c:
4484         (gst_type_find_element_activate):
4485           Use gst_type_find_helper_get_range() here, so we
4486           can honour the "minimum" property and also emit
4487           the signal with the correct probability of the found caps.
4488
4489 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4490
4491         * docs/libs/gstreamer-libs-sections.txt:
4492         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4493         (helper_find_suggest), (gst_type_find_helper_get_range),
4494         (gst_type_find_helper):
4495         * libs/gst/base/gsttypefindhelper.h:
4496           New API: gst_type_find_helper_get_range() (#333042).
4497
4498 2006-03-02  Michael Smith  <msmith@fluendo.com>
4499
4500         * gst/gstregistryxml.c: (load_feature):
4501           Asserting on a failure to read part of the registry is Not Cool.
4502           Just log a warning and return NULL (which is already handled)
4503
4504 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4505
4506         * win32/common/libgstbase.def:
4507           added export of gst_type_find_helper_for_buffer
4508         * win32/common/libgstbase.def:
4509           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4510           gst_ghost_pad_get_target
4511
4512 2006-02-28  Wim Taymans  <wim@fluendo.com>
4513
4514         * docs/design/draft-klass.txt:
4515         We use Filter now.
4516         Added Connector to mark elements that are only used to
4517         allow pipeline connections.
4518         Moved Debug to extra feature since most of them are 
4519         functionally something else.
4520
4521 2006-02-28  Wim Taymans  <wim@fluendo.com>
4522
4523         * docs/design/draft-klass.txt:
4524         Some updates and clarifications.
4525
4526 2006-02-28  Wim Taymans  <wim@fluendo.com>
4527
4528         * docs/design/draft-klass.txt:
4529         Proposal for klass field values.
4530
4531         * docs/design/part-streams.txt:
4532         Start of a doc describing stream anatomy.
4533
4534 2006-02-28  Wim Taymans  <wim@fluendo.com>
4535
4536         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4537         Help the compiler a bit with type registration.
4538         Use existing forward cod path instead of duplicating it when 
4539         handling a message.
4540         
4541         * gst/gstbus.c: (gst_bus_get_type):
4542         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4543         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4544         * gst/gstclock.c: (gst_clock_get_type):
4545         * gst/gstelement.c: (gst_element_get_type),
4546         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4547         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4548         * gst/gstminiobject.c: (gst_mini_object_get_type):
4549         * gst/gstpad.c: (gst_pad_get_type):
4550         * gst/gstsegment.c: (gst_segment_get_type):
4551         * gst/gststructure.c: (gst_structure_get_type):
4552         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4553         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4554         * gst/gstvalue.c:
4555         Help compiler with type registration.
4556
4557         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4558         Small doc update.
4559
4560 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4561
4562         * plugins/elements/gsttypefindelement.c:
4563         (gst_type_find_element_handle_event):
4564           When we get an EOS event and have not found a type yet
4565           (most likely because we had not yet accumulated
4566           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4567           type given the data we have so far. Fixes typefinding
4568           for very short streams again, most notably quicktime
4569           redirections as used on Apple's trailer site (#331701).
4570
4571 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4572
4573         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4574         (gst_type_find_helper):
4575           Try typefinding factories with the highest rank first.
4576
4577 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4578
4579         * docs/libs/gstreamer-libs-docs.sgml:
4580         * docs/libs/gstreamer-libs-sections.txt:
4581         * libs/gst/base/gsttypefindhelper.c:
4582           Add section for typefind helper and add documentation
4583           for the old and the new function.
4584
4585 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4588         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4589         (gst_type_find_helper_for_buffer):
4590         * libs/gst/base/gsttypefindhelper.h:
4591           New API: gst_type_find_helper_for_buffer() (#332723).
4592           
4593 2006-02-27  Michael Smith  <msmith@fluendo.com>
4594
4595         Patch by: Loïc Minier
4596
4597         * configure.ac:
4598         * docs/Makefile.am:
4599         * docs/slides/Makefile.am:
4600           prevent CVS directories getting disted.
4601
4602 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4603
4604         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4605           Use the REFCOUNTING category for caps refcounting.
4606           
4607 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4608
4609         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4610           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4611
4612 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4613
4614         * plugins/elements/gsttypefindelement.c:
4615         (gst_type_find_element_activate):
4616           Use gst_pad_check_pull_range() before _activate_pull()
4617           to avoid unnecessary open/close (see #331690).
4618
4619 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4620
4621         * gst/gstutils.c:
4622           Docs enhancement: make it crystal clear what the
4623           gst_pad_add_*_probe() callbacks should look like.
4624
4625 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4626
4627         * libs/gst/base/gstbasesrc.c:
4628           Document how applications can stop recording from
4629           live sources (see #330996).
4630
4631 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4632
4633         * tests/check/Makefile.am:
4634         * tests/check/libs/basesrc.c: (eos_event_counter),
4635         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4636         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4637         (gst_basesrc_suite), (main):
4638           ... and add some tests for the base source EOS stuff.
4639
4640 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4641
4642         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4643           Test case originally showed the problem fixed below,
4644           but was then amended. Add checks back at the place
4645           where they used to be.
4646
4647 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4648
4649         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4650         (gst_base_src_init), (gst_base_src_loop),
4651         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4652         (gst_base_src_change_state):
4653         * libs/gst/base/gstbasesrc.h:
4654           Don't unconditionally send EOS when going from PAUSED to
4655           READY state, esp. make sure we don't send two EOS events
4656           in some cases (e.g. one when reaching EOS and one when
4657           going from PAUSED to READY). Also, we don't want to send
4658           EOS events when operating in pull mode. However, we do
4659           want to send an EOS event when shutting down a live
4660           source explicitly, for example (fixes #330996).
4661           
4662 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4663
4664         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4665           Update src->read_position after a seek when not using mmap.
4666           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4667
4668 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4669
4670         * gst/Makefile.am:
4671         * gst/gstparse.h:
4672         * gst/gstutils.c:
4673         * gst/gstutils.h:
4674         Make things work with --disable-parse as they do with 
4675         --disable-load-save - the symbols involved disappear, but the
4676         header is still installed and GST_DISABLE_PARSE is included via
4677         gstconfig.h
4678
4679 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4680
4681         * libs/gst/base/gstbasetransform.c:
4682         (gst_base_transform_change_state): Fix a stupid bug. I was 
4683         sure I compiled that.
4684
4685 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4686
4687         * gst/gstpad.c: (gst_pad_set_blocked_async):
4688         * gst/gstutils.c: (gst_pad_add_data_probe),
4689         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4690         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4691         (gst_pad_remove_buffer_probe): Make those function act on the
4692         ghostpad target when it's a ghostpad. (Closes #331727)
4693
4694 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4695
4696         * libs/gst/base/gstbasetransform.c:
4697         (gst_base_transform_change_state): Make basetransform reusable.
4698         (Closes #331898)
4699
4700 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
4701
4702         * docs/random/release:
4703         Move the current documentation of how to do a release to the top
4704         of the file.
4705
4706         * gst/gstbin.c: (gst_bin_class_init),
4707         (gst_bin_handle_message_func):
4708         Allow multiple state-recalculation threads. (Closes #328873)
4709
4710 2006-02-19  Julien MOUTTE  <julien@moutte.net>
4711
4712         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4713         * gst/gstpad.c: (gst_pad_set_event_function),
4714         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4715         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4716         2 strings. You can't use the STR_NULL macro on that.
4717
4718 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
4719
4720         * gst/gstpad.c: (gst_pad_set_event_function),
4721         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4722         (gst_pad_set_getcaps_function)
4723         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4724           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4725           So now, we can use --gst-debug-level=5 on Windows
4726         * win32/common/libgstcontroller.def:
4727           Added export of gst_controller_init
4728         * win32/vs6/libgstcontroller.dsp:
4729           Fixed Release post build configuration
4730
4731 2006-02-17  Wim Taymans  <wim@fluendo.com>
4732
4733         * tests/check/gst/gstquery.c: (GST_START_TEST):
4734         Added another check.
4735
4736 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
4737
4738         * plugins/elements/gsttypefindelement.c: (find_peek):
4739           We can do peeks at non-zero offsets, as long as they
4740           fall within the buffer we have.
4741
4742 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
4743
4744         * tests/check/Makefile.am:
4745         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4746         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4747         (parse_suite), (main):
4748           Add testsuite for parse launch syntax
4749
4750 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
4751
4752         * plugins/elements/gsttypefindelement.c:
4753         (gst_type_find_element_chain):
4754           When typefinding is unsuccessful in the chain function, don't
4755           error out immediately. Only error out with NO_CAPS_FOUND if
4756           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4757           otherwise simply wait for more data so we can try typefinding
4758           again with more data later. Also, don't attempt to typefind
4759           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4760           this should improve typefinding from network sources where the
4761           size of the first buffer can be somewhat random.
4762
4763 2006-02-14  Wim Taymans  <wim@fluendo.com>
4764
4765         * docs/gst/gstreamer-sections.txt:
4766         * gst/gstpadtemplate.c:
4767         * gst/gstpadtemplate.h:
4768         Fix padtemplate docs, fixes #328805.
4769
4770 2006-02-14  Wim Taymans  <wim@fluendo.com>
4771
4772         * tools/gst-launch.c: (main):
4773         NO_PREROLL is not an ERROR so don't send confusing messages
4774         to the user.
4775
4776 2006-02-14  Wim Taymans  <wim@fluendo.com>
4777
4778         Patch by: Torsten Schoenfeld
4779
4780         * gst/gstregistry.c: (gst_registry_get_default),
4781         (_gst_registry_cleanup):
4782         Protect default registry with lock and ref/sink it.
4783         Fixes #324818
4784
4785 2006-02-14  Wim Taymans  <wim@fluendo.com>
4786
4787         * gst/gstbuffer.c:
4788         * gst/gstquery.c: (gst_query_list_add_format),
4789         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4790         (gst_query_parse_formats_nth):
4791         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4792         Docs fixes.
4793
4794 2006-02-14  Wim Taymans  <wim@fluendo.com>
4795
4796         * docs/gst/gstreamer-sections.txt:
4797         Reworked query docs.
4798
4799         * gst/gstquery.c: (gst_query_new_formats),
4800         (gst_query_list_add_format), (gst_query_set_formats),
4801         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4802         (gst_query_parse_formats_nth):
4803         * gst/gstquery.h:
4804         Flesh out formats query, added some new methods.
4805         Fix part of #324398.
4806
4807         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4808         Added query creation tests.
4809
4810 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
4811
4812         * gst/gstpad.c: (fixate_value):
4813         Add a default fixation for fraction lists.
4814
4815 2006-02-13  Wim Taymans  <wim@fluendo.com>
4816
4817         * gst/gsttask.c: (gst_task_init), (gst_task_func),
4818         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4819         (gst_task_join):
4820         * gst/gsttask.h:
4821         Detect and warn for obvious deadlocks. fixes #320340
4822         Fix error case where lock was not released.
4823
4824         * tests/check/Makefile.am:
4825         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4826         (task_func), (gst_element_suite), (main):
4827         Add task check.
4828
4829 2006-02-13  Wim Taymans  <wim@fluendo.com>
4830
4831         * docs/gst/gstreamer-sections.txt:
4832         * gst/gstbus.c:
4833         Add new functions to docs.
4834
4835 2006-02-13  Wim Taymans  <wim@fluendo.com>
4836
4837         * docs/design/part-TODO.txt:
4838         Updated TODO list, basesrc supports seeking to non-bytes
4839         formats.
4840
4841         * docs/design/part-element-sink.txt:
4842         Update docs.
4843
4844         * gst/gstbin.c: (bin_replace_message),
4845         (gst_bin_handle_message_func):
4846         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4847         * gst/gstevent.c: (gst_event_finalize):
4848         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4849         (gst_pad_send_event):
4850         Use shiny new _TYPE_NAME macros.
4851
4852         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4853         Move debug statement up.
4854
4855         * gst/gstelement.c: (gst_element_set_locked_state):
4856         Add some debugging.
4857
4858 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
4859
4860         * docs/gst/gstreamer-sections.txt:
4861         * gst/gstmessage.h:
4862         * gst/gstquery.h:
4863           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4864           macros (#330906). Also, document the already existing
4865           GST_QUERY_TYPE macro.
4866
4867 2006-02-13  Wim Taymans  <wim@fluendo.com>
4868
4869         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4870         (event_probe), (GST_START_TEST):
4871         Only events up to the pipeline EOS are counted, there are
4872         some more when going to NULL currently which we don't care
4873         about for now.
4874
4875 2006-02-13  Wim Taymans  <wim@fluendo.com>
4876
4877         * gst/gstpad.c: (gst_pad_send_event):
4878         Correctly check flushing and emit probes. fixes #330125
4879
4880 2006-02-10  Andy Wingo  <wingo@pobox.com>
4881
4882         * gst/gstbus.c (gst_bus_class_init): Declare our private data
4883         structure.
4884         (gst_bus_init): Cache the location of the private data in the
4885         instance structure.
4886         (gst_bus_enable_sync_message_emission) 
4887         (gst_bus_disable_sync_message_emission): Implement new public
4888         functions.
4889         (gst_bus_post): Emit the sync-message signal if the user asked for
4890         it. Fixes #330684.
4891
4892         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4893         location of the bus-private structure.
4894         (gst_bus_enable_sync_message_emission)
4895         (gst_bus_disable_sync_message_emission): API addition
4896
4897 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
4898
4899         Patch by: Vincent Torri
4900
4901         * docs/pwg/building-boiler.xml:
4902         PWG patch from #326800
4903
4904 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4905
4906         * configure.ac:
4907         * docs/Makefile.am:
4908         * docs/design/Makefile.am:
4909           Dist design docs.
4910
4911 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4912
4913         * configure.ac:
4914           back to CVS
4915
4916 === release 0.10.3 ===
4917
4918 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
4919
4920         * configure.ac:
4921           releasing 0.10.3, "Like a virgin"
4922
4923 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4924
4925         * configure.ac:
4926           2nd prerelease of 0.10.3
4927           Bump libtool versioning.
4928
4929 2006-02-07  Andy Wingo  <wingo@pobox.com>
4930
4931         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4932         update last_stop if we're in TIME format and the timestamp is
4933         valid.
4934
4935         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
4936         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
4937         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4938         If we get a new newsegment with a different format, adapt
4939         accordingly.
4940
4941         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4942         of 0. Not a problem, really.
4943
4944         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4945         warn if sync=true.
4946
4947 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
4948
4949         * configure.ac:
4950           Prelease of 0.10.3
4951
4952 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
4953
4954         * win32/vs7:
4955           project files updated to the default vs7 configuration
4956         * win32/common/libgstbase.def:
4957         * win32/common/libgstreamer.def:
4958           added new symbols,
4959           removed empty lines,
4960           sorted all exported symbols alphabetically
4961         * win32/common/dirent.c:
4962         * win32/common/dirent.h:
4963         * win32/common/gchar.h:
4964           use windows line end.
4965           
4966 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4969           Send EOS event when stopping.
4970
4971 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4972
4973         * docs/README:
4974           Tell folks what to do if the plugin-foobar.xml file
4975           hasn't been generated for a newly-added plugin.
4976
4977 2006-02-05  Julien MOUTTE  <julien@moutte.net>
4978
4979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4980         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4981         (gst_collect_pads_start), (gst_collect_pads_stop),
4982         (gst_collect_pads_event): Collectpads now holds a reference
4983         to the GstPad that was added. Indeed we don't want to look
4984         at pads that might just go away with no warning...
4985
4986 2006-02-05  Julien MOUTTE  <julien@moutte.net>
4987
4988         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4989         (gst_collect_pads_start), (gst_collect_pads_stop),
4990         (gst_collect_pads_event), (gst_collect_pads_chain):
4991         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
4992         Mark Nauwelaerts's patch on bug #328491.
4993
4994 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4995
4996         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
4997         (gst_utils_suite):
4998           Add some simple tests for gst_parse_bin_from_description() and
4999           gst_bin_find_unconnected_pad() (#329069).
5000
5001 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5002
5003         * tools/gst-launch.c: (event_loop), (main):
5004           Catch errors during preroll (#320084).
5005
5006 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5007
5008         * plugins/elements/gsttypefindelement.c:
5009         (gst_type_find_element_activate):
5010           Post TYPE_NOT_FOUND error message when typefinding
5011           is unsuccessful in the activate function as well.
5012
5013 2006-02-02  Wim Taymans  <wim@fluendo.com>
5014
5015         * docs/design/part-element-sink.txt:
5016         Updated doc.
5017
5018 2006-02-02  Wim Taymans  <wim@fluendo.com>
5019
5020         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5021         (gst_base_sink_render_object),
5022         (gst_base_sink_queue_object_unlocked):
5023         Only keep track of prerollable items when we are 
5024         prerolling.
5025         Before rendering after preroll, always check if we
5026         have queued items.
5027         Added some more debugging.
5028
5029 2006-02-02  Wim Taymans  <wim@fluendo.com>
5030
5031         * gst/gstelement.c: (gst_element_continue_state),
5032         (gst_element_set_state_func), (gst_element_change_state):
5033         Fixed #326576, been running this for quite some time with
5034         no regressions at all.
5035
5036 2006-02-02  Wim Taymans  <wim@fluendo.com>
5037
5038         * common/gst.supp:
5039         Added more suppressions
5040
5041 2006-02-02  Wim Taymans  <wim@fluendo.com>
5042
5043         * docs/design/part-element-sink.txt:
5044         Updated document.
5045
5046         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5047         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5048         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5049         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5050         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5051         (gst_base_sink_preroll_object),
5052         (gst_base_sink_queue_object_unlocked),
5053         (gst_base_sink_queue_object), (gst_base_sink_event),
5054         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5055         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5056         (gst_base_sink_get_position), (gst_base_sink_change_state):
5057         * libs/gst/base/gstbasesink.h:
5058         Totally refactored matching the design doc.
5059         Use two segments, one to clip incomming buffers and another to
5060         perform sync.
5061         Handle queueing correctly, bypass the queue when playing.
5062         Make EOS cancelable.
5063         Handle errors correctly when operating in pull based mode.
5064
5065         * tests/check/elements/fakesink.c: (GST_START_TEST),
5066         (fakesink_suite):
5067         Added new check for sinks.
5068
5069 2006-02-02  Wim Taymans  <wim@fluendo.com>
5070
5071         * gst/gstsegment.c: (gst_segment_clip):
5072         No reason to refuse to clip when start == -1
5073
5074 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5075
5076         * docs/README:
5077         * docs/manual/intro-basics.xml:
5078         * docs/manual/intro-preface.xml:
5079         * docs/manual/manual.xml:
5080         * docs/pwg/advanced-dparams.xml:
5081         * docs/pwg/intro-basics.xml:
5082         * docs/pwg/intro-preface.xml:
5083         * docs/pwg/pwg.xml:
5084           describe dparams (controller) for plugins
5085           unify docs a little more
5086
5087 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5088
5089         * docs/gst/gstreamer-sections.txt:
5090         * gst/gstutils.c: (element_find_unconnected_pad),
5091         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5092         * gst/gstutils.h:
5093           Add new API: gst_parse_bin_from_description() and
5094           gst_bin_find_unconnected_pad() (#329069).
5095
5096 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5097
5098         * docs/manual/README:
5099           uncover a nasty detail of the docs build
5100
5101 2006-01-31  Wim Taymans  <wim@fluendo.com>
5102
5103         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5104         Don't cache duration messages if we're not going to use or
5105         free them.
5106
5107 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5108
5109         * docs/manual/advanced-dparams.xml:
5110         * docs/pwg/advanced-dparams.xml:
5111           more dparam docs
5112         * gst/gstindex.c:
5113           fix docs
5114         * libs/gst/controller/lib.c: (gst_controller_init):
5115           init just once
5116
5117 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5118
5119         * gst/gstelement.c: (gst_element_message_full):
5120           also show file/line/func if no additional debug was given
5121
5122 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5123         
5124         * win32/vs7/grammar.vcproj:
5125           activate copy of autogenerated files for Release mode
5126
5127 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5128         
5129         * win32/common/libgstreamer.def:
5130           export gst_value_compare
5131
5132 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5133
5134         * plugins/elements/Makefile.am:
5135         * plugins/elements/gstelements.c:
5136         * plugins/elements/gstfdsink.c: (_do_init),
5137         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5138         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5139         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5140         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5141         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5142         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5143         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5144         * plugins/elements/gstfdsink.h:
5145         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5146
5147 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5148
5149         * docs/manual/advanced-dparams.xml:
5150           describe controller
5151         * docs/manual/advanced-position.xml:
5152         * docs/manual/basics-init.xml:
5153         * docs/manual/manual.xml:
5154         * docs/manual/titlepage.xml:
5155         * docs/pwg/pwg.xml:
5156         * docs/pwg/titlepage.xml:
5157           cleanup xml (more to come)
5158         * libs/gst/controller/gstcontroller.c:
5159           fix typo
5160
5161 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5162         
5163         * win32/vs6/grammar.dsp:
5164           add autogen of gstmarshal.c,h for Release mode
5165                 
5166 2006-01-30  Wim Taymans  <wim@fluendo.com>
5167
5168         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5169         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5170         (gst_base_sink_handle_object), (gst_base_sink_event),
5171         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5172         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5173         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5174         (gst_base_sink_deactivate), (gst_base_sink_activate),
5175         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5176         (gst_base_sink_query), (gst_base_sink_change_state):
5177         Basesink cleanups, remove some old code.
5178         Handle the case where a subclass can preroll in the render
5179         method (mostly audiosinks).
5180         Handle more events.
5181         Remove some locks around variables that are now protected
5182         with the PREROLL_LOCK (clock_id, flushing, ..).
5183         Optimize position query some more, do correct locking.
5184         Remove old code to push queue in state change, this is not
5185         needed anymore since preroll blocks on all prerollable items 
5186         now.
5187         Almost implemented as described in design doc.
5188
5189 2006-01-30  Wim Taymans  <wim@fluendo.com>
5190
5191         * tests/check/gst/gstbin.c: (GST_START_TEST):
5192         Wait for refcount to settle down before checking.
5193
5194 2006-01-30  Wim Taymans  <wim@fluendo.com>
5195
5196         * docs/design/part-element-sink.txt:
5197         Pseudo code overview of desired sink behaviour regarding
5198         preroll.
5199
5200 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5201         * win32/vs6/grammar.dsp:
5202           fix some bugs in Release mode for autogenerated files
5203                 
5204 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5205         * win32/common/libgstbase.def:
5206         * win32/common/libgstreamer.def:
5207           export some new symbols: gst_base_src_set_format,
5208           gst_iterator_next, gst_structure_set_valist
5209
5210 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5211
5212         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5213         Set pad functions unconditionally. Fixes #329105.
5214
5215 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5216         * win32/vs8:
5217           add vs8 project files created by Sergey Scobich
5218
5219 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5220
5221         * gst/gstutils.c: (gst_element_unlink_pads):
5222         Don't leak pad references.
5223
5224         * tests/check/elements/fakesink.c: (GST_START_TEST):
5225         * tests/check/generic/sinks.c: (GST_START_TEST):
5226         * tests/check/generic/states.c: (GST_START_TEST):
5227         * tests/check/gst/gstbin.c: (GST_START_TEST):
5228         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5229         * tests/check/gst/gstelement.c: (GST_START_TEST):
5230         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5231         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5232         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5233         Fix a bunch of leaks. Make generic/sinks.c
5234         use a bit less cpu by slowing the buffer rate
5235         between fakesrc and fakesink.
5236         
5237 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5238         * gst/gstcaps.c:
5239         * gst/gstelement.c: (gst_element_send_event):
5240         * gst/gstevent.c:
5241         * gst/gstinfo.c:
5242         * gst/gstiterator.c:
5243         * gst/gstiterator.h:
5244         * gst/gstpad.c: (gst_pad_send_event):
5245         * gst/gststructure.c:
5246         * gst/gsturi.c:
5247         * gst/gstutils.c:
5248         * gst/gstvalue.c:
5249         * libs/gst/base/gstadapter.c:
5250           doc fixes, to link to function, just write gst_cool_function(), don't
5251           prefix with '#'
5252
5253 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5254
5255         * plugins/elements/gsttee.c: (gst_tee_do_push),
5256         (gst_tee_handle_buffer):
5257         Always prefer an actual return value from a src
5258         pad in place of NOT_LINKED. This means we return
5259         WRONG_STATE when all src pads are WRONG_STATE
5260         instead of NOT_LINKED.
5261
5262         Lock when replacing the last message to prevent
5263         racing with the get_property method.
5264
5265         Add debug output
5266
5267 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5268
5269         * tests/check/Makefile.am:
5270         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5271         (main):
5272         Add a very simple check that should have caught the memleak I fixed
5273         last night (if not for the slice allocator hiding it)
5274
5275 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5276
5277         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5278         (gst_bin_remove_func), (gst_bin_handle_message_func),
5279         (bin_query_duration_fold), (bin_query_generic_fold):
5280         Clean up references to the clock provider when disposed or when
5281         handling a clock-lost message from it.
5282
5283         Unref sinks when performing a query via gst_iterator_fold, as the
5284         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5285
5286         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5287         (gst_clock_set_master):
5288         Drop our reference to the master clock, if any, when we are disposed.
5289
5290         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5291         Chain up in dispose. 
5292
5293 2006-01-26  Wim Taymans  <wim@fluendo.com>
5294
5295         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5296         Add some debugging.
5297
5298 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5299
5300         * plugins/elements/gsttee.c: (gst_tee_do_push),
5301         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5302         handles pad being NOT_LINKED or in WRONG_STATE.
5303
5304 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * win32/MANIFEST:
5307           more updating
5308
5309 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5310
5311         * win32/MANIFEST:
5312           remove obsolete entry
5313
5314 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5315
5316         * docs/gst/gstreamer-sections.txt:
5317         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5318         (gst_bin_iterate_sources), (gst_bin_send_event):
5319         * gst/gstbin.h:
5320         * gst/gstelement.c: (gst_element_send_event):
5321         * gst/gstevent.c:
5322         * gst/gstpad.c: (gst_pad_send_event):
5323           added code for downstream events, reviewed docs in gstevent.c
5324
5325 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5326
5327         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5328         We only query position using the clock in the playing state.
5329         Query peer in the other cases.
5330         * win32/common/config.h: Updates.
5331
5332 2006-01-24  Wim Taymans  <wim@fluendo.com>
5333
5334         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5335         A clock entry that is scheduled for the exact time of the
5336         clock is still in time.
5337
5338         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5339         (gst_base_sink_do_sync):
5340         Add some more debug info.
5341
5342 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5343
5344         * win32/vs7:
5345           Add new vs7 project files and solution.
5346
5347 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5348
5349         * win32/vs7:
5350           all files removed as they were out-dated.
5351
5352 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5353
5354         * docs/random/release:
5355           update notes
5356         * gst/gstbin.c: (gst_bin_init):
5357         * gst/gstbus.c: (gst_bus_new):
5358         * gst/gstbus.h:
5359         * gst/gstpipeline.c: (gst_pipeline_init):
5360           use gst_bus_new(), improve logging, fix docs
5361         * win32/common/config.h:
5362           update for cvs build
5363
5364 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5365
5366         * autogen.sh:
5367           up required version of automake to 1.7
5368
5369 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5370
5371         * win32/common/libgstreamer.def:
5372           export gst_buffer_is_metadata_writable
5373
5374 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * docs/gst/gstreamer-sections.txt:
5377         * gst/gstevent.h:
5378           Add gst_event_replace() (#327001)
5379
5380 2006-01-20  Wim Taymans  <wim@fluendo.com>
5381
5382         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5383         Make it actually compile too..
5384
5385 2006-01-20  Wim Taymans  <wim@fluendo.com>
5386
5387         * gst/gstcaps.c:
5388         Clarify behaviour of _is_equal() when passing NULL parameters.
5389
5390         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5391         (gst_pad_set_caps):
5392         Cleanups. Don't unref NULL caps.
5393         When setting the same caps, protect caps of the pad with
5394         proper lock.
5395         Use full functionality of _is_equal() when comparing caps.
5396
5397 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5398
5399         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5400         Don't loop infinitely if there are no buffers to present. Partially
5401         fixes #327197, but collectpads is just broken for reusing elements
5402         to do multiple encodes atm.
5403
5404 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5405
5406         * tools/gst-inspect.c: (print_element_features):
5407         * tools/gst-xmlinspect.c: (main):
5408         URL_HANDLER is not a plugin feature we can search for in
5409         the registry.
5410
5411 2006-01-19  Edward Hervey  <edward@fluendo.com>
5412
5413         * gst/gstelement.c: (gst_element_pads_activate): 
5414         When activating, do src pads first, then sink pads.
5415         When de-activating, do sink pads first, then src pads.
5416
5417 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5418
5419         * docs/gst/gstreamer-sections.txt:
5420         Add gst_index_add_associationv to the docs
5421
5422 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5423
5424         * gst/gstevent.c:
5425           Fix docs typo
5426
5427         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5428         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5429           Do some refactoring. Doesn't actually change functionality,
5430           but makes landing the DRAIN event easier later.
5431
5432 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5433
5434         * docs/pwg/advanced-scheduling.xml:
5435           Update from 0.9.x to 0.10 API and make example a bit
5436           clearer.
5437
5438 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5439
5440         * docs/gst/gstreamer-sections.txt:
5441         Add gst_buffer_(is|make)_metadata_writable methods.
5442
5443 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5444
5445         * docs/design/part-sparsestreams.txt:
5446         Update sparse streams doc, hopefully for greater clarity
5447
5448 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5449
5450         * docs/design/part-events.txt:
5451         Remove mention of FILLER events.
5452         Add DRAIN event.
5453
5454         * docs/design/part-sparsestreams.txt:
5455         Write some things about using NEWSEGMENT to keep sparse streams
5456         flowing.
5457
5458 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5459
5460         * gst/gstbin.c: (gst_bin_dispose):
5461           Guard gst_object_unref call against a NULL object (dispose
5462           can theoretically be called multiple times).
5463           
5464 2006-01-18  Wim Taymans  <wim@fluendo.com>
5465
5466         * gst/gstbin.c: (gst_bin_element_set_state):
5467         * gst/gstclock.c: (gst_clock_id_wait):
5468         Added some more debug info.
5469
5470         * libs/gst/base/gstadapter.c:
5471         Added more docs.
5472
5473         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5474         (gst_base_sink_do_sync), (gst_base_sink_chain):
5475         Added some comments.
5476
5477 2006-01-18  Wim Taymans  <wim@fluendo.com>
5478
5479         * tests/check/Makefile.am:
5480         * tests/check/elements/fakesink.c: (chain_async_buffer),
5481         (chain_async), (chain_async_return), (GST_START_TEST),
5482         (fakesink_suite), (main):
5483         Added fakesink test that checks prerolling and clipping
5484         behaviour.
5485
5486         * tests/check/gst/gstutils.c: (GST_START_TEST):
5487         Make check run faster so that buildbots don't timeout.
5488
5489 2006-01-18  Wim Taymans  <wim@fluendo.com>
5490
5491         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5492         (gst_base_sink_do_sync):
5493         Some cleanups.
5494         When the sink finishes blocking on the preroll buffer, it can
5495         immediatly render it instead of rendering when the next buffer
5496         arrives.
5497
5498 2006-01-18  Wim Taymans  <wim@fluendo.com>
5499
5500         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5501         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5502         (gst_base_sink_chain):
5503         Small cleanups.
5504         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5505         Don't store _last_stop if the buffer is dropped.
5506
5507 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5508
5509         * plugins/elements/gsttypefindelement.c:
5510         (gst_type_find_element_class_init):
5511           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5512           object method handler that sets the caps on the pad and we want
5513           that to happen before we emit the signal (fixes e.g. feeding a
5514           plain text file to decodebin).
5515
5516 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5517
5518         * gst/gstplugin.c: Add MPL and Proprietary as license options
5519
5520 2006-01-18  Andy Wingo  <wingo@pobox.com>
5521
5522         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5523         symbol was exported before, it appears this was just an oversight.
5524         Fixes #168703.
5525         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5526
5527         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5528         prototype to gint. OK since this prototype was not in the header.
5529
5530 2006-01-17  Andy Wingo  <wingo@pobox.com>
5531
5532         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5533         registry while we remove plugins.
5534
5535         * tools/gst-inspect.c (print_element_info): Don't unref the
5536         factory arg, that should be the responsibility of whatever code
5537         received the ref. Fixes a double-free when called from
5538         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5539         (main): Unref the factory if we have one.
5540         (print_element_list): No change -- relies on the
5541         plugin_feature_list_free to free the list of features.
5542
5543 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5544
5545         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5546         (gst_buffer_make_metadata_writable):
5547         * gst/gstbuffer.h:
5548         * libs/gst/base/gstbasetransform.c:
5549         (gst_base_transform_prepare_output_buf):
5550         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5551         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5552           Replace gst_buffer_(make|is)_metadata_writable patch now
5553           that the release is out.
5554
5555 2006-01-17  Andy Wingo  <wingo@pobox.com>
5556
5557         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5558         in the present tense without reference to versions.
5559
5560         * gst/gstregistry.c (gst_registry_add_plugin)
5561         (gst_registry_remove_plugin, gst_registry_remove_feature)
5562         (gst_registry_find_feature, gst_registry_get_feature_list)
5563         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5564         (gst_registry_lookup, gst_registry_scan_path)
5565         (_gst_registry_remove_cache_plugins)
5566         (gst_registry_get_feature_list_by_plugin): Add argument
5567         validation.
5568
5569 === release 0.10.2 ===
5570
5571 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5572
5573         * configure.ac:
5574           releasing 0.10.2, "If man is five"
5575
5576 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * gst/gstbuffer.c:
5579         * gst/gstbuffer.h:
5580         * libs/gst/base/gstbasetransform.c:
5581         (gst_base_transform_prepare_output_buf):
5582         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5583         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5584           Back out patch until after the release.
5585
5586 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5587
5588         * gst/gstminiobject.c:
5589           Spelling fix in docs.
5590         * ChangeLog - remove conflict indicator
5591
5592 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5593
5594         Reviewed By: Andy Wingo
5595
5596         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5597         (gst_buffer_make_metadata_writable):
5598         * gst/gstbuffer.h:
5599           Add gst_buffer_(is|make)_metadata_writable as analogues of
5600           gst_buffer_(is|make)_writable.
5601
5602         * libs/gst/base/gstbasetransform.c:
5603         (gst_base_transform_prepare_output_buf):
5604         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5605           Use name gst_buffer_(is|make)_metadata_writable functions.
5606
5607         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5608           Test gst_buffer_(is|make)_metadata_writable
5609         
5610           (Closes: #324162)
5611
5612 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5613
5614         * docs/manual/Makefile.am:
5615           don't do parallel make
5616         * configure.ac:
5617           AC_SUBST HOST_CPU
5618         * win32/common/config.h.in:
5619           add generations for HOST_CPU and GST_MAJORMINOR
5620         * win32/common/config.h:
5621           commit generated result
5622
5623 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5624
5625         * docs/manual/appendix-integration.xml:
5626           Update GNOME integration section to use gst_init_get_option_group()
5627           instead of the old popt stuff (#322911). Also, GNOME applications
5628           should  now use gconf*sink and gconf*src instead of the old gconf
5629           helper lib we had.
5630
5631 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5632
5633
5634         * docs/gst/gstreamer-docs.sgml:
5635         * docs/gst/gstreamer-sections.txt:
5636         * docs/libs/gstreamer-libs-sections.txt:
5637           add new API entries to the docs
5638         * libs/gst/controller/Makefile.am:
5639         * libs/gst/controller/gstcontroller.c:
5640         * libs/gst/controller/gstcontroller.h:
5641         * libs/gst/controller/gstcontrollerprivate.h:
5642         * libs/gst/controller/gsthelper.c:
5643         * libs/gst/controller/gstinterpolation.c:
5644           move private structs to private header
5645         * po/README:
5646           gstreamer-0.7 -> gstreamer-0.10
5647         * tests/check/libs/struct_i386.h:
5648           remove private structs
5649
5650 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5651
5652         * plugins/indexers/Makefile.am:
5653           Fixes as part of #317048
5654
5655 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5656
5657         * plugins/indexers/Makefile.am:
5658           fix #316086 - compilation when mmap is missing
5659
5660 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5661
5662         * libs/gst/base/gstbasesink.c:
5663           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5664           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5665         * win32/common/config.h:
5666           added some defines GST_MAJORMINOR and HOST_CPU
5667         * win32/common/libgstbase.def:
5668         * win32/common/libgstreamer.def:
5669           added some exported functions.
5670
5671 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * libs/gst/controller/gstcontroller.c:
5674         (gst_controlled_property_set_interpolation_mode),
5675         (gst_controlled_property_new):
5676         * libs/gst/controller/gstcontroller.h:
5677         * libs/gst/controller/gstinterpolation.c:
5678         (interpolate_none_get_string_value_array):
5679           make G_TYPE_STRING controlable
5680
5681 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5682
5683         * tools/README:
5684         * tools/gst-feedback.1.in:
5685         * tools/gst-inspect.1.in:
5686         * tools/gst-launch.1.in:
5687         * tools/gst-md5sum.1.in:
5688         * tools/gst-typefind.1.in:
5689         * tools/gst-xmlinspect.1.in:
5690         * tools/gst-xmllaunch.1.in:
5691           cleanup man-pages, remove reference to gst-register, document env-vars
5692
5693 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
5694
5695         * gst/gstbuffer.c: (gst_buffer_span):
5696           gst_buffer_span should copy the timestamp of the first buffer
5697           if they were both originally overlapping subbuffers of the 
5698           same parent, using the same logic as the 'slow copy' case.
5699
5700 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
5701
5702         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5703           Need to awaken ALL the pads when we pop a buffer, otherwise
5704           collectpads only works when there is 2 input streams.
5705
5706 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
5707
5708         * docs/random/ensonic/media-device-daemon.txt:
5709           more ideas (dbus)
5710         * gst/gstbuffer.c:
5711           fix doc example, add clarification
5712         * tools/gst-launch.1.in:
5713           add initial info about GST_PLUGIN_PATH, needs more work
5714
5715 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5716
5717         * docs/manual/basics-bins.xml:
5718         * docs/manual/basics-elements.xml:
5719         * docs/manual/intro-basics.xml:
5720           Some more minor docs additions and updates.
5721
5722 2006-01-11  Wim Taymans  <wim@fluendo.com>
5723
5724         * docs/manual/basics-bins.xml:
5725         * docs/manual/basics-elements.xml:
5726         Some small fixes as pointed out by Ser-ver on IRC.
5727
5728 2006-01-10  Edward Hervey  <edward@fluendo.com>
5729
5730         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5731         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5732         the single-segment mode.
5733
5734 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
5735
5736         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5737
5738         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5739         (gst_base_src_perform_seek), (gst_base_src_send_event),
5740         (gst_base_src_set_property), (gst_base_src_get_property),
5741         (gst_base_src_loop), (gst_base_src_start),
5742         (gst_base_src_activate_push):
5743         * libs/gst/base/gstbasesrc.h:
5744           Name (private) union; makes Sun's Forte compiler happy (#324900).
5745
5746 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * README:
5749           gst-register is gone.
5750
5751 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5752
5753         * gst/gstvalue.c: (_gst_value_initialize):
5754           make the G_TYPE_DATE instantiation work if debug is disabled
5755
5756 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
5757
5758         * gst/gstmessage.c: (gst_message_parse_tag),
5759         (gst_message_parse_error), (gst_message_parse_warning):
5760           Don't crash when return location for error/warning debug
5761           string is NULL; add fact that return locations can be
5762           NULL to docs where appropriate.
5763
5764 2006-01-05  Wim Taymans  <wim@fluendo.com>
5765
5766         * gst/gstplugin.c: (gst_plugin_load_file):
5767         Replace strdup by g_strdup.
5768
5769 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5770
5771         * docs/pwg/advanced-types.xml:
5772           fix doc borkage
5773
5774 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5775
5776         submitted by: Abel Cheung
5777
5778         * po/LINGUAS:
5779         * po/zh_TW.po:
5780           Added Chinese (traditional) translation
5781
5782 2006-01-04  Wim Taymans  <wim@fluendo.com>
5783
5784         * docs/manual/basics-pads.xml:
5785         * docs/plugins/Makefile.am:
5786         * docs/plugins/gstreamer-plugins-docs.sgml:
5787         * docs/plugins/gstreamer-plugins-sections.txt:
5788         * docs/pwg/advanced-clock.xml:
5789         * docs/pwg/advanced-scheduling.xml:
5790         * docs/pwg/advanced-types.xml:
5791         * plugins/elements/gstfdsink.c:
5792         * plugins/elements/gstfdsrc.c:
5793         * plugins/elements/gstfdsrc.h:
5794         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5795         * plugins/elements/gstidentity.h:
5796         * plugins/elements/gstqueue.h:
5797         * plugins/elements/gsttee.c:
5798         * plugins/elements/gsttee.h:
5799         * plugins/elements/gsttypefindelement.c:
5800         (gst_type_find_element_class_init):
5801         * plugins/elements/gsttypefindelement.h:
5802         Small updates to various docs.
5803         Added core plugins to docs.
5804
5805 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5806
5807         * common/gst.supp:
5808           add a suppression for liboil's uninitialized variable
5809
5810 2006-01-02  James Livingston  <jrl at ids dot org dot au>
5811
5812         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5813
5814         * gst/gstutils.h:
5815           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5816           macro, so that gcc doesn't complain if the -Wmissing-prototypes
5817           compiler switch is being used (#325429).
5818
5819 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
5820
5821         * gst/gstbin.c: (gst_bin_query):
5822           Disable duration query caching in bins until it gets
5823           fixed (see #324807).
5824
5825 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5826
5827         * tools/gst-inspect.c: (print_element_properties_info):
5828           Handle properties of POINTER and BOXED type.
5829
5830 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * gst/gst.c: (init_post):
5833           Init tags stuff and some other things before loading
5834           any static plugins (there may be other static plugins
5835           than just the GStreamer ones, and they may want to
5836           register their own tags or formats or whatever, and
5837           preferably without segfaulting).
5838
5839         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5840           Print at least a warning in the debug logs if we drop a
5841           query just because we don't know how to adjust the value
5842           in the particular format.
5843
5844 2005-12-24  David Schleef  <ds@schleef.org>
5845
5846         * tools/gstreamer-completion:
5847           Replacement for gst-complete written in sh and sed.  Only
5848           completes names of features, but that's 90% of what I want
5849           it for.  Properties are not available in registry.xml.  (Maybe
5850           they should be...)
5851
5852 === release 0.10.1 ===
5853
5854 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
5855
5856         * configure.ac:
5857           releasing 0.10.1, "Nollaig chridheil"
5858
5859 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
5860
5861         * docs/faq/cvs.xml:
5862           Add missing quote, should be make ERROR_CFLAGS="".
5863
5864 2005-12-20  Wim Taymans  <wim@fluendo.com>
5865
5866         * docs/design/part-trickmodes.txt:
5867         More documentation on trickmodes.
5868
5869 2005-12-20  Edward Hervey  <edward@fluendo.com>
5870
5871         * gst/gstcaps.c: (gst_static_caps_get_type):
5872         * gst/gstcaps.h:
5873           API addition: GST_TYPE_STATIC_CAPS
5874         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5875         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5876         * gst/gstpadtemplate.h:
5877           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5878         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5879         bindings.
5880
5881 2005-12-18  Wim Taymans  <wim@fluendo.com>
5882
5883         * libs/gst/base/gstadapter.c:
5884         * libs/gst/base/gstadapter.h:
5885         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5886         (gst_base_sink_get_position):
5887         * libs/gst/base/gstbasesink.h:
5888         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5889         (gst_base_src_default_query), (gst_base_src_default_do_seek),
5890         (gst_base_src_do_seek), (gst_base_src_perform_seek),
5891         (gst_base_src_send_event), (gst_base_src_update_length),
5892         (gst_base_src_get_range), (gst_base_src_loop),
5893         (gst_base_src_start):
5894         * libs/gst/base/gstbasesrc.h:
5895         * libs/gst/base/gstbasetransform.h:
5896         * libs/gst/base/gstcollectpads.h:
5897         * libs/gst/base/gstpushsrc.c:
5898         * libs/gst/base/gstpushsrc.h:
5899         * libs/gst/dataprotocol/dataprotocol.c:
5900         * libs/gst/dataprotocol/dataprotocol.h:
5901         * libs/gst/net/gstnetclientclock.h:
5902         * libs/gst/net/gstnettimeprovider.h:
5903         Documentation updates.
5904
5905 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5906
5907         * docs/manual/basics-helloworld.xml:
5908           Remove superfluous closing bracket in helloworld example.
5909
5910 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5911
5912         * tools/gst-launch.1.in:
5913           Update gst-launch man page; add a section with useful
5914           environment variables. Fixes #323882.
5915
5916 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
5917
5918         * gst/gst.c:
5919         * gst/gst_private.h:
5920           change some char* into char[]
5921
5922 2005-12-16  Wim Taymans  <wim@fluendo.com>
5923
5924         * gst/gstregistryxml.c: (load_feature):
5925         Cleanups.
5926         Don't use g_object_unref on GstObjects so that we avoid
5927         leaks on unsafe glibs.
5928
5929 2005-12-16  Wim Taymans  <wim@fluendo.com>
5930
5931         * gst/gstbin.c: (gst_bin_recalc_state):
5932         Small doc updates.
5933
5934 2005-12-16  Wim Taymans  <wim@fluendo.com>
5935
5936         * common/check.mak:
5937         Added make forever target for check.
5938
5939 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5940
5941         * gst/gst.c: (init_post):
5942           make the registry cache file HOST_CPU-dependent
5943
5944 2005-12-16  Andy Wingo  <wingo@pobox.com>
5945
5946         * plugins/elements/gstbufferstore.c
5947         (gst_buffer_store_cleared_func): Pay attention to g_list_append
5948         return value.
5949
5950         * tests/check/gst/gstobject.c
5951         (test_fake_object_name_threaded_unique): Pay attention to
5952         g_list_sort return value.
5953
5954 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5955
5956         * tools/gst-feedback-m.m:
5957           Update for 0.9/0.10 (fixes #323870).
5958
5959 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
5960
5961         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5962           Fix lcopy for mini objects, the mini object needs to be ref'ed.
5963           
5964         * tests/check/gst/gstminiobject.c: (my_foo_init),
5965         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5966         (test_value_collection), (gst_mini_object_suite):
5967           Add test to ensure refcounts end up as expected when passing
5968           GstMiniObjects through g_object_get() and g_object_set().
5969
5970 2005-12-14  Julien MOUTTE  <julien@moutte.net>
5971
5972         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5973         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
5974         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
5975         of collectpads. This version removes a lot of races without
5976         touching API/ABI. Yay !
5977
5978 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
5979
5980         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
5981           Don't allow activation of a srcpad in pull_range if it has no
5982           getrange function.
5983           Change some debug statements to be a little clearer
5984
5985         * plugins/elements/gsttypefindelement.c:
5986         (gst_type_find_handle_src_query):
5987           Check that we have a peer before executing queries thereupon.
5988
5989         * tests/examples/metadata/read-metadata.c: (message_loop):
5990           Use gst_bus_pop instead of gst_bus_poll when we just want it to
5991           immediately return us any available message with 0 timeout.
5992
5993 2005-12-12  Michael Smith  <msmith@fluendo.com>
5994
5995         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5996           Don't unref factories after calling them.
5997         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
5998         * plugins/elements/gsttypefindelement.c:
5999         (gst_type_find_element_chain):
6000           Free lists of factories after using them. Fixing typefinding memory
6001           leaks.
6002
6003 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6004
6005         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6006         (gst_plugin_feature_load):
6007           more meaningful debug output
6008         * configure.ac:
6009         * tests/Makefile.am:
6010         * tests/old/examples/Makefile.am:
6011           make make distcheck happy again
6012
6013 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6014
6015         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6016           Catch the special case where we are operating chain-based,
6017           but the downstream peer pad has no chain function. Emit a
6018           custom error message in this case instead of letting the
6019           core generate one implying that this is some sort of core
6020           bug. It's not, it just means that whatever got plugged
6021           into the pipeline downstream when we announced the type
6022           can only operate pull-based, while our source can only
6023           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6024           Error string has not been marked for translation yet, as
6025           it probably needs some more work first.
6026
6027         (gst_type_find_element_get_best_possibility):
6028           Add helper function to find the best of all available
6029           found possibilities that qualify given the min. threshold.
6030
6031         (gst_type_find_element_handle_event):
6032           Fix the case where we get an EOS while still in TYPEFIND
6033           mode (we want to chose the best of all possible types,
6034           not just the first type that happens to be in our unsorted
6035           list of possible types).
6036
6037         (gst_type_find_element_chain):
6038           Make sure we return GST_FLOW_ERROR when we errored out
6039           in stop_typefinding(); also, don't just find the best of
6040           all found type entries and then use the last examined
6041           type entry, but actually use the best entry.
6042
6043 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6044
6045         * tests/examples/typefind/typefind.c: (type_found):
6046         * tests/examples/xml/runxml.c: (xml_loaded):
6047           More gcc4 fixes and a mem leak fix.
6048
6049 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6050
6051         * tests/examples/xml/createxml.c: (object_saved):
6052           gcc 4 fixes
6053
6054 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6055
6056         * tests/Makefile.am:
6057           enable the examples even more
6058
6059 2005-12-12  Andy Wingo  <wingo@pobox.com>
6060
6061         * libs/gst/net/gstnettimeprovider.c
6062         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6063         (gst_net_time_provider_set_property)
6064         (gst_net_time_provider_get_property):
6065         API addition: Export "active" as a GObject property.
6066         (gst_net_time_provider_thread): Only respond to time queries if
6067         the time provider is active.
6068
6069         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6070         NetTimeProvider, preserving binary compat.
6071
6072 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6073
6074         * tests/examples/controller/audio-example.c: (main):
6075         * tests/examples/launch/Makefile.am:
6076           convert comments again
6077
6078 2005-12-12  Wim Taymans  <wim@fluendo.com>
6079
6080         * libs/gst/base/gstpushsrc.c:
6081         Fix typo.
6082
6083 2005-12-12  Wim Taymans  <wim@fluendo.com>
6084
6085         * docs/libs/gstreamer-libs-sections.txt:
6086         Added new symbol to docs.
6087
6088         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6089         (gst_base_src_init), (gst_base_src_set_format),
6090         (gst_base_src_default_query), (gst_base_src_query),
6091         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6092         (gst_base_src_perform_seek), (gst_base_src_send_event),
6093         (gst_base_src_default_event), (gst_base_src_event_handler),
6094         (gst_base_src_set_property), (gst_base_src_get_property),
6095         (gst_base_src_wait), (gst_base_src_do_sync),
6096         (gst_base_src_update_length), (gst_base_src_get_range),
6097         (gst_base_src_check_get_range), (gst_base_src_loop),
6098         (gst_base_src_default_negotiate), (gst_base_src_start),
6099         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6100         (gst_base_src_change_state):
6101         * libs/gst/base/gstbasesrc.h:
6102         Implement seeking to other formats than _BYTES.
6103         Implement more seeking methods correctly.
6104         Doc updates.
6105         Added query vmethod.
6106         Added do_seek vmethod to make life easier for subclasses
6107         when seeking.
6108         API addition: gst_base_src_set_format()
6109
6110 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6111
6112         * tests/examples/Makefile.am:
6113           added that too
6114
6115 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6116
6117         * configure.ac:
6118         * docs/random/ensonic/media-device-daemon.txt:
6119         * tests/examples/controller/.cvsignore:
6120         * tests/examples/controller/Makefile.am:
6121         * tests/examples/controller/audio-example.c: (main):
6122         * tests/examples/helloworld/.cvsignore:
6123         * tests/examples/helloworld/Makefile.am:
6124         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6125         * tests/examples/launch/.cvsignore:
6126         * tests/examples/launch/Makefile.am:
6127         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6128         * tests/examples/metadata/.cvsignore:
6129         * tests/examples/metadata/Makefile.am:
6130         * tests/examples/metadata/read-metadata.c: (message_loop),
6131         (make_pipeline), (print_tag), (main):
6132         * tests/examples/queue/.cvsignore:
6133         * tests/examples/queue/Makefile.am:
6134         * tests/examples/queue/queue.c: (event_loop), (main):
6135         * tests/examples/typefind/.cvsignore:
6136         * tests/examples/typefind/Makefile.am:
6137         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6138         (main):
6139         * tests/examples/xml/.cvsignore:
6140         * tests/examples/xml/Makefile.am:
6141         * tests/examples/xml/createxml.c: (object_saved), (main):
6142         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6143         * tests/old/examples/Makefile.am:
6144         * tests/old/examples/TODO:
6145         * tests/old/examples/controller/.cvsignore:
6146         * tests/old/examples/controller/Makefile.am:
6147         * tests/old/examples/controller/audio-example.c:
6148         * tests/old/examples/helloworld/.cvsignore:
6149         * tests/old/examples/helloworld/Makefile.am:
6150         * tests/old/examples/helloworld/helloworld.c:
6151         * tests/old/examples/launch/.cvsignore:
6152         * tests/old/examples/launch/Makefile.am:
6153         * tests/old/examples/launch/mp3parselaunch.c:
6154         * tests/old/examples/launch/mp3play:
6155         * tests/old/examples/manual/Makefile.am:
6156         * tests/old/examples/metadata/Makefile.am:
6157         * tests/old/examples/metadata/read-metadata.c:
6158         * tests/old/examples/queue/.cvsignore:
6159         * tests/old/examples/queue/Makefile.am:
6160         * tests/old/examples/queue/queue.c:
6161         * tests/old/examples/typefind/.cvsignore:
6162         * tests/old/examples/typefind/Makefile.am:
6163         * tests/old/examples/typefind/typefind.c:
6164         * tests/old/examples/xml/.cvsignore:
6165         * tests/old/examples/xml/Makefile.am:
6166         * tests/old/examples/xml/createxml.c:
6167         * tests/old/examples/xml/runxml.c:
6168           applied some simple fixing to some examples
6169           re-enabled the working examples
6170
6171 2005-12-12  Wim Taymans  <wim@fluendo.com>
6172
6173         * gst/gstsegment.c: (gst_segment_init),
6174         (gst_segment_set_last_stop), (gst_segment_set_seek),
6175         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6176         (gst_segment_to_running_time):
6177         Added more documentation.
6178         Make sure the last_pos value is updated properly.
6179         Make sure to_stream_time and to_running_time don't
6180         operate on wrong values.
6181
6182         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6183         Update check.
6184
6185 2005-12-12  Michael Smith  <msmith@fluendo.com>
6186
6187         * plugins/elements/gsttypefindelement.c: (free_entry),
6188         (gst_type_find_element_chain):
6189           Now that we're not leaking factories, make sure we keep references
6190           to them while we need them.
6191
6192 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6193
6194         * tests/check/gst/struct_i386.h:
6195           ifdef out the XML structs
6196
6197 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6198
6199         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6200           floor is not needed, F is always positive; this obviates the
6201           need for adding -lm when building without libxml
6202
6203 2005-12-12  Wim Taymans  <wim@fluendo.com>
6204
6205         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6206         Take current playback rate into account when reporting
6207         the position.
6208
6209 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6210
6211         * docs/manual/mime-world.fig:
6212           Let's try this again, this time with a file that is
6213           actually in XFig format.
6214
6215 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6216
6217         * docs/manual/mime-world.fig:
6218           Add audioconvert element to diagram so that it
6219           matches the text and the code (fixes #319526).
6220
6221 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * docs/pwg/building-chainfn.xml:
6224         * docs/pwg/building-pads.xml:
6225         * docs/pwg/building-state.xml:
6226         * docs/pwg/other-source.xml:
6227           Update state change stuff for 0.10 (fixes #322969).
6228
6229 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6230
6231         * docs/manual/advanced-dataaccess.xml:
6232         * docs/manual/appendix-checklist.xml:
6233         * docs/manual/appendix-programs.xml:
6234         * docs/manual/basics-pads.xml:
6235         * docs/manual/highlevel-components.xml:
6236         * docs/manual/manual.xml:
6237           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6238           add converters in front of pipelines; remove curly
6239           brackets for threads stuff, they no longer exist; use
6240           GST_TYPE_FRACTION for framerates; update some pieces of
6241           code to 0.10, but there's plenty more to do.
6242
6243         * docs/manual/appendix-porting.xml:
6244           Expand on asynchroneous state changes; s/0.9/0.10/;
6245           mention disappearance of gst_init_get_popt_table()
6246           (fixes #322916).
6247
6248 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6249
6250         * docs/faq/using.xml:
6251           Spider no longer exists, and neither does gst-launch-ext.
6252           Update examples to use decodebin and playbin and put
6253           converters in front of sinks (fixes #323726).
6254
6255 2005-12-09  Michael Smith  <msmith@fluendo.com>
6256
6257         * plugins/elements/gsttypefindelement.c: (find_peek),
6258         (gst_type_find_element_chain):
6259           Fix leaking element factories in typefinding.
6260           Fix problem where we forgot about a probable type on non-seekable
6261           files, and thus later mis-typefound it.
6262
6263 2005-12-09  Michael Smith  <msmith@fluendo.com>
6264
6265         * common/m4/gst-makecontext.m4:
6266         * common/m4/gst-mcsc.m4:
6267         * configure.ac:
6268         * win32/common/config.h:
6269         * win32/common/config.h.in:
6270           Remove makecontext stuff; not used in 0.10 and causes problems on
6271           HPUX according to bug #322441
6272
6273 2005-12-07  Wim Taymans  <wim@fluendo.com>
6274
6275         * tests/check/Makefile.am:
6276         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6277         (main):
6278         * tests/check/libs/struct_i386.h:
6279         Added ABI check for libs
6280
6281 2005-12-07  Wim Taymans  <wim@fluendo.com>
6282
6283         * tests/check/Makefile.am:
6284         And add the struct_i386.h to dist.
6285
6286 2005-12-07  Wim Taymans  <wim@fluendo.com>
6287
6288         * tests/check/Makefile.am:
6289         * tests/check/gst/.cvsignore:
6290         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6291         (main):
6292         * tests/check/gst/struct_i386.h:
6293         Added check for ABI compatibility.
6294
6295 2005-12-07  Wim Taymans  <wim@fluendo.com>
6296
6297         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6298         (gst_fake_src_get_times), (gst_fake_src_create):
6299         Fix broken sync option, fixes #323259
6300
6301 2005-12-07  Wim Taymans  <wim@fluendo.com>
6302
6303         * gst/gstbuffer.c:
6304         Small docs update.
6305
6306         * gst/gstcaps.c: (gst_caps_is_equal):
6307         Don't assert on NULL <--> X. Fixes #323260
6308
6309         * gst/gstminiobject.c: (gst_mini_object_replace):
6310         If we're doing atomic operations, we might just as well use
6311         the proper way to get an atomic pointer.
6312
6313         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6314         Clean up debugging.
6315
6316 2005-12-07  Michael Smith  <msmith@fluendo.com>
6317
6318         * gst/parse/grammar.y:
6319           Remove handling of { } for threads.
6320
6321 2005-12-06  David Schleef  <ds@schleef.org>
6322
6323         * libs/gst/base/gstbasetransform.c: speling fix.
6324
6325 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6326
6327         * docs/libs/tmpl/gstdataprotocol.sgml:
6328         * docs/random/omega/testing/gstobject.c:
6329         * gst/gst.c:
6330         * gst/gstclock.c:
6331         * gst/gstelement.c:
6332         * gst/gstelementfactory.c:
6333         * gst/gsterror.c:
6334         * gst/gstevent.c:
6335         * gst/gstghostpad.c:
6336         * gst/gstinfo.c:
6337         * gst/gstpadtemplate.c:
6338         * gst/gstregistryxml.c:
6339         * gst/gsttaglist.c:
6340         * gst/gsttagsetter.c:
6341         * gst/gsttypefind.c:
6342         * gst/gstvalue.c:
6343         * libs/gst/base/gstbasesrc.c:
6344         * libs/gst/net/gstnetclientclock.c:
6345         * libs/gst/net/gstnettimeprovider.c:
6346         * plugins/elements/gstfakesrc.c:
6347         * plugins/elements/gstfdsrc.c:
6348         * plugins/elements/gstfilesrc.c:
6349         * plugins/elements/gstidentity.c:
6350         * plugins/elements/gstqueue.c:
6351         * plugins/elements/gsttypefindelement.c:
6352         * plugins/indexers/gstfileindex.c:
6353         * plugins/indexers/gstmemindex.c:
6354         * tests/check/gst/gsttag.c:
6355         * tests/old/examples/cutter/cutter.c:
6356         * tests/old/examples/mixer/mixer.c:
6357         * tests/old/examples/xml/runxml.c: (main):
6358         * tests/old/testsuite/caps/normalisation.c:
6359         * tests/old/testsuite/debug/global.c:
6360         * tests/old/testsuite/parse/parse1.c:
6361         * tools/gst-xmlinspect.c:
6362         * win32/common/dirent.c:
6363           expand tabs
6364
6365 === release 0.10.0 ===
6366
6367 2005-12-05   <thomas (at) apestaart (dot) org>
6368
6369         * configure.ac:
6370           releasing 0.10.0, "Maroilles"
6371
6372 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6373
6374         submitted by: Funda Wang <fundawang@linux.net.cn>
6375
6376         * po/LINGUAS:
6377         * po/zh_CN.po:
6378           added Chinese (Traditional) translation
6379
6380 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6381
6382         * docs/gst/gstreamer-sections.txt:
6383         * docs/libs/tmpl/gstdataprotocol.sgml:
6384         * docs/random/thomasvs/TODO:
6385         * gst/gstutils.c:
6386         * gst/gstutils.h:
6387           fix docs
6388
6389 2005-12-05  Andy Wingo  <wingo@pobox.com>
6390
6391         patch by: Wim Taymans <wim@fluendo.com>
6392
6393         * libs/gst/base/gstbasetransform.c
6394         (gst_base_transform_prepare_output_buf)
6395         (gst_base_transform_buffer_alloc):
6396         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6397         alloc_buffer_and_set_caps.
6398
6399         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6400         set_caps on the source pad.
6401         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6402         alloc_buffer used to do. Fixes #322874.
6403
6404         * docs/gst/gstreamer-sections.txt: 
6405         * docs/design/part-negotiation.txt: 
6406         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6407         changes.
6408
6409 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6410
6411         patch by: Sebastien Moutte
6412
6413         * win32/MANIFEST:
6414         * win32/common/config.h.in:
6415         * win32/vs6/libgstcontroller.dsp:
6416           win32 build fixes
6417
6418 2005-12-05  Wim Taymans  <wim@fluendo.com>
6419
6420         * gst/gstcaps.c: (gst_caps_is_equal):
6421         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6422         (gst_fake_src_create):
6423         Back out previous code changes, leave doc updates, file bugs 
6424         instead. 
6425
6426 2005-12-05  Wim Taymans  <wim@fluendo.com>
6427
6428         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6429         (gst_fake_src_get_times), (gst_fake_src_create):
6430         * plugins/elements/gstfakesrc.h:
6431         Fix broken sync code.
6432
6433 2005-12-05  Wim Taymans  <wim@fluendo.com>
6434
6435         * gst/gstcaps.c: (gst_caps_is_equal):
6436         Comparing NULL against !NULL yields different caps, not a
6437         failure.
6438
6439 2005-12-05  Wim Taymans  <wim@fluendo.com>
6440
6441         * gst/gstpipeline.c:
6442         Fix small typo in docs.
6443
6444 2005-12-05  Andy Wingo  <wingo@pobox.com>
6445
6446         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6447
6448         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6449         registries/plugins with a MAJORMINOR one.
6450         (plugin_desc): Rename library from gstcoreleements to
6451         staticelements. Fixes #323222.
6452
6453 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6454
6455         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6456           Change debug category to 'collectpads' from 'collect_pads'
6457           (fixes #323250).
6458
6459 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6460
6461         patch by: Sebastien Moutte
6462
6463         * libs/gst/controller/gstinterpolation.c:
6464           use convert function for uint64/double
6465         * win32/vs6/libgstcontroller.dsp:
6466           link to GLib
6467
6468 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6469
6470         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6471         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6472         * gst/gstutils.h:
6473         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6474           add tests that seem to show that the guint64/gdouble conversions
6475           are correct.
6476
6477 2005-12-02  Wim Taymans  <wim@fluendo.com>
6478
6479         * gst/gstregistry.c: (gst_registry_add_path):
6480         * gst/gstregistry.h:
6481         * gst/gstregistryxml.c:
6482         Fix docs again.
6483
6484 2005-12-02  Wim Taymans  <wim@fluendo.com>
6485
6486         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6487         (gst_util_uint64_scale_int):
6488         Small cleanup.
6489
6490         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6491         Add debug log line.
6492
6493         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6494         Add FIXME.
6495
6496 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6497
6498         * win32/MANIFEST:
6499         * win32/common/config.h:
6500         * win32/vs6/gstreamer.dsw:
6501         * win32/vs6/libgstcoreelements.dsp:
6502         * win32/vs6/libgstelements.dsp:
6503           renamed core elements plugin
6504
6505 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6506
6507         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6508         (get_candidates):
6509           do piece-wise major/minor comparison so 0.9 < 0.10
6510           also allow .exe extensions for tools
6511
6512 2005-12-02  Michael Smith  <msmith@fluendo.com>
6513
6514         * gst/gst.c:
6515           Escape a % to make gtkdoc happier; bug 322958.
6516
6517 === release 0.9.7 ===
6518
6519 2005-12-01   <thomas (at) apestaart (dot) org>
6520
6521         * configure.ac:
6522           releasing 0.9.7, "My Dog Has No Nose"
6523
6524 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6525
6526         * common/gst-xmlinspect.py:
6527         * configure.ac:
6528         * docs/libs/tmpl/gstdataprotocol.sgml:
6529         * docs/random/release:
6530         * po/af.po:
6531         * po/az.po:
6532         * po/bg.po:
6533         * po/ca.po:
6534         * po/cs.po:
6535         * po/de.po:
6536         * po/en_GB.po:
6537         * po/fr.po:
6538         * po/it.po:
6539         * po/nb.po:
6540         * po/nl.po:
6541         * po/ru.po:
6542         * po/sq.po:
6543         * po/sr.po:
6544         * po/sv.po:
6545         * po/tr.po:
6546         * po/uk.po:
6547         * po/vi.po:
6548         * win32/common/config.h:
6549         * win32/common/config.h.in:
6550         * win32/vs6/gst_inspect.dsp:
6551         * win32/vs6/gst_launch.dsp:
6552         * win32/vs6/libgstbase.dsp:
6553         * win32/vs6/libgstelements.dsp:
6554         * win32/vs6/libgstreamer.dsp:
6555         * win32/vs7/GStreamer.vcproj:
6556         * win32/vs7/gst-inspect.vcproj:
6557         * win32/vs7/gst-launch.vcproj:
6558         * win32/vs7/libgstbase.vcproj:
6559           bump GST_MAJORMINOR to 0.10
6560           reset libtool version
6561
6562 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6563
6564         * po/LINGUAS:
6565         * po/bg.po:
6566           Added Bulgarian translation by (Alexander Shopov)
6567
6568 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6569
6570         * tests/check/gst/gstplugin.c:
6571           fix test
6572
6573 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6574
6575         * common/gst-xmlinspect.py:
6576         * common/gtk-doc-plugins.mak:
6577         * configure.ac:
6578         * docs/Makefile.am:
6579         * docs/gst/Makefile.am:
6580         * docs/gst/gstreamer-docs.sgml:
6581         * docs/gst/gstreamer-sections.txt:
6582         * docs/gst/gstreamer.types:
6583         * docs/gst/gstreamer.types.in:
6584         * docs/plugins/Makefile.am:
6585         * docs/plugins/gstreamer-plugins-docs.sgml:
6586         * docs/plugins/gstreamer-plugins-sections.txt:
6587         * docs/plugins/gstreamer-plugins.types:
6588         * docs/plugins/inspect.stamp:
6589         * docs/plugins/inspect/plugin-coreelements.xml:
6590         * docs/plugins/inspect/plugin-coreindexers.xml:
6591         * docs/plugins/scanobj-build.stamp:
6592         * gstreamer.spec.in:
6593         * plugins/elements/Makefile.am:
6594         * plugins/elements/gstelements.c:
6595         * plugins/elements/gstfakesink.c:
6596         * plugins/elements/gstfakesrc.c:
6597         * plugins/elements/gstfilesink.c:
6598         * plugins/elements/gstfilesrc.c:
6599         * plugins/elements/gstqueue.c:
6600         * plugins/indexers/Makefile.am:
6601         * plugins/indexers/gstindexers.c:
6602           document core plugins in a separate document just like all the
6603           others
6604           rename these plugins to something starting with core
6605
6606 2005-12-01  Andy Wingo  <wingo@pobox.com>
6607
6608         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6609         padding here before, but it missed the commit.
6610
6611 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6612
6613         * libs/gst/controller/gstinterpolation.c:
6614           whitespace prices have crashed, we should feel free to use some now
6615           use gst_guint64_to_gdouble
6616
6617 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6618
6619         * libs/gst/controller/gstcontroller.c:
6620         * libs/gst/controller/gsthelper.c:
6621         * libs/gst/controller/gstinterpolation.c:
6622         * libs/gst/controller/lib.c:
6623           wrap config.h include
6624
6625 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6626
6627         * docs/gst/gstreamer-sections.txt:
6628           update docs
6629
6630 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6631
6632         * plugins/elements/gstelements.c:
6633         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6634         (gst_fd_sink__class_init), (gst_fd_sink__init),
6635         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6636         (gst_fd_sink__get_property):
6637         * plugins/elements/gstfdsink.h:
6638         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6639         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6640         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6641         (gst_fd_src_unlock), (gst_fd_src_set_property),
6642         (gst_fd_src_get_property), (gst_fd_src_create),
6643         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6644         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6645         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6646         (gst_fd_src_uri_handler_init):
6647         * plugins/elements/gstfdsrc.h:
6648         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6649           more anal cleanup
6650
6651 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6652
6653         * docs/gst/Makefile.am:
6654         * docs/gst/gstreamer.types.in:
6655         * gst/Makefile.am:
6656           fix the docs build
6657
6658 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6659
6660         * configure.ac:
6661         * gst/Makefile.am:
6662         * gst/gst.c:
6663         * gst/gstplugin.h:
6664         * gst/gstregistry.h:
6665         * tests/benchmarks/complexity.c:
6666         * tests/benchmarks/mass-elements.c:
6667         * tests/check/Makefile.am:
6668         * tools/Makefile.am:
6669         * tools/gst-inspect.c:
6670         * tools/gst-xmlinspect.c:
6671           various fixes to make
6672           --disable-nls --disable-registry --disable-loadsave
6673           --disable-parse --disable-gst-debug
6674           work and get the core .so down to 360444 bytes after stripping
6675
6676 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6677
6678         * Makefile.am:
6679         * configure.ac:
6680           descend into tests
6681         * docs/random/thomasvs/TODO:
6682         * tests/Makefile.am:
6683         * tests/README:
6684           add a README
6685
6686 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6687
6688         * win32/GStreamer.vcproj:
6689         * win32/MANIFEST:
6690         * win32/Makefile:
6691         * win32/Makefile.inspect:
6692         * win32/Makefile.launch:
6693         * win32/Makefile.register:
6694         * win32/README.txt:
6695         * win32/gst-inspect.vcproj:
6696         * win32/gst-launch.vcproj:
6697         * win32/gst-register.vcproj:
6698         * win32/gstelements.vcproj:
6699         * win32/gstgetbits.def:
6700         * win32/gstgetbits.vcproj:
6701         * win32/gstreamer-dbg.def:
6702         * win32/gstreamer.def:
6703         * win32/libgstbase.def:
6704         * win32/libgstbase.vcproj:
6705         * win32/link_oldruntime.c:
6706         * win32/mman.c:
6707         * win32/mman.h:
6708         * win32/mman.inl:
6709         * win32/msvc71.sln:
6710           move even more stuff, win32/ is nice and clean now
6711
6712 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6713
6714         * libs/gst/control/.cvsignore:
6715         * win32/MANIFEST:
6716         * win32/config.h:
6717         * win32/dirent.c:
6718         * win32/dirent.h:
6719         * win32/gstbytestream.def:
6720         * win32/gstbytestream.vcproj:
6721         * win32/gstconfig.h:
6722         * win32/gstenumtypes.c:
6723         * win32/gstenumtypes.h:
6724         * win32/gstoptimalscheduler.vcproj:
6725         * win32/gstversion.h:
6726         * win32/gtchar.h:
6727         * win32/testsuite/bins.vcproj:
6728         * win32/testsuite/bytestream.vcproj:
6729         * win32/testsuite/caps.vcproj:
6730         * win32/testsuite/cleanup.vcproj:
6731         * win32/testsuite/clock.vcproj:
6732         * win32/testsuite/debug.vcproj:
6733         * win32/testsuite/dlopen.vcproj:
6734         * win32/testsuite/dynparams.vcproj:
6735         * win32/testsuite/elements.vcproj:
6736         * win32/testsuite/ghostpads.vcproj:
6737         * win32/testsuite/indexers.vcproj:
6738         * win32/testsuite/negotiation.vcproj:
6739         * win32/testsuite/parse.vcproj:
6740         * win32/testsuite/plugin.vcproj:
6741         * win32/testsuite/refcounting.vcproj:
6742         * win32/testsuite/schedulers.vcproj:
6743         * win32/testsuite/states.vcproj:
6744         * win32/testsuite/tags.vcproj:
6745         * win32/testsuite/threads.vcproj:
6746           remove old win32 stuff that isn't maintained and should be
6747           reorganized
6748
6749 2005-11-30  Andy Wingo  <wingo@pobox.com>
6750
6751         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6752         loading the gst.interfaces python module bork.
6753
6754         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6755         available since GLib 2.2. Fixes #318031.
6756
6757 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6758
6759         * Makefile.am:
6760         * check/.cvsignore:
6761         * check/Makefile.am:
6762         * check/elements/.cvsignore:
6763         * check/elements/fakesrc.c:
6764         * check/elements/fdsrc.c:
6765         * check/elements/identity.c:
6766         * check/generic/.cvsignore:
6767         * check/generic/states.c:
6768         * check/gst-libs/.cvsignore:
6769         * check/gst-libs/controller.c:
6770         * check/gst-libs/gdp.c:
6771         * check/gst/.cvsignore:
6772         * check/gst/capslist.h:
6773         * check/gst/gst.c:
6774         * check/gst/gstbin.c:
6775         * check/gst/gstbuffer.c:
6776         * check/gst/gstbus.c:
6777         * check/gst/gstcaps.c:
6778         * check/gst/gstelement.c:
6779         * check/gst/gstevent.c:
6780         * check/gst/gstghostpad.c:
6781         * check/gst/gstiterator.c:
6782         * check/gst/gstmessage.c:
6783         * check/gst/gstminiobject.c:
6784         * check/gst/gstobject.c:
6785         * check/gst/gstpad.c:
6786         * check/gst/gstpipeline.c:
6787         * check/gst/gstplugin.c:
6788         * check/gst/gstsegment.c:
6789         * check/gst/gststructure.c:
6790         * check/gst/gstsystemclock.c:
6791         * check/gst/gsttag.c:
6792         * check/gst/gstutils.c:
6793         * check/gst/gstvalue.c:
6794         * check/net/.cvsignore:
6795         * check/net/gstnetclientclock.c:
6796         * check/net/gstnettimeprovider.c:
6797         * check/pipelines/.cvsignore:
6798         * check/pipelines/cleanup.c:
6799         * check/pipelines/simple_launch_lines.c:
6800         * check/pipelines/stress.c:
6801         * check/states/.cvsignore:
6802         * check/states/sinks.c:
6803         * configure.ac:
6804         * examples/Makefile.am:
6805         * examples/appreader/.cvsignore:
6806         * examples/appreader/Makefile.am:
6807         * examples/appreader/appreader.c:
6808         * examples/controller/.cvsignore:
6809         * examples/controller/Makefile.am:
6810         * examples/controller/audio-example.c:
6811         * examples/cutter/.cvsignore:
6812         * examples/cutter/Makefile.am:
6813         * examples/cutter/cutter.c:
6814         * examples/cutter/cutter.h:
6815         * examples/events/Makefile.am:
6816         * examples/events/seek.c:
6817         * examples/helloworld/.cvsignore:
6818         * examples/helloworld/Makefile.am:
6819         * examples/helloworld/helloworld.c:
6820         * examples/helloworld2/.cvsignore:
6821         * examples/helloworld2/Makefile.am:
6822         * examples/helloworld2/helloworld2.c:
6823         * examples/launch/.cvsignore:
6824         * examples/launch/Makefile.am:
6825         * examples/launch/mp3parselaunch.c:
6826         * examples/launch/mp3play:
6827         * examples/manual/.cvsignore:
6828         * examples/manual/Makefile.am:
6829         * examples/manual/extract.pl:
6830         * examples/metadata/Makefile.am:
6831         * examples/metadata/read-metadata.c:
6832         * examples/mixer/.cvsignore:
6833         * examples/mixer/Makefile.am:
6834         * examples/mixer/mixer.c:
6835         * examples/mixer/mixer.h:
6836         * examples/pingpong/.cvsignore:
6837         * examples/pingpong/Makefile.am:
6838         * examples/pingpong/pingpong.c:
6839         * examples/plugins/.cvsignore:
6840         * examples/plugins/Makefile.am:
6841         * examples/plugins/example.c:
6842         * examples/plugins/example.h:
6843         * examples/pwg/.cvsignore:
6844         * examples/pwg/Makefile.am:
6845         * examples/pwg/extract.pl:
6846         * examples/queue/.cvsignore:
6847         * examples/queue/Makefile.am:
6848         * examples/queue/queue.c:
6849         * examples/queue2/.cvsignore:
6850         * examples/queue2/Makefile.am:
6851         * examples/queue2/queue2.c:
6852         * examples/queue3/.cvsignore:
6853         * examples/queue3/Makefile.am:
6854         * examples/queue3/queue3.c:
6855         * examples/queue4/.cvsignore:
6856         * examples/queue4/Makefile.am:
6857         * examples/queue4/queue4.c:
6858         * examples/retag/.cvsignore:
6859         * examples/retag/Makefile.am:
6860         * examples/retag/retag.c:
6861         * examples/retag/transcode.c:
6862         * examples/thread/.cvsignore:
6863         * examples/thread/Makefile.am:
6864         * examples/thread/thread.c:
6865         * examples/typefind/.cvsignore:
6866         * examples/typefind/Makefile.am:
6867         * examples/typefind/typefind.c:
6868         * examples/xml/.cvsignore:
6869         * examples/xml/Makefile.am:
6870         * examples/xml/createxml.c:
6871         * examples/xml/runxml.c:
6872         * tests/Makefile.am:
6873         * tests/check/Makefile.am:
6874         * testsuite/.cvsignore:
6875         * testsuite/Makefile.am:
6876         * testsuite/Rules:
6877         * testsuite/caps/.cvsignore:
6878         * testsuite/caps/Makefile.am:
6879         * testsuite/caps/app_fixate.c:
6880         * testsuite/caps/audioscale.c:
6881         * testsuite/caps/caps.c:
6882         * testsuite/caps/caps.h:
6883         * testsuite/caps/caps_strings:
6884         * testsuite/caps/compatibility.c:
6885         * testsuite/caps/deserialize.c:
6886         * testsuite/caps/enumcaps.c:
6887         * testsuite/caps/eratosthenes.c:
6888         * testsuite/caps/filtercaps.c:
6889         * testsuite/caps/fixed.c:
6890         * testsuite/caps/fraction-convert.c:
6891         * testsuite/caps/fraction-multiply-and-zero.c:
6892         * testsuite/caps/intersect2.c:
6893         * testsuite/caps/intersection.c:
6894         * testsuite/caps/normalisation.c:
6895         * testsuite/caps/random.c:
6896         * testsuite/caps/renegotiate.c:
6897         * testsuite/caps/sets.c:
6898         * testsuite/caps/simplify.c:
6899         * testsuite/caps/string-conversions.c:
6900         * testsuite/caps/structure.c:
6901         * testsuite/caps/subtract.c:
6902         * testsuite/caps/union.c:
6903         * testsuite/debug/.cvsignore:
6904         * testsuite/debug/Makefile.am:
6905         * testsuite/debug/category.c:
6906         * testsuite/debug/commandline.c:
6907         * testsuite/debug/global.c:
6908         * testsuite/debug/output.c:
6909         * testsuite/debug/printf_extension.c:
6910         * testsuite/dlopen/.cvsignore:
6911         * testsuite/dlopen/Makefile.am:
6912         * testsuite/dlopen/dlopen_gst.c:
6913         * testsuite/dlopen/loadgst.c:
6914         * testsuite/elements/.cvsignore:
6915         * testsuite/elements/Makefile.am:
6916         * testsuite/elements/gst-inspect-check.in:
6917         * testsuite/elements/struct_i386.h:
6918         * testsuite/elements/struct_size.c:
6919         * testsuite/indexers/.cvsignore:
6920         * testsuite/indexers/Makefile.am:
6921         * testsuite/indexers/cache1.c:
6922         * testsuite/indexers/indexdump.c:
6923         * testsuite/parse/.cvsignore:
6924         * testsuite/parse/Makefile.am:
6925         * testsuite/parse/parse1.c:
6926         * testsuite/parse/parse2.c:
6927         * testsuite/plugin/.cvsignore:
6928         * testsuite/plugin/Makefile.am:
6929         * testsuite/plugin/README:
6930         * testsuite/plugin/dynamic.c:
6931         * testsuite/plugin/linked.c:
6932         * testsuite/plugin/loading.c:
6933         * testsuite/plugin/registry.c:
6934         * testsuite/plugin/static.c:
6935         * testsuite/plugin/static2.c:
6936         * testsuite/plugin/testplugin.c:
6937         * testsuite/plugin/testplugin2.c:
6938         * testsuite/plugin/testplugin2_s.c:
6939         * testsuite/plugin/testplugin_s.c:
6940         * testsuite/refcounting/.cvsignore:
6941         * testsuite/refcounting/Makefile.am:
6942         * testsuite/refcounting/bin.c:
6943         * testsuite/refcounting/element.c:
6944         * testsuite/refcounting/element_pad.c:
6945         * testsuite/refcounting/mainloop.c:
6946         * testsuite/refcounting/mem.c:
6947         * testsuite/refcounting/mem.h:
6948         * testsuite/refcounting/object.c:
6949         * testsuite/refcounting/pad.c:
6950         * testsuite/refcounting/sched.c:
6951         * testsuite/refcounting/thread.c:
6952         * testsuite/states/.cvsignore:
6953         * testsuite/states/Makefile.am:
6954         * testsuite/states/bin.c:
6955         * testsuite/states/locked.c:
6956         * testsuite/states/parent.c:
6957         * testsuite/threads/.cvsignore:
6958         * testsuite/threads/159566.c:
6959         * testsuite/threads/159852.c:
6960         * testsuite/threads/Makefile.am:
6961         * testsuite/threads/queue.c:
6962         * testsuite/threads/signals.c:
6963         * testsuite/threads/staticrec.c:
6964         * testsuite/threads/thread.c:
6965         * testsuite/threads/threadb.c:
6966         * testsuite/threads/threadc.c:
6967         * testsuite/threads/threadd.c:
6968         * testsuite/threads/threade.c:
6969         * testsuite/threads/threadf.c:
6970         * testsuite/threads/threadg.c:
6971         * testsuite/threads/threadh.c:
6972         * testsuite/threads/threadi.c:
6973           move all of these under tests
6974
6975 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6976
6977         * configure.ac:
6978         * tests/Makefile.am:
6979           fix distcheck
6980
6981 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6982
6983         * docs/gst/gstreamer-sections.txt:
6984         * tests/sched/.cvsignore:
6985         * tests/sched/Makefile.am:
6986         * tests/sched/cases/(fs-fs).xml:
6987         * tests/sched/cases/(fs-i-fs).xml:
6988         * tests/sched/cases/(fs-i-i-fs).xml:
6989         * tests/sched/cases/(fs-i-q[i-fs]).xml:
6990         * tests/sched/dynamic-pipeline.c:
6991         * tests/sched/interrupt1.c:
6992         * tests/sched/interrupt2.c:
6993         * tests/sched/interrupt3.c:
6994         * tests/sched/runtestcases:
6995         * tests/sched/runxml.c:
6996         * tests/sched/sched-stress.c:
6997         * tests/sched/sort.c:
6998         * tests/sched/testcases:
6999         * tests/sched/testcases1.tc:
7000         * tests/seeking/.cvsignore:
7001         * tests/seeking/Makefile.am:
7002         * tests/seeking/seeking1.c:
7003         * tests/threadstate/.cvsignore:
7004         * tests/threadstate/Makefile.am:
7005         * tests/threadstate/test1.c:
7006         * tests/threadstate/test2.c:
7007         * tests/threadstate/threadstate1.c:
7008         * tests/threadstate/threadstate2.c:
7009         * tests/threadstate/threadstate3.c:
7010         * tests/threadstate/threadstate4.c:
7011         * tests/threadstate/threadstate5.c:
7012           remove obsolete tests
7013         * configure.ac:
7014         * tests/bench-complexity.scm:
7015         * tests/bench-mass_elements.scm:
7016         * tests/complexity.c:
7017         * tests/complexity.gnuplot:
7018         * tests/instantiate/.cvsignore:
7019         * tests/instantiate/Makefile.am:
7020         * tests/instantiate/caps.c:
7021         * tests/mass_elements.c:
7022         * tests/network-clock-utils.scm:
7023         * tests/network-clock.scm:
7024         * tests/plot-data:
7025         First pass at cleaning up tests/ dir before moving the rest
7026         Combined with CVS surgery
7027
7028 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7029
7030         * po/POTFILES.in:
7031           queue has moved, update
7032
7033 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7034
7035         * docs/gst/gstreamer-sections.txt:
7036           remove double entries from the docs
7037         * gst/gst_private.h:
7038         * gst/gstinfo.c: (_gst_debug_init):
7039           remove the THREAD debug category
7040         * gst/Makefile.am:
7041         * gst/gstqueue.c:
7042         * gst/gstqueue.h:
7043         * docs/gst/gstreamer.types:
7044         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7045         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7046           completely move queue and fix up debugging categories
7047
7048 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7049
7050         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7051           make initialization portable, using LL is not
7052
7053 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7054
7055         * win32/common/gstconfig.h:
7056           add large padding
7057
7058 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7059
7060         * win32/common/libgstreamer.def:
7061           rename symbols; sort base section
7062
7063 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7064
7065         * gst/gstclock.c: (do_linear_regression):
7066           remove crack non-portable handrolled DEBUG macro
7067
7068 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7069
7070         * docs/random/release:
7071           update notes
7072         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7073         (gst_object_flags_get_type), (register_gst_bin_flags),
7074         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7075         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7076         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7077         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7078         (gst_caps_flags_get_type), (register_gst_clock_return),
7079         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7080         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7081         (gst_clock_flags_get_type), (register_gst_state),
7082         (gst_state_get_type), (register_gst_state_change_return),
7083         (gst_state_change_return_get_type), (register_gst_state_change),
7084         (gst_state_change_get_type), (register_gst_element_flags),
7085         (gst_element_flags_get_type), (register_gst_core_error),
7086         (gst_core_error_get_type), (register_gst_library_error),
7087         (gst_library_error_get_type), (register_gst_resource_error),
7088         (gst_resource_error_get_type), (register_gst_stream_error),
7089         (gst_stream_error_get_type), (register_gst_event_type_flags),
7090         (gst_event_type_flags_get_type), (register_gst_event_type),
7091         (gst_event_type_get_type), (register_gst_seek_type),
7092         (gst_seek_type_get_type), (register_gst_seek_flags),
7093         (gst_seek_flags_get_type), (register_gst_format),
7094         (gst_format_get_type), (register_gst_index_certainty),
7095         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7096         (gst_index_entry_type_get_type),
7097         (register_gst_index_lookup_method),
7098         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7099         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7100         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7101         (gst_index_flags_get_type), (register_gst_debug_level),
7102         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7103         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7104         (gst_iterator_result_get_type), (register_gst_iterator_item),
7105         (gst_iterator_item_get_type), (register_gst_message_type),
7106         (gst_message_type_get_type), (register_gst_mini_object_flags),
7107         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7108         (gst_pad_link_return_get_type), (register_gst_flow_return),
7109         (gst_flow_return_get_type), (register_gst_activate_mode),
7110         (gst_activate_mode_get_type), (register_gst_pad_direction),
7111         (gst_pad_direction_get_type), (register_gst_pad_flags),
7112         (gst_pad_flags_get_type), (register_gst_pad_presence),
7113         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7114         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7115         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7116         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7117         (gst_plugin_flags_get_type), (register_gst_rank),
7118         (gst_rank_get_type), (register_gst_query_type),
7119         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7120         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7121         (gst_tag_flag_get_type), (register_gst_task_state),
7122         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7123         (gst_alloc_trace_flags_get_type),
7124         (register_gst_type_find_probability),
7125         (gst_type_find_probability_get_type), (register_gst_uri_type),
7126         (gst_uri_type_get_type), (register_gst_parse_error),
7127         (gst_parse_error_get_type):
7128         * win32/common/gstenumtypes.h:
7129         * win32/common/gstversion.h:
7130           update visual studio generated files
7131
7132 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7133
7134         * win32/vs6/libgstbase.dsp:
7135         * win32/vs6/libgstelements.dsp:
7136           update project files for new locations
7137
7138 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7139
7140         * Makefile.am:
7141           remove some files
7142         * README:
7143           reinstate and update
7144         * DEVEL:
7145         * REQUIREMENTS:
7146           removed
7147         * LICENSE:
7148         * docs/random/LICENSE:
7149           moved to random
7150
7151 2005-11-30  Edward Hervey  <edward@fluendo.com>
7152
7153         * gst/gsttypefind.c: (gst_type_find_register):
7154         * gst/gsttypefind.h:
7155         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7156         (gst_type_find_factory_dispose):
7157         * gst/gsttypefindfactory.h:
7158         Fix memory leak in GstTypeFindFactory.
7159
7160 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7161
7162         * gst/gst.c:
7163         * plugins/elements/Makefile.am:
7164         * plugins/elements/gstelements.c:
7165         * plugins/elements/gstqueue.c:
7166           move queue from core to the elements plugin
7167
7168 2005-11-29  Andy Wingo  <wingo@pobox.com>
7169
7170         * libs/gst/base/gstbasetransform.h: 
7171         * libs/gst/base/gstbasesrc.h: 
7172         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7173
7174         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7175         of pointers by which to pad very extensible base classes (like the
7176         ones in libs/gst/base).
7177
7178 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7179
7180         * docs/gst/gstreamer-docs.sgml:
7181         * docs/gst/gstreamer-sections.txt:
7182         * docs/libs/gstreamer-libs-docs.sgml:
7183         * docs/libs/gstreamer-libs-sections.txt:
7184           moving documentation from core to lib
7185
7186 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7187
7188         * check/Makefile.am:
7189         * configure.ac:
7190         * docs/gst/Makefile.am:
7191         * gst/Makefile.am:
7192         * gst/base/.cvsignore:
7193         * gst/base/Makefile.am:
7194         * gst/base/README:
7195         * gst/base/gstadapter.c:
7196         * gst/base/gstadapter.h:
7197         * gst/base/gstbasesink.c:
7198         * gst/base/gstbasesink.h:
7199         * gst/base/gstbasesrc.c:
7200         * gst/base/gstbasesrc.h:
7201         * gst/base/gstbasetransform.c:
7202         * gst/base/gstbasetransform.h:
7203         * gst/base/gstcollectpads.c:
7204         * gst/base/gstcollectpads.h:
7205         * gst/base/gstpushsrc.c:
7206         * gst/base/gstpushsrc.h:
7207         * gst/base/gsttypefindhelper.c:
7208         * gst/base/gsttypefindhelper.h:
7209         * gst/check/Makefile.am:
7210         * gst/check/gstcheck.c:
7211         * gst/check/gstcheck.h:
7212         * gst/net/Makefile.am:
7213         * gst/net/gstnet.h:
7214         * gst/net/gstnetclientclock.c:
7215         * gst/net/gstnetclientclock.h:
7216         * gst/net/gstnettimepacket.c:
7217         * gst/net/gstnettimepacket.h:
7218         * gst/net/gstnettimeprovider.c:
7219         * gst/net/gstnettimeprovider.h:
7220         * libs/gst/Makefile.am:
7221         * libs/gst/base/Makefile.am:
7222         * libs/gst/base/gstbasetransform.c:
7223         * libs/gst/check/Makefile.am:
7224         * plugins/elements/Makefile.am:
7225         * po/POTFILES.in:
7226           CVS surgery + support to move base, check, and net out of gst
7227           and into libs/gst
7228
7229 2005-11-29  Andy Wingo  <wingo@pobox.com>
7230
7231         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7232
7233         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7234         padding.
7235
7236         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7237
7238         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7239
7240         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7241
7242         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7243         padding; reduces object size by about 30%. We don't expect
7244         anything else to go into gstobject.
7245
7246         * gst/gstminiobject.h (struct _GstMiniObject)
7247         (struct _GstMiniObjectClass): Only one pointer of padding; the
7248         payload is only a pointer and two ints anyway. For the class there
7249         are only two methods as well.
7250         
7251         * gst/gstelement.h (struct _GstElementClass): Removed
7252         the state_changed signal callback, it is not used.
7253
7254 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7255
7256         * docs/gst/gstreamer.types:
7257           fix includes, though they are a little dinky
7258
7259 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7260
7261         * check/Makefile.am:
7262           look in the right place for elements, a lot more chance of
7263           success
7264         * gst/Makefile.am:
7265           remove indexers and elements subdirs
7266         * plugins/Makefile.am:
7267           make indexers conditional
7268
7269 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7270
7271         * Makefile.am:
7272         * configure.ac:
7273         * plugins/elements/Makefile.am:
7274         * plugins/elements/gstcapsfilter.c:
7275         * plugins/elements/gstfilesink.c:
7276         * plugins/elements/gstfilesrc.c:
7277         * plugins/elements/gstidentity.c:
7278         * plugins/indexers/Makefile.am:
7279           do CVS surgery and related build fixery to move elements
7280           and indexers in a new gstreamer/plugins directory, out of the
7281           gst/ directory
7282
7283 2005-11-29  Andy Wingo  <wingo@pobox.com>
7284
7285         * check/Makefile.am:
7286         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7287         * pkgconfig/gstreamer-net.pc.in:
7288         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7289         #322257.
7290
7291 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7292
7293         * tools/Makefile.am:
7294         * tools/gst-complete.1.in:
7295         * tools/gst-complete.c:
7296         * tools/gst-compprep.1.in:
7297         * tools/gst-compprep.c:
7298           removing -compprep and -complete
7299
7300 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7301
7302         * gst/gstevent.c: (gst_event_new_new_segment),
7303         (gst_event_parse_new_segment):
7304         * gst/gstevent.h:
7305           fix #320529 - clean up new_segment API and structure.
7306           Let's hope everyone was using the methods, and not the structure.
7307
7308 2005-11-29  Edward Hervey  <edward@fluendo.com>
7309
7310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7311         (gst_base_sink_event), (gst_base_sink_do_sync),
7312         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7313         Properly handle non GST_FORMAT_TIME segment
7314         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7315         Properly handle non GST_FORMAT_TIME segment
7316         * gst/gstsegment.c:
7317         This function is valid if the accumulator is 0 and the format
7318         is different from the requested format.
7319         
7320 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7321
7322         * docs/gst/gstreamer-sections.txt:
7323         Add gst_query_new_seeking and gst_query_parse_seeking to the
7324         docs.
7325
7326 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7327
7328         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7329           Treat a pad alloc with new caps the same as if we were not
7330           negotiated, in order to allow a changing upstream output
7331           to produce a new format of data.
7332
7333 2005-11-29  Edward Hervey  <edward@fluendo.com>
7334
7335         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7336         (gst_base_transform_event), (gst_base_transform_eventfunc):
7337         The event virtual method is now properly implemented, with a default
7338         handler
7339         Sub classes should call the parent_class event method. They should
7340         return FALSE if they had a problem handling the given event, or don't
7341         want GstBaseTransform to send that even downstream
7342         * gst/elements/gstidentity.c: (gst_identity_class_init),
7343         (gst_identity_init), (gst_identity_event),
7344         (gst_identity_transform_ip), (gst_identity_set_property),
7345         (gst_identity_get_property):
7346         * gst/elements/gstidentity.h:
7347         Added the single-segment boolean property.
7348         If set to TRUE, it will output a single segment of data, starting from
7349         0, will eat up all incoming newsegment, and modify the timestamp of the
7350         buffers accordingly
7351
7352 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7353
7354         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7355           Don't ref NULL target pad (#322751). Improve docs.
7356
7357 2005-11-29  Michael Smith  <msmith@fluendo.com>
7358
7359         * gst/gstregistryxml.c: (load_plugin):
7360           Don't crash if we failed to load a feature from a plugin. 
7361
7362 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7363
7364         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7365         (GST_START_TEST):
7366           use more check API and less GLib API
7367
7368 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7369
7370         * Makefile.am:
7371           don't run checks if we don't have check
7372         * common/check.mak:
7373           remove the registry when running make torture
7374         * docs/gst/gstreamer-sections.txt:
7375           remove second multiply
7376         * gst/gstqueue.c: (gst_queue_loop):
7377           fix a compile warning when disabling debug
7378
7379 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7380
7381         * gst/gstinfo.h:
7382         Hey! Let's print the pad name if the pointer != NULL instead
7383         of when it == NULL :-)
7384
7385 2005-11-28  Wim Taymans  <wim@fluendo.com>
7386
7387         * check/gst/gstutils.c: (GST_START_TEST):
7388         Updated check, add some scaling accuracy checking code.
7389
7390         * gst/gstutils.c: (gst_util_div128_64),
7391         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7392         (gst_util_uint64_scale_int):
7393         Fix 6 times faster division code. Optimize for common 
7394         1/1 and less common X/1 cases.
7395
7396 2005-11-28  Wim Taymans  <wim@fluendo.com>
7397
7398         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7399         More checks.
7400
7401         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7402         (do_linear_regression), (gst_clock_add_observation):
7403         Cleanups.
7404         Release lock when the clock cannot be slaved.
7405         Catch the case where the regression returned an invalid denominator.
7406
7407         * gst/gstutils.c: (gst_util_div128_64_iterate),
7408         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7409         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7410         Add protentially more performant non-iterative 128/64 divide function
7411         that unfortunatly does not work yet.
7412         Shortcut the trivial 0/X = 0 case.
7413         Remove the warnings on overflow.
7414
7415 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7416
7417         * gst/gstplugin.c: (gst_plugin_register_func):
7418           everything causing a plugin not to load should be at least a WARNING
7419
7420 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7421
7422         * docs/random/ensonic/dparams.txt:
7423           some TODOs for the next dev cycle
7424         * libs/gst/controller/gstcontroller.c:
7425         (gst_controlled_property_set_interpolation_mode),
7426         (gst_controlled_property_new):
7427         * libs/gst/controller/gstcontroller.h:
7428           use base type to assign acccessor functions
7429
7430 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7431
7432         * check/Makefile.am:
7433         Oops, that should have been top_srcdir
7434
7435 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7436
7437         * check/Makefile.am:
7438         * check/elements/fdsrc.c: (GST_START_TEST):
7439         Use a cmdline define to specify the location of a file to use for
7440         testing, to avoid breaking distcheck.
7441
7442 2005-11-28  Andy Wingo  <wingo@pobox.com>
7443
7444         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7445
7446 2005-11-28  Edward Hervey  <edward@fluendo.com>
7447
7448         * tools/gst-launch.c: (main):
7449         Clarify the output strings, makes it easier to translate.
7450         Fixes #322626
7451
7452 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7453
7454         * gst/Makefile.am:
7455           don't try and build net if we don't even have <sys/socket.h>
7456
7457 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7458
7459         * check/Makefile.am:
7460         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7461         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7462           Add tests for fdsrc seekability
7463
7464         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7465         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7466         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7467         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7468         * gst/elements/gstfdsrc.h:
7469           fdsrc should not be a 'live' source.
7470           Implement seeking on seekable fd's.
7471
7472         * gst/gstquery.c: (gst_query_new_seeking),
7473         (gst_query_parse_seeking):
7474         * gst/gstquery.h:
7475           Implement SEEKING query functions: 
7476             *_new_seeking and *_parse_seeking
7477
7478 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * gst/gstelement.c: (gst_element_dispose):
7481           don't loop forever
7482
7483         * gst/gstiterator.c:
7484         * gst/gststructure.c:
7485           doc fixes
7486
7487         * libs/gst/controller/gstcontroller.c:
7488         (gst_controlled_property_set_interpolation_mode):
7489         * libs/gst/controller/gstcontroller.h:
7490         * libs/gst/controller/gstinterpolation.c:
7491         (interpolate_none_get_enum_value_array):
7492           support controlling enums
7493
7494 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7495
7496         * gst/gstvalue.c:
7497           Improve documentation for gst_value_union().
7498
7499         * gst/gstvalue.h:
7500           Change return value for union, intersect and subtract functions
7501           from gint to gboolean.
7502
7503 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7504
7505         * gst/gstvalue.c: (gst_value_serialize_any_list),
7506         (gst_value_transform_any_list_string),
7507         (gst_value_deserialize_list), (gst_value_deserialize_array),
7508         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7509         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7510         (gst_value_set_fraction_range_full),
7511         (gst_value_deserialize_fraction_range),
7512         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7513         (gst_value_deserialize_boolean),
7514         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7515         (gst_value_serialize_float), (gst_value_deserialize_float),
7516         (gst_string_wrap), (gst_value_deserialize_string),
7517         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7518         (gst_value_union_int_range_int_range),
7519         (gst_value_intersect_int_range_int_range),
7520         (gst_value_intersect_double_range_double_range),
7521         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7522         (gst_value_subtract_int_range_int_range),
7523         (gst_value_subtract_double_double_range),
7524         (gst_value_subtract_double_range_double_range),
7525         (gst_value_deserialize_fraction):
7526         * gst/gstvalue.h:
7527           Use gint, gdouble and gchar in our API instead of int, double and
7528           char (and make usage in gstvalue.c more consistent).
7529
7530 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7531
7532         * check/Makefile.am:
7533         * libs/gst/controller/Makefile.am:
7534         * libs/gst/dataprotocol/Makefile.am:
7535           fix up Makefile.am and remove GST_ENABLE_NEW
7536
7537 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7538
7539         * configure.ac:
7540         * gst/Makefile.am:
7541         * gst/base/Makefile.am:
7542         * gst/check/Makefile.am:
7543         * gst/elements/Makefile.am:
7544         * gst/net/Makefile.am:
7545           update LDFLAGS use some more
7546
7547 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7548
7549         * common/m4/gst-doc.m4:
7550           Fixes #312589
7551
7552 2005-11-26  Edward Hervey  <edward@fluendo.com>
7553
7554         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7555         This shouldn't issue a g_warning since it returns NULL if it
7556         couldn't find the plugin, and all functions using this behave
7557         properly on a NULL return. Switching to a GST_WARNING.
7558
7559 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7560
7561         * gst/gstbin.c: (gst_bin_handle_message_func):
7562         Don't leak clock messages.
7563
7564 2005-11-25  Wim Taymans  <wim@fluendo.com>
7565
7566         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7567         (gst_util_uint64_scale_int):
7568         Optimisations, remove unneeded vars.
7569
7570 2005-11-25  Wim Taymans  <wim@fluendo.com>
7571
7572         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7573         Added more checks for the high precision uint64 cases.
7574
7575         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7576         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7577         Implement high precision (guint64 * guint64) / guint64.
7578
7579 2005-11-24  Wim Taymans  <wim@fluendo.com>
7580
7581         * gst/base/gstbasesrc.c: (gst_base_src_query):
7582         Fix wrong percentage query.
7583
7584         * gst/gstutils.c: (gst_util_uint64_scale),
7585         (gst_util_uint64_scale_int):
7586         Add some more common cases that can be handled 
7587         efficiently to _scale.
7588
7589 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7590
7591         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7592         (gst_mini_object_suite):
7593           don't use check calls from threads; check probably isn't
7594           threadsafe and using a lock to make it threadsafe would
7595           defeat the purpose of this check
7596         * gst/check/gstcheck.c:
7597         * gst/check/gstcheck.h:
7598           use GST_DEBUG some more
7599
7600 2005-11-24  Wim Taymans  <wim@fluendo.com>
7601
7602         * gst/gstutils.c: (gst_util_uint64_scale),
7603         (gst_util_uint64_scale_int):
7604         Chain trivial case to _scale_int.
7605
7606 2005-11-24  Wim Taymans  <wim@fluendo.com>
7607
7608         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7609         Added test for scaling.
7610
7611         * gst/gstclock.h:
7612         Small doc fix.
7613
7614         * gst/gstutils.c: (gst_util_uint64_scale_int):
7615         Implemented high precision scaling code.
7616
7617 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7618
7619         * gst/gstinfo.h:
7620           do not crash on pad==NULL
7621
7622 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7623
7624         Patch by: Stefan Kost
7625
7626         * common/gtk-doc.mak:
7627         * docs/gst/Makefile.am:
7628         * docs/libs/Makefile.am:
7629           Fix distcheck issues for the libraries docs build
7630           Closes #319599.
7631
7632 2005-11-24  Michael Smith <msmith@fluendo.com>
7633
7634         * docs/manual/basics-helloworld.xml:
7635           Fix bug #315027: memory leak in example code in docs.
7636
7637 2005-11-24  Michael Smith <msmith@fluendo.com>
7638
7639         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7640           Unlock the PREROLL_LOCK in a failure case.
7641
7642 2005-11-24  Wim Taymans  <wim@fluendo.com>
7643
7644         * docs/gst/gstreamer-sections.txt:
7645         * gst/base/gstadapter.h:
7646         * gst/base/gstbasesink.h:
7647         * gst/base/gstbasesrc.h:
7648         * gst/base/gstbasetransform.h:
7649         * gst/base/gstpushsrc.h:
7650         * gst/elements/gstfakesink.h:
7651         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7652         * gst/elements/gstfakesrc.h:
7653         * gst/elements/gstfilesink.h:
7654         * gst/elements/gstfilesrc.h:
7655         * gst/gst.c:
7656         * gst/gstbin.c:
7657         * gst/gstbuffer.c: (_gst_buffer_copy):
7658         * gst/gstbus.h:
7659         * gst/gstcaps.c:
7660         * gst/gstchildproxy.c:
7661         * gst/gstclock.c:
7662         * gst/gstelement.c:
7663         * gst/gstelementfactory.c:
7664         * gst/gstelementfactory.h:
7665         * gst/gstevent.c:
7666         * gst/gstghostpad.h:
7667         * gst/gstindex.h:
7668         * gst/gstinterface.h:
7669         * gst/gstminiobject.c:
7670         * gst/gstminiobject.h:
7671         * gst/gstpad.c:
7672         * gst/gstpad.h:
7673         * gst/gstpadtemplate.h:
7674         * gst/gstpipeline.h:
7675         * gst/gstpluginfeature.h:
7676         * gst/gstquery.h:
7677         * gst/gstqueue.h:
7678         * gst/gsttaglist.c:
7679         * gst/gsttaglist.h:
7680         * gst/gsttagsetter.c:
7681         * gst/gsttagsetter.h:
7682         * gst/gsttrace.c:
7683         * gst/gsttrace.h:
7684         * gst/gsttypefind.h:
7685         * gst/gsturi.h:
7686         * gst/gstvalue.c:
7687         * gst/net/gstnetclientclock.c:
7688         * gst/net/gstnetclientclock.h:
7689         * gst/net/gstnettimepacket.c:
7690         * gst/net/gstnettimeprovider.c:
7691         * gst/net/gstnettimeprovider.h:
7692         Doc fixes.
7693
7694 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7695
7696         * configure.ac: back to HEAD
7697
7698 === release 0.9.6 ===
7699
7700 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
7701
7702         * configure.ac:
7703           releasing 0.9.6, "Always On Time"
7704
7705 2005-11-23  Wim Taymans  <wim@fluendo.com>
7706
7707         * docs/gst/gstreamer-sections.txt:
7708         * gst/glib-compat.c:
7709         * gst/gsttagsetter.c:
7710         * gst/gstvalue.c:
7711         * gst/net/gstnetclientclock.c:
7712         * gst/net/gstnettimepacket.h:
7713         Doc updates.
7714
7715 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7716
7717         * docs/faq/using.xml:
7718         * docs/libs/tmpl/gstcontrol.sgml:
7719         * docs/manual/advanced-dparams.xml:
7720         * docs/manual/appendix-checklist.xml:
7721         * docs/manual/basics-elements.xml:
7722         * docs/pwg/other-source.xml:
7723         * docs/random/moving-plugins:
7724         * gst/gstpad.c:
7725         * tools/gst-launch.1.in:
7726           remove mentions of sinesrc
7727
7728 2005-11-23  Michael Smith <msmith@fluendo.com>
7729
7730         * docs/gst/gstreamer-sections.txt:
7731           Update for new API and API changes.
7732         * gst/gstobject.h:
7733           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7734         * gst/gstvalue.c:
7735           Documentation typo fix.
7736         * gst/net/gstnettimepacket.c:
7737           Documentation fixes for arguments.
7738
7739 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
7740
7741         * gst/gststructure.c: (gst_structure_get_fraction),
7742         (gst_structure_parse_value),
7743         (gst_structure_fixate_field_nearest_fraction):
7744         * gst/gststructure.h:
7745         * gst/gstutils.c: (gst_util_uint64_scale_int):
7746         * gst/gstutils.h:
7747         * scripts/update-funcnames:
7748         API Changes. 
7749         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7750         Make gst_structure_fixate_field_nearest_fraction take a numerator
7751         and denominator argument instead of a GValue
7752         add gst_structure_get_fraction helper function.
7753
7754 2005-11-23  Wim Taymans  <wim@fluendo.com>
7755
7756         * docs/design/part-TODO.txt:
7757         Update TODO.
7758
7759         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7760         * gst/net/gstnetclientclock.h:
7761         Use parent fields for timeout and window_size.
7762
7763 2005-11-23  Andy Wingo  <wingo@pobox.com>
7764
7765         * check/net/gstnetclientclock.c (test_functioning): Adjust to
7766         rate_num/rate_denom change.
7767
7768         * gst/net/gstnetclientclock.c
7769         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7770         OBJECT_LOCK. Don't call add_observation with the lock.
7771
7772         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7773         fraction.
7774         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7775         rate fraction.
7776         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7777         deal with rate as a fraction whose numerator and denominator are
7778         GstClockTime values.
7779         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7780         master; the other fields are protected by the SLAVE_LOCK.
7781         (do_linear_regression): Note that this must be called with the
7782         SLAVE_LOCK.
7783         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7784         OBJECT_LOCK. Call set_calibration instead of touching the
7785         variables directly.
7786         (gst_clock_set_property, gst_clock_get_property): Protect
7787         master/slave parameters with the SLAVE_LOCK.
7788
7789         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7790         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7791         note that all of the instance variables that add_observation and
7792         the set_master functions use are protected by that lock and not
7793         the OBJECT_LOCK.
7794         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7795
7796         * gst/gstclock.c (gst_clock_add_observation): No longer requires
7797         the caller to take the object lock.
7798
7799 2005-11-23  Wim Taymans  <wim@fluendo.com>
7800
7801         * gst/gsterror.c: (_gst_core_errors_init):
7802         * gst/gsterror.h:
7803         Add error for clock stuff.
7804
7805         * gst/gstpipeline.c: (gst_pipeline_change_state),
7806         (gst_pipeline_set_clock):
7807         Post clock error when clock cannot be used in a pipeline.
7808
7809 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
7810
7811         * docs/gst/gstreamer-sections.txt:
7812           make two symbols from gstinfo private for the docs
7813         * gst/base/gstcollectpads.h:
7814         * gst/gstutils.c:
7815           fix doc typos, update docs
7816
7817 2005-11-22  Wim Taymans  <wim@fluendo.com>
7818
7819         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7820         (gst_base_sink_wait), (gst_base_sink_do_sync),
7821         (gst_base_sink_handle_event):
7822         * gst/base/gstbasesink.h:
7823         No need to store the clock, the parent element class already
7824         has it.
7825
7826         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7827         Updates for clock_set returning a gboolean
7828
7829         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7830         (gst_clock_id_wait_async), (gst_clock_class_init),
7831         (gst_clock_init), (gst_clock_finalize),
7832         (gst_clock_get_internal_time), (gst_clock_get_time),
7833         (gst_clock_slave_callback), (gst_clock_set_master),
7834         (gst_clock_get_master), (do_linear_regression),
7835         (gst_clock_add_observation), (gst_clock_set_property),
7836         (gst_clock_get_property):
7837         * gst/gstclock.h:
7838         Implement master/slave. When setting a clock as a slave, a
7839         periodic timeout is scheduled to sample master and slave times.
7840         Then the slave clock is recalibrated to match offset and rate
7841         of the master clock.
7842         Update logging a bit.
7843         Add flag so that a clock can state that is cannot be slaved to
7844         another clock.
7845
7846         * gst/gstelement.c: (gst_element_set_clock):
7847         * gst/gstelement.h:
7848         The set clock returns a gboolean for when an element cannot
7849         deal with the selected clock in the pipeline. 
7850
7851         * gst/gstpipeline.c: (gst_pipeline_change_state),
7852         (gst_pipeline_set_clock):
7853         * gst/gstpipeline.h:
7854         Handle the case where the selected clock cannot be set on
7855         the pipeline.
7856
7857         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7858         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7859         (gst_net_client_clock_set_property),
7860         (gst_net_client_clock_get_property),
7861         (gst_net_client_clock_observe_times):
7862         * gst/net/gstnetclientclock.h:
7863         Use regression code in GstClock parent, remove duplicated
7864         functionality.
7865
7866 2005-11-22  Michael Smith <msmith@fluendo.com>
7867
7868         * gst/gstutils.c: (gst_util_clock_time_scale):
7869         * gst/gstutils.h:
7870         * docs/gst/gstreamer-sections.txt:
7871           Rename method to have extra underscore.
7872
7873 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7874
7875         * gst/elements/Makefile.am:
7876         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7877         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7878         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7879         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7880         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7881         * gst/elements/gstfakesrc.h:
7882         * gst/gstqueue.c: (queue_leaky_get_type):
7883           correctly fix GEnumValues so that nick is the short lowercase
7884           dashed tag
7885         * tools/gst-inspect.c: (print_element_properties_info):
7886           also show the nick, since it's useful to use from parse_launch
7887           syntax
7888           Fixes #322139
7889
7890 2005-11-22  Michael Smith <msmith@fluendo.com>
7891
7892         * gst/gstutils.c: (gst_util_clocktime_scale):
7893         * gst/gstutils.h:
7894         * docs/gst/gstreamer-sections.txt:
7895           Add util method for scaling a clocktime by a fraction. Useful 
7896           implementation is left as an exercise for the reader.
7897
7898 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7899
7900         * gst/gstvalue.c: (gst_value_collect_fraction_range):
7901         If needed, allocate storage in the destination value during
7902         collection.
7903
7904 2005-11-22  Edward Hervey  <edward@fluendo.com>
7905
7906         * docs/gst/gstreamer-sections.txt:
7907         * gst/Makefile.am:
7908         * gst/gst.h:
7909         * gst/gsturitype.c:
7910         * gst/gsturitype.h:
7911         * gst/gstutils.c: (gst_util_set_object_arg):
7912         * tools/gst-compprep.c: (main):
7913         * tools/gst-inspect.c: (print_element_properties_info):
7914         Removed GstURI, closes bug #321061
7915
7916 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7917
7918         * check/gst/gststructure.c: (GST_START_TEST):
7919         * gst/gststructure.c: (gst_structure_parse_value):
7920           Oops, broke automatic string type parsing.
7921           Add a test to catch it in future.
7922
7923 2005-11-22  Andy Wingo  <wingo@pobox.com>
7924
7925         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
7926         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7927         Actually rename the function implementations. Grr.
7928
7929 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7930
7931         * check/gst/capslist.h:
7932           Comment test cases
7933         * check/gst/gststructure.c: (GST_START_TEST),
7934         (gst_structure_suite):
7935           Test automatic value type detection in gst_structure_from_string.
7936         * gst/gststructure.c: (gst_structure_parse_value):
7937           Add fraction as a type we try and guess automatically in
7938           caps/structure strings.
7939
7940 2005-11-22  Andy Wingo  <wingo@pobox.com>
7941
7942         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7943
7944         * gst/gsttagsetter.h:
7945         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7946         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7947         (gst_tag_setter_add_tag_valist)
7948         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7949         _add_values, _add_valist, and _add_valist_values. Since this is an
7950         interface the function suffixes should be more explicit so
7951         language binding don't end up with element.add_valist ->
7952         gst_tag_setter_add_valist, for example. Fixes #322069.
7953
7954 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7955
7956         * check/gst/gstcaps.c: (GST_START_TEST):
7957           Extend caps string tests to check that a caps to string
7958           conversion is reversible and produces the same caps.
7959
7960         * gst/gststructure.c: (gst_structure_value_get_generic_type):
7961           Output "fraction" as the generic type fraction range, so caps
7962           serialisation and deserialisation works.
7963         * check/gst/capslist.h:
7964         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7965           Support 'MIN' and 'MAX' for deserialising fractions.
7966
7967 2005-11-22  Andy Wingo  <wingo@pobox.com>
7968
7969         * gst/gstevent.h (gst_event_new_new_segment)
7970         (gst_event_parse_new_segment, gst_event_new_buffer_size)
7971         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7972         Renamed from *_newsegment, *_buffersize, *_notarget.
7973
7974         * scripts/update-funcnames: New script, performs the changes
7975         listed above.
7976
7977 2005-11-22  Wim Taymans  <wim@fluendo.com>
7978
7979         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7980         Make sure the GstFlowReturn is returned.
7981
7982         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
7983         (gst_bus_add_signal_watch):
7984         * gst/gstbus.h:
7985         add gst_bus_add_signal_watch_full.
7986
7987         * gst/gstplugin.c: (gst_plugin_load_file):
7988         Small style cleanup.
7989
7990 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7991
7992         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
7993           Block the fakesrc srcpad when we send an event, to avoid
7994           contention on the stream_lock causing random test failures.
7995
7996 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7997
7998         * check/gst/gstvalue.c: (GST_START_TEST):
7999         * gst/gstvalue.c: (gst_value_fraction_subtract):
8000           Fix subtraction.
8001
8002 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8003
8004         * gst/gst.h:
8005           include "gstchildproxy.h"
8006         * gst/gstchildproxy.h:
8007         * libs/gst/controller/gstcontroller.h:
8008           use G_GNUC_NULL_TERMINATED
8009
8010 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8011
8012         * check/gst/capslist.h:
8013         * check/gst/gstcaps.c: (GST_START_TEST):
8014         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8015         * gst/gststructure.c: (gst_structure_parse_range),
8016         (gst_structure_fixate_field_nearest_fraction):
8017         * gst/gststructure.h:
8018         * gst/gstvalue.c: (gst_value_init_fraction_range),
8019         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8020         (gst_value_collect_fraction_range),
8021         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8022         (gst_value_set_fraction_range_full),
8023         (gst_value_get_fraction_range_min),
8024         (gst_value_get_fraction_range_max),
8025         (gst_value_serialize_fraction_range),
8026         (gst_value_transform_fraction_range_string),
8027         (gst_value_compare_fraction_range),
8028         (gst_value_deserialize_fraction_range),
8029         (gst_value_intersect_fraction_fraction_range),
8030         (gst_value_intersect_fraction_range_fraction_range),
8031         (gst_value_subtract_fraction_fraction_range),
8032         (gst_value_subtract_fraction_range_fraction),
8033         (gst_value_subtract_fraction_range_fraction_range),
8034         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8035         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8036         (gst_value_transform_string_fraction), (_gst_value_initialize):
8037         * gst/gstvalue.h:
8038           Implement fraction ranges and extend GstFraction to support
8039           arithmetic subtraction, as well as deserialization from integer
8040           strings such as "100"
8041           Add a testsuite as for int and double range set operations
8042
8043 2005-11-21  Andy Wingo  <wingo@pobox.com>
8044
8045         * gst/gsttaglist.h: 
8046         * gst/gstcaps.h: 
8047         * gst/gststructure.h: Add glib-compat.h.
8048
8049 2005-11-21  Wim Taymans  <wim@fluendo.com>
8050
8051         * gst/gstbin.c: (gst_bin_change_state_func):
8052         Fix for #321595
8053
8054 2005-11-21  Wim Taymans  <wim@fluendo.com>
8055
8056         * gst/gstsegment.h:
8057         And add a nice define too.
8058
8059 2005-11-21  Wim Taymans  <wim@fluendo.com>
8060
8061         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8062         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8063         (gst_segment_set_duration), (gst_segment_set_last_stop),
8064         (gst_segment_set_seek), (gst_segment_set_newsegment),
8065         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8066         (gst_segment_clip):
8067         * gst/gstsegment.h:
8068         Make binding friendly.
8069
8070 2005-11-21  Andy Wingo  <wingo@pobox.com>
8071
8072         * gst/gsttagsetter.h: 
8073         * gst/gsttaglist.h: 
8074         * gst/gststructure.h: 
8075         * gst/gstcaps.h: 
8076         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8077         #319940.
8078
8079         * gst/gsterror.c (_gst_core_errors_init):
8080         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8081         category.
8082
8083         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8084         (noinst_HEADERS): noinst the -private.
8085
8086 2005-11-21  Michael Smith <msmith@fluendo.com>
8087
8088         * gst/gstplugin.h:
8089         * gst/gstregistry.h:
8090           Remove unimplemented declarations for which we can see no sensible
8091           use.
8092
8093 2005-11-21  Andy Wingo  <wingo@pobox.com>
8094
8095         * gst/gst.h: Include glib-compat.h.
8096
8097         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8098
8099         * gst/glib-compat.c: Include the public and the private header.
8100
8101         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8102
8103         * gst/gstvalue.c: 
8104         * gst/gstpad.c: 
8105         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8106
8107         * check/gst/gstevent.c (create_custom_events): Check that
8108         FLUSH_STOP is serialized.
8109
8110         * check/elements/identity.c (event_func): 
8111         * check/elements/fakesrc.c (event_func): No stream lock, the core
8112         takes it.
8113
8114         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8115         stream lock taking, yay.
8116
8117         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8118         ensure that core takes the stream lock.
8119
8120         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8121         lock name change.
8122
8123         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8124         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8125         it already. For the flush start we do take it though so we get the
8126         right preroll state change messages.
8127
8128         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8129         the stream lock here, the core does it for us.
8130
8131         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8132         GST_STREAM_GET_LOCK.
8133         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8134         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8135         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8136         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8137         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8138         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8139
8140         * gst/gstpad.c: Update for stream lock name change.
8141
8142         * gst/base/gstbasesink.c: Update for preroll lock name change.
8143
8144 2005-11-21  Wim Taymans  <wim@fluendo.com>
8145
8146         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8147         (gst_clock_get_master):
8148         * gst/gstclock.h:
8149         * gst/gstsystemclock.c: (gst_system_clock_init):
8150         Convert Clock flags to object flags.
8151         Added methods to manage master/slave clocks.
8152
8153 2005-11-21  Wim Taymans  <wim@fluendo.com>
8154
8155         * check/gst/gstsegment.c: (GST_START_TEST):
8156         * docs/design/part-TODO.txt:
8157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8158         (gst_base_sink_event), (gst_base_sink_do_sync),
8159         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8160         (gst_base_sink_query), (gst_base_sink_change_state):
8161         * gst/base/gstbasesink.h:
8162         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8163         (gst_base_src_default_newsegment),
8164         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8165         (gst_base_src_get_range), (gst_base_src_loop),
8166         (gst_base_src_change_state):
8167         * gst/base/gstbasesrc.h:
8168         * gst/base/gstbasetransform.c:
8169         (gst_base_transform_prepare_output_buf),
8170         (gst_base_transform_event), (gst_base_transform_change_state):
8171         * gst/base/gstbasetransform.h:
8172         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8173         (gst_collect_pads_event):
8174         * gst/base/gstcollectpads.h:
8175         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8176         (gst_fake_src_create):
8177         * gst/elements/gstfakesrc.h:
8178         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8179         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8180         (gst_segment_set_last_stop), (gst_segment_set_seek),
8181         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8182         (gst_segment_to_running_time), (gst_segment_clip):
8183         * gst/gstsegment.h:
8184         More segment updates, replace code in plugins with segment
8185         helper functions.
8186
8187 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8188
8189         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8190         Don't ignore sscanf results
8191
8192 2005-11-21  Andy Wingo  <wingo@pobox.com>
8193
8194         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8195
8196         * *.h:
8197         * *.c: Ran scripts/update-macros. Oh yes.
8198
8199         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8200         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8201         GST_GET_LOCK, etc.
8202
8203         * scripts/update-macros: New script. Run it on your files to
8204         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8205         well.
8206
8207 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8208
8209         * docs/gst/Makefile.am:
8210         * docs/gst/gstreamer-docs.sgml:
8211         * docs/gst/gstreamer-sections.txt:
8212         * docs/gst/gstreamer.types:
8213         * gst/gstinfo.h:
8214           more docs fixes, add new api to the docs
8215
8216 2005-11-21  Andy Wingo  <wingo@pobox.com>
8217
8218         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8219         state_broadcast call.
8220
8221         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8222
8223 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8224
8225         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8226         function calls for arrays.
8227
8228 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8229
8230         * docs/random/ensonic/media-device-daemon.txt:
8231           wild idea, can this be done?
8232         * docs/gst/gstreamer-sections.txt:
8233         * gst/gsterror.h:
8234         * gst/gstfilter.c:
8235         * gst/gstfilter.h:
8236         * gst/gstplugin.h:
8237         * gst/gstpluginfeature.c:
8238         * gst/gsttrace.c:
8239         * gst/gstvalue.c:
8240         * gst/gstvalue.h:
8241           doc fixes and additions
8242
8243 2005-11-21  Andy Wingo  <wingo@pobox.com>
8244
8245         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8246         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8247         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8248         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8249         private to the basesrc implementation.
8250
8251         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8252         behalf of event function if necessary. It should no longer be
8253         necessary to take the stream lock in pad's event functions. Fixes
8254         #320299.
8255
8256 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8257         * docs/gst/gstreamer-sections.txt:
8258         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8259         (gst_structure_fixate_field_nearest_double),
8260         (gst_structure_fixate_field_boolean):
8261         * gst/gststructure.h:
8262         * win32/common/libgstreamer.def:
8263         * win32/gstreamer.def:
8264
8265         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8266         (#322027)
8267
8268 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8269
8270         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8271         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8272         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8273         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8274         (gst_fdsrc_uri_handler_init):
8275         * gst/elements/gstfdsrc.h:
8276           Port fd:// URI handler from 0.8 to fdsrc
8277
8278 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8279
8280         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8281         (gst_value_serialize_fourcc):
8282         * gst/gstvalue.h:
8283           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8284           consistent with our other format defines (#320324).
8285
8286 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8287
8288         * gst/gstvalue.c: (gst_value_is_fixed):
8289           Revert previous commit. Value lists are by definition
8290           not fixed, as they are a list of possible values.
8291
8292 2005-11-21  Andy Wingo  <wingo@pobox.com>
8293
8294         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8295         during the stable series if we need it. Fixes #319178.
8296
8297         * gst/gstevent.c (gst_event_new_filler): Removed.
8298
8299         * check/gst/gstevent.c: Update comment about filler events.
8300
8301 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8302
8303         * gst/gstvalue.c: (gst_value_is_fixed):
8304           Should handle both value arrays and value lists.
8305
8306 2005-11-21  Andy Wingo  <wingo@pobox.com>
8307
8308         patch by: Alessandro Dessina <alessandro nnva org>
8309
8310         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8311         functions to access arrays. Fixes #321962.
8312
8313 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8314
8315         * docs/gst/gstreamer.types:
8316           gst_collectpads_get_type => gst_collect_pads_get_type.
8317           
8318         * gst/base/gstbasetransform.c:
8319           Remove unused SIGNAL_HANDOFF enum.
8320
8321 2005-11-21  Andy Wingo  <wingo@pobox.com>
8322
8323         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8324         the event type (upstream, downstream, serialized). Renamed
8325         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8326         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8327         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8328
8329         * gst/gstevent.c: Update for new CUSTOM event names.
8330
8331         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8332
8333         * gst/gstevent.h:
8334         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8335         bug #319392.
8336
8337 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8338
8339         * docs/gst/gstreamer-sections.txt:
8340         * win32/common/libgstbase.def:
8341         * win32/libgstbase.def:
8342         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8343         (gst_collect_pads_class_init), (gst_collect_pads_init),
8344         (gst_collect_pads_finalize), (gst_collect_pads_new),
8345         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8346         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8347         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8348         (gst_collect_pads_start), (gst_collect_pads_stop),
8349         (gst_collect_pads_peek), (gst_collect_pads_pop),
8350         (gst_collect_pads_available), (gst_collect_pads_read),
8351         (gst_collect_pads_flush), (gst_collect_pads_event),
8352         (gst_collect_pads_chain):
8353         * gst/base/gstcollectpads.h:
8354           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8355           unimplemented functions as unimplemented. Add padding to
8356           GstCollectData. (#320766, #320423)
8357
8358 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8359
8360         * gst/gstmessage.c:
8361           Improve docs for DURATION message (usage of duration parameter)
8362           (#320113)
8363
8364 2005-11-20  Wim Taymans  <wim@fluendo.com>
8365
8366         * check/Makefile.am:
8367         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8368         (main):
8369         * gst/Makefile.am:
8370         * gst/gst.h:
8371         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8372         (gst_segment_set_seek), (gst_segment_set_newsegment),
8373         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8374         (gst_segment_clip):
8375         * gst/gstsegment.h:
8376         Added segment helper structure and methods. Not fully implemented
8377         yet.
8378         Added segment check.
8379
8380 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8381
8382         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8383           Add a deserialisation test for fractions
8384         * examples/metadata/read-metadata.c: (message_loop),
8385         (make_pipeline), (main):
8386           Fix up metadata reading sample.
8387         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8388           Debug format fix
8389         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8390           Don't try and fixate empty caps
8391         * gst/gst_private.h:
8392           Wrap in G_BEGIN_DECLS/G_END_DECLS
8393         * gst/gstvalue.c: (gst_value_collect_fraction),
8394         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8395         (gst_value_transform_string_fraction),
8396         (gst_value_compare_fraction):
8397           Add some extra guards to ensure that we don't end up 
8398           with an invalid denominator of 0 in a gstfraction and
8399           that fractions always get reduced.
8400
8401 2005-11-20  Wim Taymans  <wim@fluendo.com>
8402
8403         * docs/gst/gstreamer-sections.txt:
8404         * gst/gstbuffer.h:
8405         * gst/gstelement.c:
8406         * gst/gstformat.c:
8407         * gst/gstformat.h:
8408         * gst/gstindex.h:
8409         * gst/gstquery.c:
8410         * gst/gstquery.h:
8411         * gst/gstvalue.c:
8412         Doc fixes.
8413
8414 2005-11-20  Wim Taymans  <wim@fluendo.com>
8415
8416         * docs/design/part-TODO.txt:
8417         * gst/gstcaps.h:
8418         Make a proper enum of the flag.
8419
8420 2005-11-19  Wim Taymans  <wim@fluendo.com>
8421
8422         * docs/design/part-TODO.txt:
8423         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8424         (gst_format_to_quark), (gst_format_register):
8425         * gst/gstformat.h:
8426         * gst/gstquery.c: (_gst_query_initialize),
8427         (gst_query_type_get_name), (gst_query_type_to_quark),
8428         (gst_query_type_register):
8429         * gst/gstquery.h:
8430         Add type to quark and type to string conversions.
8431
8432 2005-11-19  Andy Wingo  <wingo@pobox.com>
8433
8434         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8435         #320097.
8436
8437 2005-11-19  Wim Taymans  <wim@fluendo.com>
8438
8439         * docs/design/part-TODO.txt:
8440         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8441         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8442         (gst_bin_handle_message_func):
8443         * gst/gstbin.h:
8444         Make message handling overridable.
8445
8446 2005-11-19  Andy Wingo  <wingo@pobox.com>
8447
8448         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8449
8450         * gst/gstclock.h:
8451         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8452         be a GstClockTime.
8453         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8454         is a GstClockTime. Fixes #321710.
8455
8456         * gst/gstclock.h (GstClock): Remove offset property. Add
8457         internal_calibration and external_calibration. Fix padding. Pad
8458         also by GstClockTime so we don't run into problems.
8459
8460         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8461         (gst_clock_get_rate_offset): Remove.
8462         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8463
8464         * gst/gstutils.h:
8465         * gst/gstutils.c (g_static_rec_cond_wait)
8466         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8467
8468         * gst/gstbin.c: Remove terrible continue_state prototype.
8469
8470         * gst/gstelement.h (gst_element_continue_state): Make public.
8471
8472         * gst/gstelement.h:
8473         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8474         by continue_state. Fixes #319389.
8475
8476         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8477         Really fixes #168438. However I don't see anywhere where the
8478         filter function is called... stupid GStreamer...
8479         
8480         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8481         don't have a dispose function, so it won't get called when the
8482         object is unreffed, but oh well!
8483
8484         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8485         allows a destroy function to be set so user_data can be freed.
8486         Fixes #168438.
8487         (gst_index_set_filter): Call gst_index_set_filter_full.
8488
8489         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8490
8491         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8492         string should produce an error, given the lack of a way to
8493         represent NULL strings. Fixes #165650.
8494         
8495         * gst/gstvalue.h: 
8496         * gst/gstvalue.c (gst_value_array_append_value) 
8497         (gst_value_array_prepend_value, gst_value_array_get_size) 
8498         (gst_value_array_get_value): New API, copied from
8499         gst_value_list_*, only operates on arrays.
8500         (gst_value_list_append_value, gst_value_list_prepend_value) 
8501         (gst_value_list_concat, gst_value_list_get_size) 
8502         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8503
8504         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8505         init_list, because it works on both.
8506         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8507         (gst_value_copy_list_or_array): Renamed from copy_list.
8508         (gst_value_free_list_or_array): Renamed from free_list.
8509         (gst_value_collect_list_or_array): Renamed from collect_list.
8510         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8511         (gst_value_list_or_array_peek_pointer): Renamed from
8512         list_peek_pointer.
8513         (_gst_value_array_value_table, _gst_value_list_value_table):
8514         Update value table functions.
8515         (gst_value_compare_list_or_array): Renamed from compare_list.
8516
8517         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8518         some constness.
8519
8520         * gst/gsttaglist.c:
8521         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8522         GstTagList*. Fixes #143472.
8523
8524         * gst/gststructure.h: Clarify what the foreach/map functions can
8525         or can't do to their arguments.
8526
8527 2005-11-18  Wim Taymans  <wim@fluendo.com>
8528
8529         * gst/gstclock.c: (gst_clock_set_calibration),
8530         (gst_clock_get_calibration):
8531         Doc and API fixes.
8532         Calibration can be set with internal time equal to current
8533         internal time too.
8534
8535 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8536
8537         * gst/gsterror.c:
8538         * gst/gsterror.h:
8539           document
8540
8541 2005-11-18  Andy Wingo  <wingo@pobox.com>
8542
8543         * configure.ac: 
8544         * pkgconfig/gstreamer-net.pc.in:
8545         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8546         * pkgconfig/Makefile.am: Add net pkgconfig files.
8547
8548 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8549
8550         * gst/gstcaps.c:
8551         * gst/gstghostpad.c:
8552         * gst/gsttrace.c:
8553         * gst/gstvalue.c:
8554         * gst/gstvalue.h:
8555           docs fixes
8556
8557 2005-11-18  Andy Wingo  <wingo@pobox.com>
8558
8559         * gst/net/gstnetclientclock.c: Turn off debugging.
8560
8561         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8562         times connverge somewhat. Can't make a real test.
8563
8564         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8565         integer arithmetic. Return the minimum of the domain, which can be
8566         set as "internal" for gst_clock_set_calibration.
8567         (gst_net_client_clock_observe_times): Call _set_calibration.
8568         (gst_net_client_clock_new): Call _set_calibration instead of
8569         rate_offset.
8570
8571         * check/net/gstnetclientclock.c (test_functioning): Use the right
8572         adjustment api.
8573
8574         * gst/gstclock.h:
8575         * gst/gstclock.c (gst_clock_get_calibration) 
8576         (gst_clock_set_calibration): New functions, obsolete the ones I
8577         added yesterday. Doh. Precision issues mean we have to extrapolate
8578         from a point in the more recent past than 1970.
8579         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8580         obsolete.
8581         (gst_clock_adjust_unlocked): Use the right calibration data.
8582
8583 2005-11-18  Edward Hervey  <edward@fluendo.com>
8584
8585         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8586         Also reset the ->current_* values in READY->PAUSED
8587
8588 2005-11-18  Andy Wingo  <wingo@pobox.com>
8589
8590         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8591         Whoops, check the right fd. Also add some debugging.
8592         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8593         (do_linear_regression): Add a crapload of debugging. Subtract off
8594         the minimum values from the input series to discard unneeded bits.
8595         Use only int arithmetic. There is still double arithmetic when
8596         calculating the intercept that needs fixing. Return boolean to
8597         indicate success; FALSE would mean the domain or range is too
8598         great. Still needs fixes.
8599
8600 2005-11-18  Wim Taymans  <wim@fluendo.com>
8601
8602         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8603         For the current position in stream time, we need to subtract
8604         accumulated time.
8605         
8606         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8607         Release lock before calling the callback function of async
8608         entries.
8609
8610 2005-11-18  Andy Wingo  <wingo@pobox.com>
8611
8612         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8613         Port goes all the way to MAXUINT16.
8614
8615         * gst/net/gstnettimeprovider.c: Make the port range the same as
8616         for the kernel: 0 assigns, otherwise ports are less than
8617         MAXUINT16.
8618
8619         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8620         port change.
8621
8622         * check/net/gstnetclientclock.c (test_functioning): Add the start
8623         of another test. 
8624
8625 2005-11-18  Wim Taymans  <wim@fluendo.com>
8626
8627         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8628         (gst_bin_remove_func), (bin_bus_handler):
8629         * gst/gstbin.h:
8630         Removing a clock provider from a bin, triggers a clock lost message
8631         so that a new clock will be selected.
8632         Adding a clock to a bin triggers a clock provider message.
8633         Make sure we reselect a clock when we received a clock lost message.
8634         Keep a reference to the element that provided the clock.
8635
8636 2005-11-18  Andy Wingo  <wingo@pobox.com>
8637
8638         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8639         the clock initially so it produces values around the base time.
8640         (gst_net_client_clock_class_init): Typo fix.
8641         (gst_net_client_clock_thread): Add note on when the socket gets
8642         closed.
8643
8644 2005-11-17  Wim Taymans  <wim@fluendo.com>
8645
8646         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8647         Free remote and local time arrays.
8648
8649 2005-11-17  Wim Taymans  <wim@fluendo.com>
8650
8651         * gst/net/gstnetclientclock.c: (do_linear_regression),
8652         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8653         Fix compilation, uninitialized vars and a forgotten continue.
8654
8655 2005-11-17  Andy Wingo  <wingo@pobox.com>
8656
8657         * check/Makefile.am (check_PROGRAMS): 
8658         * check/net/gstnetclientclock.c: Add a most minimal test for the
8659         net client clock. More to come later.
8660
8661         * gst/net/gstnet.h: 
8662         * gst/net/Makefile.am: Add netclientclock.
8663
8664         * gst/net/gstnetclientclock.h:
8665         * gst/net/gstnetclientclock.c: New files, implement an untested
8666         GstClock that takes its time from a network time provider.
8667         Implements the algorithm in network-clock.scm.
8668
8669         * tests/network-clock.scm (*window-size*): Rename from
8670         *queue-length*.
8671         * tests/network-clock.scm (network-time): 
8672         * tests/network-clock-utils.scm (q-push): Update callers.
8673
8674 2005-11-17  Wim Taymans  <wim@fluendo.com>
8675
8676         * gst/gstbin.c: (gst_bin_provide_clock_func),
8677         (gst_bin_sort_iterator_new):
8678         And unref the child too..
8679
8680 2005-11-17  Wim Taymans  <wim@fluendo.com>
8681
8682         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8683         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8684         Refactor the sort iterator so it can be used while holding the
8685         LOCK too.
8686         Make clock selection select a clock closest to the source.
8687
8688 2005-11-17  Michael Smith <msmith@fluendo.com>
8689
8690         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8691         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8692         * gst/gstclock.h:
8693           Anonymous structs are a gcc (and some other compilers) extension, so
8694           don't use them. Since this is only for ABI-compatibility, and our
8695           API/ABI freeze is over in a few days, this whole thing will only
8696           last a few days, so don't bother trying to think up a meaningful
8697           name for the struct.
8698
8699 2005-11-17  Andy Wingo  <wingo@pobox.com>
8700
8701         * gst/gstclock.h (GstClock): Add rate and offset properties,
8702         preserving ABI stability. Add rate/offset accessors. Will file bug
8703         for the freeze break.
8704
8705         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8706         and offset, trying to keep precision and avoiding
8707         underflow/overflow.
8708         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8709         functions. Make gst_clock_set_time_adjust obsolete.
8710         (gst_clock_set_time_adjust): Note that this function is obsolete.
8711         Will file bug soon.
8712
8713         * gst/base/gstbasetransform.h: Make the ABI-stability hack
8714         greppable by using GST_PADDING-1+1.
8715
8716 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
8717
8718         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8719
8720         * gst/gstmessage.c: (gst_message_parse_clock_lost):
8721           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8722
8723         * gst/gstpadtemplate.h:
8724         * gst/gstpluginfeature.h:
8725           Don't use c++ style comments in headers (#321638).
8726
8727 2005-11-16  Andy Wingo  <wingo@pobox.com>
8728
8729         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8730         buffer.
8731
8732         * check/net/gstnettimeprovider.c: Check to see that the time
8733         provider actually provides times. Works, yo!
8734
8735 2005-11-16  Wim Taymans  <wim@fluendo.com>
8736
8737         * check/Makefile.am:
8738         Enable more tests.
8739
8740         * check/elements/fakesrc.c: (GST_START_TEST):
8741         Set element to NULL before disposing it.
8742
8743 2005-11-16  Andy Wingo  <wingo@pobox.com>
8744
8745         * gst/net/Makefile.am:
8746         * gst/net/gstnet.h:
8747         * gst/net/gstnettimeprovider.c: 
8748         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8749         provider, include it from gstnet.h, and add it to the build.
8750
8751         * gst/net/gstnettimepacket.h: 
8752         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8753         sending and receiving.
8754
8755 2005-11-16  Wim Taymans  <wim@fluendo.com>
8756
8757         * check/Makefile.am:
8758         Enable valgrind check.
8759
8760         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8761         (gst_fake_src_alloc_buffer):
8762         Fix memleak.
8763
8764 2005-11-16  Wim Taymans  <wim@fluendo.com>
8765
8766         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8767         Call parent finalize too.
8768
8769 2005-11-16  Wim Taymans  <wim@fluendo.com>
8770
8771         * check/Makefile.am:
8772         Enable valgrind check that should work fine now.
8773
8774         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8775         * gst/gstqueue.c: (gst_queue_init):
8776         Fix memleaks in pad allocation.
8777
8778 2005-11-16  Andy Wingo  <wingo@pobox.com>
8779
8780         * gst/net/Makefile.am:
8781         * gst/net/gstnet.h: New part of core to hold network elements and
8782         objects. Put in core because it exposes API that applications want
8783         to use. The library is named libgstnet-tempname right now because
8784         of the existing libgstnet in gst-plugins-base. Solution is
8785         probably to rename the one in plugins-base; will file a bug for
8786         the freeze break.
8787
8788         * gst/net/gstnettimeprovider.c: 
8789         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8790         get_time call over the network.
8791
8792         * configure.ac: 
8793         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8794
8795         * check/Makefile.am:
8796         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8797         get additions shortly.
8798
8799 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8800
8801         * gst/gstpad.c: (gst_pad_new_from_static_template):
8802         * gst/gstpad.h:
8803           add gst_pad_new_from_static_template functions
8804         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8805         (gst_check_setup_sink_pad):
8806         * gst/elements/gsttee.c: (gst_tee_init):
8807           and use them
8808
8809 2005-11-16  Wim Taymans  <wim@fluendo.com>
8810
8811         * gst/gstpad.c: (gst_pad_pause_task):
8812         Removed warning, it's not really an error either.
8813
8814 2005-11-16  Wim Taymans  <wim@fluendo.com>
8815
8816         * gst/base/gstbasetransform.c:
8817         (gst_base_transform_prepare_output_buf),
8818         (gst_base_transform_event):
8819         Check if the caps are NULL, this can happen if the element
8820         is shutting down and the pad caps are set to NULL.
8821
8822 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8823
8824         * gst/elements/gsttee.c: (gst_tee_init):
8825           fix pad template leak in tee
8826
8827 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8828
8829         * gst/glib-compat.c: (g_value_dup_gst_object):
8830         * gst/glib-compat.h:
8831         * gst/gstpad.c: (gst_pad_set_property):
8832           use gst_object_ref when setting the pad template; this will
8833           trigger the pad template leaks on GLib 2.6 and the slaves
8834
8835 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8836
8837         * gst/glib-compat.c: (gst_flags_get_first_value):
8838         * gst/glib-compat.h:
8839         * gst/gstregistryxml.c:
8840           remove functions copied from GLib 2.6
8841
8842 2005-11-16  Michael Smith <msmith@fluendo.com>
8843
8844         * gst/Makefile.am:
8845           Don't link against VALGRIND_LIBS. That was always the wrong thing to
8846           do, but only breaks with newer valgrind versions. We're not a
8847           valgrind tool, we have no link-time dependencies on libcoregrind.
8848
8849 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8850
8851         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8852           some debug changes
8853         * gst/gstmessage.h:
8854           typo fixes
8855
8856 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8857
8858         * gst/base/gstbasesrc.c: (gst_base_src_init):
8859         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8860         * gst/gstqueue.c: (gst_queue_init):
8861         * gst/gstregistryxml.c: (load_feature):
8862           Revert all these unrefs, they don't even pass make check !
8863
8864 2005-11-15  Johan Dahlin  <johan@gnome.org>
8865
8866         * gst/base/gstbasesrc.c: (gst_base_src_init):
8867         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8868         * gst/gstqueue.c: (gst_queue_init): 
8869         Free pad templates, fixes a couple of leaks.
8870
8871 2005-11-15  Daniel Fischer  <dan at f3c dot com>
8872
8873         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8874
8875         * gst/gstpad.c: (gst_pad_get_property):
8876           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8877           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8878           (#321452)
8879
8880 2005-11-15  Wim Taymans  <wim@fluendo.com>
8881
8882         * gst/gstevent.c:
8883         Small doc update.
8884
8885 2005-11-15  Andy Wingo  <wingo@pobox.com>
8886
8887         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8888
8889         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8890         using GST_CLOCK_TIME_NONE to disable base time management.
8891         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8892         time if it was NONE before.
8893         (gst_pipeline_change_state): Only munge the base time if
8894         stream_time != GST_CLOCK_TIME_NONE.
8895
8896         * check/gst/gstpipeline.c (test_base_time): Punt around the
8897         problem of the probe not being called, because that's not the
8898         issue I'm looking at. Add a check that setting stream_time to NONE
8899         disables base time management.
8900         
8901 2005-11-15  Wim Taymans  <wim@fluendo.com>
8902
8903         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8904         segment_stop == -1 at startup.
8905
8906         * gst/base/gstbasetransform.c: (gst_base_transform_event),
8907         (gst_base_transform_change_state):
8908         Init segment values at start.
8909
8910 2005-11-15  Wim Taymans  <wim@fluendo.com>
8911
8912         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8913         0 segment values are 0 in any format.
8914
8915         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8916         * gst/base/gstbasetransform.h:
8917         Parse newsegment correctly in basetransform
8918
8919         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8920         Sync to clock using updated segment values.
8921
8922 2005-11-15  Andy Wingo  <wingo@pobox.com>
8923
8924         * check/gst/gstpipeline.c (test_base_time): Add check that the
8925         base time and stream time are reset correctly.
8926
8927 2005-11-15  Wim Taymans  <wim@fluendo.com>
8928
8929         * docs/design/part-TODO.txt:
8930         Some more TODO items.
8931
8932 2005-11-15  Andy Wingo  <wingo@pobox.com>
8933
8934         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8935         error if the user selected "no clock" as the clocking method.
8936
8937         * check/gst/gstpipeline.c (test_base_time): New test for buffer
8938         timestamps with live capture.
8939
8940         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8941         is 0 but we are a live source, timestamp the buffers using the
8942         element's clock.
8943
8944 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
8945
8946         * docs/gst/gstreamer-sections.txt:
8947         * gst/gsterror.c:
8948         * gst/gstghostpad.c:
8949         * gst/gstobject.h:
8950         * gst/gstxml.c:
8951           more section docs
8952
8953 2005-11-14  Wim Taymans  <wim@fluendo.com>
8954
8955         * common/gst.supp:
8956           add suppressions from Wim's Debian machine
8957
8958 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8959
8960         * common/gst.supp:
8961           add suppressions from Andy's AMD64 Ubuntu machine
8962
8963 2005-11-14  Andy Wingo  <wingo@pobox.com>
8964
8965         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8966         STATE_LOCK not necessary. Fixes #311489.
8967
8968         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8969         #305291.
8970
8971         * gst/gstindex.c (gst_index_add_object): Note in the docs that
8972         this function is not implemented.
8973
8974 2005-11-14  Julien MOUTTE  <julien@moutte.net>
8975
8976         * gst/base/gstbasetransform.c:
8977         (gst_base_transform_prepare_output_buf):
8978         Ref the source pad caps while we need them.
8979         Fixes (#321386)
8980
8981 2005-11-11  Wim Taymans  <wim@fluendo.com>
8982
8983         * docs/gst/gstreamer-sections.txt:
8984         Added some docs for GstCollectData.
8985
8986         * gst/base/gstadapter.c:
8987         Some small code example fix.
8988
8989         * gst/base/gstcollectpads.c:
8990         * gst/base/gstcollectpads.h:
8991         Document some more.
8992
8993 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8994
8995         * configure.ac: back to HEAD
8996
8997 === release 0.9.5 ===
8998
8999 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9000
9001         * configure.ac:
9002           releasing 0.9.5, "Bike Lunch Day"
9003
9004 2005-11-11  Wim Taymans  <wim@fluendo.com>
9005
9006         * gst/gstbuffer.c: (_gst_buffer_copy):
9007         Copy more flags.
9008
9009         * gst/gstcaps.c: (gst_caps_is_equal):
9010         Fix some docs.
9011         Make _is_equal fast in the trivial cases.
9012
9013         * gst/gstminiobject.c:
9014         * gst/gstminiobject.h:
9015         More docs. Spifify .h file.
9016
9017         * gst/gstutils.c:
9018         Small doc update.
9019
9020 2005-11-11  Wim Taymans  <wim@fluendo.com>
9021
9022         * gst/base/gstbasetransform.c:
9023         (gst_base_transform_prepare_output_buf),
9024         (gst_base_transform_handle_buffer):
9025         Small cleanups.
9026         If we're processing a buffer and need to allocate an output
9027         buffer, we cannot accept a format change. If we did get a 
9028         format change, we have to alloc a buffer ourselves of the 
9029         right size.
9030
9031 2005-11-11  Wim Taymans  <wim@fluendo.com>
9032
9033         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9034         While checking the flag for reentrancy in the gstcaps function
9035         is nice to detect recursive invocations, it also makes it 
9036         impossible to call getcaps from multiple threads, which must be
9037         possible. So, checking for recursive calls has to go.
9038
9039 2005-11-11  Michael Smith <msmith@fluendo.com>
9040
9041         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9042           Don't sync on buffers that fall partially outside our current
9043           segment. Prevents an assertion failure/abort playing some files.
9044
9045 2005-11-10  Andy Wingo  <wingo@pobox.com>
9046
9047         * check/gst/gstbin.c (test_message_state_changed_children): Style
9048         fix..
9049
9050         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9051         gst_bus_poll with the signal watch. Ensures that poll and a signal
9052         watch see the same messages.
9053
9054         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9055         a poll and a watch at the same time get the same messages.
9056
9057 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9058
9059         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9060         * gst/gstcaps.c: (gst_caps_intersect):
9061           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9062           and it's not needed.
9063
9064 2005-11-10  Wim Taymans  <wim@fluendo.com>
9065
9066         * docs/design/part-TODO.txt:
9067         Updated todo.
9068
9069 2005-11-10  Wim Taymans  <wim@fluendo.com>
9070
9071         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9072         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9073         (gst_base_src_do_sync), (gst_base_src_get_range):
9074         Implement clock sync in base class.
9075
9076 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9077
9078         patch by: Tim-Philipp Müller <tim at centricular dot net>
9079
9080         * gst/gststructure.c: (gst_structure_parse_field),
9081         (gst_structure_from_string):
9082           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9083           so that gst_parse_launch() can deal with spaces in filtered link
9084           caps (fixes #164479)
9085         * check/gst/capslist.h:
9086         * check/gst/gststructure.c: (GST_START_TEST):
9087           add unit tests for this change
9088
9089 2005-11-10  Wim Taymans  <wim@fluendo.com>
9090
9091         * docs/gst/gstreamer-sections.txt:
9092         * gst/gstelement.c:
9093         * gst/gstelement.h:
9094         Fix docs, move some STATE macros to private.
9095
9096 2005-11-10  Wim Taymans  <wim@fluendo.com>
9097
9098         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9099         Added check for bug #317341
9100
9101         * gst/gstbuffer.c:
9102         * gst/gstbuffer.h:
9103         Some more spiffifying.
9104
9105         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9106         Call peer linkfunction if we are a source pad. Totally fixes
9107         #317341
9108
9109         * gst/gstpad.c:
9110         Update docs, source pads should call the peer linkfunction
9111         so they can atomically perform the pad link.
9112
9113 2005-11-09  Wim Taymans  <wim@fluendo.com>
9114
9115         * gst/gstbuffer.c:
9116         * gst/gstbuffer.h:
9117         Uber-spiffy-spiffify some more.
9118
9119 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9120
9121         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9122         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9123         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9124         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9125         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9126         * gst/gstpad.c: (gst_pad_init):
9127           Use GST_DEBUG_FUNCPTR() more extensively.
9128
9129 2005-11-09  Wim Taymans  <wim@fluendo.com>
9130
9131         * gst/gstobject.c: (gst_object_class_init):
9132         * gst/gstobject.h:
9133         Documentation fixes.
9134
9135 2005-11-09  Edward Hervey  <edward@fluendo.com>
9136
9137         * gst/gsttypefindfactory.c:
9138         Fix docs.
9139         
9140 2005-11-09  Edward Hervey  <edward@fluendo.com>
9141
9142         * gst/base/gsttypefindhelper.c:
9143         * gst/gsttypefind.c:
9144         * gst/gsttypefind.h:
9145         Fix docs.
9146
9147 2005-11-09  Wim Taymans  <wim@fluendo.com>
9148
9149         * gst/gstiterator.c:
9150         Fix revision data.
9151
9152         * gst/gsttask.c:
9153         * gst/gsttask.h:
9154         Fix docs.
9155
9156 2005-11-09  Wim Taymans  <wim@fluendo.com>
9157
9158         * gst/gstevent.h:
9159         * gst/gsturi.h:
9160         Fix docs.
9161
9162 2005-11-09  Wim Taymans  <wim@fluendo.com>
9163
9164         * docs/gst/gstreamer-sections.txt:
9165         Moved the message async delivery private lock and cond
9166         to the private section.
9167
9168         * gst/gstmessage.c:
9169         * gst/gstmessage.h:
9170         Fixed docs.
9171
9172 2005-11-09  Edward Hervey  <edward@fluendo.com>
9173
9174         * docs/gst/gstreamer-sections.txt:
9175         * gst/gsturi.c:
9176         * gst/gsturi.h:
9177         Document GstURIHandler
9178
9179 2005-11-09  Wim Taymans  <wim@fluendo.com>
9180
9181         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9182         (gst_iterator_find_custom):
9183         * gst/gstiterator.h:
9184         Fix iterator docs.
9185
9186 2005-11-09  Wim Taymans  <wim@fluendo.com>
9187
9188         * gst/gstbin.h:
9189         Document another field.
9190
9191         * gst/gststructure.c:
9192         * gst/gststructure.h:
9193         Document.
9194
9195 2005-11-09  Wim Taymans  <wim@fluendo.com>
9196
9197         * gst/gstbin.h:
9198         Documented structs.
9199
9200 2005-11-09  Wim Taymans  <wim@fluendo.com>
9201
9202         * docs/gst/gstreamer-sections.txt:
9203         Added some new macros.
9204
9205         * gst/gstclock.c:
9206         * gst/gstclock.h:
9207         * gst/gstobject.h:
9208         Docs updates.
9209
9210 2005-11-09  Wim Taymans  <wim@fluendo.com>
9211
9212         * docs/design/part-TODO.txt:
9213         Some more items for the TODO
9214
9215         * gst/gstcaps.c:
9216         * gst/gstcaps.h:
9217         Document GstCaps.
9218
9219 2005-11-09  Andy Wingo  <wingo@pobox.com>
9220
9221         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9222         to work on something else now tho...
9223
9224         * gst/base/gstadapter.c: More adapter docs.
9225
9226         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9227         (gst_file_sink_stop): New functions, replace the state change
9228         handler.
9229         (gst_file_sink_class_init): Hook up the start and stop functions.
9230         (gst_file_sink_base_init): Don't set the state change handler any
9231         more. It was a bit ugly too, being set from here...
9232         (gst_file_sink_get_property, gst_file_sink_set_property):
9233         Cleanups...
9234         (gst_file_sink_set_location): More robust check that doesn't call
9235         GST_STATE. Ugggggg.
9236
9237 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9238
9239         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9240           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9241
9242 2005-11-08  Wim Taymans  <wim@fluendo.com>
9243
9244         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9245         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9246         (gst_base_sink_chain), (gst_base_sink_change_state):
9247         * gst/base/gstbasesink.h:
9248         * gst/base/gstbasesrc.h:
9249         * gst/gstelement.h:
9250         * gst/gstevent.h:
9251         Avoid excessive typechecking in macros.
9252
9253         * gst/gstminiobject.c: (gst_mini_object_get_type),
9254         (gst_mini_object_init), (gst_mini_object_new),
9255         (gst_mini_object_free):
9256         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9257         (gst_object_finalize):
9258         Remove cruft code, optimize alloc_trace.
9259
9260 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9261
9262         * docs/faq/gst-uninstalled:
9263           fix up PS1 for systems that try to reset it
9264
9265 2005-11-07  Wim Taymans  <wim@fluendo.com>
9266
9267         * gst/base/gstbasesrc.c: (gst_base_src_init),
9268         (gst_base_src_get_range):
9269         Set the segment_end to -1 initially. Fixed typefind.
9270
9271 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9272
9273         * gst/base/gstadapter.c:
9274           Debug category should be 'adapter', not 'GstAdapter'.
9275           
9276         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9277         (gst_collectpads_class_init), (gst_collectpads_init),
9278         (gst_collectpads_peek), (gst_collectpads_pop),
9279         (gst_collectpads_event), (gst_collectpads_chain):
9280           Add debug category and some debugging output. Use boilerplate
9281           macros. Remove some extraneous words from docs.
9282
9283 2005-11-05  Andy Wingo  <wingo@pobox.com>
9284
9285         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9286         macro.
9287
9288 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9289
9290         * docs/gst/gstreamer-sections.txt:
9291         * gst/gstcaps.h:
9292         * gst/gstinfo.c:
9293         * gst/gstminiobject.h:
9294         * gst/gstobject.h:
9295         * gst/gstutils.h:
9296           more docs added
9297
9298 2005-11-04  Wim Taymans  <wim@fluendo.com>
9299
9300         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9301         Small update to stop at the configured segment_end
9302         position.
9303
9304 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9305
9306         * gst/gstregistry.c:
9307         * gst/gstregistry.h:
9308           added missing docs
9309
9310 2005-11-04  Edward Hervey  <edward@fluendo.com>
9311
9312         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9313         Check if we are doing a segment seek and have arrived at the
9314         end of that segment.
9315
9316 2005-11-04  Wim Taymans  <wim@fluendo.com>
9317
9318         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9319         Don't leak a mutex unlock in case of an error.
9320
9321         * gst/gstbus.h:
9322         Doc fixes.
9323
9324 2005-11-04  Wim Taymans  <wim@fluendo.com>
9325
9326         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9327         (gst_bus_post):
9328         Get the context to wake up only once.
9329
9330 2005-11-03  Wim Taymans  <wim@fluendo.com>
9331
9332         * check/states/sinks.c: (GST_START_TEST):
9333         Uncomment fixed check.
9334
9335         * docs/design/part-TODO.txt:
9336         Updated TODO.
9337
9338         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9339         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9340         (gst_base_sink_get_position):
9341         If we are going to PLAYING, post the right pending state
9342         when we post the intermediate paused message.
9343
9344         * gst/gstelement.c: (gst_element_continue_state),
9345         (gst_element_set_state_func), (gst_element_change_state):
9346         Don't post state changes that were between the same state
9347         and were not ASYNC.
9348
9349 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9350
9351         * docs/gst/gstreamer-sections.txt:
9352         * gst/gstcaps.h:
9353         * gst/gstinfo.c:
9354         * gst/gstminiobject.h:
9355         * gst/gstobject.h:
9356         * gst/gstutils.h:
9357           more docs and doc style fixes
9358
9359 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9360
9361         * docs/gst/gstreamer-sections.txt:
9362         * gst/gstelement.c:
9363         * gst/gstminiobject.c:
9364         doc fixes
9365
9366 2005-11-03  Andy Wingo  <wingo@pobox.com>
9367
9368         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9369         state-changed messages actually have the right order and the right
9370         values.
9371
9372 2005-11-03  Wim Taymans  <wim@fluendo.com>
9373
9374         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9375         Added some more checks. Specifically the case where NO_PREROLL
9376         elements are in the pipeline.
9377
9378         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9379         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9380         (gst_base_sink_get_position):
9381         Post READY->PAUSED state change messages too.
9382         Fix bug where VOID was posted as pending state...
9383
9384         * gst/gstbin.c: (gst_bin_recalc_state):
9385         use _element_continue_state() to continue the state change.
9386
9387         * gst/gstelement.c: (gst_element_continue_state),
9388         (gst_element_commit_state), (gst_element_set_state_func),
9389         (gst_element_change_state), (gst_element_change_state_func):
9390         Lots of state change cleanups, assign the STATE_RETURN in
9391         a new continue_state() function that also propagates the
9392         last return value from a state change to the app.
9393         Update some debug statements with proper category.
9394
9395 2005-11-03  Wim Taymans  <wim@fluendo.com>
9396
9397         * docs/design/part-events.txt:
9398         * docs/design/part-gstpipeline.txt:
9399         * docs/design/part-messages.txt:
9400         * docs/design/part-overview.txt:
9401         * docs/design/part-seeking.txt:
9402         * docs/design/part-states.txt:
9403         * docs/design/part-trickmodes.txt:
9404         * docs/manual/advanced-position.xml:
9405         Small docs updates.
9406
9407         * gst/gstobject.h:
9408         People think !! is ugly, this looks better.
9409
9410         * gst/gstpad.c: (gst_pad_set_blocked_async):
9411         Remove !! since it's fixed elsewhere now.
9412
9413 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9414
9415         * gst/gstminiobject.h:
9416         * gst/gstobject.h:
9417           Add !! to _FLAG_IS_SET macros to make the result boolean.
9418
9419 2005-11-03  Edward Hervey  <edward@fluendo.com>
9420
9421         * gst/gstpad.c: (gst_pad_set_blocked_async):
9422         comparing a flag and a gboolean rarely returns coherent results...
9423         Added two characters (!!) to make that work correctly.
9424         
9425 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9426
9427         * gst/gstbus.c: (gst_bus_class_init):
9428           Fix some typos.
9429           
9430         * gst/gstqueue.c: (gst_queue_loop):
9431           Don't assume a miniobject that isn't a buffer is an
9432           event (it could be that there is a refcounting
9433           problem somewhere and the pointer is stale and
9434           refers to an already destroyed miniobject).
9435
9436 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9437
9438         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9439
9440 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9441
9442         * docs/manual/advanced-position.xml:
9443           Update seek example and explanations to current 0.9 API.
9444
9445         * gst/elements/gsttypefindelement.c:
9446         (gst_type_find_element_activate):
9447           Remove FIXME comment now that the found caps
9448           are unreffed.
9449
9450 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9451
9452         * gst/gstregistryxml.c: (load_feature):
9453           Add another GST_STR_NULL instance
9454
9455 2005-11-02  Edward Hervey  <edward@fluendo.com>
9456
9457         * gst/gstpad.c: (handle_pad_block):
9458         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9459         
9460 2005-11-02  Wim Taymans  <wim@fluendo.com>
9461
9462         * gst/gstbin.c:
9463         Fix typo in docs.
9464
9465         * gst/gstelement.c: (gst_element_commit_state):
9466         Remove unused value.
9467
9468         * gst/gstiterator.c:
9469         Mention that the returned element is reffed in the docs.
9470
9471 2005-11-02  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9474         (gst_pad_push), (gst_pad_push_event):
9475         Unlock blocked pads when they are flushed.
9476
9477 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9478
9479         * docs/README:
9480         * docs/gst/gstreamer-sections.txt:
9481         * gst/gstbin.c:
9482           doc updates
9483         * gst/gstregistry.c: (gst_registry_scan_path_level):
9484           fix for a nasty little missed situation where an installed plug-in
9485           which was in the cache did not get overridden by an uninstalled one
9486           which was earlier in the plugin path because the newly created plugin
9487           for the uninstalled one (not in the registry) didn't get its
9488           ->registered set to TRUE
9489
9490 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9491
9492         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9493         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9494         (gst_collectpads_is_active), (gst_collectpads_collect),
9495         (gst_collectpads_collect_range), (gst_collectpads_start),
9496         (gst_collectpads_stop), (gst_collectpads_peek),
9497         (gst_collectpads_pop), (gst_collectpads_available),
9498         (gst_collectpads_read), (gst_collectpads_flush):
9499           Guard public API with assertions.
9500         
9501         * gst/gstpad.c:
9502           Fix docs for gst_pad_set_link_function().
9503
9504 2005-11-02  Johan Dahlin  <johan@gnome.org>
9505
9506         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9507         Unref found_caps after we used it.
9508
9509 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9510
9511         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9512           Don't try to ref NULL.
9513
9514 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9515
9516         * win32/common/config.h.in:
9517           provide a GST_FUNCTION that just gives a string for now
9518
9519 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9522         (gst_object_flags_get_type), (register_gst_bin_flags),
9523         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9524         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9525         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9526         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9527         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9528         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9529         (gst_clock_flags_get_type), (register_gst_state),
9530         (gst_state_get_type), (register_gst_state_change_return),
9531         (gst_state_change_return_get_type), (register_gst_state_change),
9532         (gst_state_change_get_type), (register_gst_element_flags),
9533         (gst_element_flags_get_type), (register_gst_core_error),
9534         (gst_core_error_get_type), (register_gst_library_error),
9535         (gst_library_error_get_type), (register_gst_resource_error),
9536         (gst_resource_error_get_type), (register_gst_stream_error),
9537         (gst_stream_error_get_type), (register_gst_event_type),
9538         (gst_event_type_get_type), (register_gst_seek_type),
9539         (gst_seek_type_get_type), (register_gst_seek_flags),
9540         (gst_seek_flags_get_type), (register_gst_format),
9541         (gst_format_get_type), (register_gst_index_certainty),
9542         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9543         (gst_index_entry_type_get_type),
9544         (register_gst_index_lookup_method),
9545         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9546         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9547         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9548         (gst_index_flags_get_type), (register_gst_debug_level),
9549         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9550         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9551         (gst_iterator_result_get_type), (register_gst_iterator_item),
9552         (gst_iterator_item_get_type), (register_gst_message_type),
9553         (gst_message_type_get_type), (register_gst_mini_object_flags),
9554         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9555         (gst_pad_link_return_get_type), (register_gst_flow_return),
9556         (gst_flow_return_get_type), (register_gst_activate_mode),
9557         (gst_activate_mode_get_type), (register_gst_pad_direction),
9558         (gst_pad_direction_get_type), (register_gst_pad_flags),
9559         (gst_pad_flags_get_type), (register_gst_pad_presence),
9560         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9561         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9562         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9563         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9564         (gst_plugin_flags_get_type), (register_gst_rank),
9565         (gst_rank_get_type), (register_gst_query_type),
9566         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9567         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9568         (gst_tag_flag_get_type), (register_gst_task_state),
9569         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9570         (gst_alloc_trace_flags_get_type),
9571         (register_gst_type_find_probability),
9572         (gst_type_find_probability_get_type), (register_gst_uri_type),
9573         (gst_uri_type_get_type), (register_gst_parse_error),
9574         (gst_parse_error_get_type):
9575         * win32/common/gstversion.h:
9576           update win32 copies
9577
9578 2005-11-01  Luca Ognibene  <luogni@tin.it>
9579
9580         * gst/gst.c:
9581           fix docs. popt is dead, long live GOption.
9582
9583 2005-10-31  Wim Taymans  <wim@fluendo.com>
9584
9585         * gst/gstbuffer.h:
9586         Small doc fix.
9587
9588 2005-10-31  Andy Wingo  <wingo@pobox.com>
9589
9590         * Boo!
9591
9592         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9593
9594         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9595         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9596         the possibility of deadlocks here if code calling notify() or
9597         set() has a lock that can be taken in another notify handler (ABBA
9598         with class lock and e.g. python GIL state lock).
9599
9600 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9601
9602         * gst/gstbus.c: Doc updates.
9603
9604 2005-10-28  Wim Taymans  <wim@fluendo.com>
9605
9606         * docs/design/part-TODO.txt:
9607         * gst/gstiterator.c:
9608         * gst/gstsystemclock.c:
9609         * gst/gstsystemclock.h:
9610         Doc updates.
9611
9612 2005-10-28  Edward Hervey  <edward@fluendo.com>
9613
9614         * docs/gst/gstreamer-docs.sgml:
9615         * docs/gst/gstreamer-sections.txt:
9616         the GstURIType documentation page is private, it only defines GstURIType
9617         which should be defined in the GstURIHandler page
9618         
9619 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9620
9621         * gst/gstbin.c: (gst_bin_class_init):
9622         * gst/gstbin.h:
9623         * gst/gstutils.c:
9624         Documentation updates.
9625
9626 2005-10-28  Wim Taymans  <wim@fluendo.com>
9627
9628         * docs/gst/gstreamer-sections.txt:
9629         * gst/gstclock.c:
9630         * gst/gstclock.h:
9631         Documented the clocks.
9632
9633 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9634
9635         * docs/gst/gstreamer-sections.txt:
9636           move some macros to private sections
9637         * gst/gstminiobject.c:
9638         * gst/gstminiobject.h:
9639           add descriptions provided by ds and some more
9640         * gst/gstpad.h:
9641           mark macro as to be removed
9642
9643 2005-10-28  Wim Taymans  <wim@fluendo.com>
9644
9645         * docs/design/part-TODO.txt:
9646         Add an item to TODO.
9647
9648         * gst/gstiterator.c: (gst_iterator_fold),
9649         (gst_iterator_find_custom):
9650         * gst/gstiterator.h:
9651         Add iterator docs.
9652
9653 2005-10-28  Wim Taymans  <wim@fluendo.com>
9654
9655         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9656         (gst_base_transform_init):
9657         Don't leak class.
9658
9659         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9660         An EOS event marks the queue as completely filled.
9661
9662 2005-10-27  Wim Taymans  <wim@fluendo.com>
9663
9664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9665         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9666         Some more debugging.
9667
9668         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9669         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9670         (gst_base_transform_event), (gst_base_transform_getrange),
9671         (gst_base_transform_chain):
9672         * gst/base/gstbasetransform.h:
9673         Fix debugging,
9674         Protect transform and concurrent buffer alloc with a new lock.
9675         Try not to break ABI/API.
9676
9677 2005-10-27  Wim Taymans  <wim@fluendo.com>
9678
9679         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9680         (gst_base_src_init), (gst_base_src_query),
9681         (gst_base_src_default_newsegment),
9682         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9683         (gst_base_src_send_event), (gst_base_src_event_handler),
9684         (gst_base_src_pad_get_range), (gst_base_src_loop),
9685         (gst_base_src_unlock), (gst_base_src_default_negotiate),
9686         (gst_base_src_start), (gst_base_src_deactivate),
9687         (gst_base_src_activate_push), (gst_base_src_change_state):
9688         Move some stuff around and cleanup things.
9689
9690 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
9691
9692         * gst/base/gstbasesrc.c: (gst_base_src_query):
9693           Add missing break statements.
9694
9695 2005-10-27  Wim Taymans  <wim@fluendo.com>
9696
9697         * check/gst/gstbin.c: (GST_START_TEST):
9698         An extra refcount is taken in basesrc.
9699
9700         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9701         (gst_base_src_get_range), (gst_base_src_pad_get_range),
9702         (gst_base_src_loop):
9703         Small cleanups, check for flushing after being unlocked from the 
9704         LIVE_LOCK. take refcounts correctly (not yet everywhere).
9705         Don't send out EOS when going to READY.
9706
9707 2005-10-27  Wim Taymans  <wim@fluendo.com>
9708
9709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9710         (gst_base_sink_get_position):
9711         Some more debug.
9712
9713         * gst/gstbin.c: (message_check), (bin_replace_message),
9714         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9715         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9716         (bin_query_duration_init), (bin_query_duration_fold),
9717         (bin_query_duration_done), (bin_query_generic_fold),
9718         (gst_bin_query):
9719         * tools/gst-launch.c: (main):
9720         Remove old option.
9721
9722 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
9723
9724         * examples/controller/audio-example.c: (main):
9725         * examples/queue/queue.c: (event_loop):
9726         * gst/base/gstbasetransform.h:
9727         * gst/gstelement.c: (gst_element_send_event):
9728         * gst/gstevent.h:
9729         * gst/gstpad.c: (gst_pad_send_event):
9730           fixing examples
9731           fixing docs typos
9732           changing log priority in error situations
9733
9734 2005-10-25  Wim Taymans  <wim@fluendo.com>
9735
9736         * gst/gstbin.c: (message_check), (bin_replace_message),
9737         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9738         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9739         (bin_query_duration_init), (bin_query_duration_fold),
9740         (bin_query_duration_done), (bin_query_generic_fold),
9741         (gst_bin_query):
9742         Some doc and debug updates.
9743         Cache previously requested query DURATION for speed. invalidate
9744         cached duration if element posts a DURATION message.
9745
9746 2005-10-25  Wim Taymans  <wim@fluendo.com>
9747
9748         * docs/design/part-TODO.txt:
9749         Update TODO.
9750
9751         * gst/gstbin.c: (message_check), (bin_replace_message),
9752         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9753         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9754         (bin_query_duration_init), (bin_query_duration_fold),
9755         (bin_query_duration_done), (bin_query_generic_fold),
9756         (gst_bin_query):
9757         Handle SEGMENT_START/DONE messages correctly.
9758         More evolved query algorithm that handles duration queries
9759         correctly.
9760
9761         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9762         (gst_element_get_state_func), (gst_element_abort_state),
9763         (gst_element_commit_state), (gst_element_lost_state):
9764         Some more debugging.
9765
9766         * gst/gstmessage.h:
9767         Added doc.
9768
9769 2005-10-25  Wim Taymans  <wim@fluendo.com>
9770
9771         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9772         Don't use invalid stream_time.
9773
9774         * gst/gstevent.c: (gst_event_new_newsegment):
9775         stream_time in newsegment cannot be undefined.
9776
9777 2005-10-24  Wim Taymans  <wim@fluendo.com>
9778
9779         * gst/gstbus.c:
9780         Doc fix.
9781
9782         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9783         (gst_queue_loop):
9784         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9785
9786 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
9787
9788         * docs/libs/tmpl/gstdparam.sgml:
9789         * docs/libs/tmpl/gstdplinint.sgml:
9790         * docs/libs/tmpl/gstdpman.sgml:
9791         * docs/libs/tmpl/gstdpsmooth.sgml:
9792         * docs/libs/tmpl/gstunitconvert.sgml:
9793           these are obsolete
9794
9795 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9796
9797         * configure.ac:
9798           back to HEAD
9799
9800 === release 0.9.4 ===
9801
9802 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9803
9804         * configure.ac:
9805           releasing 0.9.4, "Tyrannosaurus Rex"
9806
9807 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
9808
9809         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9810         (gst_file_sink_get_current_offset):
9811           Use fseeko() and ftello() if available. When falling back on
9812           lseek() to get the current offset, fflush() first to make sure
9813           everything is up-to-date and we get the right offset.
9814
9815 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9816
9817         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9818         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9819         * gst/gsterror.c: (_gst_stream_errors_init):
9820         * gst/gsterror.h:
9821         * gst/gstqueue.c: (gst_queue_loop):
9822         * po/POTFILES.in:
9823           remove prematurely added error category and clean up the instances
9824
9825 2005-10-21  Wim Taymans  <wim@fluendo.com>
9826
9827         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9828         (gst_base_sink_get_position), (gst_base_sink_query),
9829         (gst_base_sink_change_state):
9830         Simply set the right flag when going to playing, that's all
9831         we need to do instead of calling a function inside the object
9832         lock (that could take the lock as well and deadlock)
9833
9834 2005-10-21  Wim Taymans  <wim@fluendo.com>
9835
9836         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9837         (gst_base_src_loop):
9838         Don't warn, the peer element knows what to do best when
9839         the seek failed, it might try something else.
9840
9841 2005-10-21  Wim Taymans  <wim@fluendo.com>
9842
9843         * gst/base/gstbasesrc.c: (gst_base_src_init),
9844         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9845         Fix seeking.
9846
9847 2005-10-21  Wim Taymans  <wim@fluendo.com>
9848
9849         * docs/design/part-segments.txt:
9850         More docs.
9851
9852         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9853         Correctly set caps, even on the subbufer.
9854
9855 2005-10-21  Wim Taymans  <wim@fluendo.com>
9856
9857         * docs/gst/gstreamer-docs.sgml:
9858         * docs/gst/gstreamer-sections.txt:
9859         * gst/gstelement.h:
9860         * gst/gstevent.c:
9861         * gst/gstevent.h:
9862         * gst/gstmessage.h:
9863         * gst/gstpad.h:
9864         * gst/gstparse.h:
9865         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9866         * gst/gsttask.h:
9867         * gst/gstutils.c:
9868         * gst/gstutils.h:
9869         And 2% more doc coverage.
9870
9871 2005-10-21  Andy Wingo  <wingo@pobox.com>
9872
9873         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9874         position reporting.
9875
9876 2005-10-20  Wim Taymans  <wim@fluendo.com>
9877
9878         * gst/gsterror.c: (gst_error_get_message):
9879         * gst/gstparse.h:
9880         * gst/gstquery.h:
9881         * gst/gststructure.c:
9882         * gst/gsttrace.c:
9883         * gst/gstutils.c:
9884         More docs.
9885
9886 2005-10-20  Wim Taymans  <wim@fluendo.com>
9887
9888         * gst/gstbuffer.h:
9889         * gst/gstpad.c:
9890         * gst/gstparse.c:
9891         Another 1% more coverage.
9892
9893 2005-10-20  Wim Taymans  <wim@fluendo.com>
9894
9895         * docs/gst/gstreamer-sections.txt:
9896         * gst/gstelement.c: (gst_element_get_state_func),
9897         (gst_element_abort_state), (gst_element_commit_state),
9898         (gst_element_lost_state):
9899         * gst/gstevent.h:
9900         * gst/gstquery.c: (gst_query_set_position),
9901         (gst_query_parse_position), (gst_query_set_duration),
9902         (gst_query_parse_duration), (gst_query_new_convert):
9903         * gst/gstutils.c:
9904         Yay! 1% more docs coverage.
9905
9906 2005-10-20  Wim Taymans  <wim@fluendo.com>
9907
9908         * gst/gstpad.h:
9909         * gst/gstquery.c: (gst_query_set_position),
9910         (gst_query_parse_position), (gst_query_set_duration),
9911         (gst_query_parse_duration), (gst_query_new_convert):
9912         * gst/gstquery.h:
9913         * gst/gstutils.c: (gst_element_query_convert):
9914         * gst/gstutils.h:
9915         Docs and consistency fixes.
9916
9917 2005-10-20  Wim Taymans  <wim@fluendo.com>
9918
9919         * gst/gsttask.c:
9920         * gst/gsttask.h:
9921         More docs.
9922
9923 2005-10-20  Wim Taymans  <wim@fluendo.com>
9924
9925         * gst/gstbin.c: (message_check), (bin_replace_message),
9926         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9927         (update_degree), (gst_bin_sort_iterator_next),
9928         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9929         Reworked the message handling a bit, cache the messages instead of
9930         only the senders. alows us to do more in the future.
9931
9932 2005-10-20  Wim Taymans  <wim@fluendo.com>
9933
9934         * docs/design/part-TODO.txt:
9935         Update TODO
9936
9937         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9938         (gst_base_sink_query):
9939         Don't use clock time to report position when in EOS.
9940
9941 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
9942
9943         * tools/gst-inspect.c: (print_interfaces),
9944         (print_element_properties_info), (print_element_info):
9945           Fix interface output with gst-inspect -a; don't print
9946           newlines after double/float properties.
9947
9948 2005-10-20  Wim Taymans  <wim@fluendo.com>
9949
9950         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9951         (gst_base_sink_query):
9952         Speed up current position calculation.
9953
9954         * gst/base/gstbasesrc.c: (gst_base_src_query),
9955         (gst_base_src_default_newsegment):
9956         Correctly set stream position in newsegment.
9957
9958         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9959         (update_degree), (gst_bin_sort_iterator_next),
9960         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9961         * gst/gstmessage.c: (gst_message_new_custom):
9962         Clean up debugging info
9963
9964         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9965         (gst_queue_loop), (gst_queue_handle_src_query):
9966         Pause task faster.
9967
9968 2005-10-19  Wim Taymans  <wim@fluendo.com>
9969
9970         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9971         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9972         Fix query handling again.
9973
9974 2005-10-19  Wim Taymans  <wim@fluendo.com>
9975
9976         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9977         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9978         * gst/base/gstbasesrc.c: (gst_base_src_query):
9979         * gst/elements/gstfilesink.c: (gst_file_sink_query):
9980         * gst/elements/gsttypefindelement.c:
9981         (gst_type_find_handle_src_query), (find_element_get_length),
9982         (gst_type_find_element_activate):
9983         API change fix.
9984
9985         * gst/gstquery.c: (gst_query_new_position),
9986         (gst_query_set_position), (gst_query_parse_position),
9987         (gst_query_new_duration), (gst_query_set_duration),
9988         (gst_query_parse_duration), (gst_query_set_segment),
9989         (gst_query_parse_segment):
9990         * gst/gstquery.h:
9991         Bundling query position/duration is not a good idea since duration
9992         does not change much and we don't want to recalculate it for every
9993         position query, so they are separated again..
9994         Base value in segment query is not needed.
9995
9996         * gst/gstqueue.c: (gst_queue_handle_src_query):
9997         * gst/gstutils.c: (gst_element_query_position),
9998         (gst_element_query_duration), (gst_pad_query_position),
9999         (gst_pad_query_duration):
10000         * gst/gstutils.h:
10001         Updates for query API change.
10002         Added some docs here and there.
10003
10004 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10005
10006         * check/gst/gstbin.c: (GST_START_TEST):
10007         * check/gst/gstghostpad.c: (GST_START_TEST):
10008         * check/pipelines/cleanup.c: (GST_START_TEST):
10009           wait on thread to die so we can check refcount correctly
10010
10011 2005-10-18  Wim Taymans  <wim@fluendo.com>
10012
10013         * check/pipelines/stress.c: (GST_START_TEST):
10014         Make check a little more time consuming.
10015
10016 2005-10-18  Wim Taymans  <wim@fluendo.com>
10017
10018         * check/Makefile.am:
10019         * check/pipelines/stress.c: (GST_START_TEST),
10020         (simple_launch_lines_suite), (main):
10021         Small state change torture test.
10022
10023         * docs/design/part-states.txt:
10024         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10025         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10026         (gst_base_sink_change_state):
10027         Never take state lock from streaming thread, clean up ugly
10028         hacks. Unfortunatly core does not yet support nice ways to
10029         async commit state.
10030         
10031         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10032         (bin_bus_handler):
10033         Start state recalc if a STATE_DIRTY message is posted, but only
10034         on the toplevel bin.
10035
10036         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10037         (gst_element_get_state_func), (gst_element_abort_state),
10038         (gst_element_commit_state), (gst_element_lost_state),
10039         (gst_element_set_state_func), (gst_element_change_state):
10040         * gst/gstelement.h:
10041         State variables are now protected with the LOCK, the state
10042         lock is only used to serialize _set_state().
10043
10044 2005-10-18  Wim Taymans  <wim@fluendo.com>
10045
10046         * check/gst/gstbin.c: (GST_START_TEST):
10047         * check/gst/gstmessage.c: (GST_START_TEST):
10048         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10049         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10050         (bin_bus_handler):
10051         * gst/gstelement.c: (gst_element_abort_state),
10052         (gst_element_commit_state), (gst_element_lost_state):
10053         * gst/gstmessage.c: (gst_message_new_state_changed),
10054         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10055         (gst_message_new_segment_done), (gst_message_new_duration),
10056         (gst_message_parse_state_changed),
10057         (gst_message_parse_segment_start),
10058         (gst_message_parse_segment_done), (gst_message_parse_duration):
10059         * gst/gstmessage.h:
10060         * tools/gst-launch.c: (event_loop):
10061         Seriously, this is better than a previous commit as we only need
10062         to notify the fact that an element changed state in a streaming
10063         thread, marking the state of the parents dirty, hence the 
10064         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10065         message.
10066
10067 2005-10-18  Wim Taymans  <wim@fluendo.com>
10068
10069         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10070         (gst_bin_recalc_func):
10071         * gst/gstelement.c: (gst_element_set_clock),
10072         (gst_element_abort_state), (gst_element_lost_state):
10073         Cleanups, prepare for state change fixes.
10074
10075 2005-10-18  Wim Taymans  <wim@fluendo.com>
10076
10077         * gst/gstbin.h:
10078         * gst/gstelement.c: (gst_element_class_init),
10079         (gst_element_set_state), (gst_element_set_state_func):
10080         * gst/gstelement.h:
10081         Pending ABI changes.
10082         GThreadPool in GstBinClass to monitor async state changes.
10083         state_cookie in GstElement to detect concurrent gst/set state.
10084         set_state is now virtual too in case a very complicated element
10085         has to be constructed.
10086
10087 2005-10-18  Wim Taymans  <wim@fluendo.com>
10088
10089         * check/gst/gstbin.c: (GST_START_TEST):
10090         * check/gst/gstmessage.c: (GST_START_TEST):
10091         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10092         * gst/gstbin.c: (bin_bus_handler):
10093         * gst/gstelement.c: (gst_element_commit_state),
10094         (gst_element_lost_state):
10095         * gst/gstmessage.c: (gst_message_new_state_changed),
10096         (gst_message_new_segment_start), (gst_message_new_segment_done),
10097         (gst_message_new_duration), (gst_message_parse_state_changed),
10098         (gst_message_parse_segment_start),
10099         (gst_message_parse_segment_done), (gst_message_parse_duration):
10100         * gst/gstmessage.h:
10101         * tools/gst-launch.c: (event_loop):
10102         Make messages future proof.
10103         state-change gets a flag if it was a message comming from the
10104         streaming thread.
10105         segment-start/stop can also be specified in other formats.
10106         A message to notify an app that a pipeline changed playback 
10107         duration.
10108         Also fix a GstMessage leak in -launch
10109
10110 2005-10-18  Andy Wingo  <wingo@pobox.com>
10111
10112         * gst/gstelement.c (gst_element_dispose): More helpful message.
10113
10114 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10115
10116         reviewed by: <delete if not using a buddy>
10117
10118         * common/gtk-doc.mak:
10119
10120 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10121
10122         * gst/gstregistry.c: (gst_registry_scan_path_level):
10123           unref a plug-in we get that was already initialized
10124
10125 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10126
10127         * docs/gst/gstreamer-sections.txt:
10128         * docs/libs/gstreamer-libs-sections.txt:
10129         * gst/gstelement.h:
10130           add new api entries
10131           hide internal macro
10132
10133 2005-10-17  Andy Wingo  <wingo@pobox.com>
10134
10135         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10136         cleanup.
10137
10138         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10139
10140         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10141
10142         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10143         (gst_element_get_state_func): Better debug message.
10144         (gst_element_commit_state): s/INFO/DEBUG/.
10145         (gst_element_lost_state, gst_element_change_state): 
10146
10147         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10148         (gst_message_new_custom): s/INFO/LOG/.
10149
10150 2005-10-17  Michael Smith <msmith@fluendo.com>
10151
10152         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10153           Check if end time is valid using end time, not start time.
10154
10155 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10156
10157         * check/gst-libs/controller.c: (GST_START_TEST),
10158         (gst_controller_suite):
10159         * libs/gst/controller/gstcontroller.c:
10160         (gst_controlled_property_set_interpolation_mode):
10161         * libs/gst/controller/gstcontroller.h:
10162         * libs/gst/controller/gstinterpolation.c:
10163         * testsuite/controller/.cvsignore:
10164         * testsuite/controller/Makefile.am:
10165         * testsuite/controller/interpolator.c:
10166           merge controller testsuites
10167           fix broken tests
10168           remove mem-chunk from docs
10169
10170 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10171
10172         * gst/gstmemchunk.c:
10173         * gst/gstmemchunk.h:
10174         * gst/gsttrashstack.c:
10175         * gst/gsttrashstack.h:
10176           out.  get out.  you're fired.  to the Attic !
10177
10178 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10179
10180         * gst/gstcaps.c: (gst_caps_intersect):
10181           fix signedness issues in a (hopefully) correct way
10182         * gst/gstelement.c: (gst_element_pads_activate):
10183           some debugging
10184         * gst/gstobject.c: (gst_object_set_parent):
10185           some debugging
10186
10187 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10188
10189         * gst/gstvalue.h: Fix prototypes.
10190
10191 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10192
10193         * docs/gst/gstreamer-sections.txt:
10194         * gst/gst.c: (gst_version_string):
10195         * gst/gst.h:
10196         * gst/gstversion.h.in:
10197         * win32/common/libgstreamer.def:
10198           add gst_version_string ()
10199
10200 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10201
10202         * configure.ac:
10203           clean up further
10204         * gst/gst.c: (init_post):
10205         * win32/common/config.h.in:
10206           it's PLUGINDIR now
10207         * gst/gstcaps.c: (gst_caps_intersect):
10208           use gint64, the range could be bigger than a guint
10209
10210 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10211
10212         * gst/gstclock.h:
10213           document potential problem in 2038
10214
10215 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10216
10217         * gst/gstcaps.c: (gst_caps_intersect):
10218           Fix guint j diving under 0
10219
10220 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10221
10222         * configure.ac:
10223         * win32/common/config.h:
10224         * win32/common/config.h.in:
10225           check for process.h, declares getpid() on Windows
10226         * gst/gstinfo.c:
10227           include process.h if we have it
10228         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10229         * gst/gstmemchunk.h:
10230           fix signedness issues
10231         * win32/common/libgstreamer.def:
10232           fix get_type's
10233
10234 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10235
10236         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10237         fix. Because of unsigned ints, caps intersection was going nuts and
10238         trying to access structures with G_MAXUINT index. That fixes
10239         videotestsrc ! ffmpegcolorspace ! fakesink
10240         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10241         consistency.
10242
10243 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10244
10245         * configure.ac:
10246           use the gettext macro
10247         * gst/elements/gstelements.c:
10248         * gst/gst.c:
10249         * gst/indexers/gstindexers.c:
10250           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10251         * win32/common/config.h:
10252           updated config.h
10253         * win32/common/config.h.in:
10254           add the template to generate config.h
10255         * win32/common/gstenumtypes.c:
10256         * win32/common/gstversion.h:
10257           updated copies
10258
10259 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10260
10261         * gst/gst.c: (gst_version):
10262         * gst/gstversion.h.in:
10263           add the nano
10264
10265 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10266
10267         * gst/gstevent.h:
10268           Oops, add missing closing bracket.
10269
10270 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10271
10272         * configure.ac:
10273           use common m4's for argument checking
10274
10275 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10276
10277         * docs/gst/gstreamer-sections.txt:
10278         * gst/gstevent.h:
10279           Add GST_EVENT_TYPE_NAME() macro.
10280
10281 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10282
10283         * gst/gstinfo.c:
10284         * gst/gstpluginfeature.c:
10285         * gst/gsttask.c:
10286           privatize more symbols
10287
10288 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10289
10290         * configure.ac:
10291           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10292           everything that uses GStreamer API should have the includes
10293
10294 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10295
10296         * docs/gst/gstreamer-sections.txt:
10297         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10298         * gst/gstvalue.h:
10299           give each value a _get_type, removes the DATA exports
10300
10301 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10302
10303         * gst/gst.c:
10304         * gst/gst.h:
10305           remove _gst_registry_auto_load, not used anymore
10306         * gst/gstbin.c: (gst_bin_get_type):
10307         * gst/gstbin.h:
10308         * gst/gstelement.c: (gst_element_get_type):
10309         * gst/gstelement.h:
10310         * gst/gstobject.c: (gst_object_get_type):
10311         * gst/gstobject.h:
10312         * gst/gstpad.c: (gst_pad_get_type):
10313         * gst/gstpad.h:
10314           make _get_type functions similar, fixes data export from library
10315
10316 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10317
10318         * configure.ac:
10319           correctly make conditionals
10320         * gst/elements/Makefile.am:
10321         * gst/elements/gstelements.c:
10322           fix typo causing fdsrc not to build
10323
10324 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10325
10326         * testsuite/Makefile.am:
10327         * testsuite/bytestream/.cvsignore:
10328         * testsuite/bytestream/Makefile.am:
10329         * testsuite/bytestream/filepadsink.c:
10330         * testsuite/bytestream/gstbstest.c:
10331         * testsuite/bytestream/test1.c:
10332         * testsuite/bytestream/testfile1:
10333         * testsuite/caps/normalisation.c:
10334         * testsuite/caps/random.c: (main):
10335         * testsuite/cleanup/.cvsignore:
10336         * testsuite/cleanup/Makefile.am:
10337         * testsuite/cleanup/cleanup1.c:
10338         * testsuite/cleanup/cleanup2.c:
10339         * testsuite/cleanup/cleanup3.c:
10340         * testsuite/cleanup/cleanup4.c:
10341         * testsuite/cleanup/cleanup5.c:
10342         * testsuite/controller/interpolator.c:
10343         * testsuite/debug/printf_extension.c: (main):
10344         * testsuite/elements/tee.c:
10345         * testsuite/negotiation/.cvsignore:
10346         * testsuite/negotiation/Makefile.am:
10347         * testsuite/negotiation/pad_link.c:
10348         * testsuite/pad/Makefile.am:
10349         * testsuite/pad/chainnopull.c:
10350         * testsuite/pad/getnopush.c:
10351         * testsuite/pad/link.c:
10352         * testsuite/refcounting/sched.c: (create_pipeline):
10353         * testsuite/registry/Makefile.am:
10354         * testsuite/registry/gst-print-formats.c:
10355         * testsuite/schedulers/.cvsignore:
10356         * testsuite/schedulers/142183-2.c:
10357         * testsuite/schedulers/142183.c:
10358         * testsuite/schedulers/143777-2.c:
10359         * testsuite/schedulers/143777.c:
10360         * testsuite/schedulers/147713.c:
10361         * testsuite/schedulers/147819.c:
10362         * testsuite/schedulers/147894-2.c:
10363         * testsuite/schedulers/147894.c:
10364         * testsuite/schedulers/Makefile.am:
10365         * testsuite/schedulers/group_link.c:
10366         * testsuite/schedulers/queue_link.c:
10367         * testsuite/schedulers/relink.c:
10368         * testsuite/schedulers/unlink.c:
10369         * testsuite/schedulers/unref.c:
10370         * testsuite/schedulers/useless_iteration.c:
10371         * testsuite/states/bin.c:
10372           clean out/remove some stuff from the testsuite directories
10373
10374 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10375
10376         * configure.ac:
10377           check for some headers
10378         * gst/elements/Makefile.am:
10379         * gst/elements/gstelements.c:
10380           don't compile fdsrc without sys/socket.h
10381         * gst/indexers/Makefile.am:
10382         * gst/indexers/gstindexers.c: (plugin_init):
10383           don't compile fileindex without mmap
10384
10385 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10386
10387         * configure.ac:
10388           reorganize
10389           clean up
10390           document more
10391           remove cruft
10392         * check/Makefile.am:
10393         * docs/gst/Makefile.am:
10394         * examples/helloworld/Makefile.am:
10395         * gst/Makefile.am:
10396         * gst/base/Makefile.am:
10397         * gst/check/Makefile.am:
10398         * gst/elements/Makefile.am:
10399         * gst/indexers/Makefile.am:
10400         * gst/parse/Makefile.am:
10401         * libs/gst/controller/Makefile.am:
10402         * libs/gst/dataprotocol/Makefile.am:
10403         * examples/helloworld/helloworld.c: (event_loop):
10404           compile fixes, though it's not being compiled currently
10405
10406 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10407
10408         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10409           Add some simple tests for the new taglist date API.
10410
10411 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10412
10413         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10414         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10415           Beautify 'last-message' output: print 'none' for buffer timestamps
10416           and durations if none is set; improve alignment with next messages.
10417
10418 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10419
10420         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10421         * gst/gstpluginfeature.h:
10422         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10423         * gst/gstregistry.h:
10424         * docs/gst/gstreamer-sections.txt:
10425           Add new API to check plugin feature version requirements.
10426
10427         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10428           Some basic tests for the above.         
10429
10430 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10431
10432         * gst/gststructure.c: (gst_structure_to_string):
10433           guard against NULL printf - happens when for example
10434           a message structure with GstClock gets serialized
10435
10436 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10437
10438         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10439           Fix presumable copy'n'pasto.
10440
10441 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10442
10443         * gst/elements/gstfakesrc.h:
10444         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10445         * gst/elements/gsttypefindelement.c:
10446           fix some signedness
10447         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10448           I wonder if this could actually write +2GB files before
10449
10450 2005-10-13  Andy Wingo  <wingo@pobox.com>
10451
10452         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10453         Fix Timmeke Waymans bug.
10454         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10455         string of the proper length to gst_caps_from_string. There's a
10456         potential for, before this fix, that this could cause someone
10457         connecting over the network to cause a segfault if the payload is
10458         not NUL-terminated.
10459
10460 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10461
10462         * docs/design/draft-push-pull.txt:
10463         * docs/design/part-overview.txt:
10464         * docs/random/TODO-pre-0.9:
10465         * docs/random/old/ChangeLog.gstreamer:
10466         * gst/base/gstpushsrc.c:
10467         * gst/gstclock.c:
10468           fixed typos
10469
10470 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10471
10472         * gst/glib-compat.c: (gst_flags_get_first_value):
10473         * gst/glib-compat.h:
10474         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10475         (gst_value_compare_double), (gst_value_serialize_flags):
10476           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10477           infinite loop
10478
10479 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10480
10481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10482         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10483           fix up debugging
10484         * tools/gst-launch.c: (event_loop):
10485           print out clock nicely
10486
10487 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10488
10489         * docs/gst/gstreamer-sections.txt:
10490         * gst/gsttaglist.h:
10491         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10492         (gst_tag_list_get_date_index):
10493           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10494           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10495
10496 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10497
10498         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10499         (gst_collectpads_chain):
10500         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10501         in CollectData.
10502
10503 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10504
10505         * docs/gst/gstreamer-sections.txt:
10506         * gst/gst.c:
10507         * gst/gsterror.h:
10508         * tools/gst-inspect.c: (main):
10509         * tools/gst-launch.c: (main):
10510         * tools/gst-run.c: (main):
10511         * tools/gst-xmlinspect.c: (main):
10512           fix GOption context leaks
10513           doc fixes
10514
10515 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10516
10517         * gst/gstbus.c:
10518           use HAVE_UNISTD_H
10519         * win32/common/config.h:
10520           update config
10521         * win32/vs6/grammar.dsp:
10522         * win32/vs6/libgstelements.dsp:
10523         * win32/vs6/libgstreamer.dsp:
10524           update vs6 files
10525
10526 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10527
10528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10529         * gst/base/gstbasesrc.c: (gst_base_src_query):
10530           fix more guint64<->gdouble conversions
10531
10532 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10533
10534         * Makefile.am:
10535           add win32-update target
10536         * win32/common/gstconfig.h:
10537         * win32/common/gstenumtypes.c:
10538         * win32/common/gstenumtypes.h:
10539         * win32/common/gstversion.h:
10540           add files that visual studio can't generate
10541
10542 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10543
10544         * Makefile.am:
10545           add a win32-update target
10546         * configure.ac:
10547
10548 2005-10-12  Wim Taymans  <wim@fluendo.com>
10549
10550         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10551         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10552         * gst/gstelement.c: (gst_element_commit_state),
10553         (gst_element_set_state):
10554         Protect flags with proper lock.
10555         unref provided cached clock in dispose.
10556
10557 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10558
10559         * gst/gst.c:
10560         * gst/gstminiobject.h:
10561         * gst/gstpad.h:
10562         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10563           removed unused flags from miniobject
10564           doc fixes
10565
10566 2005-10-12  Wim Taymans  <wim@fluendo.com>
10567
10568         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10569         (gst_file_sink_event), (gst_file_sink_render):
10570         Flush before seeking.
10571
10572 2005-10-12  Andy Wingo  <wingo@pobox.com>
10573
10574         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10575         always been the case.
10576
10577 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10578
10579         * check/gst/gstbin.c: (GST_START_TEST):
10580         * docs/gst/gstreamer-sections.txt:
10581         * gst/base/gstbasesink.c: (gst_base_sink_init):
10582         * gst/base/gstbasesrc.c: (gst_base_src_init),
10583         (gst_base_src_get_range), (gst_base_src_check_get_range),
10584         (gst_base_src_start), (gst_base_src_stop):
10585         * gst/base/gstbasesrc.h:
10586         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10587         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10588         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10589         (bin_bus_handler):
10590         * gst/gstbin.h:
10591         * gst/gstbuffer.h:
10592         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10593         * gst/gstbus.h:
10594         * gst/gstelement.c: (gst_element_is_locked_state),
10595         (gst_element_set_locked_state), (gst_element_commit_state),
10596         (gst_element_set_state):
10597         * gst/gstelement.h:
10598         * gst/gstindex.c: (gst_index_init):
10599         * gst/gstindex.h:
10600         * gst/gstminiobject.h:
10601         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10602         (gst_object_set_parent):
10603         * gst/gstobject.h:
10604         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10605         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10606         * gst/gstpad.h:
10607         * gst/gstpadtemplate.h:
10608         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10609         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10610         * gst/gstpipeline.h:
10611         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10612         (gst_file_index_commit):
10613         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10614         * testsuite/pad/link.c: (gst_test_src_init),
10615         (gst_test_filter_init), (gst_test_sink_init):
10616         * testsuite/states/locked.c: (main):
10617           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10618           moved bitshift from macro to enum definition
10619
10620 2005-10-12  Wim Taymans  <wim@fluendo.com>
10621
10622         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10623         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10624         (gst_file_sink_render):
10625         Some more debugging info.
10626
10627 2005-10-12  Wim Taymans  <wim@fluendo.com>
10628
10629         * docs/design/part-states.txt:
10630         * tools/gst-launch.c: (main):
10631         Some doc updates.
10632         Revert non-intentional change.
10633
10634 2005-10-12  Wim Taymans  <wim@fluendo.com>
10635
10636         * check/gst/gstbin.c: (GST_START_TEST):
10637         * check/gst/gstelement.c: (GST_START_TEST):
10638         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10639         * check/gst/gstghostpad.c: (GST_START_TEST):
10640         * check/gst/gstpipeline.c: (GST_START_TEST):
10641         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10642         * check/states/sinks.c: (GST_START_TEST):
10643         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10644         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10645         (gst_bin_remove_func), (gst_bin_get_state_func),
10646         (gst_bin_recalc_state), (gst_bin_change_state_func),
10647         (bin_bus_handler):
10648         * gst/gstelement.c: (gst_element_get_state_func),
10649         (gst_element_get_state), (gst_element_abort_state),
10650         (gst_element_commit_state), (gst_element_set_state),
10651         (gst_element_change_state), (gst_element_change_state_func):
10652         * gst/gstelement.h:
10653         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10654         (gst_pipeline_provide_clock_func):
10655         * gst/gstutils.c: (gst_element_link_pads_filtered):
10656         * tools/gst-launch.c: (main):
10657         * tools/gst-typefind.c: (main):
10658         Use GstClockTime in _get_state() instead of GTimeVal.
10659         Remove old code in gstutils.c
10660
10661 2005-10-12  Andy Wingo  <wingo@pobox.com>
10662
10663         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10664         removed.
10665
10666         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10667         there is no task. Shouldn't affect any code, as nothing in our
10668         plugins checks this return value.
10669         (gst_pad_stop_task): Also take the stream lock if the pad has no
10670         task. Docs updated.
10671
10672 2005-10-12  Wim Taymans  <wim@fluendo.com>
10673
10674         * gst/gstpad.c: (pre_activate), (post_activate),
10675         (gst_pad_activate_pull), (gst_pad_activate_push):
10676         Cleanup activation code. Reset old state if
10677         activation failed.
10678
10679 2005-10-12  Wim Taymans  <wim@fluendo.com>
10680
10681         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10682         (gst_base_sink_change_state):
10683         No need to prerol after receiving EOS.
10684
10685         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10686         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10687         * gst/elements/gstidentity.c: (gst_identity_event):
10688         Print events more verbosely.
10689
10690 2005-10-12  Wim Taymans  <wim@fluendo.com>
10691
10692         * check/Makefile.am:
10693         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10694         * check/states/sinks2.c:
10695         Moved sinks2 testcode in sinks check.
10696
10697         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10698         (gst_bin_remove_func), (gst_bin_recalc_state),
10699         (gst_bin_change_state_func), (bin_bus_handler):
10700         Fix potential race condition when _get_state() iterated over an
10701         ASYNC element right before it posted a state completion.
10702
10703         * gst/gstclock.h:
10704         Do proper cast here.
10705
10706         * gst/gstevent.c: (gst_event_new_newsegment),
10707         (gst_event_parse_newsegment):
10708         A playback rate of 0.0 is not allowed.
10709
10710 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10711
10712         * win32/common/config.h:
10713         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10714         (_trewinddir), (_ttelldir), (_tseekdir):
10715         * win32/common/dirent.h:
10716         * win32/common/gtchar.h:
10717         * win32/common/libgstbase.def:
10718         * win32/common/libgstreamer.def:
10719         * win32/vs6/grammar.dsp:
10720         * win32/vs6/gst_inspect.dsp:
10721         * win32/vs6/gst_launch.dsp:
10722         * win32/vs6/gstreamer.dsw:
10723         * win32/vs6/libgstbase.dsp:
10724         * win32/vs6/libgstelements.dsp:
10725         * win32/vs6/libgstreamer.dsp:
10726           Visual Studio 6 project files, and a new common directory.
10727           Phear.
10728
10729 2005-10-11  Wim Taymans  <wim@fluendo.com>
10730
10731         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10732         (gst_base_sink_do_sync), (gst_base_sink_query),
10733         (gst_base_sink_change_state):
10734         * gst/base/gstbasesink.h:
10735         Correctly parse newsegment info.
10736
10737 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10738
10739         * gst/gst.c: (init_post):
10740           split plugin paths correctly
10741
10742 2005-10-11  Wim Taymans  <wim@fluendo.com>
10743
10744         * check/gst/gstevent.c: (GST_START_TEST):
10745         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10746         (gst_base_sink_change_state):
10747         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10748         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10749         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10750         * gst/gstevent.c: (gst_event_new_newsegment),
10751         (gst_event_parse_newsegment):
10752         * gst/gstevent.h:
10753         Added extra flag to newsegment for future API freeze.
10754         Updated check and base elements.
10755
10756 2005-10-11  Julien MOUTTE  <julien@moutte.net>
10757
10758         * gst/base/gstcollectpads.c: (gst_collectpads_init),
10759         (gst_collectpads_add_pad), (gst_collectpads_pop),
10760         (gst_collectpads_event), (gst_collectpads_chain):
10761         * gst/base/gstcollectpads.h: Handle EOS correctly.
10762
10763 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10764
10765         * tools/gst-launch.c: (main):
10766           more null protecting
10767
10768 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * gst/gst-i18n-lib.h:
10771           check for ENABLE_NLS, not GETTEXT_PACKAGE
10772         * gst/gstregistry.c: (gst_registry_add_plugin),
10773         (gst_registry_scan_path_level),
10774         (_gst_registry_remove_cache_plugins):
10775           protect possibly NULL strings
10776         * gst/parse/types.h:
10777           config.h already included before
10778         * tools/gst-inspect.c: (main):
10779           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10780           check for ENABLE_NLS, not GETTEXT_PACKAGE
10781         * tools/gst-launch.c: (main):
10782           check for ENABLE_NLS, not GETTEXT_PACKAGE
10783
10784 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10785
10786         * configure.ac:
10787           if we don't have glib, fail before testing 2.8
10788         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10789           fix a leak, should fix plugins-base testsuite
10790
10791 2005-10-11  Andy Wingo  <wingo@pobox.com>
10792
10793         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10794         take the mode we're going to as an arg. Go head and set the mode
10795         and flushing flags now, so that if the activate function starts a
10796         thread all the flags will be in the right state.
10797         (post_activate): Renamed also. Just handle making sure streaming
10798         finishes for the deactivation case, and setting the deactivated
10799         mode.
10800         (gst_pad_set_active): Complain loudly if deactivation fails.
10801         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10802         (gst_pad_activate_push): Adapt to pre/post_activate changes,
10803         remove the terrible hack.
10804
10805 2005-10-11  Wim Taymans  <wim@fluendo.com>
10806
10807         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10808         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10809         (gst_bin_recalc_state), (gst_bin_change_state_func),
10810         (gst_bin_dispose), (bin_bus_handler):
10811         * gst/gstbin.h:
10812         Prepare to make current EOS message queue more generic.
10813         Fix some typos.
10814
10815         * gst/gstevent.c: (gst_event_new_newsegment),
10816         (gst_event_parse_newsegment):
10817         * gst/gstevent.h:
10818         Rename base to stream_time.
10819
10820         * gst/gstmessage.h:
10821         Fix typo in docs.
10822
10823 2005-10-11  Wim Taymans  <wim@fluendo.com>
10824
10825         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10826         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10827         (gst_bin_change_state_func), (bin_bus_handler):
10828         * gst/gstbin.h:
10829         Work on proper clock selection.
10830
10831 2005-10-11  Edward Hervey  <edward@fluendo.com>
10832
10833         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
10834         * libs/gst/controller/gstcontroller.h:
10835         Added GList* version of _remove_properties() in order to be able to wrap
10836         it in bindings.
10837
10838 2005-10-11  Wim Taymans  <wim@fluendo.com>
10839
10840         * docs/design/part-states.txt:
10841         Some more docs.
10842
10843         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10844         (gst_bin_change_state_func), (bin_bus_handler):
10845         Doc updates. Don't distribute the same clock over and over again.
10846
10847         * gst/gstclock.c:
10848         * gst/gstclock.h:
10849         Doc updates.
10850
10851         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10852         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10853         (gst_pad_send_event):
10854         * gst/gstpad.h:
10855         Make probe emission threadsafe again.
10856         Register quarks and move _get_name() from utils.
10857         Doc updates.
10858
10859         * gst/gstpipeline.c: (gst_pipeline_class_init),
10860         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10861         Only redistribute the clock of it changed.
10862
10863         * gst/gstsystemclock.h:
10864         Doc updates. 
10865
10866         * gst/gstutils.c:
10867         * gst/gstutils.h:
10868         Moved the _flow_get_name() to GstPad.
10869
10870 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10871
10872         * check/gst-libs/gdp.c: (GST_START_TEST):
10873         * check/gst/gstcaps.c: (GST_START_TEST):
10874         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10875         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10876         (gst_dp_packet_from_caps):
10877           fix more valgrind warnings before turning up the heat
10878
10879 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10880
10881         * gst/parse/grammar.y:
10882           some cleanup before the hacking
10883
10884 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10885
10886         * gst/base/gstbasesrc.c: (gst_base_src_query):
10887           use conversions
10888         * gst/gstutils.c: (gst_guint64_to_gdouble),
10889         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10890         * gst/gstutils.h:
10891           externalize, basesrc uses it
10892           obviously the implementation needs testing
10893
10894 2005-10-10  Wim Taymans  <wim@fluendo.com>
10895
10896         * tests/sched/Makefile.am:
10897         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10898         (make_pipeline3), (make_pipeline4), (print_elem), (main):
10899
10900 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10901
10902         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10903           apparently converting from guint64 to double is not implemented
10904           on MSVC
10905
10906 2005-10-10  Wim Taymans  <wim@fluendo.com>
10907
10908         * check/Makefile.am:
10909         * check/generic/states.c: (GST_START_TEST):
10910         * check/gst/gstbin.c: (GST_START_TEST):
10911         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10912         * check/states/sinks.c: (GST_START_TEST):
10913         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10914         (main):
10915         Check fixes, use API as stated in design docs, remove hacks.
10916
10917         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10918         (gst_base_sink_change_state):
10919         Catch stopping our task while we're shutting down.
10920
10921         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10922         (gst_bin_remove_func), (gst_bin_get_state_func),
10923         (gst_bin_recalc_state), (gst_bin_change_state_func),
10924         (bin_bus_handler):
10925         * gst/gstbin.h:
10926         * gst/gstelement.c: (gst_element_init),
10927         (gst_element_get_state_func), (gst_element_abort_state),
10928         (gst_element_commit_state), (gst_element_lost_state),
10929         (gst_element_set_state), (gst_element_change_state),
10930         (gst_element_change_state_func):
10931         * gst/gstelement.h:
10932         New state change algorithm (see #318116)
10933
10934         * gst/gstpipeline.c: (gst_pipeline_class_init),
10935         (gst_pipeline_init), (gst_pipeline_set_property),
10936         (gst_pipeline_get_property), (do_pipeline_seek),
10937         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10938         * gst/gstpipeline.h:
10939         Remove crude state change hacks.
10940
10941         * gst/gstutils.h:
10942         Remove crude hacks.
10943
10944         * tools/gst-launch.c: (main):
10945         Fixes for state change. Needs some more work to fully use the
10946         new stuff.
10947
10948 2005-10-10  Andy Wingo  <wingo@pobox.com>
10949
10950         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10951
10952         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10953         this flag, but it's not even in GLib 2.6. Odd. Hack around the
10954         issue.
10955
10956 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10957
10958         * gst/gstiterator.c: (gst_iterator_new):
10959           Fix my previous commit: GTypes passed to gst_iterator_new()
10960           can be fundamental types.
10961
10962 2005-10-10  Wim Taymans  <wim@fluendo.com>
10963
10964         * gst/gstelement.c: (gst_element_iterate_pad_list),
10965         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10966         (gst_element_iterate_sink_pads):
10967         Use src/sink pads lists for the respective iterators instead
10968         of filtering.
10969
10970 2005-10-10  Andy Wingo  <wingo@pobox.com>
10971
10972         Merged in popt removal + GOption addition patch from Ronald, bug
10973         #169772.
10974
10975         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
10976         GstElement macros around, remove popt-related symbols, add goption
10977         stuff.
10978
10979         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
10980         
10981         * docs/gst/Makefile.am:
10982         * docs/libs/Makefile.am: No POPT_CFLAGS.
10983         
10984         * examples/manual/Makefile.am:
10985         * docs/manual/basics-init.xml: Doc updates with an example.
10986         
10987         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10988         (gst_init), (parse_one_option), (parse_goption_arg):
10989         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
10990         bit of hand merging and debugging to get the GOption stuff working
10991         tho.
10992         
10993         * tests/Makefile.am:
10994         * tools/Makefile.am:
10995         * tools/gst-inspect.c: (main):
10996         * tools/gst-launch.c: (main):
10997         * tools/gst-run.c: (main):
10998         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
10999
11000 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11001
11002         * gst/gstiterator.c: (gst_iterator_new):
11003           Add assertions to make sure passed GType is likely to really
11004           be a GType (as the compiler won't catch it if the size and
11005           GType arguments get mixed up, see #318447).
11006
11007 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11008
11009         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11010
11011         * gst/gstbin.c: (gst_bin_iterate_sorted):
11012           Pass GType and size arguments to gst_iterator_new() in the right
11013           order (maybe we should make _new() take the GType as first argument
11014           just like _new_list()?) (#318447).
11015           
11016
11017 2005-10-10  Wim Taymans  <wim@fluendo.com>
11018
11019         * gst/gstelement.c: (gst_element_finalize):
11020         And free the GStaticRecMutex too
11021
11022 2005-10-10  Andy Wingo  <wingo@pobox.com>
11023
11024         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11025         Allocate and free the mutex properly.
11026
11027         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11028         New macros.
11029         (GstElement): The state_lock is now recursive. Rebuild your
11030         plugins, suckers. Old macros adapted.
11031
11032         * docs/gst/gstreamer-sections.txt: Doc updates.
11033
11034         * gst/gstutils.h:
11035         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11036         (g_static_rec_cond_wait): Ported from state changes patch, while
11037         we wait on bug #317802 to be solved in a well-distributed GLib.
11038
11039         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11040         gst_element_change_state, variable name changes.
11041         (gst_element_change_state): Split out of gst_element_set_state in
11042         preparation for the state change merge. Doesn't pay attention to
11043         the 'transition' argument.
11044         (gst_element_set_state): Updates, hopefully purely cosmetic.
11045         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11046         state change patch.
11047         (gst_element_get_state_func): Renamed from get_state, cosmetic
11048         changes.
11049
11050 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11051
11052         * gst/elements/gstelements.c:
11053         * win32/GStreamer.vcproj:
11054         * win32/config.h:
11055         * win32/dirent.c: (_tseekdir):
11056         * win32/gst-inspect.vcproj:
11057         * win32/gst-launch.vcproj:
11058         * win32/gstconfig.h:
11059         * win32/gstelements.vcproj:
11060         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11061         * win32/gstreamer.def:
11062         * win32/msvc71.sln:
11063           updates for the win32 build (patch from Sebastien Moutte)
11064
11065 2005-10-10  Andy Wingo  <wingo@pobox.com>
11066
11067         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11068         gst_bin_get_state, cleaned up (but no logic changes).
11069         (bin_element_is_sink): Comment updates.
11070         (sink_iterator_filter): Remove needless cast.
11071         (gst_bin_iterate_sinks): Doc update.
11072         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11073         cleaned up (but no logic changes).
11074
11075         * check/states/sinks.c (test_src_sink): Cleanups from the state
11076         change patch.
11077         (test_livesrc_sink): Sync on the state.
11078
11079         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11080         the state change patch.
11081
11082         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11083         change patch.
11084
11085         * check/gst/gstbin.c: Merge in some style fixes and additional
11086         checks from Wim's state change patch.
11087
11088 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11089
11090         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11091         (gst_type_find_helper):
11092           Check whether we have the requested data already in our list of
11093           cached buffers before pulling a new buffer; also make the buffer
11094           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11095
11096 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11097
11098         * gst/gstcaps.c:
11099         * gst/gstevent.c:
11100           doc updates
11101         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11102           don't use long long, it's not portable.  Replacing with
11103           gint64 seems to work; let's hope no skeletons fall out of the closet.
11104
11105 2005-10-10  Andy Wingo  <wingo@pobox.com>
11106
11107         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11108
11109 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11110
11111         * docs/gst/gstreamer-sections.txt:
11112         * gst/gstevent.c:
11113         * gst/gstevent.h:
11114         * gst/gstinfo.c:
11115         * gst/gstinfo.h:
11116         * gst/gstmessage.c: (gst_message_parse_state_changed):
11117         * gst/gstpad.c:
11118         * gst/gstpad.h:
11119           more docs, fix compilation
11120
11121 2005-10-09  Philippe Khalaf <burger@speedy.org>
11122         * gst/gstmessage.c:
11123           Fixed a few forgotten variables on previous commit
11124
11125 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11126
11127         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11128           Fix evil typefind crasher: getrange() might return a short
11129           buffer at the end of a file, but gst_type_find_peek() must
11130           either return the full data as requested or NULL, but
11131           never a short buffer.
11132
11133 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11134
11135         * gst/gstmessage.c: (gst_message_new_state_changed),
11136         (gst_message_parse_state_changed):
11137         * gst/gstmessage.h:
11138           don't use "new", it's a C++ keyword
11139
11140 2005-10-08  Wim Taymans  <wim@fluendo.com>
11141
11142         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11143         * gst/gstelement.c: (gst_element_post_message):
11144         * gst/gstpipeline.c: (gst_pipeline_change_state):
11145         Small docs and debug updates.
11146
11147 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11148
11149         * docs/gst/gstreamer-sections.txt:
11150         * gst/gstelementfactory.c:
11151         * gst/gstevent.c:
11152         * gst/gsttaglist.c:
11153           more docs
11154
11155 2005-10-08  Wim Taymans  <wim@fluendo.com>
11156
11157         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11158         (gst_bin_dispose), (bin_bus_handler):
11159         Fix typos, add comments.
11160         Clear EOS list when going to PAUSED from any direction and do it
11161         in a threadsafe way.
11162         Get base time in a threadsafe way too.
11163         Fix confusing debug in the change_state function.
11164         Various other small cleanups.
11165         
11166         * gst/gstelement.c: (gst_element_post_message):
11167         Fix very verbose bus posting code.
11168
11169         * gst/gstpipeline.c: (gst_pipeline_class_init),
11170         (gst_pipeline_set_property), (gst_pipeline_get_property),
11171         (gst_pipeline_change_state):
11172         Small ARG_ -> PROP_ cleanup
11173
11174 2005-10-08  Wim Taymans  <wim@fluendo.com>
11175
11176         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11177         Do a less CPU demanding EOS check because we can.
11178
11179 2005-10-08  Wim Taymans  <wim@fluendo.com>
11180
11181         * libs/gst/dataprotocol/dataprotocol.c:
11182         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11183         (gst_dp_packet_from_event):
11184         * libs/gst/dataprotocol/dataprotocol.h:
11185         * libs/gst/dataprotocol/dp-private.h:
11186         It's about time we bump the version number.
11187         Since event types don't fit in the guint8 anymore describing
11188         the payload type, make payload type 16 bits wide.
11189
11190 2005-10-08  Wim Taymans  <wim@fluendo.com>
11191
11192         * docs/design/part-TODO.txt:
11193         * docs/design/part-clocks.txt:
11194         * docs/design/part-events.txt:
11195         * docs/design/part-gstbin.txt:
11196         * docs/design/part-gstelement.txt:
11197         * docs/design/part-gstpipeline.txt:
11198         * docs/design/part-live-source.txt:
11199         * docs/design/part-messages.txt:
11200         * docs/design/part-overview.txt:
11201         * docs/design/part-states.txt:
11202         Many doc updates.
11203
11204 2005-10-08  Wim Taymans  <wim@fluendo.com>
11205
11206         * gst/gstevent.c:
11207         * gst/gstevent.h:
11208         Fix event quark registration.
11209         Add some space between events so we can insert them in the
11210         right groups.
11211
11212 2005-10-08  Wim Taymans  <wim@fluendo.com>
11213
11214         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11215         (gst_base_sink_handle_buffer):
11216         Better log message.
11217
11218         * gst/gstbus.h:
11219         * gst/gstelement.h:
11220         More docs.
11221
11222         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11223         (gst_queue_set_property), (gst_queue_get_property):
11224         * gst/gstqueue.h:
11225         Remove old unused properties.
11226
11227 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11228         * docs/gst/gstreamer-sections.txt:
11229         * gst/gstmessage.c:
11230         * gst/gstmessage.h:
11231         * gst/gstminiobject.c:
11232         * gst/gstminiobject.h:
11233         * gst/gstobject.h:
11234         * gst/gstpad.h:
11235         * gst/gstutils.h:
11236           lots of new docs and doc fixes
11237
11238 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11239
11240         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11241         * gst/gstplugin.h:
11242         * gst/gstregistry.c: (gst_registry_lookup_locked),
11243         (gst_registry_scan_path_level):
11244         * gst/gstregistryxml.c: (load_plugin):
11245           Only ever load one plugin for a given plugin basename.
11246           This ensures correct overriding of GST_PLUGIN_PATH over
11247           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11248           system installed plugins.
11249
11250 2005-10-08  Wim Taymans  <wim@fluendo.com>
11251
11252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11253         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11254         Prepare for doing QOS.
11255
11256 2005-10-08  Wim Taymans  <wim@fluendo.com>
11257
11258         * check/gst/gstbin.c: (GST_START_TEST):
11259         * check/pipelines/cleanup.c: (GST_START_TEST):
11260         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11261         Allow new clock message too.
11262
11263 2005-10-08  Wim Taymans  <wim@fluendo.com>
11264
11265         * gst/gstmessage.c: (gst_message_new_error),
11266         (gst_message_new_warning), (gst_message_new_tag),
11267         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11268         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11269         (gst_message_new_segment_start), (gst_message_new_segment_done),
11270         (gst_message_parse_state_changed),
11271         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11272         (gst_message_parse_new_clock):
11273         * gst/gstmessage.h:
11274         Also carry the clock in question.
11275
11276 2005-10-08  Wim Taymans  <wim@fluendo.com>
11277
11278         * gst/gstmessage.c: (gst_message_new_custom),
11279         (gst_message_new_eos), (gst_message_new_error),
11280         (gst_message_new_warning), (gst_message_new_tag),
11281         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11282         (gst_message_new_new_clock), (gst_message_new_segment_start),
11283         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11284         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11285         * gst/gstmessage.h:
11286         Clean up.
11287         Added clock related messages.
11288
11289         * gst/gstpipeline.c: (gst_pipeline_change_state):
11290         Post message when the clock changed.
11291
11292         * tools/gst-launch.c: (event_loop):
11293         Print new clock.
11294
11295 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11296
11297         * tools/gst-inspect.c: (print_element_properties_info):
11298           Can't pass NULL strings to g_print() on windows.
11299
11300 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11301
11302         * docs/Makefile.am:
11303         * docs/gst/Makefile.am:
11304         * docs/gst/gstreamer-docs.sgml:
11305         * docs/gst/running.xml:
11306         * docs/version.entities.in:
11307           add a chapter on running GStreamer.
11308           document GST_DEBUG and GST_PLUGIN* env vars
11309
11310 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11311
11312         * Makefile.am:
11313           remove include dir
11314         * configure.ac:
11315           remove PLUGINS_BUILDDIR stuff
11316         * gst/gst.c: (init_post):
11317           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11318         * idiottest.mak:
11319           remove, it was condescending and not needed
11320
11321 2005-10-08  Wim Taymans  <wim@fluendo.com>
11322
11323         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11324         (gst_base_sink_handle_object), (gst_base_sink_event),
11325         (gst_base_sink_wait), (gst_base_sink_handle_event),
11326         (gst_base_sink_change_state):
11327         * gst/base/gstbasesink.h:
11328         Repost EOS message while going to PLAYING if still EOS.
11329         Make sure that when receiving a FLUSH_START we don't attempt
11330         to sync on the clock anymore.
11331
11332 2005-10-08  Wim Taymans  <wim@fluendo.com>
11333
11334         * tools/gst-launch.c: (event_loop):
11335         Better message printout.
11336
11337 2005-10-08  Wim Taymans  <wim@fluendo.com>
11338
11339         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11340         (gst_bin_child_proxy_get_children_count):
11341         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11342         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11343         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11344         (gst_child_proxy_set_valist):
11345         * gst/parse/grammar.y:
11346         Make ChildProxy threadsafe and fix mem leaks.
11347
11348 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11349
11350         * gst/gst.c: (init_post):
11351           debug the GST_PLUGIN_ env vars
11352
11353 2005-10-08  Wim Taymans  <wim@fluendo.com>
11354
11355         * check/gst/gstbin.c: (GST_START_TEST):
11356         * check/gst/gstmessage.c: (GST_START_TEST):
11357         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11358         * gst/gstelement.c: (gst_element_commit_state),
11359         (gst_element_lost_state):
11360         * gst/gstmessage.c: (gst_message_new_state_changed),
11361         (gst_message_parse_state_changed):
11362         * gst/gstmessage.h:
11363         * tools/gst-launch.c: (event_loop):
11364         Added extra field to STATE_CHANGE message with the pending
11365         state, which will be different from the new state soon.
11366
11367 2005-10-08  Wim Taymans  <wim@fluendo.com>
11368
11369         * gst/gstbus.c: (gst_bus_pop):
11370         * gst/gstclock.c:
11371         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11372         Small cleanups and doc updates.
11373
11374 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11375
11376         * gst/gst.c: (init_pre):
11377         * gst/gstbin.c: (gst_bin_add_func):
11378           log distributing clocks and base time
11379         * gst/gstregistry.c: (gst_registry_add_plugin),
11380         (gst_registry_scan_path_level), (gst_registry_scan_path):
11381           clean up the debugging output a little
11382         * gst/gstutils.c: (gst_element_state_get_name):
11383           warn about a memleak (I've actually seen this be used, though
11384           it was probably a bug)
11385
11386 2005-10-07  Wim Taymans  <wim@fluendo.com>
11387
11388         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11389         (gst_base_src_init), (gst_base_src_default_newsegment),
11390         (gst_base_src_newsegment), (gst_base_src_do_seek),
11391         (gst_base_src_loop), (gst_base_src_start):
11392         * gst/base/gstbasesrc.h:
11393         Make the newsegment event customizable by subclasses.
11394
11395 2005-10-07  Wim Taymans  <wim@fluendo.com>
11396
11397         * gst/gstevent.c: (gst_event_new_buffersize),
11398         (gst_event_parse_buffersize):
11399         * gst/gstevent.h:
11400         New event for future idea.
11401
11402 2005-10-07  Andy Wingo  <wingo@pobox.com>
11403
11404         * gst/gstelement.c (gst_element_post_message): Doc update.
11405
11406         * docs/gst/gstreamer-sections.txt: Update.
11407
11408         * gst/gstmessage.c (gst_message_new_application): Made into a
11409         function like honest API calls.
11410         (gst_message_new_element): New message type.
11411
11412         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11413
11414         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11415         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11416         times.
11417
11418         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11419         NO_PREROLL from gst_element_change_state to fall through.
11420
11421 2005-10-07  Wim Taymans  <wim@fluendo.com>
11422
11423         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11424         (gst_ghost_pad_do_activate_push):
11425         Activating a ghostpad with no internal pad in push mode
11426         is ok.
11427
11428 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11429
11430         * gst/gstobject.h:
11431           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11432           Fixes compilation on Windows.
11433
11434 2005-10-07  Michael Smith <msmith@fluendo.com>
11435
11436         * tools/gst-inspect.c:
11437           Print out feature and plugin count at the end when printing out
11438           all features.
11439
11440 2005-10-04  Michael Smith <msmith@fluendo.com>
11441
11442         * gst/gsterror.c: (_gst_stream_errors_init):
11443           Add another error string used in a few existing plugins.
11444
11445         * gst/gstplugin.c:
11446         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11447         * tools/gst-inspect.c: (print_element_info):
11448           When a feature disappears from a plugin (and the feature exists in
11449           the cached registry file), things went horribly wrong. This isn't a
11450           complete fix, we should actually be removing the 'missing' features
11451           from the features list when we load the actual plugin. That's not
11452           yet implemented. 
11453
11454 2005-10-04  Johan Dahlin  <johan@gnome.org>
11455
11456         * check/gst/gstiterator.c: (GST_START_TEST):
11457         * gst/gstbin.c: (gst_bin_iterate_elements),
11458         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11459         * gst/gstelement.c: (gst_element_iterate_pads):
11460         * gst/gstformat.c: (gst_format_iterate_definitions):
11461         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11462         (gst_iterator_new_list), (gst_iterator_filter):
11463         * gst/gstiterator.h:
11464         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11465         Add a GType to GstIterator, update callsites and tests.
11466
11467 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11468
11469         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11470           give events a chance to be handled by event probes when the pad
11471           is not linked
11472
11473 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11474
11475         * gst/gstevent.c: (gst_event_type_get_name),
11476         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11477         * gst/gstevent.h:
11478           add string representations for event types
11479
11480 2005-10-06  Wim Taymans  <wim@fluendo.com>
11481
11482         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11483         Don't use NULL pointers.
11484
11485 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11486
11487         * gst/gst_private.h:
11488         * gst/gstbus.c:
11489         * gst/gstelement.c:
11490         * gst/gstinfo.c:
11491         * gst/gstpluginfeature.c:
11492           widen the debug category in output to fit the biggest one we have
11493           add a bus category and use it
11494           play with the colors
11495           fix up some categories
11496
11497 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11498
11499         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11500           add push activation of sink ghost pads.
11501           Andye, please verify
11502
11503 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11504
11505         * gst/gstutils.c: (gst_element_link_pads):
11506           fix a bug in the case where neither element has a pad
11507         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11508           add a test for that case
11509
11510 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11511
11512         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11513           emit have-data before checking for peers.  This allows
11514           for probe handlers to connect elements.  This helps autopluggers.
11515         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11516         (gst_pad_suite):
11517           add six checks, linked/unlinked with no/true/false probe
11518
11519 2005-10-04  Wim Taymans  <wim@fluendo.com>
11520
11521         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11522         (gst_fake_sink_event), (gst_fake_sink_preroll),
11523         (gst_fake_sink_render), (gst_fake_sink_change_state):
11524         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11525         (gst_fake_src_get_property), (gst_fake_src_create),
11526         (gst_fake_src_stop):
11527         * gst/elements/gstidentity.c: (gst_identity_stop):
11528         Protect last_message with lock.
11529
11530 2005-10-04  Edward Hervey  <edward@fluendo.com>
11531
11532         * gst/gstformat.h: 
11533         Added precision in the comments for GST_FORMAT_DEFAULT
11534
11535 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11536
11537         * tools/gst-launch.c: (main):
11538           Don't try to run erroneous pipelines.
11539
11540 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11541
11542         * gst/gstbus.c: We don't need this header.
11543
11544 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11545
11546         * configure.ac:
11547           back to development
11548
11549 === release 0.9.3 ===
11550
11551 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11552
11553         * README:
11554         * configure.ac:
11555           Releasing 0.9.3, "Unregistered"
11556
11557 2005-10-03  Andy Wingo  <wingo@pobox.com>
11558
11559         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11560         whereby calling a pad's activatepush() function can start a thread
11561         that starts to push or pull before the pad gets the FLUSHING flag
11562         unset. Hack around it by holding the stream lock until the flag is
11563         set. Need to replace this with a proper solution. Together with
11564         the ghost pad fixes, this fixes mp3 playing/tagreading.
11565
11566         * docs/design/part-gstghostpad.txt: Add a note about activation of
11567         proxy pads outside of ghost pads.
11568
11569         * gst/gstghostpad.c: Implement the ghost pad activation design.
11570
11571 2005-10-02  Andy Wingo  <wingo@pobox.com>
11572
11573         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11574         It is volatile, after all.
11575
11576         * docs/design/part-gstghostpad.txt: Flesh out activation with
11577         ghost pads.
11578
11579         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11580         GST_DEBUG_FUNCPTR.
11581
11582 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11583
11584         * configure.ac:
11585           Fix (unused) AM_CONDITIONAL tests.
11586
11587 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11588
11589         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11590
11591         * gst/gstutils.c: (gst_pad_query_convert):
11592           Add assertion that makes sure src_val is >=0, just like
11593           gst_query_new_convert() has. (#315895)
11594
11595 2005-09-30  Edward Hervey  <edward@fluendo.com>
11596
11597         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11598         Let's not iterate pads we're not interested in, it avoids getting 
11599         sky-high refcounts on sinkpad.
11600
11601 2005-09-30  Wim Taymans  <wim@fluendo.com>
11602
11603         * gst/gstelement.c: (gst_element_set_state),
11604         (gst_element_change_state):
11605         Small tweak, element in ASYNC remains ASYNC.
11606
11607 2005-09-30  Wim Taymans  <wim@fluendo.com>
11608
11609         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11610         Only error is an error.
11611
11612         * gst/gstbin.c: (gst_bin_change_state):
11613         Better debugging.
11614
11615         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11616         Also call pad_block in pad alloc.
11617
11618         * gst/gstutils.c: (gst_flow_get_name):
11619         Better debugging.
11620
11621 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11622
11623         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11624         (gst_base_src_get_range):
11625           Fix documentation typos. Add some more debug info.
11626
11627 2005-09-29  David Schleef  <ds@schleef.org>
11628
11629         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11630           more end-user friendly.
11631         * tools/gst-inspect.c: (main): Check if command-line argument is
11632           a file and attempt to load that file as a plugin.
11633
11634 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * check/gst/gstbin.c:
11637         * check/states/sinks.c:
11638           fix tests for the new warning
11639         * check/gst/gstpipeline.c:
11640           add a test for pipeline and bus interaction
11641         * gst/gstelement.c:
11642           elements should be NULL if they get disposed; add a warning if not
11643
11644 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11645
11646         * gst/gstobject.c:
11647           for 2.6 refcounting, make debug log more correct by printing
11648           the actual refcounts at the time of swap (Wim)
11649
11650 2005-09-29  Andy Wingo  <wingo@pobox.com>
11651
11652         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11653         removes signal watches previously added via
11654         gst_bus_add_signal_watch.
11655         (gst_bus_add_signal_watch): Don't return the source id, just store
11656         it on the bus if there wasn't an id already.
11657
11658         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11659         add_signal_watch and remove_signal_watch.
11660
11661 2005-09-29  Edward Hervey  <edward@fluendo.com>
11662
11663         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11664         Better if we actually iterate the list :)
11665
11666 2005-09-29  Wim Taymans  <wim@fluendo.com>
11667
11668         * check/gst/gstbin.c: (GST_START_TEST):
11669         Change for new bus API.
11670
11671         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11672         (send_messages), (GST_START_TEST), (gstbus_suite):
11673         Change for new bus signal API.
11674
11675         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11676         (gst_bus_source_prepare), (gst_bus_source_check),
11677         (gst_bus_create_watch), (gst_bus_add_watch_full),
11678         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11679         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11680         * gst/gstbus.h:
11681         Remove support for multiple GSources operating on different
11682         message types as it is too complex and unneeded when using
11683         signals.
11684         Added support for receiving signals from the bus.
11685
11686 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11687
11688         * docs/libs/tmpl/gstdataprotocol.sgml:
11689         * docs/manual/advanced-dataaccess.xml:
11690         * gst/elements/gstcapsfilter.c:
11691         * gst/gstutils.c:
11692           rename filter-caps to caps property
11693
11694 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11695
11696         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11697           More robust fraction string parsing.
11698
11699         * docs/pwg/appendix-porting.xml:
11700           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11701
11702 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11703
11704         * gst/gstcaps.c: (gst_caps_do_simplify):
11705           Thou shalt not free a structure and then continue using it
11706           in the next loop iteration.
11707
11708         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11709         (gst_caps_suite):
11710           Add test case for caps simplification.
11711
11712 2005-09-29  Wim Taymans  <wim@fluendo.com>
11713
11714         * check/gst/gstbin.c: (GST_START_TEST):
11715         Oops.
11716
11717 2005-09-29  Wim Taymans  <wim@fluendo.com>
11718
11719         * check/gst/gstbin.c: (GST_START_TEST):
11720         Add bus to bin.
11721
11722         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11723         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11724         (find_element), (gst_bin_sort_iterator_next),
11725         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11726         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11727         (gst_bin_change_state), (gst_bin_dispose):
11728         A bin does not have a bus, it gets the bus from the parent.
11729
11730         * gst/gstelement.c: (gst_element_requires_clock),
11731         (gst_element_provides_clock), (gst_element_is_indexable),
11732         (gst_element_is_locked_state), (gst_element_change_state),
11733         (gst_element_set_bus_func):
11734         Small cleanups.
11735
11736         * gst/gstpipeline.c: (gst_pipeline_class_init),
11737         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11738         The pipeline provides a bus.
11739
11740 2005-09-28  Johan Dahlin  <johan@gnome.org>
11741
11742         * gst/gstmessage.c (gst_message_parse_state_changed): Use
11743         gst_structure_get_enum instead of gst_structure_get_int
11744
11745         * gst/gststructure.c (gst_structure_get_enum): Impl.
11746
11747         * gst/gststructure.h (gst_structure_get_enum): Add
11748
11749         * docs/gst/gstreamer-sections.txt: Ditto
11750
11751         * gst/gstmessage.c (gst_message_new_state_changed): Use
11752         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11753         which does introspection.
11754         Reviewed by Christian Schaller
11755
11756 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11757
11758         * gst/gstinfo.c: (gst_debug_log_default):
11759           don't do dummy g_strdup()s
11760         * libs/gst/controller/gstcontroller.c:
11761         (on_object_controlled_property_changed),
11762         (gst_controlled_property_new), (gst_controller_new_valist),
11763         (gst_controller_new_list),
11764         (gst_controller_remove_properties_valist), (gst_controller_set),
11765         (gst_controller_get), (gst_controller_sync_values),
11766         (gst_controller_get_value_array), (_gst_controller_class_init),
11767         (gst_controller_get_type):
11768         * libs/gst/controller/gstcontroller.h:
11769         * libs/gst/controller/gstinterpolation.c:
11770         (gst_controlled_property_find_timed_value_node):
11771           convert // to /**/ comments
11772
11773 2005-09-28  Wim Taymans  <wim@fluendo.com>
11774
11775         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11776         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11777         (gst_bus_sync_signal_handler):
11778         * gst/gstbus.h:
11779         Added async-message and sync-message signals to the bus.
11780         Added helper BusFunc to emit signals for all posted messages.
11781
11782         * gst/gstmessage.c: (gst_message_type_get_name),
11783         (gst_message_type_to_quark), (gst_message_get_type):
11784         * gst/gstmessage.h:
11785         Register quarks for message names.
11786
11787 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11788
11789         * docs/libs/gstreamer-libs-sections.txt:
11790         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11791         (gst_controller_new_list):
11792         * libs/gst/controller/gstcontroller.h:
11793           added another constructor for language bindings
11794
11795 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11796
11797         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11798           add another check
11799         * gst/gstbus.c:
11800           add some doc
11801         * gst/gstinfo.c: (_gst_debug_init):
11802           slightly more readable color for refcount debugging
11803
11804 2005-09-28  Wim Taymans  <wim@fluendo.com>
11805
11806         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11807         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11808         (find_element), (gst_bin_sort_iterator_next),
11809         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11810         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11811         (gst_bin_change_state), (gst_bin_dispose):
11812         Small doc fixes. get_clock -> provide_clock.
11813
11814         * gst/gstelement.c: (gst_element_class_init),
11815         (gst_element_provides_clock), (gst_element_provide_clock),
11816         (gst_element_get_clock), (gst_element_commit_state),
11817         (gst_element_lost_state):
11818         * gst/gstelement.h:
11819         Make get/set_clock() symetric. Add provide_clock vmethod since
11820         that is actually what this function does.
11821
11822         * gst/gstpipeline.c: (gst_pipeline_class_init),
11823         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11824         (gst_pipeline_get_clock):
11825         get_clock -> provide_clock.
11826
11827 2005-09-28  Andy Wingo  <wingo@pobox.com>
11828
11829         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11830         lieu of real docs...
11831
11832         * gst/elements/gstfdsrc.c: Cleaned up a bit.
11833
11834 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
11835
11836         * gst/elements/gstcapsfilter.c:
11837         * gst/elements/gstfakesink.c:
11838         * gst/elements/gstfakesrc.c:
11839         * gst/elements/gstfdsink.c:
11840         * gst/elements/gstfdsrc.c:
11841         * gst/elements/gstfilesink.c:
11842         * gst/elements/gstfilesrc.c:
11843         * gst/elements/gstidentity.c:
11844         * gst/elements/gsttee.c:
11845         * gst/elements/gsttypefindelement.c:
11846           Make element details static.
11847
11848 2005-09-28  Wim Taymans  <wim@fluendo.com>
11849
11850         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11851         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11852         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11853         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11854         (gst_bin_change_state), (gst_bin_dispose):
11855         Some documentation updates.
11856         Clean up dispose handlers.
11857
11858         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11859         * gst/gstpad.c: (gst_pad_dispose):
11860         Clean up dispose handler.
11861
11862         * gst/gstpipeline.c: (gst_pipeline_change_state):
11863         Removed spurious UNLOCK.
11864
11865 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
11866
11867         * docs/gst/gstreamer-sections.txt:
11868         * gst/base/gstbasesrc.h:
11869         * gst/gstelement.h:
11870         * gst/gstevent.h:
11871         * gst/gstobject.h:
11872         * gst/gstpad.h:
11873         * gst/gstpipeline.c:
11874         * gst/gstpipeline.h:
11875         * gst/gstutils.h:
11876         * gst/gstxml.h:
11877           added two new functions to the docs
11878                 documents all undocumented GstXXXFlags
11879                 completed some incomplete docs 
11880
11881 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11882
11883         * gst/gstbin.c: (gst_bin_dispose):
11884         * gst/gstelement.c: (gst_element_dispose):
11885           remove now useless and leaky resurrection code in dispose
11886         * gst/base/gstbasesrc.c: (gst_base_src_init):
11887         * gst/gstelementfactory.c: (gst_element_factory_create):
11888         * gst/gstobject.c: (gst_object_set_parent):
11889           add some debugging
11890
11891 2005-09-27  Wim Taymans  <wim@fluendo.com>
11892
11893         * docs/design/part-TODO.txt:
11894         Update TODO.
11895
11896         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11897         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11898         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11899         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11900         (gst_bin_change_state):
11901         * gst/gstelement.h:
11902         Remove element variable, we keep element info in the iterator now.
11903
11904 2005-09-27  Andy Wingo  <wingo@pobox.com>
11905
11906         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11907         values.
11908
11909 2005-09-27  Wim Taymans  <wim@fluendo.com>
11910
11911         * check/gst/gstbin.c: (GST_START_TEST):
11912         Enable check that works now.
11913
11914         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11915         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11916         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11917         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11918         (gst_bin_change_state):
11919         * gst/gstbin.h:
11920         Redid the state change algorithm using a topological sort algo.
11921         Handles all cases correctly.
11922         Exposed iterator for state change order.
11923
11924         * gst/gstelement.h:
11925         Temp storage for state changes. Need to get rid of this soon.
11926
11927 2005-09-27  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11930         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11931         (link_fold_func), (gst_pad_proxy_setcaps):
11932         Leak fixes, the fold functions need to unref the passed object and
11933         _get_parent_*() returns ref to parent.
11934
11935 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11936
11937         * check/gst/gstbuffer.c: (test_make_writable):
11938           Plug leak in test case and fix 'make check-valgrind'
11939
11940 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11941
11942         * gst/gstbuffer.c: (gst_subbuffer_init):
11943           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11944           works correctly in all circumstances (we could have just copied
11945           the parent buffer's readonly flag, but conceptually it seems
11946           cleaner to mark all subbuffers as read-only). (based on patch
11947           by Alessandro Decina, #314710).
11948         
11949         * check/gst/gstbuffer.c: (create_read_only_buffer),
11950         (test_make_writable), (test_subbuffer_make_writable),
11951         (gst_test_suite):
11952           Add some tests for gst_buffer_make_writable().
11953
11954 2005-09-27  Wim Taymans  <wim@fluendo.com>
11955
11956         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11957         use gst_object_has_ancestor().
11958
11959         * gst/gstobject.c: (gst_object_has_ancestor):
11960         * gst/gstobject.h:
11961         gst_object_has_ancestor() copied from gstbin.c as it is a
11962         usefull function.
11963
11964         * tests/instantiate/create.c: (create_all_elements):
11965         * tests/lat.c: (handoff_src), (handoff_sink):
11966         * tests/sched/runxml.c: (main):
11967         * tests/seeking/seeking1.c: (main):
11968         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11969         (main):
11970         Fix compilation of some tests.
11971
11972 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11973
11974         * gst/gsterror.h:
11975           Remove comment. GST_TYPE_G_ERROR is here to stay,
11976           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
11977           (#316961, #300610).
11978
11979 2005-09-26  Wim Taymans  <wim@fluendo.com>
11980
11981         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11982         Added check that shows error in state change order.
11983
11984 2005-09-26  Wim Taymans  <wim@fluendo.com>
11985
11986         * gst/gstbin.c: (gst_bin_change_state):
11987         Make state change function use 3 queues again, we were
11988         adding elements in the wrong order.
11989
11990         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11991         Some debug info,
11992
11993         * gst/gstpad.c: (gst_pad_dispose):
11994         Added some debug info first.
11995
11996 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
11997
11998         * docs/design/draft-push-pull.txt:
11999         * docs/design/part-events.txt:
12000         * docs/design/part-overview.txt:
12001         * docs/design/part-scheduling.txt:
12002           Replace all _pull_region() with _pull_range()
12003           
12004 2005-09-26  Andy Wingo  <wingo@pobox.com>
12005
12006         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12007
12008         * check/gst-libs/controller.c: Update for controller api change.
12009
12010         * configure.ac: 
12011         * tests/Makefile.am:
12012         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12013         over by GLib bug 118439.
12014         
12015         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12016         routines to a function.
12017
12018         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12019
12020         * libs/gst/controller/gsthelper.c:
12021         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12022         (gst_object_sync_values): Renamed from sink_values. Ugh.
12023
12024         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12025
12026         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12027         Renamed from controller_key, as it is exported.
12028
12029         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12030
12031 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12032
12033         * gst/Makefile.am:
12034         * gst/gst.h:
12035         * gst/gstpad.h:
12036         * gst/gstpadtemplate.h:
12037         * gst/gstquery.c:
12038         * gst/gstquery.h:
12039         * gst/gstqueryutils.c:
12040         * gst/gstqueryutils.h:
12041           remove queryutils headers after moving the two used functions
12042           to gstquery.  also fixes build problem for gstsiddec
12043
12044 2005-09-26  Michael Smith <msmith@fluendo.com>
12045
12046         * tools/gst-launch.1.in:
12047         Correct documentation in manpage of debug syntax
12048
12049 2005-09-26  Wim Taymans  <wim@fluendo.com>
12050
12051         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12052         (gst_base_src_is_seekable), (gst_base_src_change_state):
12053         Some more debugging info.
12054
12055 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12056
12057         * docs/gst/gstreamer-sections.txt:
12058         * gst/base/gstbasetransform.h:
12059         * gst/gstindex.h:
12060           added more docs
12061
12062 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12063
12064         * docs/gst/.cvsignore:
12065         * docs/gst/tmpl/.cvsignore:
12066         * docs/gst/tmpl/gstpipeline.sgml:
12067         * docs/gst/tmpl/gstplugin.sgml:
12068         * gst/gstpipeline.c:
12069         * gst/gstplugin.c:
12070         * gst/gstplugin.h:
12071           inlined the last two docs files
12072           removed the tmpl directory from cvs (no more conflicts here!)
12073
12074 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12075
12076         * docs/gst/gstreamer-sections.txt:
12077         * docs/gst/tmpl/.cvsignore:
12078         * docs/gst/tmpl/gstpad.sgml:
12079         * docs/gst/tmpl/gstpadtemplate.sgml:
12080         * gst/Makefile.am:
12081         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12082         (gst_pad_finalize), (gst_pad_set_pad_template):
12083         * gst/gstpad.h:
12084         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12085         (gst_pad_template_class_init), (gst_pad_template_init),
12086         (gst_pad_template_dispose), (name_is_valid),
12087         (gst_static_pad_template_get), (gst_pad_template_new),
12088         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12089         (gst_pad_template_pad_created):
12090         * gst/gstpadtemplate.h:
12091           inlined two more docs
12092           factored gstpadtemplate out of gstpad
12093
12094 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12095
12096         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12097         (test_children_state_change_order_semi_sink):
12098           Fix test case: we can't rely on a fixed state change order when
12099           going from READY => PAUSED because the sink might commit its 
12100           new state first when the first buffer created by the source 
12101           reaches the sink before the source has finished its change state.
12102           (Test case still fails at times, see #316856, comment 5 onwards)
12103
12104 2005-09-24  Wim Taymans  <wim@fluendo.com>
12105
12106         * docs/design/part-events.txt:
12107         * docs/design/part-gstbus.txt:
12108         * docs/design/part-gstpipeline.txt:
12109         * docs/design/part-messages.txt:
12110         * docs/design/part-overview.txt:
12111         * docs/design/part-segments.txt:
12112         * gst/gstbin.c:
12113         * gst/gstbuffer.c:
12114         * gst/gstclock.c:
12115         * gst/gstelement.c:
12116         * gst/gstevent.c:
12117         * gst/gstfilter.c:
12118         * gst/gstiterator.c:
12119         Various documentation updates.
12120
12121 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12122
12123         * gst/gstclock.h:
12124           Well, that's embarassing.  Luckily we weren't using
12125           GST_CLOCK_DIFF anywhere.
12126
12127 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12128
12129         * common/gtk-doc.mak:
12130           don't fail on building XML, FC4 slave shows a bunch of doc
12131           missing bits that I don't get
12132         * gst/gstpad.c:
12133         * gst/gstpipeline.c:
12134         * gst/gststructure.c:
12135           some doc updates
12136
12137 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12138
12139         * docs/design/part-gstbin.txt:
12140         * docs/design/part-gstbus.txt:
12141         * gst/gstbus.c:
12142           Add blurb about how the bus goes into flushing mode and
12143           drops all messages when its bin goes from READY into NULL 
12144           state.
12145
12146 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12147
12148         * docs/gst/gstreamer-sections.txt:
12149         * gst/gststructure.c: (gst_structure_get_clock_time):
12150         * gst/gststructure.h:
12151           add a method to get a GstClockTime out of a structure
12152
12153 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12154
12155         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12156         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12157           Added test to check state change order in bins (can still be made
12158           to fail here under heavy disk load; bails out with 'Push on pad
12159           fakesink:sink0, but it was not activated in push mode').
12160
12161         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12162           Fix state change order when there is only a semi sink (#316856)
12163
12164         * gst/gstbus.c: (gst_bus_class_init):
12165           Use _class_peek_parent(), not _class_ref(); fix docs to say
12166           'default main context' instead of 'mainloop' where that is
12167           what's meant.
12168
12169         * gst/gstelement.c: (gst_element_commit_state),
12170         (gst_element_set_state):
12171           Fix typos in debug messages
12172
12173 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12174
12175         * docs/README:
12176         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12177         * gst/gstpluginfeature.c:
12178         * gst/gstutils.c:
12179           various doc updates
12180         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12181           change an assert into an error until it gets fixed properly
12182
12183 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12184
12185         * docs/gst/gstreamer-sections.txt:
12186         * docs/gst/tmpl/.cvsignore:
12187         * docs/gst/tmpl/gstelement.sgml:
12188         * docs/gst/tmpl/gstinfo.sgml:
12189         * docs/gst/tmpl/gstobject.sgml:
12190         * gst/gstelement.c:
12191         * gst/gstelement.h:
12192         * gst/gstinfo.c:
12193         * gst/gstinfo.h:
12194         * gst/gstobject.c: (gst_object_class_init):
12195         * gst/gstobject.h:
12196           inlined 3 more biiiig doc files and added some missing docs on the fly
12197
12198 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12199
12200         * check/gst/.cvsignore:
12201         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12202         * gst/gstregistryxml.c: (load_plugin),
12203         (gst_registry_xml_save_plugin):
12204           put back source in registry.  add checks for find_plugin.
12205         * testsuite/states/bin.c: (assert_state), (empty_bin),
12206         (test_adding_one_element), (main):
12207         * testsuite/states/locked.c: (main):
12208           some compile/run fixes
12209
12210 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12211
12212         * check/gst/gstvalue.c: (GST_START_TEST):
12213           fix leaks in the test itself
12214
12215 2005-09-22  Wim Taymans  <wim@fluendo.com>
12216
12217         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12218         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12219         (gst_base_sink_query):
12220         Prepare for more accurate position reporting and query
12221         handling.
12222
12223         * gst/gstelement.c: (gst_element_send_event),
12224         (gst_element_set_state):
12225         Add some comment.
12226
12227 2005-09-22  Wim Taymans  <wim@fluendo.com>
12228
12229         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12230         (gst_query_parse_segment):
12231         * gst/gstquery.h:
12232         More documentation.
12233         Add segment query for future use.
12234
12235 2005-09-22  Wim Taymans  <wim@fluendo.com>
12236
12237         * gst/gstbin.c: (gst_bin_add_func):
12238         Some more debug info.
12239
12240         * gst/gstelement.c: (gst_element_send_event):
12241         Simplify send_event
12242
12243         * gst/gstelement.h:
12244         Don't know how flags got broken.
12245
12246         * gst/gstquery.h:
12247         Added new query.
12248
12249 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12250
12251         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12252           Add simplistic test suite for GST_TYPE_DATE serialisation and
12253           deserialisation.
12254
12255 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12256
12257         * docs/gst/gstreamer-sections.txt:
12258         * gst/gststructure.c: (gst_structure_set_valist),
12259         (gst_structure_get_date):
12260         * gst/gststructure.h:
12261         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12262         (gst_date_copy), (gst_value_compare_date),
12263         (gst_value_serialize_date), (gst_value_deserialize_date),
12264         (gst_value_transform_date_string),
12265         (gst_value_transform_string_date), (_gst_value_initialize):
12266         * gst/gstvalue.h:
12267           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12268           bunch of utility functions along with a hack that checks that
12269           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12270           is required. Part of the grand scheme in #170777.
12271
12272 2005-09-22  Andy Wingo  <wingo@pobox.com>
12273
12274         * gst/gstconfig.h.in: Psych out gtk-doc.
12275
12276         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12277
12278         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12279
12280         * tools/gst-inspect.c (print_element_list): Plug some
12281         inconsequential leaks.
12282
12283         * gst/gstregistry.c (gst_registry_get_default): Doc.
12284
12285         * check/gst/gstplugin.c: 
12286         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12287         * gst/gstelementfactory.c (gst_element_factory_create): 
12288         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12289         refcount changes.
12290
12291         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12292         (gst_plugin_feature_load): Doc, don't eat refs.
12293
12294         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12295         (gst_plugin_list_free): Doc.
12296         (gst_plugin_load_file): Doc updates.
12297
12298         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12299         accessors returning refcounted objects, return a ref.
12300
12301         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12302         accessor for caps. IDEMPOTENCE. Oh yes.
12303
12304 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12305
12306         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12307
12308         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12309         (_gst_debug_register_funcptr):
12310           Add mutex to serialise access to the hash table with
12311           the function pointer => function name string mapping;
12312           make that hash table static scope (#316809).
12313
12314         * gst/registries/.cvsignore:
12315           Remove left-over file.
12316
12317 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12318
12319         * docs/pwg/appendix-porting.xml:
12320           And something about newsegment events and caps-on-buffers to
12321           the porting guide (feel free to improve).
12322
12323 2005-09-21  Andy Wingo  <wingo@pobox.com>
12324
12325         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12326         data and event probes on the same pad.
12327         (test_buffer_probe_once): Test that removing probes from within
12328         the probe functions works.
12329
12330 2005-09-21  Andy Wingo  <wingo@pobox.com>
12331
12332         * check/gst/gstutils.c: New file.
12333         (test_buffer_probe_n_times): A simple buffer probe test. More to
12334         come, foolios.
12335
12336         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12337         have-data::buffer, not have-data.
12338         (gst_pad_add_event_probe): Likewise for have-data::event.
12339         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12340         peer' isn't quite right yet though.
12341         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12342         (gst_pad_remove_data_probe): Change to take the guint handler_id
12343         as their arg, not the function+data, which is more glib-like.
12344
12345         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12346         the signal emission to indicate if the data is a buffer or an
12347         event.
12348         (gst_pad_get_type): Initialize buffer and event quarks.
12349         (gst_pad_class_init): have-data is now a detailed signal, yes it
12350         is.
12351
12352 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12353
12354         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12355         * gst/gstutils.c: (gst_util_set_value_from_string),
12356         (gst_util_set_object_arg):
12357           Don't put functional code in g_return_if_fail() or
12358           g_return_val_if_fail() statements, otherwise things will 
12359           break when G_DISABLE_CHECKS is defined during compilation.
12360
12361 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12362
12363         * docs/gst/tmpl/.cvsignore:
12364         * docs/gst/tmpl/gstvalue.sgml:
12365         * gst/gstvalue.c:
12366         * gst/gstvalue.h:
12367           inlied another one and added  some obvious docs
12368
12369 2005-09-21  Wim Taymans  <wim@fluendo.com>
12370
12371         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12372         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12373         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12374         (gst_fdsrc_get_property), (gst_fdsrc_create):
12375         * gst/elements/gstfdsrc.h:
12376         Properly implement fdsrc. Removed signal and timeout,
12377         better implemented somewhere else.
12378
12379 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12380
12381         * docs/gst/tmpl/.cvsignore:
12382         * docs/gst/tmpl/gstimplementsinterface.sgml:
12383         * gst/gstinterface.c:
12384           inlined more docs
12385
12386 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12387
12388         * docs/gst/gstreamer-sections.txt:
12389         * docs/gst/tmpl/.cvsignore:
12390         * docs/gst/tmpl/gstenumtypes.sgml:
12391           remove obsolete doc file
12392
12393 2005-09-21  David Schleef  <ds@schleef.org>
12394
12395         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12396         little beer, fix a little leak.
12397
12398 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12399
12400         * docs/gst/gstreamer-docs.sgml:
12401         * docs/gst/gstreamer-sections.txt:
12402         * docs/gst/tmpl/.cvsignore:
12403         * gst/Makefile.am:
12404         * gst/gst.h:
12405         * gst/gstbin.c:
12406         * gst/gstelement.h:
12407         * gst/gstindex.c: (gst_index_class_init):
12408         * gst/gstindex.h:
12409         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12410         (gst_index_factory_class_init), (gst_index_factory_init),
12411         (gst_index_factory_finalize), (gst_index_factory_new),
12412         (gst_index_factory_destroy), (gst_index_factory_find),
12413         (gst_index_factory_create), (gst_index_factory_make):
12414         * gst/gstindexfactory.h:
12415         * gst/gstpluginfeature.c:
12416         * gst/gstpluginfeature.h:
12417         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12418           more docs inlined, splitted gstindex.{c,h}
12419
12420 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12421
12422         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12423           fix a leak
12424
12425 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12426
12427         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12428           Set sync to FALSE by default.
12429
12430 2005-09-20  Wim Taymans  <wim@fluendo.com>
12431
12432         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12433         (gst_base_sink_init):
12434         Make sync property settable from subclass.
12435
12436         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12437         (gst_fake_sink_change_state):
12438         Set sync to FALSE by default.
12439
12440 2005-09-20  Wim Taymans  <wim@fluendo.com>
12441
12442         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12443         * tools/gst-launch.c: (main):
12444         The timeout handler should have lower priority than the source
12445         so we don't timeout before popping a message with 0 timeout.
12446         Dump error messages after failed state change.
12447
12448 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12449
12450         * tools/gst-inspect.c: (print_element_properties_info):
12451           Fix two typos.
12452
12453 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12454
12455         * check/gst/gstevent.c:
12456         * gst/elements/gstfakesink.c:
12457         * gst/elements/gstfakesink.h:
12458           remove the sync property from fakesink.
12459           has the side effect of setting sync TRUE
12460           for fakesink, which is a change.  Anyone who knows how
12461           to fix this nicely in a GObject-y way, feel free.
12462
12463 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12464
12465         * docs/gst/gstreamer-docs.sgml:
12466           remove probe refsection
12467
12468 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12469
12470         * check/Makefile.am:
12471           disable valgrinding the controller test again
12472         * docs/gst/gstreamer-sections.txt:
12473           update for api-changes
12474
12475 2005-09-20  Wim Taymans  <wim@fluendo.com>
12476
12477         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12478         (gst_base_sink_set_property), (gst_base_sink_get_property),
12479         (gst_base_sink_do_sync):
12480         * gst/base/gstbasesink.h:
12481         Added sync property to basesink to disable clock sync.
12482
12483 2005-09-20  Andy Wingo  <wingo@pobox.com>
12484
12485         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12486         eating the caller's refcount.
12487
12488         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12489         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12490         refcount.
12491
12492         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12493         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12494         of GLib 2.8 public, so we can know which refcount to check in
12495         tests.
12496
12497         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12498         (gst_object_init): Only set the gst refcount if we're going ahead
12499         with the refcount hack.
12500
12501 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12502
12503         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12504         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12505           more leaks plumbed, added more debug-logging
12506         * gst/gstmacros.h:
12507           whitespace fix
12508
12509 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12510
12511         * gst/gstmessage.c:
12512           remove include of gstmemchunk.h
12513
12514 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12515
12516         * gst/gstclock.c: (_gst_clock_id_free):
12517           Commit from the Political Party For More Atomic CVS Commits,
12518           so that people don't waste too much of their day fishing
12519           out obvious leaks out of massive commits.
12520           Oh, and fix a pretty damn obvious leak in the memchunk
12521           removal code.
12522
12523 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12524
12525         * check/Makefile.am:
12526         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12527           plug mem-leak, re-add to valgrindable tests
12528
12529 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12530
12531         * gst/gstplugin.h:
12532           unbreak the build for those who have chronic arthritis
12533           and typing "make check" is just too taxing on the hands
12534
12535 2005-09-20  Andy Wingo  <wingo@pobox.com>
12536
12537         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12538         really want it out, you should fix plugins at the same time.
12539
12540 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12541
12542         * configure.ac:
12543         * docs/gst/gstreamer-sections.txt:
12544         * gst/gstobject.c:
12545           added missing symbols to api docs
12546           disable ref-count hack if we have glib >= 2.8
12547
12548 2005-09-19  David Schleef  <ds@schleef.org>
12549
12550         * docs/gst/Makefile.am: Ignore a few more internal headers
12551         * docs/gst/gstreamer-docs.sgml: Remove old sections
12552         * docs/gst/gstreamer-sections.txt: Remove old sections
12553         * docs/gst/tmpl/gstobject.sgml: update
12554         * docs/gst/tmpl/gstplugin.sgml: update
12555         * docs/gst/tmpl/gstpluginfeature.sgml: update
12556         * docs/random/ds/0.9-suggested-changes: update.
12557         * gst/Makefile.am: remove memchunk and trashstack, since they're
12558           not used.
12559         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12560         * gst/gst.h: don't include some headers
12561         * gst/gstchildproxy.c: add gstmarshal.h
12562         * gst/gstclock.c: Don't use memchunks
12563         * gst/gstminiobject.c: Add some docs
12564         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12565         * gst/gstobject.h: same
12566         * gst/gstplugin.c: include gstmacros.h
12567         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12568         * gst/gstquery.c: don't use memchunks
12569         * gst/gstregistry.c: rename gst_registry_deinit()
12570         * gst/gstregistry.h: same
12571
12572 2005-09-19  David Schleef  <ds@schleef.org>
12573
12574         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12575         * docs/libs/gstreamer-libs-sections.txt:
12576         * docs/libs/tmpl/gstgetbits.sgml:
12577         * docs/libs/tmpl/gstputbits.sgml:
12578
12579 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12580
12581         * win32/gstenumtypes.c:
12582         * win32/gstenumtypes.h:
12583           Update.
12584
12585 2005-09-19  Wim Taymans  <wim@fluendo.com>
12586
12587         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12588         Automatically PAUSE and RESUME a pipeline when a flushing seek
12589         is performed.
12590
12591 2005-09-19  Andy Wingo  <wingo@pobox.com>
12592
12593         * gst/gstregistry.h: Spacing fixen.
12594
12595 2005-09-19  Wim Taymans  <wim@fluendo.com>
12596
12597         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12598         Handle state change failure more correctly.
12599
12600 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12601
12602         * check/Makefile.am:
12603         * check/pipelines/cleanup.c: (run_pipeline):
12604         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12605         (GST_START_TEST):
12606           enable cleanup again after fixing the leak
12607         * docs/README:
12608           some more info on docs
12609
12610 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12611
12612         * check/Makefile.am:
12613           re-enable tests now that leaks are plugged
12614         * check/gst/gst.c:
12615         * check/gst/gstbin.c:
12616         * check/gst/gstpipeline.c:
12617           add some more tests while fixing leaks
12618         * common/check.mak:
12619           make sure binaries are uptodate when valgrinding/gdbing
12620         * gst/gst.c:
12621         * gst/gstelementfactory.c:
12622           remove a ref too many, and add a FIXME for when we get
12623           round to disposing of classes
12624         * gst/gstplugin.c:
12625           fix the refcounting when loading a plugin from a file and
12626           the code pretends that the pointer is the same even though
12627           of course it can change
12628         * gst/gstpluginfeature.c:
12629           unref plugins marked cached (a bit confusing as a name)
12630           as the docs state should be done
12631           various doc additions to explain refcounting
12632         * gst/gstregistry.c:
12633         * gst/gstregistryxml.c:
12634           debugging
12635
12636 2005-09-19  Wim Taymans  <wim@fluendo.com>
12637
12638         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12639         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12640         (send_messages), (GST_START_TEST), (gstbus_suite):
12641         * check/gst/gstpipeline.c: (GST_START_TEST):
12642         * check/pipelines/cleanup.c: (run_pipeline):
12643         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12644         (GST_START_TEST):
12645         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12646         (gst_bus_source_check), (gst_bus_source_dispatch),
12647         (gst_bus_create_watch), (gst_bus_add_watch_full),
12648         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12649         * gst/gstbus.h:
12650         * tools/gst-launch.c: (event_loop):
12651         * tools/gst-md5sum.c: (event_loop):
12652         GstBusHandler -> GstBusFunc, return value has the same meaning as
12653         any other GSource (FALSE == remove source).
12654         _add_watch() and _add_watch_full() now take a MessageType mask to
12655         only handle specific types of messages.
12656         _poll() returns the GstMessage instead of the message type to avoid
12657         race conditions.
12658         _have_pending() takes a MessageType mask now too.
12659         Added testsuite for multiple bus watches.
12660         Fix testsuites and applications for new bus API.
12661
12662 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12663
12664         * check/Makefile.am:
12665           mark a bunch of the tests as to fix until we fix them
12666
12667 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12668
12669         * common/check.mak:
12670           use GST_PLUGIN settings for valgrind tests as well, so we're
12671           valgrinding the correct thing
12672         * gst/gst.c: (init_post):
12673           plug another leak
12674
12675 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12676
12677         * gst/gst.c: (init_post), (gst_deinit):
12678         * gst/gstelementfactory.c: (gst_element_factory_class_init),
12679         (gst_element_factory_finalize), (gst_element_factory_cleanup):
12680         * gst/gstindex.c: (gst_index_factory_class_init),
12681         (gst_index_factory_finalize):
12682         * gst/gstobject.c: (gst_object_dispose):
12683         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12684         (gst_plugin_load_file), (gst_plugin_desc_free):
12685         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12686         (gst_plugin_feature_finalize):
12687         * gst/gstregistry.c: (gst_registry_class_init),
12688         (gst_registry_init), (gst_registry_finalize),
12689         (gst_registry_get_default), (gst_registry_deinit):
12690         * gst/gstregistry.h:
12691         * gst/gstregistryxml.c: (load_feature), (load_plugin):
12692           various cleanups and memleak plugging.  make valgrind is happy now.
12693
12694 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12695
12696         * common/check.mak:
12697           add a check-valgrind target
12698
12699 2005-09-18  David Schleef  <ds@schleef.org>
12700
12701         * tools/gst-inspect.c: Revert the GOption code.
12702
12703 2005-09-17  David Schleef  <ds@schleef.org>
12704
12705         * check/Makefile.am: Fix environment variables.
12706         * check/gst/gstplugin.c: Fix for API changes.
12707         * tools/gst-inspect.c: Fix for API changes.
12708         * tools/gst-xmlinspect.c: Fix for API changes.
12709         * gst/gstelementfactory.c:
12710         * gst/gstplugin.c:
12711         * gst/gstplugin.h:
12712         * gst/gstpluginfeature.c:
12713         * gst/gstpluginfeature.h:
12714         * gst/gstregistry.c:
12715         * gst/gstregistry.h:
12716         * gst/gstregistryxml.c:
12717         * gst/gsttypefind.c:
12718         * gst/gsttypefindfactory.c:
12719         * gst/indexers/gstfileindex.c:
12720         * gst/indexers/gstmemindex.c:
12721         * gst/schedulers/Makefile.am:
12722           Change registry to keep track of both plugins and features,
12723           removing the feature tracking from plugins themselves.
12724
12725 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12726
12727         * check/Makefile.am:
12728         * tools/gst-register.1.in:
12729           remove gst-register
12730
12731 2005-09-15  David Schleef  <ds@schleef.org>
12732
12733         * check/gst/gstplugin.c:
12734         * gst/gstelementfactory.c:
12735         * gst/gstplugin.c:
12736         * gst/gstpluginfeature.c:
12737         * gst/gstregistry.c:
12738           Getting tired of debugging.  Disabled all the unreffing of
12739           plugins and features, which fixes the segfaults, but of
12740           course leaks like crazy.  At least playbin works.
12741
12742 2005-09-15  David Schleef  <ds@schleef.org>
12743
12744         * check/gst/gstplugin.c: (register_check_elements),
12745         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12746         More testing
12747         * gst/elements/gsttypefindelement.c: Fix refcounting.
12748         * gst/gsttypefind.c:
12749         * gst/gsttypefindfactory.c:
12750         * gst/gsttypefindfactory.h:
12751
12752 2005-09-15  David Schleef  <ds@schleef.org>
12753
12754         * gst/gstindex.c: get refcounting correct.
12755         * gst/gstregistry.c: Handle the case where a feature/plugin is
12756           not found.
12757
12758 2005-09-15  David Schleef  <ds@schleef.org>
12759
12760         * check/Makefile.am:
12761         * check/gst/gstplugin.c: Add test
12762         * gst/gstplugin.c: Fix problems noticed by testsuite
12763         * gst/gstplugin.h:
12764         * gst/gstregistry.c: 
12765         * gst/gstregistry.h:
12766
12767 2005-09-15  David Schleef  <ds@schleef.org>
12768
12769         * gst/gstplugin.c: Implement semi-decent recounting and locking
12770           in plugins and plugin features.
12771         * gst/gstplugin.h:
12772         * gst/gstpluginfeature.c:
12773         * gst/gstpluginfeature.h:
12774         * gst/gstregistry.c:
12775
12776 2005-09-15  Michael Smith <msmith@fluendo.com>
12777
12778         * gst/gstregistry.c: (gst_registry_get_feature_list):
12779           Implement this. Makes oggdemux work; decodebin still broken.
12780
12781 2005-09-14  David Schleef  <ds@schleef.org>
12782
12783         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12784           #316076)
12785         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12786         * gst/check/Makefile.am:
12787         * libs/gst/controller/Makefile.am:
12788         * libs/gst/dataprotocol/Makefile.am:
12789
12790 2005-09-14  David Schleef  <ds@schleef.org>
12791
12792         * configure.ac: Remove getbits library.  Nothing uses it, and
12793           it should be in something like liboil if someone did want
12794           to use it.
12795         * libs/gst/Makefile.am:
12796         * libs/gst/getbits/Makefile.am:
12797         * libs/gst/getbits/gbtest.c:
12798         * libs/gst/getbits/getbits.c:
12799         * libs/gst/getbits/getbits.h:
12800         * libs/gst/getbits/gstgetbits_generic.c:
12801         * libs/gst/getbits/gstgetbits_i386.s:
12802         * libs/gst/getbits/gstgetbits_inl.h:
12803
12804 2005-09-14  David Schleef  <ds@schleef.org>
12805
12806         * gst/Makefile.am: Dist glib-compat.h
12807
12808 2005-09-14  David Schleef  <ds@schleef.org>
12809
12810         * configure.ac: Remove gst/registries, since it's no longer used.
12811         * gst/registries/Makefile.am:
12812         * gst/registries/gstlibxmlregistry.c:
12813         * gst/registries/gstlibxmlregistry.h:
12814         * gst/registries/gstxmlregistry.c:
12815         * gst/registries/gstxmlregistry.h:
12816         * gst/registries/registrytest.c:
12817
12818 2005-09-14  David Schleef  <ds@schleef.org>
12819
12820         * gst/glib-compat.h:
12821         * gst/gstregistryxml.c:
12822           Convergence is near.  Seriously.
12823
12824 2005-09-14  David Schleef  <ds@schleef.org>
12825
12826         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12827         * gst/glib-compat.h:
12828           Attempt #4 to appease the buildbots.
12829
12830 2005-09-14  David Schleef  <ds@schleef.org>
12831
12832         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12833           Attempt #3.
12834
12835 2005-09-14  David Schleef  <ds@schleef.org>
12836
12837         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12838         Attempt #2.
12839
12840 2005-09-14  David Schleef  <ds@schleef.org>
12841
12842         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12843           the new functions.
12844
12845 2005-09-14  David Schleef  <ds@schleef.org>
12846
12847         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12848         * gst/glib-compat.h: Add some functions that are in newer versions
12849           of glib than we care to require.
12850         * gst/gstregistryxml.c: Use them.
12851
12852 2005-09-14  David Schleef  <ds@schleef.org>
12853
12854         * po/POTFILES.in: remove gst-register.c
12855
12856 2005-09-14  David Schleef  <ds@schleef.org>
12857
12858         * docs/gst/gstreamer-docs.sgml:
12859         * docs/gst/gstreamer-sections.txt:
12860         * docs/gst/gstreamer.types:
12861         * docs/gst/tmpl/gstelement.sgml:
12862         * docs/gst/tmpl/gstplugin.sgml:
12863         * docs/gst/tmpl/gstpluginfeature.sgml:
12864           Documentation updates for registry changes.
12865
12866 2005-09-14  David Schleef  <ds@schleef.org>
12867
12868         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12869           because we don't require glib-2.8.
12870
12871 2005-09-14  David Schleef  <ds@schleef.org>
12872
12873         * gst/gstregistryxml.c: Added.  Essentially moved out of the
12874           registries directory.
12875
12876 2005-09-14  David Schleef  <ds@schleef.org>
12877
12878         * check/Makefile.am:
12879         * check/generic/states.c:
12880         * gst/Makefile.am:
12881         * gst/gst.c:
12882         * gst/gst.h:
12883         * gst/gst_private.h:
12884         * gst/gstelementfactory.c:
12885         * gst/gstindex.c:
12886         * gst/gstinfo.c:
12887         * gst/gstplugin.c:
12888         * gst/gstplugin.h:
12889         * gst/gstpluginfeature.c:
12890         * gst/gstpluginfeature.h:
12891         * gst/gstregistry.c:
12892         * gst/gstregistry.h:
12893         * gst/gstregistrypool.c: remove
12894         * gst/gstregistrypool.h: remove
12895         * gst/gsttypefind.c:
12896         * gst/gsttypefindfactory.c:
12897         * gst/gsturi.c:
12898         * tools/Makefile.am:
12899         * tools/gst-compprep.c:
12900         * tools/gst-inspect.c:
12901         * tools/gst-register.c: remove
12902         * tools/gst-xmlinspect.c:
12903           Registry rewrite.  Changes registry from being a file created
12904           by a tool into a simple cache file created automatically by 
12905           libgstreamer.  Removed gst-register (because it's no longer
12906           needed).  Remove registry pools, because we only have one
12907           registry implementation (XML).  Fix up other subsystems as
12908           necessary.
12909
12910 2005-09-13  Michael Smith <msmith@fluendo.com>
12911
12912         * gst/gstconfig.h.in:
12913           Don't Use windows linking attributes for MinGW. Fixes #316157
12914
12915 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12916
12917         * gst/gstutils.c: (set_state_async_thread_func),
12918         (gst_element_set_state_async):
12919           Apparently people think it's better if this function doesn't
12920           try to set the state to whatever state was asked for on the first
12921           call to this function for any object.  Seriously.
12922
12923 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12924
12925         * check/gst/gstpipeline.c: (GST_START_TEST):
12926         * docs/gst/gstreamer-sections.txt:
12927         * gst/gstutils.c: (set_state_async_thread_func),
12928         (gst_element_set_state_async):
12929         * gst/gstutils.h:
12930           add a "gst_element_set_state_async" method that
12931           sets the state and starts a thread to make sure the state
12932           change completes as best as it can
12933
12934 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12935
12936         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12937           codify design+behaviour in testsuite after discussion
12938
12939 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12940
12941         * docs/gst/tmpl/gstelement.sgml:
12942         * docs/manual/appendix-quotes.xml:
12943           add a quote
12944         * gst/gstelement.c: (gst_element_set_state):
12945           add some debug
12946
12947 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
12948
12949         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12950         (gst_base_transform_prepare_output_buf),
12951         (gst_base_transform_handle_buffer):
12952         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12953         (gst_capsfilter_prepare_buf):
12954           Remove the requirement for sub-classes to call the parent
12955           implementation of prepare_output_buffer with a wrapper function.
12956           
12957         * gst/gsttaglist.h:
12958         * gst/gsttagsetter.h:
12959           Fix #define wrapper
12960
12961 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
12962
12963         * docs/gst/gstreamer-sections.txt:
12964           more doc cleanups
12965
12966 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12967
12968         * docs/gst/gstreamer-sections.txt:
12969         * docs/gst/tmpl/gstelement.sgml:
12970         * docs/gst/tmpl/gstplugin.sgml:
12971         * gst/gstminiobject.c:
12972         * gst/gstvalue.h:
12973           docs now stop throwing warnings
12974
12975 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12976
12977         * docs/gst/gstreamer-sections.txt:
12978         * docs/gst/gstreamer.types:
12979         * docs/gst/tmpl/gstpad.sgml:
12980         * docs/gst/tmpl/gsttypes.sgml:
12981         * gst/base/gstadapter.h:
12982         * gst/base/gstbasesink.h:
12983         * gst/base/gstbasesrc.h:
12984         * gst/gstbin.h:
12985         * gst/gstbuffer.h:
12986         * gst/gstbus.h:
12987         * gst/gstcaps.h:
12988         * gst/gstclock.h:
12989         * gst/gstelement.h:
12990         * gst/gstevent.h:
12991         * gst/gstmessage.h:
12992         * gst/gstpad.h:
12993         * gst/gststructure.c:
12994         * gst/registries/gstlibxmlregistry.h:
12995           various documentation fixes
12996
12997 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12998
12999         * docs/gst/gstreamer-sections.txt:
13000         * docs/gst/tmpl/gstvalue.sgml:
13001           rearrange gstvalue section
13002         * gst/gstutils.c: (gst_element_state_get_name):
13003           NONE -> VOID
13004         * gst/gstvalue.c: (_gst_value_initialize):
13005         * gst/gstvalue.h:
13006           doc updates
13007
13008 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13009
13010         * check/gst-libs/controller.c:
13011           Header include fix.
13012         * gst/base/gstbasetransform.c:
13013         (gst_base_transform_default_prepare_buf),
13014         (gst_base_transform_handle_buffer):
13015         * gst/base/gstbasetransform.h:
13016           Some more basetransform changes and fixes to enable sub-classes
13017           that modify buffer metadata only.
13018         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13019         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13020         (gst_capsfilter_prepare_buf):
13021           If the output pad has fixed allowed caps and input buffers 
13022           don't have any, set the fixed caps on outgoing buffers.
13023
13024 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13025         * check/elements/identity.c: (GST_START_TEST):
13026           Make the error a little clearer when the test fails because
13027           identity made a copy of the buffer.
13028         * docs/gst/gstreamer-sections.txt:
13029           New symbols in gstbasetransform.h
13030         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13031         (gst_base_transform_init), (gst_base_transform_transform_size),
13032         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13033         (gst_base_transform_default_prepare_buf),
13034         (gst_base_transform_get_unit_size),
13035         (gst_base_transform_buffer_alloc),
13036         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13037         (gst_base_transform_change_state),
13038         (gst_base_transform_set_passthrough),
13039         (gst_base_transform_set_in_place),
13040         (gst_base_transform_is_in_place):
13041         * gst/base/gstbasetransform.h:
13042           Change BaseTransform to separate in_place operate from same_caps
13043           output. in_place implies that the element can perform the transform
13044           on incoming buffers in-place, even if the caps on the output are
13045           different.
13046           Sub-class elements can now implement special buffer allocation
13047           methods for outgoing buffers if they wish to.
13048           Big documentation addition.
13049         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13050         * gst/elements/gstelements.c:
13051           Changes for basetransform modifications.
13052         * gst/elements/Makefile.am:
13053         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13054           Compile fix. Extra debug output.
13055
13056 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13057
13058         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13059         (gst_pad_suite):
13060           add tests for valid pad naming
13061         * gst/check/gstcheck.c: (gst_check_log_message_func),
13062         (gst_check_log_critical_func):
13063           add ASSERT_WARNING
13064           remove printing of code, it is fragile when the code contains
13065           % and the line number is enough info
13066         * gst/check/gstcheck.h:
13067         * gst/gstpad.c: (gst_pad_template_new):
13068           fix memleaks
13069
13070 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13071
13072         * configure.ac:
13073           say what CHECK flags we use
13074         * docs/libs/gstreamer-libs.types:
13075         * libs/gst/controller/Makefile.am:
13076         * libs/gst/controller/gst-controller.c:
13077         * libs/gst/controller/gst-controller.h:
13078         * libs/gst/controller/gst-helper.c:
13079         * libs/gst/controller/gst-interpolation.c:
13080         * libs/gst/controller/gstcontroller.c:
13081         * libs/gst/controller/gsthelper.c:
13082         * libs/gst/controller/gstinterpolation.c:
13083         * tools/gst-inspect.c: (print_plugin_info):
13084           we don't use dashes in header names
13085
13086 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13087
13088         * check/Makefile.am:
13089         * check/gst/.cvsignore:
13090         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13091         (gst_pipeline_suite), (main):
13092           adding a test for pipelines and state changes
13093         * gst/gstutils.c: (get_state_func):
13094           add some debugging
13095         * gstreamer.spec.in:
13096           fix up spec file
13097
13098 2005-09-08  Michael Smith <msmith@fluendo.com>
13099
13100         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13101         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13102         (gst_file_src_is_seekable), (gst_file_src_get_size),
13103         (gst_file_src_start):
13104         * gst/elements/gstfilesrc.h:
13105           Various fixes for unseekable, unmmapable, and non-normal files, so
13106           that fallback to read() rather than mmap() works.
13107         * gst/gstevent.c: (gst_event_new_newsegment):
13108           Allow newsegment events with segment_start == segment_end, as will
13109           correctly happen if you use filesrc on a zero-size file, for
13110           example.
13111
13112 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13113
13114         * gst/gstplugin.c: (gst_plugin_load_file):
13115           Call g_module_close when we don't load the module
13116
13117         * gst/registries/gstlibxmlregistry.c:
13118         (gst_xml_registry_get_property):
13119           Port leak fix from 0.8
13120
13121 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13122
13123         * docs/gst/gstreamer-docs.sgml:
13124         * docs/gst/tmpl/.cvsignore:
13125         * docs/gst/tmpl/gsttrace.sgml:
13126         * docs/gst/tmpl/gsttrashstack.sgml:
13127         * gst/Makefile.am:
13128         * gst/gst.h:
13129         * gst/gstelement.h:
13130         * gst/gstevent.h:
13131         * gst/gstmessage.c:
13132         * gst/gstmessage.h:
13133         * gst/gsttag.c:
13134         * gst/gsttag.h:
13135         * gst/gsttaginterface.c:
13136         * gst/gsttaginterface.h:
13137         * gst/gsttaglist.c:
13138         * gst/gsttaglist.h:
13139         * gst/gsttagsetter.c:
13140         * gst/gsttagsetter.h:
13141         * gst/gsttrace.c:
13142         * gst/gsttrace.h:
13143         * gst/gsttrashstack.c:
13144           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13145           inlined docs for gsttrace, gsttrashstack
13146
13147 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13148
13149         * gst/Makefile.am:
13150         * gst/elements/gstbufferstore.h:
13151         * gst/elements/gsttypefindelement.c:
13152         * gst/elements/gsttypefindelement.h:
13153         * gst/gst.h:
13154         * gst/gsttypefind.c:
13155         * gst/gsttypefind.h:
13156         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13157         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13158         (gst_type_find_factory_dispose),
13159         (gst_type_find_factory_unload_thyself),
13160         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13161         (gst_type_find_factory_get_caps),
13162         (gst_type_find_factory_get_extensions),
13163         (gst_type_find_factory_call_function):
13164         * gst/gsttypefindfactory.h:
13165         * gst/registries/gstlibxmlregistry.c:
13166         * gst/registries/gstxmlregistry.c:
13167           splitted gsttypefind into gsttypefind, gsttypefindfactory
13168
13169 2005-09-07  Andy Wingo  <wingo@pobox.com>
13170
13171         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13172         condition whereby the pad's task function is entered before the
13173         pad_mode variable was set.
13174
13175 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13176
13177         * gst/gstpad.c: (gst_pad_alloc_buffer):
13178           Catch misbehaving pad_alloc functions that don't
13179           set up caps and do it for them.
13180
13181 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13182
13183         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13184           test for pipe!=NULL
13185         * docs/gst/tmpl/.cvsignore:
13186         * docs/gst/tmpl/gstmemchunk.sgml:
13187         * docs/gst/tmpl/gstparse.sgml:
13188         * docs/gst/tmpl/gsttaglist.sgml:
13189         * docs/gst/tmpl/gsttagsetter.sgml:
13190         * docs/gst/tmpl/gsttypefind.sgml:
13191         * docs/gst/tmpl/gsttypefindfactory.sgml:
13192         * gst/gstmemchunk.c:
13193         * gst/gstparse.c:
13194         * gst/gsttag.c:
13195         * gst/gsttaginterface.c:
13196         * gst/gsttypefind.c:
13197         * gst/gsttypefind.h:
13198           inlined more docs
13199
13200 === release 0.9.2 ===
13201
13202 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13203
13204         * NEWS:
13205         * RELEASE:
13206         * configure.ac:
13207           releasing 0.9.2, "South"
13208
13209 2005-09-05  Andy Wingo  <wingo@pobox.com>
13210
13211         * gst/registries/gstxmlregistry.h:
13212         * gst/registries/gstxmlregistry.c: Um... resurrect...
13213         
13214         * gst/registries/gstxmlregistry.h:
13215         * gst/registries/gstxmlregistry.c: and update to newer API.
13216         Incidentally they should be a bit faster now that they don't have
13217         to parse the caps.
13218         
13219 2005-09-05  Andy Wingo  <wingo@pobox.com>
13220
13221         * gst/registries/gstxmlregistry.h:
13222         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13223         replaced by the libxml registry a while back
13224
13225 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13226
13227         * docs/gst/tmpl/gstplugin.sgml:
13228         * gst/elements/gstelements.c:
13229         * gst/gst.c:
13230         * gst/gstplugin.c: (gst_plugin_register_func),
13231         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13232         (gst_plugin_get_source):
13233         * gst/gstplugin.h:
13234         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13235         (gst_xml_registry_save_plugin):
13236         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13237         (gst_xml_registry_save_plugin):
13238         * tools/gst-inspect.c: (print_plugin_info):
13239           add a "source" plugin description field, to represent the source
13240           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13241           will set it to PACKAGE, which is automake's idea of the name of
13242           the source project.
13243
13244 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13245
13246         * Makefile.am:
13247         * autogen.sh:
13248         * configure.ac:
13249         * docs/Makefile.am:
13250         * docs/faq/Makefile.am:
13251         * docs/gst/tmpl/gstelement.sgml:
13252         * docs/gst/tmpl/gsttypes.sgml:
13253         * docs/htmlinstall.mak:
13254         * docs/manual/Makefile.am:
13255         * docs/pwg/Makefile.am:
13256           reorganize doc build a little
13257           split out docbook and gtk-doc stuff
13258           have two separate --enable's and enable them through autogen
13259           but disable by default in configure (to be similar to other
13260           projects)
13261         * gstreamer.spec.in:
13262           clean up docs install
13263         * po/af.po:
13264         * po/az.po:
13265         * po/ca.po:
13266         * po/cs.po:
13267         * po/de.po:
13268         * po/en_GB.po:
13269         * po/fr.po:
13270         * po/it.po:
13271         * po/nb.po:
13272         * po/nl.po:
13273         * po/ru.po:
13274         * po/sq.po:
13275         * po/sr.po:
13276         * po/sv.po:
13277         * po/tr.po:
13278         * po/uk.po:
13279         * po/vi.po:
13280           translation updates
13281
13282 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13283
13284         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13285           Add comment.
13286           
13287         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13288         (gst_fake_sink_change_state):
13289           Make state change function thread-safe.
13290           
13291         * gst/gstpad.c: (gst_pad_alloc_buffer):
13292           Set offset on generic buffer allocated by fallback.
13293
13294 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13295
13296         * docs/gst/gstreamer-sections.txt:
13297         * docs/gst/tmpl/gstelement.sgml:
13298         * gst/gstpad.c:
13299         * libs/gst/controller/gst-controller.c:
13300         (gst_controlled_property_set_interpolation_mode),
13301         (gst_controlled_property_new),
13302         (gst_controller_find_controlled_property):
13303          run the wingo-magic script against the docs
13304
13305 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13306
13307         * docs/gst/gstreamer-docs.sgml:
13308         * docs/gst/gstreamer-sections.txt:
13309         * docs/gst/tmpl/.cvsignore:
13310         * docs/gst/tmpl/gstelementdetails.sgml:
13311         * docs/gst/tmpl/gstelementfactory.sgml:
13312         * gst/gst.c:
13313         * gst/gstbus.c:
13314         * gst/gstelementfactory.c:
13315         * gst/gstelementfactory.h:
13316           merged elementdetails docs into elementfactory docs
13317           inlined both
13318
13319 2005-09-02  Andy Wingo  <wingo@pobox.com>
13320
13321         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13322         consider this enum an enum and not a flags.
13323
13324 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13325
13326         * docs/gst/gstreamer-docs.sgml:
13327         * docs/gst/tmpl/.cvsignore:
13328         * docs/gst/tmpl/gstghostpad.sgml:
13329         * docs/gst/tmpl/gstiterator.sgml:
13330         * docs/gst/tmpl/gstmacros.sgml:
13331         * docs/gst/tmpl/gstrealpad.sgml:
13332         * docs/gst/tmpl/gstregistry.sgml:
13333         * docs/gst/tmpl/gstregistrypool.sgml:
13334         * docs/gst/tmpl/gststructure.sgml:
13335         * docs/gst/tmpl/gstsystemclock.sgml:
13336         * docs/gst/tmpl/gsttrace.sgml:
13337         * gst/gstghostpad.c:
13338         * gst/gstmacros.h:
13339         * gst/gstmemchunk.c:
13340         * gst/gstmemchunk.h:
13341         * gst/gstqueue.c:
13342         * gst/gstregistry.c:
13343         * gst/gstregistrypool.c:
13344         * gst/gststructure.c:
13345         * gst/gstsystemclock.c:
13346           more docs inlined
13347
13348 2005-09-02  Andy Wingo  <wingo@pobox.com>
13349
13350         * gst/gstelement.h (GstState): Renamed from GstElementState,
13351         changed to be a normal enum instead of flags.
13352         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13353         munged to be GST_STATE_CHANGE_*.
13354         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13355         work with the new state representation.
13356         (GstStateChange): New enumeration of possible state transitions.
13357         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13358         (GstElementClass::change_state): Pass the GstStateChange along as
13359         an argument. Helps language bindings, so they don't have to use
13360         tricky lock-needing macros like GST_STATE_CHANGE ().
13361
13362         * scripts/update-states (file): New script. Run it on a file to
13363         update it for state naming and API changes. Updates files in
13364         place.
13365
13366         * All files updated for the new API.
13367
13368 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13369
13370         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13371         * gst/gstutils.c: (gst_util_set_value_from_string),
13372         (gst_util_set_object_arg):
13373           fix a bunch of unchecked return values
13374         * tools/gst-complete.c: (main):
13375         * gstreamer.spec.in:
13376           clean up a little
13377
13378 2005-09-01  Wim Taymans  <wim@fluendo.com>
13379
13380         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13381         (gst_base_sink_event), (gst_base_sink_do_sync),
13382         (gst_base_sink_handle_event):
13383         * gst/base/gstbasesink.h:
13384         Handle newsegments more correctly.
13385
13386         * gst/gstbus.c:
13387         Fix docs.
13388
13389         * gst/gstevent.c: (gst_event_new_newsegment):
13390         A newsegment cannot have a start_time of -1
13391
13392 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13393
13394         * win32/gstenumtypes.c:
13395         * win32/gstenumtypes.h:
13396           Update
13397
13398 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13399
13400         * libs/gst/controller/gst-controller.c:
13401         (gst_controlled_property_set_interpolation_mode),
13402         (gst_controlled_property_new):
13403          fixed boolean again
13404
13405 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13406
13407         * docs/faq/gst-uninstalled:
13408           add -good
13409         * gst/gstevent.c:
13410         * gst/gstevent.h:
13411           remove wrong docs
13412         * gst/gstutils.c: (gst_element_link_filtered):
13413         * gst/gstutils.h:
13414           add gst_element_link_filtered
13415
13416 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13417
13418         * docs/gst/gstreamer-docs.sgml:
13419         * docs/gst/gstreamer-sections.txt:
13420         * docs/gst/tmpl/.cvsignore:
13421         * docs/gst/tmpl/gsterror.sgml:
13422         * docs/gst/tmpl/gstfilter.sgml:
13423         * docs/gst/tmpl/gsturihandler.sgml:
13424         * docs/gst/tmpl/gsturitype.sgml:
13425         * docs/gst/tmpl/gstutils.sgml:
13426         * docs/gst/tmpl/gstxml.sgml:
13427         * gst/gsterror.c:
13428         * gst/gsterror.h:
13429         * gst/gstfilter.c:
13430         * gst/gsturi.c:
13431         * gst/gsturitype.c:
13432         * gst/gstutils.c:
13433         * gst/gstxml.c:
13434           inlined more docs, fixed double id-ref
13435
13436 2005-08-31  Wim Taymans  <wim@fluendo.com>
13437
13438         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13439         (gst_base_transform_handle_buffer):
13440         Passthrough elements don't need the caps as they don't care.
13441
13442 2005-08-31  Wim Taymans  <wim@fluendo.com>
13443
13444         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13445         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13446         Don't leak refcounts on buffers.
13447
13448 2005-08-31  Wim Taymans  <wim@fluendo.com>
13449
13450         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13451         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13452         (gst_base_transform_chain), (gst_base_transform_change_state):
13453         * gst/base/gstbasetransform.h:
13454         Handle the case where we are not negotiated more gracefully.
13455
13456 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13457
13458         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13459         (gst_file_src_map_region):
13460           Set READONLY flag on mmap'ed buffers, otherwise
13461           gst_buffer_make_writable() won't work properly (#314708).
13462
13463 2005-08-31  Wim Taymans  <wim@fluendo.com>
13464
13465         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13466         passthrough elements can even do inplace on non writable
13467         buffers (as they don't touch them).
13468
13469 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13470
13471         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13472         (gst_test_mono_source_set_property),
13473         (gst_test_mono_source_class_init), (GST_START_TEST),
13474         (gst_controller_suite):
13475           more tests (hehe I have the most)
13476         * gst/gstbus.c:
13477           describe popping messages whenusing mulltiple sources
13478         * libs/gst/controller/gst-controller.c:
13479         (gst_controlled_property_set_interpolation_mode),
13480         (gst_controlled_property_new):
13481         * libs/gst/controller/gst-controller.h:
13482         * libs/gst/controller/gst-interpolation.c:
13483           implement boolean properties
13484
13485 2005-08-31  Wim Taymans  <wim@fluendo.com>
13486
13487         * gst/gstminiobject.c: (gst_mini_object_ref):
13488         Cannot assert that the refcount has to be positive
13489         since a disposed object can be resurrected.
13490
13491 2005-08-31  Wim Taymans  <wim@fluendo.com>
13492
13493         * gst/gstpad.c: (gst_pad_init):
13494         Revert change, need to first fix badly behaving 
13495         apps.
13496
13497 2005-08-30  Wim Taymans  <wim@fluendo.com>
13498
13499         * check/elements/fakesrc.c: (setup_fakesrc):
13500         * check/elements/identity.c: (setup_identity):
13501         Activate pads before using them.
13502
13503 2005-08-30  Wim Taymans  <wim@fluendo.com>
13504
13505         * gst/base/gstadapter.c: (gst_adapter_flush):
13506         Flushing out 0 bytes is ok for this function.
13507
13508         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13509         no newsegment gives a warning and sets the start/stop to 
13510         invalid.
13511
13512         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13513         (gst_base_transform_set_passthrough):
13514         Some debug info.
13515
13516         * gst/gstminiobject.c: (gst_mini_object_ref):
13517         Check refcount here too.
13518
13519         * gst/gstpad.c: (gst_pad_init):
13520         Pads are initially flushing and refusing data.
13521
13522         * gst/gstutils.c: (gst_element_link_pads_filtered):
13523         When adding a capsfilter element make sure it has the
13524         same state as the parent bin.
13525
13526 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13527
13528         * docs/gst/tmpl/.cvsignore:
13529         * docs/gst/tmpl/gstformat.sgml:
13530         * docs/gst/tmpl/gstversion.sgml:
13531         * gst/gstbus.h:
13532         * gst/gstformat.c:
13533         * gst/gstformat.h:
13534         * gst/gstversion.h.in:
13535           more docs and two more inlined
13536
13537 2005-08-30  Wim Taymans  <wim@fluendo.com>
13538
13539         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13540         Don't sync to clock.
13541
13542 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13543
13544         * docs/gst/gstreamer-sections.txt:
13545           ultral33t func10ns deserve to appear in the docs actually
13546         * docs/gst/tmpl/.cvsignore:
13547         * docs/gst/tmpl/gstcompat.sgml:
13548         * docs/gst/tmpl/gstconfig.sgml:
13549         * gst/check/gstcheck.c:
13550         * gst/gstcompat.h:
13551         * gst/gstconfig.h.in:
13552           inlined more docs
13553
13554 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13555
13556         * docs/gst/tmpl/.cvsignore:
13557         * docs/gst/tmpl/gstquery.sgml:
13558         * docs/gst/tmpl/gstutils.sgml:
13559         * gst/gstquery.c:
13560         * gst/gstquery.h:
13561           inlined and extended docs
13562
13563 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13564
13565         * check/gst-libs/controller.c: (GST_START_TEST),
13566         (gst_controller_suite):
13567           more tests
13568         * docs/gst/tmpl/gstutils.sgml:
13569         * docs/libs/gstreamer-libs-sections.txt:
13570         * docs/libs/tmpl/gstdataprotocol.sgml:
13571           include path fixes
13572         * examples/controller/audio-example.c: (main):
13573           controller example works now
13574         * gst/gstclock.h:
13575           doc fixes
13576         * tools/gst-inspect.c: (print_element_properties_info):
13577           show param spec flags
13578
13579 2005-08-29  Andy Wingo  <wingo@pobox.com>
13580
13581         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13582
13583 2005-08-28  Andy Wingo  <wingo@pobox.com>
13584
13585         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13586         as having two arguments instead of just one. Allows superclasses
13587         to access information on subclasses -- see the terrible for() loop
13588         in gtype.c:g_type_create_instance for the reason why. All callers
13589         changed.
13590
13591 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13592
13593         * docs/design/part-messages.txt:
13594           update info
13595         * docs/gst/tmpl/.cvsignore:
13596         * docs/gst/tmpl/gstcaps.sgml:
13597         * docs/gst/tmpl/gstclock.sgml:
13598         * gst/gstbus.c:
13599         * gst/gstcaps.c:
13600         * gst/gstcaps.h:
13601         * gst/gstclock.c:
13602         * gst/gstclock.h:
13603         * gst/gstmessage.c:
13604           added descriptions for bus and message
13605           inline caps and clock docs
13606
13607 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13608
13609         * gst/gstmessage.c:
13610         * gst/gstmessage.h:
13611           doc fixes
13612
13613 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13614
13615         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13616           fix div-by-zero
13617
13618 2005-08-26  Andy Wingo  <wingo@pobox.com>
13619
13620         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13621         element_set_state's return val.
13622         (test_2_elements): Add test that's been disabled for months.
13623
13624         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13625         can-activate-pull properties.
13626
13627         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13628         can-activate-pull properties. Implement is_seekable so fakesrc can
13629         operate in pull mode.
13630
13631         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13632         properties.
13633         (gst_base_sink_activate, gst_base_sink_activate_pull)
13634         (gst_base_sink_activate_push): Make activation mode choosing work.
13635         Cleanups.
13636         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13637         is right. Make pull mode work. Post an eos before pausing in pull
13638         mode.
13639         (gst_base_sink_change_state): Pay attention to the core's
13640         change_state() return val.
13641         
13642         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13643         has-getrange properties. Cleanups.
13644         
13645         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13646         has_getrange and replace with can_activate_pull and
13647         can_activate_push.
13648
13649         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13650         locking comments. Remove has_loop, has_chain and replace with
13651         can_activate_pull and can_activate_push.
13652
13653 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13654
13655         * configure.ac:
13656         * examples/Makefile.am:
13657         * examples/metadata/Makefile.am:
13658         * examples/metadata/read-metadata.c: (message_loop),
13659         (have_pad_handler), (make_pipeline), (print_tag), (main):
13660           Add metadata reading example that loops over a list of filenames,
13661           dumping any tags found.
13662
13663         * gst/gstbus.c: (gst_bus_dispose):
13664         * gst/gstelement.c: (gst_element_dispose):
13665           Release a few potentially-held references in dispose.
13666
13667 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13668
13669         * docs/gst/tmpl/gstminiobject.sgml:
13670           do *not* add tmpl/*.sgml files to CVS!
13671
13672 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13673
13674         * libs/gst/bytestream/.cvsignore:
13675         * libs/gst/bytestream/Makefile.am:
13676         * libs/gst/bytestream/adapter.c:
13677         * libs/gst/bytestream/adapter.h:
13678         * libs/gst/bytestream/bytestream.c:
13679         * libs/gst/bytestream/bytestream.h:
13680         * libs/gst/bytestream/filepad.c:
13681         * libs/gst/bytestream/filepad.h:
13682           removing obsolete files
13683
13684 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13685
13686         * docs/gst/gstreamer-docs.sgml:
13687         * docs/libs/gstreamer-libs-docs.sgml:
13688           disabed additional index entries again, as this makes docs-gen just
13689           slow and they aren't useful yet
13690         * docs/libs/gstreamer-libs-sections.txt:
13691           little -section.txt cleanup for libs
13692
13693 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13696         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13697           fix up some debugging
13698         (gst_base_transform_get_unit_size),
13699         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13700         (gst_base_transform_handle_buffer):
13701         * gst/base/gstbasetransform.h:
13702           handle and store timed NEWSEGMENT events so that subclasses that
13703           calculate time by counting samples have a segment_start time they
13704           need to add to their timestamps - see audioresample
13705
13706 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13707
13708         * gst/gstbin.h:
13709           removed ';' from the end of macro defs
13710         * docs/gst/gstreamer-docs.sgml:
13711         * docs/gst/gstreamer-sections.txt:
13712         * docs/gst/tmpl/.cvsignore:
13713         * gst/gstbus.h:
13714         * gst/gstelement.c: (gst_element_class_init),
13715         (gst_element_set_state), (activate_pads),
13716         (gst_element_save_thyself):
13717         * gst/gstevent.c: (gst_event_new_newsegment):
13718         * gst/gstevent.h:
13719         * gst/gstiterator.c:
13720         * gst/gstiterator.h:
13721         * gst/gstpad.c:
13722         * gst/gstprobe.h:
13723         * gst/gstutils.c: (gst_pad_query_convert):
13724         * gst/gstutils.h:
13725           fixed parameter name mismatches between source, header and docs
13726           added some more docs, resolved the last batch of unused elements in
13727           docs (now someone needs to doc them)
13728
13729 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13730
13731         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13732         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13733           don't walk through the plugins backwards.  Where is all this
13734           reversed logic coming from ?
13735
13736 2005-08-25  Wim Taymans  <wim@fluendo.com>
13737
13738         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13739         (gst_base_transform_transform_size),
13740         (gst_base_transform_configure_caps),
13741         (gst_base_transform_get_unit_size),
13742         (gst_base_transform_buffer_alloc),
13743         (gst_base_transform_change_state):
13744         * gst/base/gstbasetransform.h:
13745         Cache caps unit_size.
13746         Make sure we cannot negotiate up and downstream at the
13747         same time.
13748
13749 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13750
13751         * gst/gst.c: (init_pre), (init_post):
13752           register the installed plugin path after the env var
13753         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13754         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13755           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13756           directories, so the tests can prefer uninstalled over installed
13757
13758 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13759
13760         * gst/base/gstbasetransform.h:
13761           comment
13762         * gst/gstpad.c:
13763           add to docs
13764
13765 2005-08-25  Wim Taymans  <wim@fluendo.com>
13766
13767         * gst/gstbin.c: (bin_bus_handler):
13768         Be a bit more conservative about the posted message.
13769         
13770         * gst/gstbus.c: (gst_bus_post):
13771         Some cleanups, warn wrong return values.
13772
13773 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
13774
13775         * check/gst/gstbin.c: (GST_START_TEST):
13776         * gst/gstbin.c: (bin_bus_handler):
13777         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13778         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13779         (gst_message_new_warning), (gst_message_new_tag),
13780         (gst_message_new_state_changed), (gst_message_new_segment_start),
13781         (gst_message_new_segment_done), (gst_message_new_custom):
13782         * gst/gstmessage.h:
13783         * tools/gst-launch.c: (event_loop):
13784         * tools/gst-md5sum.c: (event_loop):
13785           Revert unpopular change for GST_MESSAGE_SRC to GObject.
13786
13787 2005-08-25  Wim Taymans  <wim@fluendo.com>
13788
13789         * check/generic/states.c: (GST_START_TEST):
13790         Cleanup can be done at the end.
13791
13792         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13793         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13794         (gst_task_get_state), (gst_task_start), (gst_task_pause):
13795         Oh boy.. Thanks for finding this, Thomas. 
13796
13797 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13798
13799         * docs/gst/gstreamer.types:
13800           added missing types
13801
13802 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13803
13804         * docs/gst/gstreamer-docs.sgml:
13805         * docs/gst/gstreamer-sections.txt:
13806         * docs/gst/tmpl/.cvsignore:
13807         * gst/gstbin.c:
13808         * gst/gstiterator.c:
13809         * gst/gstutils.c:
13810         * gst/registries/gstxmlregistry.h:
13811           added missing classes and symbols (123 more to go)
13812           removed removed symbols from section file
13813           fixed many doc-comments
13814
13815 2005-08-24  Wim Taymans  <wim@fluendo.com>
13816
13817         * check/generic/states.c: (GST_START_TEST):
13818         Make sure all tasks are stopped.
13819
13820         * check/gst/gstbin.c: (GST_START_TEST):
13821         Unref after usage for proper valgrinding.
13822
13823         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13824         Really wait for the task to stop before destroying the
13825         mutex.
13826
13827         * gst/gstqueue.c: (gst_queue_sink_activate_push),
13828         (gst_queue_src_activate_push):
13829         Small cleanups. Don't stop the task when we did not start
13830         it.
13831
13832         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13833         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13834         (gst_task_get_state), (gst_task_start), (gst_task_pause),
13835         (gst_task_join):
13836         * gst/gsttask.h:
13837         Protect the stream lock with the object lock.
13838         Disallow setting the stream lock when running.
13839         Add cleanup_all to wait for the threadpool to finish.
13840         Remove code to autoallocate a mutex if none was provided.
13841         Add _join() to wait for a task to stop.
13842         Protect the thread pool with a global lock.
13843
13844 2005-08-24  Wim Taymans  <wim@fluendo.com>
13845
13846         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13847         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13848         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13849         * gst/base/gstbasesink.h:
13850         Handle newsegment events correctly.
13851         Drop buffers out of the segment range.
13852
13853 2005-08-22  Andy Wingo  <wingo@pobox.com>
13854
13855         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13856         macro, implements an interface and gstimplementsinterface for a
13857         new type.
13858
13859 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13860
13861         * check/Makefile.am:
13862         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13863           add a test that does a bunch of state changes on elements
13864           needs some fixing for valgrind
13865         * check/states/sinks.c: (gst_object_suite):
13866           whitespace
13867         * gst/gstcaps.h:
13868           add prototype for gst_caps_is_equal_fixed
13869         * gst/gstplugin.c:
13870         * gst/gstregistrypool.c:
13871           doc fixes
13872
13873 2005-08-24  Andy Wingo  <wingo@pobox.com>
13874
13875         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13876         convert a negative value. Doesn't make much sense. Mostly this is
13877         here to force callers to ensure -1 maps to -1.
13878
13879 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13880
13881         * docs/pwg/advanced-types.xml:
13882           Well done to Michael for catching my deliberate introduction
13883           of this spelling mistake. 
13884         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13885         * gst/gstelement.h:
13886           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13887           unlink pads before removing the element from the bin.
13888
13889 2005-08-24  Andy Wingo  <wingo@pobox.com>
13890
13891         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13892         the same thing as GST_DEBUG=*:4.
13893         (parse_debug_level, parse_debug_category): New helper parsers.
13894
13895 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13896
13897         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13898         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13899         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13900         (gst_base_transform_buffer_alloc),
13901         (gst_base_transform_handle_buffer):
13902           use gboolean return values and pointers to size so we can use the
13903           full GST_BUFFER_SIZE range (guint) for buffer sizes
13904           use GstPadDirection for transform_caps
13905         * gst/base/gstbasetransform.h:
13906           rename get_size to get_unit_size since that's what it is
13907         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13908           use GstPadDirection for transform_caps
13909         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13910         * gst/gstutils.h:
13911           cleanup and debugging
13912
13913 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13914
13915         * gst/gstelement.c: (gst_element_class_init),
13916         (gst_element_set_state), (activate_pads),
13917         (gst_element_save_thyself):
13918         * tools/gst-compprep.c: (main):
13919         * tools/gst-inspect.c: (print_element_properties_info):
13920         * tools/gst-xmlinspect.c: (print_element_properties):
13921           Fixed long standing mem-leak
13922
13923 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13924
13925         * check/gst/gstbin.c: (GST_START_TEST):
13926         * gst/gstbin.c: (bin_bus_handler):
13927         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13928         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13929         (gst_message_new_warning), (gst_message_new_tag),
13930         (gst_message_new_state_changed), (gst_message_new_segment_start),
13931         (gst_message_new_segment_done), (gst_message_new_custom):
13932         * gst/gstmessage.h:
13933         * tools/gst-launch.c: (event_loop):
13934         * tools/gst-md5sum.c: (event_loop):
13935           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13936           that applications can sensibly post custom messages with references
13937           to their own objects.
13938
13939 2005-08-24  Andy Wingo  <wingo@pobox.com>
13940
13941         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13942         already.
13943
13944 2005-08-24  Wim Taymans  <wim@fluendo.com>
13945
13946         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13947         (gst_base_transform_transform_caps),
13948         (gst_base_transform_transform_size),
13949         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13950         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13951         (gst_base_transform_handle_buffer):
13952         * gst/base/gstbasetransform.h:
13953         Many fixes and new features added by Thomas. Can now also do
13954         transforms with variable sizes and a custom fixate_caps function.
13955
13956 2005-08-24  Wim Taymans  <wim@fluendo.com>
13957
13958         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13959         Some debugging.
13960
13961         * gst/gstclock.h:
13962         Cast to ClockTime before formatting to time.
13963
13964         * gst/gstutils.h:
13965         Cleanups.
13966
13967 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13968
13969         * check/gst-libs/controller.c: (GST_START_TEST),
13970         (gst_controller_suite):
13971         * docs/gst/tmpl/gstcaps.sgml:
13972         * docs/gst/tmpl/gstghostpad.sgml:
13973         * docs/gst/tmpl/gstquery.sgml:
13974         * docs/gst/tmpl/gstutils.sgml:
13975         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
13976         (gst_object_sink_values), (gst_object_get_value_arrays),
13977         (gst_object_get_value_array):
13978           gracefully handle helper method calls to objects that are not beeing
13979           controlled, added test case for that          
13980
13981 2005-08-23  Wim Taymans  <wim@fluendo.com>
13982
13983         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
13984         (gst_event_new_newsegment), (gst_event_parse_newsegment),
13985         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
13986         (gst_event_parse_qos), (gst_event_new_seek),
13987         (gst_event_parse_seek):
13988         * gst/gstevent.h:
13989         Some more debugging output and doc cleanups.
13990
13991         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13992         Fix possible deadlock.
13993
13994 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13995
13996         * docs/gst/gstreamer-docs.sgml:
13997         * docs/gst/gstreamer-sections.txt:
13998         * docs/gst/gstreamer.types:
13999         * docs/gst/tmpl/.cvsignore:
14000         * gst/gstbin.h:
14001         * gst/gstbus.c:
14002         * gst/gstelement.c:
14003         * gst/gstevent.h:
14004           added 100 symbols from gstreamer-unused.txt to the right sections
14005           fixed more broken comments
14006           added GstBus to docs
14007
14008 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14009
14010         * docs/gst/gstreamer-sections.txt:
14011         * docs/gst/tmpl/.cvsignore:
14012         * docs/gst/tmpl/gstbin.sgml:
14013         * docs/gst/tmpl/gstbuffer.sgml:
14014         * gst/base/gstbasesrc.c:
14015         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14016         * gst/gstbuffer.c:
14017         * gst/gstbuffer.h:
14018         * tools/gst-launch.1.in:
14019           inlined more doc comments, added missing comments and fixed comments
14020           fixed typos
14021
14022 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14023
14024         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14025           some debugging
14026         * gst/gstcaps.h:
14027           whitespace fixes
14028         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14029           more debugging
14030         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14031         * gst/gststructure.h:
14032           add a fixate function for booleans; add a FIXME that these func
14033           names should probably be gst_structure_fixate_*
14034
14035 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14036
14037         * docs/gst/gstreamer-docs.sgml:
14038         * docs/gst/gstreamer-sections.txt:
14039         * gst/Makefile.am:
14040         * gst/gstbin.c: (gst_bin_get_type),
14041         (gst_bin_child_proxy_get_child_by_index),
14042         (gst_bin_child_proxy_get_children_count),
14043         (gst_bin_child_proxy_init):
14044         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14045         (gst_child_proxy_get_child_by_index),
14046         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14047         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14048         (gst_child_proxy_get), (gst_child_proxy_set_property),
14049         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14050         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14051         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14052         * gst/gstchildproxy.h:
14053         * gst/parse/grammar.y:
14054         * tools/gst-inspect.c: (print_interfaces),
14055         (print_element_properties_info), (print_element_info):
14056           ported gstchildproxy over from 0.8
14057           ported gst-inspect fixes and enhancements over from 0.8
14058
14059 2005-08-22  Wim Taymans  <wim@fluendo.com>
14060
14061         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14062         (gst_base_transform_handle_buffer):
14063         Also call the transform function if we have ANY caps.
14064
14065         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14066         Fix debug info.
14067
14068 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14069
14070         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14071           Don't pretend to handle seek events if the source is not seekable
14072
14073 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14074
14075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14076           Remove extra parameter to debug output
14077
14078         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14079         (gst_base_src_do_seek), (gst_base_src_activate_push):
14080           Fix seek event handling.
14081
14082         * gst/gstpipeline.c: (gst_pipeline_change_state):
14083         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14084         (gst_queue_src_activate_push):
14085           Don't start the src pad task on FLUSH_STOP if the pad
14086           isn't linked.
14087           Debug changes.
14088
14089 2005-08-22  Wim Taymans  <wim@fluendo.com>
14090
14091         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14092         Added check for gst_static_caps_get() refcounting.
14093
14094 2005-08-22  Wim Taymans  <wim@fluendo.com>
14095
14096         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14097         Make _static_caps_get() refcounting sane.
14098         
14099         * gst/gstelement.c: (gst_element_set_state):
14100         Add g_return_val_if_fail() to protect against segfaults.
14101
14102 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14103
14104         * docs/gst/tmpl/gstevent.sgml:
14105         * gst/gstevent.c:
14106         * gst/gstevent.h:
14107           inlined remaining docs, added missing doc comments
14108
14109 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14110
14111         * check/gst/gstbin.c: (GST_START_TEST):
14112           since we don't know when preroll is done, use refcount range
14113           check for the sink
14114         * gst/check/gstcheck.h:
14115           add macro for checking refcount range
14116
14117 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14118
14119         * check/Makefile.am:
14120           clean up environment for when registry gets built versus
14121           when actual tests are run; valgrind seems to not report
14122           leaks if GST_PLUGIN_PATH is set to some specific values
14123         * check/gst/gstbin.c: (GST_START_TEST):
14124           add more refcounting checks; maybe this exposes a
14125           preroll lock bug ?
14126         * common/check.mak:
14127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14128         * gst/check/gstcheck.h:
14129         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14130         (gst_bin_change_state):
14131         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14132           add/fix debugging/whitespace
14133
14134 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14135
14136         * check/gst/gstevent.c: (event_probe), (test_event),
14137         (GST_START_TEST):
14138          Er, don't call gst_bin_watch_for_state_change you idiot.
14139
14140 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14141
14142         * check/Makefile.am:
14143           Use CHECK_CFLAGS and CHECK_LIBS
14144         * check/gst/gstevent.c: (event_probe), (test_event),
14145         (GST_START_TEST):
14146           Don't leak events.
14147         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14148         (gst_base_src_start), (gst_base_src_stop),
14149         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14150         (gst_base_src_change_state):
14151           Sprinkle gst_base_src_stop liberally around error paths to fix
14152           problems reusing a source after failed state changes.
14153         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14154         (helper_find_suggest), (gst_type_find_helper):
14155           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14156         * gst/gstevent.h:
14157         * docs/gst/tmpl/gstevent.sgml:
14158           Migrate part of the docs from the SGML file. Wait for ensonic to
14159           tell me how I did it wrong ;)
14160         * tools/gst-typefind.c: (main):
14161           Extra robustness to state changes between files.
14162
14163 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14164
14165         * check/Makefile.am:
14166           don't valgrind the controller test - it's leaking - Stefan, HELP
14167         * gst/check/gstcheck.c: (gst_check_message_error),
14168         (gst_check_chain_func), (gst_check_setup_element),
14169         (gst_check_teardown_element), (gst_check_setup_src_pad),
14170         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14171         (gst_check_teardown_sink_pad):
14172         * gst/check/gstcheck.h:
14173           add a bunch of methods to set up elements, and src and sink pads
14174         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14175         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14176         (GST_START_TEST):
14177           use them
14178         * gst/gstmessage.c:
14179         * gst/gsttag.h:
14180           whitespace/doc fixes
14181
14182 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * gst/gstelement.h:
14185           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14186           be handled by the application and not always printed as well
14187
14188 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14189
14190         * check/Makefile.am:
14191           set GST_TOOLS_DIR
14192         * gst/check/gstcheck.c: (gst_check_message_error):
14193         * gst/check/gstcheck.h:
14194           add a fail_unless_equals_int
14195           add fail_unless for error messages
14196
14197 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14198
14199         * check/Makefile.am:
14200         * check/gst.supp:
14201         * common/Makefile.am:
14202         * common/check.mak:
14203         * common/gst.supp:
14204           factor out some of the common stuff so we can use it
14205
14206 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14207
14208         * check/Makefile.am:
14209         * check/gst/gstiterator.c: (GST_START_TEST):
14210         * check/gst/gstsystemclock.c: (GST_START_TEST),
14211         (gst_systemclock_suite):
14212         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14213         * gst/gstclock.c:
14214           valgrind more tests
14215
14216 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * check/elements/.cvsignore:
14219         * check/elements/gstfakesrc.c:
14220           rename to name of element
14221         * check/elements/identity.c: (chain_func), (event_func),
14222         (setup_identity), (cleanup_identity), (GST_START_TEST),
14223         (identity_suite), (main):
14224           add a test for identity
14225         * check/Makefile.am:
14226         * pkgconfig/Makefile.am:
14227         * pkgconfig/gstreamer-check.pc.in:
14228         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14229         * gst/check:
14230         * gst/Makefile.am:
14231         * configure.ac:
14232           move the check stuff to a library that gets installed
14233         * check/gst-libs/controller.c: (GST_START_TEST):
14234         * check/gst-libs/gdp.c:
14235         * check/gst/gst.c: (GST_START_TEST):
14236         * check/gst/gstbin.c:
14237         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14238         * check/gst/gstbus.c:
14239         * check/gst/gstcaps.c: (GST_START_TEST):
14240         * check/gst/gstelement.c:
14241         * check/gst/gstghostpad.c:
14242         * check/gst/gstiterator.c:
14243         * check/gst/gstmessage.c:
14244         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14245         * check/gst/gstobject.c:
14246         * check/gst/gstpad.c: (GST_START_TEST):
14247         * check/gst/gststructure.c: (GST_START_TEST):
14248         * check/gst/gstsystemclock.c: (GST_START_TEST),
14249         (gst_systemclock_suite):
14250         * check/gst/gsttag.c: (gst_tag_suite):
14251         * check/gst/gstvalue.c:
14252         * check/pipelines/cleanup.c:
14253         * check/pipelines/simple_launch_lines.c:
14254         * check/states/sinks.c:
14255           change include statement
14256
14257         * docs/gst/gstreamer-sections.txt:
14258         * docs/gst/tmpl/gstpad.sgml:
14259           document more pad stuff
14260         * gst/gstminiobject.c: (gst_mini_object_ref),
14261         (gst_mini_object_unref):
14262           debug refcounting
14263
14264 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14265
14266         * docs/gst/tmpl/gst.sgml:
14267         * gst/gst.c:
14268           eliminate another tmpl file, fix spelling in the long-description
14269
14270 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14271
14272         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14273         (test_event), (timediff), (gstevents_suite):
14274           Should fix build on 64-bit arch's
14275
14276 2005-08-18  Andy Wingo  <wingo@pobox.com>
14277
14278         Make sure that when a pipeline goes to PLAYING, that data has
14279         actually hit the sink.
14280
14281         * check/states/sinks.c (test_sink): A sink that doesn't get any
14282         data shouldn't return SUCCESS for going to either PLAYING or
14283         PAUSED. Test also the return values on the way back down.
14284
14285         * gst/gstelement.c (gst_element_set_state): When changing the
14286         state of an element currently changing state asynchronously, go to
14287         lost-state after commiting the pending state. Makes future calls
14288         to get_state continue to return ASYNC.
14289
14290         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14291         ASYNC when going to PLAYING if we still don't have preroll, as can
14292         happen with live sources.
14293
14294 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14295
14296         * docs/pwg/advanced-types.xml:
14297           Hack long paragraph into 2 chunks as a workaround for buggy
14298           jadetex version in sid and breezy that loops infinitely and
14299           eats all RAM.
14300
14301 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14302
14303         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14304         (test_event), (timediff), (gstevents_suite):
14305           Provide more error margin in clock measurements to allow for 
14306           g_get_current_time inaccuracies.
14307
14308 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14309
14310         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14311         (test_event), (timediff), (gstevents_suite):
14312            Fix error message output so I might be able to tell why the
14313            test works here but fails on the build farm.
14314
14315 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14316
14317         * check/Makefile.am:
14318         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14319         (test_event), (timediff), (gstevents_suite), (main):
14320           I wrote a test!
14321
14322         * docs/design/part-seeking.txt:
14323           Spelling correction
14324
14325         * docs/gst/tmpl/gstevent.sgml:
14326         * docs/gst/tmpl/gstfakesrc.sgml:
14327           Docs updates.
14328
14329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14330           Treat a buffer-without-newsegment the same as a receiving 
14331           a newsegment not in time format, and disable syncing to the clock
14332           with a warning.
14333
14334         * gst/gstbus.c: (gst_bus_set_sync_handler):
14335           Assert if anyone tries to replace the existing sync_handler for bus, 
14336           as only the owner should be setting it.
14337
14338         * gst/gstevent.h:
14339           Have a fixed set of custom event enums with events identified by
14340           their structure name (as in 0.8), rather than a free-for-all
14341           allowing collisions between enum values from different plugins.
14342
14343         * gst/gstpad.c: (gst_pad_class_init):
14344           Docs change.
14345           
14346         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14347           Handle out-of-band downstream events from the sending thread.
14348
14349 2005-08-17  Andy Wingo  <wingo@pobox.com>
14350
14351         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14352         play-timeout==0 to mean no timeout at all. In that case, don't
14353         bother with a get_state or a warning, just return directly, even
14354         if it's ASYNC.
14355
14356         * gst/base/gstbasetransform.c: Debug changes.
14357
14358         * gst/gstutils.h:
14359         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14360         ensure bins post state change messages. A bit of a hack but I can't
14361         think of a way to avoid it.
14362
14363         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14364
14365 2005-08-16  Andy Wingo  <wingo@pobox.com>
14366
14367         * gst/base/gstadapter.h:
14368         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14369         peek() but you own the data. Not terribly efficient atm.
14370
14371 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14372
14373         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14374         (gst_element_found_tags):
14375         * gst/gstutils.h:
14376           Add two utility functions for tag handling.
14377
14378 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14379
14380         * docs/manual/advanced-dataaccess.xml:
14381         * docs/manual/basics-helloworld.xml:
14382           Fix docs to use _bin_add() before _link(), which fixes the examples
14383           with recent core versions (reported by Madhan Raj M
14384           <raj_madan@rediffmail.com>, #313199).
14385
14386 2005-08-16  Wim Taymans  <wim@fluendo.com>
14387
14388         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14389         Added subtract checks.
14390
14391         * docs/design/part-events.txt:
14392         Some more docs about newsegment
14393
14394         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14395         Fix FIXME
14396
14397         * gst/gstcaps.c: (gst_caps_to_string):
14398         Add comments, cleanups.
14399         
14400         * gst/gstelement.c: (gst_element_save_thyself):
14401         cleanups
14402         
14403         * gst/gstvalue.c: (gst_value_collect_int_range),
14404         (gst_string_unwrap), (gst_value_union_int_int_range),
14405         (gst_value_union_int_range_int_range),
14406         (gst_value_intersect_int_int_range),
14407         (gst_value_intersect_int_range_int_range),
14408         (gst_value_intersect_double_double_range),
14409         (gst_value_intersect_double_range_double_range),
14410         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14411         (gst_value_subtract_int_range_int),
14412         (gst_value_subtract_double_range_double),
14413         (gst_value_subtract_double_range_double_range),
14414         (gst_value_subtract_from_list), (gst_value_subtract_list),
14415         (gst_value_can_compare), (gst_value_compare_fraction):
14416         Cleanups, add comments, remove unneeded asserts.
14417
14418 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14419
14420         * tools/gst-launch.c: (event_loop):
14421           don't convert NULL structures to strings
14422
14423 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14424
14425         * docs/gst/gstreamer-sections.txt:
14426           made some defines private
14427         * docs/gst/tmpl/gstconfig.sgml:
14428         * docs/gst/tmpl/gstqueue.sgml:
14429         * docs/gst/tmpl/gsttaglist.sgml:
14430         * docs/gst/tmpl/gsttypes.sgml:
14431         * docs/gst/tmpl/gstutils.sgml:
14432         * docs/pwg/appendix-porting.xml:
14433         * gst/base/gstbasesink.h:
14434         * gst/base/gstbasesrc.c:
14435         * gst/base/gstbasesrc.h:
14436         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14437         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14438         * gst/gstelement.c: (gst_element_class_init):
14439         * gst/gstpad.c: (gst_pad_class_init):
14440         * gst/gstqueue.c: (gst_queue_class_init):
14441         * gst/gstxml.c: (gst_xml_class_init):
14442           documented all undocumented signal inline
14443         * libs/gst/controller/gst-controller.h:
14444           added padding
14445
14446 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14447
14448         * docs/pwg/appendix-porting.xml:
14449           Document _set_link_function -> _set_setcaps_function.
14450
14451 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14452
14453         * check/Makefile.am:
14454           add a .check target for running the check
14455         * check/gst-libs/controller.c: (GST_START_TEST):
14456           cosmetic fixups
14457         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14458           complete checks for gstbuffer; would be nice if I could get the
14459           gcov stuff to work so I can see if I actually completed gstbuffer.c
14460         * check/gstcheck.h:
14461           add ASSERT_BUFFER_REFCOUNT
14462
14463 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14464
14465         * docs/gst/gstreamer-sections.txt:
14466         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14467         * gst/gsttag.h:
14468           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14469           spew out a warning if a tag that is already registered
14470           is re-registered, unless it is re-registered with a 
14471           different type (#308438).
14472
14473 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * docs/pwg/appendix-porting.xml:
14476         * docs/pwg/building-state.xml:
14477           Add some paragraphs about state changes in 0.9 to the PWG
14478           and the porting guide, in particular about the new meaning
14479           of GST_STATE_PAUSED and how to write state change functions
14480           with concurrent access by multiple threads in mind.
14481
14482 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14483
14484         * docs/gst/gstreamer-docs.sgml:
14485         * docs/libs/gstreamer-libs-docs.sgml:
14486           added deprecation and since indexes
14487         * libs/gst/controller/gst-controller.c:
14488         * libs/gst/controller/gst-helper.c:
14489           added since tags
14490
14491
14492 2005-08-11  Wim Taymans  <wim@fluendo.com>
14493
14494         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14495         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14496         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14497         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14498         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14499         (gst_ghost_pad_set_target):
14500         Actually implement (re)setting the target on a ghostpad
14501         as described in the docs.
14502
14503 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14504
14505         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14506           Check whether GST_DEBUG_NO_COLOR environment variable is
14507           set and disable coloured debug output if that is the case.
14508
14509 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14510
14511         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14512         (gst_type_find_helper):
14513           The memory returned by gst_type_find_peek() needs to
14514           stay valid until the end of a typefind function, and
14515           typefind functions may keep results from different 
14516           offsets around, so we can't just unref the buffer from
14517           the previous _peek(), but have to save all buffers 
14518           returned by _peek() until typefinding is done and only
14519           free them then.
14520
14521 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14522
14523         * docs/gst/gstreamer-sections.txt:
14524         * gst/gstutils.h:
14525           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14526
14527 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14528
14529         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14530           Fix a pretty good memleak.
14531
14532 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14533
14534         * gst/gstiterator.h:
14535           Fix wrong include and 'make distcheck'.
14536
14537 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14538
14539         * gst/gstbin.c: (bin_bus_handler):
14540           Use gst_element_post_message() instead.
14541
14542 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14543
14544         * gst/base/gstadapter.h:
14545         * gst/base/gstbasesink.h:
14546         * gst/base/gstbasesrc.h:
14547         * gst/base/gstbasetransform.h:
14548         * gst/base/gstcollectpads.h:
14549         * gst/base/gstpushsrc.h:
14550         * gst/gstiterator.h:
14551           Add padding to our base elements' class and instance structs and
14552           to GstIterator (you will need to rebuild all plugins and apps!)
14553
14554 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14555
14556         * gst/gstbin.c: (bin_bus_handler):
14557           Make default message forwarding from child->bus to bin->bus
14558           threadsafe and make it not emit warnings if the parent has no bus.
14559
14560 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14561
14562         * gst/gstelement.c: (activate_pads):
14563           On paused->ready, set pad->caps to NULL, as is the documented
14564           behaviour in this state change. Fixes playback of series of
14565           media files when visualization is enabled in Totem.
14566
14567 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14568
14569         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14570           Allow NULL as filter-caps (which means "any").
14571
14572 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14573
14574         * docs/libs/gstreamer-libs-sections.txt:
14575         * libs/gst/controller/gst-controller.c:
14576         * libs/gst/controller/gst-controller.h:
14577         * libs/gst/controller/gst-helper.c:
14578           adding more entries to the docs and fix small doc-bugs
14579
14580 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14581
14582         * docs/gst/gstreamer-docs.sgml:
14583         * docs/gst/gstreamer-sections.txt:
14584         * docs/gst/gstreamer.types:
14585         * docs/gst/tmpl/gstbasesink.sgml:
14586         * docs/gst/tmpl/gstbasesrc.sgml:
14587         * docs/gst/tmpl/gstbasetransform.sgml:
14588         * docs/gst/tmpl/gstfakesrc.sgml:
14589         * gst/base/gstcollectpads.c:
14590         * gst/base/gstcollectpads.h:
14591         * libs/gst/controller/gst-controller.c:
14592         * libs/gst/controller/gst-controller.h:
14593         * libs/gst/controller/gst-helper.c:
14594         * libs/gst/controller/gst-interpolation.c:
14595         * libs/gst/controller/lib.c:
14596           added long/short desc for controller docs
14597           added collectpads base class docs
14598           added correct includes to base-class docs
14599
14600 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14601
14602         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14603         (gst_test_mono_source_set_property),
14604         (gst_test_mono_source_class_init), (GST_START_TEST),
14605         (gst_controller_suite):
14606         * docs/gst/gstreamer-docs.sgml:
14607         * docs/gst/gstreamer-sections.txt:
14608         * docs/gst/gstreamer.types:
14609         * docs/libs/gstreamer-libs-docs.sgml:
14610         * docs/libs/gstreamer-libs-sections.txt:
14611         * gst/base/gstadapter.c:
14612         * libs/gst/controller/gst-controller.c:
14613         (gst_controlled_property_new), (gst_controlled_property_free),
14614         (gst_controller_new_valist),
14615         (gst_controller_remove_properties_valist),
14616         (gst_controller_sink_values), (_gst_controller_finalize):
14617         * libs/gst/controller/gst-controller.h:
14618         * libs/gst/controller/gst-helper.c:
14619         (gst_object_control_properties), (gst_object_uncontrol_properties),
14620         (gst_object_get_controller), (gst_object_set_controller),
14621         (gst_object_sink_values), (gst_object_get_value_arrays),
14622         (gst_object_get_value_array):
14623           more tests (and fixes) for the controller
14624           more docs for the controller
14625           integrated companies docs for the adapter 
14626
14627 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14628
14629         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14630         (GST_START_TEST), (fakesrc_suite):
14631           add tests for sizetype
14632
14633 2005-08-04  Andy Wingo  <wingo@pobox.com>
14634
14635         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14636         fixes buffer_alloc proxying among other things.
14637
14638         * gst/base/gstbasetransform.c:
14639         * gst/base/gstbasetransform.h:
14640         Revert patch to gstbasetransform from 7-28 removing
14641         delay_configure.
14642
14643         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14644         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14645         Semantics changed, should return not the size of the output buffer
14646         but the byte size of a buffer with a given caps.
14647
14648         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14649         debug object.
14650         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14651         out) are not the pad caps until setcaps finishes.
14652         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14653         not-in-place case as well. Deal with changing from in-place to
14654         not-in-place within calling pad_alloc_buffer. Still a bit
14655         concerned about the overhead here...
14656
14657 2005-08-03  Andy Wingo  <wingo@pobox.com>
14658
14659         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14660         fixating is an error.
14661
14662 2005-08-04  Edward Hervey  <edward@fluendo.com>
14663
14664         * gst/base/gstadapter.h: 
14665         Added gst_adapter_get_type() to the header
14666
14667 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14668
14669         * check/Makefile.am:
14670         * check/gst-libs/controller.c:
14671         * libs/gst/controller/gst-controller.c:
14672         (gst_controller_new_valist):
14673           added check test suite for the controller
14674         * gst/base/gstpushsrc.c:
14675           fixed a doc typo
14676
14677 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14678
14679         * docs/gst/Makefile.am:
14680         * docs/gst/gstreamer-docs.sgml:
14681         * docs/gst/gstreamer-sections.txt:
14682         * docs/gst/gstreamer.types:
14683         * docs/gst/tmpl/gstfakesrc.sgml:
14684         * gst/base/README:
14685         * gst/base/gstbasesink.c:
14686         * gst/base/gstbasesink.h:
14687         * gst/base/gstbasesrc.c:
14688         * gst/base/gstbasesrc.h:
14689         * gst/base/gstbasetransform.c:
14690         * gst/base/gstpushsrc.c:
14691         * gst/base/gstpushsrc.h:
14692           add short/long description docs to base classes
14693           add pushsrc to the docs
14694           remove consolidated doc fragments
14695
14696 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14697
14698         * configure.ac:
14699         * docs/libs/Makefile.am:
14700         * docs/libs/gstreamer-libs-docs.sgml:
14701         * docs/libs/gstreamer-libs-sections.txt:
14702         * docs/libs/gstreamer-libs.types:
14703         * examples/Makefile.am:
14704         * examples/controller/.cvsignore:
14705         * examples/controller/Makefile.am:
14706         * examples/controller/audio-example.c: (main):
14707         * libs/gst/Makefile.am:
14708         * libs/gst/controller/.cvsignore:
14709         * libs/gst/controller/Makefile.am:
14710         * libs/gst/controller/gst-controller.c:
14711         (on_object_controlled_property_changed), (gst_timed_value_compare),
14712         (gst_timed_value_find),
14713         (gst_controlled_property_set_interpolation_mode),
14714         (gst_controlled_property_new), (gst_controlled_property_free),
14715         (gst_controller_find_controlled_property),
14716         (gst_controller_new_valist), (gst_controller_new),
14717         (gst_controller_remove_properties_valist),
14718         (gst_controller_remove_properties), (gst_controller_set),
14719         (gst_controller_set_from_list), (gst_controller_unset),
14720         (gst_controller_get), (gst_controller_get_all),
14721         (gst_controller_sink_values), (gst_controller_get_value_arrays),
14722         (gst_controller_get_value_array),
14723         (gst_controller_set_interpolation_mode),
14724         (_gst_controller_finalize), (_gst_controller_init),
14725         (_gst_controller_class_init), (gst_controller_get_type):
14726         * libs/gst/controller/gst-controller.h:
14727         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14728         (g_object_uncontrol_properties), (g_object_get_controller),
14729         (g_object_set_controller), (g_object_sink_values),
14730         (g_object_get_value_arrays), (g_object_get_value_array):
14731         * libs/gst/controller/gst-interpolation.c:
14732         (gst_controlled_property_find_timed_value_node),
14733         (interpolate_none_get), (interpolate_trigger_get),
14734         (interpolate_trigger_get_value_array):
14735         * libs/gst/controller/lib.c: (gst_controller_init):
14736         * pkgconfig/Makefile.am:
14737         * pkgconfig/gstreamer-control-uninstalled.pc.in:
14738         * pkgconfig/gstreamer-control.pc.in:
14739         * testsuite/Makefile.am:
14740         * testsuite/controller/.cvsignore:
14741         * testsuite/controller/Makefile.am:
14742         * testsuite/controller/interpolator.c: (main):
14743           added controller code
14744           removed dparam pc files
14745
14746 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14747         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14748         (gst_collectpads_stop):
14749           Broadcast the condition when shutting down, to make sure we wake all
14750           threads up. Shut down pads on finalize, for safety.
14751
14752 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14753         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14754         (gst_base_transform_handle_buffer),
14755         (gst_base_transform_change_state):
14756           Handle PAUSED->READY->PAUSED transition after negotiation
14757           occurred already.
14758         * gst/gstmessage.c: (gst_message_init):
14759           Extra piece of debug for new messages.
14760
14761 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
14762
14763         * configure.ac:
14764         * docs/gst/tmpl/gstbasesrc.sgml:
14765         * docs/gst/tmpl/gstelement.sgml:
14766         * docs/gst/tmpl/gstevent.sgml:
14767         * docs/gst/tmpl/gstfakesrc.sgml:
14768         * docs/gst/tmpl/gstformat.sgml:
14769         * docs/gst/tmpl/gstghostpad.sgml:
14770         * docs/gst/tmpl/gstpad.sgml:
14771         * docs/gst/tmpl/gstquery.sgml:
14772         * docs/gst/tmpl/gststructure.sgml:
14773         * docs/gst/tmpl/gsttaglist.sgml:
14774         * docs/gst/tmpl/gstvalue.sgml:
14775         * docs/libs/gstreamer-libs-docs.sgml:
14776         * docs/libs/gstreamer-libs-sections.txt:
14777         * docs/libs/gstreamer-libs.types:
14778         * libs/gst/Makefile.am:
14779         * libs/gst/control/.cvsignore:
14780         * libs/gst/control/Makefile.am:
14781         * libs/gst/control/control.c:
14782         * libs/gst/control/control.h:
14783         * libs/gst/control/dparam.c:
14784         * libs/gst/control/dparam.h:
14785         * libs/gst/control/dparam_smooth.c:
14786         * libs/gst/control/dparam_smooth.h:
14787         * libs/gst/control/dparamcommon.h:
14788         * libs/gst/control/dparammanager.c:
14789         * libs/gst/control/dparammanager.h:
14790         * libs/gst/control/dplinearinterp.c:
14791         * libs/gst/control/dplinearinterp.h:
14792         * libs/gst/control/unitconvert.c:
14793         * libs/gst/control/unitconvert.h:
14794         * testsuite/Makefile.am:
14795         * testsuite/dynparams/.cvsignore:
14796         * testsuite/dynparams/Makefile.am:
14797         * testsuite/dynparams/dparamstest.c:
14798         * tools/Makefile.am:
14799         * tools/gst-inspect.c: (print_element_info), (main):
14800         * tools/gst-xmlinspect.c: (print_element_info), (main):
14801           deactivate and remove dparams (libgstcontrol)
14802
14803 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14804
14805         * gst/elements/gsttypefindelement.c:
14806         (gst_type_find_element_have_type), (gst_type_find_element_init),
14807         (stop_typefinding), (gst_type_find_element_handle_event),
14808         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14809         * gst/elements/gsttypefindelement.h:
14810           Set caps on all outgoing buffers, not just the first one.
14811
14812 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14813
14814         * gst/elements/gsttypefindelement.c:
14815         (gst_type_find_element_have_type),
14816         (gst_type_find_element_check_set_buffer_caps),
14817         (gst_type_find_element_init), (stop_typefinding),
14818         (gst_type_find_element_handle_event),
14819         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14820         * gst/elements/gsttypefindelement.h:
14821           Set caps on first outgoing buffer when we've found the type.
14822
14823 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14824
14825         * docs/gst/gstreamer-docs.sgml:
14826         * docs/gst/gstreamer-sections.txt:
14827         * docs/gst/tmpl/gstscheduler.sgml:
14828         * docs/gst/tmpl/gstschedulerfactory.sgml:
14829           Remove some old cruft from docs.
14830
14831 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
14832
14833         * gst/gstpad.h:
14834           Fix inline docs for GstPadLinkReturn.
14835           
14836         * gst/gststructure.c: (gst_structure_has_name):
14837         * gst/gststructure.h:
14838         * docs/gst/gstreamer-sections.txt:
14839           New API: gst_structure_has_name().
14840
14841 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
14842
14843         * configure.ac:
14844           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14845           and _LARGEFILE_SOURCE in config.h as required. Do not 
14846           export those flags in our .pc files any longer (#142209).
14847
14848           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14849
14850         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14851         (gst_file_sink_do_seek), (gst_file_sink_event),
14852         (gst_file_sink_get_current_offset), (gst_file_sink_render):
14853           Redo seek/tell calls with large file support in mind; add some
14854           debugging messages; add log message that tells us when large
14855           file support is unavailable or not enabled for some reason.
14856
14857         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14858           Add log message that tells us when large file support 
14859           is unavailable or not enabled for some reason.
14860
14861 2005-07-29  Wim Taymans  <wim@fluendo.com>
14862
14863         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14864         Added test for removing an element with ghostpad from a bin.
14865         Fixed test as current implementation does the right thing.
14866
14867         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14868         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14869         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14870         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14871         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14872         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14873         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14874         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14875         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14876         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14877         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14878         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14879         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14880         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14881         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14882         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14883         * gst/gstghostpad.h:
14884         Clean up ghostpads, remove properties for internal stuff.
14885         Make threadsafe.
14886         Fix refcounting.
14887         Prepare for switching targets, not all use cases work yet.
14888
14889 2005-07-29  Wim Taymans  <wim@fluendo.com>
14890
14891         * docs/design/part-gstghostpad.txt:
14892         Small update.
14893
14894         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14895         (gst_bin_remove_func):
14896         Unlinking pads while holding the bin LOCK is not a good
14897         idea.
14898
14899         * gst/gstpad.c: (gst_pad_class_init),
14900         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14901         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14902         No prob setting template after creating the pad.
14903
14904 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
14905
14906         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14907         (gst_bus_peek), (gst_bus_source_dispatch),
14908         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14909         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14910           gst_bus_poll may be called from other threads. Handle
14911           this nicely by not making poll_data disappear off the
14912           stack once gst_bus_poll returns.
14913           gst_bus_peek now increments the refcount on the returned
14914           message.
14915
14916 2005-07-29  Wim Taymans  <wim@fluendo.com>
14917
14918         * docs/design/part-gstghostpad.txt:
14919         Overview of current GhostPad datastructures and use
14920         cases for changing the target.
14921
14922 2005-07-28  Wim Taymans  <wim@fluendo.com>
14923
14924         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14925         Added checks for hierarchy consistency whan adding linked
14926         elements to bins.
14927
14928         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14929         Added check to test element scheduling without bin/pipeline.
14930
14931         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14932         First add elements to bin, then link.
14933         
14934         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14935         (gst_bin_remove_func):
14936         Unlink pads from elements added/removed from bin to maintain
14937         hierarchy consistency.
14938
14939 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14940
14941         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14942         (gst_base_transform_handle_buffer):
14943         * gst/base/gstbasetransform.h:
14944           Remove broken delay_configure (fixes renegotiation of software
14945           scaling pipelines); remove some leftover printf()s.
14946
14947 2005-07-28  Wim Taymans  <wim@fluendo.com>
14948
14949         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14950         Added some more tests for wrong hierarchy
14951
14952         * docs/design/part-overview.txt:
14953         Some updates.
14954
14955         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14956         Cleanups.
14957
14958         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14959         (gst_element_dispose):
14960         Some more cleanups.
14961
14962         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14963         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14964         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14965         (gst_pad_set_caps), (gst_pad_send_event):
14966         Check for correct hierarchy when linking pads. Moving to
14967         strict requirement for ghostpads when linking elements in
14968         different bins.
14969
14970         * gst/gstpad.h:
14971         Clean ups. Added WRONG_HIERARCHY return value.
14972
14973 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14974
14975         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14976           Better debug if no transform is possible.
14977
14978 2005-07-27  Wim Taymans  <wim@fluendo.com>
14979
14980         * docs/random/wtay/network-transp:
14981         Some old doc I had.
14982
14983 2005-07-27  Wim Taymans  <wim@fluendo.com>
14984
14985         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14986         (gst_dp_event_from_packet):
14987         Fix serialization of seek events.
14988
14989 2005-07-27  Wim Taymans  <wim@fluendo.com>
14990
14991         * check/gst-libs/gdp.c: (GST_START_TEST):
14992         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14993         Fix compilation and fix event serialization.
14994
14995 2005-07-27  Wim Taymans  <wim@fluendo.com>
14996
14997         * CHANGES-0.9:
14998         * docs/design/part-TODO.txt:
14999         * docs/design/part-events.txt:
15000         Some docs updates
15001
15002         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15003         (gst_base_sink_event), (gst_base_sink_do_sync),
15004         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15005         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15006         (gst_base_src_do_seek), (gst_base_src_event_handler),
15007         (gst_base_src_loop):
15008         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15009         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15010         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15011         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15012         (gst_base_transform_set_passthrough),
15013         (gst_base_transform_is_passthrough):
15014         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15015         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15016         Event updates.
15017
15018         * gst/gstbuffer.h:
15019         Use faster casts.
15020
15021         * gst/gstelement.c: (gst_element_seek):
15022         * gst/gstelement.h:
15023         Update gst_element_seek.
15024
15025         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15026         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15027         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15028         (gst_event_new_eos), (gst_event_new_newsegment),
15029         (gst_event_parse_newsegment), (gst_event_new_tag),
15030         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15031         (gst_event_parse_qos), (gst_event_new_seek),
15032         (gst_event_parse_seek), (gst_event_new_navigation):
15033         * gst/gstevent.h:
15034         Make GstEvent use GstStructure. Add parsing code, make sure the
15035         API is sufficiently generic.
15036         Mark possible directions of events and serialization.
15037
15038         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15039         (_gst_message_copy), (gst_message_new_segment_start),
15040         (gst_message_new_segment_done), (gst_message_new_custom),
15041         (gst_message_parse_segment_start),
15042         (gst_message_parse_segment_done):
15043         Small cleanups.
15044
15045         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15046         (gst_pad_set_caps), (gst_pad_send_event):
15047         Update for new events. 
15048         Catch events sent in wrong directions.
15049
15050         * gst/gstqueue.c: (gst_queue_link_src),
15051         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15052         (gst_queue_handle_src_query):
15053         Event updates.
15054
15055         * gst/gsttag.c:
15056         * gst/gsttag.h:
15057         Remove event code from this file.
15058
15059         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15060         (gst_dp_event_from_packet):
15061         Event updates.
15062
15063 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15064
15065         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15066         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15067         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15068           Make debugging actually useful.
15069
15070 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15071
15072         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15073         (gst_pad_fixate_caps):
15074           Implement default fixation once again, so that gst_pad_fixate()
15075           actually does anything at all. This probably needs to be some
15076           sort of a last resort, and use profile-based fixation first, but
15077           since that doesn't exist yet, this is the best we have. Fixes
15078           visualization in Totem.
15079
15080 2005-07-22  Wim Taymans  <wim@fluendo.com>
15081
15082         * docs/design/part-events.txt:
15083         Small update.
15084
15085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15086         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15087         (gst_base_sink_activate_pull):
15088         Some more comments.
15089
15090         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15091         (gst_fake_src_create):
15092         Fix handoff marshall.
15093
15094         * gst/elements/gstidentity.c: (gst_identity_class_init),
15095         (gst_identity_transform_ip):
15096         We're a real inplace element.
15097
15098         * gst/gstbus.c: (gst_bus_post):
15099         Added some comments.
15100
15101         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15102         * tests/muxing/case1.c: (main):
15103         * tests/sched/dynamic-pipeline.c: (main):
15104         * tests/sched/interrupt1.c: (main):
15105         * tests/sched/interrupt2.c: (main):
15106         * tests/sched/interrupt3.c: (main):
15107         * tests/sched/runxml.c: (main):
15108         * tests/sched/sched-stress.c: (main):
15109         * tests/seeking/seeking1.c: (event_received), (main):
15110         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15111         (main):
15112         * tests/threadstate/threadstate3.c: (main):
15113         * tests/threadstate/threadstate4.c: (main):
15114         * tests/threadstate/threadstate5.c: (main):
15115         Fix the tests.
15116
15117 2005-07-21  Wim Taymans  <wim@fluendo.com>
15118
15119         * docs/design/part-seeking.txt:
15120         Some small additions.
15121
15122         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15123         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15124         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15125         * gst/base/gstbasesink.h:
15126         discont values are gint64, handle the math correctly.
15127
15128         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15129         Make the basesrc report error if the source pad is not linked.
15130
15131         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15132         (gst_queue_loop), (gst_queue_handle_src_query),
15133         (gst_queue_src_activate_push):
15134         Make queue collect data even if the srcpad is not linked.
15135         Start pushing out data as soon as it is linked.
15136
15137         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15138         * gst/gstutils.h:
15139         Added gst_flow_get_name() to ease error reporting.
15140
15141 2005-07-20  Wim Taymans  <wim@fluendo.com>
15142
15143         * gst/gstmessage.c: (gst_message_new_segment_start),
15144         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15145         (gst_message_parse_segment_done):
15146         * gst/gstmessage.h:
15147         Added a bunch of messages for advanced seeking.
15148
15149         * gst/parse/grammar.y:
15150         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15151         (gst_dpman_state_changed):
15152         Fix some new-pad -> pad-added signals
15153
15154 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15155
15156         * docs/manual/appendix-porting.xml:
15157         * docs/pwg/appendix-porting.xml:
15158           Document new-pad/state-change signal renames and the FixedList
15159           type rename.
15160
15161 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15162
15163         * docs/manual/advanced-autoplugging.xml:
15164         * docs/manual/basics-helloworld.xml:
15165         * docs/manual/basics-pads.xml:
15166         * docs/random/ds/0.9-suggested-changes:
15167         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15168         * gst/gstelement.h:
15169         * gst/gstevent.h:
15170         * gst/gstformat.h:
15171         * gst/gstquery.h:
15172         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15173         (gst_structure_parse_array), (gst_structure_parse_value):
15174         * gst/gstvalue.c: (gst_type_is_fixed),
15175         (gst_value_list_prepend_value), (gst_value_list_append_value),
15176         (gst_value_list_get_size), (gst_value_list_get_value),
15177         (gst_value_transform_array_string), (gst_value_serialize_array),
15178         (gst_value_deserialize_array), (gst_value_intersect_array),
15179         (gst_value_is_fixed), (_gst_value_initialize):
15180         * gst/gstvalue.h:
15181           GstElement::new-pad -> pad-added, GstElement::state-change ->
15182           state-changed, GstValueFixedList -> GstValueArray, add format and
15183           flags as their own arguments in gst_element_seek() (should improve
15184           "bindeability"), remove function generators since they don't work
15185           under a whole bunch of compilers (they were deprecated already
15186           anyway).
15187
15188 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15189
15190         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15191         (_gst_debug_register_funcptr):
15192         * gst/gstinfo.h:
15193           Fix illegal cast on some platforms (#309253).
15194
15195 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15196
15197         * gst/gstmessage.c: (gst_message_new_custom):
15198         * gst/gstmessage.h:
15199           Add _new_custom, make _new_application a macro to _new_custom.
15200
15201 2005-07-20  Wim Taymans  <wim@fluendo.com>
15202
15203         * gst/base/gstbasesrc.c: (gst_base_src_init),
15204         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15205         * gst/base/gstbasesrc.h:
15206         Add a gboolean to decide when to push out a discont.
15207
15208         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15209         (gst_queue_loop), (gst_queue_handle_src_query),
15210         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15211         (gst_queue_set_property), (gst_queue_get_property):
15212         Some cleanups.
15213
15214         * tests/threadstate/threadstate1.c: (main):
15215         Make a thread test compile and run... very silly..
15216
15217
15218 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15219
15220         * docs/manual/appendix-porting.xml:
15221           Mention removal of libgstgconf-0.9.la and existence of gconf
15222           elements.
15223
15224 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15225
15226         * docs/pwg/advanced-clock.xml:
15227         * docs/pwg/appendix-porting.xml:
15228         * docs/pwg/intro-preface.xml:
15229         * docs/pwg/other-base.xml:
15230         * docs/pwg/other-manager.xml:
15231         * docs/pwg/other-nton.xml:
15232         * docs/pwg/other-ntoone.xml:
15233         * docs/pwg/other-oneton.xml:
15234         * docs/pwg/pwg.xml:
15235           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15236           demuxer), remove n-to-n (was never written), fix some code examples
15237           and links and update the porting section to include all this.
15238
15239 2005-07-19  Wim Taymans  <wim@fluendo.com>
15240
15241         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15242         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15243         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15244         (gst_queue_src_activate_push), (gst_queue_change_state),
15245         (gst_queue_get_property):
15246         * gst/gstqueue.h:
15247         Propagate GstFlowReturn more intelligently upstream and output
15248         an ERROR/EOS when streaming stopped due to fatal error.
15249
15250 2005-07-19  Wim Taymans  <wim@fluendo.com>
15251
15252         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15253         Don't block forever for the state change to complete, the
15254         pipeline already did with a sensible timeout.
15255
15256 2005-07-19  Wim Taymans  <wim@fluendo.com>
15257
15258         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15259         Make sure we never call the create function is we
15260         got deactivated.
15261
15262 2005-07-19  Andy Wingo  <wingo@pobox.com>
15263
15264         * gst/parse/parse.l: Attempt to solve bug #172815.
15265
15266 2005-07-19  Wim Taymans  <wim@fluendo.com>
15267
15268         * docs/design/part-clocks.txt:
15269         * docs/design/part-events.txt:
15270         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15271         Small docs updates.
15272         Only update the seeking values when we are not
15273         busy streaming.
15274
15275 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15276
15277         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15278           Oops, ignore the result of gst_pad_push_event here.
15279
15280 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15281
15282         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15283         (gst_base_src_activate_push):
15284           Send discont event from the loop function, as pads
15285           aren't activated yet in the activate_push handler.
15286
15287         * gst/gstbin.c: (bin_bus_handler):
15288           Don't leak element name.
15289
15290 2005-07-18  Andy Wingo  <wingo@pobox.com>
15291
15292         * configure.ac: Use AS_LIBTOOL_TAGS.
15293
15294 2005-07-18  Wim Taymans  <wim@fluendo.com>
15295
15296         * docs/gst/gstreamer.types:
15297         Remove deleted types.
15298
15299 2005-07-18  Wim Taymans  <wim@fluendo.com>
15300
15301         * check/elements/gstfakesrc.c: (GST_START_TEST):
15302         * configure.ac:
15303         * gst/Makefile.am:
15304         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15305         (init_popt_callback):
15306         * gst/gst.h:
15307         * gst/gst_private.h:
15308         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15309         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15310         * gst/gstbin.h:
15311         * gst/gstbus.h:
15312         * gst/gstconfig.h.in:
15313         * gst/gstelement.c: (gst_element_class_init),
15314         (gst_element_set_base_time), (gst_element_get_base_time),
15315         (iterator_fold_with_resync), (gst_element_change_state),
15316         (gst_element_dispose), (gst_element_get_bus):
15317         * gst/gstelement.h:
15318         * gst/gstelementfactory.h:
15319         * gst/gsterror.c: (_gst_core_errors_init):
15320         * gst/gsterror.h:
15321         * gst/gstevent.h:
15322         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15323         * gst/gstindex.c:
15324         * gst/gstinfo.c: (_gst_debug_init):
15325         * gst/gstmessage.c: (_gst_message_copy):
15326         * gst/gstmessage.h:
15327         * gst/gstminiobject.h:
15328         * gst/gstobject.c:
15329         * gst/gstobject.h:
15330         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15331         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15332         * gst/gstpad.h:
15333         * gst/gstparse.h:
15334         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15335         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15336         (gst_pipeline_get_last_stream_time):
15337         * gst/gstpipeline.h:
15338         * gst/gstpluginfeature.h:
15339         * gst/gstquery.h:
15340         * gst/gstscheduler.c:
15341         * gst/gstscheduler.h:
15342         * gst/gststructure.h:
15343         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15344         (gst_task_finalize), (gst_task_func), (gst_task_create),
15345         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15346         (gst_task_stop), (gst_task_pause):
15347         * gst/gsttask.h:
15348         * gst/gsttypefind.h:
15349         * gst/gsttypes.h:
15350         * gst/registries/gstlibxmlregistry.c: (load_feature),
15351         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15352         * gst/registries/gstxmlregistry.c:
15353         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15354         * gst/schedulers/threadscheduler.c:
15355         * libs/gst/control/dparammanager.h:
15356         * tools/gst-inspect.c: (print_element_list),
15357         (print_plugin_features), (print_element_features):
15358         * tools/gst-xmlinspect.c: (print_element_list),
15359         (print_plugin_info), (main):
15360         Removed plugable schedulers.
15361         Removed Scheduler/Manager from elements.
15362         Removed gsttypes.h, rearranged includes.
15363         Removed dependency pad<->element, element<>pipeline, and
15364         various others,  fix includes.
15365         implement gst_pad_get_parent() with gst_object_get_parent()
15366         Make GstTask sefcontained.
15367         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15368         timeout.
15369         Fix endless loop in iterator_fold_with_resync.
15370
15371
15372 2005-07-18  Wim Taymans  <wim@fluendo.com>
15373
15374         * gst/Makefile.am:
15375         * gst/gstarch.h:
15376         Remove old file.
15377
15378 2005-07-18  Wim Taymans  <wim@fluendo.com>
15379
15380         * gst/Makefile.am:
15381         No more cothreads.h
15382
15383 2005-07-18  Wim Taymans  <wim@fluendo.com>
15384
15385         * gst/cothreads.c:
15386         * gst/cothreads.h:
15387         Let's remove these.
15388
15389 2005-07-18  Wim Taymans  <wim@fluendo.com>
15390
15391         * docs/design/part-dynamic.txt:
15392         * docs/design/part-events.txt:
15393         * docs/design/part-seeking.txt:
15394         Some more docs in the works.
15395
15396         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15397         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15398         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15399         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15400         (gst_base_transform_handle_buffer),
15401         (gst_base_transform_sink_activate_push),
15402         (gst_base_transform_src_activate_pull),
15403         (gst_base_transform_set_passthrough),
15404         (gst_base_transform_is_passthrough):
15405         Refcounting fixes.
15406
15407         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15408         Cleanups.
15409
15410         * gst/gstevent.c: (gst_event_finalize):
15411         Set SRC to NULL.
15412
15413         * gst/gstutils.c: (gst_element_unlink),
15414         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15415         (gst_pad_proxy_setcaps):
15416         * gst/gstutils.h:
15417         Add _get_parent_element() to get a pads parent as an element.
15418
15419 2005-07-18  Wim Taymans  <wim@fluendo.com>
15420
15421         * check/gst/gstbin.c: (GST_START_TEST):
15422         Remove bogus test.
15423
15424 2005-07-18  Wim Taymans  <wim@fluendo.com>
15425
15426         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15427         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15428         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15429         (gst_base_sink_event), (gst_base_sink_do_sync),
15430         (gst_base_sink_chain), (gst_base_sink_loop),
15431         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15432         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15433         Refcounting fixes.
15434         Fix logic for returning ASYNC when not prerolled.
15435
15436 2005-07-18  Wim Taymans  <wim@fluendo.com>
15437
15438         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15439         Fix nasty refcount bug.
15440
15441 2005-07-16 Philippe Khalaf <burger@speedy.org>
15442
15443         * gst/elements/gstfdsrc.c:
15444         * gst/elements/gstfdsrc.h:
15445         * gst/elements/gstelements.c:
15446         * gst/elements/Makefile.am:
15447         Ported fdsrc to 0.9.
15448
15449 2005-07-16  Wim Taymans  <wim@fluendo.com>
15450
15451         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15452         (gst_base_sink_do_sync):
15453         Fix compile error.
15454
15455 2005-07-16  Wim Taymans  <wim@fluendo.com>
15456
15457         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15458         (gst_base_sink_event), (gst_base_sink_get_times),
15459         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15460         * gst/base/gstbasesink.h:
15461         Store and use discont values when syncing buffers as described
15462         in design docs.
15463         
15464         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15465         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15466         (gst_base_src_activate_push):
15467         Push discont event when starting.
15468
15469         * gst/elements/gstidentity.c: (gst_identity_transform):
15470         Small cleanups.
15471
15472         * gst/gstbin.c: (gst_bin_change_state):
15473         Small cleanups in base_time  distribution.
15474
15475         * gst/gstelement.c: (gst_element_set_base_time),
15476         (gst_element_get_base_time), (gst_element_change_state):
15477         * gst/gstelement.h:
15478         Added methods for the base_time of the element.
15479         Some MT fixes.
15480
15481         * gst/gstpipeline.c: (gst_pipeline_send_event),
15482         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15483         (gst_pipeline_get_last_stream_time):
15484         * gst/gstpipeline.h:
15485         MT fixes.
15486         Handle seeking as described in design doc, remove stream_time
15487         hack.
15488         Cleanups clock and stream_time selection code. Added accessors
15489         for the stream_time.
15490         
15491
15492 2005-07-16  Andy Wingo  <wingo@pobox.com>
15493
15494         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15495         (#305291).
15496
15497 2005-07-16  Wim Taymans  <wim@fluendo.com>
15498
15499         * check/gst/gstbin.c: (GST_START_TEST):
15500         Make elements silent as the deep_notify refs the
15501         parent, which might make the test fail.
15502
15503         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15504         Don't hold the lock for too long.
15505
15506 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15507
15508         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15509           Don't unref the caps we passed to gst_caps_make_writable() after
15510           passing them. gst_caps_make_writable() will do that for us.
15511
15512 2005-07-15  Andy Wingo  <wingo@pobox.com>
15513
15514         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15515         (#157311).
15516
15517         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15518         own marshalling function for the handoff signal. Properly type the
15519         buffer as a buffer. Fixes some warnings. Should do a more general
15520         solution.
15521         (gst_identity_class_init): Plug into the right marshaller.
15522
15523 2005-07-15  Wim Taymans  <wim@fluendo.com>
15524
15525         * docs/design/part-TODO.txt:
15526         * docs/design/part-clocks.txt:
15527         * docs/design/part-element-sink.txt:
15528         * docs/design/part-events.txt:
15529         * docs/design/part-gstpipeline.txt:
15530         Updated docs, mostly DISCONT related.
15531
15532 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15533
15534         * docs/pwg/building-pads.xml:
15535           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15536
15537 2005-07-15  Andy Wingo  <wingo@pobox.com>
15538
15539         * tools/gst-typefind.c: Update, add copyright block.
15540
15541         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15542         Normalize and truncate caps before fixation.
15543
15544         * gst/gstcaps.h:
15545         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15546         discards all but the first structure from its argument.
15547
15548 2005-07-15  Wim Taymans  <wim@fluendo.com>
15549
15550         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15551         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15552         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15553         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15554         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15555         (gst_base_transform_chain), (gst_base_transform_change_state),
15556         (gst_base_transform_set_passthrough),
15557         (gst_base_transform_is_passthrough):
15558         * gst/base/gstbasetransform.h:
15559         Make passthrough work using the bufferpools.
15560         Changed API a bit, subclasses have to write into a buffer
15561         provided by the base class.
15562         More debug info in nego functions.
15563         
15564         * gst/elements/gstidentity.c: (gst_identity_init),
15565         (gst_identity_transform):
15566         Port to new base class.
15567
15568 2005-07-15  Wim Taymans  <wim@fluendo.com>
15569
15570         * gst/gstmessage.c: (gst_message_new_state_changed):
15571         * tools/gst-launch.c: (event_loop), (main):
15572         Totally dump messages in -launch with the -m option.
15573         Fix message name for State messages,
15574
15575 2005-07-14  Wim Taymans  <wim@fluendo.com>
15576
15577         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15578         Post error messages on errors.
15579
15580 2005-07-14  Wim Taymans  <wim@fluendo.com>
15581
15582         * gst/gstcaps.c: (gst_caps_do_simplify):
15583         Remove debug info.
15584
15585         * gst/gsterror.h:
15586         Define error for stream stopped.
15587
15588         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15589         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15590         Do proper return values.
15591
15592         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15593         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15594         (gst_pad_get_range):
15595         Better return values.
15596
15597         * gst/gstpad.h:
15598         Reorganise return values, add macro to check for fatal errors.
15599
15600         * gst/gstqueue.c: (gst_queue_chain):
15601         Return proper GstFlowReturn values,
15602
15603 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15604
15605         * docs/gst/gstreamer-sections.txt:
15606         * docs/gst/gstreamer.types:
15607         * docs/gst/tmpl/gst.sgml:
15608         * docs/gst/tmpl/gstbasesink.sgml:
15609         * docs/gst/tmpl/gstbasesrc.sgml:
15610         * docs/gst/tmpl/gstbasetransform.sgml:
15611         * docs/gst/tmpl/gstbin.sgml:
15612         * docs/gst/tmpl/gstbuffer.sgml:
15613         * docs/gst/tmpl/gstcaps.sgml:
15614         * docs/gst/tmpl/gstclock.sgml:
15615         * docs/gst/tmpl/gstcompat.sgml:
15616         * docs/gst/tmpl/gstconfig.sgml:
15617         * docs/gst/tmpl/gstelement.sgml:
15618         * docs/gst/tmpl/gstelementdetails.sgml:
15619         * docs/gst/tmpl/gstelementfactory.sgml:
15620         * docs/gst/tmpl/gstenumtypes.sgml:
15621         * docs/gst/tmpl/gsterror.sgml:
15622         * docs/gst/tmpl/gstevent.sgml:
15623         * docs/gst/tmpl/gstfakesink.sgml:
15624         * docs/gst/tmpl/gstfakesrc.sgml:
15625         * docs/gst/tmpl/gstfilesink.sgml:
15626         * docs/gst/tmpl/gstfilesrc.sgml:
15627         * docs/gst/tmpl/gstfilter.sgml:
15628         * docs/gst/tmpl/gstformat.sgml:
15629         * docs/gst/tmpl/gstghostpad.sgml:
15630         * docs/gst/tmpl/gstimplementsinterface.sgml:
15631         * docs/gst/tmpl/gstindex.sgml:
15632         * docs/gst/tmpl/gstindexfactory.sgml:
15633         * docs/gst/tmpl/gstinfo.sgml:
15634         * docs/gst/tmpl/gstiterator.sgml:
15635         * docs/gst/tmpl/gstmacros.sgml:
15636         * docs/gst/tmpl/gstmemchunk.sgml:
15637         * docs/gst/tmpl/gstminiobject.sgml:
15638         * docs/gst/tmpl/gstobject.sgml:
15639         * docs/gst/tmpl/gstpad.sgml:
15640         * docs/gst/tmpl/gstpadtemplate.sgml:
15641         * docs/gst/tmpl/gstparse.sgml:
15642         * docs/gst/tmpl/gstpipeline.sgml:
15643         * docs/gst/tmpl/gstplugin.sgml:
15644         * docs/gst/tmpl/gstpluginfeature.sgml:
15645         * docs/gst/tmpl/gstquery.sgml:
15646         * docs/gst/tmpl/gstqueue.sgml:
15647         * docs/gst/tmpl/gstregistry.sgml:
15648         * docs/gst/tmpl/gstregistrypool.sgml:
15649         * docs/gst/tmpl/gstscheduler.sgml:
15650         * docs/gst/tmpl/gstschedulerfactory.sgml:
15651         * docs/gst/tmpl/gststructure.sgml:
15652         * docs/gst/tmpl/gstsystemclock.sgml:
15653         * docs/gst/tmpl/gsttaglist.sgml:
15654         * docs/gst/tmpl/gsttagsetter.sgml:
15655         * docs/gst/tmpl/gsttrace.sgml:
15656         * docs/gst/tmpl/gsttrashstack.sgml:
15657         * docs/gst/tmpl/gsttypefind.sgml:
15658         * docs/gst/tmpl/gsttypefindfactory.sgml:
15659         * docs/gst/tmpl/gsttypes.sgml:
15660         * docs/gst/tmpl/gsturihandler.sgml:
15661         * docs/gst/tmpl/gsturitype.sgml:
15662         * docs/gst/tmpl/gstutils.sgml:
15663         * docs/gst/tmpl/gstvalue.sgml:
15664         * docs/gst/tmpl/gstversion.sgml:
15665         * docs/gst/tmpl/gstxml.sgml:
15666         * docs/libs/tmpl/gstcontrol.sgml:
15667         * docs/libs/tmpl/gstdataprotocol.sgml:
15668         * docs/libs/tmpl/gstdparam.sgml:
15669         * docs/libs/tmpl/gstdplinint.sgml:
15670         * docs/libs/tmpl/gstdpman.sgml:
15671         * docs/libs/tmpl/gstdpsmooth.sgml:
15672         * docs/libs/tmpl/gstgetbits.sgml:
15673         * docs/libs/tmpl/gstunitconvert.sgml:
15674         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15675         (gst_push_src_base_init), (gst_push_src_class_init),
15676         (gst_push_src_init), (gst_push_src_create):
15677         * gst/base/gstpushsrc.h:
15678         * gst/elements/gstelements.c:
15679         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15680         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15681         (gst_fake_sink_init), (gst_fake_sink_set_property),
15682         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15683         (gst_fake_sink_event), (gst_fake_sink_preroll),
15684         (gst_fake_sink_render), (gst_fake_sink_change_state):
15685         * gst/elements/gstfakesink.h:
15686         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15687         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15688         (gst_fake_src_base_init), (gst_fake_src_class_init),
15689         (gst_fake_src_init), (gst_fake_src_event_handler),
15690         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15691         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15692         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15693         (gst_fake_src_create_buffer), (gst_fake_src_create),
15694         (gst_fake_src_start), (gst_fake_src_stop):
15695         * gst/elements/gstfakesrc.h:
15696         * gst/elements/gstfilesink.c: (_do_init),
15697         (gst_file_sink_base_init), (gst_file_sink_class_init),
15698         (gst_file_sink_init), (gst_file_sink_dispose),
15699         (gst_file_sink_set_location), (gst_file_sink_set_property),
15700         (gst_file_sink_get_property), (gst_file_sink_open_file),
15701         (gst_file_sink_close_file), (gst_file_sink_query),
15702         (gst_file_sink_event), (gst_file_sink_render),
15703         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15704         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15705         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15706         * gst/elements/gstfilesink.h:
15707         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15708         (gst_file_src_class_init), (gst_file_src_init),
15709         (gst_file_src_finalize), (gst_file_src_set_location),
15710         (gst_file_src_set_property), (gst_file_src_get_property),
15711         (gst_file_src_map_region), (gst_file_src_map_small_region),
15712         (gst_file_src_create_mmap), (gst_file_src_create_read),
15713         (gst_file_src_create), (gst_file_src_is_seekable),
15714         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15715         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15716         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15717         (gst_file_src_uri_handler_init):
15718         * gst/elements/gstfilesrc.h:
15719           more autistic cleanliness in functions/names/defines
15720
15721 2005-07-13  Andy Wingo  <wingo@pobox.com>
15722
15723         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15724         source couldn't negotiate.
15725
15726         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15727         connections again.
15728
15729         * gst/gstutils.h:
15730         * gst/gstutils.c (gst_element_link_pads_filtered): New old
15731         function. I am channeling Hades. Put your boots on suckers!!!
15732
15733 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15734
15735         * testsuite/caps/Makefile.am:
15736         * testsuite/caps/value_compare.c:
15737         * testsuite/caps/value_intersect.c:
15738         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15739           move two testsuite apps over to the check dir
15740
15741 2005-07-12  Wim Taymans  <wim@fluendo.com>
15742
15743         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15744         Added more debug info in the negotiate process.
15745
15746         * gst/gstmessage.h:
15747         Prepare for segment playback.
15748
15749         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15750         Better debugging.
15751
15752         * gst/gstutils.c:
15753         Some more docs.
15754
15755         * tools/gst-launch.c: (main):
15756         NULL pipeline on errors.
15757
15758 2005-07-12  Andy Wingo  <wingo@pobox.com>
15759
15760         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15761         not it comes from a malloc region. Make sure our copy gets freed.
15762
15763 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15764
15765         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15766         * check/gst/gstmessage.c: (GST_START_TEST):
15767         * check/gst/gststructure.c: (GST_START_TEST),
15768         (gst_structure_suite), (main):
15769           more testing
15770         * gst/gstelement.c: (gst_element_message_full):
15771           clean up GError and debug string now that they get copied
15772         * gst/gstmessage.c: (gst_message_new_error),
15773         (gst_message_new_warning), (gst_message_parse_error),
15774         (gst_message_parse_warning):
15775           use GST_TYPE_G_ERROR for structure_new, and take copies of
15776           arguments, so that we don't mess up refcounting
15777
15778 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15779
15780         * check/Makefile.am:
15781           add per-test valgrind targets
15782         * check/gst-libs/gdp.c: (GST_START_TEST),
15783         (gst_data_protocol_suite), (main):
15784           clean up
15785
15786 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15787
15788         * check/Makefile.am:
15789           instate more valgrindable tests
15790         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15791         (GST_START_TEST), (fakesrc_suite):
15792         * check/gst/gstpad.c: (GST_START_TEST):
15793         * check/gst/gststructure.c: (GST_START_TEST):
15794           fix test leaks
15795         * docs/gst/tmpl/gstminiobject.sgml:
15796         * gst/gstpad.c: (gst_pad_finalize):
15797           fix the static mutex leak
15798
15799 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15800
15801         * check/Makefile.am:
15802           add two more tests for valgrinding
15803         * check/gst/gstvalue.c: (GST_START_TEST):
15804           test refcount of deserialized buffer, found a leak
15805         * docs/gst/gstreamer-docs.sgml:
15806         * docs/gst/gstreamer-sections.txt:
15807         * docs/gst/gstreamer.types:
15808         * docs/gst/tmpl/gstminiobject.sgml:
15809           add miniobject to docs
15810         * gst/gstminiobject.c:
15811           add some docs
15812         * gst/gstvalue.c: (gst_value_deserialize_buffer),
15813         (gst_string_unwrap):
15814           fix a hard-to-find invalid write for one of the tests
15815           fix a leak for deserialized buffers
15816
15817 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15818
15819         * docs/pwg/advanced-events.xml:
15820         * docs/pwg/advanced-request.xml:
15821         * docs/pwg/advanced-scheduling.xml:
15822         * docs/pwg/appendix-porting.xml:
15823         * docs/pwg/building-boiler.xml:
15824         * docs/pwg/intro-preface.xml:
15825         * docs/pwg/other-ntoone.xml:
15826           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15827           of example code and explanation for pad activation, loop() and
15828           getrange() functions and a bit more. Remove old comments pointing
15829           to loop-functions.
15830         * examples/pwg/Makefile.am:
15831           Add loop/getrange examples.
15832
15833 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15834
15835         * configure.ac:
15836           check for valgrind binary + some fixes
15837         * check/gst.supp:
15838           valgrind suppressions for the tests
15839         * check/Makefile.am:
15840           add a valgrind: target that valgrinds the unit tests
15841         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15842         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15843         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15844         * check/gst/gstghostpad.c:
15845           added some cleanup
15846         * check/gst/gstdata.c:
15847           removed
15848         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15849         (thread_unref), (gst_mini_object_suite), (main):
15850           added
15851         * gst/gst.c: (gst_deinit):
15852         * gst/gst.h:
15853           add a method to clean up.
15854         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15855         (gst_system_clock_obtain):
15856           allow for disposing the system clock.
15857         * tools/gst-launch.c: (main):
15858           deinit
15859
15860 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15861
15862         * docs/gst/tmpl/gstbasesrc.sgml:
15863         * docs/gst/tmpl/gstfakesrc.sgml:
15864         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15865         (gst_base_src_init), (gst_base_src_set_property),
15866         (gst_base_src_get_property), (gst_base_src_get_range),
15867         (gst_base_src_start):
15868         * gst/base/gstbasesrc.h:
15869           add num-buffers property
15870         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15871         (gst_fakesrc_init), (gst_fakesrc_set_property),
15872         (gst_fakesrc_get_property), (gst_fakesrc_create),
15873         (gst_fakesrc_start):
15874           remove num-buffers property
15875
15876 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15877
15878         * docs/gst/gstreamer-sections.txt:
15879         * docs/gst/tmpl/gstbasesink.sgml:
15880         * docs/gst/tmpl/gstbasesrc.sgml:
15881         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15882         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15883         (gst_base_sink_finalize), (gst_base_sink_set_clock),
15884         (gst_base_sink_set_property), (gst_base_sink_get_property),
15885         (gst_base_sink_handle_object), (gst_base_sink_event),
15886         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15887         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15888         (gst_base_sink_loop), (gst_base_sink_deactivate),
15889         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15890         (gst_base_sink_change_state):
15891         * gst/base/gstbasesink.h:
15892         * gst/base/gstbasesrc.h:
15893         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15894         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15895         (gst_filesink_init):
15896           more macro splitting
15897
15898 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15899
15900         * gst/gstelement.c: (gst_element_get_bus):
15901           add debug
15902         * tools/gst-launch.c: (check_intr), (event_loop):
15903           fix bus leaks
15904
15905 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15906
15907         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15908           fix a caps leak
15909
15910 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15911
15912         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15913         (gst_base_src_finalize):
15914           add finalize method and clean up properly
15915         * gst/gstpipeline.c: (gst_pipeline_dispose):
15916           add debug
15917
15918 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15919
15920         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15921         (gst_bin_suite):
15922           add more things to check
15923         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15924         * gst/gstelement.c:
15925           more debug
15926
15927 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15928
15929         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15930         (GST_START_TEST), (fakesrc_suite):
15931         * check/gst-libs/gdp.c: (GST_START_TEST):
15932         * check/gst/gst.c: (GST_START_TEST):
15933         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15934         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15935         * check/gst/gstbus.c: (GST_START_TEST):
15936         * check/gst/gstcaps.c: (GST_START_TEST):
15937         * check/gst/gstdata.c: (GST_START_TEST):
15938         * check/gst/gstelement.c: (GST_START_TEST):
15939         * check/gst/gstghostpad.c: (GST_START_TEST):
15940         * check/gst/gstiterator.c: (GST_START_TEST):
15941         * check/gst/gstmessage.c: (GST_START_TEST):
15942         * check/gst/gstobject.c: (GST_START_TEST):
15943         * check/gst/gstpad.c: (GST_START_TEST):
15944         * check/gst/gststructure.c: (GST_START_TEST):
15945         * check/gst/gstsystemclock.c: (GST_START_TEST),
15946         (gst_systemclock_suite):
15947         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15948         * check/gst/gstvalue.c: (GST_START_TEST):
15949         * check/pipelines/cleanup.c: (GST_START_TEST):
15950         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15951         * check/states/sinks.c: (GST_START_TEST):
15952         * check/gstcheck.c: (gst_check_init):
15953         * check/gstcheck.h:
15954           add debugging category
15955           use GST_START_TEST now, so we add a debug line
15956
15957 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15958
15959         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15960           add test for state change message on a bin
15961         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15962           add another test
15963         * gst/gstbin.c: (gst_bin_init):
15964         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15965         * gst/gstelement.c: (gst_element_post_message),
15966         (gst_element_set_state):
15967         * gst/gstelementfactory.c: (gst_element_factory_create):
15968         * gst/gstmessage.c: (gst_message_new):
15969         * gst/gstscheduler.c:
15970           various debugging additions and cleanups
15971
15972 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15973
15974         * check/Makefile.am:
15975         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
15976         (main):
15977           adding tests for elements
15978         * gst/gstelement.c: (gst_element_dispose):
15979
15980 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15981
15982         * gst/registries/gstlibxmlregistry.c: (load_feature):
15983           plug more leaks.  A simple gst_init() now is leakfree, yay.
15984
15985 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15986
15987         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
15988         (gst_xml_registry_load):
15989           plug another memleak
15990
15991 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15992
15993         * configure.ac:
15994           use GST_SET_ERROR_CFLAGS
15995         * docs/faq/cvs.xml:
15996           change to ERROR_CFLAGS
15997
15998 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15999
16000         * configure.ac:
16001           make GST_ERROR_CFLAGS overridable and re-enable Werror
16002         * docs/faq/cvs.xml:
16003           add a note about error CFLAGS
16004         * docs/gst/tmpl/gstfakesrc.sgml:
16005         * gst/elements/gstfakesrc.c:
16006           comment out some unused code
16007         * gst/gst.c: (split_and_iterate):
16008         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16009         (load_feature):
16010           plug some memleaks
16011
16012 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16013
16014         * common/Makefile.am:
16015         * common/gtk-doc.mak:
16016         * docs/gst/Makefile.am:
16017           factor out gtk-doc.mak
16018
16019 2005-07-07  Wim Taymans  <wim@fluendo.com>
16020
16021         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16022         (gst_thread_scheduler_dispose):
16023         Unlock the STREAM_LOCK completely.
16024
16025 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16026
16027         * check/Makefile.am:
16028         * check/elements/.cvsignore:
16029         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16030         (START_TEST), (fakesrc_suite), (main):
16031         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16032         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16033         (gst_fakesrc_create), (gst_fakesrc_start):
16034         * gst/elements/gstfakesrc.h:
16035           adding a first element test
16036
16037 2005-07-07  Andy Wingo  <wingo@pobox.com>
16038
16039         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16040         debug message.
16041
16042 2005-07-07  Wim Taymans  <wim@fluendo.com>
16043
16044         * gst/gstquery.c:
16045         * gst/gstquery.h:
16046         Remove old types
16047
16048 2005-07-07  Wim Taymans  <wim@fluendo.com>
16049
16050         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16051         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16052         Allow subclasses to implement their own negotiation.
16053
16054 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16055
16056         * docs/design/part-gstbin.txt:
16057         * docs/design/part-gstpipeline.txt:
16058           Update design notes to reflect the movement of
16059           responsibility for bus handling from GstPipeline to
16060           GstBin
16061
16062 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16063
16064         * configure.ac:
16065           Remove unnecessary queue2/3/4 examples.
16066
16067 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16068
16069         * examples/Makefile.am:
16070         * examples/helloworld/helloworld.c: (event_loop), (main):
16071         * examples/queue/queue.c: (event_loop), (main):
16072         * examples/queue2/queue2.c: (main):
16073           Update a couple of the examples to work again.
16074
16075         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16076         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16077          Spelling corrections and extra debug.
16078         
16079         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16080         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16081         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16082         * gst/gstbin.h:
16083         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16084         (gst_pipeline_change_state):
16085         * gst/gstpipeline.h:
16086           Move the bus handler for children to the GstBin, and create a
16087           separate bus for receiving messages from children to the one the
16088           bus sends 'upwards' on.
16089
16090 2005-07-06  Wim Taymans  <wim@fluendo.com>
16091
16092         * gst/base/README:
16093         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16094         (gst_base_sink_handle_object), (gst_base_sink_loop),
16095         (gst_base_sink_change_state):
16096         * gst/base/gstbasesink.h:
16097         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16098         (gst_base_src_init), (gst_base_src_setcaps),
16099         (gst_base_src_getcaps), (gst_base_src_loop),
16100         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16101         (gst_base_src_start), (gst_base_src_change_state):
16102         * gst/base/gstbasesrc.h:
16103         Make basesrc negotiate.
16104         Handle the case where preroll fails in basesink.
16105         Update README.
16106
16107 2005-07-06  Wim Taymans  <wim@fluendo.com>
16108
16109         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16110         Implement the fixate function.
16111         Clean up acceptcaps.
16112
16113 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16114
16115         * docs/pwg/building-filterfactory.xml:
16116         * docs/pwg/pwg.xml:
16117           Remove never-written filter-factory chapter; I'll add the various
16118           base classes to part 4 ("other element types") later on.
16119
16120 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16121
16122         * docs/pwg/advanced-negotiation.xml:
16123         * docs/pwg/building-boiler.xml:
16124         * docs/pwg/building-pads.xml:
16125         * docs/pwg/pwg.xml:
16126         * examples/pwg/Makefile.am:
16127           Add a chapter on caps negotiation, simplify the original code
16128           samples a bit w.r.t. caps negotiation, add link to the advanced
16129           section. Add a bunch of examples showing different use cases of
16130           different types of caps negotiation. Upstream renegotiation isn't
16131           fully documented yet since nobody knows how that works.
16132
16133 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16134
16135         * check/gst/gstpad.c:
16136         * check/gstcheck.c:
16137         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16138           if pad has no parent, return NULL as list of internal links
16139
16140 2005-07-05  Andy Wingo  <wingo@pobox.com>
16141
16142         * gst/elements/gstfilesrc.c:
16143         * gst/elements/gstfakesrc.c: 
16144         * gst/base/gstpushsrc.c:
16145         * gst/base/gstbasesrc.h: 
16146         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16147         
16148 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16149
16150         * Makefile.am:
16151           better report generation target (lcov needs a patch)
16152
16153 2005-07-05  Andy Wingo  <wingo@pobox.com>
16154
16155         * gst/elements, testsuite: Null if we got it...
16156
16157 2005-07-05  Wim Taymans  <wim@fluendo.com>
16158
16159         * configure.ac:
16160         * libs/gst/dataprotocol/Makefile.am:
16161         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16162         * libs/gst/dataprotocol/dataprotocol.h:
16163         * pkgconfig/Makefile.am:
16164         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16165         * pkgconfig/gstreamer-dataprotocol.pc.in:
16166         Ported dataprotol to 0.9. 
16167         Added pkgconfig files.
16168
16169 2005-07-05  Andy Wingo  <wingo@pobox.com>
16170
16171         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16172         Default to returning TRUE for the case when tranform_caps returns
16173         a fixed caps, like for identity or volume.
16174
16175         * check/gst/gstbus.c (pound_bus_with_messages): 
16176         * check/gst/gstmessage.c (START_TEST): 
16177         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16178         message API change.
16179
16180         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16181         logic weaks here: always run transform_caps, trying passthrough
16182         operation only if the original caps intersects with the transform.
16183
16184         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16185         source and sink caps.
16186
16187         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16188         Intersect the peer caps with the pad template before going into
16189         transform_caps.
16190         (gst_base_transform_transform_caps): More debugging.
16191
16192         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16193         src argument.
16194
16195 2005-07-04  Edward Hervey  <edward@fluendo.com>
16196
16197         * gst/gstutils.c:
16198         * gst/gstutils.h:
16199         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16200         in bindings.
16201
16202 2005-07-04  Andy Wingo  <wingo@pobox.com>
16203
16204         * check/gst/gstpad.c: Only set explicit caps on pads.
16205
16206 2005-07-01  Andy Wingo  <wingo@pobox.com>
16207
16208         * tests/network-clock.scm: Commentary update.
16209
16210         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16211         Didn't really make sense, not implementable with basetransform,
16212         etc.
16213         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16214         attempt at implementing the sync property, needs an unlock method.
16215
16216         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16217         New func, by default returns the same caps (the identity
16218         transformation).
16219         (gst_base_transform_getcaps): Uses transform_caps to return
16220         something sensible.
16221         (gst_base_transform_setcaps): Complicated logic to get caps on
16222         both pads, even if they are different, and to call set_caps once
16223         for every time both pads get their caps set.
16224         (gst_base_transform_handle_buffer): Give the ref to the transform
16225         function. Allows in-place modification of the buffer.
16226
16227         * gst/base/gstbasetransform.h (transform_caps): New class method.
16228         Given caps on one side, what can I do on the other.
16229         (set_caps): Take two caps, one for each side of the element.
16230
16231         * gst/gstpad.h:
16232         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16233         caps in place. This is safe because we can check the mutability of
16234         the caps, and a good idea because fixate functions are just called
16235         as a matter of last resort. (Not actually implemented.)
16236         (gst_pad_set_caps): If the caps we're setting is actually the same
16237         as the existing pad caps, just update the pointer without calling
16238         setcaps. Assert that caps is either NULL or fixed, as per the
16239         docs.
16240
16241         * gst/gstghostpad.c: Update for fixate changes.
16242
16243 2005-07-02  Andy Wingo  <wingo@pobox.com>
16244
16245         * gst/gstcaps.c:
16246         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16247         two refcounts makes it immutable, which is enough. Doc more.
16248
16249 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16250
16251         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16252           Put the mini_object into GValue as a mini_object,
16253           not a gpointer, since that's how we declared
16254           the signal.
16255
16256 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16257
16258         * examples/pwg/Makefile.am:
16259           Fix buildbot again.
16260
16261 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16262
16263         * docs/pwg/building-testapp.xml:
16264           Add extra check.
16265         * examples/pwg/Makefile.am:
16266           Fix buildbot.
16267
16268 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16269
16270         * configure.ac:
16271         * examples/Makefile.am:
16272         * examples/pwg/Makefile.am:
16273         * examples/pwg/extract.pl:
16274           Enable building the PWG examples.
16275         * docs/pwg/advanced-interfaces.xml:
16276           Add URI interface stub.
16277         * docs/pwg/advanced-types.xml:
16278         * docs/pwg/other-autoplugger.xml:
16279         * docs/pwg/appendix-porting.xml:
16280         * docs/pwg/pwg.xml:
16281           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16282         * docs/pwg/building-boiler.xml:
16283         * docs/pwg/building-chainfn.xml:
16284         * docs/pwg/building-pads.xml:
16285         * docs/pwg/building-props.xml:
16286         * docs/pwg/building-state.xml:
16287         * docs/pwg/building-testapp.xml:
16288           Update the building-*.xml parts for 0.9 changes. All examples
16289           code blocks compile in examples/pwg/*.
16290
16291 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16292
16293         * docs/manual/advanced-autoplugging.xml:
16294         * docs/manual/appendix-checklist.xml:
16295         * docs/manual/appendix-integration.xml:
16296         * docs/manual/highlevel-components.xml:
16297           Fix playbin/decodebin examples, update docs a bit, mention bus
16298           instead of signals in various places, mention kmplayer and
16299           kaffeine since they have a working GStreamer backend in the KDE
16300           section.
16301
16302 2005-06-30  Wim Taymans  <wim@fluendo.com>
16303
16304         * CHANGES-0.9:
16305         * docs/design/draft-ghostpads.txt:
16306         * docs/design/draft-push-pull.txt:
16307         * docs/design/draft-query.txt:
16308         * docs/design/part-TODO.txt:
16309         * docs/design/part-query.txt:
16310         Added CHANGES-0.9 doc, updated status of other docs.
16311         
16312         * gst/gstquery.h:
16313         Remove "hmm" macro
16314
16315 2005-06-30  Wim Taymans  <wim@fluendo.com>
16316
16317         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16318         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16319         (gst_base_sink_change_state):
16320         * gst/base/gstbasesink.h:
16321         Some tweaks, only EOS and a buffer complete a preroll.
16322
16323 2005-06-30  Andy Wingo  <wingo@pobox.com>
16324
16325         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16326         activate_push down to the internal pad as well.
16327
16328 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16329
16330         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16331
16332         * gst/gsttaginterface.c:
16333           Some documentation fixes (#307394 and #307397).
16334
16335 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16336
16337         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16338
16339         * gst/gstvalue.c: (gst_value_intersect_list):
16340           Fix memleak (#309125).
16341
16342 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16343
16344         * docs/manual/advanced-dataaccess.xml:
16345           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16346         * docs/manual/basics-pads.xml:
16347           Add reference for filtered caps to above chapter.
16348
16349 2005-06-30  Wim Taymans  <wim@fluendo.com>
16350
16351         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16352         (gst_bin_change_state):
16353         Probes are gone.
16354         Lame attempt at making the state change function a bit
16355         more readable.
16356
16357 2005-06-30  Wim Taymans  <wim@fluendo.com>
16358
16359         * docs/design/part-clocks.txt:
16360         * docs/design/part-element-sink.txt:
16361         * docs/design/part-events.txt:
16362         * docs/design/part-preroll.txt:
16363         * docs/design/part-states.txt:
16364         Some more tweeks and additions to the docs.
16365
16366 2005-06-30  Wim Taymans  <wim@fluendo.com>
16367
16368         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16369         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16370         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16371         (gst_pad_check_pull_range), (gst_pad_get_range),
16372         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16373         * gst/gstpad.h:
16374         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16375         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16376         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16377         (gst_pad_remove_buffer_probe):
16378         Removed atomic operations, use existing LOCK.
16379         Move exception handling out of main code path.
16380
16381 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16382
16383         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16384         (silly_return_true_function), (gst_pad_class_init),
16385         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16386         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16387         (gst_pad_send_event):
16388           Fix accumulator, add default value by using _emitv() instead
16389           of _emit() for signal emission.
16390
16391 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16392
16393         * docs/manual/advanced-dataaccess.xml:
16394         * examples/manual/Makefile.am:
16395           Add probe example.
16396         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16397           Make work (??).
16398
16399 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16400
16401         * gst/elements/gstfilesink.c: (gst_filesink_render):
16402           Simplify code so that we don't have to handle short
16403           writes and return GST_FLOW_ERROR if an error occured.
16404
16405 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16406
16407         * docs/gst/gstreamer-docs.sgml:
16408           Remove probes more.
16409
16410 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16411
16412         * docs/gst/gstreamer-sections.txt:
16413         * docs/gst/tmpl/gstpad.sgml:
16414         * docs/gst/tmpl/gstprobe.sgml:
16415         * gst/Makefile.am:
16416         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16417         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16418         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16419         (gst_pad_push_event), (gst_pad_send_event):
16420         * gst/gstpad.h:
16421         * gst/gstutils.c: (gst_pad_add_data_probe),
16422         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16423         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16424         (gst_pad_remove_buffer_probe):
16425         * gst/gstutils.h:
16426           Remove old probes, add new g-signal-based probes and some utility
16427           functions.
16428
16429 2005-06-29  Edward Hervey  <edward@fluendo.com>
16430
16431         * gst/gstelementfactory.c:
16432         * gst/gstutils.h:
16433         * gst/gstutils.c:
16434         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16435         the definition to the header file.
16436
16437 2005-06-29  Andy Wingo  <wingo@pobox.com>
16438
16439         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16440         plugins from the source directory.
16441
16442 2005-06-29  Wim Taymans  <wim@fluendo.com>
16443
16444         * docs/gst/tmpl/gstbuffer.sgml:
16445         * docs/gst/tmpl/gstclock.sgml:
16446         Some fixings for blantently wrong text.
16447
16448 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16449
16450         * check/Makefile.am:
16451         * gst/gst.c: (add_path_func), (init_pre):
16452         * gst/gstregistry.c: (gst_registry_add_path):
16453           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16454           only scan the GST_PLUGIN_PATH locations, and not add
16455           system locations
16456
16457 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16458
16459         * docs/gst/gstreamer-sections.txt:
16460         * docs/gst/tmpl/gstbasesrc.sgml:
16461         * gst/gstelement.c:
16462         * gst/gstelement.h:
16463         * gst/gstevent.c:
16464         * gst/gstutils.c:
16465           doc fixes
16466
16467 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16468
16469         * docs/manual/advanced-autoplugging.xml:
16470           Fix autoplugging example.
16471
16472 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16473
16474         * docs/manual/advanced-autoplugging.xml:
16475         * docs/manual/mime-world.fig:
16476           Try to get autoplugging working, fix type detection. Fix text
16477           in hello-world image.
16478
16479 2005-06-29  Wim Taymans  <wim@fluendo.com>
16480
16481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16482         (gst_base_sink_change_state):
16483         Small debug line.
16484
16485         * gst/gstclock.h:
16486         map SIGNAL and BROADCAST to the right function.
16487
16488         * gst/gstobject.h:
16489         Remove redundant braces.
16490
16491         * gst/gstpad.c: (gst_pad_set_caps):
16492         Don't call setcaps function when reseting caps to NULL.
16493
16494         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16495         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16496         (gst_system_clock_id_unschedule):
16497         Use BROADCAST as this is what we do.
16498
16499 2005-06-29  Wim Taymans  <wim@fluendo.com>
16500
16501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16502         We are actually prerolling before commiting the state
16503         change. 
16504
16505 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16506
16507         * docs/manual/advanced-clocks.xml:
16508         * docs/manual/advanced-interfaces.xml:
16509         * docs/manual/advanced-metadata.xml:
16510         * docs/manual/advanced-position.xml:
16511         * docs/manual/advanced-schedulers.xml:
16512         * docs/manual/advanced-threads.xml:
16513         * docs/manual/appendix-porting.xml:
16514         * docs/manual/basics-bins.xml:
16515         * docs/manual/basics-bus.xml:
16516         * docs/manual/basics-elements.xml:
16517         * docs/manual/basics-helloworld.xml:
16518         * docs/manual/basics-pads.xml:
16519         * docs/manual/highlevel-components.xml:
16520         * docs/manual/manual.xml:
16521         * docs/manual/thread.fig:
16522           Update (until threads/scheduling) Application Development Manual;
16523           remove GstThread, add GstBus, add simple porting checklist, add
16524           documentation for tag writing, clocks, make all examples until this
16525           part compile and run.
16526         * examples/manual/Makefile.am:
16527           Update from changes to Application Development Manual; add bus
16528           example, remove thread example.
16529
16530 2005-06-28  Wim Taymans  <wim@fluendo.com>
16531
16532         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16533         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16534         (gst_bus_source_dispatch):
16535         Add debugging messages.
16536         Make internal methods static.
16537         Handle the case where the bus is flushed in the handler.
16538         
16539         * gst/gstelement.c: (gst_element_get_bus):
16540         Fix refcount in _get_bus();
16541
16542         * gst/gstpipeline.c: (gst_pipeline_change_state),
16543         (gst_pipeline_get_clock_func):
16544         Clock refcounting fixes.
16545         Handle the case where preroll timed out more gracefully.
16546         
16547         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16548         Clean up the internal thread in dispose. This is needed
16549         for subclasses that actually get disposed.
16550         
16551         * gst/schedulers/threadscheduler.c:
16552         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16553         (gst_thread_scheduler_dispose):
16554         Free thread pool in dispose.
16555
16556 2005-06-28  Andy Wingo  <wingo@pobox.com>
16557
16558         * tests/network-clock-utils.scm (debug, print-event): New utils.
16559
16560         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16561         (*packet-loss*): Unified loss probability.
16562         (network-time): Report out-of-band events.
16563
16564         * tests/plot-data: Add support for out-of-band events. Hack it
16565         into this script instead of passing it down the pipe; should fix
16566         this later.
16567
16568 2005-06-28  Wim Taymans  <wim@fluendo.com>
16569
16570         * docs/gst/gstreamer.types:
16571         * docs/gst/tmpl/gstbasesrc.sgml:
16572         * docs/gst/tmpl/gstpad.sgml:
16573         Docs fixes.
16574
16575 2005-06-28  Wim Taymans  <wim@fluendo.com>
16576
16577         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16578         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16579         (gst_proxy_pad_do_fixatecaps):
16580         Correctly proxy the check_pull_range function.
16581
16582 2005-06-28  Andy Wingo  <wingo@pobox.com>
16583
16584         * tests/network-clock.scm: Removed need for slib.
16585         
16586 2005-06-28  Wim Taymans  <wim@fluendo.com>
16587
16588         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16589         (gst_basesink_preroll_queue_flush):
16590         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16591         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16592         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16593         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16594         (gst_proxy_pad_set_property):
16595         * gst/gstpad.c:
16596         * gst/gstpad.h:
16597         * gst/gstqueue.c: (gst_queue_init):
16598         The deprecated pad loop function is removed now.
16599
16600 2005-06-28  Andy Wingo  <wingo@pobox.com>
16601
16602         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16603         New parameters, simulate network packet loss.
16604
16605         * tests/network-clock-utils.scm: Initialize the RNG.
16606
16607 2005-06-28  Wim Taymans  <wim@fluendo.com>
16608
16609         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16610         (gst_basesink_event), (gst_basesink_deactivate):
16611         Flushing the preroll queue always needs to unlock the waiters.
16612
16613 2005-06-28  Edward Hervey  <edward@fluendo.com>
16614
16615         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16616         Wheen a seek was successful on a pipeline, set the stream_time to the
16617         seek offset in order to have a synchronized stream_time.
16618
16619 2005-06-28  Wim Taymans  <wim@fluendo.com>
16620
16621         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16622         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16623         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16624         (gst_proxy_pad_do_fixatecaps):
16625         Call wrapper function instead of just calling the function
16626         pointers. This takes care of any locking and whatmore.
16627
16628 2005-06-28  Wim Taymans  <wim@fluendo.com>
16629
16630         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16631         (gst_pad_pull_range):
16632         * gst/gstpad.h:
16633         CONNECTED -> LINKED.
16634
16635 2005-06-28  Andy Wingo  <wingo@pobox.com>
16636
16637         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16638         source-munging commit!!!
16639
16640         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16641         (gst_object_sink): Take gpointer arguments, not GstObject --
16642         avoids casts. Like GLib.
16643
16644         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16645         activate.
16646
16647 2005-06-27  Andy Wingo  <wingo@pobox.com>
16648
16649         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16650         remaining buffer.
16651
16652         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16653         returns a sorted copy of the trace list.
16654         (gst_alloc_trace_print_live): New API, only prints traces with
16655         live objects. Sort the list.
16656         (gst_alloc_trace_print_all): Sort the list.
16657         (gst_alloc_trace_print): Align columns.
16658
16659         * gst/elements/gstttypefindelement.c:
16660         * gst/elements/gsttee.c:
16661         * gst/base/gstbasesrc.c:
16662         * gst/base/gstbasesink.c:
16663         * gst/base/gstbasetransform.c:
16664         * gst/gstqueue.c: Adapt for pad activation changes.
16665
16666         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16667         sched.
16668         (gst_pipeline_dispose): Drop ref on sched.
16669
16670         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16671         (gst_pad_activate_default): Push mode by default.
16672         (pre_activate_switch, post_activate_switch): New stubs, things to
16673         do before and after switching activation modes on pads.
16674         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16675         the pad's activate function to choose which mode to activate.
16676         Shortcut on deactivation and call the right function directly.
16677         (gst_pad_activate_pull): New API, (de)activates a pad in pull
16678         mode.
16679         (gst_pad_activate_push): New API, same for push mode.
16680         (gst_pad_set_activate_function) 
16681         (gst_pad_set_activatepull_function) 
16682         (gst_pad_set_activatepush_function): Setters for new API.
16683
16684         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16685         Trace all miniobjects.
16686         (gst_mini_object_make_writable): Unref the arg if we copy, like
16687         gst_caps_make_writable.
16688
16689         * gst/gstmessage.c (_gst_message_initialize): No trace init.
16690
16691         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
16692         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16693         Adapt for new pad API.
16694
16695         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16696
16697         * gst/gstelement.h:
16698         * gst/gstelement.c (gst_element_iterate_src_pads) 
16699         (gst_element_iterate_sink_pads): New API functions.
16700         
16701         * gst/gstelement.c (iterator_fold_with_resync): New utility,
16702         should fold into gstiterator.c in some form.
16703         (gst_element_pads_activate): Simplified via use of fold and
16704         delegation of decisions to gstpad->activate.
16705
16706         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16707         help in debugging.
16708
16709         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16710         class once in init, like gstmessage. Didn't run into this issue
16711         but it seems correct. Don't initialize a trace, gstminiobject does
16712         that.
16713
16714         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16715         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16716         to the bus.
16717         (assert_live_count): New util function, uses alloc traces to check
16718         cleanup.
16719
16720         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16721         To be modified when unlink drops the internal pad.
16722
16723 2005-06-27  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16726         (gst_bin_change_state):
16727         Cleanup the get_state() function a little, make sure it
16728         iterates the same set of elements.
16729         Added stub iterate_state_order().
16730
16731 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16732
16733         * docs/gst/gstreamer-docs.sgml:
16734         * docs/gst/gstreamer-sections.txt:
16735         * docs/gst/gstreamer.types:
16736         * docs/gst/tmpl/gstbasesink.sgml:
16737         * docs/gst/tmpl/gstbasesrc.sgml:
16738         * docs/gst/tmpl/gstbasetransform.sgml:
16739         * docs/gst/tmpl/gstelement.sgml:
16740         * docs/gst/tmpl/gstiterator.sgml:
16741         * gst/base/gstbasesrc.c:
16742         * gst/base/gstbasesrc.h:
16743         * gst/base/gstbasetransform.h:
16744         * gst/gstelement.c:
16745         * gst/gstiterator.h:
16746           adding basetransform and iterator docs
16747
16748 2005-06-27  Andy Wingo  <wingo@pobox.com>
16749
16750         * docs/design/part-activation.txt: Notes on how activation should
16751         work -- not quite implemented yet.
16752
16753 2005-06-25  Wim Taymans  <wim@fluendo.com>
16754
16755         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16756         At least get the chain function correct, needs more
16757         fixing.
16758
16759 2005-06-25  Wim Taymans  <wim@fluendo.com>
16760
16761         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16762         (gst_basesink_handle_object), (gst_basesink_event),
16763         (gst_basesink_do_sync), (gst_basesink_handle_event),
16764         (gst_basesink_change_state):
16765         * gst/gsttask.h:
16766         Right, two problems here: ghostpads don't take locks and
16767         glib _rec_mutex_lock_full() with depth==0 still locks.
16768         Catch illegal locking and g_warn them.
16769
16770 2005-06-25  Wim Taymans  <wim@fluendo.com>
16771
16772         * check/states/sinks.c: (START_TEST), (gst_object_suite):
16773         Have to check for completion now...
16774
16775 2005-06-25  Wim Taymans  <wim@fluendo.com>
16776
16777         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16778         (gst_basesink_handle_object), (gst_basesink_event),
16779         (gst_basesink_do_sync), (gst_basesink_handle_event),
16780         (gst_basesink_change_state):
16781         * gst/gstpad.h:
16782         Unlock STREAM_LOCK whatever the recursion was.
16783
16784 2005-06-25  Wim Taymans  <wim@fluendo.com>
16785
16786         * gst/base/gstbasesink.c: (gst_basesink_set_property),
16787         (gst_basesink_preroll_queue_empty),
16788         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16789         (gst_basesink_event), (gst_basesink_do_sync),
16790         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16791         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16792         (gst_basesink_change_state):
16793         Reworked the base sink, handle event and buffer serialisation
16794         correctly and removed possible deadlock.
16795         Handle EOS correctly.
16796
16797 2005-06-25  Wim Taymans  <wim@fluendo.com>
16798
16799         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16800         (gst_pipeline_change_state):
16801         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16802         Allow elements to post EOS in the state change function.
16803         Fix up -launch, make it exit the poll loop when the
16804         pipeline actually changed state.
16805         Fix up warning parsing in -launch.
16806
16807 2005-06-25  Wim Taymans  <wim@fluendo.com>
16808
16809         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16810         (gst_tee_sink_activate):
16811         Core takes STREAM_LOCK for us now.
16812
16813 2005-06-25  Wim Taymans  <wim@fluendo.com>
16814
16815         * gst/gstelement.c: (gst_element_get_state_func),
16816         (gst_element_set_state):
16817         * gst/gstelement.h:
16818         * gst/gstmessage.c: (gst_message_parse_error),
16819         (gst_message_parse_warning):
16820         Keep track of current target state while performing a state
16821         change so that subclasses can do something interesting.
16822         Fix parsing of warning/error messages when GError is NULL.
16823
16824 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16825
16826         * docs/gst/Makefile.am:
16827         * docs/gst/gstreamer-docs.sgml:
16828         * docs/gst/gstreamer-sections.txt:
16829         * docs/gst/gstreamer.types:
16830         * docs/gst/tmpl/gstbasesink.sgml:
16831         * docs/gst/tmpl/gstbasesrc.sgml:
16832         * docs/gst/tmpl/gstbin.sgml:
16833         * docs/gst/tmpl/gstcompat.sgml:
16834         * docs/gst/tmpl/gstfakesink.sgml:
16835         * docs/gst/tmpl/gstfakesrc.sgml:
16836         * docs/gst/tmpl/gstfilesink.sgml:
16837         * docs/gst/tmpl/gstfilesrc.sgml:
16838         * docs/gst/tmpl/gstindex.sgml:
16839         * docs/manual/appendix-quotes.xml:
16840         * gst/base/gstbasesrc.h:
16841         * gst/elements/gstfakesrc.h:
16842         * gst/gstmessage.h:
16843           start pulling in base classes and elements in our docs
16844
16845 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
16846
16847         * docs/gst/Makefile.am:
16848         * docs/libs/Makefile.am:
16849           fixed make distcheck with gtk-doc 1.3
16850
16851 2005-06-23  Wim Taymans  <wim@fluendo.com>
16852
16853         * gst/gstelement.c: (gst_element_get_state_func),
16854         (gst_element_set_state), (gst_element_change_state):
16855         When the state did not change, also report NO_PREROLL
16856         when it matters.
16857
16858 2005-06-23  Wim Taymans  <wim@fluendo.com>
16859
16860         * gst/gstpad.c: (gst_pad_event_default):
16861         * gst/gstqueue.c: (gst_queue_loop):
16862         No unsafe task pausing please.
16863
16864 2005-06-23  Wim Taymans  <wim@fluendo.com>
16865
16866         * gst/schedulers/threadscheduler.c:
16867         (gst_thread_scheduler_task_start),
16868         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16869         Ref the task before pushing it on the threadpool. This
16870         makes sure that we have a ref when the threadfunction is
16871         actually called.
16872
16873 2005-06-23  Andy Wingo  <wingo@pobox.com>
16874
16875         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16876         offset is greater than the file's size.
16877
16878         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
16879         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16880         * gst/gstobject.c (gst_object_class_init): Make the class lock
16881         recursive. Wim won't let me drop deep_notify. Decodebin works
16882         again, whoopdy doo.
16883
16884         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16885         internal pad, and hacks accordingly. Doesn't do it on the target
16886         pad because we change its caps. Probably catches all cases of
16887         interest tho.
16888         (gst_ghost_pad_set_property): Connect to notify::caps as
16889         appropritate.
16890
16891         * tests/network-clock.scm (plot-simulation): Pipe data to the
16892         elite python skript.
16893
16894         * tests/network-clock-utils.scm (define-parameter): New macro,
16895         defines a parameter that can be set via the command line.
16896         (set-parameter!, parse-parameter-arguments): Command line args
16897         parser.
16898
16899         * tests/plot-data: Simple matplotlib-based plotter, takes input on
16900         stdin.
16901
16902 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
16903
16904         * gst/elements/gsttypefindelement.c:
16905         (gst_type_find_element_handle_event):
16906           Don't restart typefinding on a discont.
16907         * gst/gstelement.c: (gst_element_set_state):
16908           Debug spelling fix.
16909         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16910           Allow changing mode of an active pad.
16911           Debug output fixes.
16912         * gst/registries/gstlibxmlregistry.c: (load_feature):
16913           Don't cast a static pad template to a normal pad template.
16914
16915 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16916
16917         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16918         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16919           remove gst_strtoll completely, since it didn't actually do
16920           anything more than what g_ascii_strtoull already does.
16921           check for range errors when deserializing
16922           do a cast for the unsigned cases; but further fixing needs
16923           a decision on what the interpretation of "(int)" and
16924           deserialization should be for values that fall outside the
16925           type's boundaries (ie, refuse, or interpret as casting)
16926
16927 2005-06-23  Wim Taymans  <wim@fluendo.com>
16928
16929         * check/Makefile.am:
16930         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16931         * docs/design/part-live-source.txt:
16932         * docs/design/part-states.txt:
16933         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16934         (gst_basesrc_set_live), (gst_basesrc_is_live),
16935         (gst_basesrc_get_range), (gst_basesrc_activate),
16936         (gst_basesrc_change_state):
16937         * gst/base/gstbasesrc.h:
16938         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16939         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16940         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16941         * gst/gstelement.c: (gst_element_get_state_func),
16942         (gst_element_set_state):
16943         * gst/gstelement.h:
16944         * gst/gsttypes.h:
16945         * tools/gst-launch.c: (event_loop), (main):
16946         Added support for live sources and other elements that
16947         cannot do preroll.
16948         Updated design docs, added live-source design doc.
16949         Implemented live source functionality in basesrc
16950         Fix error condition in _bin_get_state()
16951         Implement live source handling in -launch.
16952         Added check for live sources.
16953         Fixed case in GstBin where elements were changed state
16954         multiple times.
16955
16956
16957 2005-06-23  Andy Wingo  <wingo@pobox.com>
16958
16959         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16960         borken refcounting.
16961
16962         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16963         gst_caps_replace takes care of this for us.
16964
16965         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16966         gst_pad_set_caps on the target, not just its setcaps() function.
16967
16968         * tests/network-clock.scm: 
16969         * tests/network-clock-utils.scm: A network clock simulator.
16970         Something of an algorithmic testbed before doing something in C.
16971
16972 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16973
16974         * check/Makefile.am:
16975         * check/gst/capslist.h:
16976           copy over from 0.8, and add two with bitmasks specified with
16977           (int) 0xFF...
16978         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16979           add test to parse everything from capslist.h
16980         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
16981         (main):
16982           add test for structure deserialization
16983         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16984           add tests for deserialization of strings to int types
16985         * gst/gststructure.c: (gst_structure_nth_field_name):
16986         * gst/gststructure.h:
16987           add a way to get the name of a field referenced by index
16988         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16989           instead of checking if the resulting long long lies between
16990           min and max, we check if the long long would fit into
16991           a number of bytes for the final type.
16992           This fixes cases where a string represents 2^32 - 1, which
16993           when cast to int would be the (valid) -1, but is bigger than
16994           G_MAXINT
16995
16996 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16997
16998         * gst/parse/grammar.y:
16999           add a log line for type deserialization
17000
17001 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17002
17003         * check/gst/gstvalue.c: (START_TEST):
17004         * gst/gstvalue.c: (gst_value_deserialize):
17005           return long long, not int, so gint64 deserialization actually
17006           works.  Is there any flag that makes the compiler check this ?
17007           Fixes #308559
17008
17009 2005-06-22  Wim Taymans  <wim@fluendo.com>
17010
17011         * gst/gstbuffer.h:
17012         Added convenience macros for setting buffers in GValue.
17013
17014 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17015
17016         * check/gst/.cvsignore:
17017         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17018           add a test deserializing int64, and comment part out because
17019           it fails, yay !
17020
17021 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17022
17023         * check/Makefile.am:
17024         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17025         * testsuite/Makefile.am:
17026         * testsuite/caps/Makefile.am:
17027         * testsuite/caps/value_serialize.c:
17028         * testsuite/test_gst_init.c:
17029           move a value_serialize test over
17030
17031 2005-06-20  Wim Taymans  <wim@fluendo.com>
17032
17033         * gst/gstpad.c:
17034         Small doc updates.
17035         
17036         * gst/gstvalue.c: (gst_value_compare_buffer),
17037         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17038         (gst_value_compare_flags), (gst_value_serialize_flags),
17039         (gst_value_deserialize_flags), (_gst_value_initialize):
17040         Fix serialisation of buffers, they are not boxed types anymore
17041
17042 2005-06-20  Wim Taymans  <wim@fluendo.com>
17043
17044         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17045         Testcase to show error in buffer-on-caps serialisation.
17046
17047 2005-06-20  Andy Wingo  <wingo@pobox.com>
17048
17049         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17050         will be adding to later.
17051
17052         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17053         if its socks fill with rocks.
17054         (gst_system_clock_obtain): Set the name on object construction.
17055         Avoid double-checked locking.
17056
17057 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17058
17059         * gst/gsturi.c: (gst_element_make_from_uri):
17060           Fix potential endless loop.
17061
17062 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17063
17064         * check/Makefile.am:
17065           add gsttag
17066         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17067         (main):
17068           move over from testsuite dir and clean up
17069         * configure.ac:
17070         * gst/gsttag.c:
17071         * testsuite/Makefile.am:
17072         * testsuite/tags/.cvsignore:
17073         * testsuite/tags/Makefile.am:
17074         * testsuite/tags/merge.c:
17075           remove testsuite/tags
17076
17077 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17078
17079         * docs/gst/gstreamer-sections.txt:
17080         * docs/gst/tmpl/gstenumtypes.sgml:
17081         * win32/gstenumtypes.c:
17082           clean up documentation build a little
17083
17084 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17085
17086         * check/gstcheck.h:
17087           add macros for checking refcounts on objects and caps
17088         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17089           add some more unit tests
17090         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17091         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17092           fix leaked refcounts (I hope :)) so unittest works
17093         * gst/gstpad.h:
17094           whitespace removal
17095
17096 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17097
17098         * configure.ac: back to HEAD
17099
17100 === release 0.9.1 ===
17101
17102 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17103
17104         * NEWS:
17105         * RELEASE:
17106           updated
17107
17108 2005-06-17  Andy Wingo  <wingo@pobox.com>
17109
17110         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17111         assert; it's always possible that the pad gets deactivated in
17112         between the checks in gstpad.c and the implementation. Rely on
17113         finish_preroll() to return a FLUSHING or similar instead of on the
17114         assert.
17115         
17116         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17117         clock and post an EOS message if we come out of finish_preroll in
17118         the playing state.
17119
17120 2005-06-16  David Schleef  <ds@schleef.org>
17121
17122         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17123         (gst_capsfilter_set_property): Allow NULL as possible value
17124         for filter_caps property, indicating GST_CAPS_ANY.
17125
17126 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17127
17128         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17129           fix debug output
17130         * gst/schedulers/Makefile.am:
17131           use libgst prefix
17132         * gstreamer.spec.in:
17133           fix spec for it
17134
17135 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17136
17137         * gstreamer.spec.in:
17138           clean up
17139
17140 2005-06-08  Andy Wingo  <wingo@pobox.com>
17141
17142         * gst/gstutils.c: RPAD fixes all around.
17143         (gst_element_link_pads): Refcounting fixes.
17144
17145         * tools/gst-inspect.c:
17146         * tools/gst-xmlinspect.c:
17147         * parse/grammar.y:
17148         * gst/base/gsttypefindhelper.c:
17149         * gst/base/gstbasesink.c:
17150         * gst/gstqueue.c: RPAD fixes.
17151
17152         * gst/gstghostpad.h:
17153         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17154         pads. The tricky thing is they provide both source and sink
17155         interfaces, since they proxy the internal pad for the external
17156         pad, and vice versa. Implement with lower-level ProxyPad objects,
17157         with the interior proxy pad as a child of the exterior ghost pad.
17158         Should write a doc on this.
17159         
17160         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17161         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17162         gst_object API.
17163         
17164         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17165         pads are real pads. No ghost pads in this file. Not documenting
17166         the myriad s/RPAD/PAD/ and REALIZE fixes.
17167         (gst_pad_class_init): Add properties for "direction" and
17168         "template". Both are construct-only, so they can't change during
17169         the life of the pad. Fixes properly deriving from GstPad.
17170         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17171         derived objects, just set properties when creating the objects via
17172         g_object_new.
17173         (gst_pad_get_parent): Implement as a function, return NULL if the
17174         parent is not an element.
17175         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17176         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17177         
17178         * gst/gstobject.c (gst_object_class_init): Make name a construct
17179         property. Don't set it in the object init.
17180
17181         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17182         with UNKNOWN direction.
17183         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17184         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17185         (gst_element_remove_pad): Remove ghost-pad special cases.
17186         (gst_element_pads_activate): Remove rpad cruft.
17187
17188         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17189         catch the pad's-parent-not-an-element case.
17190
17191         * gst/gst.h: Include gstghostpad.h.
17192
17193         * gst/gst.c (init_post): No more real, ghost pads.
17194
17195         * gst/Makefile.am: Add gstghostpad.[ch].
17196
17197         * check/Makefile.am:
17198         * check/gst/gstbin.c:
17199         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17200         into a bin creates ghost pads, and that the refcounts are right.
17201         Partly moved from gstbin.c.
17202
17203 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17204
17205         * check/gst-libs/.cvsignore:
17206         * check/gst/.cvsignore:
17207         * check/pipelines/.cvsignore:
17208           ignore more
17209         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17210         (START_TEST), (cleanup_suite), (main):
17211           add some tests related to cleanup after running pipelines
17212
17213 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17214
17215         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17216           add a testsuite for GstBuffer
17217
17218 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17219
17220         * gst/gstminiobject.h:
17221           add defines for accessing the refcount
17222
17223 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17224
17225         * Makefile.am: added support for html unit test coverage reports
17226
17227 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17228
17229         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17230           Free existing caps if the capsfilter changes. Add a FIXME about
17231           setting those caps on the pads.
17232
17233         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17234           Before adding a ghost pad to a parent bin, check that there isn't
17235           already one for the element on the bin. Prevents infinite recursion
17236           when using decodebin in parse pipelines. Andy says he'll rewrite the
17237           way this works anyway, so ignore the hack.
17238
17239 2005-06-02  Andy Wingo  <wingo@pobox.com>
17240
17241         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17242         file size, pass it on to the type find helper.
17243
17244         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17245         segment_start and segment_end properly according to the seek
17246         method. Segment_end is still a bit flaky because offset can be
17247         negative for CUR and END cases, but it takes -1 as an "unset"
17248         value.
17249
17250 2005-06-02  Wim Taymans  <wim@fluendo.com>
17251
17252         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17253         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17254         (gst_basesink_activate):
17255         * gst/base/gstbasesink.h:
17256         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17257         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17258         (gst_pad_query), (gst_pad_start_task):
17259         * gst/gstpad.h:
17260         * gst/gstqueue.c: (gst_queue_bufferalloc),
17261         (gst_queue_handle_sink_event), (gst_queue_chain):
17262         Bufferalloc: return GstFlowReturn to more accuratly report
17263         why allocation failed.
17264
17265 2005-06-02  Wim Taymans  <wim@fluendo.com>
17266
17267         * gst/gstpipeline.c: (gst_pipeline_send_event):
17268         Take snapshot of state without blocking.
17269
17270 2005-06-02  Wim Taymans  <wim@fluendo.com>
17271
17272         * docs/design/part-TODO.txt:
17273         * docs/design/part-caps.txt:
17274         * docs/design/part-clocks.txt:
17275         * docs/design/part-negotiation.txt:
17276         * docs/design/part-preroll.txt:
17277         Small doc updates 
17278
17279 2005-05-30  Wim Taymans  <wim@fluendo.com>
17280
17281         * gst/elements/gstidentity.c: (gst_identity_event),
17282         (gst_identity_transform), (gst_identity_get_property):
17283         Protect last_message property as it is accessed from
17284         multiple threads.
17285
17286 2005-05-30  Wim Taymans  <wim@fluendo.com>
17287
17288         * gst/gstelement.c: (gst_element_init),
17289         (gst_element_pads_activate), (gst_element_change_state):
17290         Slicker pad activation code.
17291
17292 2005-05-30  Wim Taymans  <wim@fluendo.com>
17293
17294         * gst/Makefile.am:
17295         * gst/gstelement.h:
17296         * gst/gstelementfactory.h:
17297         * gst/gsttypes.h:
17298         Move elementfactory methods to separate .h file.
17299
17300 2005-05-30  Wim Taymans  <wim@fluendo.com>
17301
17302         * docs/design/part-overview.txt:
17303         * gst/gstsystemclock.h:
17304         Small typo fixes, doc updates.
17305
17306 2005-05-30  Wim Taymans  <wim@fluendo.com>
17307
17308         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17309         (init_popt_callback):
17310         Remove cpu-opt flag.
17311
17312 2005-05-30  Wim Taymans  <wim@fluendo.com>
17313
17314         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17315         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17316         * gst/gstbuffer.h:
17317         Avoid typechecking in places where not needed.
17318         Added accessor for malloc_data.
17319
17320 2005-05-30  Wim Taymans  <wim@fluendo.com>
17321
17322         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17323         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17324         (gst_pad_configure_sink), (gst_pad_configure_src),
17325         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17326         (gst_pad_start_task):
17327         Propagate errors from _set_caps() in configure_src/sink
17328         functions instead of returning TRUE.
17329         FLUSH events can travel up and downstream
17330
17331
17332 2005-05-30  Wim Taymans  <wim@fluendo.com>
17333
17334         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17335         (gst_basesink_activate):
17336         Handle EOS in preroll.
17337
17338 2005-05-30  Wim Taymans  <wim@fluendo.com>
17339
17340         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17341         (gst_queue_loop), (gst_queue_handle_src_event):
17342         Remove old pieces of code
17343         Flushing the queue in an upstream event is a very bad idea.
17344
17345 2005-05-26  Andy Wingo  <wingo@pobox.com>
17346
17347         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17348         gst_value_set_mini_object so as to add a ref on the object (which
17349         will be removed when the value is unset).
17350
17351         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17352         arg type in ::handoff.
17353
17354         * gst/gstelement.c (gst_element_change_state): Also deactivate
17355         pads in READY->NULL, just in case the element didn't make it to
17356         PAUSED. Wingo tested, Wim approved.
17357
17358 2005-05-26  Wim Taymans  <wim@fluendo.com>
17359
17360         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17361         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17362         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17363         A flushing pad cannot be used to alloc_buffer from.
17364
17365 2005-05-26  Wim Taymans  <wim@fluendo.com>
17366
17367         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17368         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17369         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17370         (gst_bus_create_watch), (gst_bus_add_watch_full):
17371         * gst/gstbus.h:
17372         Implement a real GSource and use g_main_context_wakeup() to
17373         signal new messages instead of the socketpair.
17374
17375 2005-05-25  Wim Taymans  <wim@fluendo.com>
17376
17377         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17378         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17379         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17380         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17381         (gst_pad_send_event), (gst_pad_start_task):
17382         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17383         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17384         (gst_queue_sink_activate), (gst_queue_src_activate),
17385         (gst_queue_change_state):
17386         * gst/gstqueue.h:
17387         Fix state changes for non sinks. We now change sinks, then elements
17388         with unconnected srcpads, then the rest.
17389         More efficient queue unlocking in flush and state changes.
17390         Set the pad activate mode even if it does not have an activate
17391         function.
17392
17393 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17394
17395         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17396           Don't go in pull mode for non-seekable sources.
17397         * gst/elements/gsttypefindelement.h:
17398         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17399         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17400         (free_entry), (stop_typefinding),
17401         (gst_type_find_element_handle_event), (find_peek),
17402         (gst_type_find_element_chain), (do_pull_typefind),
17403         (gst_type_find_element_change_state):
17404           Allow typefinding (w/o seeking) in push-mode, simplified version
17405           of what was in 0.8.
17406         * gst/gstutils.c: (gst_buffer_join):
17407         * gst/gstutils.h:
17408           gst_buffer_join() from 0.8.
17409
17410 2005-05-25  Wim Taymans  <wim@fluendo.com>
17411
17412         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17413         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17414         (gst_pad_send_event), (gst_pad_start_task):
17415         Disable attempt at mode switching until it is figured out.
17416
17417 2005-05-25  Wim Taymans  <wim@fluendo.com>
17418
17419         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17420         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17421         (gst_basesink_finish_preroll), (gst_basesink_chain),
17422         (gst_basesink_loop), (gst_basesink_activate),
17423         (gst_basesink_change_state):
17424         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17425         (gst_basesrc_get_range), (gst_basesrc_loop),
17426         (gst_basesrc_activate):
17427         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17428         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17429         (gst_real_pad_init), (gst_real_pad_set_property),
17430         (gst_real_pad_get_property), (gst_pad_set_active),
17431         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17432         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17433         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17434         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17435         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17436         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17437         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17438         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17439         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17440         (gst_pad_stop_task):
17441         * gst/gstpad.h:
17442         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17443         (gst_queue_loop), (gst_queue_src_activate):
17444         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17445         (gst_task_get_state):
17446         * gst/gsttask.h:
17447         * gst/schedulers/threadscheduler.c:
17448         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17449         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17450         in task function.
17451         Remove ACTIVE pad flag, use FLUSHING everywhere
17452         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17453         functions.
17454         Add locks around IS_FLUSHING when reading.
17455         Take STREAM lock in chain(), get_range() functions so plugins
17456         don't need to take it anymore.
17457         
17458
17459
17460 2005-05-25  Wim Taymans  <wim@fluendo.com>
17461
17462         * tools/gst-launch.c: (event_loop):
17463         Unref message after using its contents instead of
17464         before.
17465
17466 2005-05-24  Wim Taymans  <wim@fluendo.com>
17467
17468         * docs/design/draft-ghostpads.txt:
17469         * docs/design/draft-push-pull.txt:
17470         * docs/design/draft-query.txt:
17471         * docs/design/part-overview.txt:
17472         Docs updates, added general overview doc.
17473
17474 2005-05-21  David Schleef  <ds@schleef.org>
17475
17476         * docs/gst/tmpl/old/GstBin.sgml:
17477         * docs/gst/tmpl/old/GstBuffer.sgml:
17478         * docs/gst/tmpl/old/GstCaps.sgml:
17479         * docs/gst/tmpl/old/GstClock.sgml:
17480         * docs/gst/tmpl/old/GstCompat.sgml:
17481         * docs/gst/tmpl/old/GstData.sgml:
17482         * docs/gst/tmpl/old/GstElement.sgml:
17483         * docs/gst/tmpl/old/GstEvent.sgml:
17484         * docs/gst/tmpl/old/GstIndex.sgml:
17485         * docs/gst/tmpl/old/GstStructure.sgml:
17486         * docs/gst/tmpl/old/GstTag.sgml:
17487         * docs/gst/tmpl/old/cothreads.sgml:
17488         * docs/gst/tmpl/old/cothreads_compat.sgml:
17489         * docs/gst/tmpl/old/gettext.sgml:
17490         * docs/gst/tmpl/old/gobject2gtk.sgml:
17491         * docs/gst/tmpl/old/grammar.tab.sgml:
17492         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17493         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17494         * docs/gst/tmpl/old/gst_private.sgml:
17495         * docs/gst/tmpl/old/gstaggregator.sgml:
17496         * docs/gst/tmpl/old/gstarch.sgml:
17497         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17498         * docs/gst/tmpl/old/gstbufferstore.sgml:
17499         * docs/gst/tmpl/old/gstdata_private.sgml:
17500         * docs/gst/tmpl/old/gstdisksink.sgml:
17501         * docs/gst/tmpl/old/gstdisksrc.sgml:
17502         * docs/gst/tmpl/old/gstelementfactory.sgml:
17503         * docs/gst/tmpl/old/gstextratypes.sgml:
17504         * docs/gst/tmpl/old/gstfakesink.sgml:
17505         * docs/gst/tmpl/old/gstfakesrc.sgml:
17506         * docs/gst/tmpl/old/gstfdsink.sgml:
17507         * docs/gst/tmpl/old/gstfdsrc.sgml:
17508         * docs/gst/tmpl/old/gstfilesink.sgml:
17509         * docs/gst/tmpl/old/gstfilesrc.sgml:
17510         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17511         * docs/gst/tmpl/old/gstidentity.sgml:
17512         * docs/gst/tmpl/old/gstindexfactory.sgml:
17513         * docs/gst/tmpl/old/gstmarshal.sgml:
17514         * docs/gst/tmpl/old/gstmd5sink.sgml:
17515         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17516         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17517         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17518         * docs/gst/tmpl/old/gstpipefilter.sgml:
17519         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17520         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17521         * docs/gst/tmpl/old/gstshaper.sgml:
17522         * docs/gst/tmpl/old/gstspider.sgml:
17523         * docs/gst/tmpl/old/gstspideridentity.sgml:
17524         * docs/gst/tmpl/old/gststatistics.sgml:
17525         * docs/gst/tmpl/old/gsttee.sgml:
17526         * docs/gst/tmpl/old/gsttimecache.sgml:
17527         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17528         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17529         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17530         * docs/gst/tmpl/old/types.sgml:
17531           I didn't intend to add these or check them in.
17532
17533 2005-05-19  David Schleef  <ds@schleef.org>
17534
17535         * configure.ac: Use -no-common everywhere.  In a sane world, it
17536           would be the default in libtool, because without it, you can't
17537           build DLLs on Windows.
17538         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17539         * docs/gst/gstreamer-sections.txt:
17540         * docs/gst/tmpl/gstcpu.sgml:
17541         * docs/gst/tmpl/gstdata.sgml:
17542         * docs/gst/tmpl/gstthread.sgml:
17543
17544 2005-05-19  David Schleef  <ds@schleef.org>
17545
17546         * gst/gstminiobject.c: (gst_value_set_mini_object),
17547         (gst_value_take_mini_object), (gst_value_get_mini_object):
17548         * gst/gstminiobject.h: Add GValue set/get functions.
17549
17550 2005-05-19  Wim Taymans  <wim@fluendo.com>
17551
17552         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17553         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17554         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17555         * gst/gstbuffer.h:
17556         * gst/gstbus.c: (gst_bus_post):
17557         * gst/gstelement.c: (gst_element_get_random_pad):
17558         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17559         Make subbufer unref the parent in finalize.
17560         some more debugging info.
17561
17562
17563 2005-05-19  Wim Taymans  <wim@fluendo.com>
17564
17565         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17566         (gst_basesink_init), (gst_basesink_finalize),
17567         (gst_basesink_activate), (gst_basesink_change_state):
17568         Don't free preroll queue too early.
17569
17570 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17571
17572         * gst/Makefile.am:
17573         * gst/ROADMAP:
17574           Hi, I'm outdated. Please shoot me.
17575
17576 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17577
17578         * gst/gstpipeline.c: (gst_pipeline_send_event):
17579           Do not access variables after they have been deleted.
17580
17581 2005-05-19  Wim Taymans  <wim@fluendo.com>
17582
17583         * tools/gst-inspect.c: (print_plugin_features):
17584         A plugin feature does unfortunatly not use the
17585         object name yet...
17586
17587 2005-05-18  Wim Taymans  <wim@fluendo.com>
17588
17589         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17590         Port _span() functions to new subbuffers.
17591
17592 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17593
17594         * gst/gstbin.c: (gst_bin_add_func):
17595           Fix clock settery in bins when adding kids after the clock has
17596           been selected.
17597
17598 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17599
17600         * gst/elements/gstidentity.c: (gst_identity_class_init):
17601           Workaround until signals support GstMiniObject.
17602
17603 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17604
17605         * gst/gstbuffer.c:
17606         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17607
17608 2005-05-18  Wim Taymans  <wim@fluendo.com>
17609
17610         * gst/base/Makefile.am:
17611         * gst/base/gstadapter.c: (gst_adapter_base_init),
17612         (gst_adapter_class_init), (gst_adapter_init),
17613         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17614         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17615         (gst_adapter_flush), (gst_adapter_available),
17616         (gst_adapter_available_fast):
17617         * gst/base/gstadapter.h:
17618         Ported and added adapter to the base classes.
17619
17620 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17621
17622         * gst/gst.c:
17623         * gst/gstmessage.c:
17624           Make sure the class is reffed/unreffed once before threads can be
17625           used.  Fixes #304551.
17626
17627 2005-05-17  Wim Taymans  <wim@fluendo.com>
17628
17629         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17630         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17631         * gst/gstminiobject.c: (gst_mini_object_get_type),
17632         (gst_mini_object_free):
17633         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17634         (gst_pad_push), (gst_pad_push_event):
17635         * gst/gstqueue.c: (gst_queue_change_state):
17636         Don't queue buffers in basesink when we are flushing.
17637         Unref buffer when flushing in basesink.
17638         Flush queue when going to READY
17639         Unref buffer when _push() returns an error.
17640         Don't free MiniObject instance when refcount is incremented
17641         in _finalize() so that we can recover objects.
17642
17643 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17644
17645         * docs/manual/advanced-schedulers.xml:
17646         * docs/manual/appendix-checklist.xml:
17647         * docs/pwg/advanced-clock.xml:
17648         * docs/pwg/advanced-interfaces.xml:
17649         * docs/pwg/advanced-request.xml:
17650         * docs/pwg/advanced-types.xml:
17651         * docs/pwg/intro-preface.xml:
17652         * examples/plugins/example.c: (gst_example_get_type),
17653         (gst_example_class_init), (gst_example_chain),
17654         (gst_example_set_property), (gst_example_get_property),
17655         (gst_example_change_state), (plugin_init):
17656         * examples/plugins/example.h:
17657           small doc fixes
17658
17659 2005-05-17  Wim Taymans  <wim@fluendo.com>
17660
17661         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17662         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17663         * gst/gstqueue.c: (gst_queue_change_state):
17664         Clear queue when going to READY.
17665         Remove IN_SETCAPS flag too.
17666
17667 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17668
17669         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17670           Remove implicit cast from gboolean to GstElementStateReturn;
17671           make sure we still return failure in paused => ready case if
17672           the parent class fails to change state and our own stop 
17673           vfunc succeeds.
17674
17675 2005-05-17  Wim Taymans  <wim@fluendo.com>
17676
17677         * tools/gst-launch.c: (event_loop):
17678         Message was unreffed too soon.
17679
17680 2005-05-16  Andy Wingo  <wingo@pobox.com>
17681
17682         * gst/gstbin.c (sink_iterator_filter): Err... um...
17683
17684         * check/gst/gstbin.c (test_ghost_pads): New test for the
17685         ghosting-if-elements-not-in-same-bin behavior.
17686
17687 2005-05-16  David Schleef  <ds@schleef.org>
17688
17689         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17690         accessing refcount directly.
17691
17692 2005-05-15  David Schleef  <ds@schleef.org>
17693
17694         * check/Makefile.am: remove GstData checks
17695         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17696         * gst/Makefile.am: add miniobject, remove data
17697         * gst/gst.h: add miniobject, remove data
17698         * gst/gstdata.c: remove
17699         * gst/gstdata.h: remove
17700         * gst/gstdata_private.h: remove
17701         * gst/gsttypes.h: remove GstEvent and GstMessage
17702         * gst/gstelement.c: (gst_element_post_message): fix for API changes
17703         * gst/gstmarshal.list: change BOXED -> OBJECT
17704
17705         Implement GstMiniObject.
17706         * gst/gstminiobject.c:
17707         * gst/gstminiobject.h:
17708
17709         Modify to be subclasses of GstMiniObject.
17710         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17711         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17712         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17713         (gst_subbuffer_get_type), (gst_subbuffer_init),
17714         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17715         (gst_buffer_span):
17716         * gst/gstbuffer.h:
17717         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17718         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17719         (_gst_event_copy), (gst_event_new):
17720         * gst/gstevent.h:
17721         * gst/gstmessage.c: (_gst_message_initialize),
17722         (gst_message_get_type), (gst_message_class_init),
17723         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17724         (gst_message_new), (gst_message_new_error),
17725         (gst_message_new_warning), (gst_message_new_tag),
17726         (gst_message_new_state_changed), (gst_message_new_application):
17727         * gst/gstmessage.h:
17728         * gst/gstprobe.c: (gst_probe_perform),
17729         (gst_probe_dispatcher_dispatch):
17730         * gst/gstprobe.h:
17731         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17732         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17733         (_gst_query_copy), (gst_query_new):
17734
17735         Update elements for GstData -> GstMiniObject changes
17736         * gst/gstquery.h:
17737         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17738         (gst_queue_chain), (gst_queue_loop):
17739         * gst/elements/gstbufferstore.c:
17740         (gst_buffer_store_add_buffer_func),
17741         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17742         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17743         (gst_fakesink_render):
17744         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17745         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17746         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17747         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17748         (gst_filesrc_create_read):
17749         * gst/elements/gstidentity.c: (gst_identity_class_init):
17750         * gst/elements/gsttypefindelement.c:
17751         (gst_type_find_element_src_event), (free_entry_buffers),
17752         (gst_type_find_element_handle_event):
17753         * libs/gst/dataprotocol/dataprotocol.c:
17754         (gst_dp_header_from_buffer):
17755         * libs/gst/dataprotocol/dataprotocol.h:
17756         * libs/gst/dataprotocol/dp-private.h:
17757
17758 2005-05-15  David Schleef  <ds@schleef.org>
17759
17760         * gst/elements/gstelements.c: Don't include headers that were
17761         just removed.
17762
17763 2005-05-15  David Schleef  <ds@schleef.org>
17764
17765         * gst/elements/Makefile.am: Remove some elements that don't
17766         need to be in the core (or even exist at all).
17767         * gst/elements/gstaggregator.c:
17768         * gst/elements/gstaggregator.h:
17769         * gst/elements/gstmd5sink.c:
17770         * gst/elements/gstmd5sink.h:
17771         * gst/elements/gstmultifilesrc.c:
17772         * gst/elements/gstmultifilesrc.h:
17773         * gst/elements/gstpipefilter.c:
17774         * gst/elements/gstpipefilter.h:
17775         * gst/elements/gstshaper.c:
17776         * gst/elements/gstshaper.h:
17777         * gst/elements/gststatistics.c:
17778         * gst/elements/gststatistics.h:
17779         * po/POTFILES.in: Remove above files.
17780
17781 2005-05-14  Andy Wingo  <wingo@pobox.com>
17782
17783         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17784         so as to get the refs right.
17785         (sink_iterator_filter): New function, wraps bin_element_is_sink,
17786         unreffing objects that don't pass the filter.
17787
17788         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17789         gst_element_set_bus.
17790         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17791         normal cases, this will destroy the bus.
17792
17793         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17794         object.
17795
17796         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17797         has no sinks.
17798
17799 2005-05-13  Andy Wingo  <wingo@pobox.com>
17800
17801         * gst/gstutils.c (gst_element_link_pads): Instead of calling
17802         gst_pad_link, call pad_link_maybe_ghosting,
17803         (pad_link_maybe_ghosting): Links pads, making sure that the
17804         elements being linked are in the same bin.
17805         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17806         Helpers for pad_link_maybe_ghosting.
17807
17808 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17809
17810         * configure.ac:
17811           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17812
17813 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17814
17815         * docs/design/part-element-source.txt:
17816           Mention GstPushSrc
17817
17818 2005-05-12  Wim Taymans  <wim@fluendo.com>
17819
17820         * gst/base/gstbasesink.c: (gst_basesink_init),
17821         (gst_basesink_activate):
17822         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17823         (gst_basesrc_is_seekable):
17824         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17825         (bin_element_is_sink), (gst_bin_change_state):
17826         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17827         * gst/gstelement.h:
17828         Identify sinks by their flag to avoid overly complicated
17829         checks (fow now).
17830         Do state changes even for elements not reachable from the
17831         sinks.
17832         BaseSink is a sink now :)
17833         Some more debugging info in the basesrc.
17834
17835
17836 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17837
17838         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17839           Implement _query on a bin, similar to _send_event.
17840
17841 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
17842
17843         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17844           Discont event offset format should be GST_FORMAT_BYTES,
17845           not GST_FORMAT_TIME.
17846
17847 2005-05-12  Wim Taymans  <wim@fluendo.com>
17848
17849         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17850         Same fix as Ronald's but without the signal. 
17851
17852 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17853
17854         * gst/gstutils.c: (gst_element_query_position):
17855           No, an element is not a pad.
17856
17857 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17858
17859         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17860         (gst_bin_get_state):
17861           If a child is removed from a bin while we remove the child from
17862           the bin and while we're retrieving its state, signal this to the
17863           get_state function so we abort the wait (instead of waiting for
17864           a timeout) and can immediately re-iterate over all other elements.
17865
17866 2005-05-12  Wim Taymans  <wim@fluendo.com>
17867
17868         * gst/base/Makefile.am:
17869         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17870         (gst_basesrc_start):
17871         * gst/base/gstbasesrc.h:
17872         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17873         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17874         (gst_pushsrc_init), (gst_pushsrc_create):
17875         * gst/base/gstpushsrc.h:
17876         Added is_seekable to BaseSrc
17877         Added simple PushSrc.
17878
17879 2005-05-11  Wim Taymans  <wim@fluendo.com>
17880
17881         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17882         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17883         (gst_element_link_pads), (gst_element_query_position),
17884         (gst_element_query_convert), (intersect_caps_func),
17885         (gst_pad_query_position), (gst_pad_query_convert):
17886         Fix refcounting in utils function.
17887         No point in trying to activate a pad when it's added, it could
17888         be added from the state change function and then we deadlock, the
17889         element has to decide what to do.
17890
17891 2005-05-10  Andy Wingo  <wingo@pobox.com>
17892
17893         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17894         *all* the arguments.
17895
17896         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17897         stream lock if it's a FLUSH_DONE; normal flushes don't get the
17898         lock (according to the docs -- if this is wrong change the docs).
17899
17900         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17901         flush messages in the NULL state.
17902
17903         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17904         message immediately and return.
17905         (gst_bus_set_flushing): New function. If a bus is flushing, it
17906         flushes out any queued messages and immediately unrefs new
17907         messages. This is so when an element goes to NULL, all of the
17908         unhandled messages coming from it can be freed, and their
17909         references to the element dropped. In other words: message source
17910         ref considered harmful :P
17911
17912         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17913         we're finished with it.
17914
17915         * gst/gstmessage.c (gst_message_new_state_changed): 
17916
17917 2005-05-10  Wim Taymans  <wim@fluendo.com>
17918
17919         * gst/gstvalue.c: (gst_value_compare_flags),
17920         (gst_value_serialize_flags), (gst_value_deserialize_flags),
17921         (_gst_value_initialize):
17922         Added flags serialize/deserialize/compare code.
17923
17924 2005-05-09  Andy Wingo  <wingo@pobox.com>
17925
17926         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17927         Intersect the peer's caps with our caps.
17928
17929 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17930
17931         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17932         * gst/elements/gsttypefindelement.c: (find_peek):
17933           Handle negative offsets better. Fixes decodebin.
17934
17935 2005-05-09  Wim Taymans  <wim@fluendo.com>
17936
17937         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17938         (gst_base_transform_event):
17939         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17940         Implement accept_caps.
17941         Fix silly lock/unlock mismatch in base class.
17942
17943 2005-05-09  Wim Taymans  <wim@fluendo.com>
17944
17945         * docs/design/draft-push-pull.txt:
17946         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17947         * gst/elements/gstfilesink.c: (gst_filesink_init),
17948         (gst_filesink_query):
17949         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17950         (gst_type_find_handle_src_query), (find_element_get_length):
17951         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17952         * gst/gstelement.h:
17953         * gst/gstmessage.c:
17954         * gst/gstmessage.h:
17955         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17956         (gst_real_pad_get_caps_unlocked),
17957         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17958         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17959         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17960         (gst_real_pad_dispose), (gst_real_pad_finalize),
17961         (gst_pad_load_and_link), (gst_pad_save_thyself),
17962         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17963         (gst_pad_check_pull_range), (gst_pad_pull_range),
17964         (gst_pad_template_get_type), (gst_pad_template_class_init),
17965         (gst_pad_template_init), (gst_pad_template_dispose),
17966         (name_is_valid), (gst_static_pad_template_get),
17967         (gst_pad_template_new), (gst_static_pad_template_get_caps),
17968         (gst_pad_template_get_caps), (gst_pad_set_element_private),
17969         (gst_pad_get_element_private), (gst_pad_start_task),
17970         (gst_pad_pause_task), (gst_pad_stop_task),
17971         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17972         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17973         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
17974         (gst_ghost_pad_new):
17975         * gst/gstpad.h:
17976         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
17977         (gst_query_new_position), (gst_query_set_position),
17978         (gst_query_parse_position), (gst_query_new_convert),
17979         (gst_query_set_convert), (gst_query_parse_convert):
17980         * gst/gstquery.h:
17981         * gst/gstqueryutils.c:
17982         * gst/gstqueryutils.h:
17983         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17984         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17985         (gst_queue_handle_src_query):
17986         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17987         (gst_element_query_position), (gst_element_query_convert),
17988         (intersect_caps_func), (gst_pad_query_position),
17989         (gst_pad_query_convert):
17990         * gst/gstutils.h:
17991         * tools/gst-inspect.c: (print_pad_info):
17992         * tools/gst-xmlinspect.c: (print_element_info):
17993         Remove old query functions. Ported old code.
17994         Added position/convert helper functions to gstutils.
17995         Reordered gstpad.c code, grouping relevant things.
17996         Remove gst_message_new(), always need to speficy a specific
17997         message.
17998
17999
18000 2005-05-09  Andy Wingo  <wingo@pobox.com>
18001
18002         * gst/gstiterator.h: Add some includes.
18003
18004         * gst/gstqueryutils.h: Include more headers.
18005
18006         * gst/gstpad.h:
18007         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18008         some uses of gst_pad_query.
18009
18010         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18011         NULL out parameters.
18012         (gst_query_new_position): New proc, allocates a new position
18013         query.
18014
18015         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18016         gstqueryutils.c to the build.
18017
18018         * gst/gststructure.c (gst_structure_set_valist): Implement with
18019         the generic G_VALUE_COLLECT.
18020         
18021 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18022
18023         * gst/Makefile.am: (gst_headers):
18024         Added gstqueryutils.h to the list of headers to install, that was
18025         a 'nachty' move wingo :)
18026
18027 2005-05-06  Andy Wingo  <wingo@pobox.com>
18028
18029         * gst/gstquery.h
18030         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18031         GstData, init a memchunk.
18032         (standard_definitions): Add a few query types, deprecate a few.
18033         (gst_query_get_type): New proc.
18034         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18035         implementation.
18036         (gst_query_new_application, gst_query_get_structure): New public
18037         procs.
18038
18039         * docs/design/draft-query.txt: Removed LINKS from the query types,
18040         because all the rest can be dispatched to other pads -- seemed
18041         ugly to have a query that couldn't be dispatched. internal_links
18042         is fine as a pad method.
18043
18044         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18045         in gstpad.c, but maintain binary compatibility for the moment.
18046         Will fix before 0.9 is out.
18047
18048         * gst/gstqueryutils.c: 
18049         * gst/gstqueryutils.h: New files, implement 3 methods for each
18050         query type: parse_query, parse_response, and set. Probably need an
18051         allocator as well.
18052
18053         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18054
18055         * gst/elements/gstfilesink.c (gst_filesink_query2):
18056         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18057         query_types, and formats methods.
18058
18059         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18060         (gst_pad_set_query2_function): New functions.
18061         (gst_real_pad_init): Set query2_default as the default query2
18062         function. Basically just dispatches to internally linked pads.
18063
18064         Needs review!
18065         
18066         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18067         without using the atomic operations. Only one thread can possibly
18068         be accessing the data at this point. Changed so as to avoid
18069         gst_atomic operations.
18070
18071 2005-05-06  Wim Taymans  <wim@fluendo.com>
18072
18073         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18074         Also set caps if we use the fallback buffer alloc.
18075
18076 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18077
18078         * docs/gst/Makefile.am:
18079         * docs/gst/gstreamer-docs.sgml:
18080         * docs/gst/gstreamer-sections.txt:
18081         * docs/gst/tmpl/gstatomic.sgml:
18082         * docs/gst/tmpl/gstmemchunk.sgml:
18083         * testsuite/elements/struct_i386.h:
18084         * win32/GStreamer.vcproj:
18085         * win32/Makefile:
18086           Purge GstAtomic stuff from docs and win32 makefiles as well
18087
18088 2005-05-06  Wim Taymans  <wim@fluendo.com>
18089
18090         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18091         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18092         * gst/gstpad.c: (gst_pad_peer_get_caps):
18093         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18094         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18095         (gst_queue_src_activate), (gst_queue_change_state):
18096         * gst/gstqueue.h:
18097         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18098         (intersect_caps_func):
18099         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18100         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18101         Some fixes for the peer_get_caps() change.
18102
18103 2005-05-06  Wim Taymans  <wim@fluendo.com>
18104
18105         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18106         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18107         (gst_basesink_activate):
18108         Actually do something with error codes returned from the push
18109         functions.
18110
18111 2005-05-06  Wim Taymans  <wim@fluendo.com>
18112
18113         * docs/design/part-element-sink.txt:
18114         * docs/design/part-element-source.txt:
18115         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18116         (gst_basesink_event), (gst_basesink_activate):
18117         * gst/base/gstbasesink.h:
18118         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18119         (gst_basesrc_activate):
18120         * gst/base/gstbasesrc.h:
18121         * gst/gstelement.c: (gst_element_pads_activate):
18122         Some more documentation.
18123         Fixed scheduling decision in _pads_activate().
18124
18125 2005-05-05  Andy Wingo  <wingo@pobox.com>
18126
18127         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18128         the test suite.
18129
18130 2005-05-05  Wim Taymans  <wim@fluendo.com>
18131
18132         * gst/base/Makefile.am:
18133         * gst/base/gstbasesink.h:
18134         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18135         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18136         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18137         (gst_collectpads_class_init), (gst_collectpads_init),
18138         (gst_collectpads_finalize), (gst_collectpads_new),
18139         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18140         (find_pad), (gst_collectpads_remove_pad),
18141         (gst_collectpads_is_active), (gst_collectpads_collect),
18142         (gst_collectpads_collect_range), (gst_collectpads_start),
18143         (gst_collectpads_stop), (gst_collectpads_peek),
18144         (gst_collectpads_pop), (gst_collectpads_available),
18145         (gst_collectpads_read), (gst_collectpads_flush),
18146         (gst_collectpads_chain):
18147         * gst/base/gstcollectpads.h:
18148         * gst/elements/Makefile.am:
18149         * gst/elements/gstelements.c:
18150         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18151         (gst_fakesink_get_times), (gst_fakesink_event),
18152         (gst_fakesink_preroll), (gst_fakesink_render):
18153         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18154         (gst_filesink_init), (gst_filesink_set_location),
18155         (gst_filesink_open_file), (gst_filesink_close_file),
18156         (gst_filesink_pad_query), (gst_filesink_event),
18157         (gst_filesink_render), (gst_filesink_change_state):
18158         * gst/elements/gstfilesink.h:
18159         Added object to help in making collect pad based elements.
18160         Ported filesink.
18161         Make event function in sink baseclass return gboolean.
18162
18163 2005-05-05  Wim Taymans  <wim@fluendo.com>
18164
18165         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18166         (gst_bin_get_by_name):
18167         * gst/gstbuffer.h:
18168         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18169         (gst_clock_finalize):
18170         * gst/gstdata.c: (gst_data_replace):
18171         * gst/gstdata.h:
18172         * gst/gstelement.c: (gst_element_request_pad),
18173         (gst_element_pads_activate):
18174         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18175         (gst_object_unref):
18176         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18177         (gst_pad_set_checkgetrange_function),
18178         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18179         (gst_pad_check_pull_range), (gst_pad_pull_range),
18180         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18181         (gst_pad_pause_task), (gst_pad_stop_task):
18182         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18183         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18184         Fix name lookup in GstBin.
18185         Added _data_replace() function and _buffer_replace()
18186         Use finalize method to clean up clock.
18187         Fix refcounting on request pads.
18188         Fix pad schedule mode error.
18189         Some more object refcounting debug info,
18190
18191
18192 2005-05-04  Andy Wingo <wingo@pobox.com>
18193
18194         * check/Makefile.am:
18195         * docs/gst/tmpl/gstatomic.sgml:
18196         * docs/gst/tmpl/gstplugin.sgml:
18197         * gst/base/gstbasesink.c: (gst_basesink_activate):
18198         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18199         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18200         (gst_basesrc_query), (gst_basesrc_set_property),
18201         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18202         (gst_basesrc_activate):
18203         * gst/base/gstbasesrc.h:
18204         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18205         (gst_base_transform_src_activate):
18206         * gst/elements/gstelements.c:
18207         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18208         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18209         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18210         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18211         (gst_type_find_element_checkgetrange),
18212         (gst_type_find_element_activate):
18213         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18214         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18215         (gst_caps_load_thyself):
18216         * gst/gstelement.c: (gst_element_pads_activate),
18217         (gst_element_save_thyself), (gst_element_restore_thyself):
18218         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18219         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18220         * gst/gstpad.h:
18221         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18222         (gst_xml_parse_file), (gst_xml_parse_memory),
18223         (gst_xml_get_element), (gst_xml_make_element):
18224         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18225         (_file_index_id_save_xml), (gst_file_index_commit):
18226         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18227         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18228         (load_paths):
18229         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18230         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18231         * tools/gst-complete.c: (main):
18232         * tools/gst-compprep.c: (main):
18233         * tools/gst-inspect.c: (print_element_properties_info):
18234         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18235         * tools/gst-xmlinspect.c: (print_element_properties):
18236         GCC 4 fixen.
18237         
18238 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18239
18240         * gst/gstplugin.c: (gst_plugin_check_module),
18241         (gst_plugin_check_file), (gst_plugin_load_file):
18242             apply patch from #172526 to make register work on MacOSX
18243
18244 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18245
18246         * docs/gst/tmpl/gstconfig.sgml:
18247         * gst/gstconfig.h.in:
18248           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18249         * testsuite/debug/printf_extension.c: (main):
18250           Do not use GST_PTR_FORMAT on pointers to types with
18251           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18252         * testsuite/elements/property.h:
18253           use correct printf format
18254
18255 2005-05-02  Wim Taymans  <wim@fluendo.com>
18256
18257         * docs/design/draft-push-pull.txt:
18258         * docs/design/draft-query.txt:
18259         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18260         (gst_basesrc_start):
18261         Added draft for new query API.
18262         Added draft for better selecting scheduling methods.
18263         Make basesrc ignore length if the subclass does not support
18264         it.
18265
18266 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18267
18268         * gst/Makefile.am:
18269           possible fixes for automake-1.5 - _LIBADD is reserved
18270
18271 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18272
18273         * docs/faq/Makefile.am:
18274         * docs/manual/Makefile.am:
18275         * docs/manuals.mak:
18276         * docs/pwg/Makefile.am:
18277         * gst/Makefile.am:
18278           possible fixes for automake-1.5
18279
18280 2005-04-28  Wim Taymans  <wim@fluendo.com>
18281
18282         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18283         (gst_basesink_pad_getcaps), (gst_basesink_init),
18284         (gst_basesink_do_sync):
18285         * gst/gstclock.c: (gst_clock_entry_new):
18286         * gst/gstevent.c: (gst_event_discont_get_value):
18287         * gst/gstpipeline.c: (pipeline_bus_handler),
18288         (gst_pipeline_change_state):
18289         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18290         Better debugging of clocking info.
18291         Allow NULL values when getting discont values.
18292
18293 2005-04-27  Wim Taymans  <wim@fluendo.com>
18294
18295         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18296         * check/gst/gstpad.c: (gst_pad_suite):
18297         Increase timeout for checks.
18298
18299 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18300
18301         * check/Makefile.am:
18302           fix the broken rule for cleanup.  Apparently this rule is
18303           only needed on FC2, so maybe this warrants further autotool
18304           inspection.
18305
18306 2005-04-26  Wim Taymans  <wim@fluendo.com>
18307
18308         * gst/gsttrashstack.h:
18309         Ooohh. a nasty one! After having a failed pop() from the stack,
18310         it's possible that the stack is empty. In that case, don't
18311         follow the NULL pointer.
18312
18313 2005-04-25  Wim Taymans  <wim@fluendo.com>
18314
18315         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18316         (gst_pad_set_checkgetrange_function),
18317         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18318         (gst_pad_check_pull_range), (gst_pad_pull_range),
18319         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18320         (gst_pad_pause_task), (gst_pad_stop_task):
18321         * gst/gstplugin.c: (gst_plugin_load):
18322         * gst/gstplugin.h:
18323         Remove gst_library_load as it does more harm than good with
18324         the new g_module flags.
18325         Revert bogus caps template check in pad linking, pad caps
18326         are important when linking not the template, which is more
18327         general than the current caps.
18328
18329 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18330
18331         * gst/autoplug/.cvsignore:
18332         * gst/autoplug/Makefile.am:
18333         * gst/autoplug/gstsearchfuncs.c:
18334         * gst/autoplug/gstsearchfuncs.h:
18335         * gst/autoplug/gstspider.c:
18336         * gst/autoplug/gstspider.h:
18337         * gst/autoplug/gstspideridentity.c:
18338         * gst/autoplug/gstspideridentity.h:
18339         * gst/autoplug/spidertest.c:
18340           Die, spider, die.
18341
18342 2005-04-25  Wim Taymans  <wim@fluendo.com>
18343
18344         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18345         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18346         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18347         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18348         * gst/gstpad.h:
18349         Added stubs for unimplemented functions. 
18350
18351 2005-04-24  David Schleef  <ds@schleef.org>
18352
18353         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18354         please fix.
18355
18356 2005-04-24  David Schleef  <ds@schleef.org>
18357
18358         Convert everything from GstAtomicInt to g_atomic_int_*, and
18359         remove gstatomic.
18360         * gst/Makefile.am:
18361         * gst/gstatomic.c:
18362         * gst/gstatomic.h:
18363         * gst/gstatomic_impl.h:
18364         * gst/gstbuffer.c:
18365         * gst/gstcaps.c:
18366         * gst/gstcaps.h:
18367         * gst/gstclock.c:
18368         * gst/gstclock.h:
18369         * gst/gstdata.c:
18370         * gst/gstdata.h:
18371         * gst/gstdata_private.h:
18372         * gst/gstevent.c:
18373         * gst/gstinfo.c:
18374         * gst/gstinfo.h:
18375         * gst/gstmessage.c:
18376         * gst/gstobject.c:
18377         * gst/gstobject.h:
18378         * gst/gststructure.c:
18379         * gst/gststructure.h:
18380         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18381         * gst/gstutils.h:
18382
18383 2005-04-24  David Schleef  <ds@schleef.org>
18384
18385         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18386         make the regressions tests work.  Remove some code that is no
18387         longer true.
18388         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18389         Disable warning for pads without templates.
18390
18391 2005-04-24  David Schleef  <ds@schleef.org>
18392
18393         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18394         functions that handle filtered links.
18395         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18396         removed functions.
18397         * gst/gstutils.c: Fix/remove utility functions that handle
18398         filtered caps.
18399         * gst/gstutils.h:
18400         * gst/gstvalue.c: Add serialization/deserialization of caps
18401         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18402         requires fixing so that the filter caps notation creates
18403         a capsfilter element and sets the filter_caps property.  I
18404         think everyone probably wants to keep the shorthand notation.
18405         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18406         * docs/gst/tmpl/gstpad.sgml:
18407
18408         * gst/elements/gstelements.c: Register capsfilter element.
18409         * gst/Makefile.am: fix spacing
18410         * docs/random/ds/0.9-suggested-changes: random
18411
18412 2005-04-23  David Schleef  <ds@schleef.org>
18413
18414         * gst/elements/Makefile.am:
18415         * gst/elements/gstcapsfilter.c: New element that acts like an
18416         identity, but filters caps.  Will eventually replace filtered
18417         caps in pad linking.
18418         * gst/gstutils.c: (gst_element_create_all_pads): New function
18419         to create all the ALWAYS pads that are registered with an
18420         element class.  This functionality should eventually be
18421         merged in with GstElement initialization.
18422         * gst/gstutils.h:
18423         * testsuite/trigger/README: part of trigger test code that should
18424         have been checked in a long time ago.
18425
18426 2005-04-23  David Schleef  <ds@schleef.org>
18427
18428         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18429         needed with new versions of libtool (nobody will confirm this),
18430         and hard to carry around.
18431         * gst/autoplug/Makefile.am:
18432         * gst/base/Makefile.am:
18433         * gst/elements/Makefile.am:
18434         * gst/indexers/Makefile.am:
18435         * gst/schedulers/Makefile.am:
18436         * libs/gst/bytestream/Makefile.am:
18437         * libs/gst/control/Makefile.am:
18438         * libs/gst/dataprotocol/Makefile.am:
18439         * libs/gst/getbits/Makefile.am:
18440
18441 2005-04-21  Wim Taymans  <wim@fluendo.com>
18442
18443         * docs/design/draft-push-pull.txt:
18444         * docs/design/part-MT-refcounting.txt:
18445         * docs/design/part-TODO.txt:
18446         * docs/design/part-caps.txt:
18447         * docs/design/part-events.txt:
18448         * docs/design/part-gstbus.txt:
18449         * docs/design/part-gstpipeline.txt:
18450         * docs/design/part-messages.txt:
18451         * docs/design/part-push-pull.txt:
18452         * docs/design/part-query.txt:
18453         Some more docs.
18454
18455 2005-04-21  Wim Taymans  <wim@fluendo.com>
18456
18457         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18458         (gst_message_new), (gst_message_new_error),
18459         (gst_message_new_warning), (gst_message_new_tag),
18460         (gst_message_new_state_changed), (gst_message_new_application),
18461         (gst_message_get_structure):
18462         * gst/gstmessage.h:
18463         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18464         (gst_structure_copy_conditional):
18465         Use parent refcount in GstMessage to ensure GstStructure
18466         consistency.
18467         Cleaned up headers a bit.
18468         
18469
18470 2005-04-20  Wim Taymans  <wim@fluendo.com>
18471
18472         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18473         (gst_basesink_pad_getcaps), (gst_basesink_init),
18474         (gst_basesink_chain_unlocked):
18475         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18476         (gst_type_find_helper):
18477         * gst/elements/gsttypefindelement.c:
18478         (gst_type_find_element_have_type), (gst_type_find_element_init),
18479         (stop_typefinding), (gst_type_find_element_handle_event),
18480         (find_suggest), (gst_type_find_element_chain),
18481         (gst_type_find_element_checkgetrange),
18482         (gst_type_find_element_getrange), (do_typefind),
18483         (gst_type_find_element_activate):
18484         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18485         (gst_buffer_default_free), (gst_buffer_default_copy),
18486         (gst_buffer_set_caps):
18487         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18488         (gst_caps_replace):
18489         * gst/gstmessage.c: (gst_message_new),
18490         (gst_message_new_state_changed):
18491         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18492         (gst_pad_set_checkgetrange_function),
18493         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18494         (gst_pad_set_caps), (gst_pad_check_pull_range),
18495         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18496         * gst/gstpad.h:
18497         * gst/gsttypefind.c: (gst_type_find_register):
18498         Make gst_caps_replace() work like other _replace() functions.
18499         Use _caps_replace() where possible.
18500         Make sure _message_new() initialises its field.
18501         Add gst_static_pad_template_get_caps()
18502
18503
18504 2005-04-18  Andy Wingo  <wingo@pobox.com>
18505
18506         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18507         on the peer, not the pad. I think that was a typo. Pass an extra
18508         arg to see if random access is possible. Activate the pads as
18509         PULL_RANGE if possible.
18510
18511         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18512
18513         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18514         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18515         to PROP_....
18516
18517 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18518
18519         * docs/faq/using.xml:
18520           Add note on gstreamer-properties (#154996).
18521
18522 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18523
18524         * docs/random/bbb/optional-properties:
18525           Some analysis on optional properties.
18526
18527 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18528
18529         * docs/gst/tmpl/gstelementfactory.sgml:
18530         * gst/gstelement.h:
18531         * gst/gstelementfactory.c: (gst_element_factory_init),
18532         (gst_element_factory_cleanup), (gst_element_register),
18533         (__gst_element_factory_add_static_pad_template),
18534         (gst_element_factory_get_static_pad_templates),
18535         (gst_element_factory_can_src_caps),
18536         (gst_element_factory_can_sink_caps):
18537         * gst/registries/Makefile.am:
18538         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18539         (gst_xml_registry_class_init), (gst_xml_registry_init),
18540         (gst_xml_registry_new), (gst_xml_registry_set_property),
18541         (gst_xml_registry_get_property), (get_time), (make_dir),
18542         (gst_xml_registry_get_perms_func),
18543         (plugin_times_older_than_recurse), (plugin_times_older_than),
18544         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18545         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18546         (add_to_char_array), (read_string), (read_uint), (read_enum),
18547         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18548         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18549         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18550         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18551         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18552         (gst_xml_registry_rebuild):
18553         * gst/registries/gstlibxmlregistry.h:
18554         * tools/gst-compprep.c: (main):
18555         * tools/gst-inspect.c: (print_pad_templates_info):
18556         * tools/gst-xmlinspect.c: (print_element_info):
18557           Use libxml2 for registry parsing, use staticpadtemplates in
18558           elementfactories. Makes gst_init() +/- 10x faster.
18559
18560 2005-04-12  Wim Taymans  <wim@fluendo.com>
18561
18562         * gst/base/Makefile.am:
18563         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18564         (gst_basesink_pad_getcaps), (gst_basesink_init),
18565         (gst_basesink_event), (gst_basesink_change_state):
18566         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18567         (gst_basesrc_init), (gst_basesrc_query),
18568         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18569         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18570         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18571         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18572         (gst_basesrc_stop), (gst_basesrc_activate),
18573         (gst_basesrc_change_state):
18574         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18575         (helper_find_suggest), (gst_type_find_helper):
18576         * gst/base/gsttypefindhelper.h:
18577         * gst/elements/Makefile.am:
18578         * gst/elements/gstelements.c:
18579         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18580         (gst_fakesink_get_times), (gst_fakesink_event),
18581         (gst_fakesink_preroll), (gst_fakesink_render):
18582         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18583         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18584         (gst_fakesrc_get_property), (gst_fakesrc_create),
18585         (gst_fakesrc_start), (gst_fakesrc_stop):
18586         * gst/elements/gstfakesrc.h:
18587         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18588         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18589         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18590         (gst_filesrc_create_read), (gst_filesrc_create),
18591         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18592         (gst_filesrc_start):
18593         * gst/elements/gsttypefindelement.c:
18594         (gst_type_find_element_have_type), (gst_type_find_element_init),
18595         (start_typefinding), (stop_typefinding), (push_buffer_store),
18596         (gst_type_find_element_handle_event),
18597         (gst_type_find_element_chain),
18598         (gst_type_find_element_checkgetrange),
18599         (gst_type_find_element_getrange), (do_typefind),
18600         (gst_type_find_element_activate),
18601         (gst_type_find_element_change_state):
18602         * gst/elements/gsttypefindelement.h:
18603         * gst/gstpipeline.c: (pipeline_bus_handler):
18604         Added typefind helper.
18605         Small preroll fix in the base sink.
18606         Disable typefind code in basesrc.
18607         Crude port of typefindelement.
18608         Fakesrc cleanups.
18609
18610
18611 2005-04-11  Wim Taymans  <wim@fluendo.com>
18612
18613         * check/gst/gstbus.c: (gstbus_suite):
18614         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18615         * check/gstcheck.h:
18616           Fix up the timeout so that the test does not fail.
18617
18618 2005-04-06  Wim Taymans  <wim@fluendo.com>
18619
18620         * gst/base/README:
18621         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18622         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18623         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18624         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18625         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18626         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18627         (gst_basesrc_stop), (gst_basesrc_activate),
18628         (gst_basesrc_change_state), (basesrc_find_peek),
18629         (basesrc_find_suggest), (gst_basesrc_type_find):
18630         * gst/base/gstbasesrc.h:
18631         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18632         (gst_filesrc_class_init), (gst_filesrc_init),
18633         (gst_filesrc_finalize), (gst_filesrc_set_location),
18634         (gst_filesrc_set_property), (gst_filesrc_get_property),
18635         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18636         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18637         (gst_filesrc_create_read), (gst_filesrc_create),
18638         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18639         * gst/elements/gstfilesrc.h:
18640         * gst/gstelement.c: (gst_element_get_state_func),
18641         (gst_element_lost_state), (gst_element_pads_activate):
18642         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18643         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18644         (gst_pad_pull_range):
18645         * gst/gstpad.h:
18646         More work on the generic source base class, implement seeking,
18647         query.
18648         Make filesrc extend the base source class.
18649         Added gst_pad_set_checkgetrange_function to GstPad.
18650
18651 2005-04-06  Andy Wingo  <wingo@pobox.com>
18652
18653         * pkgconfig/gstreamer-base.pc.in:
18654         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18655
18656         * pkgconfig/Makefile.am:
18657         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18658
18659 2005-04-04  Wim Taymans  <wim@fluendo.com>
18660
18661         * gst/base/Makefile.am:
18662         * gst/base/README:
18663         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18664         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18665         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18666         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18667         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18668         (gst_basesrc_base_init), (gst_basesrc_class_init),
18669         (gst_basesrc_init), (gst_basesrc_get_formats),
18670         (gst_basesrc_get_query_types), (gst_basesrc_query),
18671         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18672         (gst_basesrc_set_property), (gst_basesrc_get_property),
18673         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18674         (gst_basesrc_loop), (gst_basesrc_activate),
18675         (gst_basesrc_change_state):
18676         * gst/base/gstbasesrc.h:
18677         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18678         (gst_fakesrc_class_init), (gst_fakesrc_init),
18679         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18680         (gst_fakesrc_get_property), (gst_fakesrc_create):
18681         * gst/elements/gstfakesrc.h:
18682         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18683         (gst_filesrc_open_file), (gst_filesrc_loop),
18684         (gst_filesrc_activate), (filesrc_find_peek),
18685         (gst_filesrc_type_find):
18686         Made base source class, make fakesrc extend it.
18687         Add comments to basesink class.
18688         Some filesrc cleanup.
18689
18690 2005-03-31  David Schleef  <ds@schleef.org>
18691
18692         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18693         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18694         expected to link against libgstreamer.
18695         * gst/base/Makefile.am: link against libgstreamer
18696         * gst/elements/Makefile.am: same
18697
18698 2005-03-31  Andy Wingo  <wingo@pobox.com>
18699
18700         * tests/instantiate/Makefile.am:
18701         * tests/instantiate/caps.c: Add test to test speed of caps copy
18702         and free.
18703
18704         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18705         GMemChunk to be fair.
18706
18707         * gst/gsttrashstack.h: Remove warning about using the fallback
18708         trash stack implementation, it's still faster than malloc.
18709
18710 2005-03-30  Andy Wingo  <wingo@pobox.com>
18711
18712         * tests/complexity.c: Add a copyright.
18713
18714 2005-03-31  Wim Taymans  <wim@fluendo.com>
18715
18716         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18717         (gst_base_transform_class_init), (gst_base_transform_init),
18718         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18719         (gst_base_transform_get_property),
18720         (gst_base_transform_sink_activate),
18721         (gst_base_transform_src_activate),
18722         (gst_base_transform_change_state):
18723         * gst/base/gstbasetransform.h:
18724         * gst/elements/gstidentity.c: (gst_identity_class_init),
18725         (gst_identity_event), (gst_identity_check_perfect),
18726         (gst_identity_transform), (gst_identity_start),
18727         (gst_identity_stop):
18728         Added start/stop methods to transform base class so subclasses 
18729         don't need to deal with state changes even.
18730
18731 2005-03-31  Wim Taymans  <wim@fluendo.com>
18732
18733         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18734         (gst_event_new_discontinuous), (gst_event_discont_get_value):
18735         * gst/gstevent.h:
18736         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18737         (gst_pad_pull_range):
18738         Added rate to the discont event to prepare for variable speed
18739         and reverse playback.
18740
18741 2005-03-29  David Schleef  <ds@schleef.org>
18742
18743         * configure.ac:
18744         * testsuite/trigger/Makefile.am:
18745         * testsuite/trigger/trigger.c: A little example program to show
18746         how trigger-based elements can work.
18747
18748 2005-03-29  Wim Taymans  <wim@fluendo.com>
18749
18750         * gst/base/Makefile.am:
18751         * gst/base/README:
18752         * gst/base/gstbasesink.c: (gst_basesink_get_type),
18753         (gst_basesink_base_init), (gst_basesink_class_init),
18754         (gst_basesink_pad_getcaps), (gst_basesink_init),
18755         (gst_basesink_activate), (gst_basesink_change_state):
18756         * gst/base/gstbasesink.h:
18757         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18758         (gst_base_transform_base_init), (gst_base_transform_finalize),
18759         (gst_base_transform_class_init), (gst_base_transform_init),
18760         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18761         (gst_base_transform_event), (gst_base_transform_getrange),
18762         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18763         (gst_base_transform_set_property),
18764         (gst_base_transform_get_property),
18765         (gst_base_transform_sink_activate),
18766         (gst_base_transform_src_activate),
18767         (gst_base_transform_change_state):
18768         * gst/base/gstbasetransform.h:
18769         * gst/elements/gstidentity.c: (gst_identity_finalize),
18770         (gst_identity_class_init), (gst_identity_init),
18771         (gst_identity_event), (gst_identity_check_perfect),
18772         (gst_identity_transform), (gst_identity_set_property),
18773         (gst_identity_get_property), (gst_identity_change_state):
18774         * gst/elements/gstidentity.h:
18775         * gst/gstelement.c: (gst_element_get_state_func),
18776         (gst_element_lost_state), (gst_element_pads_activate):
18777         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18778         (gst_pad_check_pull_range), (gst_pad_pull_range):
18779         * gst/gstpad.h:
18780         Simplify pad activation.
18781         Added function to check if pull_range can be performed.
18782         Error out when pulling inactive or flushing pads.
18783         Removed const from refcounted types as it does not make sense.
18784         Simplify pad templates in basesink
18785         Added base class for simple 1-to-1 transforms.
18786         Make identity subclass the base transform.
18787
18788 2005-03-29  Andy Wingo  <wingo@pobox.com>
18789
18790         * docs/libs/gstreamer-libs-overrides.txt: 
18791         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18792         really don't understand what's going on, but like whatever. I want
18793         green buildbot!
18794
18795         * docs/gst/Makefile.am:
18796         * docs/libs/Makefile.am: Dist the overrides files.
18797
18798         * check/Makefile.am (clean-local): Remove .libs directories.
18799
18800         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18801         elements to EXTRA_DIST, so po/ files are happy.
18802
18803         * po/POTFILES.in: Er, remove it here.
18804
18805         * po/POTFILES: Remove gstspider.c.
18806
18807         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18808
18809         * docs/libs/gstreamer-libs-docs.sgml: 
18810         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18811         bytestream.
18812
18813         * tests/complexity.c (main): Set the length of the preroll queue
18814         on the sinks to prevent a lockup.
18815
18816         * libs/gst/dataprotocol/Makefile.am: 
18817         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18818         the same as the one in check/gst-libs/gdp.c.
18819
18820         * po/, docs/gst/: Commit automatic changes to docs and po files.
18821
18822         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18823         the versioned libgstbase.
18824
18825         * check/Makefile.am: Depend on an unversioned gst-register, seems
18826         to make autoconf happier.
18827
18828         * gst/base/Makefile.am: Make libgstbase a versioned lib.
18829
18830 2005-03-28  Wim Taymans  <wim@fluendo.com>
18831
18832         * configure.ac:
18833         * docs/design/part-gstelement.txt:
18834         * docs/design/part-negotiation.txt:
18835         * docs/design/part-preroll.txt:
18836         * docs/design/part-scheduling.txt:
18837         * docs/design/part-states.txt:
18838         * gst/Makefile.am:
18839         * gst/base/Makefile.am:
18840         * gst/base/README:
18841         * gst/base/gstbasesink.c: (gst_basesink_get_template),
18842         (gst_basesink_base_init), (gst_basesink_class_init),
18843         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18844         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18845         (gst_basesink_set_pad_functions),
18846         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18847         (gst_basesink_set_property), (gst_basesink_get_property),
18848         (gst_base_sink_get_template), (gst_base_sink_get_caps),
18849         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18850         (gst_basesink_preroll_queue_push),
18851         (gst_basesink_preroll_queue_empty),
18852         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18853         (gst_basesink_event), (gst_basesink_get_times),
18854         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18855         (gst_basesink_chain_unlocked), (gst_basesink_chain),
18856         (gst_basesink_loop), (gst_basesink_activate),
18857         (gst_basesink_change_state):
18858         * gst/base/gstbasesink.h:
18859         * gst/elements/Makefile.am:
18860         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18861         (gst_fakesink_class_init), (gst_fakesink_init),
18862         (gst_fakesink_set_property), (gst_fakesink_get_property),
18863         (gst_fakesink_get_times), (gst_fakesink_event),
18864         (gst_fakesink_preroll), (gst_fakesink_render),
18865         (gst_fakesink_change_state):
18866         * gst/elements/gstfakesink.h:
18867         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18868         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18869         * gst/gstelement.c: (gst_element_add_pad),
18870         (gst_element_get_state_func), (gst_element_abort_state),
18871         (gst_element_commit_state), (gst_element_lost_state),
18872         (gst_element_set_state), (gst_element_pads_activate):
18873         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18874         * gst/gstpipeline.c: (gst_pipeline_send_event),
18875         (gst_pipeline_change_state):
18876         Added state change code.
18877         Added/updated docs.
18878         Added sink base class, make fakesink extend the base class.
18879         Small cleanups in GstPipeline.
18880
18881 2005-03-26  David Schleef  <ds@schleef.org>
18882
18883         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
18884         is broken and should be implemented in a different library.
18885         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18886         * gst/gst.h: remove gstcpu.h
18887         * gst/gstcpu.c: remove
18888         * gst/gstcpu.h: remove
18889         * gst/Makefile.am.future: Remove this file.  It's ancient.
18890
18891 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18892
18893         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18894         (gst_bin_send_event):
18895           Add default event/set_manager handlers. The set_manager handler
18896           takes care that the manager is distributed over kids that were
18897           already in the bin before the manager was set. The event handler
18898           is a utility virtual function that sends the event over all sinks,
18899           so that gst_element_send_event (bin, event); has the expected
18900           behaviour.
18901         * gst/gstpad.c: (gst_pad_event_default):
18902           Re-install default event handling for discontinuities, so that
18903           seeking works without requiring hacks in applications or extra
18904           code in sinks.
18905         * gst/gstpipeline.c: (gst_pipeline_class_init),
18906         (gst_pipeline_send_event):
18907           Half hack, half utility: set a pipeline to PAUSED for seek events,
18908           since that is the only way we can guarantee a/v sync. Means that
18909           you can do gst_element_seek (pipeline, method, pos); on a pipeline
18910           and it "just works".
18911
18912 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18913
18914         * gst/gstpipeline.c: (gst_pipeline_use_clock):
18915           Lock/unlock mismatch.
18916
18917 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18918
18919         * docs/faq/gst-uninstalled:
18920           add gst-plugins-base
18921         * docs/gst/Makefile.am:
18922           don't error out until docs are fixed
18923         * docs/gst/gstreamer.types:
18924           remove thread
18925
18926 2005-03-22  Wim Taymans  <wim@fluendo.com>
18927
18928         * check/Makefile.am:
18929         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18930         * gst/gststructure.c: (gst_structure_set_valist),
18931         (gst_structure_copy_conditional):
18932         Activated more tests.
18933         Added message test.
18934         Added G_TYPE_POINTER to GstStructure.
18935         
18936
18937 2005-03-22  Wim Taymans  <wim@fluendo.com>
18938
18939         * docs/design/part-TODO.txt:
18940         * docs/design/part-events.txt:
18941         * docs/design/part-gstbin.txt:
18942         * docs/design/part-gstbus.txt:
18943         * docs/design/part-gstpipeline.txt:
18944         * docs/design/part-messages.txt:
18945         * gst/gstbus.c:
18946         * gst/gstmessage.c:
18947         Docs updates
18948
18949 2005-03-21  Wim Taymans  <wim@fluendo.com>
18950
18951         * gst/gstbus.c: (gst_bus_post):
18952         Fix copy-and-paste error.
18953
18954 2005-03-21  Wim Taymans  <wim@fluendo.com>
18955
18956         * check/Makefile.am:
18957         * gst/Makefile.am:
18958         * gst/elements/Makefile.am:
18959         * gst/elements/gstelements.c:
18960         * gst/elements/gstfakesink.c: (gst_fakesink_init),
18961         (gst_fakesink_event), (gst_fakesink_chain):
18962         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18963         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18964         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18965         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18966         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18967         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18968         (gst_fakesrc_loop), (gst_fakesrc_activate),
18969         (gst_fakesrc_change_state):
18970         * gst/elements/gstfakesrc.h:
18971         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18972         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18973         (gst_filesrc_open_file), (gst_filesrc_loop),
18974         (gst_filesrc_activate), (gst_filesrc_change_state),
18975         (filesrc_find_peek), (filesrc_find_suggest),
18976         (gst_filesrc_type_find):
18977         * gst/elements/gstidentity.c: (gst_identity_finalize),
18978         (gst_identity_class_init), (gst_identity_init),
18979         (gst_identity_proxy_getcaps), (identity_queue_push),
18980         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
18981         (gst_identity_getrange), (gst_identity_chain),
18982         (gst_identity_sink_loop), (gst_identity_src_loop),
18983         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
18984         (gst_identity_set_property), (gst_identity_get_property),
18985         (gst_identity_change_state):
18986         * gst/elements/gstidentity.h:
18987         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
18988         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
18989         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
18990         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
18991         (gst_tee_sink_activate):
18992         * gst/elements/gsttee.h:
18993         * gst/gst.c: (gst_register_core_elements), (init_post):
18994         * gst/gst.h:
18995         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
18996         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
18997         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
18998         (gst_bin_change_state):
18999         * gst/gstbin.h:
19000         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19001         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19002         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19003         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19004         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19005         (bus_watch_callback), (bus_watch_destroy),
19006         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19007         (poll_timeout), (gst_bus_poll):
19008         * gst/gstbus.h:
19009         * gst/gstcaps.h:
19010         * gst/gstdata.h:
19011         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19012         (gst_element_post_message), (gst_element_message_full),
19013         (gst_element_get_state_func), (gst_element_get_state),
19014         (gst_element_abort_state), (gst_element_commit_state),
19015         (gst_element_lost_state), (gst_element_set_state),
19016         (gst_element_pads_activate), (gst_element_change_state),
19017         (gst_element_dispose), (gst_element_set_manager_func),
19018         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19019         (gst_element_set_manager), (gst_element_get_manager),
19020         (gst_element_set_bus), (gst_element_get_bus),
19021         (gst_element_set_scheduler), (gst_element_get_scheduler):
19022         * gst/gstelement.h:
19023         * gst/gstevent.c: (gst_event_new_segment_seek),
19024         (gst_event_new_flush):
19025         * gst/gstevent.h:
19026         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19027         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19028         (gst_message_new_eos), (gst_message_new_error),
19029         (gst_message_new_warning), (gst_message_new_tag),
19030         (gst_message_new_state_changed), (gst_message_new_application),
19031         (gst_message_get_structure), (gst_message_parse_tag),
19032         (gst_message_parse_state_changed), (gst_message_parse_error),
19033         (gst_message_parse_warning):
19034         * gst/gstmessage.h:
19035         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19036         (gst_real_pad_set_property), (gst_pad_set_active),
19037         (gst_pad_is_active), (gst_pad_set_blocked_async),
19038         (gst_pad_set_blocked), (gst_pad_is_blocked),
19039         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19040         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19041         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19042         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19043         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19044         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19045         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19046         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19047         (gst_pad_set_caps), (gst_pad_configure_sink),
19048         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19049         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19050         (gst_real_pad_dispose), (gst_real_pad_finalize),
19051         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19052         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19053         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19054         * gst/gstpad.h:
19055         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19056         (pipeline_bus_handler), (gst_pipeline_change_state),
19057         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19058         * gst/gstpipeline.h:
19059         * gst/gstprobe.h:
19060         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19061         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19062         (gst_queue_link_src), (gst_queue_bufferalloc),
19063         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19064         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19065         (gst_queue_loop), (gst_queue_handle_src_event),
19066         (gst_queue_handle_src_query), (gst_queue_src_activate),
19067         (gst_queue_change_state):
19068         * gst/gstqueue.h:
19069         * gst/gstscheduler.c: (gst_scheduler_init),
19070         (gst_scheduler_dispose), (gst_scheduler_create_task),
19071         (gst_scheduler_factory_create):
19072         * gst/gstscheduler.h:
19073         * gst/gststructure.c: (gst_structure_get_type),
19074         (gst_structure_copy_conditional):
19075         * gst/gststructure.h:
19076         * gst/gsttaginterface.h:
19077         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19078         (gst_task_init), (gst_task_dispose), (gst_task_create),
19079         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19080         (gst_task_pause):
19081         * gst/gsttask.h:
19082         * gst/gstthread.c:
19083         * gst/gstthread.h:
19084         * gst/gsttypes.h:
19085         * gst/schedulers/Makefile.am:
19086         * gst/schedulers/cothreads_compat.h:
19087         * gst/schedulers/entryscheduler.c:
19088         * gst/schedulers/faircothreads.c:
19089         * gst/schedulers/faircothreads.h:
19090         * gst/schedulers/fairscheduler.c:
19091         * gst/schedulers/gstbasicscheduler.c:
19092         * gst/schedulers/gstoptimalscheduler.c:
19093         * gst/schedulers/gthread-cothreads.h:
19094         * gst/schedulers/threadscheduler.c:
19095         (gst_thread_scheduler_task_get_type),
19096         (gst_thread_scheduler_task_class_init),
19097         (gst_thread_scheduler_task_init),
19098         (gst_thread_scheduler_task_start),
19099         (gst_thread_scheduler_task_stop),
19100         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19101         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19102         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19103         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19104         (plugin_init):
19105         * libs/gst/Makefile.am:
19106         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19107         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19108         (gst_file_pad_parent_set):
19109         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19110         (gst_dp_event_from_packet):
19111         * tests/complexity.c: (main):
19112         * tests/mass_elements.c: (main):
19113         * testsuite/states/locked.c: (message_received), (main):
19114         * testsuite/states/parent.c: (main):
19115         * tools/gst-inspect.c: (print_element_flag_info),
19116         (print_implementation_info), (print_pad_info):
19117         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19118         (main):
19119         * tools/gst-md5sum.c: (event_loop), (main):
19120         * tools/gst-typefind.c: (main):
19121         * tools/gst-xmlinspect.c: (print_element_info):
19122         Next big merge.
19123         Added GstBus for mainloop integration.
19124         Added GstMessage for sending notifications on the bus.
19125         Added GstTask as an abstraction for pipeline entry points.
19126         Removed GstThread.
19127         Removed Schedulers.
19128         Simplified GstQueue for multithreaded core.
19129         Made _link threadsafe, removed old capsnego.
19130         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19131         Added pad blocking functions.
19132         Reworked scheduling functions in GstPad to prepare for
19133         scheduling updates soon.
19134         Moved events out of data stream.
19135         Simplified GstEvent types.
19136         Added return values to push/pull.
19137         Removed clocking from GstElement.
19138         Added prototypes for state change function for next merge.
19139         Removed iterate from bins and state change management.
19140         Fixed some elements, disabled others for now.
19141         Fixed -inspect and -launch.
19142         Added check for GstBus.
19143
19144 2005-03-10  Wim Taymans  <wim@fluendo.com>
19145
19146         * docs/design/part-MT-refcounting.txt:
19147         * docs/design/part-clocks.txt:
19148         * docs/design/part-gstelement.txt:
19149         * docs/design/part-gstobject.txt:
19150         * docs/design/part-standards.txt:
19151         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19152         (gst_bin_remove_func), (gst_bin_remove):
19153         * gst/gstbin.h:
19154         * gst/gstbuffer.c:
19155         * gst/gstcaps.h:
19156         * testsuite/clock/clock1.c: (main):
19157         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19158         (main):
19159         * testsuite/dlopen/loadgst.c: (do_test):
19160         * testsuite/refcounting/bin.c: (add_remove_test1),
19161         (add_remove_test2), (main):
19162         * testsuite/refcounting/element.c: (main):
19163         * testsuite/refcounting/element_pad.c: (main):
19164         * testsuite/refcounting/pad.c: (main):
19165         * tools/gst-launch.c: (sigint_handler_sighandler):
19166         * tools/gst-typefind.c: (main):
19167         Doc updates.
19168         Added doc about clock.
19169         removed gst_bin_iterate_recurse_up(), marked methods
19170         for removal.
19171         Fix more testsuites.
19172
19173 2005-03-09  Wim Taymans  <wim@fluendo.com>
19174
19175         * gst/gstpad.c: (gst_pad_get_direction),
19176         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19177         (gst_pad_collect_valist):
19178         * testsuite/bins/interface.c: (main):
19179         * testsuite/caps/audioscale.c: (test_caps):
19180         * testsuite/caps/caps.c: (test1), (test2), (test3):
19181         * testsuite/caps/deserialize.c: (main):
19182         * testsuite/caps/enumcaps.c: (main):
19183         * testsuite/caps/filtercaps.c: (main):
19184         * testsuite/caps/intersect2.c: (main):
19185         * testsuite/caps/random.c: (main):
19186         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19187         * testsuite/caps/sets.c: (check_caps):
19188         * testsuite/caps/simplify.c: (check_caps), (main):
19189         * testsuite/caps/subtract.c: (check_caps):
19190         Fix _pad_get_direction wrt ghostpads.
19191         Fix caps testsuite.
19192
19193 2005-03-09  Wim Taymans  <wim@fluendo.com>
19194
19195         * check/Makefile.am:
19196         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19197         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19198         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19199         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19200         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19201         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19202         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19203         (bin_element_is_sink), (gst_bin_iterate_sinks),
19204         (gst_bin_iterate_all_by_interface):
19205         * gst/gstbin.h:
19206         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19207         (gst_element_change_state), (gst_element_dispose),
19208         (gst_element_finalize), (gst_element_set_loop_function):
19209         * gst/gstelement.h:
19210         * gst/gstiterator.c: (find_custom_fold_func):
19211         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19212         (gst_pad_collectv), (gst_pad_collect_valist),
19213         (gst_pad_template_new):
19214         * gst/gstpipeline.c: (gst_pipeline_class_init),
19215         (gst_pipeline_dispose), (gst_pipeline_set_property),
19216         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19217         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19218         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19219         * gst/gstutils.h:
19220         * gst/schedulers/entryscheduler.c:
19221         * gst/schedulers/gstbasicscheduler.c:
19222         (gst_basic_scheduler_cothreaded_chain),
19223         (gst_basic_scheduler_chain_add_element):
19224         * testsuite/bins/interface.c: (main):
19225         Added GstBin test.
19226         Added GstSystemClock test.
19227         Implemented clock distribution code in GstBin.
19228         Implemented iterate sinks method for future use.
19229         Rearranged gstelement.h
19230         Fix GstIterator comparison bug.
19231         Moved some code to GstPipeline, mostly clocking related.
19232
19233 2005-03-09  Wim Taymans  <wim@fluendo.com>
19234
19235         * configure.ac:
19236         * gst/gst_private.h:
19237         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19238         (gst_bin_remove_func), (gst_bin_remove),
19239         (gst_bin_get_by_name_recurse_up):
19240         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19241         (gst_clock_id_compare_func), (gst_clock_id_wait),
19242         (gst_clock_id_wait_async), (gst_clock_init),
19243         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19244         * gst/gstelement.h:
19245         * gst/gstinfo.c: (_gst_debug_init):
19246         * gst/gstobject.h:
19247         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19248         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19249         * gst/gstpad.h:
19250         Bump version number, we're now 0.9.0
19251         Add future debugging category.
19252         Fix NULL _unref() in _get_by_name_recurse_up
19253         Rearrange gstpad.h.
19254         Update some docs.
19255
19256 2005-03-08  Wim Taymans  <wim@fluendo.com>
19257
19258         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19259         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19260         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19261         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19262         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19263         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19264         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19265         * gst/elements/gstidentity.c: (gst_identity_class_init):
19266         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19267         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19268         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19269         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19270         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19271         (gst_tee_link):
19272         * gst/gstelement.c: (gst_element_class_init),
19273         (gst_element_base_class_init), (gst_element_init),
19274         (gst_element_get_random_pad), (gst_element_wait_state_change),
19275         (gst_element_change_state), (gst_element_dispose),
19276         (gst_element_finalize), (gst_element_set_loop_function):
19277         * gst/gstelement.h:
19278         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19279         * gst/gstthread.c: (gst_thread_class_init),
19280         (gst_thread_release_children_locks), (gst_thread_change_state):
19281         * gst/schedulers/gstbasicscheduler.c:
19282         (gst_basic_scheduler_loopfunc_wrapper),
19283         (gst_basic_scheduler_chain_wrapper),
19284         (gst_basic_scheduler_src_wrapper),
19285         (gst_basic_scheduler_remove_element):
19286         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19287         Remove threadsafe properties. Fix elements because GObject
19288         complains when installing a property before declaring a
19289         set/get_property handler.
19290         Rearrange gstelement.h file, use STATE macros for state locks.
19291         Free mutexes in the finalize method instead of dispose.
19292
19293 2005-03-08  Wim Taymans  <wim@fluendo.com>
19294
19295         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19296         * gst/gstthread.c: (gst_thread_release_children_locks):
19297         Added parentage check.
19298         Fix build og GstThread again.
19299
19300 2005-03-08  Wim Taymans  <wim@fluendo.com>
19301
19302         * docs/design/part-MT-refcounting.txt:
19303         * docs/design/part-conventions.txt:
19304         * docs/design/part-gstobject.txt:
19305         * docs/design/part-relations.txt:
19306         * docs/design/part-standards.txt:
19307         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19308         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19309         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19310         (gst_bin_iterate_all_by_interface):
19311         * gst/gstbuffer.h:
19312         * gst/gstclock.h:
19313         * gst/gstelement.c: (gst_element_class_init),
19314         (gst_element_change_state), (gst_element_set_loop_function):
19315         * gst/gstelement.h:
19316         * gst/gstiterator.c:
19317         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19318         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19319         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19320         (gst_object_set_parent), (gst_object_unparent),
19321         (gst_object_check_uniqueness):
19322         * gst/gstobject.h:
19323         Docs updates, clean up some headers.
19324
19325 2005-03-07  Wim Taymans  <wim@fluendo.com>
19326
19327         * check/.cvsignore:
19328         * check/Makefile.am:
19329         * check/gst-libs/.cvsignore:
19330         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19331         * check/gst/.cvsignore:
19332         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19333         (START_TEST), (gstbus_suite), (main):
19334         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19335         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19336         (gst_data_suite), (main):
19337         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19338         (add_fold_func), (gstiterator_suite), (main):
19339         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19340         (thread_name_object), (thread_name_object_default),
19341         (gst_object_name_compare), (gst_object_suite), (main):
19342         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19343         (gst_pad_suite), (main):
19344         * check/gstcheck.c: (gst_check_log_message_func),
19345         (gst_check_log_critical_func), (gst_check_init):
19346         * check/gstcheck.h:
19347         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19348         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19349         Added checks.
19350
19351 2005-03-07  Wim Taymans  <wim@fluendo.com>
19352
19353         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19354         (gst_list_iterator_next), (gst_list_iterator_resync),
19355         (gst_list_iterator_free), (gst_iterator_new_list),
19356         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19357         (gst_iterator_free), (gst_iterator_push), (filter_next),
19358         (filter_resync), (filter_uninit), (filter_free),
19359         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19360         (gst_iterator_foreach), (find_custom_fold_func),
19361         (gst_iterator_find_custom):
19362         * gst/gstiterator.h:
19363         Added missing files.
19364
19365 2005-03-07  Wim Taymans  <wim@fluendo.com>
19366
19367         * Makefile.am:
19368         * configure.ac:
19369         * docs/design/part-MT-refcounting.txt:
19370         * docs/design/part-conventions.txt:
19371         * docs/design/part-gstobject.txt:
19372         * docs/design/part-relations.txt:
19373         * examples/mixer/mixer.c: (main):
19374         * examples/thread/thread.c: (eos), (main):
19375         * gst/Makefile.am:
19376         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19377         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19378         (gst_spider_plug_from_srcpad):
19379         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19380         (gst_spider_identity_change_state),
19381         (gst_spider_identity_sink_loop_type_finding):
19382         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19383         * gst/elements/gstidentity.c: (gst_identity_init):
19384         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19385         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19386         * gst/elements/gsttypefindelement.c: (free_entry):
19387         * gst/gst.c:
19388         * gst/gst.h:
19389         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19390         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19391         (gst_bin_set_index), (gst_bin_set_element_sched),
19392         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19393         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19394         (gst_bin_iterate_elements), (iterate_child_recurse),
19395         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19396         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19397         (compare_interface), (gst_bin_get_by_interface),
19398         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19399         * gst/gstbin.h:
19400         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19401         (gst_buffer_default_free), (gst_buffer_default_copy),
19402         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19403         (gst_buffer_create_sub):
19404         * gst/gstbuffer.h:
19405         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19406         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19407         (gst_caps_unref), (gst_static_caps_get),
19408         (gst_caps_remove_and_get_structure), (gst_caps_append),
19409         (gst_caps_append_structure), (gst_caps_remove_structure),
19410         (gst_caps_copy_nth), (gst_caps_set_simple),
19411         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19412         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19413         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19414         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19415         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19416         (gst_caps_structure_figure_out_union),
19417         (gst_caps_switch_structures), (gst_caps_do_simplify),
19418         (gst_caps_replace), (gst_caps_from_string),
19419         (gst_caps_copy_conditional):
19420         * gst/gstcaps.h:
19421         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19422         (_gst_clock_id_free), (gst_clock_id_unref),
19423         (gst_clock_id_compare_func), (gst_clock_id_wait),
19424         (gst_clock_id_wait_async), (gst_clock_class_init),
19425         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19426         (gst_clock_get_time), (gst_clock_set_time_adjust),
19427         (gst_clock_set_property), (gst_clock_get_property):
19428         * gst/gstclock.h:
19429         * gst/gstcompat.h:
19430         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19431         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19432         * gst/gstdata.h:
19433         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19434         (gst_element_requires_clock), (gst_element_provides_clock),
19435         (gst_element_set_clock), (gst_element_clock_wait),
19436         (gst_element_wait), (gst_element_set_time_delay),
19437         (gst_element_is_indexable), (gst_element_add_pad),
19438         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19439         (pad_compare_name), (gst_element_get_static_pad),
19440         (gst_element_request_pad), (gst_element_get_request_pad),
19441         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19442         (gst_element_class_get_pad_template_list),
19443         (gst_element_class_get_pad_template), (gst_element_error_func),
19444         (gst_element_get_random_pad), (gst_element_get_event_masks),
19445         (gst_element_send_event), (gst_element_seek),
19446         (gst_element_get_query_types), (gst_element_query),
19447         (gst_element_get_formats), (gst_element_convert),
19448         (gst_element_is_locked_state), (gst_element_set_locked_state),
19449         (gst_element_sync_state_with_parent), (gst_element_change_state),
19450         (gst_element_finalize), (gst_element_yield),
19451         (gst_element_interrupt), (gst_element_set_scheduler),
19452         (gst_element_get_scheduler), (gst_element_set_loop_function):
19453         * gst/gstelement.h:
19454         * gst/gstevent.h:
19455         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19456         (gst_format_get_by_nick), (gst_format_get_details),
19457         (gst_format_iterate_definitions):
19458         * gst/gstformat.h:
19459         * gst/gstindex.c: (gst_index_gtype_resolver):
19460         * gst/gstinfo.c:
19461         * gst/gstinfo.h:
19462         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19463         (gst_mem_chunk_free):
19464         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19465         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19466         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19467         (gst_object_dispatch_properties_changed),
19468         (gst_object_set_name_default), (gst_object_set_name),
19469         (gst_object_get_name), (gst_object_set_name_prefix),
19470         (gst_object_get_name_prefix), (gst_object_set_parent),
19471         (gst_object_get_parent), (gst_object_unparent),
19472         (gst_object_check_uniqueness), (gst_object_save_thyself),
19473         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19474         (gst_object_set_property), (gst_object_get_property),
19475         (gst_object_get_path_string):
19476         * gst/gstobject.h:
19477         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19478         (gst_real_pad_init), (gst_real_pad_get_property),
19479         (gst_pad_custom_new), (gst_pad_get_direction),
19480         (gst_pad_set_active), (gst_pad_is_active),
19481         (gst_pad_set_event_function), (gst_pad_is_linked),
19482         (gst_pad_link_free), (gst_pad_link_intersect),
19483         (gst_pad_link_fixate), (gst_pad_set_caps),
19484         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19485         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19486         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19487         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19488         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19489         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19490         (gst_pad_realize), (gst_pad_get_allowed_caps),
19491         (gst_real_pad_dispose), (gst_real_pad_finalize),
19492         (gst_pad_collectv), (gst_pad_collect_valist),
19493         (gst_pad_template_dispose), (gst_pad_template_new),
19494         (gst_pad_get_internal_links):
19495         * gst/gstpad.h:
19496         * gst/gstpipeline.c: (gst_pipeline_dispose),
19497         (gst_pipeline_change_state):
19498         * gst/gstpipeline.h:
19499         * gst/gstplugin.c:
19500         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19501         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19502         * gst/gstpluginfeature.h:
19503         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19504         * gst/gstquery.c: (_gst_query_type_initialize),
19505         (gst_query_type_register), (gst_query_type_get_by_nick),
19506         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19507         * gst/gstquery.h:
19508         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19509         * gst/gstscheduler.c: (gst_scheduler_add_element),
19510         (gst_scheduler_factory_create):
19511         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19512         (gst_structure_free), (gst_structure_set_name),
19513         (gst_structure_id_set_value), (gst_structure_set_value),
19514         (gst_structure_set_valist), (gst_structure_remove_field),
19515         (gst_structure_remove_fields),
19516         (gst_structure_remove_fields_valist),
19517         (gst_structure_remove_all_fields), (gst_structure_foreach),
19518         (gst_structure_map_in_place),
19519         (gst_caps_structure_fixate_field_nearest_int),
19520         (gst_caps_structure_fixate_field_nearest_double):
19521         * gst/gststructure.h:
19522         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19523         (gst_system_clock_init), (gst_system_clock_dispose),
19524         (gst_system_clock_async_thread),
19525         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19526         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19527         * gst/gstsystemclock.h:
19528         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19529         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19530         * gst/gsttaginterface.c:
19531         * gst/gstthread.c: (gst_thread_dispose),
19532         (gst_thread_release_children_locks), (gst_thread_change_state),
19533         (gst_thread_main_loop):
19534         * gst/gsttrashstack.h:
19535         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19536         * gst/gsttypes.h:
19537         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19538         (gst_element_request_pad), (gst_element_get_pad_from_template),
19539         (gst_element_request_compatible_pad),
19540         (gst_element_get_compatible_pad_filtered),
19541         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19542         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19543         (gst_element_link_many), (gst_element_link),
19544         (gst_element_link_pads), (gst_element_unlink_pads),
19545         (gst_element_unlink_many), (gst_element_unlink),
19546         (gst_pad_can_link_filtered), (gst_pad_can_link),
19547         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19548         (gst_object_default_error), (gst_bin_add_many),
19549         (gst_bin_remove_many), (gst_element_populate_std_props),
19550         (gst_element_class_install_std_props), (gst_buffer_merge),
19551         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19552         (link_fold_func), (gst_pad_proxy_setcaps):
19553         * gst/gstutils.h:
19554         * gst/gstvalue.c: (gst_value_deserialize_string):
19555         * gst/parse/grammar.y:
19556         * gst/schedulers/gstbasicscheduler.c:
19557         (gst_basic_scheduler_cothreaded_chain),
19558         (gst_basic_scheduler_chain_recursive_add),
19559         (gst_basic_scheduler_pad_link):
19560         * gst/schedulers/gstoptimalscheduler.c:
19561         (get_group_schedule_function),
19562         (gst_opt_scheduler_state_transition),
19563         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19564         * libs/gst/bytestream/bytestream.c:
19565         * libs/gst/dataprotocol/dataprotocol.c:
19566         (gst_dp_header_from_buffer):
19567         * po/nb.po:
19568         * po/ru.po:
19569         * tests/threadstate/threadstate2.c: (eos):
19570         * tools/gst-compprep.c: (main):
19571         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19572         (print_pad_info), (print_children_info):
19573         * tools/gst-launch.c: (idle_func), (main):
19574         * tools/gst-md5sum.c: (idle_func), (main):
19575         * tools/gst-xmlinspect.c: (print_element_info):
19576         First THREADED backport attempt, focusing on adding locks and
19577         making sure the API is threadsafe. Needs more work. More docs
19578         follow this week.
19579
19580 2005-02-24  Andy Wingo  <wingo@pobox.com>
19581
19582         * tests/bench-complexity.scm:
19583         * tests/complexity.gnuplot: New files, good for running complexity
19584         benchmarks.
19585
19586         * tests/Makefile.am:
19587         * tests/complexity.c: New test, sets up N elements, at each level
19588         teeing into M streams per element. Eeeenteresting.
19589
19590         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19591         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19592         running bench-mass_elements.scm.
19593
19594         * tests/bench-mass_elements.scm: New script, runs mass_elements
19595         for various numbers of identities, outputting the results to a
19596         file. Requires guile 1.6. Just for testing.
19597
19598 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19599
19600         * gst/schedulers/fairscheduler.c:
19601           compile with debug disabled
19602
19603 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19604
19605         * configure.ac:
19606           hunting season on 0.9 is now OPEN