gst/gstelementfactory.c: Fix typo in docs blurb.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * gst/gstelementfactory.c:
4           Fix typo in docs blurb.
5
6 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7
8         * gst/gsturi.c: (search_by_entry):
9           Don't assert/crash here if a uri handler doesn't return any
10           supported protocols. The list of protocols could be generated
11           dynamically at runtime or at plugin registration, and an error
12           in the underlying library shouldn't be fatal (#353301).
13
14 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
15
16         * gst/gstinfo.c:
17           Fix warning if HAVE_PRINTF_EXTENSION is undefined
18           (spotted by Peter Kjellerstedt).
19
20 2006-09-23  Wim Taymans  <wim@fluendo.com>
21
22         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
23
24         * libs/gst/base/gstbasesrc.c:
25         (gst_base_src_default_check_get_range), (gst_base_src_start),
26         (gst_base_src_activate_push), (gst_base_src_activate_pull),
27         (gst_base_src_change_state):
28         Match _start/_stop calls in the activate functions. Remove redundant
29         _stop call from the state change function. Fixes #356910.
30         Turn failure DEBUG into ERROR. 
31
32 2006-09-22  Wim Taymans  <wim@fluendo.com>
33
34         * docs/design/part-buffering.txt:
35         * gst/gstmessage.c: (gst_message_new_buffering),
36         (gst_message_parse_buffering):
37         Update docs about buffering.
38
39         * docs/design/part-trickmodes.txt:
40         Fix typo.
41
42 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
43
44         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
45         (gst_controller_new_list):
46           Ref instances when returning them again (fixes #357180)
47
48 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
49
50         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
51           Don't forget to release proxy lock when there's an error.
52
53 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
54
55         * gst/gstcaps.h:
56           Add extra initialisers for Caps things, to fix some plugin warnings
57           when using -Wextra
58
59 2006-09-18  Wim Taymans  <wim@fluendo.com>
60
61         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
62           Also set template on the internal pad so that a getcaps from the 
63           target pad returns the template caps.
64
65 2006-09-18  Wim Taymans  <wim@fluendo.com>
66
67         * gst/gstelement.c: (gst_element_post_message),
68         (gst_element_dispose):
69         Use _DEBUG_OBJECT some more.
70
71         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
72         Avoid typechecks.
73
74         * tools/gst-launch.c: (main):
75         If the toplevel element is not a GstPipeline, it must be put in a
76         pipeline so that a bus and clock is selected.
77
78 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
79
80         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
81           JITTER, RATE, and LATENCY query should be handled by the
82           default case and not by the CONVERT query code.
83
84 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
85
86         * gst/gstformat.c: (gst_format_register):
87           Fix locking order (must take lock before using n_values).
88
89         * gst/gstvalue.c: (gst_value_serialize_enum),
90         (gst_value_deserialize_enum_iter_cmp),
91         (gst_value_deserialize_enum):
92           Fix serialisation/deserialisation of custom registered GstFormats.
93
94         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
95           Unit test for custom format serialisation/deserialisation.
96
97 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
98
99         * docs/pwg/building-boiler.xml:
100         * plugins/elements/gstcapsfilter.c:
101         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
102         section.
103
104 2006-09-16  Edward Hervey  <edward@fluendo.com>
105
106         * libs/gst/base/gstbasetransform.c:
107         (gst_base_transform_buffer_alloc):
108         Check if requested caps are the same as the sinks caps IF
109         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
110         is FALSE.
111         This fixes the renegotiation issues stated in #352827.
112
113 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
114
115         * configure.ac:
116         * docs/manual/advanced-autoplugging.xml:
117         * tests/examples/Makefile.am:
118         * tests/examples/manual/.cvsignore:
119         * tests/examples/manual/Makefile.am:
120         * tests/examples/manual/extract.pl:
121           Extract the manual examples again like we used to do.
122           Fix one of them.
123
124 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
125
126         * win32/common/config.h:
127           update for version
128
129 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
130
131         * gst/gsterror.c:
132           Documents how to receive errors.
133
134 2006-09-15  Wim Taymans  <wim@fluendo.com>
135
136         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
137         (event_loop), (main):
138         Added some comments here and there.
139         Post an application message when an interrupt is caught instead of doing
140         an uncontrolled state change.
141         Clean up the event loop.
142         Handle buffering messages, pause/resume the pipeline.
143         Make shutdown because of an interrupt more reliable.
144
145 2006-09-15  Wim Taymans  <wim@fluendo.com>
146
147         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
148         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
149         (gst_base_sink_preroll_object):
150         Make sure that our internal state is correct when we commit our state
151         asynchronously. This solves a race where a state change to PLAYING
152         could cause the sink to remain blocked in preroll in some situations.
153
154 2006-09-15  Wim Taymans  <wim@fluendo.com>
155
156         * tools/gst-inspect.c: (print_element_properties_info),
157         (print_signal_info):
158         List flags as hex so it's easier to deal with.
159
160 2006-09-15  Wim Taymans  <wim@fluendo.com>
161
162         * docs/libs/gstreamer-libs-sections.txt:
163         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
164         (gst_base_sink_do_sync):
165         * libs/gst/base/gstbasesink.h:
166         Expose logic to wait for preroll so that subclasses such as audiosink
167         can also use this method.
168         API: gst_base_sink_wait_preroll()
169
170 2006-09-15  Wim Taymans  <wim@fluendo.com>
171
172         * gst/gstobject.c: (gst_object_set_parent):
173         * gst/gstpipeline.c: (do_pipeline_seek):
174         Small cleanups in docs and code.
175
176         * gst/gstsegment.c: (gst_segment_clip):
177         * tests/check/gst/gstsegment.c: (GST_START_TEST):
178         if stop == start and start is in the segment, no clipping should be
179         done. Also add a test for this.
180
181 2006-09-15  Wim Taymans  <wim@fluendo.com>
182
183         * docs/design/part-buffering.txt:
184         * docs/gst/gstreamer-sections.txt:
185         * gst/gstmessage.c: (gst_message_new_buffering),
186         (gst_message_parse_buffering):
187         * gst/gstmessage.h:
188         Added methods to create and parse BUFFERING messages.
189         Added preliminary docs about buffering.
190         API: gst_message_new_buffering
191         API: gst_message_parse_buffering
192
193 2006-09-06  Wim Taymans  <wim@fluendo.com>
194
195         * gst/gstbin.c:
196         Update documentation.
197
198         * gst/gstelement.c: (gst_element_class_init),
199         (gst_element_release_request_pad), (gst_element_set_clock),
200         (gst_element_get_index), (gst_element_add_pad),
201         (gst_element_remove_pad), (gst_element_get_random_pad),
202         (gst_element_send_event), (gst_element_get_query_types),
203         (gst_element_query), (gst_element_post_message),
204         (gst_element_message_full), (gst_element_continue_state),
205         (gst_element_lost_state), (gst_element_save_thyself),
206         (gst_element_restore_thyself):
207         Documentation updates.
208         Rename last bit of the new-pad -> pad-added signal rename.
209         Fix the case where an element query would only work if the source
210         pad was linked.
211         Avoid some useless type checking in message handling.
212
213         * gst/gstevent.c:
214         * gst/gstevent.h:
215         * gst/gstutils.c:
216         Documentation updates.
217
218 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
219
220         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
221           add an INFO line for when we actually update the fd
222
223 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
224
225         * configure.ac:
226           back to TRUNK
227
228 === release 0.10.10 ===
229
230 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
231
232         * configure.ac:
233           releasing 0.10.10, "Pais"
234
235 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
236
237         * docs/manual/advanced-position.xml:
238           Fix typo in sample code.
239
240 2006-09-05  Wim Taymans  <wim@fluendo.com>
241
242         * libs/gst/net/gstnetclientclock.c: (inet_aton),
243         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
244         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
245         * libs/gst/net/gstnetclientclock.h:
246         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
247         * libs/gst/net/gstnettimepacket.h:
248         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
249         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
250         (gst_net_time_provider_thread), (gst_net_time_provider_new):
251         * libs/gst/net/gstnettimeprovider.h:
252         Make stuff compile on windows. Fixes #345295.
253
254 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
255
256         * gst/gst.c: (ensure_current_registry_forking):
257           Print better details when child was terminated by signal.
258
259 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
260
261         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
262           Print a warning rather than g_assert() if a plugin feature
263           is a URI handler but returns no protocols (#353976).
264
265 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
266
267         * docs/random/moving-plugins:
268         Fix two typos.         
269
270 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
271
272         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
273           Fix locking order, handle NULL function values properly.
274
275         * gst/gstinfo.h:
276           Fix docs.
277
278         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
279           Initialise variable before using it and fix debug statement to
280           print the address of the function rather than the address of the
281           variable on the stack holding the address of the function.
282
283 2006-09-01  Wim Taymans  <wim@fluendo.com>
284
285         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
286         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
287         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
288         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
289         (gst_ghost_pad_parent_unset),
290         (gst_ghost_pad_internal_do_activate_push),
291         (gst_ghost_pad_internal_do_activate_pull),
292         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
293         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
294         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
295         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
296         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
297         (gst_ghost_pad_new_no_target_from_template),
298         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
299         More cleanups.
300         Avoid needless typechecking in macros.
301         Since the internal pad is always present and never changes, there is
302         no need to locking or ref when retrieving it.
303         Improve debugging a bit.
304         Handle link errors when setting the target. Fixes #341029.
305
306 2006-09-01  Wim Taymans  <wim@fluendo.com>
307
308         * docs/libs/gstreamer-libs-sections.txt:
309         * docs/plugins/gstreamer-plugins-sections.txt:
310         Fix docs some more.
311
312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
313         (gst_collect_pads_event):
314         * libs/gst/base/gstcollectpads.h:
315         Documentation updates.
316         Free queued buffer when removing a pad.
317
318 2006-08-31  Michael Smith  <msmith@fluendo.com>
319
320         * gst/gstutils.c: (gst_element_link_pads),
321         (gst_element_link_pads_filtered):
322           Ensure that we set a capsfilter to NULL if we failed to link it
323           when doing filtered linking, to avoid criticals.
324
325           No need to check for unreffing srcpad, which is explicly NULLed
326           above (a trivial code cleanup).
327
328 2006-08-31  Wim Taymans  <wim@fluendo.com>
329
330         * docs/design/part-gstghostpad.txt:
331         Update ascii art in documentation.
332
333         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
334         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
335         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
336         (gst_ghost_pad_internal_do_activate_push),
337         (gst_ghost_pad_internal_do_activate_pull),
338         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
339         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
340         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
341         (gst_ghost_pad_set_target):
342         Small cleanups and leak fixes.
343         Remove some checks now that the internal pad is never NULL.
344         Fix the case where linking pads without a target would create nasty
345         criticals. Fixes #341029.
346         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
347         value of _set_target().
348
349         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
350         (gst_ghost_pad_suite):
351         Some more tests for creating and linking untargeted ghostpads.
352
353 2006-08-31  Edward Hervey  <edward@fluendo.com>
354
355         * docs/gst/gstreamer-sections.txt:
356         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
357         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
358         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
359         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
360         (gst_ghost_pad_new_from_template),
361         (gst_ghost_pad_new_no_target_from_template):
362         * gst/gstghostpad.h:
363         Refactored *_new() functions.
364         Templates are now used as a g_object_new() parameter.
365         Use template in _do_getcaps() if we don't have a target.
366         Small documentation cleanups.
367         Added two new constructors:
368         gst_ghost_pad_new_from_template()
369         gst_ghost_pad_new_no_target_from_template()
370         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
371         (gst_ghost_pad_suite):
372         Added tests for new ghostpad instanciation functions.
373
374         API additions: gst_ghost_pad_new_from_template,
375         gst_ghost_pad_new_no_target_from_template
376
377 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
378
379         * docs/random/ensonic/profiling.txt:
380           Ideas about qos profiling.
381
382 2006-08-29  Wim Taymans  <wim@fluendo.com>
383
384         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
385         Code cleanups.
386         Fix memleak.
387
388 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
389
390         * gst/gstxml.c:
391           Improve and detypofy docs.
392
393         * tests/check/Makefile.am:
394         * tests/check/gst/.cvsignore:
395         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
396           Add a basic test suite for GstXML.
397
398 2006-08-29  Wim Taymans  <wim@fluendo.com>
399
400         * gst/gstelement.c: (activate_pads), (clear_caps),
401         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
402         Clear the pad caps when the element shut down all of the pads and
403         is not streaming data that could modify the caps. 
404         Fixes #352958.
405
406 2006-08-28  Michael Smith  <msmith@fluendo.com>
407
408         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
409           Revert previous change; I misunderstood single-segment mode.
410
411 2006-08-28  Michael Smith  <msmith@fluendo.com>
412
413         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
414           Unset DISCONT on buffers when using single-segment mode.
415
416 2006-08-28  Wim Taymans  <wim@fluendo.com>
417
418         * gst/gstcaps.c: (gst_caps_merge_structure):
419         * gst/gstcaps.h:
420         Fix docs and indentation again.
421
422         * tests/check/gst/gstquery.c: (GST_START_TEST):
423         Fix leak in tests and add some more tests.
424
425 2006-08-28  Edward Hervey  <edward@fluendo.com>
426
427         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
428         Inform GstSegment of the last stop position in order for the current
429         segment to have a proper duration if it doesn't have a specific stop
430         position from which a duration could be calculated.
431         This bug was noticeable when a non-flushing, non-update new segment was
432         followed by another segment (all buffers from the new segment were being
433         dropped).
434
435 2006-08-28  Wim Taymans  <wim@fluendo.com>
436
437         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
438         Small comment update.
439
440         * plugins/elements/gstidentity.c: (gst_identity_class_init),
441         (gst_identity_transform_ip):
442         Drop-probability is broken, mention this in the code with a 
443         FIXME and also in the property description.
444         Make silent also be silent about the drop messages.
445
446 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
447
448         * docs/manual/appendix-win32.xml:
449           Remove mention of popt, we don't depend on that any
450           longer (#353136). Add some comments pointing out that
451           this section is slightly outdated.
452
453 2006-08-28  Wim Taymans  <wim@fluendo.com>
454
455         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
456
457         * gst/gstquery.c: (gst_query_new_segment):
458         * tests/check/gst/gstquery.c: (GST_START_TEST):
459         Initialize variables when creating a new segment query.
460         Fixes #353121.
461
462 2006-08-28  Wim Taymans  <wim@fluendo.com>
463
464         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
465
466         * gst/gstelement.c: (gst_element_get_bus):
467         * tests/check/gst/gstelement.c: (GST_START_TEST):
468         Check for NULL before _reffing the bus. Fixes #353122.
469
470 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
471
472         * docs/manual/basics-bus.xml:
473           Docs update: fix wrong callback return value explanation; add
474           some lines about the implicit relationship between main loop
475           and main context; remove duplicate main loop variable declaration.
476
477 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
478
479         * tests/check/gst/gstcaps.c: (GST_START_TEST):
480           Don't leak caps in unit test; add a few more simple
481           checks. 
482
483 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
484
485         * docs/gst/gstreamer-sections.txt:
486         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
487         (gst_caps_structure_is_subset), (gst_caps_merge),
488         (gst_caps_merge_structure):
489         * gst/gstcaps.h:
490         * libs/gst/base/gstbasetransform.c:
491         (gst_base_transform_transform_caps):
492         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
493           implement caps merging (fixes #352580)
494
495 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
496
497         * tools/Makefile.am:
498         * tools/gst-plot-timeline.py:
499           add debug-log plotting developer tool (#340674)
500
501 2006-08-23  Wim Taymans  <wim@fluendo.com>
502
503         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
504         (gst_pad_stop_task):
505         Improve debugging for task functions.
506
507         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
508         (gst_task_start), (gst_task_pause), (gst_task_join):
509         Make sure that the task function started and finished after a 
510         join(). 
511         Don't try to push the task function on the threadpool multiple
512         times.
513         Improve the g_warning message with some useful suggestions
514         about how to fix the problem. 
515
516 2006-08-23  Wim Taymans  <wim@fluendo.com>
517
518         * gst/gstutils.c: (gst_pad_proxy_getcaps):
519         Handle RESYNC correctly in _proxy_getcaps.
520
521 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
522
523         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
524         (gst_xml_parse_memory), (gst_xml_get_element):
525           Chain up to parent class in dispose function and also
526           unref the elements in the toplevel_elements GList.
527           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
528           Always return a reference in gst_xml_get_element() rather
529           than only sometimes.
530
531         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
532           Don't leak GstXml object.
533
534 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
535
536         * docs/gst/gstreamer-sections.txt:
537         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
538         (gst_caps_merge):
539         * gst/gstcaps.h:
540         * libs/gst/base/gstbasetransform.c:
541         (gst_base_transform_transform_caps):
542           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
543           in a better way
544
545 2006-08-21  Edward Hervey  <edward@fluendo.com>
546
547         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
548         Implement GObject::dispose virtual method in GstXML so we can free the
549         top_elements GList.
550
551 2006-08-21  Wim Taymans  <wim@fluendo.com>
552
553         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
554         (gst_buffer_create_sub):
555         Copy duration/offset_end/caps when creating a subbuffer of the
556         complete parent.
557         Make the subbuffer read-only when we make the metadata writable for
558         now. Fixes #351768.
559
560         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
561         Added check for metadata copy when creating subbuffers.
562
563 2006-08-21  Edward Hervey  <edward@fluendo.com>
564
565         * libs/gst/base/gstbasetransform.c:
566         (gst_base_transform_buffer_alloc):
567         Only call downstream buffer_alloc if transform element is passthrough
568         or always_in_place. Closes #350449.
569
570 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
571
572         * ChangeLog:
573           ChangeLog surgery to add comments to previous changes
574
575 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
576
577         * gst/gst.c:
578           Add comments
579
580         * gst/gstpad.c: (gst_pad_set_active):
581           Be more verbose in the log
582
583         * libs/gst/base/gstbasetransform.c:
584         (gst_base_transform_transform_caps):
585           Simplify caps to get rid of duplicates, fixes #345444
586
587 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
588
589         * gst/gstvalue.c:
590         * gst/gstvalue.h:
591           Use these optimizations only internally.
592
593 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
594
595         * gst/gstvalue.c: (gst_value_compare_list),
596         (gst_value_compare_fraction_range),
597         (gst_value_intersect_fraction_fraction_range),
598         (gst_value_intersect_fraction_range_fraction_range),
599         (gst_value_subtract_fraction_fraction_range),
600         (gst_value_subtract_fraction_range_fraction_range),
601         (gst_value_get_compare_func), (gst_value_compare),
602         (gst_value_compare_with_func):
603         * gst/gstvalue.h:
604           Saves the expensive lookup of the compare function in many cases
605          (#345444)
606
607 2006-08-18  Edward Hervey  <edward@fluendo.com>
608
609         * tests/check/gst/gstinfo.c: (gst_info_suite):
610         Disable test that require gstdebug if it wasn't built in core.
611
612 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
613
614         * docs/random/ensonic/logging.txt:
615           update ideas
616           
617         * gst/gstinfo.c: (gst_debug_log_default):
618           reorder fields, save some columns, add optional color codes for log
619           levels
620
621 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
622
623         * docs/random/ensonic/logging.txt:
624           add ideas about making the logs a bit more useful
625
626 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
627
628         * docs/pwg/advanced-events.xml:
629         * docs/pwg/titlepage.xml:
630           Update for 0.10 API (#340627). Add myself
631           to authors list.
632
633 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
634
635         * docs/libs/gstreamer-libs-docs.sgml:
636         * docs/libs/gstreamer-libs-sections.txt:
637         * libs/gst/check/gstbufferstraw.c:
638           Make gstcheck stuff show up in docs (still needs to
639           be documented properly though).
640
641 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
642
643         * docs/gst/gstreamer-sections.txt:
644         * gst/Makefile.am:
645         * gst/gst.c: (init_post):
646         * gst/gst_private.h:
647         * gst/gstquark.c: (_priv_gst_quarks_initialize):
648         * gst/gstquark.h:
649         * gst/gstquery.c: (gst_query_new_position),
650         (gst_query_set_position), (gst_query_parse_position),
651         (gst_query_new_duration), (gst_query_set_duration),
652         (gst_query_parse_duration), (gst_query_new_convert),
653         (gst_query_set_convert), (gst_query_parse_convert),
654         (gst_query_new_segment), (gst_query_set_segment),
655         (gst_query_parse_segment), (gst_query_new_seeking),
656         (gst_query_set_seeking), (gst_query_parse_seeking):
657         Add internal helpers for pre-registering quarks from static strings
658         and using the quark values directly instead of looking them up when
659         creating and parsing queries. Can be used for event construction too.
660         Closes #350432.
661
662 2006-08-16  Wim Taymans  <wim@fluendo.com>
663
664         * gst/gstbin.c:
665         Fix bogus docs.
666
667 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
668
669         * gst/gstutils.c: (gst_util_set_value_from_string):
670           Fix memleak (#351502).
671
672         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
673           Add unit test for most of gst_util_set_value_from_string()
674           (not that one would want to encourage use of this function).
675
676 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
677
678         * libs/gst/check/gstcheck.h:
679           Use const gchar * variables in fail_unless_equals_string
680           macro to avoid compiler warnings (and don't use tabs for
681           indenting).
682
683 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
684
685         * tools/gst-launch.c: (print_tag):
686           More space on the left for the tag names, to cater
687           for the 'extended comment' tag (not touching the
688           string for the first line since it's translated).
689
690 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
691
692         * libs/gst/check/gstcheck.h:
693           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
694           print something when they fail.
695
696 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
697
698         * docs/gst/gstreamer-sections.txt:
699         * gst/gsttaglist.c: (_gst_tag_initialize):
700         * gst/gsttaglist.h:
701           API: add GST_TAG_EXTENDED_COMMENT (#350935).
702           Also change merge function for GST_TAG_COMMENT to
703           use_first.
704
705 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
706
707         * gst/gstinfo.c: (gst_debug_print_object):
708           Make GST_PTR_FORMAT print messages as well.
709
710         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
711         (GST_START_TEST), (gst_info_suite):
712           More tests.
713
714 2006-08-14  Edward Hervey  <edward@fluendo.com>
715
716         * gst/gstelementfactory.c: (gst_element_register):
717         If the GstElementClass doesn't have a GstElementDetails with all fields
718         filled up correctly (longname, description AND author), then error out
719         nicely instead of crashing.
720
721 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
722
723         * gst/gststructure.c:
724           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
725
726         * gst/gstvalue.h:
727           Expand on the difference between arrays and lists as we use them.
728           
729 2006-08-14  Wim Taymans  <wim@fluendo.com>
730
731         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
732         If the parent state change function failed, don't assume we can safely
733         stop the source, this will be done when the pads are deactivated.
734
735 2006-08-14  Wim Taymans  <wim@fluendo.com>
736
737         * gst/gstbuffer.c:
738         * gst/gsttask.c: (gst_task_join):
739         Small doc updates.
740
741         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
742         (gst_pad_stop_task):
743         When pad (de)activation failed for some reason, restore the old
744         activation mode and set the pad to flushing instead of assuming the
745         pad is deactivated.
746         If the _task_join() failed, reinstall the task on the pad so that it can
747         be stopped later and return an error.
748
749 2006-08-11  Andy Wingo  <wingo@pobox.com>
750
751         * configure.ac:
752         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
753         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
754         is only for users of API that don't want to see deprecated
755         functions in the headers; people that want to compile out
756         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
757         CFLAGS. Fixes the build of multifdsink, or will soon..
758
759 2006-08-11  Wim Taymans  <wim@fluendo.com>
760
761         * docs/gst/gstreamer-sections.txt:
762         Add GstClockClass vmethod docs.
763
764         * gst/gstcaps.h:
765         Mark #endif with comment for associated #if
766
767         * gst/gstclock.c: (gst_clock_id_wait):
768         * gst/gstclock.h:
769         Add vmethod wait_jitter to avoid an unneeded _get_time() for
770         most clock implementations.
771         Document vmethods.
772         Flesh out docs about resolution methods.
773         API: GstClockClass::wait_jitter
774
775         * gst/gstsystemclock.c: (gst_system_clock_class_init),
776         (gst_system_clock_async_thread),
777         (gst_system_clock_id_wait_jitter_unlocked),
778         (gst_system_clock_id_wait_jitter):
779         Use base class wait_jitter variant for improved performance
780         due to less clock polling.
781
782 2006-08-11  Edward Hervey  <edward@fluendo.com>
783
784         * gst/gst.c: (gst_init_check), (init_post):
785         Set gst as being initialized before scanning/updating the registry,
786         since there might be my python plugin loader that calls gst_init() and
787         we don't want to loop back in.
788         Closes #350879
789
790 2006-08-11  Wim Taymans  <wim@fluendo.com>
791
792         * docs/design/part-qos.txt:
793         Bring docs in line with the code. Mostly the sign of the jitter was
794         wrong in the docs. Fixes #349943.
795
796         * gst/gstclock.c:
797         Fix the docs for the jitter.
798
799         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
800         (gst_event_parse_tag), (gst_event_new_buffer_size),
801         (gst_event_parse_buffer_size), (gst_event_parse_qos),
802         (gst_event_new_seek), (gst_event_parse_seek),
803         (gst_event_new_navigation):
804         Make sure the GstStructure has no parent when creating custom
805         events.
806         Add some more argument checking so that we avoid 0.0 rates.
807         Flesh out the docs for the QoS event some more.
808
809 2006-08-11  Wim Taymans  <wim@fluendo.com>
810
811         * docs/gst/gstreamer-sections.txt:
812         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
813         (ensure_current_registry_forking), (ensure_current_registry),
814         (parse_one_option), (parse_goption_arg), (gst_deinit),
815         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
816         * gst/gst.h:
817         Doc updates.
818         Added API and command line option to disable registry forking in
819         addition to the environment variable.
820         Constify some static arrays.
821         Added some more debug.
822         Don't deinit twice.
823         API: gst_registry_fork_is_enabled()
824         API: gst_registry_fork_set_enabled()
825         API: --gst-disable-registry-fork command line option
826         Fixes #348918.
827
828 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
829
830         * gst/gst.c: (gst_init):
831           Fix typo in error message.
832
833 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
834
835         * libs/gst/controller/gstcontroller.h:
836           fix ABI size-correction
837
838         * tests/check/libs/gdp.c: (gst_dp_suite):
839           make tests that use deprecated API conditional
840
841 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
842
843         * docs/libs/gstreamer-libs-sections.txt:
844         * libs/gst/controller/gstcontroller.c:
845         (_gst_controller_get_property), (_gst_controller_set_property),
846         (_gst_controller_init), (_gst_controller_class_init):
847         * libs/gst/controller/gstcontroller.h:
848         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
849         (gst_object_set_control_rate):
850           API: add gst_object_{s,g}et_control_rate(), add private data section,
851           fix docs
852
853         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
854         * libs/gst/dataprotocol/dataprotocol.h:
855           add deprecation guards to make gtk-doc happy and allow disabling cruft
856
857 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
858
859         * tests/check/Makefile.am:
860         * tests/check/gst/.cvsignore:
861           Let's enable the new unit test as well.
862
863 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
864
865         * configure.ac:
866         * docs/gst/gstreamer-sections.txt:
867         * gst/gstconfig.h.in:
868         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
869         (_gst_info_printf_extension_ptr),
870         (_gst_info_printf_extension_segment):
871           API: add GST_SEGMENT_FORMAT, which is a printf extension we
872           register that lets us easily dump GstSegments into debug
873           logs (#350419).
874
875         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
876         (info_segment_format_printf_extension), (gst_info_suite):
877           Add simple unit test that logs a bunch of different segments (not
878           valgrinded at the moment because of leaks in
879           gst_debug_add_log_function).
880
881 2006-08-09  Edward Hervey  <edward@fluendo.com>
882
883         * libs/gst/base/gstbasetransform.c:
884         (gst_base_transform_buffer_alloc):
885         Even if we can't figure out the proper format to request downstream,
886         call buffer_alloc() downstream with the input parameters without setting
887         the caps on the srcpad. This will force negotiation in the chain
888         function.
889         Closes #350449
890
891 2006-08-08  Edward Hervey  <edward@fluendo.com>
892
893         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
894         Unlinking from a pad without a target is now a perfectly valid case
895         which should NOT raise an assertion.
896         This case would happen if a linked ghostpad its target set to NULL after
897         it was previously linked.
898
899 2006-08-08  Edward Hervey  <edward@fluendo.com>
900
901         * tests/check/libs/gdp.c:
902         Also comment out the test (see below).
903
904 2006-08-08  Edward Hervey  <edward@fluendo.com>
905
906         * tests/check/libs/gdp.c: (gst_dp_suite):
907         Use the architecture information from config.h and not gcc macros
908         in order to properly disable a test that fails on PPC64.
909
910 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
911
912         * gst/gstelement.c: (gst_element_remove_pad):
913           Don't crash printing the warning if the pad has no parent.
914
915 2006-08-02  Wim Taymans  <wim@fluendo.com>
916
917         * libs/gst/dataprotocol/dataprotocol.c:
918         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
919         (gst_dp_crc), (gst_dp_header_payload_length),
920         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
921         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
922         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
923         (gst_dp_event_from_packet), (gst_dp_validate_header),
924         (gst_dp_validate_payload):
925         Make debug category static
926         Constify the crc table.
927         Do some more arg checking in public functions.
928         Fix some docs and do some small cleanups.
929
930         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
931         Add some more checks to see if GDP deals with bogus input.
932
933 2006-07-31  Wim Taymans  <wim@fluendo.com>
934
935         * gst/gstvalue.c: (gst_value_compare_list):
936         Fix GstValueList comparison code. Fixes #347293.
937
938         * tests/check/gst/gstvalue.c: (GST_START_TEST):
939         Check to test GstValueList comparison.
940
941 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
942
943         * gst/gstelementfactory.c: (gst_element_factory_create):
944         Remove unnecessary ref/unref pair
945
946         * gst/parse/grammar.y:
947         Make sure to free the parse buffer on all code paths.
948         Move a g_free up to the error handler where it's easier to see.
949
950         * tests/check/gst/gstevent.c: (test_event):
951         Extending timeout for downstream travelling events to 10 seconds to
952         hopefully avoid intermittent failure on the buildbots.
953
954         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
955         Don't manually set the state of the src element - it will happen as a
956         natural consequence of the pipeline changing state, and that way it
957         will do it in the right order too.
958
959 2006-07-31  Wim Taymans  <wim@fluendo.com>
960
961         * libs/gst/base/gstbasetransform.c:
962         (gst_base_transform_buffer_alloc):
963         Use OBJECT_LOCK and refcounting to get the pad caps in the
964         buffer_alloc function because the caps could change while we are
965         busy with them. Fixes #349105
966
967 2006-07-31  Wim Taymans  <wim@fluendo.com>
968
969         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
970         Protect _PAD_CAPS with OBJECT_LOCK.
971
972 2006-07-31  Wim Taymans  <wim@fluendo.com>
973
974         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
975         (gst_pad_get_property), (gst_pad_activate_pull),
976         (gst_pad_activate_push), (gst_pad_set_blocked_async),
977         (gst_pad_set_activate_function),
978         (gst_pad_set_activatepull_function),
979         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
980         (gst_pad_set_getrange_function),
981         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
982         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
983         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
984         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
985         (gst_pad_set_acceptcaps_function),
986         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
987         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
988         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
989         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
990         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
991         (gst_pad_configure_sink), (gst_pad_configure_src),
992         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
993         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
994         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
995         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
996         (gst_pad_send_event):
997         Use _DEBUG_OBJECT when it makes sense.
998         Protect GST_PAD_CAPS with the OBJECT_LOCK.
999         Small cleanups and code reflows.
1000         Avoid caps refcounting in _accept_caps.
1001         Refactor alloc_buffer so that the code performed on the peer is in a
1002         separate function. Also if the pad does not implement a buffer alloc
1003         function, we should still check if the pad is flushing before falling
1004         back to the default allocator.
1005
1006 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1007
1008         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1009         Make all uses of identity and fakesink have silent=true to avoid
1010         serialising every passing data structure, which is breaking tests
1011         on FC4 for some unknown reason.
1012
1013 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1014
1015         * gst/parse/Makefile.am:
1016         * gst/parse/grammar.y:
1017         * gst/parse/parse.l:
1018           Reverted previous patch as it required to bump the flex dependency to
1019           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1020
1021 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1022
1023         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1024
1025         * gst/parse/Makefile.am:
1026         * gst/parse/grammar.y:
1027         * gst/parse/parse.l:
1028           push & pop the state of the lexer for reentrant use case
1029           Fixes #349180
1030
1031 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1032
1033         * libs/gst/base/gstbasesrc.h:
1034           Note in the docs that the ::newsegment vfunc is not actually used by
1035           GstBaseSrc.
1036
1037 2006-07-28  Wim Taymans  <wim@fluendo.com>
1038
1039         * libs/gst/base/gstcollectpads.c:
1040         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1041         (gst_collect_pads_clear), (gst_collect_pads_flush),
1042         (gst_collect_pads_event), (gst_collect_pads_chain):
1043         When flushing a pad, also clear the queued buffer so that we don't
1044         accidentally use it when we shouldn't.
1045         Fix leaks by inreffing incomming buffer.
1046         Flush out queued buffers in case of errors.
1047         Fixes #347452.
1048
1049 2006-07-28  Wim Taymans  <wim@fluendo.com>
1050
1051         * docs/random/phonon-gst:
1052         Random notes about a Phonon backend.
1053
1054 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1055
1056         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1057         Extra debug output
1058         * tests/check/libs/gdp.c: (gst_dp_suite):
1059         Take a whack at fixing the ppc compile using a different define to
1060         disable the broken test.
1061
1062         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1063         Remove excess g_print()
1064
1065 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1066
1067         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1068         Oops, meant to uncomment this line too to dampen the noise a bit.
1069
1070 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1071
1072         * gst/parse/grammar.y:
1073         * gst/parse/parse.l:
1074         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1075         (GST_START_TEST), (parse_suite):
1076         Fix some of the leaks exposed by extending the parse-launch testsuite,
1077         and move the 3 I can't figure out into a separate test that won't run
1078         the pipelines unless the appropriate line is uncommented.
1079
1080 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1081
1082         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1083           Requesting 0 bytes before the end of the file should result in
1084           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1085           unit test.
1086
1087 2006-07-27  Wim Taymans  <wim@fluendo.com>
1088
1089         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1090         Fix useless assert, a uint is always positive.
1091
1092         * gst/gststructure.c: (gst_structure_nth_field_name),
1093         (gst_structure_foreach), (gst_structure_map_in_place):
1094         Check input arguments for public functions to avoid obvious crashes.
1095
1096         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1097         * plugins/elements/gstfakesink.h:
1098         Do less useless typechecking.
1099
1100 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1101
1102         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1103           Do not use mmap() by default since there are a number of error
1104           conditions that we would like to handle in a non-fatal way that
1105           will result in a SIGBUS if we use mmap(). Examples: external
1106           devices (USB harddrive, portable music player) being unplugged
1107           while in use; file on mounted CD/DVD that can't be read because
1108           the medium is partly damaged. Fixes #348455 and #348475.
1109
1110 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1111
1112         * gst/gstquery.h:
1113         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1114         rates are a gdouble
1115
1116 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1117
1118         * gst/gstregistry.c:
1119           Move big documentation comment into class section header, so that it
1120           appears in the API docs.
1121
1122 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1123
1124         * docs/gst/gstreamer-sections.txt:
1125         Oops. Commit the docs additions too for new API.
1126         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1127
1128 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1129
1130         * gst/gststructure.c: (gst_structure_id_set),
1131         (gst_structure_id_set_valist):
1132         * gst/gststructure.h:
1133         Add API for setting values into structures without performing
1134         a quark lookup, if the appropriate quark is already known.
1135
1136         API: gst_structure_id_set
1137         API: gst_structure_id_set_valist
1138
1139         * gst/parse/grammar.y:
1140         * gst/parse/parse.l:
1141         Remove some dead code shown by the coverage information.
1142         Don't throw a critical g_warning when encountering a syntax error,
1143         just warn and let the normal error path handle it.
1144
1145         * plugins/elements/gstelements.c:
1146         Bump the rank of filesink up to PRIMARY so that it is preferred over
1147         gnomevfssink for file:// sink uri's
1148
1149         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1150         (GST_START_TEST), (run_delayed_test),
1151         (gst_parse_test_element_base_init),
1152         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1153         (gst_parse_test_element_change_state),
1154         (gst_register_parse_element), (parse_suite):
1155         Beef up the tests for parse syntax to check that more error cases
1156         fail as they are supposed to. Increases the test coverage a bit.
1157
1158 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1159
1160         * docs/manual/basics-elements.xml:
1161           Fix gst_element_link() example.
1162
1163         * gst/gstutils.c:
1164           Mention in API docs that one should usually gst_bin_add()
1165           elements to a bin or pipeline before doing the linking.
1166           
1167 2006-07-26  Wim Taymans  <wim@fluendo.com>
1168
1169         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1170         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1171         Avoid function call for known types by keeping the buffer and
1172         subbuffer GType global.
1173
1174         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1175         Random silly optimisations in read() path.
1176
1177 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1178
1179         * tools/gst-launch.c: (main):
1180           If the top-level of the parse is a normal bin, it doesn't do the
1181           right logic to run as a top-level element, so place it inside a
1182           pipeline.
1183
1184 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1185
1186         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1187           Remove superfluous g_object_notify() calls, GObject does
1188           that for us automatically.
1189
1190 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1191
1192         * gst/gstinfo.h:
1193           on Win32, use dllspec to export the debug category symbols
1194
1195 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1196
1197         * gst/gsttaglist.c: (_gst_tag_initialize):
1198           Allow more than one GST_TAG_IMAGE per taglist.
1199
1200 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1201
1202         * gst/gstminiobject.c:
1203           update docs
1204         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1205         (gst_fd_src_create):
1206           log recurring events at LOG level
1207           add more debug for when the fd gets set
1208
1209 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1210
1211         * gst/gstparse.c: (gst_parse_launch):
1212           Also remove reentrance checks if flex is MT safe (#348179)
1213          Fix my empty ChangeLog entry below
1214
1215 2006-07-21  Andy Wingo  <wingo@pobox.com>
1216
1217         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1218
1219         * libs/gst/check/Makefile.am
1220         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1221         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1222         * libs/gst/check/gstbufferstraw.h:
1223         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1224         functions, thus proving I am still a GStreamer haxor. OK I wrote
1225         them a long time ago, but anyways.
1226
1227 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1228
1229         * configure.ac:
1230         * gst/gstparse.c: (gst_parse_launch):
1231           Check for flex version and omit mutex if we have a MT save flex
1232           (fixes #348179)
1233
1234 2006-07-21  Wim Taymans  <wim@fluendo.com>
1235
1236         * gst/gstparse.c: (gst_parse_launch):
1237         Protect recursive calls to _parse with a recursive mutex
1238         and busy flag.
1239
1240 2006-07-21  Wim Taymans  <wim@fluendo.com>
1241
1242         * tests/check/gst/gstpad.c: (GST_START_TEST):
1243         Fix leak in test.
1244
1245 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1246
1247         * gst/gstparse.c: (gst_parse_launch):
1248           Do not hang on recursive usage of gst_parse_launch()
1249
1250 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1251
1252         * gst/gsttaglist.c:
1253           Add some more docs, comments and FIXME 0.11s here and there
1254           and also fix some typos.
1255
1256 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1257
1258         * gst/gstsegment.h:
1259           Convert tabs to spaces for better readability. 
1260
1261 2006-07-20  Edward Hervey  <edward@fluendo.com>
1262
1263         * tests/check/libs/gdp.c: (gst_dp_suite):
1264         the test_buffer test fails at line 140 on ppc64 at the following
1265         check:
1266         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1267                 GST_BUFFER_FLAG_IN_CAPS),
1268                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1269         See bug #348114 for more details.
1270
1271 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1272
1273         * docs/pwg/advanced-scheduling.xml:
1274         * gst/gstpad.c:
1275           Fix typos (#348000).
1276
1277 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1278
1279         * docs/pwg/intro-basics.xml:
1280           Fix wrong links (#347927).
1281
1282 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1283
1284         * gst/gstregistry.h:
1285         * gst/gstregistryxml.c: (load_feature),
1286         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1287         * win32/common/config.h:
1288           make --disable-index work (#342564)
1289
1290 2006-07-18  Wim Taymans  <wim@fluendo.com>
1291
1292         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1293
1294         * gst/Makefile.am:
1295         * gst/gsttrace.h:
1296         The attached patch adds two missing defines to gsttrace.h when tracing
1297         is disabled.  It also corrects one existing define.
1298         Fixes #347756.
1299
1300 2006-07-17  Wim Taymans  <wim@fluendo.com>
1301
1302         * docs/gst/gstreamer-sections.txt:
1303         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1304         * gst/gst.h:
1305         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1306         Add two functions to check and change the SIGSEGV behaviour
1307         when loading plugins.
1308         Don't mess with the SIGSEGV handler when we were told not to.
1309         Fixes #347794.
1310         API: gst_segtrap_is_enabled
1311         API: gst_segtrap_set_enabled
1312
1313 2006-07-14  Wim Taymans  <wim@fluendo.com>
1314
1315         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1316         * tests/check/elements/filesrc.c: (GST_START_TEST):
1317         Revert fix for regression in #347408 after release.
1318
1319 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1320
1321         Patch by: Antoine Tremblay <hexa00 at gmail com>
1322
1323         * gst/gstutils.c: (gst_element_unlink):
1324           Free iterator when done (#347311).
1325
1326         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1327           And add a test case for this.
1328
1329 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1330
1331         * configure.ac:
1332         Bump nano back to CVS
1333
1334 === release 0.10.9 ===
1335
1336 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1337
1338         * configure.ac:
1339           releasing 0.10.9, "On the road again"
1340
1341 2006-07-13  Wim Taymans  <wim@fluendo.com>
1342
1343         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1344         * tests/check/elements/filesrc.c: (GST_START_TEST):
1345         Revert pull-0 fix for release. Disable check. Fixes #347408.
1346
1347 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1348
1349         * libs/gst/dataprotocol/dataprotocol.c:
1350         (gst_dp_event_from_packet_1_0):
1351           Fixes #347337: failure to deserialize event packets with
1352           empty payload (only event type)
1353
1354 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1355
1356         * gst/Makefile.am:
1357           do not install a .c file in the header directory
1358
1359 2006-07-13  Edward Hervey  <edward@fluendo.com>
1360
1361         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1362         GhostPad no longer implicitely use the padtemplates of the targets.
1363         Fixes #347384
1364
1365 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1366
1367         * gst/gstvalue.c: (gst_value_compare_list),
1368         (gst_value_compare_array), (_gst_value_initialize):
1369         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1370         Make GstValueArray comparison be order dependent as designed.
1371         Add checks for value lists and value array comparisons.
1372         Fixes #347221
1373
1374 2006-07-11  Edward Hervey  <edward@fluendo.com>
1375
1376         * gst/gstbin.c: (activate_pads),
1377         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1378         (gst_bin_change_state_func):
1379         (de)activate src pads before calling state_change on the childs.
1380         This is to avoid the case where a src ghostpad is blocked (holding the
1381         stream lock), which would block the deactivation of the ghostpad's
1382         target pad.
1383         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1384         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1385         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1386         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1387         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1388         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1389         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1390         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1391         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1392         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1393         (gst_ghost_pad_class_init),
1394         (gst_ghost_pad_internal_do_activate_push),
1395         (gst_ghost_pad_internal_do_activate_pull),
1396         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1397         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1398         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1399         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1400         GhostPads now create their internal GstProxyPad at creation (and not
1401         when they're linked, as it was being done previously).
1402         The internal and target pads are linked straight away.
1403         The data will also travel through the other pad in order to make
1404         pad blocking and probes non-hackish (the probe/block now really happens
1405         on the GhostPad and not on the target).
1406         * gst/gstpad.c: (gst_pad_set_blocked_async),
1407         (gst_pad_link_prepare), (gst_pad_push_event):
1408         Remove previous ghostpad cruft.
1409         * gst/gstutils.c: (gst_pad_add_data_probe),
1410         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1411         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1412         (gst_pad_remove_buffer_probe):
1413         Remove previous ghost pad cruft.
1414         Added more detailed debug statements.
1415         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1416         Fix the testsuite for refcounting changes.
1417         The comments about who has references were correct, but the refcount
1418         being checked wasn't the same (!?!).
1419
1420         Fixes #341029
1421
1422 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1423
1424         * docs/gst/gstreamer-sections.txt:
1425         * gst/gstconfig.h.in:
1426         More docs for configuration options, add docs to gtk-doc.
1427
1428 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1429
1430         * gst/Makefile.am:
1431         * gst/gstconfig.h.in:
1432         * win32/common/config.h:
1433         Fix build when disabling tracing (fixes #344016). Also start to document
1434         the defines that disable the sub-systems.
1435
1436 2006-07-10  Edward Hervey  <edward@fluendo.com>
1437
1438         * gst/gst.c: (ensure_current_registry_forking):
1439         let's make valgrind happy...
1440
1441 2006-07-09  Wim Taymans  <wim@fluendo.com>
1442
1443         * gst/gstelement.c: (activate_pads),
1444         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1445         Better pad activation code: Reset the collect value too on resync.
1446         Add some comments.
1447
1448 2006-07-09  Wim Taymans  <wim@fluendo.com>
1449
1450         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1451         (gst_pad_activate_push):
1452         Use some more macros where it makes sense.
1453         Allow pad mode switching instead of asserting. When a pad
1454         is activated in one mode and we activate it in another, 
1455         deactivate it first before activating it in a different mode.
1456         Fixes #329198.
1457
1458 2006-07-08  Andy Wingo  <wingo@pobox.com>
1459
1460         * tools/gst-launch.c (main): Handle err == NULL.
1461
1462         * gst/gst.c (init_post, ensure_current_registry)
1463         (ensure_current_registry_forking)
1464         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1465         factoring out the registry scanning into separate functions. Don't
1466         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1467         Better environment var name/interface suggestions accepted.
1468
1469 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1470
1471         * gst/gstobject.c: (gst_object_set_name_default),
1472         (gst_object_set_name):
1473           Random micro-optimisation: don't use a hash table
1474           with strings as keys and the usual strdup/strcmp
1475           involved, but rather just use the GQuark of the
1476           type name as key, since it needs to be looked up
1477           anyway to get the type name string.
1478
1479         * tests/check/gst/gstobject.c: (GST_START_TEST):
1480           Fix various leaks.
1481
1482 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1483
1484         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1485         (gst_bin_iterate_all_by_interface):
1486           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1487           GTypes are gulongs and thus the top 4 bytes might be cut
1488           off on some platforms when doing GPOINTER_TO_INT, leading
1489           to invalid GTypes and bad things happening (see RH bug #179654).
1490           Also add a check to make sure the type passed in is really
1491           an interface type.
1492
1493 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1494
1495         * .cvsignore:
1496           Ignore more.
1497
1498 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1499
1500         * Makefile.am:
1501         * configure.ac:
1502         * gst-element-check.m4:
1503         * gst-element-check.m4.in:
1504           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1505           instead of the unversioned gst-inspect (#324176, #168659).
1506
1507 2006-07-06  Wim Taymans  <wim@fluendo.com>
1508
1509         * gst/gstmessage.h:
1510         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1511         warnings.
1512
1513 2006-07-06  Wim Taymans  <wim@fluendo.com>
1514
1515         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1516         (gst_base_src_wait), (gst_base_src_update_length),
1517         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1518         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1519         (gst_base_src_loop), (gst_base_src_start),
1520         (gst_base_src_activate_pull):
1521         Update docs.
1522         blocksize == 0 now means the default blocksize when working in push
1523         based mode.
1524         Remove some pointless asserts in _wait function.
1525         Fix offset/length calculations and EOS handling. We can now pull 0
1526         bytes as well, which is allowed.
1527         use _check_get_range() to decide if we can operate in _pull based
1528         mode.
1529         Fix refcounting leak when check_get_range function was not 
1530         implemented.
1531         API GstBaseSrc::blocksize range can be 0 too now (default)
1532
1533         * tests/check/elements/filesrc.c: (GST_START_TEST),
1534         (filesrc_suite):
1535         Added check to test _get_range() behaviour.
1536
1537 2006-07-06  Wim Taymans  <wim@fluendo.com>
1538
1539         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1540         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1541         (gst_pad_pull_range):
1542         * gst/gstpad.h:
1543         Lots of comments and docs added to the pad functions.
1544         Flesh out the expected behaviour of the get_range() functions.
1545
1546 2006-07-06  Wim Taymans  <wim@fluendo.com>
1547
1548         * gst/gstbus.h:
1549         * gst/gstclock.h:
1550         * gst/gstevent.h:
1551         * gst/gstiterator.h:
1552         * gst/gstpad.h:
1553         * gst/gstplugin.h:
1554         * gst/gsttask.h:
1555         Remove comma at end of enumerator list. 
1556
1557 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1558
1559         * win32/common/libgstbase.def:
1560         * win32/common/libgstdataprotocol.def:
1561         * win32/common/libsgtreamer.def:
1562         Add new exported functions.
1563
1564 2006-07-05  Wim Taymans  <wim@fluendo.com>
1565
1566         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1567         Add some more docs here and there.
1568
1569 2006-07-05  Wim Taymans  <wim@fluendo.com>
1570
1571         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1572         (gst_base_sink_loop), (gst_base_sink_get_position):
1573         When operating in pull mode update the offset so that we
1574         read sequentially.
1575
1576 2006-07-05  Wim Taymans  <wim@fluendo.com>
1577
1578         * gst/gstregistryxml.c: (read_string):
1579         Avoid strdup. (will happen in libxml, but hey!)
1580
1581         * gst/gsturi.c:
1582         Add some more docs.
1583
1584 2006-07-05  Wim Taymans  <wim@fluendo.com>
1585
1586         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1587         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1588         (gst_buffer_suite):
1589         No point in checking if the size of the subbuffer > 0, the
1590         code handles it correclty as demonstrated by unit test.
1591         Also add a unit test for the zero sized _new_and_alloc and
1592         _copy. Fixes #346663.
1593
1594 2006-07-05  Wim Taymans  <wim@fluendo.com>
1595
1596         * libs/gst/base/gstbasetransform.c:
1597         (gst_base_transform_prepare_output_buffer),
1598         (gst_base_transform_buffer_alloc),
1599         (gst_base_transform_handle_buffer):
1600         Make sure the buffer we pass to transform_ip has a refcount of
1601         1 and thus is writable. Fixes #343196
1602
1603 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1604
1605         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1606         (gst_file_src_init), (gst_file_src_set_property),
1607         (gst_file_src_get_property), (gst_file_src_map_region):
1608         * plugins/elements/gstfilesrc.h:
1609         Add "sequential" property, off by default, to use madvise and hint
1610         to the kernel that sequential access is desired.
1611         Touch all retrieved pages by default to ensure they are pulled
1612         into memory. (Closes #345720)
1613
1614 2006-07-03  Wim Taymans  <wim@fluendo.com>
1615
1616         * docs/design/part-block.txt:
1617         * docs/design/part-dynamic.txt:
1618         Small docs updates.
1619
1620 2006-07-03  Wim Taymans  <wim@fluendo.com>
1621
1622         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1623         (gst_caps_unref), (gst_static_caps_get),
1624         (gst_caps_append_structure):
1625         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1626         Use GSlice when the glib we build against is >= 2.10
1627
1628 2006-07-03  Wim Taymans  <wim@fluendo.com>
1629
1630         * gst/gstelement.c: (gst_element_pads_activate):
1631         Small cleanup in pad activation code.
1632
1633 2006-07-03  Wim Taymans  <wim@fluendo.com>
1634
1635         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1636
1637         * gst/gst-i18n-app.h:
1638         * gst/gst-i18n-lib.h:
1639         * tools/gst-inspect.c: (print_signal_info):
1640         The attached patch will make the inclusion of gettext.h unconditional in
1641         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1642         libintl.h in tools/gst-inspect.c.
1643         This allows use of --disable-nls again and fixes #344642.
1644
1645 2006-07-03  Edward Hervey  <edward@fluendo.com>
1646
1647         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1648         Implement pad blocking on events according to part-block.txt.
1649         More comments on behaviour.
1650         * tests/check/gst/gstevent.c: (test_event):
1651         Send event to peer pad of blocked pad (else it will block).
1652
1653 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1654
1655         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1656         (gst_check_run_suite):
1657           if we get the wrong message, give us the types as string
1658         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1659           Fix a translatable
1660         * tests/check/elements/filesrc.c: (GST_START_TEST):
1661           add a test for trying to open a non-existing file
1662
1663 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1664
1665         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1666           add a test for adding self
1667
1668 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1669
1670         * libs/gst/check/gstcheck.h:
1671           add some assert_ as alias for fail_unless_*
1672         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1673           increase test coverage
1674
1675 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1676
1677         * Makefile.am:
1678           include lcov.mak for lcov coverage generation
1679         * tools/Makefile.am:
1680           add to CLEANFILES
1681
1682 2006-07-02  Edward Hervey  <edward@fluendo.com>
1683
1684         * tests/check/elements/.cvsignore:
1685         moaping
1686
1687 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1688
1689         * configure.ac:
1690           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1691         * tests/check/Makefile.am:
1692           clean up gcov files
1693
1694 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1695
1696         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1697           remove gst_caps_simplify; it was not declared and not used
1698           and deprecated in 0.8
1699
1700 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1701
1702         * docs/faq/gst-uninstalled:
1703           don't put empty paths on PYTHONPATH
1704         * docs/gst/gstreamer-sections.txt:
1705           remove some symbols that are not there
1706
1707 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1708
1709         * gst/gstcaps.c: (gst_caps_compare_structures):
1710           whitespace fixes
1711         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1712         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1713           add more tests
1714
1715 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1716
1717         * libs/gst/dataprotocol/Makefile.am:
1718           build dataprotocol test by linking to the lib, instead of
1719           compiling the source, so we get coverage
1720         * tests/check/Makefile.am:
1721         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1722         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1723           add a test for filesrc
1724
1725 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1726
1727         * tests/check/gst/gststructure.c: (GST_START_TEST),
1728         (gst_structure_suite):
1729           Push coverage from 59.04% to 70.00%
1730
1731 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1732
1733         * tests/check/Makefile.am:
1734           gst-inspect every element; this makes sure that we also get
1735           coverage on element's get/set functions
1736
1737 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1738
1739         * configure.ac:
1740           set CFLAGS and friends to -O0 if gcov is being used
1741           add GCOV LIBS
1742         * gst/Makefile.am:
1743         * libs/gst/base/Makefile.am:
1744         * libs/gst/check/Makefile.am:
1745         * libs/gst/controller/Makefile.am:
1746         * libs/gst/dataprotocol/Makefile.am:
1747         * libs/gst/net/Makefile.am:
1748         * plugins/elements/Makefile.am:
1749         * plugins/indexers/Makefile.am:
1750           add makefile rules to generate gcov data and clean up
1751         * tests/check/Makefile.am:
1752           add a coverage target that generates an html overview
1753           of coverage data
1754
1755 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1756
1757         * tests/check/elements/fakesink.c:
1758         * tests/check/elements/fakesrc.c:
1759         * tests/check/elements/fdsrc.c:
1760         * tests/check/elements/identity.c:
1761         * tests/check/generic/sinks.c: (gst_sinks_suite):
1762         * tests/check/generic/states.c:
1763         * tests/check/gst/gst.c:
1764         * tests/check/gst/gstabi.c:
1765         * tests/check/gst/gstbin.c:
1766         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1767         * tests/check/gst/gstbus.c: (gst_bus_suite):
1768         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1769         * tests/check/gst/gstelement.c:
1770         * tests/check/gst/gstevent.c: (gst_event_suite):
1771         * tests/check/gst/gstghostpad.c:
1772         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1773         * tests/check/gst/gstmessage.c: (gst_message_suite):
1774         * tests/check/gst/gstminiobject.c:
1775         * tests/check/gst/gstobject.c:
1776         * tests/check/gst/gstpad.c:
1777         * tests/check/gst/gstpipeline.c:
1778         * tests/check/gst/gstplugin.c:
1779         * tests/check/gst/gstquery.c: (gst_query_suite):
1780         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1781         * tests/check/gst/gststructure.c:
1782         * tests/check/gst/gstsystemclock.c:
1783         * tests/check/gst/gsttag.c:
1784         * tests/check/gst/gsttask.c: (gst_task_suite):
1785         * tests/check/gst/gstutils.c:
1786         * tests/check/gst/gstvalue.c:
1787         * tests/check/libs/adapter.c:
1788         * tests/check/libs/basesrc.c:
1789         * tests/check/libs/collectpads.c:
1790         * tests/check/libs/controller.c:
1791         * tests/check/libs/gdp.c: (gst_dp_suite):
1792         * tests/check/libs/gstnetclientclock.c:
1793         * tests/check/libs/gstnettimeprovider.c:
1794         * tests/check/libs/libsabi.c: (libsabi_suite):
1795         * tests/check/libs/typefindhelper.c:
1796         * tests/check/pipelines/cleanup.c:
1797         * tests/check/pipelines/parse-launch.c:
1798         * tests/check/pipelines/simple-launch-lines.c:
1799         * tests/check/pipelines/stress.c: (stress_suite):
1800           use the new macro
1801
1802 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1803
1804         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1805         * libs/gst/check/gstcheck.h:
1806           create a macro and function so that the simple unit test
1807           case can be just one macro to create main()
1808
1809 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1810
1811         * gst/gstbin.c: (gst_bin_restore_thyself):
1812         * gst/gstxml.c: (gst_xml_make_element):
1813           Fix deserialisation from XML. Set parent manually
1814           instead of using gst_bin_add(), since gst_bin_add()
1815           will unlink all pads of the element being added.
1816           Fixes #341667.
1817
1818 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1819
1820         Patch by: Peter Kjellerstedt <pkj at axis com>
1821
1822         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1823           Fix missing g_strdup() and double free when using the
1824           --gst-plugin-load command line option (#346097).
1825
1826 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * gst/gstinfo.c:
1829           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1830
1831         * libs/gst/net/gstnetclientclock.c:
1832         * libs/gst/net/gstnettimeprovider.c:
1833           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1834
1835 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1836
1837         * docs/manual/advanced-dataaccess.xml:
1838           Fix buffer probe example compilation in
1839           ADM (#345708).
1840         
1841 2006-06-22  Edward Hervey  <edward@fluendo.com>
1842
1843         * gst/gstelement.c: (gst_element_pads_activate):
1844         We need to deactivate src pads first and then sink pads.
1845         The reason is the src pads might be blocking while holding the streaming
1846         lock, so we need to deactivate them first so that deactivating the sink
1847         pads doesn't block (since it will require the streaming lock).
1848
1849 2006-06-22  Wim Taymans  <wim@fluendo.com>
1850
1851         * libs/gst/base/gstbasetransform.c:
1852         (gst_base_transform_buffer_alloc):
1853         Forgot to remove two unneeded unrefs.
1854         Simplify a check _is_equal allready checks the obvious case.
1855
1856 2006-06-22  Wim Taymans  <wim@fluendo.com>
1857
1858         * docs/design/part-block.txt:
1859         Some docs about what pad_block should do.
1860
1861 2006-06-22  Wim Taymans  <wim@fluendo.com>
1862
1863         * gst/gstcaps.c: (gst_caps_replace):
1864         Fix crasher when passed NULL. Doc clarification.
1865         Optimize for the trivial case.
1866
1867         * gst/gstpipeline.c: (gst_pipeline_change_state):
1868         Small cleanups.
1869
1870         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1871         Small documentation cleanup.
1872
1873         * libs/gst/base/gstbasetransform.c:
1874         (gst_base_transform_buffer_alloc):
1875         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1876         is what we need and it avoids a whole lot of redundant 
1877         refcount operations.
1878
1879 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
1880
1881         Patch by: Philip Jägenstedt  <philip at lysator liu se>
1882
1883         * docs/manual/advanced-dataaccess.xml:
1884           Fix 'Embedding static elements' section to use
1885           GST_PLUGIN_DEFINE_STATIC (#345607).
1886
1887 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1888
1889         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1890           Attempt to 'fix' spuriously failing test case: it seems like the
1891           timeout of half a second is simply too small when the system is under
1892           load otherwise, and the timeout doesn't really seem to serve any
1893           particular purpose here. Give the pipeline a few seconds to preroll
1894           first, and then give it another half a second to go from PAUSED to
1895           PLAYING and marshal the message into the main thread.
1896
1897 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1898
1899         * tools/gst-feedback-m.m:
1900           Don't only use unversioned tools, try versioned tools as well
1901           (#345086).
1902
1903 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1904
1905         * gst/gstbus.c: (gst_bus_class_init):
1906           Fix some typos, make docs more explicit.
1907
1908 2006-06-20  Wim Taymans  <wim@fluendo.com>
1909
1910         * tests/check/gst/gstghostpad.c: (block_callback),
1911         (GST_START_TEST), (gst_ghost_pad_suite):
1912         Added some more ghostpad tests, mainly blocking
1913         and probes.
1914
1915 2006-06-16  Wim Taymans  <wim@fluendo.com>
1916
1917         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1918         (gst_file_sink_close_file), (gst_file_sink_do_seek),
1919         (gst_file_sink_event), (gst_file_sink_render):
1920         * plugins/elements/gstfilesink.h:
1921         Check if we can seek in the file instead of assuming
1922         we always can. Post an error when we are asked to seek in a
1923         non-seekable file (like a fifo). Fixes #343312.
1924         Some cleanups.
1925
1926 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1927
1928         * tools/gst-launch.1.in:
1929           Un-garble (fourcc) bit in filtered caps section.
1930
1931 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1932
1933         * docs/manual/advanced-autoplugging.xml:
1934         * docs/manual/basics-helloworld.xml:
1935         * docs/manual/highlevel-components.xml:
1936           Don't leak bus reference in sample code.
1937
1938 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
1939
1940         * autogen.sh:
1941           Add default for new --enable-plugin-docs switch.
1942
1943         * configure.ac:
1944           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1945           Fixes #344039.
1946
1947         * docs/Makefile.am:
1948           Use new ENABLE_PLUGIN_DOCS conditional.
1949
1950 2006-06-14  Wim Taymans  <wim@fluendo.com>
1951
1952         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1953         Make it clear with a FIXME and a real define what the #if 0
1954         previously disabled.
1955
1956 2006-06-14  Wim Taymans  <wim@fluendo.com>
1957
1958         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1959         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1960         * libs/gst/base/gstbasetransform.c:
1961         (gst_base_transform_sink_eventfunc):
1962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1963         Don't randomly and silently reset a segment when the format 
1964         changes as this is a bug somewhere upstream. Fixes #330379.
1965
1966 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1967
1968         Patch by: Wouter Paesen  <wouter at kangaroot net>
1969
1970         * libs/gst/controller/gstcontroller.c:
1971         (gst_controlled_property_new):
1972           Fix controlling of float properties (#344849).
1973
1974         * tests/check/libs/controller.c:
1975         (gst_test_mono_source_get_property),
1976         (gst_test_mono_source_set_property),
1977         (gst_test_mono_source_class_init), (GST_START_TEST):
1978           While we're at it, add some float stuff to unit test.
1979
1980 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1981
1982         * docs/README:
1983         * docs/images/gdp-header.svg:
1984           add a gdp image
1985         * docs/libs/Makefile.am:
1986         * docs/libs/gdp-header.png:
1987         * libs/gst/dataprotocol/dataprotocol.c:
1988           add it to the API docs
1989         * docs/manual/intro-motivation.xml:
1990           fix typo
1991
1992 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
1993
1994         * gst/gst.c: (scan_and_update_registry), (init_post):
1995           If the fork()'ed child process can't write the updated registry cache
1996           file to disk for some reason, make it exit with a failure exit code,
1997           so that the parent can then re-scan the plugins itself and update the
1998           registry structures in memory and work with that (rather than failing
1999           when creating elements because seemingly no plugins are available).
2000           Refactor registry scanning code into separate function for this and
2001           also separate fork() and non-fork() code paths. Fixes #344748.
2002
2003 2006-06-13  Wim Taymans  <wim@fluendo.com>
2004
2005         * docs/manual/advanced-dataaccess.xml:
2006         Fix wrong PluginDesc. Fixes #344755.
2007
2008 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2009
2010         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2011           Fix silly bug that prevented us from creating
2012           ~/.gstreamer-0.10 and writing the registry in one
2013           go (the first call to g_mkstemp() would overwrite the
2014           placeholder in the template string, so the second call
2015           to g_mkstemp() after creating the missing directory
2016           would then error out with 'invalid argument').
2017
2018 2006-06-13  Edward Hervey  <edward@fluendo.com>
2019
2020         * gst/gst.c: (init_post):
2021         Free string.
2022
2023 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2024
2025         * gst/glib-compat-private.h:
2026         * gst/glib-compat.c:
2027         * gst/glib-compat.h:
2028         * gst/gstvalue.c: (gst_value_serialize_flags):
2029           remove GLib 2.6 compatibility code
2030
2031 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2032
2033         * gst/parse/Makefile.am:
2034           Fix build with 'make -j N' even more (#340016).
2035
2036 2006-06-12  Wim Taymans  <wim@fluendo.com>
2037
2038         * docs/gst/gstreamer-sections.txt:
2039         Fix docs.
2040
2041 2006-06-12  Wim Taymans  <wim@fluendo.com>
2042
2043         * gst/gstsegment.c: (gst_segment_set_duration),
2044         (gst_segment_set_last_stop), (gst_segment_set_seek),
2045         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2046         (gst_segment_to_running_time), (gst_segment_clip):
2047         Use G_UNLIKELY to help the compiler a bit.
2048
2049 2006-06-12  Wim Taymans  <wim@fluendo.com>
2050
2051         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2052
2053         * gst/gstevent.c: (gst_event_get_type):
2054         * gst/gstmessage.c:
2055         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2056         (gst_pad_push):
2057         constify quark registration strings. Fixes #344115
2058         Avoid unneeded type checking is _pad_push() by internally
2059         calling gst_pad_chain_unchecked().
2060
2061 2006-06-12  Wim Taymans  <wim@fluendo.com>
2062
2063         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2064         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2065         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2066         (gst_buffer_is_span_fast), (gst_buffer_span):
2067         Init _type for consistency.
2068         Use _FLAGS macro to avoid type check.
2069         Avoid unneeded type checks in subbufer code.
2070
2071 2006-06-12  Wim Taymans  <wim@fluendo.com>
2072
2073         * gst/gst.c: (gst_debug_help):
2074         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2075         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2076         (gst_plugin_feature_list_free):
2077         * gst/gstregistry.c: (gst_registry_add_plugin),
2078         (gst_registry_add_feature), (gst_registry_plugin_filter),
2079         (gst_registry_feature_filter), (gst_registry_find_plugin),
2080         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2081         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2082         * gst/gstregistryxml.c: (load_feature),
2083         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2084         * gst/gstminiobject.c: (gst_mini_object_unref),
2085         (gst_mini_object_replace), (gst_value_mini_object_free),
2086         (gst_value_mini_object_copy):
2087         Use _CAST macros to avoid unneeded type checking.
2088         Added some more G_UNLIKELY.
2089
2090 2006-06-12  Wim Taymans  <wim@fluendo.com>
2091
2092         * gst/gstbuffer.h:
2093         Avoid unneeded type checking.
2094         API: GST_BUFFER_IS_DISCONT
2095
2096         * gst/gstminiobject.h:
2097         Avoid type check in flag accessor.
2098
2099         * gst/gstelementfactory.h:
2100         * gst/gstplugin.h:
2101         * gst/gstpluginfeature.h:
2102         Add _CAST macros.
2103         API: GST_ELEMENT_FACTORY_CAST
2104         API: GST_PLUGIN_CAST
2105         API: GST_PLUGIN_FEATURE_CAST
2106
2107 2006-06-12  Wim Taymans  <wim@fluendo.com>
2108
2109         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2110         (gst_object_unref):
2111         Add G_UNLIKELY in type registration.
2112         Avoid type check in _ref/_unref since that is also
2113         done in glib.
2114
2115 2006-06-12  Wim Taymans  <wim@fluendo.com>
2116
2117         * gst/gsterror.c: (gst_g_error_get_type):
2118         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2119         (gst_static_pad_template_get_type):
2120         * gst/gsttaglist.c: (gst_tag_list_get_type):
2121         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2122         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2123         * gst/gsturi.c: (gst_uri_handler_get_type):
2124         * gst/gstvalue.c: (gst_date_get_type):
2125         * gst/gstxml.c: (gst_xml_get_type):
2126         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2127         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2128         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2129         Add G_UNLIKELY in type registration.
2130
2131 2006-06-12  Wim Taymans  <wim@fluendo.com>
2132
2133         * tools/gst-inspect.c: (print_signal_info):
2134         Properly print enum values.
2135
2136 2006-06-12  Wim Taymans  <wim@fluendo.com>
2137
2138         * gst/gstinfo.c: (gst_debug_set_active),
2139         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2140         * gst/gstinfo.h:
2141         Add some G_[UN]LIKELY.
2142         Maintain __gst_debug_min to avoid formatting the arguments of
2143         debug messages that will be dropped anyway to avoid a lot of 
2144         overhead from the debugging system.
2145
2146 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2147
2148         * po/POTFILES.in:
2149         * po/POTFILES.skip:
2150           add missing files containing translatable strings, tell intltool about
2151           one exception
2152
2153 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2154
2155         * tests/check/libs/.cvsignore:
2156         add test-binary to ignore list
2157
2158 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2159
2160         * docs/libs/gstreamer-libs-docs.sgml:
2161         reorder (put dp into a chapter) and indent
2162
2163 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2164
2165         * configure.ac:
2166           back to HEAD
2167
2168 === release 0.10.8 ===
2169
2170 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2171
2172         * configure.ac:
2173           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2174
2175 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2176
2177         * gst/gst.c: (init_post):
2178           move pid declaration to declaration block
2179
2180 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2181
2182         * gst/gst.c: (init_post):
2183           use _exit() instead of exit() in our forked child; this ensures
2184           that none of the registered exit handlers from whatever is using
2185           GStreamer get executed.  This fixes gnome-mixer-applet failing
2186           to load, because ORBit would shut down.
2187           Spotted by: Edward Hervey  <edward@fluendo.com>
2188           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2189           Fixes #344474
2190
2191 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2192
2193         * configure.ac:
2194           back to TRUNK
2195
2196 === release 0.10.7 ===
2197
2198 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2199
2200         * configure.ac:
2201           releasing 0.10.7, "Soepeke, ik zie ou"
2202
2203 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2204
2205         * configure.ac:
2206         * po/af.po:
2207         * po/az.po:
2208         * po/bg.po:
2209         * po/ca.po:
2210         * po/cs.po:
2211         * po/de.po:
2212         * po/en_GB.po:
2213         * po/fr.po:
2214         * po/it.po:
2215         * po/nb.po:
2216         * po/nl.po:
2217         * po/ru.po:
2218         * po/sq.po:
2219         * po/sr.po:
2220         * po/sv.po:
2221         * po/tr.po:
2222         * po/uk.po:
2223         * po/vi.po:
2224         * po/zh_CN.po:
2225         * po/zh_TW.po:
2226         * win32/common/config.h:
2227           0.10.6.2 prerelease
2228
2229 2006-06-07  Wim Taymans  <wim@fluendo.com>
2230
2231         * gst/gstindex.c: (gst_index_gtype_resolver):
2232         * tools/gst-xmlinspect.c: (print_plugin_info):
2233         Fix leak spotted by coverity checker. Fixes #343827
2234         Fix another other leak found by paolo borelli.
2235
2236 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2237
2238         * libs/gst/dataprotocol/dataprotocol.c:
2239         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2240         (gst_dp_version_get_type), (gst_dp_init),
2241         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2242         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2243         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2244         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2245         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2246         (gst_dp_packetizer_free):
2247         * libs/gst/dataprotocol/dataprotocol.h:
2248           API: add a GstDPPacketizer object, and create/free functions
2249           API: add GstDPVersion enum
2250           Add 1.0 event function that uses the string serialization
2251           Serialize more useful buffer flags
2252           Fixes #343988
2253
2254 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2255
2256         * tests/check/Makefile.am:
2257         * tests/check/gst/gstabi.c:
2258         * tests/check/gst/struct_ppc64.h:
2259         * tests/check/libs/libsabi.c:
2260         * tests/check/libs/struct_ppc64.h:
2261           add ppc64 structure sizes
2262
2263 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2264
2265         * tests/check/Makefile.am:
2266         * tests/check/gst/gstabi.c:
2267         * tests/check/gst/struct_x86_64.h:
2268         * tests/check/libs/libsabi.c:
2269         * tests/check/libs/struct_x86_64.h:
2270           generate and add structure size lists for x86_64
2271
2272 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2273
2274         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2275         * libs/gst/check/gstcheck.h:
2276           factor out the method from tests that checks size of structures,
2277           and add code to generate the header containing these sizes
2278         * tests/check/gst/gstabi.c: (GST_START_TEST):
2279         * tests/check/gst/struct_i386.h:
2280         * tests/check/libs/libsabi.c: (GST_START_TEST):
2281         * tests/check/libs/struct_i386.h:
2282           use it
2283
2284 2006-06-06  Michael Smith  <msmith@fluendo.com>
2285
2286         * gst/gstsegment.h:
2287           Don't use c++-style comments, fixes #343929
2288
2289 2006-06-05  Edward Hervey  <edward@fluendo.com>
2290
2291         * gst/gst.c:
2292         plugin_paths is not used if we build without registry support.
2293
2294         * gst/gstsegment.c: (gst_segment_copy): 
2295         _copy() was always returning NULL...
2296
2297 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2298
2299         * libs/gst/dataprotocol/dataprotocol.c:
2300         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2301         (gst_dp_packet_from_event):
2302           factor out CRC code
2303
2304 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2305
2306         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2307           make sure we unset caps
2308
2309 2006-06-02  Michael Smith  <msmith@fluendo.com>
2310
2311         * libs/gst/check/gstcheck.c: (gst_check_init),
2312         (gst_check_chain_func):
2313         * libs/gst/check/gstcheck.h:
2314           Add a cond/mutex to the check support lib, signal this whenever we
2315           add to the buffers list. This will allow tests to not busy-wait on
2316           the buffer-list.
2317
2318 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2319
2320         * libs/gst/dataprotocol/dataprotocol.c:
2321         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2322         (gst_dp_packet_from_event):
2323           factor out some common header init code
2324
2325 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2326
2327         * docs/libs/gstreamer-libs-sections.txt:
2328         * docs/libs/tmpl/gstdataprotocol.sgml:
2329         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2330         * libs/gst/dataprotocol/dataprotocol.h:
2331           API: make gst_dp_crc() public
2332
2333 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2334
2335         * plugins/indexers/gstindexers.c: (plugin_init):
2336         conditionally register fileindexer (fixes #343598)
2337
2338 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2339
2340         * gst/gsttagsetter.h:
2341         Can't cast ifaces to a class
2342
2343         * libs/gst/net/gstnetclientclock.h:
2344         * libs/gst/net/gstnettimeprovider.h:
2345         * plugins/elements/gstfakesink.h:
2346         * plugins/elements/gstfakesrc.h:
2347         * plugins/elements/gstfdsink.h:
2348         * plugins/elements/gstfdsrc.h:
2349         * plugins/elements/gstfilesink.h:
2350         * plugins/elements/gstfilesrc.h:
2351         * plugins/elements/gstidentity.h:
2352         * plugins/elements/gstqueue.h:
2353         * plugins/elements/gsttee.h:
2354         * plugins/indexers/gstfileindex.c:
2355         * plugins/indexers/gstmemindex.c:
2356         * tests/old/examples/plugins/example.h:
2357         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2358
2359 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2360
2361         * libs/gst/dataprotocol/dataprotocol.c:
2362         (gst_dp_header_from_buffer):
2363           make sure we zero the whole ABI-compatible area
2364
2365 2006-06-01  Wim Taymans  <wim@fluendo.com>
2366
2367         Patch by: Alessandro Decina <alessandro at nnva dot org>
2368
2369         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2370         Make sure the EOS flag is cleared from pads after a flush
2371         or stop. Fixes #343538.
2372
2373         * tests/check/libs/collectpads.c: (GST_START_TEST),
2374         (gst_collect_pads_suite):
2375         Added test for collectpads reusage after EOS.
2376
2377 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2378
2379         * gst/gst.c:
2380          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2381         * win32/common/libgstbase.def:
2382          export gst_collect_pads_set_flushing
2383         * win32/common/libgstreamer.def:
2384          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2385          gst_value_fraction_multiply
2386         * win32/vs6/gst_inspect.dsp:
2387          add a link to intl.lib
2388
2389 2006-05-30  Wim Taymans  <wim@fluendo.com>
2390
2391         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2392         (gst_collect_pads_chain):
2393         Handle the case where a pad is removed from the collection
2394         that could cause the other pads to become collectable.
2395
2396 2006-05-30  Wim Taymans  <wim@fluendo.com>
2397
2398         * gst/gstelement.c:
2399         Clarify the use of _release_request_pad() and
2400         _get_request_pad() a bit better.
2401
2402         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2403         (gst_adapter_take_buffer):
2404         Fix some doc and comment typos.
2405
2406 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2407
2408         * docs/gst/gstreamer-sections.txt:
2409         * docs/libs/gstreamer-libs-sections.txt:
2410           add declared symbols
2411
2412 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2413
2414         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2415         Add debug that can be enabled using a #define at the top of the file,
2416         for dumping stats about how late/early we were when waking up from
2417         waiting on the clock.
2418
2419 2006-05-30  Wim Taymans  <wim@fluendo.com>
2420
2421         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2422         When rebuilding the pad list, don't leak the previous list.
2423
2424 2006-05-30  Wim Taymans  <wim@fluendo.com>
2425
2426         Patch by: Lutz Mueller <lutz at topfrose dot de>
2427
2428         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2429         (gst_base_src_get_query_types), (gst_base_src_update_length):
2430         Publish supported query types.
2431         Update last_stop field in get_range mode so the position
2432         query works. Fixes #342321.
2433
2434 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2435
2436         * docs/gst/gstreamer-sections.txt:
2437         * gst/gsttaglist.c: (_gst_tag_initialize):
2438         * gst/gsttaglist.h:
2439           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2440
2441 2006-05-30  Wim Taymans  <wim@fluendo.com>
2442
2443         Patch by: Alessandro Decina <alessandro at nnva dot org>
2444
2445         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2446         Unlock mutex when removing an unknown pad.
2447         Fixes #343334.
2448
2449         * tests/check/Makefile.am:
2450         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2451         (push_event), (setup), (teardown), (GST_START_TEST),
2452         (gst_collect_pads_suite), (main):
2453         Added collecpads check, disabled for now as check crashes for
2454         some reason.
2455
2456 2006-05-29  Wim Taymans  <wim@fluendo.com>
2457
2458         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2459         Don't leak pads lists.
2460
2461 2006-05-29  Wim Taymans  <wim@fluendo.com>
2462
2463         * docs/libs/gstreamer-libs-sections.txt:
2464         * libs/gst/base/gstcollectpads.c:
2465         (gst_collect_pads_set_flushing_unlocked),
2466         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2467         (gst_collect_pads_stop):
2468         * libs/gst/base/gstcollectpads.h:
2469         API: gst_collect_pads_set_flushing()
2470         Added api to set the pads to flushing, useful for seeking
2471         code in elements using collectpads.
2472         Clear segment when receiving a flush.
2473
2474 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2475
2476         * gst/gst.c: (add_path_func), (init_post):
2477           Don't scan registry paths passed via --gst-plugin-path immediately
2478           (will crash, because absolutely nothing is set up and no types are
2479           registered etc.); do this later in init_post(). Fixes #343057.
2480
2481 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2482
2483         * gst/gst.c: (init_post):
2484           if we have fork, fork while reading/rebuilding the registry
2485           so the parent doesn't take the hit of having all plugins loaded
2486           in memory.  Fixes #342777.
2487         * configure.ac:
2488           Check if we have fork()
2489         * win32/common/config.h.in:
2490           no fork() on win32
2491
2492 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2493
2494         * plugins/elements/gstelements.c:
2495         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2496         (gst_file_src_init), (gst_file_src_set_property),
2497         (gst_file_src_get_property), (gst_file_src_start):
2498         * plugins/elements/gstfilesrc.h:
2499           API: GstFileSrc::use-mmap
2500
2501         Add a use-mmap property to enable easier testing of all code paths.
2502         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2503         in the absence of gnomevfssrc. (Closes #340501)
2504
2505 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2506
2507         * tools/gst-inspect.c:
2508         Add missing include, removes warning of ngettext not being defined on
2509         some arches.
2510
2511 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2512
2513         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2514         Handle NULL input and output pointers silently as a failed conversion,
2515         rather than g_warnings.
2516
2517 2006-05-25  Wim Taymans  <wim@fluendo.com>
2518
2519         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2520         Initialize variable before using. Fixes #342820.
2521
2522 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2523
2524         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2525           Fix off-by-one bug that would only allow peeks of N-1 bytes
2526           from the start even if the buffer to typefind on contains
2527           in fact N bytes of data (makes vorbis typefinding from a
2528           vorbis identification header buffer work).
2529
2530         * tests/check/Makefile.am:
2531         * tests/check/libs/.cvsignore:
2532         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2533         (gst_typefindhelper_suite), (main), (foobar_typefind),
2534         (plugin_init):
2535           Add very basic unit test for gst_type_find_helper_for_buffer()
2536           that checks for the problem fixed above.
2537
2538 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2539
2540         * tools/gst-inspect.c: (print_interfaces),
2541         (print_element_properties_info), (print_element_list), (main):
2542           add more translatable strings
2543
2544 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2545
2546         Patch by: Julien Moutte  <julien at moutte net>
2547
2548         * docs/gst/gstreamer-sections.txt:
2549           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2550           
2551         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2552         (gst_fake_sink_preroll):
2553         * plugins/elements/gstfakesink.h:
2554           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2555
2556 2006-05-23  Wim Taymans  <wim@fluendo.com>
2557
2558         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2559         * gst/gstpad.h:
2560         Added _CUSTOM error and success GstFlowReturn that can be
2561         used be elements internally. 
2562         Added macro to check for SUCCESS flowreturns.
2563         API: GST_FLOW_CUSTOM_SUCCESS
2564         API: GST_FLOW_CUSTOM_ERROR
2565         API: GST_FLOW_IS_SUCCESS
2566
2567         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2568         Added check for GstFlowReturn sanity.
2569
2570 2006-05-23  Wim Taymans  <wim@fluendo.com>
2571
2572         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2573
2574         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2575         (gst_collect_pads_event):
2576         clear/reset segment info in FLUSH_STOP.
2577         Fixes #336929.
2578
2579 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2580
2581         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2582         (gst_collect_pads_check_collected):
2583         Flush queued buffer on _stop(), fixes playing again (#342454)
2584
2585 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2586
2587         * tests/check/gst/gststructure.c: (GST_START_TEST),
2588         (gst_structure_suite):
2589           add a test for a complete structure
2590
2591 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2592
2593         * docs/faq/developing.xml:
2594         * docs/faq/faq.xml:
2595         * docs/faq/troubleshooting.xml:
2596         * docs/faq/using.xml:
2597           Some minor FAQ updates that won't change the fact that
2598           our FAQ is badly structured, full of information hardly
2599           anyone new to GStreamer needs to know and lacking lots
2600           of information people constantly ask for.
2601           
2602 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2603
2604         * gst/gstpad.c: (gst_pad_set_caps):
2605           Short-circuit gst_pad_set_caps if setting the existing
2606           caps pointer again, and avoid printing debug and 
2607           reffing/unreffing the caps.
2608
2609         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2610           There's actually no need to set the caps before pushing -
2611           the acceptcaps method will handle it anyway.
2612
2613 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2614
2615         * docs/gst/gstreamer-sections.txt:
2616         * win32/common/libgstreamer.def:
2617         * gst/gstutils.c: (gst_element_seek_simple):
2618         * gst/gstutils.h:
2619           API: add gst_element_seek_simple() (#342238).
2620
2621 2006-05-18  Edward Hervey  <edward@fluendo.com>
2622
2623         * gst/gsttypefind.c: (gst_type_find_get_type):
2624         * gst/gsttypefind.h:
2625         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2626         registered for GstTypeFind pointers. This allows wrapping the structure
2627         in bindings (i.e. gst-python).
2628
2629 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2630
2631         * gst/gsttagsetter.c:
2632           Docs additions and fixes (see #339918).
2633
2634 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2635
2636         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2637         The caps intersection algorithm can produce multiple copies of the
2638         caps. Until that is fixed, we need to simplify the result to be
2639         sure whether the allowed caps are fixed or not.
2640
2641         * plugins/elements/gstqueue.c: (gst_queue_init),
2642         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2643         (gst_queue_push_one):
2644         Proxied buffer alloc should not set the caps on the source pad.
2645         When pushing buffers, we always accept the caps change that triggers.
2646         This prevents negotiation errors caused by caps changing mid-stream 
2647         and then being refused on our source pad (because upstream is now
2648         refusing those caps).
2649
2650 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2651
2652         * tests/examples/helloworld/helloworld.c: (main):
2653           Must plug audioconvert and audioresample between decoder
2654           and audio sink.
2655
2656 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2657
2658         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2659         (load_feature), (load_plugin):
2660         Allow empty strings for some of the plugin fields so we don't 
2661         drop valid plugin entries that were written out correctly
2662         (Fixes #341479)
2663
2664 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2665         
2666         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2667           Use g_remove and g_rename instead of remove and rename that don't 
2668           handle utf8 characters. rename was failing for users who had specific
2669           characters in their name then the registry was built at each 
2670           gstreamer init.
2671         * win32/vs6/gst_inspect.dsp:
2672         * win32/vs6/gst_launch.dsp:
2673         * win32/vs6/libgstbase.dsp:
2674         * win32/vs6/libgstcoreelements.dsp:
2675         * win32/vs6/libgstreamer.dsp:
2676           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2677           build of libgstreamer and clean unused libraries in projects link 
2678           settings.
2679
2680 2006-05-17  Edward Hervey  <edward@fluendo.com>
2681
2682         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2683         The queue is not responsible for pushing an EOS when receiving a fatal
2684         flow error. It's up to the real element driving the pipeline to do that.
2685
2686 2006-05-16  Edward Hervey  <edward@fluendo.com>
2687
2688         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2689         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2690         buffer returned a fatal error. It should just send an EOS and stop
2691         its task.
2692         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2693         when pushing buffers on the queue and will be able to handle the event.
2694
2695 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2696
2697         * docs/manual/basics-bins.xml:
2698         * docs/manual/basics-init.xml:
2699           Fix typos and minor errors in sample code (#341856).
2700
2701 2006-05-16  Wim Taymans  <wim@fluendo.com>
2702
2703         * docs/design/part-qos.txt:
2704         Fix indexes in formulas to make more sense.
2705
2706 2006-05-15  Wim Taymans  <wim@fluendo.com>
2707
2708         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2709         Don't report POSITION based on clock time if sync is
2710         disabled in a sink.
2711
2712 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2713
2714         * gst/gstobject.h:
2715           Add cast to make compiler happy - refcount variable was a gint
2716           in GstObject but is a guint in GObject and g_atomic_int_get()
2717           wants a gint *.
2718
2719 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2720
2721         * gst/parse/Makefile.am:
2722           chain commands using &&, which also makes parallel make work
2723
2724 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2725
2726         * docs/gst/gstreamer-sections.txt:
2727         * gst/gstevent.c:
2728         * gst/gstevent.h:
2729         * gst/gstmessage.h:
2730           Minor docs fixes.
2731
2732 === release 0.10.6 ===
2733
2734 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2735
2736         * configure.ac:
2737           releasing 0.10.6, "Take the cannoli"
2738
2739 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2740
2741         * tools/gst-launch.c: (print_tag):
2742           Fix use of uninitialized variable in the hypothetical
2743           case that some broken plugin creates a GST_TAG_IMAGE
2744           tag containing a NULL buffer (#341667).
2745
2746 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2747
2748         * tools/gst-launch.c: (print_tag):
2749           Print something more intelligible for image tags when
2750           using the -t switch (#341556).
2751
2752 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2753
2754         * Makefile.am:
2755           updates for win32
2756         * configure.ac:
2757           define GST_MAJORMINOR so we have it available in win32/common/config.h
2758           Possibly remove it from our Makefile.am files later
2759         * win32/common/config.h:
2760         * win32/common/config.h.in:
2761           added GST_MAJORMINOR
2762         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2763         * win32/common/gstversion.h:
2764           updated
2765
2766 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2767
2768         * win32/MANIFEST:
2769           Update win32 files listing.
2770         * win32/common/gstversion.h:
2771           Add GST_MAJORMINOR definition.
2772         * win32/common/libgstreamer.def:
2773           Add new exported functions.
2774           
2775 2006-05-12  Michael Smith  <msmith@fluendo.com>
2776
2777         * gst/gstplugin.c: (gst_plugin_load_file):
2778           If an so file has no plugin entry point, unload the module.
2779
2780 2006-05-11  Wim Taymans  <wim@fluendo.com>
2781
2782         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2783         (gst_queue_set_property):
2784         Don't forget to signal the _chain or _loop function 
2785         when the queue size or thresholds change since that might
2786         cause them to make progres again.
2787
2788 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2789
2790         * gst/gstclock.c: (gst_clock_class_init):
2791         * gst/gstindex.c: (gst_index_class_init):
2792         * gst/gstobject.c: (gst_object_class_init):
2793         * gst/gstpad.c: (gst_pad_class_init):
2794         * gst/gstpipeline.c: (gst_pipeline_class_init):
2795         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2796         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2797         * libs/gst/base/gstbasetransform.c:
2798         (gst_base_transform_class_init):
2799         * libs/gst/net/gstnetclientclock.c:
2800         (gst_net_client_clock_class_init):
2801         * libs/gst/net/gstnettimeprovider.c:
2802         (gst_net_time_provider_class_init):
2803         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2804         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2805         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2806         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2807         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2808         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2809         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2810         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2811         * plugins/elements/gsttee.c: (gst_tee_class_init):
2812         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2813         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2814           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2815
2816 2006-05-11  Wim Taymans  <wim@fluendo.com>
2817
2818         * gst/gstbuffer.c: (_gst_buffer_initialize):
2819         Register subbufer along with the buffer type so that
2820         it does not accidentally gets registered from N
2821         different streaming threads in a non threadsafe way.
2822
2823 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2824
2825         * gst/gstbuffer.h:
2826         * gst/gstevent.h:
2827         * gst/gstmessage.h:
2828           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2829           gst_event_ref() and gst_message_ref() functions again
2830           (ugly hack, please do fix if there's a better way besides
2831           overrides.txt, which doesn't seem to work).
2832
2833 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2834
2835         * libs/gst/check/gstcheck.h:
2836           add an assert for setting state to avoid lots of repetitive code
2837           in the future
2838
2839 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2840
2841         * gst/gstvalue.c: (gst_value_serialize_flags):
2842           fix a leak if no flags are set
2843         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2844           fix leak in tests
2845
2846 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2847
2848         * docs/manual/basics-pads.xml:
2849           Expand a bit on caps and filtered links and update
2850           examples that were still using the no longer existing
2851           gst_pad_link_filtered() (#338206).
2852
2853 2006-05-10  Wim Taymans  <wim@fluendo.com>
2854
2855         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2856         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2857         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2858         (gst_collect_pads_stop):
2859         * libs/gst/base/gstcollectpads.h:
2860         No need to call _stop in _finalize.
2861         Iterate the main pad list in _finalize.
2862         Added some more debug.
2863         Free lists and data in the right order.
2864         Also free data whem doing _remove_pad when stopped for
2865         backward compatibility protect ::started with PAD_LOCK as
2866         well.
2867
2868 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2869
2870         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2871         (gst_structure_parse_value):
2872           add some comments
2873           rename a method so that it actually says what it does better
2874
2875 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2876
2877         * gst/gstevent.c: (_gst_event_initialize):
2878         * gst/gstformat.c: (_gst_format_initialize):
2879           make sure some essential types used by events are registered
2880           as part of gst_init()
2881         * gst/gstvalue.c: (gst_value_serialize_flags):
2882           if no flags are set, serialize them to a value that represents NONE
2883           so that deserializing them works
2884         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2885           add tests for serialization and deserialization of flags
2886
2887 2006-05-10  Wim Taymans  <wim@fluendo.com>
2888
2889         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2890         (gst_collect_pads_collect_range), (gst_collect_pads_available),
2891         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2892         (gst_collect_pads_event), (gst_collect_pads_chain):
2893         Update docs.
2894         Better debug info.
2895         Catch and return errors from the collect function
2896         Refuse data on eos pads.
2897
2898 2006-05-10  Edward Hervey  <edward@fluendo.com>
2899
2900         * gst/gstinterface.h:
2901         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2902         GInterface type checking.
2903         They were previously using non-defined macros.
2904
2905 2006-05-09  Wim Taymans  <wim@fluendo.com>
2906
2907         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2908         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2909         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2910         (gst_collect_pads_start), (gst_collect_pads_stop),
2911         (gst_collect_pads_peek), (gst_collect_pads_pop),
2912         (gst_collect_pads_available), (gst_collect_pads_read),
2913         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2914         (gst_collect_pads_is_collected), (gst_collect_pads_event),
2915         (gst_collect_pads_chain):
2916         * libs/gst/base/gstcollectpads.h:
2917         Clean up the mess that is collectpads, add comments and
2918         FIXMEs where needed.
2919         Maintain a separate pad list so we can add pads while
2920         collecting the other ones. For this we need a new separate 
2921         lock (see comics).
2922         Fix memory leak in finalize.
2923         Refactor some weird code to set/unset pad flushing flags, mark
2924         with comments.
2925         Don't crash in _available, _read, _flush when we're EOS.
2926
2927         * tests/check/libs/.cvsignore:
2928         Ignore adapter check binary.
2929
2930 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2931
2932         * gst/gstindex.c: (gst_index_resolver_get_type):
2933         * plugins/elements/gstfakesink.c:
2934         (gst_fake_sink_state_error_get_type):
2935         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2936         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2937         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2938           Const-ify GEnumValue arrays.
2939
2940 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2941
2942         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2943           Add test case for flags + gst_buffer_make_metadata_writable().
2944
2945 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2946
2947         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2948           gst_buffer_make_metadata_writable() should maintain the
2949           buffer flags (those that make sense at least) (see #340859).
2950
2951 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * tools/gst-inspect.c:
2954         * tools/gst-launch.c:
2955         * tools/gst-typefind.c:
2956         * tools/gst-xmlinspect.c:
2957         * tools/tools.h:
2958           Fix up includes: need to include stdlib.h in tools.h for exit().
2959
2960 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2961
2962         * gst/gsttaglist.c: (_gst_tag_initialize):
2963         * gst/gsttaglist.h:
2964           API: add GST_TAG_IMAGE tag (#340721).
2965
2966 2006-05-08  Wim Taymans  <wim@fluendo.com>
2967
2968         * gst/gstquery.c:
2969         Added some docs for the segment query.
2970
2971 2006-05-08  Wim Taymans  <wim@fluendo.com>
2972
2973         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2974         (gst_base_src_loop), (gst_base_src_change_state):
2975         Always push non-flushing serialized events in the streaming 
2976         thread.
2977
2978 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2979
2980         * gst/gsterror.c: (_gst_stream_errors_init):
2981           Add a missing error string.
2982
2983 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
2984
2985         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2986         Add applied_rate to the debug
2987
2988         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2989         Copy applied_rate into the outgoing NEWSEGMENT event
2990
2991 2006-05-08  Wim Taymans  <wim@fluendo.com>
2992
2993         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2994
2995         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2996         (gst_base_sink_change_state):
2997         call ::unlock before taking the PREROLL_LOCK so we can safely
2998         handle elements that lock in ::render.
2999         Fixes #340174.
3000
3001 2006-05-08  Edward Hervey  <edward@fluendo.com>
3002
3003         * autogen.sh: (CONFIGURE_DEF_OPT): 
3004         Darwin's libtoolize is in fact called glibtoolize.
3005         Adding glibtoolize to the list of accepted names for libtoolize.
3006
3007 2006-05-08  Wim Taymans  <wim@fluendo.com>
3008
3009         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3010         Unify error handling, don't post an error message
3011         when a push() returns EOS but perform our normal EOS
3012         handling code. Fixes #340772.
3013
3014 2006-05-08  Wim Taymans  <wim@fluendo.com>
3015
3016         * docs/design/part-overview.txt:
3017         Make upsteam/downstream concepts more clear.
3018         Give an example of serialized/non-serialized events.
3019
3020         * docs/design/part-events.txt:
3021         * docs/design/part-streams.txt:
3022         Mention applied_rate.
3023
3024         * docs/design/part-trickmodes.txt:
3025         Mention applied rate, flesh out some more use cases.
3026
3027         * gst/gstevent.c: (gst_event_new_new_segment),
3028         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3029         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3030         (gst_event_parse_tag), (gst_event_new_buffer_size),
3031         (gst_event_parse_buffer_size), (gst_event_new_qos),
3032         (gst_event_parse_qos), (gst_event_parse_seek),
3033         (gst_event_new_navigation):
3034         * gst/gstevent.h:
3035         Add applied_rate field to NEWSEGMENT event.
3036         API: gst_event_new_new_segment_full()
3037         API: gst_event_parse_new_segment_full()
3038
3039         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3040         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3041         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3042         * gst/gstsegment.h:
3043         Add applied_rate to GstSegment structure.
3044         Make calculation of stream_time and running_time more correct
3045         wrt rate/applied_rate.
3046         Add some more docs.
3047         API: GstSegment::applied_rate field
3048         API: gst_segment_set_newsegment_full();
3049
3050         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3051         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3052         * libs/gst/base/gstbasetransform.c:
3053         (gst_base_transform_sink_eventfunc),
3054         (gst_base_transform_handle_buffer):
3055         Parse and use applied_rate in the GstSegment field.
3056
3057         * tests/check/gst/gstevent.c: (GST_START_TEST):
3058         Add check for applied_rate field.
3059
3060         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3061         (gstsegments_suite):
3062         Add more checks for various GstSegment operations.
3063
3064 2006-05-08  Wim Taymans  <wim@fluendo.com>
3065
3066         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3067         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3068         (gst_base_sink_get_position), (gst_base_sink_change_state):
3069         Store the sync time of the buffer end position separatly in a
3070         new variable eos_rtime so we can properly sync the EOS event.
3071         Fixes #340697.
3072         Fix the docs for gst_base_sink_set_qos_enabled().
3073         Don't set segment start to invalid value when we receive a 
3074         non TIME newsegment.
3075         get closer to handling position reporting for negative rates 
3076         correctly.
3077
3078 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3079
3080         * gst/gstcaps.c:
3081         Docs about how to print caps for debug purposes.
3082
3083         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3084         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3085
3086 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3087
3088         * gst/gstelement.c:
3089           use full enum names and preprend a '%' in docs strings to make recent 
3090           gtk-doc turn that into a link
3091
3092 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3093
3094         * docs/manual/basics-bins.xml:
3095         * docs/manual/basics-bus.xml:
3096         * docs/manual/basics-pads.xml:
3097           Some typo fixes, some additions, some clarifications. 
3098
3099 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3100
3101         * tools/gst-inspect.c: (main):
3102         * tools/gst-launch.c: (main):
3103         * tools/gst-run.c: (main):
3104         * tools/gst-typefind.c: (main):
3105         * tools/gst-xmlinspect.c: (main):
3106           Use the string passed to g_option_context_new() for
3107           what it's intended for - the program name is already
3108           printed elsewhere.
3109
3110 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3111
3112         * tools/Makefile.am:
3113         * tools/gst-inspect.c: (main):
3114         * tools/gst-launch.c: (main):
3115         * tools/gst-xmlinspect.c: (main):
3116         * tools/tools.h:
3117           Add back --version command line option (#340460).
3118
3119         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3120           Add --version option and use GOption for argument parsing; refactor a
3121           bit; accept directories as arguments and recurse into them; lastly,
3122           print a decent error message when things go wrong.
3123
3124 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3125
3126         * docs/manual/basics-bins.xml:
3127         Don't mention GstThread (#340611)
3128         * docs/manual/basics-elements.xml:
3129         Update link to GObject tutorial (#340607)
3130         
3131 2006-05-05  Wim Taymans  <wim@fluendo.com>
3132
3133         * gst/gstbuffer.h:
3134         * gst/gstminiobject.c:
3135         Add note about refcounting and miniobject/buffer writeability
3136         to docs. Fixes #340604
3137
3138         * gst/gstelementfactory.h:
3139         Added some explanation about @klass.
3140
3141 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3142
3143         * docs/manual/intro-motivation.xml:
3144         * docs/manual/manual.xml:
3145         Avoid CORBA & Bonobo references (#340598)
3146
3147 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3148
3149         * docs/manual/basics-bus.xml:
3150         * docs/manual/basics-pads.xml:
3151         Fix up some inaccuracies and omissions (#340609)
3152         
3153 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3154
3155         * gst/gstghostpad.c:
3156           Small typo in docs (#340625)
3157
3158 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3159
3160         * gst/parse/Makefile.am:
3161           Make 'make -j' proof (see #340698).
3162
3163 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3164
3165         * configure.ac:
3166           Require GLib-2.8 here as well.
3167
3168 2006-05-05  Wim Taymans  <wim@fluendo.com>
3169
3170         * gst/glib-compat.c:
3171         * gst/gst.c: (init_pre):
3172         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3173         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3174         (gst_object_dispatch_properties_changed):
3175         * gst/gstobject.h:
3176         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3177         * gst/gststructure.c: (gst_structure_set_valist):
3178         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3179         Remove pre glib2.8 compatibility, fixes #340508
3180
3181 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3182
3183         * gst/gsttaglist.h:
3184           Mention type of tags in doc blurbs.
3185
3186 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3187
3188         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3189         (gst_pad_configure_src), (gst_pad_push):
3190         Restore acceptcaps checking behaviour now that good plugins have
3191         been released.
3192
3193 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3194
3195         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3196
3197         * gst/gst.c:
3198         * gst/gstbus.c:
3199         * gst/gstclock.c:
3200         * gst/gstevent.c:
3201         * gst/gstformat.c:
3202         * gst/gstmessage.c:
3203         * gst/gstparse.c:
3204         * gst/gstquery.c:
3205         * gst/gstutils.c:
3206         * gst/parse/Makefile.am:
3207         * libs/gst/base/gstadapter.c:
3208         * libs/gst/base/gstbasesrc.c:
3209         * libs/gst/base/gstpushsrc.c:
3210         * libs/gst/base/gsttypefindhelper.c:
3211         * plugins/elements/gstfakesrc.c:
3212         * plugins/elements/gstidentity.c:
3213           Make sure gstprivate.h and/or config.h are
3214           always included first, otherwise some of our
3215           defines (like _FILE_OFFSET_BITS) might be
3216           redefined in the system headers. Fixes build
3217           on opensolaris (#340016).
3218
3219 2006-05-04  Wim Taymans  <wim@fluendo.com>
3220
3221         * docs/libs/gstreamer-libs-sections.txt:
3222         API: addition: gst_adapter_take_buffer()
3223         
3224         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3225         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3226         (gst_adapter_available_fast):
3227         * libs/gst/base/gstadapter.h:
3228         Prepare for optimizing the hell out of this hugely inefficient
3229         piece of code. 
3230         Added gst_adapter_take_buffer() so we can at least start thinking
3231         about subbuffering and merging.
3232         Added some comments.
3233
3234         * tests/check/Makefile.am:
3235         * tests/check/libs/adapter.c: (GST_START_TEST),
3236         (gst_adapter_suite), (main):
3237         Added GstAdapter check.
3238
3239 2006-05-04  Wim Taymans  <wim@fluendo.com>
3240
3241         * docs/design/part-overview.txt:
3242         Fix some typos, add blurb about buffer flags.
3243
3244 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3245
3246         * docs/libs/gstreamer-libs-sections.txt:
3247           make sure GstBaseTransformClass shows up in the docs
3248         * libs/gst/base/gstbasetransform.c:
3249         * libs/gst/base/gstbasetransform.h:
3250           move docs so gtk-doc picks it up now
3251
3252 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * docs/libs/gstreamer-libs-sections.txt:
3255           add missing symbols to docs
3256
3257 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3258
3259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3260           back out the newsegment handling change, see #340060 for ongoing
3261           discussion
3262
3263 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3264
3265         * tools/gst-run.c: (get_candidates), (main):
3266           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3267           work); fix typo in error message. Fixes #340079.
3268
3269 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3270
3271         * common/Makefile.am:
3272         * docs/Makefile.am:
3273         * docs/faq/Makefile.am:
3274         * docs/gst/Makefile.am:
3275         * docs/libs/Makefile.am:
3276         * docs/manual/Makefile.am:
3277         * docs/plugins/Makefile.am:
3278         * docs/pwg/Makefile.am:
3279         * docs/slides/Makefile.am:
3280         * docs/upload.mak:
3281         * common/upload.mak:
3282           move upload.mak to common
3283
3284 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3285
3286         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3287           add more asserts on refcounts
3288           do more cleanup at end of tests
3289           fix test leaks showing in FC5
3290
3291 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3292
3293         * plugins/elements/gsttypefindelement.c:
3294         (gst_type_find_element_handle_event):
3295         reverted wrong change and reflowed code to avoid others falling into
3296         this trap
3297
3298 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3299
3300         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3301           fix changelog entry about last collectpads change,
3302           add notes about proper fix
3303
3304 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3305
3306         * gst/gst.c:
3307         * gst/gstregistry.c: (gst_registry_scan_path_level),
3308         (gst_registry_scan_path):
3309         * gst/gstregistry.h:
3310           only write out registry if it has changed, fixes #338339
3311
3312 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3313
3314         * gst/gstbin.c:
3315         * gst/gstpipeline.c:
3316         * plugins/elements/gstcapsfilter.c:
3317         * plugins/elements/gstfakesink.c:
3318         * plugins/elements/gstfakesrc.c:
3319         * plugins/elements/gstfdsink.c:
3320         * plugins/elements/gstfdsrc.c:
3321         * plugins/elements/gstfilesink.c:
3322         * plugins/elements/gstfilesrc.c:
3323         * plugins/elements/gstidentity.c:
3324         * plugins/elements/gstqueue.c:
3325         * plugins/elements/gsttee.c:
3326         * plugins/elements/gsttypefindelement.c:
3327         (gst_type_find_element_handle_event):
3328           make GstElementDetails const
3329
3330 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3331
3332         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3333         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3334         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3335           more detailed debug and formatting cleanup,
3336           forward newsegments to src-pad (so that e.g. adder not eats them)
3337
3338 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3339
3340         * gst/gstutils.c: (gst_element_link_pads):
3341           cleanup double code
3342
3343 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3344
3345         * libs/gst/controller/gstcontroller.c:
3346         (gst_controller_sync_values):
3347           some little tuning
3348         * tests/check/libs/controller.c: (GST_START_TEST),
3349         (gst_controller_suite):
3350           a new test for live value handling
3351
3352 2006-04-28  Wim Taymans  <wim@fluendo.com>
3353
3354         * gst/gstutils.c: (push_and_ref):
3355         Added some more docs.
3356         Fix refcount issue whith gst_element_found_tags() helper 
3357         function. Fixes #338335
3358
3359         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3360         Added testsuite for gst_element_found_tags().
3361
3362 2006-04-28  Michael Smith  <msmith@fluendo.com>
3363
3364         * gst/gstvalue.c: (gst_value_serialize_flags):
3365           Avoid NULL dereference when trying to serialize flags containing
3366           invalid values.
3367
3368 2006-04-28  Michael Smith  <msmith@fluendo.com>
3369
3370         * plugins/elements/gsttypefindelement.c:
3371         (gst_type_find_element_handle_event):
3372           If we get EOS before any data is accumulated, don't use
3373           uninitialised local variables.
3374
3375 2006-04-28  Michael Smith  <msmith@fluendo.com>
3376
3377         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3378         (gst_dp_event_from_packet):
3379           Fixes in reading/writing events over GDP (not currently used?) - 
3380           dereferencing NULL events for unknown/invalid event types, memory
3381           leak, and change g_warning to GST_WARNING.
3382
3383 2006-04-28  Wim Taymans  <wim@fluendo.com>
3384
3385         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3386         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3387         (gst_base_sink_get_position), (gst_base_sink_change_state):
3388         When frame dropping is enabled, we should not ignore frames
3389         without a duration.
3390         Update some documentation.
3391
3392 2006-04-28  Wim Taymans  <wim@fluendo.com>
3393
3394         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3395         (gst_base_src_send_event), (gst_base_src_change_state):
3396         Documentation updates.
3397
3398 2006-04-28  Wim Taymans  <wim@fluendo.com>
3399
3400         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3401         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3402         handle EAGAIN, EINTR and short writes correctly. Also clean
3403         up some error cases, avoid a deadlock on bad file descriptors and
3404         use GST_DEBUG_OBJECT.
3405         Fixes #339843
3406
3407 2006-04-28  Wim Taymans  <wim@fluendo.com>
3408
3409         * gst/gstvalue.c: (gst_value_serialize_buffer),
3410         (gst_value_deserialize_buffer):
3411         Don't try to serialize a GValue with a NULL buffer. 
3412         Fixes #339821.
3413
3414         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3415         Added check for serialisation of NULL buffers.
3416
3417 2006-04-28  Wim Taymans  <wim@fluendo.com>
3418
3419         * gst/gstminiobject.c: (gst_value_take_mini_object):
3420         Taking a NULL miniobject is valid, fix the case where
3421         we try to unref the NULL miniobject.
3422
3423 2006-04-28  Wim Taymans  <wim@fluendo.com>
3424
3425         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3426
3427         * gst/gstbin.c: (gst_bin_handle_message_func):
3428         Update docs.
3429         Don't leak bin refcount when a state recalc is
3430         in progress and we delay another one #339808.
3431
3432 2006-04-28  Wim Taymans  <wim@fluendo.com>
3433
3434         * docs/design/part-TODO.txt:
3435         Mention QoS as an ongoing work item.
3436
3437         * docs/design/part-buffering.txt:
3438         New doc about buffering that needs to be fleshed out
3439         at some point.
3440
3441         * docs/design/part-qos.txt:
3442         More QoS policy for decoders/demuxers/transforms
3443
3444         * docs/design/part-trickmodes.txt:
3445         Small update.
3446
3447 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3448
3449         * configure.ac:
3450           back to HEAD
3451
3452 === release 0.10.5 ===
3453
3454 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3455
3456         * configure.ac:
3457           releasing 0.10.5, "Fogo"
3458
3459 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3460
3461         patch by: Wim Taymans
3462
3463         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3464         (gst_pad_configure_src), (gst_pad_push):
3465         * gst/gstpipeline.c: (gst_pipeline_init):
3466           Fix internal data flow errors.  Fixes #338711.
3467
3468 2006-04-12  Wim Taymans  <wim@fluendo.com>
3469
3470         * tests/check/gst/gstelement.c: (GST_START_TEST):
3471         Don't leak the factory.
3472
3473 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3474
3475         * configure.ac:
3476         * win32/common/config.h:
3477           prerelease
3478
3479 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3480
3481         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3482         (gst_controller_unset_all):
3483           Free allocated GstTimedValues when freeing list nodes.
3484           Should fix leaks 'make check-valgrind' complains about.
3485
3486         * win32/common/libgstcontroller.def:
3487           Add gst_controller_unset_all.
3488
3489 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3490
3491         * docs/libs/gstreamer-libs-sections.txt:
3492         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3493         (gst_controller_unset_all):
3494         * libs/gst/controller/gstcontroller.h:
3495         API: Added new method gst_controller_unset_all()
3496         fixed gst_controller_unset()
3497         * tests/check/libs/controller.c: (GST_START_TEST),
3498         (gst_controller_suite):
3499         Added two testcases for new and fixed method
3500
3501 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3502
3503         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3504           MSG_DONTWAIT is not defined on Cygwin, so work
3505           around that (fixes #317048).
3506           
3507 2006-04-11  Wim Taymans  <wim@fluendo.com>
3508
3509         * gst/gstelementfactory.c: (gst_element_register),
3510         (gst_element_factory_create), (gst_element_factory_make):
3511         Some cleanups.
3512         Fixed a FIXME.
3513         Updated docs (Fixes #131079)
3514
3515         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3516         Small cleanups.
3517
3518         * tests/check/gst/gstelement.c: (GST_START_TEST),
3519         (gst_element_suite):
3520         Added testcase for elementfactory class field.
3521
3522 2006-04-10  Wim Taymans  <wim@fluendo.com>
3523
3524         * gst/gstsegment.c:
3525         Added some more docs.
3526
3527         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3528         (gst_base_sink_reset_qos):
3529         Calculate more accurate rate values.
3530
3531 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3532
3533         * gst/gst_private.h:
3534           add a new #ifdef to use __declspec(dllimport) only for
3535           other modules and not for gstreamer core
3536         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3537           use gst_guint64_to_gdouble for conversion
3538         * win32/common/libgstreamer.def:
3539           add new exported functions
3540         * win32/vs6/gst_inspect.dsp:
3541         * win32/vs6/gst_launch.dsp:
3542         * win32/vs6/libgstbase.dsp:
3543         * win32/vs6/libgstcontroller.dsp:
3544         * win32/vs6/libgstcoreelements.dsp:
3545         * win32/vs6/libgstdataprotocol.dsp:
3546         * win32/vs6/libgstnet.dsp:
3547           update project files
3548
3549 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3550
3551         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3552         * gst/gstclock.c: (gst_clock_class_init):
3553         * gst/gstelement.c: (gst_element_class_init):
3554         * gst/gstindex.c: (gst_index_class_init):
3555         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3556         * gst/gstobject.c: (gst_object_class_init),
3557         (gst_signal_object_class_init):
3558         * gst/gstpad.c: (gst_pad_class_init):
3559         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3560         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3561         * gst/gstregistry.c: (gst_registry_class_init):
3562         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3563         * gst/gsttask.c: (gst_task_class_init):
3564         * gst/gstxml.c: (gst_xml_class_init):
3565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3566         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3567         (gst_base_src_loop):
3568         * libs/gst/controller/gstcontroller.c:/
3569         (_gst_controller_class_init):
3570         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3571         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3572         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3573         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3574         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3575         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3576
3577 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3578
3579         * gst/gstpad.c: (gst_pad_link):
3580           Must set peer pads before calling the link function, otherwise
3581           a task started from a link function might get a flow-not-linked
3582           result when trying to push because the other thread where the
3583           linking happens hasn't had a chance to set the peers yet. This
3584           might happen for example when a queue gets linked to a downstream
3585           element, as queue starts a streaming task when its source pad
3586           gets linked. Happens in real life when playing back flac/musepack
3587           files in playbin (#332390).
3588           
3589 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3590
3591         * gst/gstindex.h:
3592         * gst/gstxml.h:
3593         * libs/gst/base/gstadapter.h:
3594         * libs/gst/base/gstbasesink.h:
3595         * libs/gst/base/gstbasesrc.h:
3596         * libs/gst/base/gstbasetransform.h:
3597         * libs/gst/base/gstcollectpads.h:
3598         * libs/gst/base/gstpushsrc.h:
3599         Fix broken GObject macros
3600
3601 2006-04-07  Wim Taymans  <wim@fluendo.com>
3602
3603         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3604         Initialize start and stop times, thanks valgrind.
3605
3606 2006-04-07  Wim Taymans  <wim@fluendo.com>
3607
3608         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3609         Be a bit nicer to badly behaving upstream elements that expect
3610         us to deal with non TIME segments and timestamps (such as fakesrc
3611         in the testsuite).
3612
3613 2006-04-07  Wim Taymans  <wim@fluendo.com>
3614
3615         * gst/gstbus.c:
3616         Small documentation clarification about the signal watch.
3617
3618         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3619         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3620         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3621         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3622         (gst_base_sink_get_position_last),
3623         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3624         Convert and store timestamps in stream time and running time, the
3625         raw timestamps are not usefull, also document this better.
3626         Use different window sizes for good and bad QoS observations so
3627         we react to badness a little quicker.
3628         Keep track of the amount of rendered and dropped buffers.
3629         Send QoS timestamps in running time.
3630
3631         * libs/gst/base/gstbasetransform.c:
3632         (gst_base_transform_sink_eventfunc),
3633         (gst_base_transform_handle_buffer):
3634         Compare QoS timestamps against running time.
3635
3636 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3637
3638         * gst/gstpad.c:
3639           Typo fixes in docs.
3640
3641 2006-04-06  Michael Smith  <msmith@fluendo.com>
3642
3643         * gst/gstpad.c: (gst_pad_set_property):
3644           Use g_value_get_object() instead of g_value_dup_gst_object(),
3645           to avoid double-reffing the pad template (which we then sink,
3646           so this worked previously if (and only if) the pad template
3647           was floating.
3648
3649         * gst/gstpadtemplate.c: (gst_pad_template_init),
3650         (gst_pad_template_pad_created):
3651           Never return floating references to pad templates, create
3652           them as initially-sunken.
3653
3654           Document an extra function (and make this stop sinking our
3655           pad template, since that is now guaranteed to do nothing,
3656           since we created it sunken).
3657
3658         * gst/gstghostpad.c:
3659           Fix docs typo.
3660
3661 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3662
3663         * gst/gstinfo.c: (__gst_in_valgrind):
3664           Add some newlines.
3665
3666         * plugins/elements/gsttypefindelement.c:
3667         (gst_type_find_element_chain):
3668           Don't leak buffer caps.
3669
3670 2006-04-06  Michael Smith  <msmith@fluendo.com>
3671
3672         * gst/parse/grammar.y:
3673           Fix a leak in parse-launch for any source-or-sink named element 
3674           references used.
3675
3676         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3677           Unref the pipeline if it exists after we've failed parsing.
3678
3679 2006-04-05  Michael Smith  <msmith@fluendo.com>
3680
3681         * gst/gstpipeline.c: (gst_pipeline_init):
3682           When we create a pipeline bus, initially create it in flushing mode.
3683           Fixes leaks in at least one test, and makes a new pipeline work the
3684           same as one that has gone to READY and then back to NULL.
3685
3686         * gst/gstelement.c:
3687           Typo fix in docs.
3688
3689 2006-04-05  Michael Smith  <msmith@fluendo.com>
3690
3691         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3692           Unref a pad we reffed.
3693         * tests/check/gst/gstutils.c: (GST_START_TEST):
3694           Unref bins
3695
3696 2006-04-05  Michael Smith  <msmith@fluendo.com>
3697
3698         * gst/gstquery.c: (gst_query_set_formats),
3699         (gst_query_set_formatsv):
3700           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3701
3702 2006-04-05  Michael Smith  <msmith@fluendo.com>
3703
3704         * tests/check/generic/sinks.c: (GST_START_TEST):
3705           Fix a variety of memleaks in sinks check, which are only sometimes 
3706           shown by running the tests under valgrind (weird?).
3707
3708 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3709
3710         * docs/version.entities.in:
3711           Fix the substituted entity name after thomas' changes on the
3712           weekend.
3713
3714 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3715
3716         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3717         VALGRIND_PRINTF
3718         
3719 2006-04-05  Andy Wingo  <wingo@pobox.com>
3720
3721         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3722
3723         * libs/gst/base/gstbasetransform.c
3724         (gst_base_transform_sink_eventfunc): When resetting our segment on
3725         FLUSH_STOP, also update the flag saying we haven't seen a
3726         newsegment.
3727
3728 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3729
3730         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3731
3732         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3733         (gst_plugin_check_license):
3734           minor clean-ups: G_DEFINE_TYPE already takes care of the
3735           parent_class stuff, no need to do it twice. Mark array of
3736           license strings as constant. (#337103)
3737           
3738 2006-04-04  Michael Smith  <msmith@fluendo.com>
3739
3740         * tools/gst-inspect.c: (print_element_list):
3741           Free the right plugin list; fixes a memory leak.
3742
3743 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3744
3745         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3746
3747         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3748           Don't error out on empty buffers (#336945).
3749           
3750 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3751
3752         * docs/libs/gstreamer-libs-sections.txt:
3753         * gst/gsttaglist.c:
3754         * libs/gst/base/gstbasesink.c:
3755         * libs/gst/base/gstbasesink.h:
3756         * libs/gst/base/gstbasesrc.c:
3757         * libs/gst/base/gstbasesrc.h:
3758           Documentation updates. Make BaseSink and BaseSrc docs contain the
3759           class structure so that people can actually see the prototypes for
3760           virtual functions they're supposed to be overriding.
3761
3762 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3763
3764         * plugins/elements/gsttypefindelement.c:
3765         (gst_type_find_element_chain):
3766           More debug info; when skipping typefinding, send cached
3767           events in all cases.
3768
3769 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3770
3771         * configure.ac:
3772           use new AS_VERSION and AS_NANO macros
3773         * gst/gst-i18n-lib.h:
3774         * gst/gst.c:
3775         * gst/gsterror.c:
3776         * gst/gstversion.h.in:
3777         * win32/common/config.h:
3778         * win32/common/config.h.in:
3779           update accordingly
3780
3781 2006-03-31  Michael Smith  <msmith@fluendo.com>
3782
3783         * plugins/elements/gsttypefindelement.c:
3784         (gst_type_find_element_chain):
3785           Do not typefind content if the buffers already have caps.
3786           Neccesary for icydemux (#333657), and the right thing to do anyway.
3787
3788 2006-03-30  Wim Taymans  <wim@fluendo.com>
3789
3790         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3791         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3792         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3793         (gst_base_sink_record_qos_observation),
3794         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3795         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3796         (gst_base_sink_change_state):
3797         More QoS measurements as described in the design doc.
3798         Get rid of ringbuffer with observations, running average is
3799         more simple and equally good.
3800         Calculates valid proportion now.
3801         Added beginning of flood measurement.
3802
3803 2006-03-29  Wim Taymans  <wim@fluendo.com>
3804
3805         * docs/design/part-qos.txt:
3806         * gst/gstclock.c:
3807         Small documentation updates and additions.
3808
3809 2006-03-29  Wim Taymans  <wim@fluendo.com>
3810
3811         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3812         (gst_base_src_send_event), (gst_base_src_loop),
3813         (gst_base_src_change_state):
3814         Perform the EOS logic when we reach the segment stop position.
3815         Fix compilation on gcc4.1
3816
3817 2006-03-29  Wim Taymans  <wim@fluendo.com>
3818
3819         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3820
3821         * plugins/elements/gstqueue.c: (gst_queue_init),
3822         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3823         (gst_queue_set_property):
3824         * plugins/elements/gstqueue.h:
3825         In queue, when EOS is received, if minimum threshold > max_size -
3826         current_level, there is chance that queue blocks forever in conditional
3827         item del wait. This is because the queue is not emptied completely due
3828         to minimum threshold.  Here is another approach. Instead of setting
3829         cur_levels to max in EOS, just zero all minimum threshold levels. This
3830         should make sure that queue gives out all data. When going to READY
3831         (stop) state, just reset the original minimum threshold levels.
3832         Fixes #336336.
3833
3834 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
3835
3836         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3837         (gst_type_find_element_handle_event),
3838         (gst_type_find_element_send_cached_events),
3839         (gst_type_find_element_change_state):
3840         * plugins/elements/gsttypefindelement.h:
3841           When typefinding is done in push mode, we should cache
3842           events we receive during typefinding instead of just
3843           dropping them (e.g. newsegment, custom events from
3844           dvdreadsrc etc.) and then send them out once we've
3845           determined the type of the stream (and decodebin
3846           has had a chance to plug in a decoder/demuxer).
3847           
3848 2006-03-27  Wim Taymans  <wim@fluendo.com>
3849
3850         * docs/design/part-qos.txt:
3851         First QoS ideas.
3852
3853 2006-03-27  Wim Taymans  <wim@fluendo.com>
3854
3855         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3856
3857         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3858         (gst_base_src_send_event), (gst_base_src_change_state):
3859         Handle element seek correctly when we are streaming.
3860         Fixes #326998.
3861
3862 2006-03-24  Michael Smith  <msmith@fluendo.com>
3863
3864         * docs/faq/gst-uninstalled:
3865           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3866           allow you to correctly run intalled applications built against old 
3867           core, using plugins that require updated core (e.g. running
3868           installed totem against a full uninstalled gstreamer stack)
3869
3870 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3873         more debug details
3874
3875 2006-03-24  Wim Taymans  <wim@fluendo.com>
3876
3877         * docs/gst/gstreamer-sections.txt:
3878         Rearrange the order of the methods so that related methods
3879         are grouped together in sections.
3880
3881 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3882
3883         * gst/gstelement.c:
3884           Little clarification in the docs
3885
3886 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3887
3888         * docs/README:
3889         formatting fix
3890         * plugins/elements/gstidentity.c:
3891         * plugins/elements/gstqueue.c:
3892         * plugins/elements/gsttee.c:
3893         * plugins/elements/gsttypefindelement.c:
3894         GST_ELEMENT_DETAILS formatting
3895
3896 2006-03-24  Wim Taymans  <wim@fluendo.com>
3897
3898         * libs/gst/base/gstbasesink.h:
3899         Only add fields, not insert or we break ABI.
3900
3901 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3902
3903         * win32/common/libgstbase.def:
3904         * win32/common/libgstreamer.def:
3905           Update, add recently added functions.
3906
3907 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3908
3909         * docs/gst/gstreamer-sections.txt:
3910         * gst/gstutils.c: (gst_pad_query_peer_position),
3911         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3912         * gst/gstutils.h:
3913           API: add some new utility functions:
3914            - gst_pad_query_peer_position()
3915            - gst_pad_query_peer_duration()
3916            - gst_pad_query_peer_convert()
3917           
3918 2006-03-23  Wim Taymans  <wim@fluendo.com>
3919
3920         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3921         (gst_base_sink_init), (gst_base_sink_finalize),
3922         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3923         (gst_base_sink_set_property), (gst_base_sink_get_property),
3924         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3925         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3926         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3927         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3928         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3929         (gst_base_sink_preroll_object), (gst_base_sink_event),
3930         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3931         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3932         (gst_base_sink_query), (gst_base_sink_change_state):
3933         Decouple max-lateness and the fact that QoS messages are generated
3934         with a new property (qos).
3935         added API: GstBaseSink::async_play()
3936         Add vmethod so subclasses can be notified of ASYNC playing
3937         state changes.
3938         Collect timestamp start and stop to report better current
3939         position in EOS/PLAYING/PAUSED/READY/NULL.
3940         Refactor QoS/frame dropping and other measurements.
3941         API: GstBaseSrc::qos
3942         Fixes #326311
3943
3944         * libs/gst/base/gstbasesink.h:
3945         Added Private struct.
3946         API: gst_base_sink_set_qos_enabled()
3947         API: gst_base_sink_is_qos_enabled()
3948
3949 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3950
3951         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3952           If compiling against GLib-2.8 or newer, try to read the
3953           registry file using GMappedFile first before falling back
3954           to fopen() + fread() (#332151).
3955
3956 2006-03-22  Wim Taymans  <wim@fluendo.com>
3957
3958         * gst/gstinfo.c: (gst_debug_set_active),
3959         (gst_debug_category_set_threshold):
3960         Disable debugging unless explicitly activated.
3961         Fixes #335480.
3962
3963 2006-03-22  Wim Taymans  <wim@fluendo.com>
3964
3965         * gst/gstelement.c: (gst_element_set_locked_state),
3966         (gst_element_dispose):
3967         Cleanup the error case.
3968
3969         * gst/gstobject.c: (gst_object_dispose):
3970         print a critical when some object was disposed with
3971         a parent, also revive the object since it might
3972         crash the parent.
3973
3974 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
3975
3976         * tools/gst-launch.1.in:
3977           Fix another typo.
3978
3979 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3980
3981         * configure.ac:
3982         * tests/check/Makefile.am:
3983           disable some tests when we don't have a registry
3984         * tests/check/gst/gstutils.c: (gst_utils_suite):
3985           don't build the part that needs parsing
3986
3987 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3988
3989         * gst/Makefile.am
3990         * tests/examples/Makefile.am:
3991           fix --disable-parse build
3992
3993 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3994
3995         * tools/gst-feedback.1.in:
3996           Fix typo: s/feeback/feedback/ (#133494).
3997
3998 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
3999
4000         * tools/Makefile.am:
4001         * tools/gst-launch.1.in:
4002           Add FILES section and correct entry about GST_REGISTRY_PATH
4003           environment variable (#133495; #133494).
4004
4005 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4006
4007         * tools/Makefile.am:
4008         * tools/gst-md5sum.1.in:
4009         * tools/gst-md5sum.c:
4010           Remove gst-md5sum and man page (the md5sink element
4011           required was removed ages ago)
4012
4013 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4014
4015         * gst/gststructure.c: (gst_structure_id_set_value):
4016           Make sure that string fields in structures/taglists
4017           contain valid UTF-8 - we don't want to pass rubbish to
4018           applications because of a buggy plugin (cp. #334167).
4019
4020 2006-03-21  Edward Hervey  <edward@fluendo.com>
4021
4022         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4023         (gst_bin_handle_message_func):
4024         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4025         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4026         (gst_element_set_bus_func):
4027         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4028         * gst/gstminiobject.c: (gst_value_set_mini_object),
4029         (gst_value_take_mini_object):
4030         * gst/gstpad.c: (gst_pad_set_pad_template):
4031         * gst/gstpipeline.c: (gst_pipeline_dispose),
4032         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4033         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4034         (gst_collect_pads_chain):
4035         * libs/gst/net/gstnettimeprovider.c:
4036         (gst_net_time_provider_set_property):
4037         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4038         It's in fact all issues with gst_*object_replace().
4039
4040 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4041
4042         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4043         
4044         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4045         * pkgconfig/gstreamer-check.pc.in:
4046           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4047
4048 2006-03-21  Edward Hervey  <edward@fluendo.com>
4049
4050         * gst/gstbuffer.h:
4051         * gst/gstevent.h:
4052         * gst/gstmessage.h:
4053         gst_[buffer|event|message]_ref() macros are replaced by a static
4054         inline functions because gcc-4.1 will about if the return value
4055         isn't used.
4056         * tests/check/gst/gstevent.c: (event_probe):
4057         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4058
4059 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4060
4061         * gst/gstutils.h:
4062         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4063         the type' case. (Closes: #335195 for now). In the future, when we
4064         depend on GLib 2.10, we could also intern the type name using
4065         g_intern_static_string()
4066
4067 2006-03-20  Wim Taymans  <wim@fluendo.com>
4068
4069         * gst/gstbin.c: (gst_bin_handle_message_func),
4070         (bin_query_max_init), (bin_query_position_fold),
4071         (bin_query_position_done), (gst_bin_query):
4072         Position query should also take max of all streams.
4073
4074 2006-03-20  Wim Taymans  <wim@fluendo.com>
4075
4076         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4077         (gst_fake_src_finalize):
4078         Fix leaks in fakesrc.
4079
4080         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4081         Fix leaks in the testcase.
4082
4083 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4084
4085         * gst/gst_private.h:
4086           add win32 specific import decoration(__declspec(dllimport)) 
4087           for all extern GstDebugCategory * variables
4088         * win32/common/libgstbase.def:
4089         * win32/common/libgstcontroller.def:
4090         * win32/common/libgstreamer.def:
4091           Add some exports, remove empty lines
4092         * win32/common/libgstdataprotocol.def:
4093         * win32/common/libgstdataprotocol.dsp:
4094         * win32/common/libgstnet.def:
4095         * win32/common/libgstnet.dsp:
4096           new project files and exportation files added
4097         
4098 2006-03-19  Wim Taymans  <wim@fluendo.com>
4099
4100         * tests/check/libs/basesrc.c: (eos_event_counter):
4101         Use proper return value for probe.
4102
4103 2006-03-17  Wim Taymans  <wim@fluendo.com>
4104
4105         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4106         (gst_pad_push):
4107         Don't leak buffers, caps and pads on negotiation errors.
4108
4109 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4110
4111         * docs/faq/cvs.xml:
4112         * docs/faq/dependencies.xml:
4113         * docs/faq/developing.xml:
4114         * docs/faq/faq.xml:
4115         * docs/faq/general.xml:
4116         * docs/faq/getting.xml:
4117         * docs/faq/legal.xml:
4118         * docs/faq/troubleshooting.xml:
4119         * docs/faq/using.xml:
4120         Faq review and update.
4121
4122 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4123
4124         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4125         (gst_pad_push):
4126         Don't pound the cpu to pieces by checking get_caps when accept_caps
4127         is called with the same caps as the pad already has.
4128         Use GST_DEBUG_OBJECT when outputting caps change information.
4129
4130 2006-03-15  Wim Taymans  <wim@fluendo.com>
4131
4132         * gst/gstclock.c: (gst_clock_class_init):
4133         Fix docs.
4134
4135 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4136
4137         * gst/gstbuffer.h:
4138         Documentation fix.
4139
4140         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4141         (gst_pad_accept_caps), (gst_pad_configure_sink),
4142         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4143         Make the default acceptcaps behaviour be to check the requested 
4144         caps against the gst_pad_get_caps output. 
4145
4146         Ensure that gst_pad_accept_caps is used to check caps when a pad
4147         doesn't have a setcaps function, so that pads automatically refuse 
4148         caps that they don't allow in their pad template. (Fixes #332986)
4149
4150         When a buffer with attached caps is pushed, ensure that the source 
4151         pad receives those caps even if the element didn't call
4152         gst_pad_set_caps first.
4153
4154 2006-03-15  Wim Taymans  <wim@fluendo.com>
4155
4156         * libs/gst/base/gstadapter.c:
4157         Add some docs.
4158
4159 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4160
4161         * win32/common/libgstbase.def:
4162         * win32/common/libgstcontroller.def:
4163         * win32/common/libgstreamer.def:
4164           Add a whole bunch of missing functions (#334434).
4165
4166 2006-03-14  Wim Taymans  <wim@fluendo.com>
4167
4168         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4169         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4170         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4171         Better debug info when we receive a segment event.
4172         Reorganize a bit so we can pass the get_times() results around.
4173         Use the segment format when calculating the running time.
4174         Don't do QoS is sync is disabled or we have no clock or the
4175         element does not want us to sync to the clock.
4176         Don't drop buffers if QoS is disabled for now.
4177
4178 2006-03-14  Wim Taymans  <wim@fluendo.com>
4179
4180         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4181         Marked the stats property as unimplemented so people don't get
4182         wild ideas.
4183         Add debug message when regression goes wrong.
4184         Added some more docs.
4185
4186 2006-03-14  Wim Taymans  <wim@fluendo.com>
4187
4188         * gst/gstsegment.c: (gst_segment_to_stream_time):
4189         Return correct return type in case of errors.
4190
4191 2006-03-14  Wim Taymans  <wim@fluendo.com>
4192
4193         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4194           Don't segfault on invalid formats.
4195
4196 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4197
4198         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4199           Can't use gst_segment_to_running_time() when the segment
4200           is not in GST_TIME_FORMAT (like with filesink, for example).
4201           Stops flac encoding pipelines from spewing critical warnings
4202           at EOS (#331248).
4203           
4204 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4205
4206         * gst/gstpipeline.c: (gst_pipeline_class_init):
4207           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4208
4209         * plugins/elements/gsttypefindelement.c:
4210         (gst_type_find_element_handle_event):
4211           Don't try to typefind empty streams.
4212
4213 2006-03-14  Wim Taymans  <wim@fluendo.com>
4214
4215         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4216         (gst_base_sink_do_qos):
4217         Separate QoS calculation.
4218         Only drop buffers when lateness is bigger than the 
4219         duration of the buffer.
4220
4221 2006-03-13  Wim Taymans  <wim@fluendo.com>
4222
4223         * gst/gstpipeline.c: (gst_pipeline_set_property),
4224         (gst_pipeline_get_property), (do_pipeline_seek),
4225         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4226         (gst_pipeline_get_delay):
4227         Don't deadlock when reading properties.
4228
4229 2006-03-13  Wim Taymans  <wim@fluendo.com>
4230
4231         * libs/gst/base/gstbasetransform.c:
4232         (gst_base_transform_class_init), (gst_base_transform_init),
4233         (gst_base_transform_sink_event),
4234         (gst_base_transform_sink_eventfunc),
4235         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4236         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4237         (gst_base_transform_set_property),
4238         (gst_base_transform_get_property),
4239         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4240         (gst_base_transform_set_qos_enabled),
4241         (gst_base_transform_is_qos_enabled):
4242         * libs/gst/base/gstbasetransform.h:
4243         Make basetransform virtual method for src events too.
4244         Handle QOS in basetransform.
4245         API: gst_base_transform_update_qos()
4246         API: gst_base_transform_set_qos_enabled()
4247         API: gst_base_transform_is_qos_enabled()
4248
4249 2006-03-13  Wim Taymans  <wim@fluendo.com>
4250
4251         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4252         (gst_base_sink_do_sync):
4253         Small cleanups.
4254         Use QOS debug category.
4255
4256 2006-03-13  Wim Taymans  <wim@fluendo.com>
4257
4258         * plugins/elements/gstqueue.c:
4259         Very small doc update.
4260
4261 2006-03-13  Wim Taymans  <wim@fluendo.com>
4262
4263         * gst/gst_private.h:
4264         * gst/gstinfo.c: (_gst_debug_init):
4265         Added QOS debug category
4266
4267 2006-03-13  Wim Taymans  <wim@fluendo.com>
4268
4269         * docs/gst/gstreamer-sections.txt:
4270         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4271         * gst/gstbin.h:
4272         * gst/gstbus.c: (gst_bus_class_init):
4273         * gst/gstbus.h:
4274         * gst/gstclock.c:
4275         * gst/gstelement.c: (gst_element_set_locked_state):
4276         * gst/gstsegment.c:
4277         Documentation updates.
4278
4279         * gst/gstpipeline.c: (gst_pipeline_get_type),
4280         (gst_pipeline_class_init), (gst_pipeline_init),
4281         (gst_pipeline_dispose), (gst_pipeline_set_property),
4282         (gst_pipeline_get_property), (do_pipeline_seek),
4283         (gst_pipeline_send_event), (gst_pipeline_change_state),
4284         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4285         (gst_pipeline_get_delay):
4286         * gst/gstpipeline.h:
4287         Added methods for setting the delay.
4288         API: gst_pipeline_set_delay()
4289         API: gst_pipeline_get_delay()
4290         Add pipeline debug category
4291         Various cleanups.
4292         Updated docs.
4293         Don't reset stream time when seek failed.
4294
4295 2006-03-13  Wim Taymans  <wim@fluendo.com>
4296
4297         * docs/design/draft-klass.txt:
4298         * docs/design/part-clocks.txt:
4299         * docs/design/part-events.txt:
4300         * docs/design/part-gstbin.txt:
4301         * docs/design/part-gstpipeline.txt:
4302         * docs/design/part-messages.txt:
4303         * docs/design/part-negotiation.txt:
4304         * docs/design/part-overview.txt:
4305         * docs/design/part-preroll.txt:
4306         * docs/design/part-seeking.txt:
4307         * docs/design/part-states.txt:
4308         * docs/design/part-streams.txt:
4309         Documentation updates.
4310
4311 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4312
4313         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4314         us to leak strings...
4315
4316 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4317
4318         * libs/gst/net/gstnettimeprovider.c:
4319           fix docs
4320         * win32/common/config.h:
4321           update
4322
4323 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4324
4325         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4326
4327         * configure.ac:
4328           Don't check for libgnomeui (leftover from old examples
4329           that aren't built or disted any longer) (#334303).
4330           
4331 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4332
4333         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4334         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4335           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4336           there's no space left on the device.
4337
4338 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4339
4340         * gst/gstclock.h:
4341           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4342           to cast the input to GstClockTime before comparing with
4343           another GstClockTime value.
4344
4345 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4346
4347         * configure.ac:
4348           back to trunk
4349
4350 === release 0.10.4 ===
4351
4352 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4353
4354         * configure.ac:
4355           releasing 0.10.4, "Light"
4356
4357 2006-03-10  Michael Smith  <msmith@fluendo.com>
4358
4359         * libs/gst/dataprotocol/dataprotocol.c:
4360           Fix docs for dataprocotol to not get the return types completely
4361           wrong for a few functions.
4362
4363 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4364
4365         * docs/gst/gstreamer-sections.txt:
4366         * gst/gstpipeline.c: (gst_pipeline_class_init),
4367         (gst_pipeline_init), (gst_pipeline_set_property),
4368         (gst_pipeline_get_property), (gst_pipeline_change_state),
4369         (gst_pipeline_set_auto_flush_bus),
4370         (gst_pipeline_get_auto_flush_bus):
4371         * gst/gstpipeline.h:
4372           Add new API: gst_pipeline_set_auto_flush_bus() and
4373           gst_pipeline_get_auto_flush_bus() to disable automatic
4374           flushing of the pipeline's GstBus when going from READY
4375           to NULL state (#332045).
4376
4377 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4378
4379         * docs/gst/gstreamer-sections.txt:
4380         * gst/gsturi.c: (gst_uri_has_protocol):
4381         * gst/gsturi.h:
4382            Add new API: gst_uri_has_protocol() (#333779).
4383
4384 2006-03-09  Wim Taymans  <wim@fluendo.com>
4385
4386         * gst/gstclock.c: (gst_clock_entry_new),
4387         (gst_clock_id_compare_func), (gst_clock_id_wait),
4388         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4389         (gst_clock_init), (gst_clock_get_internal_time),
4390         (gst_clock_set_master), (do_linear_regression),
4391         (gst_clock_add_observation), (gst_clock_set_property):
4392         * gst/gstclock.h:
4393         Review docs.
4394         Small cleanups.
4395         Fix a possible segfault when the window-size is made smaller.
4396         Calculate jitter before performing the clock wait. Ideally
4397         the clock implementation should calculate jitter but we need
4398         API breakage for that.
4399
4400         * gst/gstsystemclock.c: (gst_system_clock_init):
4401         Docs review.
4402         
4403         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4404         Remove leftover else
4405
4406         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4407         (gst_systemclock_suite):
4408         Added check to test GST_CLOCK_DIFF.
4409
4410 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4411
4412         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4413         (gst_type_find_helper_get_range):
4414           If we are provided with the size, we should implement
4415           GstTypeFind::get_length, so that typefind functions who
4416           want to can actually peek at the middle of a file.
4417
4418 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4419
4420         * docs/manual/advanced-dataaccess.xml:
4421           Add some very very basic error checking.
4422
4423         * docs/pwg/appendix-checklist.xml:
4424           Some updates to the list of things to check when writing an element.
4425
4426 2006-03-08  Wim Taymans  <wim@fluendo.com>
4427
4428         * docs/design/part-element-transform.txt:
4429         Added some docs about the design of tranform elements.
4430
4431         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4432         (gst_base_src_loop), (gst_base_src_change_state):
4433         Mark buffers with the DISCONT flag.
4434
4435 2006-03-08  Michael Smith  <msmith@fluendo.com>
4436
4437         * gst/gstregistry.h:
4438         * gst/gstregistryxml.c: (gst_registry_save),
4439         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4440         (gst_registry_xml_save_pad_template),
4441         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4442         (gst_registry_xml_write_cache):
4443           Rewrite registry-saving to avoid race conditions and check for
4444           failed writes.
4445
4446 2006-03-08  Wim Taymans  <wim@fluendo.com>
4447
4448         * libs/gst/base/gstbasetransform.c:
4449         (gst_base_transform_transform_caps),
4450         (gst_base_transform_transform_size),
4451         (gst_base_transform_prepare_output_buffer),
4452         (gst_base_transform_get_unit_size),
4453         (gst_base_transform_buffer_alloc),
4454         (gst_base_transform_handle_buffer),
4455         (gst_base_transform_change_state):
4456         Cleanups, separate normal flow from errors, add sensible
4457         DEBUG lines.
4458         Don't try to renegotiate when allocating an output buffer.
4459         Also copy DISCONT buffer flag when copying a buffer.
4460         Reset the transform after we finish streaming, not during.
4461
4462 2006-03-08  Wim Taymans  <wim@fluendo.com>
4463
4464         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4465         Use last buffer timestamp in qos message.
4466
4467 2006-03-07  Wim Taymans  <wim@fluendo.com>
4468
4469         Patch by: Christophe Fergeau
4470
4471         * docs/pwg/advanced-tagging.xml:
4472         * docs/pwg/building-pads.xml:
4473           fixes #333416
4474
4475 2006-03-07  Wim Taymans  <wim@fluendo.com>
4476
4477         * docs/libs/gstreamer-libs-sections.txt:
4478         Added basesink new methods.
4479
4480         * gst/gstevent.c:
4481         * gst/gstevent.h:
4482         Docs updates. Flesh out the QoS docs.
4483
4484         * libs/gst/base/gstadapter.c:
4485         Small doc clarification about ownership and flushing.
4486
4487         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4488         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4489         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4490         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4491         * libs/gst/base/gstbasesink.h:
4492         API additions: 
4493         Added new methods to allow subclass to control max-lateness 
4494         and sync.
4495         Generate very basic QoS events based on last sync observation.
4496         Updated docs, fix typo, added some QoS blurb.
4497
4498         * libs/gst/base/gstbasesrc.c:
4499         Remove obsolete _get_state() calls from docs.
4500
4501 2006-03-07  Wim Taymans  <wim@fluendo.com>
4502
4503         * docs/libs/gstreamer-libs-sections.txt:
4504         * libs/gst/base/gstbasetransform.h:
4505         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4506         Fix docs for GstBaseSrc.
4507
4508 2006-03-07  Wim Taymans  <wim@fluendo.com>
4509
4510         * docs/gst/gstreamer-sections.txt:
4511         * gst/gstbuffer.h:
4512         * gst/gstvalue.c:
4513         * libs/gst/base/gstbasetransform.h:
4514         Small documentation fixes.
4515
4516 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4517
4518         * gst/gstvalue.c:
4519           Document thread-unsafety of gst_value_register_foo_func()
4520           when used at the same time as gst_value_foo() (#322628).
4521
4522 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4523
4524         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4525         (gst_push_src_check_get_range):
4526           Push sources don't support pull mode by default.
4527
4528 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4529
4530         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4531         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4532         (gst_base_src_default_check_get_range):
4533         * libs/gst/base/gstbasesrc.h:
4534           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4535           provide default implementation, and rename
4536           gst_base_src_check_get_range() to
4537           gst_base_src_pad_check_get_range() for clarity.
4538
4539 2006-03-06  Wim Taymans  <wim@fluendo.com>
4540
4541         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4542         Make property overridable.
4543
4544 2006-03-06  Wim Taymans  <wim@fluendo.com>
4545
4546         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4547         (gst_base_sink_init), (gst_base_sink_set_property),
4548         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4549         * libs/gst/base/gstbasesink.h:
4550         API addition: Make max-lateness a property.
4551
4552 2006-03-06  Wim Taymans  <wim@fluendo.com>
4553
4554         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4555         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4556         Don't ever draw a frame that is >10ms late.
4557
4558 2006-03-06  Michael Smith  <msmith@fluendo.com>
4559
4560         * gst/gstmessage.c: (_gst_message_copy):
4561           When copying a message, set the parent_refcount of the enclosed
4562           structure to point at the copy, not the original message.
4563
4564 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4565
4566         Patch by: Christophe Fergeau
4567
4568         * gst/gstutils.h:
4569           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4570           usable in c++ code (#333417)
4571
4572 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4573
4574         * gst/gstclock.h:
4575           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4576
4577 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4578
4579         * libs/gst/base/gstbasetransform.c:
4580         (gst_base_transform_transform_caps):
4581           Make sure caps are writable before passing them to
4582           gst_caps_append().
4583
4584 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4585
4586         * gst/gsterror.h:
4587           Fix some minor docs errors.
4588
4589 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4590
4591           Patch by: Ross Burton <ross at burtonini dot com>
4592
4593         * gst/gsterror.c: (_gst_resource_errors_init):
4594         * gst/gsterror.h:
4595           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4596
4597 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4598
4599         * gst/gst.c:
4600         Add a check and output a g_warning when GStreamer is built
4601         against GLib 2.6 but running against 2.8 or higher, and vice 
4602         versa. (Closes: #323542)
4603
4604 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4605
4606         * gst/parse/parse.l:
4607           Commit patch for parse_launch syntax from #331255. Removes 
4608           support for quoted strings and mimetypes when writing filtered 
4609           caps. See the bug report for more details - I'm pretty sure this
4610           obscure feature is not in use by _anyone_ anywhere.
4611
4612           With this simple change, the size of the gstreamer.so here 
4613           drops from 2193KB to 1565KB.
4614
4615 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4616
4617         * plugins/elements/gsttypefindelement.h:
4618         * plugins/elements/gsttypefindelement.c:
4619         (gst_type_find_element_src_event), (start_typefinding),
4620         (stop_typefinding), (gst_type_find_element_handle_event),
4621         (gst_type_find_element_chain),
4622         (gst_type_find_element_chain_do_typefinding):
4623           Use gst_type_find_helper_for_buffer() for chain-based
4624           typefinding.
4625
4626 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4627
4628         * plugins/elements/gsttypefindelement.c:
4629         (gst_type_find_element_class_init),
4630         (gst_type_find_element_set_property),
4631         (gst_type_find_element_get_property):
4632           Deprecate "maximum" property (not only was it only taken into
4633           account for typefinding in push-mode anyway, it also was never
4634           actually possible to set it in the first place because the
4635           property was registered with the numeric property ID for the
4636           "minimum" property). Register "maximum" property correctly,
4637           for the sake of future copy'n'pasters. Remove some cruft
4638           from property get/set functions.
4639
4640 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4641
4642         * plugins/elements/gsttypefindelement.c:
4643         (gst_type_find_element_activate):
4644           Use gst_type_find_helper_get_range() here, so we
4645           can honour the "minimum" property and also emit
4646           the signal with the correct probability of the found caps.
4647
4648 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4649
4650         * docs/libs/gstreamer-libs-sections.txt:
4651         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4652         (helper_find_suggest), (gst_type_find_helper_get_range),
4653         (gst_type_find_helper):
4654         * libs/gst/base/gsttypefindhelper.h:
4655           New API: gst_type_find_helper_get_range() (#333042).
4656
4657 2006-03-02  Michael Smith  <msmith@fluendo.com>
4658
4659         * gst/gstregistryxml.c: (load_feature):
4660           Asserting on a failure to read part of the registry is Not Cool.
4661           Just log a warning and return NULL (which is already handled)
4662
4663 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4664
4665         * win32/common/libgstbase.def:
4666           added export of gst_type_find_helper_for_buffer
4667         * win32/common/libgstbase.def:
4668           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4669           gst_ghost_pad_get_target
4670
4671 2006-02-28  Wim Taymans  <wim@fluendo.com>
4672
4673         * docs/design/draft-klass.txt:
4674         We use Filter now.
4675         Added Connector to mark elements that are only used to
4676         allow pipeline connections.
4677         Moved Debug to extra feature since most of them are 
4678         functionally something else.
4679
4680 2006-02-28  Wim Taymans  <wim@fluendo.com>
4681
4682         * docs/design/draft-klass.txt:
4683         Some updates and clarifications.
4684
4685 2006-02-28  Wim Taymans  <wim@fluendo.com>
4686
4687         * docs/design/draft-klass.txt:
4688         Proposal for klass field values.
4689
4690         * docs/design/part-streams.txt:
4691         Start of a doc describing stream anatomy.
4692
4693 2006-02-28  Wim Taymans  <wim@fluendo.com>
4694
4695         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4696         Help the compiler a bit with type registration.
4697         Use existing forward cod path instead of duplicating it when 
4698         handling a message.
4699         
4700         * gst/gstbus.c: (gst_bus_get_type):
4701         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4702         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4703         * gst/gstclock.c: (gst_clock_get_type):
4704         * gst/gstelement.c: (gst_element_get_type),
4705         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4706         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4707         * gst/gstminiobject.c: (gst_mini_object_get_type):
4708         * gst/gstpad.c: (gst_pad_get_type):
4709         * gst/gstsegment.c: (gst_segment_get_type):
4710         * gst/gststructure.c: (gst_structure_get_type):
4711         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4712         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4713         * gst/gstvalue.c:
4714         Help compiler with type registration.
4715
4716         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4717         Small doc update.
4718
4719 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * plugins/elements/gsttypefindelement.c:
4722         (gst_type_find_element_handle_event):
4723           When we get an EOS event and have not found a type yet
4724           (most likely because we had not yet accumulated
4725           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4726           type given the data we have so far. Fixes typefinding
4727           for very short streams again, most notably quicktime
4728           redirections as used on Apple's trailer site (#331701).
4729
4730 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4731
4732         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4733         (gst_type_find_helper):
4734           Try typefinding factories with the highest rank first.
4735
4736 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4737
4738         * docs/libs/gstreamer-libs-docs.sgml:
4739         * docs/libs/gstreamer-libs-sections.txt:
4740         * libs/gst/base/gsttypefindhelper.c:
4741           Add section for typefind helper and add documentation
4742           for the old and the new function.
4743
4744 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4745
4746         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4747         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4748         (gst_type_find_helper_for_buffer):
4749         * libs/gst/base/gsttypefindhelper.h:
4750           New API: gst_type_find_helper_for_buffer() (#332723).
4751           
4752 2006-02-27  Michael Smith  <msmith@fluendo.com>
4753
4754         Patch by: Loïc Minier
4755
4756         * configure.ac:
4757         * docs/Makefile.am:
4758         * docs/slides/Makefile.am:
4759           prevent CVS directories getting disted.
4760
4761 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4762
4763         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4764           Use the REFCOUNTING category for caps refcounting.
4765           
4766 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4767
4768         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4769           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4770
4771 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4772
4773         * plugins/elements/gsttypefindelement.c:
4774         (gst_type_find_element_activate):
4775           Use gst_pad_check_pull_range() before _activate_pull()
4776           to avoid unnecessary open/close (see #331690).
4777
4778 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4779
4780         * gst/gstutils.c:
4781           Docs enhancement: make it crystal clear what the
4782           gst_pad_add_*_probe() callbacks should look like.
4783
4784 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4785
4786         * libs/gst/base/gstbasesrc.c:
4787           Document how applications can stop recording from
4788           live sources (see #330996).
4789
4790 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4791
4792         * tests/check/Makefile.am:
4793         * tests/check/libs/basesrc.c: (eos_event_counter),
4794         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4795         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4796         (gst_basesrc_suite), (main):
4797           ... and add some tests for the base source EOS stuff.
4798
4799 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4800
4801         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4802           Test case originally showed the problem fixed below,
4803           but was then amended. Add checks back at the place
4804           where they used to be.
4805
4806 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4807
4808         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4809         (gst_base_src_init), (gst_base_src_loop),
4810         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4811         (gst_base_src_change_state):
4812         * libs/gst/base/gstbasesrc.h:
4813           Don't unconditionally send EOS when going from PAUSED to
4814           READY state, esp. make sure we don't send two EOS events
4815           in some cases (e.g. one when reaching EOS and one when
4816           going from PAUSED to READY). Also, we don't want to send
4817           EOS events when operating in pull mode. However, we do
4818           want to send an EOS event when shutting down a live
4819           source explicitly, for example (fixes #330996).
4820           
4821 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4822
4823         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4824           Update src->read_position after a seek when not using mmap.
4825           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4826
4827 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4828
4829         * gst/Makefile.am:
4830         * gst/gstparse.h:
4831         * gst/gstutils.c:
4832         * gst/gstutils.h:
4833         Make things work with --disable-parse as they do with 
4834         --disable-load-save - the symbols involved disappear, but the
4835         header is still installed and GST_DISABLE_PARSE is included via
4836         gstconfig.h
4837
4838 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4839
4840         * libs/gst/base/gstbasetransform.c:
4841         (gst_base_transform_change_state): Fix a stupid bug. I was 
4842         sure I compiled that.
4843
4844 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4845
4846         * gst/gstpad.c: (gst_pad_set_blocked_async):
4847         * gst/gstutils.c: (gst_pad_add_data_probe),
4848         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4849         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4850         (gst_pad_remove_buffer_probe): Make those function act on the
4851         ghostpad target when it's a ghostpad. (Closes #331727)
4852
4853 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4854
4855         * libs/gst/base/gstbasetransform.c:
4856         (gst_base_transform_change_state): Make basetransform reusable.
4857         (Closes #331898)
4858
4859 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
4860
4861         * docs/random/release:
4862         Move the current documentation of how to do a release to the top
4863         of the file.
4864
4865         * gst/gstbin.c: (gst_bin_class_init),
4866         (gst_bin_handle_message_func):
4867         Allow multiple state-recalculation threads. (Closes #328873)
4868
4869 2006-02-19  Julien MOUTTE  <julien@moutte.net>
4870
4871         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4872         * gst/gstpad.c: (gst_pad_set_event_function),
4873         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4874         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4875         2 strings. You can't use the STR_NULL macro on that.
4876
4877 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
4878
4879         * gst/gstpad.c: (gst_pad_set_event_function),
4880         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4881         (gst_pad_set_getcaps_function)
4882         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4883           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4884           So now, we can use --gst-debug-level=5 on Windows
4885         * win32/common/libgstcontroller.def:
4886           Added export of gst_controller_init
4887         * win32/vs6/libgstcontroller.dsp:
4888           Fixed Release post build configuration
4889
4890 2006-02-17  Wim Taymans  <wim@fluendo.com>
4891
4892         * tests/check/gst/gstquery.c: (GST_START_TEST):
4893         Added another check.
4894
4895 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
4896
4897         * plugins/elements/gsttypefindelement.c: (find_peek):
4898           We can do peeks at non-zero offsets, as long as they
4899           fall within the buffer we have.
4900
4901 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
4902
4903         * tests/check/Makefile.am:
4904         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4905         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4906         (parse_suite), (main):
4907           Add testsuite for parse launch syntax
4908
4909 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
4910
4911         * plugins/elements/gsttypefindelement.c:
4912         (gst_type_find_element_chain):
4913           When typefinding is unsuccessful in the chain function, don't
4914           error out immediately. Only error out with NO_CAPS_FOUND if
4915           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4916           otherwise simply wait for more data so we can try typefinding
4917           again with more data later. Also, don't attempt to typefind
4918           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4919           this should improve typefinding from network sources where the
4920           size of the first buffer can be somewhat random.
4921
4922 2006-02-14  Wim Taymans  <wim@fluendo.com>
4923
4924         * docs/gst/gstreamer-sections.txt:
4925         * gst/gstpadtemplate.c:
4926         * gst/gstpadtemplate.h:
4927         Fix padtemplate docs, fixes #328805.
4928
4929 2006-02-14  Wim Taymans  <wim@fluendo.com>
4930
4931         * tools/gst-launch.c: (main):
4932         NO_PREROLL is not an ERROR so don't send confusing messages
4933         to the user.
4934
4935 2006-02-14  Wim Taymans  <wim@fluendo.com>
4936
4937         Patch by: Torsten Schoenfeld
4938
4939         * gst/gstregistry.c: (gst_registry_get_default),
4940         (_gst_registry_cleanup):
4941         Protect default registry with lock and ref/sink it.
4942         Fixes #324818
4943
4944 2006-02-14  Wim Taymans  <wim@fluendo.com>
4945
4946         * gst/gstbuffer.c:
4947         * gst/gstquery.c: (gst_query_list_add_format),
4948         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4949         (gst_query_parse_formats_nth):
4950         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4951         Docs fixes.
4952
4953 2006-02-14  Wim Taymans  <wim@fluendo.com>
4954
4955         * docs/gst/gstreamer-sections.txt:
4956         Reworked query docs.
4957
4958         * gst/gstquery.c: (gst_query_new_formats),
4959         (gst_query_list_add_format), (gst_query_set_formats),
4960         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4961         (gst_query_parse_formats_nth):
4962         * gst/gstquery.h:
4963         Flesh out formats query, added some new methods.
4964         Fix part of #324398.
4965
4966         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4967         Added query creation tests.
4968
4969 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
4970
4971         * gst/gstpad.c: (fixate_value):
4972         Add a default fixation for fraction lists.
4973
4974 2006-02-13  Wim Taymans  <wim@fluendo.com>
4975
4976         * gst/gsttask.c: (gst_task_init), (gst_task_func),
4977         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4978         (gst_task_join):
4979         * gst/gsttask.h:
4980         Detect and warn for obvious deadlocks. fixes #320340
4981         Fix error case where lock was not released.
4982
4983         * tests/check/Makefile.am:
4984         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4985         (task_func), (gst_element_suite), (main):
4986         Add task check.
4987
4988 2006-02-13  Wim Taymans  <wim@fluendo.com>
4989
4990         * docs/gst/gstreamer-sections.txt:
4991         * gst/gstbus.c:
4992         Add new functions to docs.
4993
4994 2006-02-13  Wim Taymans  <wim@fluendo.com>
4995
4996         * docs/design/part-TODO.txt:
4997         Updated TODO list, basesrc supports seeking to non-bytes
4998         formats.
4999
5000         * docs/design/part-element-sink.txt:
5001         Update docs.
5002
5003         * gst/gstbin.c: (bin_replace_message),
5004         (gst_bin_handle_message_func):
5005         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5006         * gst/gstevent.c: (gst_event_finalize):
5007         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5008         (gst_pad_send_event):
5009         Use shiny new _TYPE_NAME macros.
5010
5011         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5012         Move debug statement up.
5013
5014         * gst/gstelement.c: (gst_element_set_locked_state):
5015         Add some debugging.
5016
5017 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * docs/gst/gstreamer-sections.txt:
5020         * gst/gstmessage.h:
5021         * gst/gstquery.h:
5022           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5023           macros (#330906). Also, document the already existing
5024           GST_QUERY_TYPE macro.
5025
5026 2006-02-13  Wim Taymans  <wim@fluendo.com>
5027
5028         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5029         (event_probe), (GST_START_TEST):
5030         Only events up to the pipeline EOS are counted, there are
5031         some more when going to NULL currently which we don't care
5032         about for now.
5033
5034 2006-02-13  Wim Taymans  <wim@fluendo.com>
5035
5036         * gst/gstpad.c: (gst_pad_send_event):
5037         Correctly check flushing and emit probes. fixes #330125
5038
5039 2006-02-10  Andy Wingo  <wingo@pobox.com>
5040
5041         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5042         structure.
5043         (gst_bus_init): Cache the location of the private data in the
5044         instance structure.
5045         (gst_bus_enable_sync_message_emission) 
5046         (gst_bus_disable_sync_message_emission): Implement new public
5047         functions.
5048         (gst_bus_post): Emit the sync-message signal if the user asked for
5049         it. Fixes #330684.
5050
5051         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5052         location of the bus-private structure.
5053         (gst_bus_enable_sync_message_emission)
5054         (gst_bus_disable_sync_message_emission): API addition
5055
5056 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5057
5058         Patch by: Vincent Torri
5059
5060         * docs/pwg/building-boiler.xml:
5061         PWG patch from #326800
5062
5063 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5064
5065         * configure.ac:
5066         * docs/Makefile.am:
5067         * docs/design/Makefile.am:
5068           Dist design docs.
5069
5070 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5071
5072         * configure.ac:
5073           back to CVS
5074
5075 === release 0.10.3 ===
5076
5077 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5078
5079         * configure.ac:
5080           releasing 0.10.3, "Like a virgin"
5081
5082 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5083
5084         * configure.ac:
5085           2nd prerelease of 0.10.3
5086           Bump libtool versioning.
5087
5088 2006-02-07  Andy Wingo  <wingo@pobox.com>
5089
5090         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5091         update last_stop if we're in TIME format and the timestamp is
5092         valid.
5093
5094         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5095         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5096         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5097         If we get a new newsegment with a different format, adapt
5098         accordingly.
5099
5100         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5101         of 0. Not a problem, really.
5102
5103         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5104         warn if sync=true.
5105
5106 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5107
5108         * configure.ac:
5109           Prelease of 0.10.3
5110
5111 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5112
5113         * win32/vs7:
5114           project files updated to the default vs7 configuration
5115         * win32/common/libgstbase.def:
5116         * win32/common/libgstreamer.def:
5117           added new symbols,
5118           removed empty lines,
5119           sorted all exported symbols alphabetically
5120         * win32/common/dirent.c:
5121         * win32/common/dirent.h:
5122         * win32/common/gchar.h:
5123           use windows line end.
5124           
5125 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5128           Send EOS event when stopping.
5129
5130 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * docs/README:
5133           Tell folks what to do if the plugin-foobar.xml file
5134           hasn't been generated for a newly-added plugin.
5135
5136 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5137
5138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5139         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5140         (gst_collect_pads_start), (gst_collect_pads_stop),
5141         (gst_collect_pads_event): Collectpads now holds a reference
5142         to the GstPad that was added. Indeed we don't want to look
5143         at pads that might just go away with no warning...
5144
5145 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5146
5147         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5148         (gst_collect_pads_start), (gst_collect_pads_stop),
5149         (gst_collect_pads_event), (gst_collect_pads_chain):
5150         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5151         Mark Nauwelaerts's patch on bug #328491.
5152
5153 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5154
5155         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5156         (gst_utils_suite):
5157           Add some simple tests for gst_parse_bin_from_description() and
5158           gst_bin_find_unconnected_pad() (#329069).
5159
5160 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         * tools/gst-launch.c: (event_loop), (main):
5163           Catch errors during preroll (#320084).
5164
5165 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5166
5167         * plugins/elements/gsttypefindelement.c:
5168         (gst_type_find_element_activate):
5169           Post TYPE_NOT_FOUND error message when typefinding
5170           is unsuccessful in the activate function as well.
5171
5172 2006-02-02  Wim Taymans  <wim@fluendo.com>
5173
5174         * docs/design/part-element-sink.txt:
5175         Updated doc.
5176
5177 2006-02-02  Wim Taymans  <wim@fluendo.com>
5178
5179         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5180         (gst_base_sink_render_object),
5181         (gst_base_sink_queue_object_unlocked):
5182         Only keep track of prerollable items when we are 
5183         prerolling.
5184         Before rendering after preroll, always check if we
5185         have queued items.
5186         Added some more debugging.
5187
5188 2006-02-02  Wim Taymans  <wim@fluendo.com>
5189
5190         * gst/gstelement.c: (gst_element_continue_state),
5191         (gst_element_set_state_func), (gst_element_change_state):
5192         Fixed #326576, been running this for quite some time with
5193         no regressions at all.
5194
5195 2006-02-02  Wim Taymans  <wim@fluendo.com>
5196
5197         * common/gst.supp:
5198         Added more suppressions
5199
5200 2006-02-02  Wim Taymans  <wim@fluendo.com>
5201
5202         * docs/design/part-element-sink.txt:
5203         Updated document.
5204
5205         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5206         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5207         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5208         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5209         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5210         (gst_base_sink_preroll_object),
5211         (gst_base_sink_queue_object_unlocked),
5212         (gst_base_sink_queue_object), (gst_base_sink_event),
5213         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5214         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5215         (gst_base_sink_get_position), (gst_base_sink_change_state):
5216         * libs/gst/base/gstbasesink.h:
5217         Totally refactored matching the design doc.
5218         Use two segments, one to clip incomming buffers and another to
5219         perform sync.
5220         Handle queueing correctly, bypass the queue when playing.
5221         Make EOS cancelable.
5222         Handle errors correctly when operating in pull based mode.
5223
5224         * tests/check/elements/fakesink.c: (GST_START_TEST),
5225         (fakesink_suite):
5226         Added new check for sinks.
5227
5228 2006-02-02  Wim Taymans  <wim@fluendo.com>
5229
5230         * gst/gstsegment.c: (gst_segment_clip):
5231         No reason to refuse to clip when start == -1
5232
5233 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5234
5235         * docs/README:
5236         * docs/manual/intro-basics.xml:
5237         * docs/manual/intro-preface.xml:
5238         * docs/manual/manual.xml:
5239         * docs/pwg/advanced-dparams.xml:
5240         * docs/pwg/intro-basics.xml:
5241         * docs/pwg/intro-preface.xml:
5242         * docs/pwg/pwg.xml:
5243           describe dparams (controller) for plugins
5244           unify docs a little more
5245
5246 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * docs/gst/gstreamer-sections.txt:
5249         * gst/gstutils.c: (element_find_unconnected_pad),
5250         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5251         * gst/gstutils.h:
5252           Add new API: gst_parse_bin_from_description() and
5253           gst_bin_find_unconnected_pad() (#329069).
5254
5255 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5256
5257         * docs/manual/README:
5258           uncover a nasty detail of the docs build
5259
5260 2006-01-31  Wim Taymans  <wim@fluendo.com>
5261
5262         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5263         Don't cache duration messages if we're not going to use or
5264         free them.
5265
5266 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5267
5268         * docs/manual/advanced-dparams.xml:
5269         * docs/pwg/advanced-dparams.xml:
5270           more dparam docs
5271         * gst/gstindex.c:
5272           fix docs
5273         * libs/gst/controller/lib.c: (gst_controller_init):
5274           init just once
5275
5276 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5277
5278         * gst/gstelement.c: (gst_element_message_full):
5279           also show file/line/func if no additional debug was given
5280
5281 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5282         
5283         * win32/vs7/grammar.vcproj:
5284           activate copy of autogenerated files for Release mode
5285
5286 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5287         
5288         * win32/common/libgstreamer.def:
5289           export gst_value_compare
5290
5291 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5292
5293         * plugins/elements/Makefile.am:
5294         * plugins/elements/gstelements.c:
5295         * plugins/elements/gstfdsink.c: (_do_init),
5296         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5297         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5298         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5299         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5300         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5301         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5302         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5303         * plugins/elements/gstfdsink.h:
5304         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5305
5306 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5307
5308         * docs/manual/advanced-dparams.xml:
5309           describe controller
5310         * docs/manual/advanced-position.xml:
5311         * docs/manual/basics-init.xml:
5312         * docs/manual/manual.xml:
5313         * docs/manual/titlepage.xml:
5314         * docs/pwg/pwg.xml:
5315         * docs/pwg/titlepage.xml:
5316           cleanup xml (more to come)
5317         * libs/gst/controller/gstcontroller.c:
5318           fix typo
5319
5320 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5321         
5322         * win32/vs6/grammar.dsp:
5323           add autogen of gstmarshal.c,h for Release mode
5324                 
5325 2006-01-30  Wim Taymans  <wim@fluendo.com>
5326
5327         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5328         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5329         (gst_base_sink_handle_object), (gst_base_sink_event),
5330         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5331         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5332         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5333         (gst_base_sink_deactivate), (gst_base_sink_activate),
5334         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5335         (gst_base_sink_query), (gst_base_sink_change_state):
5336         Basesink cleanups, remove some old code.
5337         Handle the case where a subclass can preroll in the render
5338         method (mostly audiosinks).
5339         Handle more events.
5340         Remove some locks around variables that are now protected
5341         with the PREROLL_LOCK (clock_id, flushing, ..).
5342         Optimize position query some more, do correct locking.
5343         Remove old code to push queue in state change, this is not
5344         needed anymore since preroll blocks on all prerollable items 
5345         now.
5346         Almost implemented as described in design doc.
5347
5348 2006-01-30  Wim Taymans  <wim@fluendo.com>
5349
5350         * tests/check/gst/gstbin.c: (GST_START_TEST):
5351         Wait for refcount to settle down before checking.
5352
5353 2006-01-30  Wim Taymans  <wim@fluendo.com>
5354
5355         * docs/design/part-element-sink.txt:
5356         Pseudo code overview of desired sink behaviour regarding
5357         preroll.
5358
5359 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5360         * win32/vs6/grammar.dsp:
5361           fix some bugs in Release mode for autogenerated files
5362                 
5363 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5364         * win32/common/libgstbase.def:
5365         * win32/common/libgstreamer.def:
5366           export some new symbols: gst_base_src_set_format,
5367           gst_iterator_next, gst_structure_set_valist
5368
5369 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5370
5371         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5372         Set pad functions unconditionally. Fixes #329105.
5373
5374 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5375         * win32/vs8:
5376           add vs8 project files created by Sergey Scobich
5377
5378 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5379
5380         * gst/gstutils.c: (gst_element_unlink_pads):
5381         Don't leak pad references.
5382
5383         * tests/check/elements/fakesink.c: (GST_START_TEST):
5384         * tests/check/generic/sinks.c: (GST_START_TEST):
5385         * tests/check/generic/states.c: (GST_START_TEST):
5386         * tests/check/gst/gstbin.c: (GST_START_TEST):
5387         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5388         * tests/check/gst/gstelement.c: (GST_START_TEST):
5389         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5390         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5391         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5392         Fix a bunch of leaks. Make generic/sinks.c
5393         use a bit less cpu by slowing the buffer rate
5394         between fakesrc and fakesink.
5395         
5396 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5397         * gst/gstcaps.c:
5398         * gst/gstelement.c: (gst_element_send_event):
5399         * gst/gstevent.c:
5400         * gst/gstinfo.c:
5401         * gst/gstiterator.c:
5402         * gst/gstiterator.h:
5403         * gst/gstpad.c: (gst_pad_send_event):
5404         * gst/gststructure.c:
5405         * gst/gsturi.c:
5406         * gst/gstutils.c:
5407         * gst/gstvalue.c:
5408         * libs/gst/base/gstadapter.c:
5409           doc fixes, to link to function, just write gst_cool_function(), don't
5410           prefix with '#'
5411
5412 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5413
5414         * plugins/elements/gsttee.c: (gst_tee_do_push),
5415         (gst_tee_handle_buffer):
5416         Always prefer an actual return value from a src
5417         pad in place of NOT_LINKED. This means we return
5418         WRONG_STATE when all src pads are WRONG_STATE
5419         instead of NOT_LINKED.
5420
5421         Lock when replacing the last message to prevent
5422         racing with the get_property method.
5423
5424         Add debug output
5425
5426 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5427
5428         * tests/check/Makefile.am:
5429         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5430         (main):
5431         Add a very simple check that should have caught the memleak I fixed
5432         last night (if not for the slice allocator hiding it)
5433
5434 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5435
5436         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5437         (gst_bin_remove_func), (gst_bin_handle_message_func),
5438         (bin_query_duration_fold), (bin_query_generic_fold):
5439         Clean up references to the clock provider when disposed or when
5440         handling a clock-lost message from it.
5441
5442         Unref sinks when performing a query via gst_iterator_fold, as the
5443         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5444
5445         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5446         (gst_clock_set_master):
5447         Drop our reference to the master clock, if any, when we are disposed.
5448
5449         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5450         Chain up in dispose. 
5451
5452 2006-01-26  Wim Taymans  <wim@fluendo.com>
5453
5454         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5455         Add some debugging.
5456
5457 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5458
5459         * plugins/elements/gsttee.c: (gst_tee_do_push),
5460         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5461         handles pad being NOT_LINKED or in WRONG_STATE.
5462
5463 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5464
5465         * win32/MANIFEST:
5466           more updating
5467
5468 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5469
5470         * win32/MANIFEST:
5471           remove obsolete entry
5472
5473 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5474
5475         * docs/gst/gstreamer-sections.txt:
5476         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5477         (gst_bin_iterate_sources), (gst_bin_send_event):
5478         * gst/gstbin.h:
5479         * gst/gstelement.c: (gst_element_send_event):
5480         * gst/gstevent.c:
5481         * gst/gstpad.c: (gst_pad_send_event):
5482           added code for downstream events, reviewed docs in gstevent.c
5483
5484 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5485
5486         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5487         We only query position using the clock in the playing state.
5488         Query peer in the other cases.
5489         * win32/common/config.h: Updates.
5490
5491 2006-01-24  Wim Taymans  <wim@fluendo.com>
5492
5493         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5494         A clock entry that is scheduled for the exact time of the
5495         clock is still in time.
5496
5497         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5498         (gst_base_sink_do_sync):
5499         Add some more debug info.
5500
5501 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5502
5503         * win32/vs7:
5504           Add new vs7 project files and solution.
5505
5506 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5507
5508         * win32/vs7:
5509           all files removed as they were out-dated.
5510
5511 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5512
5513         * docs/random/release:
5514           update notes
5515         * gst/gstbin.c: (gst_bin_init):
5516         * gst/gstbus.c: (gst_bus_new):
5517         * gst/gstbus.h:
5518         * gst/gstpipeline.c: (gst_pipeline_init):
5519           use gst_bus_new(), improve logging, fix docs
5520         * win32/common/config.h:
5521           update for cvs build
5522
5523 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5524
5525         * autogen.sh:
5526           up required version of automake to 1.7
5527
5528 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5529
5530         * win32/common/libgstreamer.def:
5531           export gst_buffer_is_metadata_writable
5532
5533 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5534
5535         * docs/gst/gstreamer-sections.txt:
5536         * gst/gstevent.h:
5537           Add gst_event_replace() (#327001)
5538
5539 2006-01-20  Wim Taymans  <wim@fluendo.com>
5540
5541         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5542         Make it actually compile too..
5543
5544 2006-01-20  Wim Taymans  <wim@fluendo.com>
5545
5546         * gst/gstcaps.c:
5547         Clarify behaviour of _is_equal() when passing NULL parameters.
5548
5549         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5550         (gst_pad_set_caps):
5551         Cleanups. Don't unref NULL caps.
5552         When setting the same caps, protect caps of the pad with
5553         proper lock.
5554         Use full functionality of _is_equal() when comparing caps.
5555
5556 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5557
5558         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5559         Don't loop infinitely if there are no buffers to present. Partially
5560         fixes #327197, but collectpads is just broken for reusing elements
5561         to do multiple encodes atm.
5562
5563 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5564
5565         * tools/gst-inspect.c: (print_element_features):
5566         * tools/gst-xmlinspect.c: (main):
5567         URL_HANDLER is not a plugin feature we can search for in
5568         the registry.
5569
5570 2006-01-19  Edward Hervey  <edward@fluendo.com>
5571
5572         * gst/gstelement.c: (gst_element_pads_activate): 
5573         When activating, do src pads first, then sink pads.
5574         When de-activating, do sink pads first, then src pads.
5575
5576 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * docs/gst/gstreamer-sections.txt:
5579         Add gst_index_add_associationv to the docs
5580
5581 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5582
5583         * gst/gstevent.c:
5584           Fix docs typo
5585
5586         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5587         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5588           Do some refactoring. Doesn't actually change functionality,
5589           but makes landing the DRAIN event easier later.
5590
5591 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5592
5593         * docs/pwg/advanced-scheduling.xml:
5594           Update from 0.9.x to 0.10 API and make example a bit
5595           clearer.
5596
5597 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5598
5599         * docs/gst/gstreamer-sections.txt:
5600         Add gst_buffer_(is|make)_metadata_writable methods.
5601
5602 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5603
5604         * docs/design/part-sparsestreams.txt:
5605         Update sparse streams doc, hopefully for greater clarity
5606
5607 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5608
5609         * docs/design/part-events.txt:
5610         Remove mention of FILLER events.
5611         Add DRAIN event.
5612
5613         * docs/design/part-sparsestreams.txt:
5614         Write some things about using NEWSEGMENT to keep sparse streams
5615         flowing.
5616
5617 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         * gst/gstbin.c: (gst_bin_dispose):
5620           Guard gst_object_unref call against a NULL object (dispose
5621           can theoretically be called multiple times).
5622           
5623 2006-01-18  Wim Taymans  <wim@fluendo.com>
5624
5625         * gst/gstbin.c: (gst_bin_element_set_state):
5626         * gst/gstclock.c: (gst_clock_id_wait):
5627         Added some more debug info.
5628
5629         * libs/gst/base/gstadapter.c:
5630         Added more docs.
5631
5632         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5633         (gst_base_sink_do_sync), (gst_base_sink_chain):
5634         Added some comments.
5635
5636 2006-01-18  Wim Taymans  <wim@fluendo.com>
5637
5638         * tests/check/Makefile.am:
5639         * tests/check/elements/fakesink.c: (chain_async_buffer),
5640         (chain_async), (chain_async_return), (GST_START_TEST),
5641         (fakesink_suite), (main):
5642         Added fakesink test that checks prerolling and clipping
5643         behaviour.
5644
5645         * tests/check/gst/gstutils.c: (GST_START_TEST):
5646         Make check run faster so that buildbots don't timeout.
5647
5648 2006-01-18  Wim Taymans  <wim@fluendo.com>
5649
5650         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5651         (gst_base_sink_do_sync):
5652         Some cleanups.
5653         When the sink finishes blocking on the preroll buffer, it can
5654         immediatly render it instead of rendering when the next buffer
5655         arrives.
5656
5657 2006-01-18  Wim Taymans  <wim@fluendo.com>
5658
5659         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5660         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5661         (gst_base_sink_chain):
5662         Small cleanups.
5663         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5664         Don't store _last_stop if the buffer is dropped.
5665
5666 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5667
5668         * plugins/elements/gsttypefindelement.c:
5669         (gst_type_find_element_class_init):
5670           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5671           object method handler that sets the caps on the pad and we want
5672           that to happen before we emit the signal (fixes e.g. feeding a
5673           plain text file to decodebin).
5674
5675 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5676
5677         * gst/gstplugin.c: Add MPL and Proprietary as license options
5678
5679 2006-01-18  Andy Wingo  <wingo@pobox.com>
5680
5681         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5682         symbol was exported before, it appears this was just an oversight.
5683         Fixes #168703.
5684         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5685
5686         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5687         prototype to gint. OK since this prototype was not in the header.
5688
5689 2006-01-17  Andy Wingo  <wingo@pobox.com>
5690
5691         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5692         registry while we remove plugins.
5693
5694         * tools/gst-inspect.c (print_element_info): Don't unref the
5695         factory arg, that should be the responsibility of whatever code
5696         received the ref. Fixes a double-free when called from
5697         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5698         (main): Unref the factory if we have one.
5699         (print_element_list): No change -- relies on the
5700         plugin_feature_list_free to free the list of features.
5701
5702 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5703
5704         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5705         (gst_buffer_make_metadata_writable):
5706         * gst/gstbuffer.h:
5707         * libs/gst/base/gstbasetransform.c:
5708         (gst_base_transform_prepare_output_buf):
5709         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5710         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5711           Replace gst_buffer_(make|is)_metadata_writable patch now
5712           that the release is out.
5713
5714 2006-01-17  Andy Wingo  <wingo@pobox.com>
5715
5716         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5717         in the present tense without reference to versions.
5718
5719         * gst/gstregistry.c (gst_registry_add_plugin)
5720         (gst_registry_remove_plugin, gst_registry_remove_feature)
5721         (gst_registry_find_feature, gst_registry_get_feature_list)
5722         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5723         (gst_registry_lookup, gst_registry_scan_path)
5724         (_gst_registry_remove_cache_plugins)
5725         (gst_registry_get_feature_list_by_plugin): Add argument
5726         validation.
5727
5728 === release 0.10.2 ===
5729
5730 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5731
5732         * configure.ac:
5733           releasing 0.10.2, "If man is five"
5734
5735 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5736
5737         * gst/gstbuffer.c:
5738         * gst/gstbuffer.h:
5739         * libs/gst/base/gstbasetransform.c:
5740         (gst_base_transform_prepare_output_buf):
5741         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5742         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5743           Back out patch until after the release.
5744
5745 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5746
5747         * gst/gstminiobject.c:
5748           Spelling fix in docs.
5749         * ChangeLog - remove conflict indicator
5750
5751 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5752
5753         Reviewed By: Andy Wingo
5754
5755         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5756         (gst_buffer_make_metadata_writable):
5757         * gst/gstbuffer.h:
5758           Add gst_buffer_(is|make)_metadata_writable as analogues of
5759           gst_buffer_(is|make)_writable.
5760
5761         * libs/gst/base/gstbasetransform.c:
5762         (gst_base_transform_prepare_output_buf):
5763         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5764           Use name gst_buffer_(is|make)_metadata_writable functions.
5765
5766         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5767           Test gst_buffer_(is|make)_metadata_writable
5768         
5769           (Closes: #324162)
5770
5771 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5772
5773         * docs/manual/Makefile.am:
5774           don't do parallel make
5775         * configure.ac:
5776           AC_SUBST HOST_CPU
5777         * win32/common/config.h.in:
5778           add generations for HOST_CPU and GST_MAJORMINOR
5779         * win32/common/config.h:
5780           commit generated result
5781
5782 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * docs/manual/appendix-integration.xml:
5785           Update GNOME integration section to use gst_init_get_option_group()
5786           instead of the old popt stuff (#322911). Also, GNOME applications
5787           should  now use gconf*sink and gconf*src instead of the old gconf
5788           helper lib we had.
5789
5790 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5791
5792
5793         * docs/gst/gstreamer-docs.sgml:
5794         * docs/gst/gstreamer-sections.txt:
5795         * docs/libs/gstreamer-libs-sections.txt:
5796           add new API entries to the docs
5797         * libs/gst/controller/Makefile.am:
5798         * libs/gst/controller/gstcontroller.c:
5799         * libs/gst/controller/gstcontroller.h:
5800         * libs/gst/controller/gstcontrollerprivate.h:
5801         * libs/gst/controller/gsthelper.c:
5802         * libs/gst/controller/gstinterpolation.c:
5803           move private structs to private header
5804         * po/README:
5805           gstreamer-0.7 -> gstreamer-0.10
5806         * tests/check/libs/struct_i386.h:
5807           remove private structs
5808
5809 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5810
5811         * plugins/indexers/Makefile.am:
5812           Fixes as part of #317048
5813
5814 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5815
5816         * plugins/indexers/Makefile.am:
5817           fix #316086 - compilation when mmap is missing
5818
5819 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5820
5821         * libs/gst/base/gstbasesink.c:
5822           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5823           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5824         * win32/common/config.h:
5825           added some defines GST_MAJORMINOR and HOST_CPU
5826         * win32/common/libgstbase.def:
5827         * win32/common/libgstreamer.def:
5828           added some exported functions.
5829
5830 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5831
5832         * libs/gst/controller/gstcontroller.c:
5833         (gst_controlled_property_set_interpolation_mode),
5834         (gst_controlled_property_new):
5835         * libs/gst/controller/gstcontroller.h:
5836         * libs/gst/controller/gstinterpolation.c:
5837         (interpolate_none_get_string_value_array):
5838           make G_TYPE_STRING controlable
5839
5840 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5841
5842         * tools/README:
5843         * tools/gst-feedback.1.in:
5844         * tools/gst-inspect.1.in:
5845         * tools/gst-launch.1.in:
5846         * tools/gst-md5sum.1.in:
5847         * tools/gst-typefind.1.in:
5848         * tools/gst-xmlinspect.1.in:
5849         * tools/gst-xmllaunch.1.in:
5850           cleanup man-pages, remove reference to gst-register, document env-vars
5851
5852 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
5853
5854         * gst/gstbuffer.c: (gst_buffer_span):
5855           gst_buffer_span should copy the timestamp of the first buffer
5856           if they were both originally overlapping subbuffers of the 
5857           same parent, using the same logic as the 'slow copy' case.
5858
5859 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
5860
5861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5862           Need to awaken ALL the pads when we pop a buffer, otherwise
5863           collectpads only works when there is 2 input streams.
5864
5865 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * docs/random/ensonic/media-device-daemon.txt:
5868           more ideas (dbus)
5869         * gst/gstbuffer.c:
5870           fix doc example, add clarification
5871         * tools/gst-launch.1.in:
5872           add initial info about GST_PLUGIN_PATH, needs more work
5873
5874 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5875
5876         * docs/manual/basics-bins.xml:
5877         * docs/manual/basics-elements.xml:
5878         * docs/manual/intro-basics.xml:
5879           Some more minor docs additions and updates.
5880
5881 2006-01-11  Wim Taymans  <wim@fluendo.com>
5882
5883         * docs/manual/basics-bins.xml:
5884         * docs/manual/basics-elements.xml:
5885         Some small fixes as pointed out by Ser-ver on IRC.
5886
5887 2006-01-10  Edward Hervey  <edward@fluendo.com>
5888
5889         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5890         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5891         the single-segment mode.
5892
5893 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
5894
5895         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5896
5897         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5898         (gst_base_src_perform_seek), (gst_base_src_send_event),
5899         (gst_base_src_set_property), (gst_base_src_get_property),
5900         (gst_base_src_loop), (gst_base_src_start),
5901         (gst_base_src_activate_push):
5902         * libs/gst/base/gstbasesrc.h:
5903           Name (private) union; makes Sun's Forte compiler happy (#324900).
5904
5905 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5906
5907         * README:
5908           gst-register is gone.
5909
5910 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5911
5912         * gst/gstvalue.c: (_gst_value_initialize):
5913           make the G_TYPE_DATE instantiation work if debug is disabled
5914
5915 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * gst/gstmessage.c: (gst_message_parse_tag),
5918         (gst_message_parse_error), (gst_message_parse_warning):
5919           Don't crash when return location for error/warning debug
5920           string is NULL; add fact that return locations can be
5921           NULL to docs where appropriate.
5922
5923 2006-01-05  Wim Taymans  <wim@fluendo.com>
5924
5925         * gst/gstplugin.c: (gst_plugin_load_file):
5926         Replace strdup by g_strdup.
5927
5928 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5929
5930         * docs/pwg/advanced-types.xml:
5931           fix doc borkage
5932
5933 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5934
5935         submitted by: Abel Cheung
5936
5937         * po/LINGUAS:
5938         * po/zh_TW.po:
5939           Added Chinese (traditional) translation
5940
5941 2006-01-04  Wim Taymans  <wim@fluendo.com>
5942
5943         * docs/manual/basics-pads.xml:
5944         * docs/plugins/Makefile.am:
5945         * docs/plugins/gstreamer-plugins-docs.sgml:
5946         * docs/plugins/gstreamer-plugins-sections.txt:
5947         * docs/pwg/advanced-clock.xml:
5948         * docs/pwg/advanced-scheduling.xml:
5949         * docs/pwg/advanced-types.xml:
5950         * plugins/elements/gstfdsink.c:
5951         * plugins/elements/gstfdsrc.c:
5952         * plugins/elements/gstfdsrc.h:
5953         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5954         * plugins/elements/gstidentity.h:
5955         * plugins/elements/gstqueue.h:
5956         * plugins/elements/gsttee.c:
5957         * plugins/elements/gsttee.h:
5958         * plugins/elements/gsttypefindelement.c:
5959         (gst_type_find_element_class_init):
5960         * plugins/elements/gsttypefindelement.h:
5961         Small updates to various docs.
5962         Added core plugins to docs.
5963
5964 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5965
5966         * common/gst.supp:
5967           add a suppression for liboil's uninitialized variable
5968
5969 2006-01-02  James Livingston  <jrl at ids dot org dot au>
5970
5971         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5972
5973         * gst/gstutils.h:
5974           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5975           macro, so that gcc doesn't complain if the -Wmissing-prototypes
5976           compiler switch is being used (#325429).
5977
5978 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
5979
5980         * gst/gstbin.c: (gst_bin_query):
5981           Disable duration query caching in bins until it gets
5982           fixed (see #324807).
5983
5984 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * tools/gst-inspect.c: (print_element_properties_info):
5987           Handle properties of POINTER and BOXED type.
5988
5989 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
5990
5991         * gst/gst.c: (init_post):
5992           Init tags stuff and some other things before loading
5993           any static plugins (there may be other static plugins
5994           than just the GStreamer ones, and they may want to
5995           register their own tags or formats or whatever, and
5996           preferably without segfaulting).
5997
5998         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5999           Print at least a warning in the debug logs if we drop a
6000           query just because we don't know how to adjust the value
6001           in the particular format.
6002
6003 2005-12-24  David Schleef  <ds@schleef.org>
6004
6005         * tools/gstreamer-completion:
6006           Replacement for gst-complete written in sh and sed.  Only
6007           completes names of features, but that's 90% of what I want
6008           it for.  Properties are not available in registry.xml.  (Maybe
6009           they should be...)
6010
6011 === release 0.10.1 ===
6012
6013 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6014
6015         * configure.ac:
6016           releasing 0.10.1, "Nollaig chridheil"
6017
6018 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         * docs/faq/cvs.xml:
6021           Add missing quote, should be make ERROR_CFLAGS="".
6022
6023 2005-12-20  Wim Taymans  <wim@fluendo.com>
6024
6025         * docs/design/part-trickmodes.txt:
6026         More documentation on trickmodes.
6027
6028 2005-12-20  Edward Hervey  <edward@fluendo.com>
6029
6030         * gst/gstcaps.c: (gst_static_caps_get_type):
6031         * gst/gstcaps.h:
6032           API addition: GST_TYPE_STATIC_CAPS
6033         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6034         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6035         * gst/gstpadtemplate.h:
6036           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6037         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6038         bindings.
6039
6040 2005-12-18  Wim Taymans  <wim@fluendo.com>
6041
6042         * libs/gst/base/gstadapter.c:
6043         * libs/gst/base/gstadapter.h:
6044         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6045         (gst_base_sink_get_position):
6046         * libs/gst/base/gstbasesink.h:
6047         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6048         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6049         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6050         (gst_base_src_send_event), (gst_base_src_update_length),
6051         (gst_base_src_get_range), (gst_base_src_loop),
6052         (gst_base_src_start):
6053         * libs/gst/base/gstbasesrc.h:
6054         * libs/gst/base/gstbasetransform.h:
6055         * libs/gst/base/gstcollectpads.h:
6056         * libs/gst/base/gstpushsrc.c:
6057         * libs/gst/base/gstpushsrc.h:
6058         * libs/gst/dataprotocol/dataprotocol.c:
6059         * libs/gst/dataprotocol/dataprotocol.h:
6060         * libs/gst/net/gstnetclientclock.h:
6061         * libs/gst/net/gstnettimeprovider.h:
6062         Documentation updates.
6063
6064 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6065
6066         * docs/manual/basics-helloworld.xml:
6067           Remove superfluous closing bracket in helloworld example.
6068
6069 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6070
6071         * tools/gst-launch.1.in:
6072           Update gst-launch man page; add a section with useful
6073           environment variables. Fixes #323882.
6074
6075 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6076
6077         * gst/gst.c:
6078         * gst/gst_private.h:
6079           change some char* into char[]
6080
6081 2005-12-16  Wim Taymans  <wim@fluendo.com>
6082
6083         * gst/gstregistryxml.c: (load_feature):
6084         Cleanups.
6085         Don't use g_object_unref on GstObjects so that we avoid
6086         leaks on unsafe glibs.
6087
6088 2005-12-16  Wim Taymans  <wim@fluendo.com>
6089
6090         * gst/gstbin.c: (gst_bin_recalc_state):
6091         Small doc updates.
6092
6093 2005-12-16  Wim Taymans  <wim@fluendo.com>
6094
6095         * common/check.mak:
6096         Added make forever target for check.
6097
6098 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6099
6100         * gst/gst.c: (init_post):
6101           make the registry cache file HOST_CPU-dependent
6102
6103 2005-12-16  Andy Wingo  <wingo@pobox.com>
6104
6105         * plugins/elements/gstbufferstore.c
6106         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6107         return value.
6108
6109         * tests/check/gst/gstobject.c
6110         (test_fake_object_name_threaded_unique): Pay attention to
6111         g_list_sort return value.
6112
6113 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * tools/gst-feedback-m.m:
6116           Update for 0.9/0.10 (fixes #323870).
6117
6118 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6119
6120         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6121           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6122           
6123         * tests/check/gst/gstminiobject.c: (my_foo_init),
6124         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6125         (test_value_collection), (gst_mini_object_suite):
6126           Add test to ensure refcounts end up as expected when passing
6127           GstMiniObjects through g_object_get() and g_object_set().
6128
6129 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6130
6131         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6132         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6133         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6134         of collectpads. This version removes a lot of races without
6135         touching API/ABI. Yay !
6136
6137 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6138
6139         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6140           Don't allow activation of a srcpad in pull_range if it has no
6141           getrange function.
6142           Change some debug statements to be a little clearer
6143
6144         * plugins/elements/gsttypefindelement.c:
6145         (gst_type_find_handle_src_query):
6146           Check that we have a peer before executing queries thereupon.
6147
6148         * tests/examples/metadata/read-metadata.c: (message_loop):
6149           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6150           immediately return us any available message with 0 timeout.
6151
6152 2005-12-12  Michael Smith  <msmith@fluendo.com>
6153
6154         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6155           Don't unref factories after calling them.
6156         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6157         * plugins/elements/gsttypefindelement.c:
6158         (gst_type_find_element_chain):
6159           Free lists of factories after using them. Fixing typefinding memory
6160           leaks.
6161
6162 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6165         (gst_plugin_feature_load):
6166           more meaningful debug output
6167         * configure.ac:
6168         * tests/Makefile.am:
6169         * tests/old/examples/Makefile.am:
6170           make make distcheck happy again
6171
6172 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6173
6174         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6175           Catch the special case where we are operating chain-based,
6176           but the downstream peer pad has no chain function. Emit a
6177           custom error message in this case instead of letting the
6178           core generate one implying that this is some sort of core
6179           bug. It's not, it just means that whatever got plugged
6180           into the pipeline downstream when we announced the type
6181           can only operate pull-based, while our source can only
6182           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6183           Error string has not been marked for translation yet, as
6184           it probably needs some more work first.
6185
6186         (gst_type_find_element_get_best_possibility):
6187           Add helper function to find the best of all available
6188           found possibilities that qualify given the min. threshold.
6189
6190         (gst_type_find_element_handle_event):
6191           Fix the case where we get an EOS while still in TYPEFIND
6192           mode (we want to chose the best of all possible types,
6193           not just the first type that happens to be in our unsorted
6194           list of possible types).
6195
6196         (gst_type_find_element_chain):
6197           Make sure we return GST_FLOW_ERROR when we errored out
6198           in stop_typefinding(); also, don't just find the best of
6199           all found type entries and then use the last examined
6200           type entry, but actually use the best entry.
6201
6202 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6203
6204         * tests/examples/typefind/typefind.c: (type_found):
6205         * tests/examples/xml/runxml.c: (xml_loaded):
6206           More gcc4 fixes and a mem leak fix.
6207
6208 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6209
6210         * tests/examples/xml/createxml.c: (object_saved):
6211           gcc 4 fixes
6212
6213 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6214
6215         * tests/Makefile.am:
6216           enable the examples even more
6217
6218 2005-12-12  Andy Wingo  <wingo@pobox.com>
6219
6220         * libs/gst/net/gstnettimeprovider.c
6221         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6222         (gst_net_time_provider_set_property)
6223         (gst_net_time_provider_get_property):
6224         API addition: Export "active" as a GObject property.
6225         (gst_net_time_provider_thread): Only respond to time queries if
6226         the time provider is active.
6227
6228         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6229         NetTimeProvider, preserving binary compat.
6230
6231 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6232
6233         * tests/examples/controller/audio-example.c: (main):
6234         * tests/examples/launch/Makefile.am:
6235           convert comments again
6236
6237 2005-12-12  Wim Taymans  <wim@fluendo.com>
6238
6239         * libs/gst/base/gstpushsrc.c:
6240         Fix typo.
6241
6242 2005-12-12  Wim Taymans  <wim@fluendo.com>
6243
6244         * docs/libs/gstreamer-libs-sections.txt:
6245         Added new symbol to docs.
6246
6247         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6248         (gst_base_src_init), (gst_base_src_set_format),
6249         (gst_base_src_default_query), (gst_base_src_query),
6250         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6251         (gst_base_src_perform_seek), (gst_base_src_send_event),
6252         (gst_base_src_default_event), (gst_base_src_event_handler),
6253         (gst_base_src_set_property), (gst_base_src_get_property),
6254         (gst_base_src_wait), (gst_base_src_do_sync),
6255         (gst_base_src_update_length), (gst_base_src_get_range),
6256         (gst_base_src_check_get_range), (gst_base_src_loop),
6257         (gst_base_src_default_negotiate), (gst_base_src_start),
6258         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6259         (gst_base_src_change_state):
6260         * libs/gst/base/gstbasesrc.h:
6261         Implement seeking to other formats than _BYTES.
6262         Implement more seeking methods correctly.
6263         Doc updates.
6264         Added query vmethod.
6265         Added do_seek vmethod to make life easier for subclasses
6266         when seeking.
6267         API addition: gst_base_src_set_format()
6268
6269 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * tests/examples/Makefile.am:
6272           added that too
6273
6274 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6275
6276         * configure.ac:
6277         * docs/random/ensonic/media-device-daemon.txt:
6278         * tests/examples/controller/.cvsignore:
6279         * tests/examples/controller/Makefile.am:
6280         * tests/examples/controller/audio-example.c: (main):
6281         * tests/examples/helloworld/.cvsignore:
6282         * tests/examples/helloworld/Makefile.am:
6283         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6284         * tests/examples/launch/.cvsignore:
6285         * tests/examples/launch/Makefile.am:
6286         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6287         * tests/examples/metadata/.cvsignore:
6288         * tests/examples/metadata/Makefile.am:
6289         * tests/examples/metadata/read-metadata.c: (message_loop),
6290         (make_pipeline), (print_tag), (main):
6291         * tests/examples/queue/.cvsignore:
6292         * tests/examples/queue/Makefile.am:
6293         * tests/examples/queue/queue.c: (event_loop), (main):
6294         * tests/examples/typefind/.cvsignore:
6295         * tests/examples/typefind/Makefile.am:
6296         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6297         (main):
6298         * tests/examples/xml/.cvsignore:
6299         * tests/examples/xml/Makefile.am:
6300         * tests/examples/xml/createxml.c: (object_saved), (main):
6301         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6302         * tests/old/examples/Makefile.am:
6303         * tests/old/examples/TODO:
6304         * tests/old/examples/controller/.cvsignore:
6305         * tests/old/examples/controller/Makefile.am:
6306         * tests/old/examples/controller/audio-example.c:
6307         * tests/old/examples/helloworld/.cvsignore:
6308         * tests/old/examples/helloworld/Makefile.am:
6309         * tests/old/examples/helloworld/helloworld.c:
6310         * tests/old/examples/launch/.cvsignore:
6311         * tests/old/examples/launch/Makefile.am:
6312         * tests/old/examples/launch/mp3parselaunch.c:
6313         * tests/old/examples/launch/mp3play:
6314         * tests/old/examples/manual/Makefile.am:
6315         * tests/old/examples/metadata/Makefile.am:
6316         * tests/old/examples/metadata/read-metadata.c:
6317         * tests/old/examples/queue/.cvsignore:
6318         * tests/old/examples/queue/Makefile.am:
6319         * tests/old/examples/queue/queue.c:
6320         * tests/old/examples/typefind/.cvsignore:
6321         * tests/old/examples/typefind/Makefile.am:
6322         * tests/old/examples/typefind/typefind.c:
6323         * tests/old/examples/xml/.cvsignore:
6324         * tests/old/examples/xml/Makefile.am:
6325         * tests/old/examples/xml/createxml.c:
6326         * tests/old/examples/xml/runxml.c:
6327           applied some simple fixing to some examples
6328           re-enabled the working examples
6329
6330 2005-12-12  Wim Taymans  <wim@fluendo.com>
6331
6332         * gst/gstsegment.c: (gst_segment_init),
6333         (gst_segment_set_last_stop), (gst_segment_set_seek),
6334         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6335         (gst_segment_to_running_time):
6336         Added more documentation.
6337         Make sure the last_pos value is updated properly.
6338         Make sure to_stream_time and to_running_time don't
6339         operate on wrong values.
6340
6341         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6342         Update check.
6343
6344 2005-12-12  Michael Smith  <msmith@fluendo.com>
6345
6346         * plugins/elements/gsttypefindelement.c: (free_entry),
6347         (gst_type_find_element_chain):
6348           Now that we're not leaking factories, make sure we keep references
6349           to them while we need them.
6350
6351 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6352
6353         * tests/check/gst/struct_i386.h:
6354           ifdef out the XML structs
6355
6356 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6357
6358         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6359           floor is not needed, F is always positive; this obviates the
6360           need for adding -lm when building without libxml
6361
6362 2005-12-12  Wim Taymans  <wim@fluendo.com>
6363
6364         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6365         Take current playback rate into account when reporting
6366         the position.
6367
6368 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * docs/manual/mime-world.fig:
6371           Let's try this again, this time with a file that is
6372           actually in XFig format.
6373
6374 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6375
6376         * docs/manual/mime-world.fig:
6377           Add audioconvert element to diagram so that it
6378           matches the text and the code (fixes #319526).
6379
6380 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6381
6382         * docs/pwg/building-chainfn.xml:
6383         * docs/pwg/building-pads.xml:
6384         * docs/pwg/building-state.xml:
6385         * docs/pwg/other-source.xml:
6386           Update state change stuff for 0.10 (fixes #322969).
6387
6388 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6389
6390         * docs/manual/advanced-dataaccess.xml:
6391         * docs/manual/appendix-checklist.xml:
6392         * docs/manual/appendix-programs.xml:
6393         * docs/manual/basics-pads.xml:
6394         * docs/manual/highlevel-components.xml:
6395         * docs/manual/manual.xml:
6396           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6397           add converters in front of pipelines; remove curly
6398           brackets for threads stuff, they no longer exist; use
6399           GST_TYPE_FRACTION for framerates; update some pieces of
6400           code to 0.10, but there's plenty more to do.
6401
6402         * docs/manual/appendix-porting.xml:
6403           Expand on asynchroneous state changes; s/0.9/0.10/;
6404           mention disappearance of gst_init_get_popt_table()
6405           (fixes #322916).
6406
6407 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6408
6409         * docs/faq/using.xml:
6410           Spider no longer exists, and neither does gst-launch-ext.
6411           Update examples to use decodebin and playbin and put
6412           converters in front of sinks (fixes #323726).
6413
6414 2005-12-09  Michael Smith  <msmith@fluendo.com>
6415
6416         * plugins/elements/gsttypefindelement.c: (find_peek),
6417         (gst_type_find_element_chain):
6418           Fix leaking element factories in typefinding.
6419           Fix problem where we forgot about a probable type on non-seekable
6420           files, and thus later mis-typefound it.
6421
6422 2005-12-09  Michael Smith  <msmith@fluendo.com>
6423
6424         * common/m4/gst-makecontext.m4:
6425         * common/m4/gst-mcsc.m4:
6426         * configure.ac:
6427         * win32/common/config.h:
6428         * win32/common/config.h.in:
6429           Remove makecontext stuff; not used in 0.10 and causes problems on
6430           HPUX according to bug #322441
6431
6432 2005-12-07  Wim Taymans  <wim@fluendo.com>
6433
6434         * tests/check/Makefile.am:
6435         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6436         (main):
6437         * tests/check/libs/struct_i386.h:
6438         Added ABI check for libs
6439
6440 2005-12-07  Wim Taymans  <wim@fluendo.com>
6441
6442         * tests/check/Makefile.am:
6443         And add the struct_i386.h to dist.
6444
6445 2005-12-07  Wim Taymans  <wim@fluendo.com>
6446
6447         * tests/check/Makefile.am:
6448         * tests/check/gst/.cvsignore:
6449         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6450         (main):
6451         * tests/check/gst/struct_i386.h:
6452         Added check for ABI compatibility.
6453
6454 2005-12-07  Wim Taymans  <wim@fluendo.com>
6455
6456         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6457         (gst_fake_src_get_times), (gst_fake_src_create):
6458         Fix broken sync option, fixes #323259
6459
6460 2005-12-07  Wim Taymans  <wim@fluendo.com>
6461
6462         * gst/gstbuffer.c:
6463         Small docs update.
6464
6465         * gst/gstcaps.c: (gst_caps_is_equal):
6466         Don't assert on NULL <--> X. Fixes #323260
6467
6468         * gst/gstminiobject.c: (gst_mini_object_replace):
6469         If we're doing atomic operations, we might just as well use
6470         the proper way to get an atomic pointer.
6471
6472         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6473         Clean up debugging.
6474
6475 2005-12-07  Michael Smith  <msmith@fluendo.com>
6476
6477         * gst/parse/grammar.y:
6478           Remove handling of { } for threads.
6479
6480 2005-12-06  David Schleef  <ds@schleef.org>
6481
6482         * libs/gst/base/gstbasetransform.c: speling fix.
6483
6484 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6485
6486         * docs/libs/tmpl/gstdataprotocol.sgml:
6487         * docs/random/omega/testing/gstobject.c:
6488         * gst/gst.c:
6489         * gst/gstclock.c:
6490         * gst/gstelement.c:
6491         * gst/gstelementfactory.c:
6492         * gst/gsterror.c:
6493         * gst/gstevent.c:
6494         * gst/gstghostpad.c:
6495         * gst/gstinfo.c:
6496         * gst/gstpadtemplate.c:
6497         * gst/gstregistryxml.c:
6498         * gst/gsttaglist.c:
6499         * gst/gsttagsetter.c:
6500         * gst/gsttypefind.c:
6501         * gst/gstvalue.c:
6502         * libs/gst/base/gstbasesrc.c:
6503         * libs/gst/net/gstnetclientclock.c:
6504         * libs/gst/net/gstnettimeprovider.c:
6505         * plugins/elements/gstfakesrc.c:
6506         * plugins/elements/gstfdsrc.c:
6507         * plugins/elements/gstfilesrc.c:
6508         * plugins/elements/gstidentity.c:
6509         * plugins/elements/gstqueue.c:
6510         * plugins/elements/gsttypefindelement.c:
6511         * plugins/indexers/gstfileindex.c:
6512         * plugins/indexers/gstmemindex.c:
6513         * tests/check/gst/gsttag.c:
6514         * tests/old/examples/cutter/cutter.c:
6515         * tests/old/examples/mixer/mixer.c:
6516         * tests/old/examples/xml/runxml.c: (main):
6517         * tests/old/testsuite/caps/normalisation.c:
6518         * tests/old/testsuite/debug/global.c:
6519         * tests/old/testsuite/parse/parse1.c:
6520         * tools/gst-xmlinspect.c:
6521         * win32/common/dirent.c:
6522           expand tabs
6523
6524 === release 0.10.0 ===
6525
6526 2005-12-05   <thomas (at) apestaart (dot) org>
6527
6528         * configure.ac:
6529           releasing 0.10.0, "Maroilles"
6530
6531 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6532
6533         submitted by: Funda Wang <fundawang@linux.net.cn>
6534
6535         * po/LINGUAS:
6536         * po/zh_CN.po:
6537           added Chinese (Traditional) translation
6538
6539 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6540
6541         * docs/gst/gstreamer-sections.txt:
6542         * docs/libs/tmpl/gstdataprotocol.sgml:
6543         * docs/random/thomasvs/TODO:
6544         * gst/gstutils.c:
6545         * gst/gstutils.h:
6546           fix docs
6547
6548 2005-12-05  Andy Wingo  <wingo@pobox.com>
6549
6550         patch by: Wim Taymans <wim@fluendo.com>
6551
6552         * libs/gst/base/gstbasetransform.c
6553         (gst_base_transform_prepare_output_buf)
6554         (gst_base_transform_buffer_alloc):
6555         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6556         alloc_buffer_and_set_caps.
6557
6558         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6559         set_caps on the source pad.
6560         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6561         alloc_buffer used to do. Fixes #322874.
6562
6563         * docs/gst/gstreamer-sections.txt: 
6564         * docs/design/part-negotiation.txt: 
6565         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6566         changes.
6567
6568 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6569
6570         patch by: Sebastien Moutte
6571
6572         * win32/MANIFEST:
6573         * win32/common/config.h.in:
6574         * win32/vs6/libgstcontroller.dsp:
6575           win32 build fixes
6576
6577 2005-12-05  Wim Taymans  <wim@fluendo.com>
6578
6579         * gst/gstcaps.c: (gst_caps_is_equal):
6580         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6581         (gst_fake_src_create):
6582         Back out previous code changes, leave doc updates, file bugs 
6583         instead. 
6584
6585 2005-12-05  Wim Taymans  <wim@fluendo.com>
6586
6587         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6588         (gst_fake_src_get_times), (gst_fake_src_create):
6589         * plugins/elements/gstfakesrc.h:
6590         Fix broken sync code.
6591
6592 2005-12-05  Wim Taymans  <wim@fluendo.com>
6593
6594         * gst/gstcaps.c: (gst_caps_is_equal):
6595         Comparing NULL against !NULL yields different caps, not a
6596         failure.
6597
6598 2005-12-05  Wim Taymans  <wim@fluendo.com>
6599
6600         * gst/gstpipeline.c:
6601         Fix small typo in docs.
6602
6603 2005-12-05  Andy Wingo  <wingo@pobox.com>
6604
6605         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6606
6607         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6608         registries/plugins with a MAJORMINOR one.
6609         (plugin_desc): Rename library from gstcoreleements to
6610         staticelements. Fixes #323222.
6611
6612 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6613
6614         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6615           Change debug category to 'collectpads' from 'collect_pads'
6616           (fixes #323250).
6617
6618 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         patch by: Sebastien Moutte
6621
6622         * libs/gst/controller/gstinterpolation.c:
6623           use convert function for uint64/double
6624         * win32/vs6/libgstcontroller.dsp:
6625           link to GLib
6626
6627 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6628
6629         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6630         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6631         * gst/gstutils.h:
6632         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6633           add tests that seem to show that the guint64/gdouble conversions
6634           are correct.
6635
6636 2005-12-02  Wim Taymans  <wim@fluendo.com>
6637
6638         * gst/gstregistry.c: (gst_registry_add_path):
6639         * gst/gstregistry.h:
6640         * gst/gstregistryxml.c:
6641         Fix docs again.
6642
6643 2005-12-02  Wim Taymans  <wim@fluendo.com>
6644
6645         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6646         (gst_util_uint64_scale_int):
6647         Small cleanup.
6648
6649         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6650         Add debug log line.
6651
6652         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6653         Add FIXME.
6654
6655 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6656
6657         * win32/MANIFEST:
6658         * win32/common/config.h:
6659         * win32/vs6/gstreamer.dsw:
6660         * win32/vs6/libgstcoreelements.dsp:
6661         * win32/vs6/libgstelements.dsp:
6662           renamed core elements plugin
6663
6664 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6665
6666         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6667         (get_candidates):
6668           do piece-wise major/minor comparison so 0.9 < 0.10
6669           also allow .exe extensions for tools
6670
6671 2005-12-02  Michael Smith  <msmith@fluendo.com>
6672
6673         * gst/gst.c:
6674           Escape a % to make gtkdoc happier; bug 322958.
6675
6676 === release 0.9.7 ===
6677
6678 2005-12-01   <thomas (at) apestaart (dot) org>
6679
6680         * configure.ac:
6681           releasing 0.9.7, "My Dog Has No Nose"
6682
6683 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6684
6685         * common/gst-xmlinspect.py:
6686         * configure.ac:
6687         * docs/libs/tmpl/gstdataprotocol.sgml:
6688         * docs/random/release:
6689         * po/af.po:
6690         * po/az.po:
6691         * po/bg.po:
6692         * po/ca.po:
6693         * po/cs.po:
6694         * po/de.po:
6695         * po/en_GB.po:
6696         * po/fr.po:
6697         * po/it.po:
6698         * po/nb.po:
6699         * po/nl.po:
6700         * po/ru.po:
6701         * po/sq.po:
6702         * po/sr.po:
6703         * po/sv.po:
6704         * po/tr.po:
6705         * po/uk.po:
6706         * po/vi.po:
6707         * win32/common/config.h:
6708         * win32/common/config.h.in:
6709         * win32/vs6/gst_inspect.dsp:
6710         * win32/vs6/gst_launch.dsp:
6711         * win32/vs6/libgstbase.dsp:
6712         * win32/vs6/libgstelements.dsp:
6713         * win32/vs6/libgstreamer.dsp:
6714         * win32/vs7/GStreamer.vcproj:
6715         * win32/vs7/gst-inspect.vcproj:
6716         * win32/vs7/gst-launch.vcproj:
6717         * win32/vs7/libgstbase.vcproj:
6718           bump GST_MAJORMINOR to 0.10
6719           reset libtool version
6720
6721 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6722
6723         * po/LINGUAS:
6724         * po/bg.po:
6725           Added Bulgarian translation by (Alexander Shopov)
6726
6727 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6728
6729         * tests/check/gst/gstplugin.c:
6730           fix test
6731
6732 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6733
6734         * common/gst-xmlinspect.py:
6735         * common/gtk-doc-plugins.mak:
6736         * configure.ac:
6737         * docs/Makefile.am:
6738         * docs/gst/Makefile.am:
6739         * docs/gst/gstreamer-docs.sgml:
6740         * docs/gst/gstreamer-sections.txt:
6741         * docs/gst/gstreamer.types:
6742         * docs/gst/gstreamer.types.in:
6743         * docs/plugins/Makefile.am:
6744         * docs/plugins/gstreamer-plugins-docs.sgml:
6745         * docs/plugins/gstreamer-plugins-sections.txt:
6746         * docs/plugins/gstreamer-plugins.types:
6747         * docs/plugins/inspect.stamp:
6748         * docs/plugins/inspect/plugin-coreelements.xml:
6749         * docs/plugins/inspect/plugin-coreindexers.xml:
6750         * docs/plugins/scanobj-build.stamp:
6751         * gstreamer.spec.in:
6752         * plugins/elements/Makefile.am:
6753         * plugins/elements/gstelements.c:
6754         * plugins/elements/gstfakesink.c:
6755         * plugins/elements/gstfakesrc.c:
6756         * plugins/elements/gstfilesink.c:
6757         * plugins/elements/gstfilesrc.c:
6758         * plugins/elements/gstqueue.c:
6759         * plugins/indexers/Makefile.am:
6760         * plugins/indexers/gstindexers.c:
6761           document core plugins in a separate document just like all the
6762           others
6763           rename these plugins to something starting with core
6764
6765 2005-12-01  Andy Wingo  <wingo@pobox.com>
6766
6767         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6768         padding here before, but it missed the commit.
6769
6770 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6771
6772         * libs/gst/controller/gstinterpolation.c:
6773           whitespace prices have crashed, we should feel free to use some now
6774           use gst_guint64_to_gdouble
6775
6776 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6777
6778         * libs/gst/controller/gstcontroller.c:
6779         * libs/gst/controller/gsthelper.c:
6780         * libs/gst/controller/gstinterpolation.c:
6781         * libs/gst/controller/lib.c:
6782           wrap config.h include
6783
6784 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6785
6786         * docs/gst/gstreamer-sections.txt:
6787           update docs
6788
6789 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6790
6791         * plugins/elements/gstelements.c:
6792         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6793         (gst_fd_sink__class_init), (gst_fd_sink__init),
6794         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6795         (gst_fd_sink__get_property):
6796         * plugins/elements/gstfdsink.h:
6797         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6798         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6799         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6800         (gst_fd_src_unlock), (gst_fd_src_set_property),
6801         (gst_fd_src_get_property), (gst_fd_src_create),
6802         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6803         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6804         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6805         (gst_fd_src_uri_handler_init):
6806         * plugins/elements/gstfdsrc.h:
6807         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6808           more anal cleanup
6809
6810 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6811
6812         * docs/gst/Makefile.am:
6813         * docs/gst/gstreamer.types.in:
6814         * gst/Makefile.am:
6815           fix the docs build
6816
6817 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6818
6819         * configure.ac:
6820         * gst/Makefile.am:
6821         * gst/gst.c:
6822         * gst/gstplugin.h:
6823         * gst/gstregistry.h:
6824         * tests/benchmarks/complexity.c:
6825         * tests/benchmarks/mass-elements.c:
6826         * tests/check/Makefile.am:
6827         * tools/Makefile.am:
6828         * tools/gst-inspect.c:
6829         * tools/gst-xmlinspect.c:
6830           various fixes to make
6831           --disable-nls --disable-registry --disable-loadsave
6832           --disable-parse --disable-gst-debug
6833           work and get the core .so down to 360444 bytes after stripping
6834
6835 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6836
6837         * Makefile.am:
6838         * configure.ac:
6839           descend into tests
6840         * docs/random/thomasvs/TODO:
6841         * tests/Makefile.am:
6842         * tests/README:
6843           add a README
6844
6845 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6846
6847         * win32/GStreamer.vcproj:
6848         * win32/MANIFEST:
6849         * win32/Makefile:
6850         * win32/Makefile.inspect:
6851         * win32/Makefile.launch:
6852         * win32/Makefile.register:
6853         * win32/README.txt:
6854         * win32/gst-inspect.vcproj:
6855         * win32/gst-launch.vcproj:
6856         * win32/gst-register.vcproj:
6857         * win32/gstelements.vcproj:
6858         * win32/gstgetbits.def:
6859         * win32/gstgetbits.vcproj:
6860         * win32/gstreamer-dbg.def:
6861         * win32/gstreamer.def:
6862         * win32/libgstbase.def:
6863         * win32/libgstbase.vcproj:
6864         * win32/link_oldruntime.c:
6865         * win32/mman.c:
6866         * win32/mman.h:
6867         * win32/mman.inl:
6868         * win32/msvc71.sln:
6869           move even more stuff, win32/ is nice and clean now
6870
6871 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6872
6873         * libs/gst/control/.cvsignore:
6874         * win32/MANIFEST:
6875         * win32/config.h:
6876         * win32/dirent.c:
6877         * win32/dirent.h:
6878         * win32/gstbytestream.def:
6879         * win32/gstbytestream.vcproj:
6880         * win32/gstconfig.h:
6881         * win32/gstenumtypes.c:
6882         * win32/gstenumtypes.h:
6883         * win32/gstoptimalscheduler.vcproj:
6884         * win32/gstversion.h:
6885         * win32/gtchar.h:
6886         * win32/testsuite/bins.vcproj:
6887         * win32/testsuite/bytestream.vcproj:
6888         * win32/testsuite/caps.vcproj:
6889         * win32/testsuite/cleanup.vcproj:
6890         * win32/testsuite/clock.vcproj:
6891         * win32/testsuite/debug.vcproj:
6892         * win32/testsuite/dlopen.vcproj:
6893         * win32/testsuite/dynparams.vcproj:
6894         * win32/testsuite/elements.vcproj:
6895         * win32/testsuite/ghostpads.vcproj:
6896         * win32/testsuite/indexers.vcproj:
6897         * win32/testsuite/negotiation.vcproj:
6898         * win32/testsuite/parse.vcproj:
6899         * win32/testsuite/plugin.vcproj:
6900         * win32/testsuite/refcounting.vcproj:
6901         * win32/testsuite/schedulers.vcproj:
6902         * win32/testsuite/states.vcproj:
6903         * win32/testsuite/tags.vcproj:
6904         * win32/testsuite/threads.vcproj:
6905           remove old win32 stuff that isn't maintained and should be
6906           reorganized
6907
6908 2005-11-30  Andy Wingo  <wingo@pobox.com>
6909
6910         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6911         loading the gst.interfaces python module bork.
6912
6913         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6914         available since GLib 2.2. Fixes #318031.
6915
6916 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6917
6918         * Makefile.am:
6919         * check/.cvsignore:
6920         * check/Makefile.am:
6921         * check/elements/.cvsignore:
6922         * check/elements/fakesrc.c:
6923         * check/elements/fdsrc.c:
6924         * check/elements/identity.c:
6925         * check/generic/.cvsignore:
6926         * check/generic/states.c:
6927         * check/gst-libs/.cvsignore:
6928         * check/gst-libs/controller.c:
6929         * check/gst-libs/gdp.c:
6930         * check/gst/.cvsignore:
6931         * check/gst/capslist.h:
6932         * check/gst/gst.c:
6933         * check/gst/gstbin.c:
6934         * check/gst/gstbuffer.c:
6935         * check/gst/gstbus.c:
6936         * check/gst/gstcaps.c:
6937         * check/gst/gstelement.c:
6938         * check/gst/gstevent.c:
6939         * check/gst/gstghostpad.c:
6940         * check/gst/gstiterator.c:
6941         * check/gst/gstmessage.c:
6942         * check/gst/gstminiobject.c:
6943         * check/gst/gstobject.c:
6944         * check/gst/gstpad.c:
6945         * check/gst/gstpipeline.c:
6946         * check/gst/gstplugin.c:
6947         * check/gst/gstsegment.c:
6948         * check/gst/gststructure.c:
6949         * check/gst/gstsystemclock.c:
6950         * check/gst/gsttag.c:
6951         * check/gst/gstutils.c:
6952         * check/gst/gstvalue.c:
6953         * check/net/.cvsignore:
6954         * check/net/gstnetclientclock.c:
6955         * check/net/gstnettimeprovider.c:
6956         * check/pipelines/.cvsignore:
6957         * check/pipelines/cleanup.c:
6958         * check/pipelines/simple_launch_lines.c:
6959         * check/pipelines/stress.c:
6960         * check/states/.cvsignore:
6961         * check/states/sinks.c:
6962         * configure.ac:
6963         * examples/Makefile.am:
6964         * examples/appreader/.cvsignore:
6965         * examples/appreader/Makefile.am:
6966         * examples/appreader/appreader.c:
6967         * examples/controller/.cvsignore:
6968         * examples/controller/Makefile.am:
6969         * examples/controller/audio-example.c:
6970         * examples/cutter/.cvsignore:
6971         * examples/cutter/Makefile.am:
6972         * examples/cutter/cutter.c:
6973         * examples/cutter/cutter.h:
6974         * examples/events/Makefile.am:
6975         * examples/events/seek.c:
6976         * examples/helloworld/.cvsignore:
6977         * examples/helloworld/Makefile.am:
6978         * examples/helloworld/helloworld.c:
6979         * examples/helloworld2/.cvsignore:
6980         * examples/helloworld2/Makefile.am:
6981         * examples/helloworld2/helloworld2.c:
6982         * examples/launch/.cvsignore:
6983         * examples/launch/Makefile.am:
6984         * examples/launch/mp3parselaunch.c:
6985         * examples/launch/mp3play:
6986         * examples/manual/.cvsignore:
6987         * examples/manual/Makefile.am:
6988         * examples/manual/extract.pl:
6989         * examples/metadata/Makefile.am:
6990         * examples/metadata/read-metadata.c:
6991         * examples/mixer/.cvsignore:
6992         * examples/mixer/Makefile.am:
6993         * examples/mixer/mixer.c:
6994         * examples/mixer/mixer.h:
6995         * examples/pingpong/.cvsignore:
6996         * examples/pingpong/Makefile.am:
6997         * examples/pingpong/pingpong.c:
6998         * examples/plugins/.cvsignore:
6999         * examples/plugins/Makefile.am:
7000         * examples/plugins/example.c:
7001         * examples/plugins/example.h:
7002         * examples/pwg/.cvsignore:
7003         * examples/pwg/Makefile.am:
7004         * examples/pwg/extract.pl:
7005         * examples/queue/.cvsignore:
7006         * examples/queue/Makefile.am:
7007         * examples/queue/queue.c:
7008         * examples/queue2/.cvsignore:
7009         * examples/queue2/Makefile.am:
7010         * examples/queue2/queue2.c:
7011         * examples/queue3/.cvsignore:
7012         * examples/queue3/Makefile.am:
7013         * examples/queue3/queue3.c:
7014         * examples/queue4/.cvsignore:
7015         * examples/queue4/Makefile.am:
7016         * examples/queue4/queue4.c:
7017         * examples/retag/.cvsignore:
7018         * examples/retag/Makefile.am:
7019         * examples/retag/retag.c:
7020         * examples/retag/transcode.c:
7021         * examples/thread/.cvsignore:
7022         * examples/thread/Makefile.am:
7023         * examples/thread/thread.c:
7024         * examples/typefind/.cvsignore:
7025         * examples/typefind/Makefile.am:
7026         * examples/typefind/typefind.c:
7027         * examples/xml/.cvsignore:
7028         * examples/xml/Makefile.am:
7029         * examples/xml/createxml.c:
7030         * examples/xml/runxml.c:
7031         * tests/Makefile.am:
7032         * tests/check/Makefile.am:
7033         * testsuite/.cvsignore:
7034         * testsuite/Makefile.am:
7035         * testsuite/Rules:
7036         * testsuite/caps/.cvsignore:
7037         * testsuite/caps/Makefile.am:
7038         * testsuite/caps/app_fixate.c:
7039         * testsuite/caps/audioscale.c:
7040         * testsuite/caps/caps.c:
7041         * testsuite/caps/caps.h:
7042         * testsuite/caps/caps_strings:
7043         * testsuite/caps/compatibility.c:
7044         * testsuite/caps/deserialize.c:
7045         * testsuite/caps/enumcaps.c:
7046         * testsuite/caps/eratosthenes.c:
7047         * testsuite/caps/filtercaps.c:
7048         * testsuite/caps/fixed.c:
7049         * testsuite/caps/fraction-convert.c:
7050         * testsuite/caps/fraction-multiply-and-zero.c:
7051         * testsuite/caps/intersect2.c:
7052         * testsuite/caps/intersection.c:
7053         * testsuite/caps/normalisation.c:
7054         * testsuite/caps/random.c:
7055         * testsuite/caps/renegotiate.c:
7056         * testsuite/caps/sets.c:
7057         * testsuite/caps/simplify.c:
7058         * testsuite/caps/string-conversions.c:
7059         * testsuite/caps/structure.c:
7060         * testsuite/caps/subtract.c:
7061         * testsuite/caps/union.c:
7062         * testsuite/debug/.cvsignore:
7063         * testsuite/debug/Makefile.am:
7064         * testsuite/debug/category.c:
7065         * testsuite/debug/commandline.c:
7066         * testsuite/debug/global.c:
7067         * testsuite/debug/output.c:
7068         * testsuite/debug/printf_extension.c:
7069         * testsuite/dlopen/.cvsignore:
7070         * testsuite/dlopen/Makefile.am:
7071         * testsuite/dlopen/dlopen_gst.c:
7072         * testsuite/dlopen/loadgst.c:
7073         * testsuite/elements/.cvsignore:
7074         * testsuite/elements/Makefile.am:
7075         * testsuite/elements/gst-inspect-check.in:
7076         * testsuite/elements/struct_i386.h:
7077         * testsuite/elements/struct_size.c:
7078         * testsuite/indexers/.cvsignore:
7079         * testsuite/indexers/Makefile.am:
7080         * testsuite/indexers/cache1.c:
7081         * testsuite/indexers/indexdump.c:
7082         * testsuite/parse/.cvsignore:
7083         * testsuite/parse/Makefile.am:
7084         * testsuite/parse/parse1.c:
7085         * testsuite/parse/parse2.c:
7086         * testsuite/plugin/.cvsignore:
7087         * testsuite/plugin/Makefile.am:
7088         * testsuite/plugin/README:
7089         * testsuite/plugin/dynamic.c:
7090         * testsuite/plugin/linked.c:
7091         * testsuite/plugin/loading.c:
7092         * testsuite/plugin/registry.c:
7093         * testsuite/plugin/static.c:
7094         * testsuite/plugin/static2.c:
7095         * testsuite/plugin/testplugin.c:
7096         * testsuite/plugin/testplugin2.c:
7097         * testsuite/plugin/testplugin2_s.c:
7098         * testsuite/plugin/testplugin_s.c:
7099         * testsuite/refcounting/.cvsignore:
7100         * testsuite/refcounting/Makefile.am:
7101         * testsuite/refcounting/bin.c:
7102         * testsuite/refcounting/element.c:
7103         * testsuite/refcounting/element_pad.c:
7104         * testsuite/refcounting/mainloop.c:
7105         * testsuite/refcounting/mem.c:
7106         * testsuite/refcounting/mem.h:
7107         * testsuite/refcounting/object.c:
7108         * testsuite/refcounting/pad.c:
7109         * testsuite/refcounting/sched.c:
7110         * testsuite/refcounting/thread.c:
7111         * testsuite/states/.cvsignore:
7112         * testsuite/states/Makefile.am:
7113         * testsuite/states/bin.c:
7114         * testsuite/states/locked.c:
7115         * testsuite/states/parent.c:
7116         * testsuite/threads/.cvsignore:
7117         * testsuite/threads/159566.c:
7118         * testsuite/threads/159852.c:
7119         * testsuite/threads/Makefile.am:
7120         * testsuite/threads/queue.c:
7121         * testsuite/threads/signals.c:
7122         * testsuite/threads/staticrec.c:
7123         * testsuite/threads/thread.c:
7124         * testsuite/threads/threadb.c:
7125         * testsuite/threads/threadc.c:
7126         * testsuite/threads/threadd.c:
7127         * testsuite/threads/threade.c:
7128         * testsuite/threads/threadf.c:
7129         * testsuite/threads/threadg.c:
7130         * testsuite/threads/threadh.c:
7131         * testsuite/threads/threadi.c:
7132           move all of these under tests
7133
7134 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7135
7136         * configure.ac:
7137         * tests/Makefile.am:
7138           fix distcheck
7139
7140 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7141
7142         * docs/gst/gstreamer-sections.txt:
7143         * tests/sched/.cvsignore:
7144         * tests/sched/Makefile.am:
7145         * tests/sched/cases/(fs-fs).xml:
7146         * tests/sched/cases/(fs-i-fs).xml:
7147         * tests/sched/cases/(fs-i-i-fs).xml:
7148         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7149         * tests/sched/dynamic-pipeline.c:
7150         * tests/sched/interrupt1.c:
7151         * tests/sched/interrupt2.c:
7152         * tests/sched/interrupt3.c:
7153         * tests/sched/runtestcases:
7154         * tests/sched/runxml.c:
7155         * tests/sched/sched-stress.c:
7156         * tests/sched/sort.c:
7157         * tests/sched/testcases:
7158         * tests/sched/testcases1.tc:
7159         * tests/seeking/.cvsignore:
7160         * tests/seeking/Makefile.am:
7161         * tests/seeking/seeking1.c:
7162         * tests/threadstate/.cvsignore:
7163         * tests/threadstate/Makefile.am:
7164         * tests/threadstate/test1.c:
7165         * tests/threadstate/test2.c:
7166         * tests/threadstate/threadstate1.c:
7167         * tests/threadstate/threadstate2.c:
7168         * tests/threadstate/threadstate3.c:
7169         * tests/threadstate/threadstate4.c:
7170         * tests/threadstate/threadstate5.c:
7171           remove obsolete tests
7172         * configure.ac:
7173         * tests/bench-complexity.scm:
7174         * tests/bench-mass_elements.scm:
7175         * tests/complexity.c:
7176         * tests/complexity.gnuplot:
7177         * tests/instantiate/.cvsignore:
7178         * tests/instantiate/Makefile.am:
7179         * tests/instantiate/caps.c:
7180         * tests/mass_elements.c:
7181         * tests/network-clock-utils.scm:
7182         * tests/network-clock.scm:
7183         * tests/plot-data:
7184         First pass at cleaning up tests/ dir before moving the rest
7185         Combined with CVS surgery
7186
7187 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7188
7189         * po/POTFILES.in:
7190           queue has moved, update
7191
7192 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7193
7194         * docs/gst/gstreamer-sections.txt:
7195           remove double entries from the docs
7196         * gst/gst_private.h:
7197         * gst/gstinfo.c: (_gst_debug_init):
7198           remove the THREAD debug category
7199         * gst/Makefile.am:
7200         * gst/gstqueue.c:
7201         * gst/gstqueue.h:
7202         * docs/gst/gstreamer.types:
7203         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7204         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7205           completely move queue and fix up debugging categories
7206
7207 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7208
7209         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7210           make initialization portable, using LL is not
7211
7212 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7213
7214         * win32/common/gstconfig.h:
7215           add large padding
7216
7217 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7218
7219         * win32/common/libgstreamer.def:
7220           rename symbols; sort base section
7221
7222 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7223
7224         * gst/gstclock.c: (do_linear_regression):
7225           remove crack non-portable handrolled DEBUG macro
7226
7227 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7228
7229         * docs/random/release:
7230           update notes
7231         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7232         (gst_object_flags_get_type), (register_gst_bin_flags),
7233         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7234         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7235         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7236         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7237         (gst_caps_flags_get_type), (register_gst_clock_return),
7238         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7239         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7240         (gst_clock_flags_get_type), (register_gst_state),
7241         (gst_state_get_type), (register_gst_state_change_return),
7242         (gst_state_change_return_get_type), (register_gst_state_change),
7243         (gst_state_change_get_type), (register_gst_element_flags),
7244         (gst_element_flags_get_type), (register_gst_core_error),
7245         (gst_core_error_get_type), (register_gst_library_error),
7246         (gst_library_error_get_type), (register_gst_resource_error),
7247         (gst_resource_error_get_type), (register_gst_stream_error),
7248         (gst_stream_error_get_type), (register_gst_event_type_flags),
7249         (gst_event_type_flags_get_type), (register_gst_event_type),
7250         (gst_event_type_get_type), (register_gst_seek_type),
7251         (gst_seek_type_get_type), (register_gst_seek_flags),
7252         (gst_seek_flags_get_type), (register_gst_format),
7253         (gst_format_get_type), (register_gst_index_certainty),
7254         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7255         (gst_index_entry_type_get_type),
7256         (register_gst_index_lookup_method),
7257         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7258         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7259         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7260         (gst_index_flags_get_type), (register_gst_debug_level),
7261         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7262         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7263         (gst_iterator_result_get_type), (register_gst_iterator_item),
7264         (gst_iterator_item_get_type), (register_gst_message_type),
7265         (gst_message_type_get_type), (register_gst_mini_object_flags),
7266         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7267         (gst_pad_link_return_get_type), (register_gst_flow_return),
7268         (gst_flow_return_get_type), (register_gst_activate_mode),
7269         (gst_activate_mode_get_type), (register_gst_pad_direction),
7270         (gst_pad_direction_get_type), (register_gst_pad_flags),
7271         (gst_pad_flags_get_type), (register_gst_pad_presence),
7272         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7273         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7274         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7275         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7276         (gst_plugin_flags_get_type), (register_gst_rank),
7277         (gst_rank_get_type), (register_gst_query_type),
7278         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7279         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7280         (gst_tag_flag_get_type), (register_gst_task_state),
7281         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7282         (gst_alloc_trace_flags_get_type),
7283         (register_gst_type_find_probability),
7284         (gst_type_find_probability_get_type), (register_gst_uri_type),
7285         (gst_uri_type_get_type), (register_gst_parse_error),
7286         (gst_parse_error_get_type):
7287         * win32/common/gstenumtypes.h:
7288         * win32/common/gstversion.h:
7289           update visual studio generated files
7290
7291 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7292
7293         * win32/vs6/libgstbase.dsp:
7294         * win32/vs6/libgstelements.dsp:
7295           update project files for new locations
7296
7297 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7298
7299         * Makefile.am:
7300           remove some files
7301         * README:
7302           reinstate and update
7303         * DEVEL:
7304         * REQUIREMENTS:
7305           removed
7306         * LICENSE:
7307         * docs/random/LICENSE:
7308           moved to random
7309
7310 2005-11-30  Edward Hervey  <edward@fluendo.com>
7311
7312         * gst/gsttypefind.c: (gst_type_find_register):
7313         * gst/gsttypefind.h:
7314         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7315         (gst_type_find_factory_dispose):
7316         * gst/gsttypefindfactory.h:
7317         Fix memory leak in GstTypeFindFactory.
7318
7319 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7320
7321         * gst/gst.c:
7322         * plugins/elements/Makefile.am:
7323         * plugins/elements/gstelements.c:
7324         * plugins/elements/gstqueue.c:
7325           move queue from core to the elements plugin
7326
7327 2005-11-29  Andy Wingo  <wingo@pobox.com>
7328
7329         * libs/gst/base/gstbasetransform.h: 
7330         * libs/gst/base/gstbasesrc.h: 
7331         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7332
7333         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7334         of pointers by which to pad very extensible base classes (like the
7335         ones in libs/gst/base).
7336
7337 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7338
7339         * docs/gst/gstreamer-docs.sgml:
7340         * docs/gst/gstreamer-sections.txt:
7341         * docs/libs/gstreamer-libs-docs.sgml:
7342         * docs/libs/gstreamer-libs-sections.txt:
7343           moving documentation from core to lib
7344
7345 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7346
7347         * check/Makefile.am:
7348         * configure.ac:
7349         * docs/gst/Makefile.am:
7350         * gst/Makefile.am:
7351         * gst/base/.cvsignore:
7352         * gst/base/Makefile.am:
7353         * gst/base/README:
7354         * gst/base/gstadapter.c:
7355         * gst/base/gstadapter.h:
7356         * gst/base/gstbasesink.c:
7357         * gst/base/gstbasesink.h:
7358         * gst/base/gstbasesrc.c:
7359         * gst/base/gstbasesrc.h:
7360         * gst/base/gstbasetransform.c:
7361         * gst/base/gstbasetransform.h:
7362         * gst/base/gstcollectpads.c:
7363         * gst/base/gstcollectpads.h:
7364         * gst/base/gstpushsrc.c:
7365         * gst/base/gstpushsrc.h:
7366         * gst/base/gsttypefindhelper.c:
7367         * gst/base/gsttypefindhelper.h:
7368         * gst/check/Makefile.am:
7369         * gst/check/gstcheck.c:
7370         * gst/check/gstcheck.h:
7371         * gst/net/Makefile.am:
7372         * gst/net/gstnet.h:
7373         * gst/net/gstnetclientclock.c:
7374         * gst/net/gstnetclientclock.h:
7375         * gst/net/gstnettimepacket.c:
7376         * gst/net/gstnettimepacket.h:
7377         * gst/net/gstnettimeprovider.c:
7378         * gst/net/gstnettimeprovider.h:
7379         * libs/gst/Makefile.am:
7380         * libs/gst/base/Makefile.am:
7381         * libs/gst/base/gstbasetransform.c:
7382         * libs/gst/check/Makefile.am:
7383         * plugins/elements/Makefile.am:
7384         * po/POTFILES.in:
7385           CVS surgery + support to move base, check, and net out of gst
7386           and into libs/gst
7387
7388 2005-11-29  Andy Wingo  <wingo@pobox.com>
7389
7390         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7391
7392         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7393         padding.
7394
7395         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7396
7397         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7398
7399         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7400
7401         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7402         padding; reduces object size by about 30%. We don't expect
7403         anything else to go into gstobject.
7404
7405         * gst/gstminiobject.h (struct _GstMiniObject)
7406         (struct _GstMiniObjectClass): Only one pointer of padding; the
7407         payload is only a pointer and two ints anyway. For the class there
7408         are only two methods as well.
7409         
7410         * gst/gstelement.h (struct _GstElementClass): Removed
7411         the state_changed signal callback, it is not used.
7412
7413 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7414
7415         * docs/gst/gstreamer.types:
7416           fix includes, though they are a little dinky
7417
7418 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7419
7420         * check/Makefile.am:
7421           look in the right place for elements, a lot more chance of
7422           success
7423         * gst/Makefile.am:
7424           remove indexers and elements subdirs
7425         * plugins/Makefile.am:
7426           make indexers conditional
7427
7428 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7429
7430         * Makefile.am:
7431         * configure.ac:
7432         * plugins/elements/Makefile.am:
7433         * plugins/elements/gstcapsfilter.c:
7434         * plugins/elements/gstfilesink.c:
7435         * plugins/elements/gstfilesrc.c:
7436         * plugins/elements/gstidentity.c:
7437         * plugins/indexers/Makefile.am:
7438           do CVS surgery and related build fixery to move elements
7439           and indexers in a new gstreamer/plugins directory, out of the
7440           gst/ directory
7441
7442 2005-11-29  Andy Wingo  <wingo@pobox.com>
7443
7444         * check/Makefile.am:
7445         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7446         * pkgconfig/gstreamer-net.pc.in:
7447         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7448         #322257.
7449
7450 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7451
7452         * tools/Makefile.am:
7453         * tools/gst-complete.1.in:
7454         * tools/gst-complete.c:
7455         * tools/gst-compprep.1.in:
7456         * tools/gst-compprep.c:
7457           removing -compprep and -complete
7458
7459 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7460
7461         * gst/gstevent.c: (gst_event_new_new_segment),
7462         (gst_event_parse_new_segment):
7463         * gst/gstevent.h:
7464           fix #320529 - clean up new_segment API and structure.
7465           Let's hope everyone was using the methods, and not the structure.
7466
7467 2005-11-29  Edward Hervey  <edward@fluendo.com>
7468
7469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7470         (gst_base_sink_event), (gst_base_sink_do_sync),
7471         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7472         Properly handle non GST_FORMAT_TIME segment
7473         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7474         Properly handle non GST_FORMAT_TIME segment
7475         * gst/gstsegment.c:
7476         This function is valid if the accumulator is 0 and the format
7477         is different from the requested format.
7478         
7479 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7480
7481         * docs/gst/gstreamer-sections.txt:
7482         Add gst_query_new_seeking and gst_query_parse_seeking to the
7483         docs.
7484
7485 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7486
7487         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7488           Treat a pad alloc with new caps the same as if we were not
7489           negotiated, in order to allow a changing upstream output
7490           to produce a new format of data.
7491
7492 2005-11-29  Edward Hervey  <edward@fluendo.com>
7493
7494         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7495         (gst_base_transform_event), (gst_base_transform_eventfunc):
7496         The event virtual method is now properly implemented, with a default
7497         handler
7498         Sub classes should call the parent_class event method. They should
7499         return FALSE if they had a problem handling the given event, or don't
7500         want GstBaseTransform to send that even downstream
7501         * gst/elements/gstidentity.c: (gst_identity_class_init),
7502         (gst_identity_init), (gst_identity_event),
7503         (gst_identity_transform_ip), (gst_identity_set_property),
7504         (gst_identity_get_property):
7505         * gst/elements/gstidentity.h:
7506         Added the single-segment boolean property.
7507         If set to TRUE, it will output a single segment of data, starting from
7508         0, will eat up all incoming newsegment, and modify the timestamp of the
7509         buffers accordingly
7510
7511 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7512
7513         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7514           Don't ref NULL target pad (#322751). Improve docs.
7515
7516 2005-11-29  Michael Smith  <msmith@fluendo.com>
7517
7518         * gst/gstregistryxml.c: (load_plugin):
7519           Don't crash if we failed to load a feature from a plugin. 
7520
7521 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7522
7523         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7524         (GST_START_TEST):
7525           use more check API and less GLib API
7526
7527 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7528
7529         * Makefile.am:
7530           don't run checks if we don't have check
7531         * common/check.mak:
7532           remove the registry when running make torture
7533         * docs/gst/gstreamer-sections.txt:
7534           remove second multiply
7535         * gst/gstqueue.c: (gst_queue_loop):
7536           fix a compile warning when disabling debug
7537
7538 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7539
7540         * gst/gstinfo.h:
7541         Hey! Let's print the pad name if the pointer != NULL instead
7542         of when it == NULL :-)
7543
7544 2005-11-28  Wim Taymans  <wim@fluendo.com>
7545
7546         * check/gst/gstutils.c: (GST_START_TEST):
7547         Updated check, add some scaling accuracy checking code.
7548
7549         * gst/gstutils.c: (gst_util_div128_64),
7550         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7551         (gst_util_uint64_scale_int):
7552         Fix 6 times faster division code. Optimize for common 
7553         1/1 and less common X/1 cases.
7554
7555 2005-11-28  Wim Taymans  <wim@fluendo.com>
7556
7557         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7558         More checks.
7559
7560         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7561         (do_linear_regression), (gst_clock_add_observation):
7562         Cleanups.
7563         Release lock when the clock cannot be slaved.
7564         Catch the case where the regression returned an invalid denominator.
7565
7566         * gst/gstutils.c: (gst_util_div128_64_iterate),
7567         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7568         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7569         Add protentially more performant non-iterative 128/64 divide function
7570         that unfortunatly does not work yet.
7571         Shortcut the trivial 0/X = 0 case.
7572         Remove the warnings on overflow.
7573
7574 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7575
7576         * gst/gstplugin.c: (gst_plugin_register_func):
7577           everything causing a plugin not to load should be at least a WARNING
7578
7579 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7580
7581         * docs/random/ensonic/dparams.txt:
7582           some TODOs for the next dev cycle
7583         * libs/gst/controller/gstcontroller.c:
7584         (gst_controlled_property_set_interpolation_mode),
7585         (gst_controlled_property_new):
7586         * libs/gst/controller/gstcontroller.h:
7587           use base type to assign acccessor functions
7588
7589 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7590
7591         * check/Makefile.am:
7592         Oops, that should have been top_srcdir
7593
7594 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7595
7596         * check/Makefile.am:
7597         * check/elements/fdsrc.c: (GST_START_TEST):
7598         Use a cmdline define to specify the location of a file to use for
7599         testing, to avoid breaking distcheck.
7600
7601 2005-11-28  Andy Wingo  <wingo@pobox.com>
7602
7603         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7604
7605 2005-11-28  Edward Hervey  <edward@fluendo.com>
7606
7607         * tools/gst-launch.c: (main):
7608         Clarify the output strings, makes it easier to translate.
7609         Fixes #322626
7610
7611 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7612
7613         * gst/Makefile.am:
7614           don't try and build net if we don't even have <sys/socket.h>
7615
7616 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7617
7618         * check/Makefile.am:
7619         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7620         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7621           Add tests for fdsrc seekability
7622
7623         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7624         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7625         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7626         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7627         * gst/elements/gstfdsrc.h:
7628           fdsrc should not be a 'live' source.
7629           Implement seeking on seekable fd's.
7630
7631         * gst/gstquery.c: (gst_query_new_seeking),
7632         (gst_query_parse_seeking):
7633         * gst/gstquery.h:
7634           Implement SEEKING query functions: 
7635             *_new_seeking and *_parse_seeking
7636
7637 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7638
7639         * gst/gstelement.c: (gst_element_dispose):
7640           don't loop forever
7641
7642         * gst/gstiterator.c:
7643         * gst/gststructure.c:
7644           doc fixes
7645
7646         * libs/gst/controller/gstcontroller.c:
7647         (gst_controlled_property_set_interpolation_mode):
7648         * libs/gst/controller/gstcontroller.h:
7649         * libs/gst/controller/gstinterpolation.c:
7650         (interpolate_none_get_enum_value_array):
7651           support controlling enums
7652
7653 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7654
7655         * gst/gstvalue.c:
7656           Improve documentation for gst_value_union().
7657
7658         * gst/gstvalue.h:
7659           Change return value for union, intersect and subtract functions
7660           from gint to gboolean.
7661
7662 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7663
7664         * gst/gstvalue.c: (gst_value_serialize_any_list),
7665         (gst_value_transform_any_list_string),
7666         (gst_value_deserialize_list), (gst_value_deserialize_array),
7667         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7668         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7669         (gst_value_set_fraction_range_full),
7670         (gst_value_deserialize_fraction_range),
7671         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7672         (gst_value_deserialize_boolean),
7673         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7674         (gst_value_serialize_float), (gst_value_deserialize_float),
7675         (gst_string_wrap), (gst_value_deserialize_string),
7676         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7677         (gst_value_union_int_range_int_range),
7678         (gst_value_intersect_int_range_int_range),
7679         (gst_value_intersect_double_range_double_range),
7680         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7681         (gst_value_subtract_int_range_int_range),
7682         (gst_value_subtract_double_double_range),
7683         (gst_value_subtract_double_range_double_range),
7684         (gst_value_deserialize_fraction):
7685         * gst/gstvalue.h:
7686           Use gint, gdouble and gchar in our API instead of int, double and
7687           char (and make usage in gstvalue.c more consistent).
7688
7689 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7690
7691         * check/Makefile.am:
7692         * libs/gst/controller/Makefile.am:
7693         * libs/gst/dataprotocol/Makefile.am:
7694           fix up Makefile.am and remove GST_ENABLE_NEW
7695
7696 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7697
7698         * configure.ac:
7699         * gst/Makefile.am:
7700         * gst/base/Makefile.am:
7701         * gst/check/Makefile.am:
7702         * gst/elements/Makefile.am:
7703         * gst/net/Makefile.am:
7704           update LDFLAGS use some more
7705
7706 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7707
7708         * common/m4/gst-doc.m4:
7709           Fixes #312589
7710
7711 2005-11-26  Edward Hervey  <edward@fluendo.com>
7712
7713         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7714         This shouldn't issue a g_warning since it returns NULL if it
7715         couldn't find the plugin, and all functions using this behave
7716         properly on a NULL return. Switching to a GST_WARNING.
7717
7718 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7719
7720         * gst/gstbin.c: (gst_bin_handle_message_func):
7721         Don't leak clock messages.
7722
7723 2005-11-25  Wim Taymans  <wim@fluendo.com>
7724
7725         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7726         (gst_util_uint64_scale_int):
7727         Optimisations, remove unneeded vars.
7728
7729 2005-11-25  Wim Taymans  <wim@fluendo.com>
7730
7731         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7732         Added more checks for the high precision uint64 cases.
7733
7734         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7735         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7736         Implement high precision (guint64 * guint64) / guint64.
7737
7738 2005-11-24  Wim Taymans  <wim@fluendo.com>
7739
7740         * gst/base/gstbasesrc.c: (gst_base_src_query):
7741         Fix wrong percentage query.
7742
7743         * gst/gstutils.c: (gst_util_uint64_scale),
7744         (gst_util_uint64_scale_int):
7745         Add some more common cases that can be handled 
7746         efficiently to _scale.
7747
7748 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7749
7750         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7751         (gst_mini_object_suite):
7752           don't use check calls from threads; check probably isn't
7753           threadsafe and using a lock to make it threadsafe would
7754           defeat the purpose of this check
7755         * gst/check/gstcheck.c:
7756         * gst/check/gstcheck.h:
7757           use GST_DEBUG some more
7758
7759 2005-11-24  Wim Taymans  <wim@fluendo.com>
7760
7761         * gst/gstutils.c: (gst_util_uint64_scale),
7762         (gst_util_uint64_scale_int):
7763         Chain trivial case to _scale_int.
7764
7765 2005-11-24  Wim Taymans  <wim@fluendo.com>
7766
7767         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7768         Added test for scaling.
7769
7770         * gst/gstclock.h:
7771         Small doc fix.
7772
7773         * gst/gstutils.c: (gst_util_uint64_scale_int):
7774         Implemented high precision scaling code.
7775
7776 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7777
7778         * gst/gstinfo.h:
7779           do not crash on pad==NULL
7780
7781 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7782
7783         Patch by: Stefan Kost
7784
7785         * common/gtk-doc.mak:
7786         * docs/gst/Makefile.am:
7787         * docs/libs/Makefile.am:
7788           Fix distcheck issues for the libraries docs build
7789           Closes #319599.
7790
7791 2005-11-24  Michael Smith <msmith@fluendo.com>
7792
7793         * docs/manual/basics-helloworld.xml:
7794           Fix bug #315027: memory leak in example code in docs.
7795
7796 2005-11-24  Michael Smith <msmith@fluendo.com>
7797
7798         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7799           Unlock the PREROLL_LOCK in a failure case.
7800
7801 2005-11-24  Wim Taymans  <wim@fluendo.com>
7802
7803         * docs/gst/gstreamer-sections.txt:
7804         * gst/base/gstadapter.h:
7805         * gst/base/gstbasesink.h:
7806         * gst/base/gstbasesrc.h:
7807         * gst/base/gstbasetransform.h:
7808         * gst/base/gstpushsrc.h:
7809         * gst/elements/gstfakesink.h:
7810         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7811         * gst/elements/gstfakesrc.h:
7812         * gst/elements/gstfilesink.h:
7813         * gst/elements/gstfilesrc.h:
7814         * gst/gst.c:
7815         * gst/gstbin.c:
7816         * gst/gstbuffer.c: (_gst_buffer_copy):
7817         * gst/gstbus.h:
7818         * gst/gstcaps.c:
7819         * gst/gstchildproxy.c:
7820         * gst/gstclock.c:
7821         * gst/gstelement.c:
7822         * gst/gstelementfactory.c:
7823         * gst/gstelementfactory.h:
7824         * gst/gstevent.c:
7825         * gst/gstghostpad.h:
7826         * gst/gstindex.h:
7827         * gst/gstinterface.h:
7828         * gst/gstminiobject.c:
7829         * gst/gstminiobject.h:
7830         * gst/gstpad.c:
7831         * gst/gstpad.h:
7832         * gst/gstpadtemplate.h:
7833         * gst/gstpipeline.h:
7834         * gst/gstpluginfeature.h:
7835         * gst/gstquery.h:
7836         * gst/gstqueue.h:
7837         * gst/gsttaglist.c:
7838         * gst/gsttaglist.h:
7839         * gst/gsttagsetter.c:
7840         * gst/gsttagsetter.h:
7841         * gst/gsttrace.c:
7842         * gst/gsttrace.h:
7843         * gst/gsttypefind.h:
7844         * gst/gsturi.h:
7845         * gst/gstvalue.c:
7846         * gst/net/gstnetclientclock.c:
7847         * gst/net/gstnetclientclock.h:
7848         * gst/net/gstnettimepacket.c:
7849         * gst/net/gstnettimeprovider.c:
7850         * gst/net/gstnettimeprovider.h:
7851         Doc fixes.
7852
7853 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7854
7855         * configure.ac: back to HEAD
7856
7857 === release 0.9.6 ===
7858
7859 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
7860
7861         * configure.ac:
7862           releasing 0.9.6, "Always On Time"
7863
7864 2005-11-23  Wim Taymans  <wim@fluendo.com>
7865
7866         * docs/gst/gstreamer-sections.txt:
7867         * gst/glib-compat.c:
7868         * gst/gsttagsetter.c:
7869         * gst/gstvalue.c:
7870         * gst/net/gstnetclientclock.c:
7871         * gst/net/gstnettimepacket.h:
7872         Doc updates.
7873
7874 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7875
7876         * docs/faq/using.xml:
7877         * docs/libs/tmpl/gstcontrol.sgml:
7878         * docs/manual/advanced-dparams.xml:
7879         * docs/manual/appendix-checklist.xml:
7880         * docs/manual/basics-elements.xml:
7881         * docs/pwg/other-source.xml:
7882         * docs/random/moving-plugins:
7883         * gst/gstpad.c:
7884         * tools/gst-launch.1.in:
7885           remove mentions of sinesrc
7886
7887 2005-11-23  Michael Smith <msmith@fluendo.com>
7888
7889         * docs/gst/gstreamer-sections.txt:
7890           Update for new API and API changes.
7891         * gst/gstobject.h:
7892           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7893         * gst/gstvalue.c:
7894           Documentation typo fix.
7895         * gst/net/gstnettimepacket.c:
7896           Documentation fixes for arguments.
7897
7898 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
7899
7900         * gst/gststructure.c: (gst_structure_get_fraction),
7901         (gst_structure_parse_value),
7902         (gst_structure_fixate_field_nearest_fraction):
7903         * gst/gststructure.h:
7904         * gst/gstutils.c: (gst_util_uint64_scale_int):
7905         * gst/gstutils.h:
7906         * scripts/update-funcnames:
7907         API Changes. 
7908         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7909         Make gst_structure_fixate_field_nearest_fraction take a numerator
7910         and denominator argument instead of a GValue
7911         add gst_structure_get_fraction helper function.
7912
7913 2005-11-23  Wim Taymans  <wim@fluendo.com>
7914
7915         * docs/design/part-TODO.txt:
7916         Update TODO.
7917
7918         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7919         * gst/net/gstnetclientclock.h:
7920         Use parent fields for timeout and window_size.
7921
7922 2005-11-23  Andy Wingo  <wingo@pobox.com>
7923
7924         * check/net/gstnetclientclock.c (test_functioning): Adjust to
7925         rate_num/rate_denom change.
7926
7927         * gst/net/gstnetclientclock.c
7928         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7929         OBJECT_LOCK. Don't call add_observation with the lock.
7930
7931         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7932         fraction.
7933         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7934         rate fraction.
7935         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7936         deal with rate as a fraction whose numerator and denominator are
7937         GstClockTime values.
7938         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7939         master; the other fields are protected by the SLAVE_LOCK.
7940         (do_linear_regression): Note that this must be called with the
7941         SLAVE_LOCK.
7942         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7943         OBJECT_LOCK. Call set_calibration instead of touching the
7944         variables directly.
7945         (gst_clock_set_property, gst_clock_get_property): Protect
7946         master/slave parameters with the SLAVE_LOCK.
7947
7948         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7949         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7950         note that all of the instance variables that add_observation and
7951         the set_master functions use are protected by that lock and not
7952         the OBJECT_LOCK.
7953         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7954
7955         * gst/gstclock.c (gst_clock_add_observation): No longer requires
7956         the caller to take the object lock.
7957
7958 2005-11-23  Wim Taymans  <wim@fluendo.com>
7959
7960         * gst/gsterror.c: (_gst_core_errors_init):
7961         * gst/gsterror.h:
7962         Add error for clock stuff.
7963
7964         * gst/gstpipeline.c: (gst_pipeline_change_state),
7965         (gst_pipeline_set_clock):
7966         Post clock error when clock cannot be used in a pipeline.
7967
7968 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
7969
7970         * docs/gst/gstreamer-sections.txt:
7971           make two symbols from gstinfo private for the docs
7972         * gst/base/gstcollectpads.h:
7973         * gst/gstutils.c:
7974           fix doc typos, update docs
7975
7976 2005-11-22  Wim Taymans  <wim@fluendo.com>
7977
7978         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7979         (gst_base_sink_wait), (gst_base_sink_do_sync),
7980         (gst_base_sink_handle_event):
7981         * gst/base/gstbasesink.h:
7982         No need to store the clock, the parent element class already
7983         has it.
7984
7985         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7986         Updates for clock_set returning a gboolean
7987
7988         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7989         (gst_clock_id_wait_async), (gst_clock_class_init),
7990         (gst_clock_init), (gst_clock_finalize),
7991         (gst_clock_get_internal_time), (gst_clock_get_time),
7992         (gst_clock_slave_callback), (gst_clock_set_master),
7993         (gst_clock_get_master), (do_linear_regression),
7994         (gst_clock_add_observation), (gst_clock_set_property),
7995         (gst_clock_get_property):
7996         * gst/gstclock.h:
7997         Implement master/slave. When setting a clock as a slave, a
7998         periodic timeout is scheduled to sample master and slave times.
7999         Then the slave clock is recalibrated to match offset and rate
8000         of the master clock.
8001         Update logging a bit.
8002         Add flag so that a clock can state that is cannot be slaved to
8003         another clock.
8004
8005         * gst/gstelement.c: (gst_element_set_clock):
8006         * gst/gstelement.h:
8007         The set clock returns a gboolean for when an element cannot
8008         deal with the selected clock in the pipeline. 
8009
8010         * gst/gstpipeline.c: (gst_pipeline_change_state),
8011         (gst_pipeline_set_clock):
8012         * gst/gstpipeline.h:
8013         Handle the case where the selected clock cannot be set on
8014         the pipeline.
8015
8016         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8017         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8018         (gst_net_client_clock_set_property),
8019         (gst_net_client_clock_get_property),
8020         (gst_net_client_clock_observe_times):
8021         * gst/net/gstnetclientclock.h:
8022         Use regression code in GstClock parent, remove duplicated
8023         functionality.
8024
8025 2005-11-22  Michael Smith <msmith@fluendo.com>
8026
8027         * gst/gstutils.c: (gst_util_clock_time_scale):
8028         * gst/gstutils.h:
8029         * docs/gst/gstreamer-sections.txt:
8030           Rename method to have extra underscore.
8031
8032 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8033
8034         * gst/elements/Makefile.am:
8035         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8036         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8037         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8038         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8039         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8040         * gst/elements/gstfakesrc.h:
8041         * gst/gstqueue.c: (queue_leaky_get_type):
8042           correctly fix GEnumValues so that nick is the short lowercase
8043           dashed tag
8044         * tools/gst-inspect.c: (print_element_properties_info):
8045           also show the nick, since it's useful to use from parse_launch
8046           syntax
8047           Fixes #322139
8048
8049 2005-11-22  Michael Smith <msmith@fluendo.com>
8050
8051         * gst/gstutils.c: (gst_util_clocktime_scale):
8052         * gst/gstutils.h:
8053         * docs/gst/gstreamer-sections.txt:
8054           Add util method for scaling a clocktime by a fraction. Useful 
8055           implementation is left as an exercise for the reader.
8056
8057 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8058
8059         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8060         If needed, allocate storage in the destination value during
8061         collection.
8062
8063 2005-11-22  Edward Hervey  <edward@fluendo.com>
8064
8065         * docs/gst/gstreamer-sections.txt:
8066         * gst/Makefile.am:
8067         * gst/gst.h:
8068         * gst/gsturitype.c:
8069         * gst/gsturitype.h:
8070         * gst/gstutils.c: (gst_util_set_object_arg):
8071         * tools/gst-compprep.c: (main):
8072         * tools/gst-inspect.c: (print_element_properties_info):
8073         Removed GstURI, closes bug #321061
8074
8075 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8076
8077         * check/gst/gststructure.c: (GST_START_TEST):
8078         * gst/gststructure.c: (gst_structure_parse_value):
8079           Oops, broke automatic string type parsing.
8080           Add a test to catch it in future.
8081
8082 2005-11-22  Andy Wingo  <wingo@pobox.com>
8083
8084         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8085         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8086         Actually rename the function implementations. Grr.
8087
8088 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8089
8090         * check/gst/capslist.h:
8091           Comment test cases
8092         * check/gst/gststructure.c: (GST_START_TEST),
8093         (gst_structure_suite):
8094           Test automatic value type detection in gst_structure_from_string.
8095         * gst/gststructure.c: (gst_structure_parse_value):
8096           Add fraction as a type we try and guess automatically in
8097           caps/structure strings.
8098
8099 2005-11-22  Andy Wingo  <wingo@pobox.com>
8100
8101         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8102
8103         * gst/gsttagsetter.h:
8104         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8105         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8106         (gst_tag_setter_add_tag_valist)
8107         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8108         _add_values, _add_valist, and _add_valist_values. Since this is an
8109         interface the function suffixes should be more explicit so
8110         language binding don't end up with element.add_valist ->
8111         gst_tag_setter_add_valist, for example. Fixes #322069.
8112
8113 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8114
8115         * check/gst/gstcaps.c: (GST_START_TEST):
8116           Extend caps string tests to check that a caps to string
8117           conversion is reversible and produces the same caps.
8118
8119         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8120           Output "fraction" as the generic type fraction range, so caps
8121           serialisation and deserialisation works.
8122         * check/gst/capslist.h:
8123         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8124           Support 'MIN' and 'MAX' for deserialising fractions.
8125
8126 2005-11-22  Andy Wingo  <wingo@pobox.com>
8127
8128         * gst/gstevent.h (gst_event_new_new_segment)
8129         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8130         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8131         Renamed from *_newsegment, *_buffersize, *_notarget.
8132
8133         * scripts/update-funcnames: New script, performs the changes
8134         listed above.
8135
8136 2005-11-22  Wim Taymans  <wim@fluendo.com>
8137
8138         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8139         Make sure the GstFlowReturn is returned.
8140
8141         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8142         (gst_bus_add_signal_watch):
8143         * gst/gstbus.h:
8144         add gst_bus_add_signal_watch_full.
8145
8146         * gst/gstplugin.c: (gst_plugin_load_file):
8147         Small style cleanup.
8148
8149 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8150
8151         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8152           Block the fakesrc srcpad when we send an event, to avoid
8153           contention on the stream_lock causing random test failures.
8154
8155 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8156
8157         * check/gst/gstvalue.c: (GST_START_TEST):
8158         * gst/gstvalue.c: (gst_value_fraction_subtract):
8159           Fix subtraction.
8160
8161 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8162
8163         * gst/gst.h:
8164           include "gstchildproxy.h"
8165         * gst/gstchildproxy.h:
8166         * libs/gst/controller/gstcontroller.h:
8167           use G_GNUC_NULL_TERMINATED
8168
8169 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8170
8171         * check/gst/capslist.h:
8172         * check/gst/gstcaps.c: (GST_START_TEST):
8173         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8174         * gst/gststructure.c: (gst_structure_parse_range),
8175         (gst_structure_fixate_field_nearest_fraction):
8176         * gst/gststructure.h:
8177         * gst/gstvalue.c: (gst_value_init_fraction_range),
8178         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8179         (gst_value_collect_fraction_range),
8180         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8181         (gst_value_set_fraction_range_full),
8182         (gst_value_get_fraction_range_min),
8183         (gst_value_get_fraction_range_max),
8184         (gst_value_serialize_fraction_range),
8185         (gst_value_transform_fraction_range_string),
8186         (gst_value_compare_fraction_range),
8187         (gst_value_deserialize_fraction_range),
8188         (gst_value_intersect_fraction_fraction_range),
8189         (gst_value_intersect_fraction_range_fraction_range),
8190         (gst_value_subtract_fraction_fraction_range),
8191         (gst_value_subtract_fraction_range_fraction),
8192         (gst_value_subtract_fraction_range_fraction_range),
8193         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8194         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8195         (gst_value_transform_string_fraction), (_gst_value_initialize):
8196         * gst/gstvalue.h:
8197           Implement fraction ranges and extend GstFraction to support
8198           arithmetic subtraction, as well as deserialization from integer
8199           strings such as "100"
8200           Add a testsuite as for int and double range set operations
8201
8202 2005-11-21  Andy Wingo  <wingo@pobox.com>
8203
8204         * gst/gsttaglist.h: 
8205         * gst/gstcaps.h: 
8206         * gst/gststructure.h: Add glib-compat.h.
8207
8208 2005-11-21  Wim Taymans  <wim@fluendo.com>
8209
8210         * gst/gstbin.c: (gst_bin_change_state_func):
8211         Fix for #321595
8212
8213 2005-11-21  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/gstsegment.h:
8216         And add a nice define too.
8217
8218 2005-11-21  Wim Taymans  <wim@fluendo.com>
8219
8220         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8221         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8222         (gst_segment_set_duration), (gst_segment_set_last_stop),
8223         (gst_segment_set_seek), (gst_segment_set_newsegment),
8224         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8225         (gst_segment_clip):
8226         * gst/gstsegment.h:
8227         Make binding friendly.
8228
8229 2005-11-21  Andy Wingo  <wingo@pobox.com>
8230
8231         * gst/gsttagsetter.h: 
8232         * gst/gsttaglist.h: 
8233         * gst/gststructure.h: 
8234         * gst/gstcaps.h: 
8235         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8236         #319940.
8237
8238         * gst/gsterror.c (_gst_core_errors_init):
8239         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8240         category.
8241
8242         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8243         (noinst_HEADERS): noinst the -private.
8244
8245 2005-11-21  Michael Smith <msmith@fluendo.com>
8246
8247         * gst/gstplugin.h:
8248         * gst/gstregistry.h:
8249           Remove unimplemented declarations for which we can see no sensible
8250           use.
8251
8252 2005-11-21  Andy Wingo  <wingo@pobox.com>
8253
8254         * gst/gst.h: Include glib-compat.h.
8255
8256         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8257
8258         * gst/glib-compat.c: Include the public and the private header.
8259
8260         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8261
8262         * gst/gstvalue.c: 
8263         * gst/gstpad.c: 
8264         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8265
8266         * check/gst/gstevent.c (create_custom_events): Check that
8267         FLUSH_STOP is serialized.
8268
8269         * check/elements/identity.c (event_func): 
8270         * check/elements/fakesrc.c (event_func): No stream lock, the core
8271         takes it.
8272
8273         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8274         stream lock taking, yay.
8275
8276         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8277         ensure that core takes the stream lock.
8278
8279         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8280         lock name change.
8281
8282         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8283         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8284         it already. For the flush start we do take it though so we get the
8285         right preroll state change messages.
8286
8287         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8288         the stream lock here, the core does it for us.
8289
8290         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8291         GST_STREAM_GET_LOCK.
8292         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8293         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8294         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8295         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8296         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8297         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8298
8299         * gst/gstpad.c: Update for stream lock name change.
8300
8301         * gst/base/gstbasesink.c: Update for preroll lock name change.
8302
8303 2005-11-21  Wim Taymans  <wim@fluendo.com>
8304
8305         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8306         (gst_clock_get_master):
8307         * gst/gstclock.h:
8308         * gst/gstsystemclock.c: (gst_system_clock_init):
8309         Convert Clock flags to object flags.
8310         Added methods to manage master/slave clocks.
8311
8312 2005-11-21  Wim Taymans  <wim@fluendo.com>
8313
8314         * check/gst/gstsegment.c: (GST_START_TEST):
8315         * docs/design/part-TODO.txt:
8316         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8317         (gst_base_sink_event), (gst_base_sink_do_sync),
8318         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8319         (gst_base_sink_query), (gst_base_sink_change_state):
8320         * gst/base/gstbasesink.h:
8321         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8322         (gst_base_src_default_newsegment),
8323         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8324         (gst_base_src_get_range), (gst_base_src_loop),
8325         (gst_base_src_change_state):
8326         * gst/base/gstbasesrc.h:
8327         * gst/base/gstbasetransform.c:
8328         (gst_base_transform_prepare_output_buf),
8329         (gst_base_transform_event), (gst_base_transform_change_state):
8330         * gst/base/gstbasetransform.h:
8331         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8332         (gst_collect_pads_event):
8333         * gst/base/gstcollectpads.h:
8334         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8335         (gst_fake_src_create):
8336         * gst/elements/gstfakesrc.h:
8337         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8338         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8339         (gst_segment_set_last_stop), (gst_segment_set_seek),
8340         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8341         (gst_segment_to_running_time), (gst_segment_clip):
8342         * gst/gstsegment.h:
8343         More segment updates, replace code in plugins with segment
8344         helper functions.
8345
8346 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8347
8348         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8349         Don't ignore sscanf results
8350
8351 2005-11-21  Andy Wingo  <wingo@pobox.com>
8352
8353         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8354
8355         * *.h:
8356         * *.c: Ran scripts/update-macros. Oh yes.
8357
8358         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8359         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8360         GST_GET_LOCK, etc.
8361
8362         * scripts/update-macros: New script. Run it on your files to
8363         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8364         well.
8365
8366 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8367
8368         * docs/gst/Makefile.am:
8369         * docs/gst/gstreamer-docs.sgml:
8370         * docs/gst/gstreamer-sections.txt:
8371         * docs/gst/gstreamer.types:
8372         * gst/gstinfo.h:
8373           more docs fixes, add new api to the docs
8374
8375 2005-11-21  Andy Wingo  <wingo@pobox.com>
8376
8377         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8378         state_broadcast call.
8379
8380         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8381
8382 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8383
8384         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8385         function calls for arrays.
8386
8387 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8388
8389         * docs/random/ensonic/media-device-daemon.txt:
8390           wild idea, can this be done?
8391         * docs/gst/gstreamer-sections.txt:
8392         * gst/gsterror.h:
8393         * gst/gstfilter.c:
8394         * gst/gstfilter.h:
8395         * gst/gstplugin.h:
8396         * gst/gstpluginfeature.c:
8397         * gst/gsttrace.c:
8398         * gst/gstvalue.c:
8399         * gst/gstvalue.h:
8400           doc fixes and additions
8401
8402 2005-11-21  Andy Wingo  <wingo@pobox.com>
8403
8404         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8405         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8406         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8407         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8408         private to the basesrc implementation.
8409
8410         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8411         behalf of event function if necessary. It should no longer be
8412         necessary to take the stream lock in pad's event functions. Fixes
8413         #320299.
8414
8415 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8416         * docs/gst/gstreamer-sections.txt:
8417         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8418         (gst_structure_fixate_field_nearest_double),
8419         (gst_structure_fixate_field_boolean):
8420         * gst/gststructure.h:
8421         * win32/common/libgstreamer.def:
8422         * win32/gstreamer.def:
8423
8424         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8425         (#322027)
8426
8427 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8428
8429         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8430         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8431         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8432         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8433         (gst_fdsrc_uri_handler_init):
8434         * gst/elements/gstfdsrc.h:
8435           Port fd:// URI handler from 0.8 to fdsrc
8436
8437 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8438
8439         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8440         (gst_value_serialize_fourcc):
8441         * gst/gstvalue.h:
8442           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8443           consistent with our other format defines (#320324).
8444
8445 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8446
8447         * gst/gstvalue.c: (gst_value_is_fixed):
8448           Revert previous commit. Value lists are by definition
8449           not fixed, as they are a list of possible values.
8450
8451 2005-11-21  Andy Wingo  <wingo@pobox.com>
8452
8453         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8454         during the stable series if we need it. Fixes #319178.
8455
8456         * gst/gstevent.c (gst_event_new_filler): Removed.
8457
8458         * check/gst/gstevent.c: Update comment about filler events.
8459
8460 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8461
8462         * gst/gstvalue.c: (gst_value_is_fixed):
8463           Should handle both value arrays and value lists.
8464
8465 2005-11-21  Andy Wingo  <wingo@pobox.com>
8466
8467         patch by: Alessandro Dessina <alessandro nnva org>
8468
8469         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8470         functions to access arrays. Fixes #321962.
8471
8472 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8473
8474         * docs/gst/gstreamer.types:
8475           gst_collectpads_get_type => gst_collect_pads_get_type.
8476           
8477         * gst/base/gstbasetransform.c:
8478           Remove unused SIGNAL_HANDOFF enum.
8479
8480 2005-11-21  Andy Wingo  <wingo@pobox.com>
8481
8482         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8483         the event type (upstream, downstream, serialized). Renamed
8484         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8485         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8486         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8487
8488         * gst/gstevent.c: Update for new CUSTOM event names.
8489
8490         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8491
8492         * gst/gstevent.h:
8493         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8494         bug #319392.
8495
8496 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8497
8498         * docs/gst/gstreamer-sections.txt:
8499         * win32/common/libgstbase.def:
8500         * win32/libgstbase.def:
8501         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8502         (gst_collect_pads_class_init), (gst_collect_pads_init),
8503         (gst_collect_pads_finalize), (gst_collect_pads_new),
8504         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8505         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8506         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8507         (gst_collect_pads_start), (gst_collect_pads_stop),
8508         (gst_collect_pads_peek), (gst_collect_pads_pop),
8509         (gst_collect_pads_available), (gst_collect_pads_read),
8510         (gst_collect_pads_flush), (gst_collect_pads_event),
8511         (gst_collect_pads_chain):
8512         * gst/base/gstcollectpads.h:
8513           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8514           unimplemented functions as unimplemented. Add padding to
8515           GstCollectData. (#320766, #320423)
8516
8517 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8518
8519         * gst/gstmessage.c:
8520           Improve docs for DURATION message (usage of duration parameter)
8521           (#320113)
8522
8523 2005-11-20  Wim Taymans  <wim@fluendo.com>
8524
8525         * check/Makefile.am:
8526         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8527         (main):
8528         * gst/Makefile.am:
8529         * gst/gst.h:
8530         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8531         (gst_segment_set_seek), (gst_segment_set_newsegment),
8532         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8533         (gst_segment_clip):
8534         * gst/gstsegment.h:
8535         Added segment helper structure and methods. Not fully implemented
8536         yet.
8537         Added segment check.
8538
8539 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8540
8541         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8542           Add a deserialisation test for fractions
8543         * examples/metadata/read-metadata.c: (message_loop),
8544         (make_pipeline), (main):
8545           Fix up metadata reading sample.
8546         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8547           Debug format fix
8548         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8549           Don't try and fixate empty caps
8550         * gst/gst_private.h:
8551           Wrap in G_BEGIN_DECLS/G_END_DECLS
8552         * gst/gstvalue.c: (gst_value_collect_fraction),
8553         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8554         (gst_value_transform_string_fraction),
8555         (gst_value_compare_fraction):
8556           Add some extra guards to ensure that we don't end up 
8557           with an invalid denominator of 0 in a gstfraction and
8558           that fractions always get reduced.
8559
8560 2005-11-20  Wim Taymans  <wim@fluendo.com>
8561
8562         * docs/gst/gstreamer-sections.txt:
8563         * gst/gstbuffer.h:
8564         * gst/gstelement.c:
8565         * gst/gstformat.c:
8566         * gst/gstformat.h:
8567         * gst/gstindex.h:
8568         * gst/gstquery.c:
8569         * gst/gstquery.h:
8570         * gst/gstvalue.c:
8571         Doc fixes.
8572
8573 2005-11-20  Wim Taymans  <wim@fluendo.com>
8574
8575         * docs/design/part-TODO.txt:
8576         * gst/gstcaps.h:
8577         Make a proper enum of the flag.
8578
8579 2005-11-19  Wim Taymans  <wim@fluendo.com>
8580
8581         * docs/design/part-TODO.txt:
8582         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8583         (gst_format_to_quark), (gst_format_register):
8584         * gst/gstformat.h:
8585         * gst/gstquery.c: (_gst_query_initialize),
8586         (gst_query_type_get_name), (gst_query_type_to_quark),
8587         (gst_query_type_register):
8588         * gst/gstquery.h:
8589         Add type to quark and type to string conversions.
8590
8591 2005-11-19  Andy Wingo  <wingo@pobox.com>
8592
8593         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8594         #320097.
8595
8596 2005-11-19  Wim Taymans  <wim@fluendo.com>
8597
8598         * docs/design/part-TODO.txt:
8599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8600         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8601         (gst_bin_handle_message_func):
8602         * gst/gstbin.h:
8603         Make message handling overridable.
8604
8605 2005-11-19  Andy Wingo  <wingo@pobox.com>
8606
8607         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8608
8609         * gst/gstclock.h:
8610         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8611         be a GstClockTime.
8612         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8613         is a GstClockTime. Fixes #321710.
8614
8615         * gst/gstclock.h (GstClock): Remove offset property. Add
8616         internal_calibration and external_calibration. Fix padding. Pad
8617         also by GstClockTime so we don't run into problems.
8618
8619         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8620         (gst_clock_get_rate_offset): Remove.
8621         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8622
8623         * gst/gstutils.h:
8624         * gst/gstutils.c (g_static_rec_cond_wait)
8625         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8626
8627         * gst/gstbin.c: Remove terrible continue_state prototype.
8628
8629         * gst/gstelement.h (gst_element_continue_state): Make public.
8630
8631         * gst/gstelement.h:
8632         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8633         by continue_state. Fixes #319389.
8634
8635         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8636         Really fixes #168438. However I don't see anywhere where the
8637         filter function is called... stupid GStreamer...
8638         
8639         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8640         don't have a dispose function, so it won't get called when the
8641         object is unreffed, but oh well!
8642
8643         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8644         allows a destroy function to be set so user_data can be freed.
8645         Fixes #168438.
8646         (gst_index_set_filter): Call gst_index_set_filter_full.
8647
8648         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8649
8650         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8651         string should produce an error, given the lack of a way to
8652         represent NULL strings. Fixes #165650.
8653         
8654         * gst/gstvalue.h: 
8655         * gst/gstvalue.c (gst_value_array_append_value) 
8656         (gst_value_array_prepend_value, gst_value_array_get_size) 
8657         (gst_value_array_get_value): New API, copied from
8658         gst_value_list_*, only operates on arrays.
8659         (gst_value_list_append_value, gst_value_list_prepend_value) 
8660         (gst_value_list_concat, gst_value_list_get_size) 
8661         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8662
8663         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8664         init_list, because it works on both.
8665         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8666         (gst_value_copy_list_or_array): Renamed from copy_list.
8667         (gst_value_free_list_or_array): Renamed from free_list.
8668         (gst_value_collect_list_or_array): Renamed from collect_list.
8669         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8670         (gst_value_list_or_array_peek_pointer): Renamed from
8671         list_peek_pointer.
8672         (_gst_value_array_value_table, _gst_value_list_value_table):
8673         Update value table functions.
8674         (gst_value_compare_list_or_array): Renamed from compare_list.
8675
8676         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8677         some constness.
8678
8679         * gst/gsttaglist.c:
8680         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8681         GstTagList*. Fixes #143472.
8682
8683         * gst/gststructure.h: Clarify what the foreach/map functions can
8684         or can't do to their arguments.
8685
8686 2005-11-18  Wim Taymans  <wim@fluendo.com>
8687
8688         * gst/gstclock.c: (gst_clock_set_calibration),
8689         (gst_clock_get_calibration):
8690         Doc and API fixes.
8691         Calibration can be set with internal time equal to current
8692         internal time too.
8693
8694 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8695
8696         * gst/gsterror.c:
8697         * gst/gsterror.h:
8698           document
8699
8700 2005-11-18  Andy Wingo  <wingo@pobox.com>
8701
8702         * configure.ac: 
8703         * pkgconfig/gstreamer-net.pc.in:
8704         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8705         * pkgconfig/Makefile.am: Add net pkgconfig files.
8706
8707 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8708
8709         * gst/gstcaps.c:
8710         * gst/gstghostpad.c:
8711         * gst/gsttrace.c:
8712         * gst/gstvalue.c:
8713         * gst/gstvalue.h:
8714           docs fixes
8715
8716 2005-11-18  Andy Wingo  <wingo@pobox.com>
8717
8718         * gst/net/gstnetclientclock.c: Turn off debugging.
8719
8720         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8721         times connverge somewhat. Can't make a real test.
8722
8723         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8724         integer arithmetic. Return the minimum of the domain, which can be
8725         set as "internal" for gst_clock_set_calibration.
8726         (gst_net_client_clock_observe_times): Call _set_calibration.
8727         (gst_net_client_clock_new): Call _set_calibration instead of
8728         rate_offset.
8729
8730         * check/net/gstnetclientclock.c (test_functioning): Use the right
8731         adjustment api.
8732
8733         * gst/gstclock.h:
8734         * gst/gstclock.c (gst_clock_get_calibration) 
8735         (gst_clock_set_calibration): New functions, obsolete the ones I
8736         added yesterday. Doh. Precision issues mean we have to extrapolate
8737         from a point in the more recent past than 1970.
8738         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8739         obsolete.
8740         (gst_clock_adjust_unlocked): Use the right calibration data.
8741
8742 2005-11-18  Edward Hervey  <edward@fluendo.com>
8743
8744         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8745         Also reset the ->current_* values in READY->PAUSED
8746
8747 2005-11-18  Andy Wingo  <wingo@pobox.com>
8748
8749         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8750         Whoops, check the right fd. Also add some debugging.
8751         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8752         (do_linear_regression): Add a crapload of debugging. Subtract off
8753         the minimum values from the input series to discard unneeded bits.
8754         Use only int arithmetic. There is still double arithmetic when
8755         calculating the intercept that needs fixing. Return boolean to
8756         indicate success; FALSE would mean the domain or range is too
8757         great. Still needs fixes.
8758
8759 2005-11-18  Wim Taymans  <wim@fluendo.com>
8760
8761         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8762         For the current position in stream time, we need to subtract
8763         accumulated time.
8764         
8765         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8766         Release lock before calling the callback function of async
8767         entries.
8768
8769 2005-11-18  Andy Wingo  <wingo@pobox.com>
8770
8771         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8772         Port goes all the way to MAXUINT16.
8773
8774         * gst/net/gstnettimeprovider.c: Make the port range the same as
8775         for the kernel: 0 assigns, otherwise ports are less than
8776         MAXUINT16.
8777
8778         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8779         port change.
8780
8781         * check/net/gstnetclientclock.c (test_functioning): Add the start
8782         of another test. 
8783
8784 2005-11-18  Wim Taymans  <wim@fluendo.com>
8785
8786         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8787         (gst_bin_remove_func), (bin_bus_handler):
8788         * gst/gstbin.h:
8789         Removing a clock provider from a bin, triggers a clock lost message
8790         so that a new clock will be selected.
8791         Adding a clock to a bin triggers a clock provider message.
8792         Make sure we reselect a clock when we received a clock lost message.
8793         Keep a reference to the element that provided the clock.
8794
8795 2005-11-18  Andy Wingo  <wingo@pobox.com>
8796
8797         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8798         the clock initially so it produces values around the base time.
8799         (gst_net_client_clock_class_init): Typo fix.
8800         (gst_net_client_clock_thread): Add note on when the socket gets
8801         closed.
8802
8803 2005-11-17  Wim Taymans  <wim@fluendo.com>
8804
8805         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8806         Free remote and local time arrays.
8807
8808 2005-11-17  Wim Taymans  <wim@fluendo.com>
8809
8810         * gst/net/gstnetclientclock.c: (do_linear_regression),
8811         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8812         Fix compilation, uninitialized vars and a forgotten continue.
8813
8814 2005-11-17  Andy Wingo  <wingo@pobox.com>
8815
8816         * check/Makefile.am (check_PROGRAMS): 
8817         * check/net/gstnetclientclock.c: Add a most minimal test for the
8818         net client clock. More to come later.
8819
8820         * gst/net/gstnet.h: 
8821         * gst/net/Makefile.am: Add netclientclock.
8822
8823         * gst/net/gstnetclientclock.h:
8824         * gst/net/gstnetclientclock.c: New files, implement an untested
8825         GstClock that takes its time from a network time provider.
8826         Implements the algorithm in network-clock.scm.
8827
8828         * tests/network-clock.scm (*window-size*): Rename from
8829         *queue-length*.
8830         * tests/network-clock.scm (network-time): 
8831         * tests/network-clock-utils.scm (q-push): Update callers.
8832
8833 2005-11-17  Wim Taymans  <wim@fluendo.com>
8834
8835         * gst/gstbin.c: (gst_bin_provide_clock_func),
8836         (gst_bin_sort_iterator_new):
8837         And unref the child too..
8838
8839 2005-11-17  Wim Taymans  <wim@fluendo.com>
8840
8841         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8842         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8843         Refactor the sort iterator so it can be used while holding the
8844         LOCK too.
8845         Make clock selection select a clock closest to the source.
8846
8847 2005-11-17  Michael Smith <msmith@fluendo.com>
8848
8849         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8850         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8851         * gst/gstclock.h:
8852           Anonymous structs are a gcc (and some other compilers) extension, so
8853           don't use them. Since this is only for ABI-compatibility, and our
8854           API/ABI freeze is over in a few days, this whole thing will only
8855           last a few days, so don't bother trying to think up a meaningful
8856           name for the struct.
8857
8858 2005-11-17  Andy Wingo  <wingo@pobox.com>
8859
8860         * gst/gstclock.h (GstClock): Add rate and offset properties,
8861         preserving ABI stability. Add rate/offset accessors. Will file bug
8862         for the freeze break.
8863
8864         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8865         and offset, trying to keep precision and avoiding
8866         underflow/overflow.
8867         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8868         functions. Make gst_clock_set_time_adjust obsolete.
8869         (gst_clock_set_time_adjust): Note that this function is obsolete.
8870         Will file bug soon.
8871
8872         * gst/base/gstbasetransform.h: Make the ABI-stability hack
8873         greppable by using GST_PADDING-1+1.
8874
8875 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
8876
8877         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8878
8879         * gst/gstmessage.c: (gst_message_parse_clock_lost):
8880           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8881
8882         * gst/gstpadtemplate.h:
8883         * gst/gstpluginfeature.h:
8884           Don't use c++ style comments in headers (#321638).
8885
8886 2005-11-16  Andy Wingo  <wingo@pobox.com>
8887
8888         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8889         buffer.
8890
8891         * check/net/gstnettimeprovider.c: Check to see that the time
8892         provider actually provides times. Works, yo!
8893
8894 2005-11-16  Wim Taymans  <wim@fluendo.com>
8895
8896         * check/Makefile.am:
8897         Enable more tests.
8898
8899         * check/elements/fakesrc.c: (GST_START_TEST):
8900         Set element to NULL before disposing it.
8901
8902 2005-11-16  Andy Wingo  <wingo@pobox.com>
8903
8904         * gst/net/Makefile.am:
8905         * gst/net/gstnet.h:
8906         * gst/net/gstnettimeprovider.c: 
8907         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8908         provider, include it from gstnet.h, and add it to the build.
8909
8910         * gst/net/gstnettimepacket.h: 
8911         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8912         sending and receiving.
8913
8914 2005-11-16  Wim Taymans  <wim@fluendo.com>
8915
8916         * check/Makefile.am:
8917         Enable valgrind check.
8918
8919         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8920         (gst_fake_src_alloc_buffer):
8921         Fix memleak.
8922
8923 2005-11-16  Wim Taymans  <wim@fluendo.com>
8924
8925         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8926         Call parent finalize too.
8927
8928 2005-11-16  Wim Taymans  <wim@fluendo.com>
8929
8930         * check/Makefile.am:
8931         Enable valgrind check that should work fine now.
8932
8933         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8934         * gst/gstqueue.c: (gst_queue_init):
8935         Fix memleaks in pad allocation.
8936
8937 2005-11-16  Andy Wingo  <wingo@pobox.com>
8938
8939         * gst/net/Makefile.am:
8940         * gst/net/gstnet.h: New part of core to hold network elements and
8941         objects. Put in core because it exposes API that applications want
8942         to use. The library is named libgstnet-tempname right now because
8943         of the existing libgstnet in gst-plugins-base. Solution is
8944         probably to rename the one in plugins-base; will file a bug for
8945         the freeze break.
8946
8947         * gst/net/gstnettimeprovider.c: 
8948         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8949         get_time call over the network.
8950
8951         * configure.ac: 
8952         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8953
8954         * check/Makefile.am:
8955         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8956         get additions shortly.
8957
8958 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8959
8960         * gst/gstpad.c: (gst_pad_new_from_static_template):
8961         * gst/gstpad.h:
8962           add gst_pad_new_from_static_template functions
8963         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8964         (gst_check_setup_sink_pad):
8965         * gst/elements/gsttee.c: (gst_tee_init):
8966           and use them
8967
8968 2005-11-16  Wim Taymans  <wim@fluendo.com>
8969
8970         * gst/gstpad.c: (gst_pad_pause_task):
8971         Removed warning, it's not really an error either.
8972
8973 2005-11-16  Wim Taymans  <wim@fluendo.com>
8974
8975         * gst/base/gstbasetransform.c:
8976         (gst_base_transform_prepare_output_buf),
8977         (gst_base_transform_event):
8978         Check if the caps are NULL, this can happen if the element
8979         is shutting down and the pad caps are set to NULL.
8980
8981 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8982
8983         * gst/elements/gsttee.c: (gst_tee_init):
8984           fix pad template leak in tee
8985
8986 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8987
8988         * gst/glib-compat.c: (g_value_dup_gst_object):
8989         * gst/glib-compat.h:
8990         * gst/gstpad.c: (gst_pad_set_property):
8991           use gst_object_ref when setting the pad template; this will
8992           trigger the pad template leaks on GLib 2.6 and the slaves
8993
8994 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8995
8996         * gst/glib-compat.c: (gst_flags_get_first_value):
8997         * gst/glib-compat.h:
8998         * gst/gstregistryxml.c:
8999           remove functions copied from GLib 2.6
9000
9001 2005-11-16  Michael Smith <msmith@fluendo.com>
9002
9003         * gst/Makefile.am:
9004           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9005           do, but only breaks with newer valgrind versions. We're not a
9006           valgrind tool, we have no link-time dependencies on libcoregrind.
9007
9008 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9009
9010         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9011           some debug changes
9012         * gst/gstmessage.h:
9013           typo fixes
9014
9015 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9016
9017         * gst/base/gstbasesrc.c: (gst_base_src_init):
9018         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9019         * gst/gstqueue.c: (gst_queue_init):
9020         * gst/gstregistryxml.c: (load_feature):
9021           Revert all these unrefs, they don't even pass make check !
9022
9023 2005-11-15  Johan Dahlin  <johan@gnome.org>
9024
9025         * gst/base/gstbasesrc.c: (gst_base_src_init):
9026         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9027         * gst/gstqueue.c: (gst_queue_init): 
9028         Free pad templates, fixes a couple of leaks.
9029
9030 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9031
9032         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9033
9034         * gst/gstpad.c: (gst_pad_get_property):
9035           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9036           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9037           (#321452)
9038
9039 2005-11-15  Wim Taymans  <wim@fluendo.com>
9040
9041         * gst/gstevent.c:
9042         Small doc update.
9043
9044 2005-11-15  Andy Wingo  <wingo@pobox.com>
9045
9046         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9047
9048         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9049         using GST_CLOCK_TIME_NONE to disable base time management.
9050         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9051         time if it was NONE before.
9052         (gst_pipeline_change_state): Only munge the base time if
9053         stream_time != GST_CLOCK_TIME_NONE.
9054
9055         * check/gst/gstpipeline.c (test_base_time): Punt around the
9056         problem of the probe not being called, because that's not the
9057         issue I'm looking at. Add a check that setting stream_time to NONE
9058         disables base time management.
9059         
9060 2005-11-15  Wim Taymans  <wim@fluendo.com>
9061
9062         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9063         segment_stop == -1 at startup.
9064
9065         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9066         (gst_base_transform_change_state):
9067         Init segment values at start.
9068
9069 2005-11-15  Wim Taymans  <wim@fluendo.com>
9070
9071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9072         0 segment values are 0 in any format.
9073
9074         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9075         * gst/base/gstbasetransform.h:
9076         Parse newsegment correctly in basetransform
9077
9078         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9079         Sync to clock using updated segment values.
9080
9081 2005-11-15  Andy Wingo  <wingo@pobox.com>
9082
9083         * check/gst/gstpipeline.c (test_base_time): Add check that the
9084         base time and stream time are reset correctly.
9085
9086 2005-11-15  Wim Taymans  <wim@fluendo.com>
9087
9088         * docs/design/part-TODO.txt:
9089         Some more TODO items.
9090
9091 2005-11-15  Andy Wingo  <wingo@pobox.com>
9092
9093         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9094         error if the user selected "no clock" as the clocking method.
9095
9096         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9097         timestamps with live capture.
9098
9099         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9100         is 0 but we are a live source, timestamp the buffers using the
9101         element's clock.
9102
9103 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9104
9105         * docs/gst/gstreamer-sections.txt:
9106         * gst/gsterror.c:
9107         * gst/gstghostpad.c:
9108         * gst/gstobject.h:
9109         * gst/gstxml.c:
9110           more section docs
9111
9112 2005-11-14  Wim Taymans  <wim@fluendo.com>
9113
9114         * common/gst.supp:
9115           add suppressions from Wim's Debian machine
9116
9117 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9118
9119         * common/gst.supp:
9120           add suppressions from Andy's AMD64 Ubuntu machine
9121
9122 2005-11-14  Andy Wingo  <wingo@pobox.com>
9123
9124         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9125         STATE_LOCK not necessary. Fixes #311489.
9126
9127         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9128         #305291.
9129
9130         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9131         this function is not implemented.
9132
9133 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9134
9135         * gst/base/gstbasetransform.c:
9136         (gst_base_transform_prepare_output_buf):
9137         Ref the source pad caps while we need them.
9138         Fixes (#321386)
9139
9140 2005-11-11  Wim Taymans  <wim@fluendo.com>
9141
9142         * docs/gst/gstreamer-sections.txt:
9143         Added some docs for GstCollectData.
9144
9145         * gst/base/gstadapter.c:
9146         Some small code example fix.
9147
9148         * gst/base/gstcollectpads.c:
9149         * gst/base/gstcollectpads.h:
9150         Document some more.
9151
9152 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9153
9154         * configure.ac: back to HEAD
9155
9156 === release 0.9.5 ===
9157
9158 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9159
9160         * configure.ac:
9161           releasing 0.9.5, "Bike Lunch Day"
9162
9163 2005-11-11  Wim Taymans  <wim@fluendo.com>
9164
9165         * gst/gstbuffer.c: (_gst_buffer_copy):
9166         Copy more flags.
9167
9168         * gst/gstcaps.c: (gst_caps_is_equal):
9169         Fix some docs.
9170         Make _is_equal fast in the trivial cases.
9171
9172         * gst/gstminiobject.c:
9173         * gst/gstminiobject.h:
9174         More docs. Spifify .h file.
9175
9176         * gst/gstutils.c:
9177         Small doc update.
9178
9179 2005-11-11  Wim Taymans  <wim@fluendo.com>
9180
9181         * gst/base/gstbasetransform.c:
9182         (gst_base_transform_prepare_output_buf),
9183         (gst_base_transform_handle_buffer):
9184         Small cleanups.
9185         If we're processing a buffer and need to allocate an output
9186         buffer, we cannot accept a format change. If we did get a 
9187         format change, we have to alloc a buffer ourselves of the 
9188         right size.
9189
9190 2005-11-11  Wim Taymans  <wim@fluendo.com>
9191
9192         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9193         While checking the flag for reentrancy in the gstcaps function
9194         is nice to detect recursive invocations, it also makes it 
9195         impossible to call getcaps from multiple threads, which must be
9196         possible. So, checking for recursive calls has to go.
9197
9198 2005-11-11  Michael Smith <msmith@fluendo.com>
9199
9200         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9201           Don't sync on buffers that fall partially outside our current
9202           segment. Prevents an assertion failure/abort playing some files.
9203
9204 2005-11-10  Andy Wingo  <wingo@pobox.com>
9205
9206         * check/gst/gstbin.c (test_message_state_changed_children): Style
9207         fix..
9208
9209         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9210         gst_bus_poll with the signal watch. Ensures that poll and a signal
9211         watch see the same messages.
9212
9213         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9214         a poll and a watch at the same time get the same messages.
9215
9216 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9217
9218         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9219         * gst/gstcaps.c: (gst_caps_intersect):
9220           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9221           and it's not needed.
9222
9223 2005-11-10  Wim Taymans  <wim@fluendo.com>
9224
9225         * docs/design/part-TODO.txt:
9226         Updated todo.
9227
9228 2005-11-10  Wim Taymans  <wim@fluendo.com>
9229
9230         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9231         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9232         (gst_base_src_do_sync), (gst_base_src_get_range):
9233         Implement clock sync in base class.
9234
9235 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9236
9237         patch by: Tim-Philipp Müller <tim at centricular dot net>
9238
9239         * gst/gststructure.c: (gst_structure_parse_field),
9240         (gst_structure_from_string):
9241           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9242           so that gst_parse_launch() can deal with spaces in filtered link
9243           caps (fixes #164479)
9244         * check/gst/capslist.h:
9245         * check/gst/gststructure.c: (GST_START_TEST):
9246           add unit tests for this change
9247
9248 2005-11-10  Wim Taymans  <wim@fluendo.com>
9249
9250         * docs/gst/gstreamer-sections.txt:
9251         * gst/gstelement.c:
9252         * gst/gstelement.h:
9253         Fix docs, move some STATE macros to private.
9254
9255 2005-11-10  Wim Taymans  <wim@fluendo.com>
9256
9257         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9258         Added check for bug #317341
9259
9260         * gst/gstbuffer.c:
9261         * gst/gstbuffer.h:
9262         Some more spiffifying.
9263
9264         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9265         Call peer linkfunction if we are a source pad. Totally fixes
9266         #317341
9267
9268         * gst/gstpad.c:
9269         Update docs, source pads should call the peer linkfunction
9270         so they can atomically perform the pad link.
9271
9272 2005-11-09  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstbuffer.c:
9275         * gst/gstbuffer.h:
9276         Uber-spiffy-spiffify some more.
9277
9278 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9279
9280         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9281         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9282         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9283         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9284         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9285         * gst/gstpad.c: (gst_pad_init):
9286           Use GST_DEBUG_FUNCPTR() more extensively.
9287
9288 2005-11-09  Wim Taymans  <wim@fluendo.com>
9289
9290         * gst/gstobject.c: (gst_object_class_init):
9291         * gst/gstobject.h:
9292         Documentation fixes.
9293
9294 2005-11-09  Edward Hervey  <edward@fluendo.com>
9295
9296         * gst/gsttypefindfactory.c:
9297         Fix docs.
9298         
9299 2005-11-09  Edward Hervey  <edward@fluendo.com>
9300
9301         * gst/base/gsttypefindhelper.c:
9302         * gst/gsttypefind.c:
9303         * gst/gsttypefind.h:
9304         Fix docs.
9305
9306 2005-11-09  Wim Taymans  <wim@fluendo.com>
9307
9308         * gst/gstiterator.c:
9309         Fix revision data.
9310
9311         * gst/gsttask.c:
9312         * gst/gsttask.h:
9313         Fix docs.
9314
9315 2005-11-09  Wim Taymans  <wim@fluendo.com>
9316
9317         * gst/gstevent.h:
9318         * gst/gsturi.h:
9319         Fix docs.
9320
9321 2005-11-09  Wim Taymans  <wim@fluendo.com>
9322
9323         * docs/gst/gstreamer-sections.txt:
9324         Moved the message async delivery private lock and cond
9325         to the private section.
9326
9327         * gst/gstmessage.c:
9328         * gst/gstmessage.h:
9329         Fixed docs.
9330
9331 2005-11-09  Edward Hervey  <edward@fluendo.com>
9332
9333         * docs/gst/gstreamer-sections.txt:
9334         * gst/gsturi.c:
9335         * gst/gsturi.h:
9336         Document GstURIHandler
9337
9338 2005-11-09  Wim Taymans  <wim@fluendo.com>
9339
9340         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9341         (gst_iterator_find_custom):
9342         * gst/gstiterator.h:
9343         Fix iterator docs.
9344
9345 2005-11-09  Wim Taymans  <wim@fluendo.com>
9346
9347         * gst/gstbin.h:
9348         Document another field.
9349
9350         * gst/gststructure.c:
9351         * gst/gststructure.h:
9352         Document.
9353
9354 2005-11-09  Wim Taymans  <wim@fluendo.com>
9355
9356         * gst/gstbin.h:
9357         Documented structs.
9358
9359 2005-11-09  Wim Taymans  <wim@fluendo.com>
9360
9361         * docs/gst/gstreamer-sections.txt:
9362         Added some new macros.
9363
9364         * gst/gstclock.c:
9365         * gst/gstclock.h:
9366         * gst/gstobject.h:
9367         Docs updates.
9368
9369 2005-11-09  Wim Taymans  <wim@fluendo.com>
9370
9371         * docs/design/part-TODO.txt:
9372         Some more items for the TODO
9373
9374         * gst/gstcaps.c:
9375         * gst/gstcaps.h:
9376         Document GstCaps.
9377
9378 2005-11-09  Andy Wingo  <wingo@pobox.com>
9379
9380         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9381         to work on something else now tho...
9382
9383         * gst/base/gstadapter.c: More adapter docs.
9384
9385         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9386         (gst_file_sink_stop): New functions, replace the state change
9387         handler.
9388         (gst_file_sink_class_init): Hook up the start and stop functions.
9389         (gst_file_sink_base_init): Don't set the state change handler any
9390         more. It was a bit ugly too, being set from here...
9391         (gst_file_sink_get_property, gst_file_sink_set_property):
9392         Cleanups...
9393         (gst_file_sink_set_location): More robust check that doesn't call
9394         GST_STATE. Ugggggg.
9395
9396 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9397
9398         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9399           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9400
9401 2005-11-08  Wim Taymans  <wim@fluendo.com>
9402
9403         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9404         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9405         (gst_base_sink_chain), (gst_base_sink_change_state):
9406         * gst/base/gstbasesink.h:
9407         * gst/base/gstbasesrc.h:
9408         * gst/gstelement.h:
9409         * gst/gstevent.h:
9410         Avoid excessive typechecking in macros.
9411
9412         * gst/gstminiobject.c: (gst_mini_object_get_type),
9413         (gst_mini_object_init), (gst_mini_object_new),
9414         (gst_mini_object_free):
9415         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9416         (gst_object_finalize):
9417         Remove cruft code, optimize alloc_trace.
9418
9419 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9420
9421         * docs/faq/gst-uninstalled:
9422           fix up PS1 for systems that try to reset it
9423
9424 2005-11-07  Wim Taymans  <wim@fluendo.com>
9425
9426         * gst/base/gstbasesrc.c: (gst_base_src_init),
9427         (gst_base_src_get_range):
9428         Set the segment_end to -1 initially. Fixed typefind.
9429
9430 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9431
9432         * gst/base/gstadapter.c:
9433           Debug category should be 'adapter', not 'GstAdapter'.
9434           
9435         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9436         (gst_collectpads_class_init), (gst_collectpads_init),
9437         (gst_collectpads_peek), (gst_collectpads_pop),
9438         (gst_collectpads_event), (gst_collectpads_chain):
9439           Add debug category and some debugging output. Use boilerplate
9440           macros. Remove some extraneous words from docs.
9441
9442 2005-11-05  Andy Wingo  <wingo@pobox.com>
9443
9444         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9445         macro.
9446
9447 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9448
9449         * docs/gst/gstreamer-sections.txt:
9450         * gst/gstcaps.h:
9451         * gst/gstinfo.c:
9452         * gst/gstminiobject.h:
9453         * gst/gstobject.h:
9454         * gst/gstutils.h:
9455           more docs added
9456
9457 2005-11-04  Wim Taymans  <wim@fluendo.com>
9458
9459         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9460         Small update to stop at the configured segment_end
9461         position.
9462
9463 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9464
9465         * gst/gstregistry.c:
9466         * gst/gstregistry.h:
9467           added missing docs
9468
9469 2005-11-04  Edward Hervey  <edward@fluendo.com>
9470
9471         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9472         Check if we are doing a segment seek and have arrived at the
9473         end of that segment.
9474
9475 2005-11-04  Wim Taymans  <wim@fluendo.com>
9476
9477         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9478         Don't leak a mutex unlock in case of an error.
9479
9480         * gst/gstbus.h:
9481         Doc fixes.
9482
9483 2005-11-04  Wim Taymans  <wim@fluendo.com>
9484
9485         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9486         (gst_bus_post):
9487         Get the context to wake up only once.
9488
9489 2005-11-03  Wim Taymans  <wim@fluendo.com>
9490
9491         * check/states/sinks.c: (GST_START_TEST):
9492         Uncomment fixed check.
9493
9494         * docs/design/part-TODO.txt:
9495         Updated TODO.
9496
9497         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9498         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9499         (gst_base_sink_get_position):
9500         If we are going to PLAYING, post the right pending state
9501         when we post the intermediate paused message.
9502
9503         * gst/gstelement.c: (gst_element_continue_state),
9504         (gst_element_set_state_func), (gst_element_change_state):
9505         Don't post state changes that were between the same state
9506         and were not ASYNC.
9507
9508 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9509
9510         * docs/gst/gstreamer-sections.txt:
9511         * gst/gstcaps.h:
9512         * gst/gstinfo.c:
9513         * gst/gstminiobject.h:
9514         * gst/gstobject.h:
9515         * gst/gstutils.h:
9516           more docs and doc style fixes
9517
9518 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9519
9520         * docs/gst/gstreamer-sections.txt:
9521         * gst/gstelement.c:
9522         * gst/gstminiobject.c:
9523         doc fixes
9524
9525 2005-11-03  Andy Wingo  <wingo@pobox.com>
9526
9527         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9528         state-changed messages actually have the right order and the right
9529         values.
9530
9531 2005-11-03  Wim Taymans  <wim@fluendo.com>
9532
9533         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9534         Added some more checks. Specifically the case where NO_PREROLL
9535         elements are in the pipeline.
9536
9537         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9538         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9539         (gst_base_sink_get_position):
9540         Post READY->PAUSED state change messages too.
9541         Fix bug where VOID was posted as pending state...
9542
9543         * gst/gstbin.c: (gst_bin_recalc_state):
9544         use _element_continue_state() to continue the state change.
9545
9546         * gst/gstelement.c: (gst_element_continue_state),
9547         (gst_element_commit_state), (gst_element_set_state_func),
9548         (gst_element_change_state), (gst_element_change_state_func):
9549         Lots of state change cleanups, assign the STATE_RETURN in
9550         a new continue_state() function that also propagates the
9551         last return value from a state change to the app.
9552         Update some debug statements with proper category.
9553
9554 2005-11-03  Wim Taymans  <wim@fluendo.com>
9555
9556         * docs/design/part-events.txt:
9557         * docs/design/part-gstpipeline.txt:
9558         * docs/design/part-messages.txt:
9559         * docs/design/part-overview.txt:
9560         * docs/design/part-seeking.txt:
9561         * docs/design/part-states.txt:
9562         * docs/design/part-trickmodes.txt:
9563         * docs/manual/advanced-position.xml:
9564         Small docs updates.
9565
9566         * gst/gstobject.h:
9567         People think !! is ugly, this looks better.
9568
9569         * gst/gstpad.c: (gst_pad_set_blocked_async):
9570         Remove !! since it's fixed elsewhere now.
9571
9572 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9573
9574         * gst/gstminiobject.h:
9575         * gst/gstobject.h:
9576           Add !! to _FLAG_IS_SET macros to make the result boolean.
9577
9578 2005-11-03  Edward Hervey  <edward@fluendo.com>
9579
9580         * gst/gstpad.c: (gst_pad_set_blocked_async):
9581         comparing a flag and a gboolean rarely returns coherent results...
9582         Added two characters (!!) to make that work correctly.
9583         
9584 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9585
9586         * gst/gstbus.c: (gst_bus_class_init):
9587           Fix some typos.
9588           
9589         * gst/gstqueue.c: (gst_queue_loop):
9590           Don't assume a miniobject that isn't a buffer is an
9591           event (it could be that there is a refcounting
9592           problem somewhere and the pointer is stale and
9593           refers to an already destroyed miniobject).
9594
9595 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9596
9597         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9598
9599 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9600
9601         * docs/manual/advanced-position.xml:
9602           Update seek example and explanations to current 0.9 API.
9603
9604         * gst/elements/gsttypefindelement.c:
9605         (gst_type_find_element_activate):
9606           Remove FIXME comment now that the found caps
9607           are unreffed.
9608
9609 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9610
9611         * gst/gstregistryxml.c: (load_feature):
9612           Add another GST_STR_NULL instance
9613
9614 2005-11-02  Edward Hervey  <edward@fluendo.com>
9615
9616         * gst/gstpad.c: (handle_pad_block):
9617         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9618         
9619 2005-11-02  Wim Taymans  <wim@fluendo.com>
9620
9621         * gst/gstbin.c:
9622         Fix typo in docs.
9623
9624         * gst/gstelement.c: (gst_element_commit_state):
9625         Remove unused value.
9626
9627         * gst/gstiterator.c:
9628         Mention that the returned element is reffed in the docs.
9629
9630 2005-11-02  Wim Taymans  <wim@fluendo.com>
9631
9632         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9633         (gst_pad_push), (gst_pad_push_event):
9634         Unlock blocked pads when they are flushed.
9635
9636 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9637
9638         * docs/README:
9639         * docs/gst/gstreamer-sections.txt:
9640         * gst/gstbin.c:
9641           doc updates
9642         * gst/gstregistry.c: (gst_registry_scan_path_level):
9643           fix for a nasty little missed situation where an installed plug-in
9644           which was in the cache did not get overridden by an uninstalled one
9645           which was earlier in the plugin path because the newly created plugin
9646           for the uninstalled one (not in the registry) didn't get its
9647           ->registered set to TRUE
9648
9649 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9650
9651         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9652         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9653         (gst_collectpads_is_active), (gst_collectpads_collect),
9654         (gst_collectpads_collect_range), (gst_collectpads_start),
9655         (gst_collectpads_stop), (gst_collectpads_peek),
9656         (gst_collectpads_pop), (gst_collectpads_available),
9657         (gst_collectpads_read), (gst_collectpads_flush):
9658           Guard public API with assertions.
9659         
9660         * gst/gstpad.c:
9661           Fix docs for gst_pad_set_link_function().
9662
9663 2005-11-02  Johan Dahlin  <johan@gnome.org>
9664
9665         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9666         Unref found_caps after we used it.
9667
9668 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9669
9670         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9671           Don't try to ref NULL.
9672
9673 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9674
9675         * win32/common/config.h.in:
9676           provide a GST_FUNCTION that just gives a string for now
9677
9678 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9679
9680         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9681         (gst_object_flags_get_type), (register_gst_bin_flags),
9682         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9683         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9684         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9685         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9686         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9687         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9688         (gst_clock_flags_get_type), (register_gst_state),
9689         (gst_state_get_type), (register_gst_state_change_return),
9690         (gst_state_change_return_get_type), (register_gst_state_change),
9691         (gst_state_change_get_type), (register_gst_element_flags),
9692         (gst_element_flags_get_type), (register_gst_core_error),
9693         (gst_core_error_get_type), (register_gst_library_error),
9694         (gst_library_error_get_type), (register_gst_resource_error),
9695         (gst_resource_error_get_type), (register_gst_stream_error),
9696         (gst_stream_error_get_type), (register_gst_event_type),
9697         (gst_event_type_get_type), (register_gst_seek_type),
9698         (gst_seek_type_get_type), (register_gst_seek_flags),
9699         (gst_seek_flags_get_type), (register_gst_format),
9700         (gst_format_get_type), (register_gst_index_certainty),
9701         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9702         (gst_index_entry_type_get_type),
9703         (register_gst_index_lookup_method),
9704         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9705         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9706         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9707         (gst_index_flags_get_type), (register_gst_debug_level),
9708         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9709         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9710         (gst_iterator_result_get_type), (register_gst_iterator_item),
9711         (gst_iterator_item_get_type), (register_gst_message_type),
9712         (gst_message_type_get_type), (register_gst_mini_object_flags),
9713         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9714         (gst_pad_link_return_get_type), (register_gst_flow_return),
9715         (gst_flow_return_get_type), (register_gst_activate_mode),
9716         (gst_activate_mode_get_type), (register_gst_pad_direction),
9717         (gst_pad_direction_get_type), (register_gst_pad_flags),
9718         (gst_pad_flags_get_type), (register_gst_pad_presence),
9719         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9720         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9721         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9722         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9723         (gst_plugin_flags_get_type), (register_gst_rank),
9724         (gst_rank_get_type), (register_gst_query_type),
9725         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9726         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9727         (gst_tag_flag_get_type), (register_gst_task_state),
9728         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9729         (gst_alloc_trace_flags_get_type),
9730         (register_gst_type_find_probability),
9731         (gst_type_find_probability_get_type), (register_gst_uri_type),
9732         (gst_uri_type_get_type), (register_gst_parse_error),
9733         (gst_parse_error_get_type):
9734         * win32/common/gstversion.h:
9735           update win32 copies
9736
9737 2005-11-01  Luca Ognibene  <luogni@tin.it>
9738
9739         * gst/gst.c:
9740           fix docs. popt is dead, long live GOption.
9741
9742 2005-10-31  Wim Taymans  <wim@fluendo.com>
9743
9744         * gst/gstbuffer.h:
9745         Small doc fix.
9746
9747 2005-10-31  Andy Wingo  <wingo@pobox.com>
9748
9749         * Boo!
9750
9751         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9752
9753         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9754         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9755         the possibility of deadlocks here if code calling notify() or
9756         set() has a lock that can be taken in another notify handler (ABBA
9757         with class lock and e.g. python GIL state lock).
9758
9759 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9760
9761         * gst/gstbus.c: Doc updates.
9762
9763 2005-10-28  Wim Taymans  <wim@fluendo.com>
9764
9765         * docs/design/part-TODO.txt:
9766         * gst/gstiterator.c:
9767         * gst/gstsystemclock.c:
9768         * gst/gstsystemclock.h:
9769         Doc updates.
9770
9771 2005-10-28  Edward Hervey  <edward@fluendo.com>
9772
9773         * docs/gst/gstreamer-docs.sgml:
9774         * docs/gst/gstreamer-sections.txt:
9775         the GstURIType documentation page is private, it only defines GstURIType
9776         which should be defined in the GstURIHandler page
9777         
9778 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9779
9780         * gst/gstbin.c: (gst_bin_class_init):
9781         * gst/gstbin.h:
9782         * gst/gstutils.c:
9783         Documentation updates.
9784
9785 2005-10-28  Wim Taymans  <wim@fluendo.com>
9786
9787         * docs/gst/gstreamer-sections.txt:
9788         * gst/gstclock.c:
9789         * gst/gstclock.h:
9790         Documented the clocks.
9791
9792 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9793
9794         * docs/gst/gstreamer-sections.txt:
9795           move some macros to private sections
9796         * gst/gstminiobject.c:
9797         * gst/gstminiobject.h:
9798           add descriptions provided by ds and some more
9799         * gst/gstpad.h:
9800           mark macro as to be removed
9801
9802 2005-10-28  Wim Taymans  <wim@fluendo.com>
9803
9804         * docs/design/part-TODO.txt:
9805         Add an item to TODO.
9806
9807         * gst/gstiterator.c: (gst_iterator_fold),
9808         (gst_iterator_find_custom):
9809         * gst/gstiterator.h:
9810         Add iterator docs.
9811
9812 2005-10-28  Wim Taymans  <wim@fluendo.com>
9813
9814         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9815         (gst_base_transform_init):
9816         Don't leak class.
9817
9818         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9819         An EOS event marks the queue as completely filled.
9820
9821 2005-10-27  Wim Taymans  <wim@fluendo.com>
9822
9823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9824         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9825         Some more debugging.
9826
9827         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9828         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9829         (gst_base_transform_event), (gst_base_transform_getrange),
9830         (gst_base_transform_chain):
9831         * gst/base/gstbasetransform.h:
9832         Fix debugging,
9833         Protect transform and concurrent buffer alloc with a new lock.
9834         Try not to break ABI/API.
9835
9836 2005-10-27  Wim Taymans  <wim@fluendo.com>
9837
9838         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9839         (gst_base_src_init), (gst_base_src_query),
9840         (gst_base_src_default_newsegment),
9841         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9842         (gst_base_src_send_event), (gst_base_src_event_handler),
9843         (gst_base_src_pad_get_range), (gst_base_src_loop),
9844         (gst_base_src_unlock), (gst_base_src_default_negotiate),
9845         (gst_base_src_start), (gst_base_src_deactivate),
9846         (gst_base_src_activate_push), (gst_base_src_change_state):
9847         Move some stuff around and cleanup things.
9848
9849 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
9850
9851         * gst/base/gstbasesrc.c: (gst_base_src_query):
9852           Add missing break statements.
9853
9854 2005-10-27  Wim Taymans  <wim@fluendo.com>
9855
9856         * check/gst/gstbin.c: (GST_START_TEST):
9857         An extra refcount is taken in basesrc.
9858
9859         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9860         (gst_base_src_get_range), (gst_base_src_pad_get_range),
9861         (gst_base_src_loop):
9862         Small cleanups, check for flushing after being unlocked from the 
9863         LIVE_LOCK. take refcounts correctly (not yet everywhere).
9864         Don't send out EOS when going to READY.
9865
9866 2005-10-27  Wim Taymans  <wim@fluendo.com>
9867
9868         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9869         (gst_base_sink_get_position):
9870         Some more debug.
9871
9872         * gst/gstbin.c: (message_check), (bin_replace_message),
9873         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9874         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9875         (bin_query_duration_init), (bin_query_duration_fold),
9876         (bin_query_duration_done), (bin_query_generic_fold),
9877         (gst_bin_query):
9878         * tools/gst-launch.c: (main):
9879         Remove old option.
9880
9881 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
9882
9883         * examples/controller/audio-example.c: (main):
9884         * examples/queue/queue.c: (event_loop):
9885         * gst/base/gstbasetransform.h:
9886         * gst/gstelement.c: (gst_element_send_event):
9887         * gst/gstevent.h:
9888         * gst/gstpad.c: (gst_pad_send_event):
9889           fixing examples
9890           fixing docs typos
9891           changing log priority in error situations
9892
9893 2005-10-25  Wim Taymans  <wim@fluendo.com>
9894
9895         * gst/gstbin.c: (message_check), (bin_replace_message),
9896         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9897         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9898         (bin_query_duration_init), (bin_query_duration_fold),
9899         (bin_query_duration_done), (bin_query_generic_fold),
9900         (gst_bin_query):
9901         Some doc and debug updates.
9902         Cache previously requested query DURATION for speed. invalidate
9903         cached duration if element posts a DURATION message.
9904
9905 2005-10-25  Wim Taymans  <wim@fluendo.com>
9906
9907         * docs/design/part-TODO.txt:
9908         Update TODO.
9909
9910         * gst/gstbin.c: (message_check), (bin_replace_message),
9911         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9912         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9913         (bin_query_duration_init), (bin_query_duration_fold),
9914         (bin_query_duration_done), (bin_query_generic_fold),
9915         (gst_bin_query):
9916         Handle SEGMENT_START/DONE messages correctly.
9917         More evolved query algorithm that handles duration queries
9918         correctly.
9919
9920         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9921         (gst_element_get_state_func), (gst_element_abort_state),
9922         (gst_element_commit_state), (gst_element_lost_state):
9923         Some more debugging.
9924
9925         * gst/gstmessage.h:
9926         Added doc.
9927
9928 2005-10-25  Wim Taymans  <wim@fluendo.com>
9929
9930         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9931         Don't use invalid stream_time.
9932
9933         * gst/gstevent.c: (gst_event_new_newsegment):
9934         stream_time in newsegment cannot be undefined.
9935
9936 2005-10-24  Wim Taymans  <wim@fluendo.com>
9937
9938         * gst/gstbus.c:
9939         Doc fix.
9940
9941         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9942         (gst_queue_loop):
9943         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9944
9945 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
9946
9947         * docs/libs/tmpl/gstdparam.sgml:
9948         * docs/libs/tmpl/gstdplinint.sgml:
9949         * docs/libs/tmpl/gstdpman.sgml:
9950         * docs/libs/tmpl/gstdpsmooth.sgml:
9951         * docs/libs/tmpl/gstunitconvert.sgml:
9952           these are obsolete
9953
9954 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9955
9956         * configure.ac:
9957           back to HEAD
9958
9959 === release 0.9.4 ===
9960
9961 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9962
9963         * configure.ac:
9964           releasing 0.9.4, "Tyrannosaurus Rex"
9965
9966 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
9967
9968         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9969         (gst_file_sink_get_current_offset):
9970           Use fseeko() and ftello() if available. When falling back on
9971           lseek() to get the current offset, fflush() first to make sure
9972           everything is up-to-date and we get the right offset.
9973
9974 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9975
9976         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9977         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9978         * gst/gsterror.c: (_gst_stream_errors_init):
9979         * gst/gsterror.h:
9980         * gst/gstqueue.c: (gst_queue_loop):
9981         * po/POTFILES.in:
9982           remove prematurely added error category and clean up the instances
9983
9984 2005-10-21  Wim Taymans  <wim@fluendo.com>
9985
9986         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9987         (gst_base_sink_get_position), (gst_base_sink_query),
9988         (gst_base_sink_change_state):
9989         Simply set the right flag when going to playing, that's all
9990         we need to do instead of calling a function inside the object
9991         lock (that could take the lock as well and deadlock)
9992
9993 2005-10-21  Wim Taymans  <wim@fluendo.com>
9994
9995         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9996         (gst_base_src_loop):
9997         Don't warn, the peer element knows what to do best when
9998         the seek failed, it might try something else.
9999
10000 2005-10-21  Wim Taymans  <wim@fluendo.com>
10001
10002         * gst/base/gstbasesrc.c: (gst_base_src_init),
10003         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10004         Fix seeking.
10005
10006 2005-10-21  Wim Taymans  <wim@fluendo.com>
10007
10008         * docs/design/part-segments.txt:
10009         More docs.
10010
10011         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10012         Correctly set caps, even on the subbufer.
10013
10014 2005-10-21  Wim Taymans  <wim@fluendo.com>
10015
10016         * docs/gst/gstreamer-docs.sgml:
10017         * docs/gst/gstreamer-sections.txt:
10018         * gst/gstelement.h:
10019         * gst/gstevent.c:
10020         * gst/gstevent.h:
10021         * gst/gstmessage.h:
10022         * gst/gstpad.h:
10023         * gst/gstparse.h:
10024         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10025         * gst/gsttask.h:
10026         * gst/gstutils.c:
10027         * gst/gstutils.h:
10028         And 2% more doc coverage.
10029
10030 2005-10-21  Andy Wingo  <wingo@pobox.com>
10031
10032         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10033         position reporting.
10034
10035 2005-10-20  Wim Taymans  <wim@fluendo.com>
10036
10037         * gst/gsterror.c: (gst_error_get_message):
10038         * gst/gstparse.h:
10039         * gst/gstquery.h:
10040         * gst/gststructure.c:
10041         * gst/gsttrace.c:
10042         * gst/gstutils.c:
10043         More docs.
10044
10045 2005-10-20  Wim Taymans  <wim@fluendo.com>
10046
10047         * gst/gstbuffer.h:
10048         * gst/gstpad.c:
10049         * gst/gstparse.c:
10050         Another 1% more coverage.
10051
10052 2005-10-20  Wim Taymans  <wim@fluendo.com>
10053
10054         * docs/gst/gstreamer-sections.txt:
10055         * gst/gstelement.c: (gst_element_get_state_func),
10056         (gst_element_abort_state), (gst_element_commit_state),
10057         (gst_element_lost_state):
10058         * gst/gstevent.h:
10059         * gst/gstquery.c: (gst_query_set_position),
10060         (gst_query_parse_position), (gst_query_set_duration),
10061         (gst_query_parse_duration), (gst_query_new_convert):
10062         * gst/gstutils.c:
10063         Yay! 1% more docs coverage.
10064
10065 2005-10-20  Wim Taymans  <wim@fluendo.com>
10066
10067         * gst/gstpad.h:
10068         * gst/gstquery.c: (gst_query_set_position),
10069         (gst_query_parse_position), (gst_query_set_duration),
10070         (gst_query_parse_duration), (gst_query_new_convert):
10071         * gst/gstquery.h:
10072         * gst/gstutils.c: (gst_element_query_convert):
10073         * gst/gstutils.h:
10074         Docs and consistency fixes.
10075
10076 2005-10-20  Wim Taymans  <wim@fluendo.com>
10077
10078         * gst/gsttask.c:
10079         * gst/gsttask.h:
10080         More docs.
10081
10082 2005-10-20  Wim Taymans  <wim@fluendo.com>
10083
10084         * gst/gstbin.c: (message_check), (bin_replace_message),
10085         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10086         (update_degree), (gst_bin_sort_iterator_next),
10087         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10088         Reworked the message handling a bit, cache the messages instead of
10089         only the senders. alows us to do more in the future.
10090
10091 2005-10-20  Wim Taymans  <wim@fluendo.com>
10092
10093         * docs/design/part-TODO.txt:
10094         Update TODO
10095
10096         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10097         (gst_base_sink_query):
10098         Don't use clock time to report position when in EOS.
10099
10100 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10101
10102         * tools/gst-inspect.c: (print_interfaces),
10103         (print_element_properties_info), (print_element_info):
10104           Fix interface output with gst-inspect -a; don't print
10105           newlines after double/float properties.
10106
10107 2005-10-20  Wim Taymans  <wim@fluendo.com>
10108
10109         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10110         (gst_base_sink_query):
10111         Speed up current position calculation.
10112
10113         * gst/base/gstbasesrc.c: (gst_base_src_query),
10114         (gst_base_src_default_newsegment):
10115         Correctly set stream position in newsegment.
10116
10117         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10118         (update_degree), (gst_bin_sort_iterator_next),
10119         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10120         * gst/gstmessage.c: (gst_message_new_custom):
10121         Clean up debugging info
10122
10123         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10124         (gst_queue_loop), (gst_queue_handle_src_query):
10125         Pause task faster.
10126
10127 2005-10-19  Wim Taymans  <wim@fluendo.com>
10128
10129         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10130         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10131         Fix query handling again.
10132
10133 2005-10-19  Wim Taymans  <wim@fluendo.com>
10134
10135         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10136         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10137         * gst/base/gstbasesrc.c: (gst_base_src_query):
10138         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10139         * gst/elements/gsttypefindelement.c:
10140         (gst_type_find_handle_src_query), (find_element_get_length),
10141         (gst_type_find_element_activate):
10142         API change fix.
10143
10144         * gst/gstquery.c: (gst_query_new_position),
10145         (gst_query_set_position), (gst_query_parse_position),
10146         (gst_query_new_duration), (gst_query_set_duration),
10147         (gst_query_parse_duration), (gst_query_set_segment),
10148         (gst_query_parse_segment):
10149         * gst/gstquery.h:
10150         Bundling query position/duration is not a good idea since duration
10151         does not change much and we don't want to recalculate it for every
10152         position query, so they are separated again..
10153         Base value in segment query is not needed.
10154
10155         * gst/gstqueue.c: (gst_queue_handle_src_query):
10156         * gst/gstutils.c: (gst_element_query_position),
10157         (gst_element_query_duration), (gst_pad_query_position),
10158         (gst_pad_query_duration):
10159         * gst/gstutils.h:
10160         Updates for query API change.
10161         Added some docs here and there.
10162
10163 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10164
10165         * check/gst/gstbin.c: (GST_START_TEST):
10166         * check/gst/gstghostpad.c: (GST_START_TEST):
10167         * check/pipelines/cleanup.c: (GST_START_TEST):
10168           wait on thread to die so we can check refcount correctly
10169
10170 2005-10-18  Wim Taymans  <wim@fluendo.com>
10171
10172         * check/pipelines/stress.c: (GST_START_TEST):
10173         Make check a little more time consuming.
10174
10175 2005-10-18  Wim Taymans  <wim@fluendo.com>
10176
10177         * check/Makefile.am:
10178         * check/pipelines/stress.c: (GST_START_TEST),
10179         (simple_launch_lines_suite), (main):
10180         Small state change torture test.
10181
10182         * docs/design/part-states.txt:
10183         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10184         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10185         (gst_base_sink_change_state):
10186         Never take state lock from streaming thread, clean up ugly
10187         hacks. Unfortunatly core does not yet support nice ways to
10188         async commit state.
10189         
10190         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10191         (bin_bus_handler):
10192         Start state recalc if a STATE_DIRTY message is posted, but only
10193         on the toplevel bin.
10194
10195         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10196         (gst_element_get_state_func), (gst_element_abort_state),
10197         (gst_element_commit_state), (gst_element_lost_state),
10198         (gst_element_set_state_func), (gst_element_change_state):
10199         * gst/gstelement.h:
10200         State variables are now protected with the LOCK, the state
10201         lock is only used to serialize _set_state().
10202
10203 2005-10-18  Wim Taymans  <wim@fluendo.com>
10204
10205         * check/gst/gstbin.c: (GST_START_TEST):
10206         * check/gst/gstmessage.c: (GST_START_TEST):
10207         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10208         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10209         (bin_bus_handler):
10210         * gst/gstelement.c: (gst_element_abort_state),
10211         (gst_element_commit_state), (gst_element_lost_state):
10212         * gst/gstmessage.c: (gst_message_new_state_changed),
10213         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10214         (gst_message_new_segment_done), (gst_message_new_duration),
10215         (gst_message_parse_state_changed),
10216         (gst_message_parse_segment_start),
10217         (gst_message_parse_segment_done), (gst_message_parse_duration):
10218         * gst/gstmessage.h:
10219         * tools/gst-launch.c: (event_loop):
10220         Seriously, this is better than a previous commit as we only need
10221         to notify the fact that an element changed state in a streaming
10222         thread, marking the state of the parents dirty, hence the 
10223         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10224         message.
10225
10226 2005-10-18  Wim Taymans  <wim@fluendo.com>
10227
10228         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10229         (gst_bin_recalc_func):
10230         * gst/gstelement.c: (gst_element_set_clock),
10231         (gst_element_abort_state), (gst_element_lost_state):
10232         Cleanups, prepare for state change fixes.
10233
10234 2005-10-18  Wim Taymans  <wim@fluendo.com>
10235
10236         * gst/gstbin.h:
10237         * gst/gstelement.c: (gst_element_class_init),
10238         (gst_element_set_state), (gst_element_set_state_func):
10239         * gst/gstelement.h:
10240         Pending ABI changes.
10241         GThreadPool in GstBinClass to monitor async state changes.
10242         state_cookie in GstElement to detect concurrent gst/set state.
10243         set_state is now virtual too in case a very complicated element
10244         has to be constructed.
10245
10246 2005-10-18  Wim Taymans  <wim@fluendo.com>
10247
10248         * check/gst/gstbin.c: (GST_START_TEST):
10249         * check/gst/gstmessage.c: (GST_START_TEST):
10250         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10251         * gst/gstbin.c: (bin_bus_handler):
10252         * gst/gstelement.c: (gst_element_commit_state),
10253         (gst_element_lost_state):
10254         * gst/gstmessage.c: (gst_message_new_state_changed),
10255         (gst_message_new_segment_start), (gst_message_new_segment_done),
10256         (gst_message_new_duration), (gst_message_parse_state_changed),
10257         (gst_message_parse_segment_start),
10258         (gst_message_parse_segment_done), (gst_message_parse_duration):
10259         * gst/gstmessage.h:
10260         * tools/gst-launch.c: (event_loop):
10261         Make messages future proof.
10262         state-change gets a flag if it was a message comming from the
10263         streaming thread.
10264         segment-start/stop can also be specified in other formats.
10265         A message to notify an app that a pipeline changed playback 
10266         duration.
10267         Also fix a GstMessage leak in -launch
10268
10269 2005-10-18  Andy Wingo  <wingo@pobox.com>
10270
10271         * gst/gstelement.c (gst_element_dispose): More helpful message.
10272
10273 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10274
10275         reviewed by: <delete if not using a buddy>
10276
10277         * common/gtk-doc.mak:
10278
10279 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10280
10281         * gst/gstregistry.c: (gst_registry_scan_path_level):
10282           unref a plug-in we get that was already initialized
10283
10284 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10285
10286         * docs/gst/gstreamer-sections.txt:
10287         * docs/libs/gstreamer-libs-sections.txt:
10288         * gst/gstelement.h:
10289           add new api entries
10290           hide internal macro
10291
10292 2005-10-17  Andy Wingo  <wingo@pobox.com>
10293
10294         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10295         cleanup.
10296
10297         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10298
10299         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10300
10301         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10302         (gst_element_get_state_func): Better debug message.
10303         (gst_element_commit_state): s/INFO/DEBUG/.
10304         (gst_element_lost_state, gst_element_change_state): 
10305
10306         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10307         (gst_message_new_custom): s/INFO/LOG/.
10308
10309 2005-10-17  Michael Smith <msmith@fluendo.com>
10310
10311         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10312           Check if end time is valid using end time, not start time.
10313
10314 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10315
10316         * check/gst-libs/controller.c: (GST_START_TEST),
10317         (gst_controller_suite):
10318         * libs/gst/controller/gstcontroller.c:
10319         (gst_controlled_property_set_interpolation_mode):
10320         * libs/gst/controller/gstcontroller.h:
10321         * libs/gst/controller/gstinterpolation.c:
10322         * testsuite/controller/.cvsignore:
10323         * testsuite/controller/Makefile.am:
10324         * testsuite/controller/interpolator.c:
10325           merge controller testsuites
10326           fix broken tests
10327           remove mem-chunk from docs
10328
10329 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10330
10331         * gst/gstmemchunk.c:
10332         * gst/gstmemchunk.h:
10333         * gst/gsttrashstack.c:
10334         * gst/gsttrashstack.h:
10335           out.  get out.  you're fired.  to the Attic !
10336
10337 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10338
10339         * gst/gstcaps.c: (gst_caps_intersect):
10340           fix signedness issues in a (hopefully) correct way
10341         * gst/gstelement.c: (gst_element_pads_activate):
10342           some debugging
10343         * gst/gstobject.c: (gst_object_set_parent):
10344           some debugging
10345
10346 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10347
10348         * gst/gstvalue.h: Fix prototypes.
10349
10350 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * docs/gst/gstreamer-sections.txt:
10353         * gst/gst.c: (gst_version_string):
10354         * gst/gst.h:
10355         * gst/gstversion.h.in:
10356         * win32/common/libgstreamer.def:
10357           add gst_version_string ()
10358
10359 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10360
10361         * configure.ac:
10362           clean up further
10363         * gst/gst.c: (init_post):
10364         * win32/common/config.h.in:
10365           it's PLUGINDIR now
10366         * gst/gstcaps.c: (gst_caps_intersect):
10367           use gint64, the range could be bigger than a guint
10368
10369 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10370
10371         * gst/gstclock.h:
10372           document potential problem in 2038
10373
10374 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10375
10376         * gst/gstcaps.c: (gst_caps_intersect):
10377           Fix guint j diving under 0
10378
10379 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10380
10381         * configure.ac:
10382         * win32/common/config.h:
10383         * win32/common/config.h.in:
10384           check for process.h, declares getpid() on Windows
10385         * gst/gstinfo.c:
10386           include process.h if we have it
10387         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10388         * gst/gstmemchunk.h:
10389           fix signedness issues
10390         * win32/common/libgstreamer.def:
10391           fix get_type's
10392
10393 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10394
10395         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10396         fix. Because of unsigned ints, caps intersection was going nuts and
10397         trying to access structures with G_MAXUINT index. That fixes
10398         videotestsrc ! ffmpegcolorspace ! fakesink
10399         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10400         consistency.
10401
10402 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10403
10404         * configure.ac:
10405           use the gettext macro
10406         * gst/elements/gstelements.c:
10407         * gst/gst.c:
10408         * gst/indexers/gstindexers.c:
10409           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10410         * win32/common/config.h:
10411           updated config.h
10412         * win32/common/config.h.in:
10413           add the template to generate config.h
10414         * win32/common/gstenumtypes.c:
10415         * win32/common/gstversion.h:
10416           updated copies
10417
10418 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10419
10420         * gst/gst.c: (gst_version):
10421         * gst/gstversion.h.in:
10422           add the nano
10423
10424 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10425
10426         * gst/gstevent.h:
10427           Oops, add missing closing bracket.
10428
10429 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10430
10431         * configure.ac:
10432           use common m4's for argument checking
10433
10434 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10435
10436         * docs/gst/gstreamer-sections.txt:
10437         * gst/gstevent.h:
10438           Add GST_EVENT_TYPE_NAME() macro.
10439
10440 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10441
10442         * gst/gstinfo.c:
10443         * gst/gstpluginfeature.c:
10444         * gst/gsttask.c:
10445           privatize more symbols
10446
10447 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10448
10449         * configure.ac:
10450           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10451           everything that uses GStreamer API should have the includes
10452
10453 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10454
10455         * docs/gst/gstreamer-sections.txt:
10456         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10457         * gst/gstvalue.h:
10458           give each value a _get_type, removes the DATA exports
10459
10460 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * gst/gst.c:
10463         * gst/gst.h:
10464           remove _gst_registry_auto_load, not used anymore
10465         * gst/gstbin.c: (gst_bin_get_type):
10466         * gst/gstbin.h:
10467         * gst/gstelement.c: (gst_element_get_type):
10468         * gst/gstelement.h:
10469         * gst/gstobject.c: (gst_object_get_type):
10470         * gst/gstobject.h:
10471         * gst/gstpad.c: (gst_pad_get_type):
10472         * gst/gstpad.h:
10473           make _get_type functions similar, fixes data export from library
10474
10475 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10476
10477         * configure.ac:
10478           correctly make conditionals
10479         * gst/elements/Makefile.am:
10480         * gst/elements/gstelements.c:
10481           fix typo causing fdsrc not to build
10482
10483 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10484
10485         * testsuite/Makefile.am:
10486         * testsuite/bytestream/.cvsignore:
10487         * testsuite/bytestream/Makefile.am:
10488         * testsuite/bytestream/filepadsink.c:
10489         * testsuite/bytestream/gstbstest.c:
10490         * testsuite/bytestream/test1.c:
10491         * testsuite/bytestream/testfile1:
10492         * testsuite/caps/normalisation.c:
10493         * testsuite/caps/random.c: (main):
10494         * testsuite/cleanup/.cvsignore:
10495         * testsuite/cleanup/Makefile.am:
10496         * testsuite/cleanup/cleanup1.c:
10497         * testsuite/cleanup/cleanup2.c:
10498         * testsuite/cleanup/cleanup3.c:
10499         * testsuite/cleanup/cleanup4.c:
10500         * testsuite/cleanup/cleanup5.c:
10501         * testsuite/controller/interpolator.c:
10502         * testsuite/debug/printf_extension.c: (main):
10503         * testsuite/elements/tee.c:
10504         * testsuite/negotiation/.cvsignore:
10505         * testsuite/negotiation/Makefile.am:
10506         * testsuite/negotiation/pad_link.c:
10507         * testsuite/pad/Makefile.am:
10508         * testsuite/pad/chainnopull.c:
10509         * testsuite/pad/getnopush.c:
10510         * testsuite/pad/link.c:
10511         * testsuite/refcounting/sched.c: (create_pipeline):
10512         * testsuite/registry/Makefile.am:
10513         * testsuite/registry/gst-print-formats.c:
10514         * testsuite/schedulers/.cvsignore:
10515         * testsuite/schedulers/142183-2.c:
10516         * testsuite/schedulers/142183.c:
10517         * testsuite/schedulers/143777-2.c:
10518         * testsuite/schedulers/143777.c:
10519         * testsuite/schedulers/147713.c:
10520         * testsuite/schedulers/147819.c:
10521         * testsuite/schedulers/147894-2.c:
10522         * testsuite/schedulers/147894.c:
10523         * testsuite/schedulers/Makefile.am:
10524         * testsuite/schedulers/group_link.c:
10525         * testsuite/schedulers/queue_link.c:
10526         * testsuite/schedulers/relink.c:
10527         * testsuite/schedulers/unlink.c:
10528         * testsuite/schedulers/unref.c:
10529         * testsuite/schedulers/useless_iteration.c:
10530         * testsuite/states/bin.c:
10531           clean out/remove some stuff from the testsuite directories
10532
10533 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10534
10535         * configure.ac:
10536           check for some headers
10537         * gst/elements/Makefile.am:
10538         * gst/elements/gstelements.c:
10539           don't compile fdsrc without sys/socket.h
10540         * gst/indexers/Makefile.am:
10541         * gst/indexers/gstindexers.c: (plugin_init):
10542           don't compile fileindex without mmap
10543
10544 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10545
10546         * configure.ac:
10547           reorganize
10548           clean up
10549           document more
10550           remove cruft
10551         * check/Makefile.am:
10552         * docs/gst/Makefile.am:
10553         * examples/helloworld/Makefile.am:
10554         * gst/Makefile.am:
10555         * gst/base/Makefile.am:
10556         * gst/check/Makefile.am:
10557         * gst/elements/Makefile.am:
10558         * gst/indexers/Makefile.am:
10559         * gst/parse/Makefile.am:
10560         * libs/gst/controller/Makefile.am:
10561         * libs/gst/dataprotocol/Makefile.am:
10562         * examples/helloworld/helloworld.c: (event_loop):
10563           compile fixes, though it's not being compiled currently
10564
10565 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10566
10567         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10568           Add some simple tests for the new taglist date API.
10569
10570 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10571
10572         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10573         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10574           Beautify 'last-message' output: print 'none' for buffer timestamps
10575           and durations if none is set; improve alignment with next messages.
10576
10577 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10578
10579         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10580         * gst/gstpluginfeature.h:
10581         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10582         * gst/gstregistry.h:
10583         * docs/gst/gstreamer-sections.txt:
10584           Add new API to check plugin feature version requirements.
10585
10586         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10587           Some basic tests for the above.         
10588
10589 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10590
10591         * gst/gststructure.c: (gst_structure_to_string):
10592           guard against NULL printf - happens when for example
10593           a message structure with GstClock gets serialized
10594
10595 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10596
10597         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10598           Fix presumable copy'n'pasto.
10599
10600 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10601
10602         * gst/elements/gstfakesrc.h:
10603         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10604         * gst/elements/gsttypefindelement.c:
10605           fix some signedness
10606         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10607           I wonder if this could actually write +2GB files before
10608
10609 2005-10-13  Andy Wingo  <wingo@pobox.com>
10610
10611         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10612         Fix Timmeke Waymans bug.
10613         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10614         string of the proper length to gst_caps_from_string. There's a
10615         potential for, before this fix, that this could cause someone
10616         connecting over the network to cause a segfault if the payload is
10617         not NUL-terminated.
10618
10619 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10620
10621         * docs/design/draft-push-pull.txt:
10622         * docs/design/part-overview.txt:
10623         * docs/random/TODO-pre-0.9:
10624         * docs/random/old/ChangeLog.gstreamer:
10625         * gst/base/gstpushsrc.c:
10626         * gst/gstclock.c:
10627           fixed typos
10628
10629 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10630
10631         * gst/glib-compat.c: (gst_flags_get_first_value):
10632         * gst/glib-compat.h:
10633         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10634         (gst_value_compare_double), (gst_value_serialize_flags):
10635           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10636           infinite loop
10637
10638 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10639
10640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10641         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10642           fix up debugging
10643         * tools/gst-launch.c: (event_loop):
10644           print out clock nicely
10645
10646 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10647
10648         * docs/gst/gstreamer-sections.txt:
10649         * gst/gsttaglist.h:
10650         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10651         (gst_tag_list_get_date_index):
10652           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10653           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10654
10655 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10656
10657         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10658         (gst_collectpads_chain):
10659         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10660         in CollectData.
10661
10662 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10663
10664         * docs/gst/gstreamer-sections.txt:
10665         * gst/gst.c:
10666         * gst/gsterror.h:
10667         * tools/gst-inspect.c: (main):
10668         * tools/gst-launch.c: (main):
10669         * tools/gst-run.c: (main):
10670         * tools/gst-xmlinspect.c: (main):
10671           fix GOption context leaks
10672           doc fixes
10673
10674 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10675
10676         * gst/gstbus.c:
10677           use HAVE_UNISTD_H
10678         * win32/common/config.h:
10679           update config
10680         * win32/vs6/grammar.dsp:
10681         * win32/vs6/libgstelements.dsp:
10682         * win32/vs6/libgstreamer.dsp:
10683           update vs6 files
10684
10685 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10686
10687         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10688         * gst/base/gstbasesrc.c: (gst_base_src_query):
10689           fix more guint64<->gdouble conversions
10690
10691 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10692
10693         * Makefile.am:
10694           add win32-update target
10695         * win32/common/gstconfig.h:
10696         * win32/common/gstenumtypes.c:
10697         * win32/common/gstenumtypes.h:
10698         * win32/common/gstversion.h:
10699           add files that visual studio can't generate
10700
10701 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10702
10703         * Makefile.am:
10704           add a win32-update target
10705         * configure.ac:
10706
10707 2005-10-12  Wim Taymans  <wim@fluendo.com>
10708
10709         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10710         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10711         * gst/gstelement.c: (gst_element_commit_state),
10712         (gst_element_set_state):
10713         Protect flags with proper lock.
10714         unref provided cached clock in dispose.
10715
10716 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10717
10718         * gst/gst.c:
10719         * gst/gstminiobject.h:
10720         * gst/gstpad.h:
10721         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10722           removed unused flags from miniobject
10723           doc fixes
10724
10725 2005-10-12  Wim Taymans  <wim@fluendo.com>
10726
10727         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10728         (gst_file_sink_event), (gst_file_sink_render):
10729         Flush before seeking.
10730
10731 2005-10-12  Andy Wingo  <wingo@pobox.com>
10732
10733         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10734         always been the case.
10735
10736 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10737
10738         * check/gst/gstbin.c: (GST_START_TEST):
10739         * docs/gst/gstreamer-sections.txt:
10740         * gst/base/gstbasesink.c: (gst_base_sink_init):
10741         * gst/base/gstbasesrc.c: (gst_base_src_init),
10742         (gst_base_src_get_range), (gst_base_src_check_get_range),
10743         (gst_base_src_start), (gst_base_src_stop):
10744         * gst/base/gstbasesrc.h:
10745         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10746         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10747         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10748         (bin_bus_handler):
10749         * gst/gstbin.h:
10750         * gst/gstbuffer.h:
10751         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10752         * gst/gstbus.h:
10753         * gst/gstelement.c: (gst_element_is_locked_state),
10754         (gst_element_set_locked_state), (gst_element_commit_state),
10755         (gst_element_set_state):
10756         * gst/gstelement.h:
10757         * gst/gstindex.c: (gst_index_init):
10758         * gst/gstindex.h:
10759         * gst/gstminiobject.h:
10760         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10761         (gst_object_set_parent):
10762         * gst/gstobject.h:
10763         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10764         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10765         * gst/gstpad.h:
10766         * gst/gstpadtemplate.h:
10767         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10768         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10769         * gst/gstpipeline.h:
10770         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10771         (gst_file_index_commit):
10772         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10773         * testsuite/pad/link.c: (gst_test_src_init),
10774         (gst_test_filter_init), (gst_test_sink_init):
10775         * testsuite/states/locked.c: (main):
10776           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10777           moved bitshift from macro to enum definition
10778
10779 2005-10-12  Wim Taymans  <wim@fluendo.com>
10780
10781         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10782         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10783         (gst_file_sink_render):
10784         Some more debugging info.
10785
10786 2005-10-12  Wim Taymans  <wim@fluendo.com>
10787
10788         * docs/design/part-states.txt:
10789         * tools/gst-launch.c: (main):
10790         Some doc updates.
10791         Revert non-intentional change.
10792
10793 2005-10-12  Wim Taymans  <wim@fluendo.com>
10794
10795         * check/gst/gstbin.c: (GST_START_TEST):
10796         * check/gst/gstelement.c: (GST_START_TEST):
10797         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10798         * check/gst/gstghostpad.c: (GST_START_TEST):
10799         * check/gst/gstpipeline.c: (GST_START_TEST):
10800         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10801         * check/states/sinks.c: (GST_START_TEST):
10802         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10803         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10804         (gst_bin_remove_func), (gst_bin_get_state_func),
10805         (gst_bin_recalc_state), (gst_bin_change_state_func),
10806         (bin_bus_handler):
10807         * gst/gstelement.c: (gst_element_get_state_func),
10808         (gst_element_get_state), (gst_element_abort_state),
10809         (gst_element_commit_state), (gst_element_set_state),
10810         (gst_element_change_state), (gst_element_change_state_func):
10811         * gst/gstelement.h:
10812         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10813         (gst_pipeline_provide_clock_func):
10814         * gst/gstutils.c: (gst_element_link_pads_filtered):
10815         * tools/gst-launch.c: (main):
10816         * tools/gst-typefind.c: (main):
10817         Use GstClockTime in _get_state() instead of GTimeVal.
10818         Remove old code in gstutils.c
10819
10820 2005-10-12  Andy Wingo  <wingo@pobox.com>
10821
10822         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10823         removed.
10824
10825         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10826         there is no task. Shouldn't affect any code, as nothing in our
10827         plugins checks this return value.
10828         (gst_pad_stop_task): Also take the stream lock if the pad has no
10829         task. Docs updated.
10830
10831 2005-10-12  Wim Taymans  <wim@fluendo.com>
10832
10833         * gst/gstpad.c: (pre_activate), (post_activate),
10834         (gst_pad_activate_pull), (gst_pad_activate_push):
10835         Cleanup activation code. Reset old state if
10836         activation failed.
10837
10838 2005-10-12  Wim Taymans  <wim@fluendo.com>
10839
10840         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10841         (gst_base_sink_change_state):
10842         No need to prerol after receiving EOS.
10843
10844         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10845         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10846         * gst/elements/gstidentity.c: (gst_identity_event):
10847         Print events more verbosely.
10848
10849 2005-10-12  Wim Taymans  <wim@fluendo.com>
10850
10851         * check/Makefile.am:
10852         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10853         * check/states/sinks2.c:
10854         Moved sinks2 testcode in sinks check.
10855
10856         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10857         (gst_bin_remove_func), (gst_bin_recalc_state),
10858         (gst_bin_change_state_func), (bin_bus_handler):
10859         Fix potential race condition when _get_state() iterated over an
10860         ASYNC element right before it posted a state completion.
10861
10862         * gst/gstclock.h:
10863         Do proper cast here.
10864
10865         * gst/gstevent.c: (gst_event_new_newsegment),
10866         (gst_event_parse_newsegment):
10867         A playback rate of 0.0 is not allowed.
10868
10869 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10870
10871         * win32/common/config.h:
10872         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10873         (_trewinddir), (_ttelldir), (_tseekdir):
10874         * win32/common/dirent.h:
10875         * win32/common/gtchar.h:
10876         * win32/common/libgstbase.def:
10877         * win32/common/libgstreamer.def:
10878         * win32/vs6/grammar.dsp:
10879         * win32/vs6/gst_inspect.dsp:
10880         * win32/vs6/gst_launch.dsp:
10881         * win32/vs6/gstreamer.dsw:
10882         * win32/vs6/libgstbase.dsp:
10883         * win32/vs6/libgstelements.dsp:
10884         * win32/vs6/libgstreamer.dsp:
10885           Visual Studio 6 project files, and a new common directory.
10886           Phear.
10887
10888 2005-10-11  Wim Taymans  <wim@fluendo.com>
10889
10890         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10891         (gst_base_sink_do_sync), (gst_base_sink_query),
10892         (gst_base_sink_change_state):
10893         * gst/base/gstbasesink.h:
10894         Correctly parse newsegment info.
10895
10896 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10897
10898         * gst/gst.c: (init_post):
10899           split plugin paths correctly
10900
10901 2005-10-11  Wim Taymans  <wim@fluendo.com>
10902
10903         * check/gst/gstevent.c: (GST_START_TEST):
10904         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10905         (gst_base_sink_change_state):
10906         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10907         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10908         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10909         * gst/gstevent.c: (gst_event_new_newsegment),
10910         (gst_event_parse_newsegment):
10911         * gst/gstevent.h:
10912         Added extra flag to newsegment for future API freeze.
10913         Updated check and base elements.
10914
10915 2005-10-11  Julien MOUTTE  <julien@moutte.net>
10916
10917         * gst/base/gstcollectpads.c: (gst_collectpads_init),
10918         (gst_collectpads_add_pad), (gst_collectpads_pop),
10919         (gst_collectpads_event), (gst_collectpads_chain):
10920         * gst/base/gstcollectpads.h: Handle EOS correctly.
10921
10922 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10923
10924         * tools/gst-launch.c: (main):
10925           more null protecting
10926
10927 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10928
10929         * gst/gst-i18n-lib.h:
10930           check for ENABLE_NLS, not GETTEXT_PACKAGE
10931         * gst/gstregistry.c: (gst_registry_add_plugin),
10932         (gst_registry_scan_path_level),
10933         (_gst_registry_remove_cache_plugins):
10934           protect possibly NULL strings
10935         * gst/parse/types.h:
10936           config.h already included before
10937         * tools/gst-inspect.c: (main):
10938           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10939           check for ENABLE_NLS, not GETTEXT_PACKAGE
10940         * tools/gst-launch.c: (main):
10941           check for ENABLE_NLS, not GETTEXT_PACKAGE
10942
10943 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10944
10945         * configure.ac:
10946           if we don't have glib, fail before testing 2.8
10947         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10948           fix a leak, should fix plugins-base testsuite
10949
10950 2005-10-11  Andy Wingo  <wingo@pobox.com>
10951
10952         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10953         take the mode we're going to as an arg. Go head and set the mode
10954         and flushing flags now, so that if the activate function starts a
10955         thread all the flags will be in the right state.
10956         (post_activate): Renamed also. Just handle making sure streaming
10957         finishes for the deactivation case, and setting the deactivated
10958         mode.
10959         (gst_pad_set_active): Complain loudly if deactivation fails.
10960         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10961         (gst_pad_activate_push): Adapt to pre/post_activate changes,
10962         remove the terrible hack.
10963
10964 2005-10-11  Wim Taymans  <wim@fluendo.com>
10965
10966         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10967         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10968         (gst_bin_recalc_state), (gst_bin_change_state_func),
10969         (gst_bin_dispose), (bin_bus_handler):
10970         * gst/gstbin.h:
10971         Prepare to make current EOS message queue more generic.
10972         Fix some typos.
10973
10974         * gst/gstevent.c: (gst_event_new_newsegment),
10975         (gst_event_parse_newsegment):
10976         * gst/gstevent.h:
10977         Rename base to stream_time.
10978
10979         * gst/gstmessage.h:
10980         Fix typo in docs.
10981
10982 2005-10-11  Wim Taymans  <wim@fluendo.com>
10983
10984         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10985         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10986         (gst_bin_change_state_func), (bin_bus_handler):
10987         * gst/gstbin.h:
10988         Work on proper clock selection.
10989
10990 2005-10-11  Edward Hervey  <edward@fluendo.com>
10991
10992         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
10993         * libs/gst/controller/gstcontroller.h:
10994         Added GList* version of _remove_properties() in order to be able to wrap
10995         it in bindings.
10996
10997 2005-10-11  Wim Taymans  <wim@fluendo.com>
10998
10999         * docs/design/part-states.txt:
11000         Some more docs.
11001
11002         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11003         (gst_bin_change_state_func), (bin_bus_handler):
11004         Doc updates. Don't distribute the same clock over and over again.
11005
11006         * gst/gstclock.c:
11007         * gst/gstclock.h:
11008         Doc updates.
11009
11010         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11011         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11012         (gst_pad_send_event):
11013         * gst/gstpad.h:
11014         Make probe emission threadsafe again.
11015         Register quarks and move _get_name() from utils.
11016         Doc updates.
11017
11018         * gst/gstpipeline.c: (gst_pipeline_class_init),
11019         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11020         Only redistribute the clock of it changed.
11021
11022         * gst/gstsystemclock.h:
11023         Doc updates. 
11024
11025         * gst/gstutils.c:
11026         * gst/gstutils.h:
11027         Moved the _flow_get_name() to GstPad.
11028
11029 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11030
11031         * check/gst-libs/gdp.c: (GST_START_TEST):
11032         * check/gst/gstcaps.c: (GST_START_TEST):
11033         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11034         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11035         (gst_dp_packet_from_caps):
11036           fix more valgrind warnings before turning up the heat
11037
11038 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11039
11040         * gst/parse/grammar.y:
11041           some cleanup before the hacking
11042
11043 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11044
11045         * gst/base/gstbasesrc.c: (gst_base_src_query):
11046           use conversions
11047         * gst/gstutils.c: (gst_guint64_to_gdouble),
11048         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11049         * gst/gstutils.h:
11050           externalize, basesrc uses it
11051           obviously the implementation needs testing
11052
11053 2005-10-10  Wim Taymans  <wim@fluendo.com>
11054
11055         * tests/sched/Makefile.am:
11056         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11057         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11058
11059 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11060
11061         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11062           apparently converting from guint64 to double is not implemented
11063           on MSVC
11064
11065 2005-10-10  Wim Taymans  <wim@fluendo.com>
11066
11067         * check/Makefile.am:
11068         * check/generic/states.c: (GST_START_TEST):
11069         * check/gst/gstbin.c: (GST_START_TEST):
11070         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11071         * check/states/sinks.c: (GST_START_TEST):
11072         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11073         (main):
11074         Check fixes, use API as stated in design docs, remove hacks.
11075
11076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11077         (gst_base_sink_change_state):
11078         Catch stopping our task while we're shutting down.
11079
11080         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11081         (gst_bin_remove_func), (gst_bin_get_state_func),
11082         (gst_bin_recalc_state), (gst_bin_change_state_func),
11083         (bin_bus_handler):
11084         * gst/gstbin.h:
11085         * gst/gstelement.c: (gst_element_init),
11086         (gst_element_get_state_func), (gst_element_abort_state),
11087         (gst_element_commit_state), (gst_element_lost_state),
11088         (gst_element_set_state), (gst_element_change_state),
11089         (gst_element_change_state_func):
11090         * gst/gstelement.h:
11091         New state change algorithm (see #318116)
11092
11093         * gst/gstpipeline.c: (gst_pipeline_class_init),
11094         (gst_pipeline_init), (gst_pipeline_set_property),
11095         (gst_pipeline_get_property), (do_pipeline_seek),
11096         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11097         * gst/gstpipeline.h:
11098         Remove crude state change hacks.
11099
11100         * gst/gstutils.h:
11101         Remove crude hacks.
11102
11103         * tools/gst-launch.c: (main):
11104         Fixes for state change. Needs some more work to fully use the
11105         new stuff.
11106
11107 2005-10-10  Andy Wingo  <wingo@pobox.com>
11108
11109         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11110
11111         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11112         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11113         issue.
11114
11115 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * gst/gstiterator.c: (gst_iterator_new):
11118           Fix my previous commit: GTypes passed to gst_iterator_new()
11119           can be fundamental types.
11120
11121 2005-10-10  Wim Taymans  <wim@fluendo.com>
11122
11123         * gst/gstelement.c: (gst_element_iterate_pad_list),
11124         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11125         (gst_element_iterate_sink_pads):
11126         Use src/sink pads lists for the respective iterators instead
11127         of filtering.
11128
11129 2005-10-10  Andy Wingo  <wingo@pobox.com>
11130
11131         Merged in popt removal + GOption addition patch from Ronald, bug
11132         #169772.
11133
11134         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11135         GstElement macros around, remove popt-related symbols, add goption
11136         stuff.
11137
11138         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11139         
11140         * docs/gst/Makefile.am:
11141         * docs/libs/Makefile.am: No POPT_CFLAGS.
11142         
11143         * examples/manual/Makefile.am:
11144         * docs/manual/basics-init.xml: Doc updates with an example.
11145         
11146         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11147         (gst_init), (parse_one_option), (parse_goption_arg):
11148         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11149         bit of hand merging and debugging to get the GOption stuff working
11150         tho.
11151         
11152         * tests/Makefile.am:
11153         * tools/Makefile.am:
11154         * tools/gst-inspect.c: (main):
11155         * tools/gst-launch.c: (main):
11156         * tools/gst-run.c: (main):
11157         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11158
11159 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         * gst/gstiterator.c: (gst_iterator_new):
11162           Add assertions to make sure passed GType is likely to really
11163           be a GType (as the compiler won't catch it if the size and
11164           GType arguments get mixed up, see #318447).
11165
11166 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11167
11168         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11169
11170         * gst/gstbin.c: (gst_bin_iterate_sorted):
11171           Pass GType and size arguments to gst_iterator_new() in the right
11172           order (maybe we should make _new() take the GType as first argument
11173           just like _new_list()?) (#318447).
11174           
11175
11176 2005-10-10  Wim Taymans  <wim@fluendo.com>
11177
11178         * gst/gstelement.c: (gst_element_finalize):
11179         And free the GStaticRecMutex too
11180
11181 2005-10-10  Andy Wingo  <wingo@pobox.com>
11182
11183         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11184         Allocate and free the mutex properly.
11185
11186         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11187         New macros.
11188         (GstElement): The state_lock is now recursive. Rebuild your
11189         plugins, suckers. Old macros adapted.
11190
11191         * docs/gst/gstreamer-sections.txt: Doc updates.
11192
11193         * gst/gstutils.h:
11194         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11195         (g_static_rec_cond_wait): Ported from state changes patch, while
11196         we wait on bug #317802 to be solved in a well-distributed GLib.
11197
11198         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11199         gst_element_change_state, variable name changes.
11200         (gst_element_change_state): Split out of gst_element_set_state in
11201         preparation for the state change merge. Doesn't pay attention to
11202         the 'transition' argument.
11203         (gst_element_set_state): Updates, hopefully purely cosmetic.
11204         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11205         state change patch.
11206         (gst_element_get_state_func): Renamed from get_state, cosmetic
11207         changes.
11208
11209 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11210
11211         * gst/elements/gstelements.c:
11212         * win32/GStreamer.vcproj:
11213         * win32/config.h:
11214         * win32/dirent.c: (_tseekdir):
11215         * win32/gst-inspect.vcproj:
11216         * win32/gst-launch.vcproj:
11217         * win32/gstconfig.h:
11218         * win32/gstelements.vcproj:
11219         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11220         * win32/gstreamer.def:
11221         * win32/msvc71.sln:
11222           updates for the win32 build (patch from Sebastien Moutte)
11223
11224 2005-10-10  Andy Wingo  <wingo@pobox.com>
11225
11226         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11227         gst_bin_get_state, cleaned up (but no logic changes).
11228         (bin_element_is_sink): Comment updates.
11229         (sink_iterator_filter): Remove needless cast.
11230         (gst_bin_iterate_sinks): Doc update.
11231         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11232         cleaned up (but no logic changes).
11233
11234         * check/states/sinks.c (test_src_sink): Cleanups from the state
11235         change patch.
11236         (test_livesrc_sink): Sync on the state.
11237
11238         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11239         the state change patch.
11240
11241         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11242         change patch.
11243
11244         * check/gst/gstbin.c: Merge in some style fixes and additional
11245         checks from Wim's state change patch.
11246
11247 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11248
11249         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11250         (gst_type_find_helper):
11251           Check whether we have the requested data already in our list of
11252           cached buffers before pulling a new buffer; also make the buffer
11253           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11254
11255 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11256
11257         * gst/gstcaps.c:
11258         * gst/gstevent.c:
11259           doc updates
11260         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11261           don't use long long, it's not portable.  Replacing with
11262           gint64 seems to work; let's hope no skeletons fall out of the closet.
11263
11264 2005-10-10  Andy Wingo  <wingo@pobox.com>
11265
11266         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11267
11268 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11269
11270         * docs/gst/gstreamer-sections.txt:
11271         * gst/gstevent.c:
11272         * gst/gstevent.h:
11273         * gst/gstinfo.c:
11274         * gst/gstinfo.h:
11275         * gst/gstmessage.c: (gst_message_parse_state_changed):
11276         * gst/gstpad.c:
11277         * gst/gstpad.h:
11278           more docs, fix compilation
11279
11280 2005-10-09  Philippe Khalaf <burger@speedy.org>
11281         * gst/gstmessage.c:
11282           Fixed a few forgotten variables on previous commit
11283
11284 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11285
11286         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11287           Fix evil typefind crasher: getrange() might return a short
11288           buffer at the end of a file, but gst_type_find_peek() must
11289           either return the full data as requested or NULL, but
11290           never a short buffer.
11291
11292 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11293
11294         * gst/gstmessage.c: (gst_message_new_state_changed),
11295         (gst_message_parse_state_changed):
11296         * gst/gstmessage.h:
11297           don't use "new", it's a C++ keyword
11298
11299 2005-10-08  Wim Taymans  <wim@fluendo.com>
11300
11301         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11302         * gst/gstelement.c: (gst_element_post_message):
11303         * gst/gstpipeline.c: (gst_pipeline_change_state):
11304         Small docs and debug updates.
11305
11306 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11307
11308         * docs/gst/gstreamer-sections.txt:
11309         * gst/gstelementfactory.c:
11310         * gst/gstevent.c:
11311         * gst/gsttaglist.c:
11312           more docs
11313
11314 2005-10-08  Wim Taymans  <wim@fluendo.com>
11315
11316         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11317         (gst_bin_dispose), (bin_bus_handler):
11318         Fix typos, add comments.
11319         Clear EOS list when going to PAUSED from any direction and do it
11320         in a threadsafe way.
11321         Get base time in a threadsafe way too.
11322         Fix confusing debug in the change_state function.
11323         Various other small cleanups.
11324         
11325         * gst/gstelement.c: (gst_element_post_message):
11326         Fix very verbose bus posting code.
11327
11328         * gst/gstpipeline.c: (gst_pipeline_class_init),
11329         (gst_pipeline_set_property), (gst_pipeline_get_property),
11330         (gst_pipeline_change_state):
11331         Small ARG_ -> PROP_ cleanup
11332
11333 2005-10-08  Wim Taymans  <wim@fluendo.com>
11334
11335         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11336         Do a less CPU demanding EOS check because we can.
11337
11338 2005-10-08  Wim Taymans  <wim@fluendo.com>
11339
11340         * libs/gst/dataprotocol/dataprotocol.c:
11341         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11342         (gst_dp_packet_from_event):
11343         * libs/gst/dataprotocol/dataprotocol.h:
11344         * libs/gst/dataprotocol/dp-private.h:
11345         It's about time we bump the version number.
11346         Since event types don't fit in the guint8 anymore describing
11347         the payload type, make payload type 16 bits wide.
11348
11349 2005-10-08  Wim Taymans  <wim@fluendo.com>
11350
11351         * docs/design/part-TODO.txt:
11352         * docs/design/part-clocks.txt:
11353         * docs/design/part-events.txt:
11354         * docs/design/part-gstbin.txt:
11355         * docs/design/part-gstelement.txt:
11356         * docs/design/part-gstpipeline.txt:
11357         * docs/design/part-live-source.txt:
11358         * docs/design/part-messages.txt:
11359         * docs/design/part-overview.txt:
11360         * docs/design/part-states.txt:
11361         Many doc updates.
11362
11363 2005-10-08  Wim Taymans  <wim@fluendo.com>
11364
11365         * gst/gstevent.c:
11366         * gst/gstevent.h:
11367         Fix event quark registration.
11368         Add some space between events so we can insert them in the
11369         right groups.
11370
11371 2005-10-08  Wim Taymans  <wim@fluendo.com>
11372
11373         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11374         (gst_base_sink_handle_buffer):
11375         Better log message.
11376
11377         * gst/gstbus.h:
11378         * gst/gstelement.h:
11379         More docs.
11380
11381         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11382         (gst_queue_set_property), (gst_queue_get_property):
11383         * gst/gstqueue.h:
11384         Remove old unused properties.
11385
11386 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11387         * docs/gst/gstreamer-sections.txt:
11388         * gst/gstmessage.c:
11389         * gst/gstmessage.h:
11390         * gst/gstminiobject.c:
11391         * gst/gstminiobject.h:
11392         * gst/gstobject.h:
11393         * gst/gstpad.h:
11394         * gst/gstutils.h:
11395           lots of new docs and doc fixes
11396
11397 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11398
11399         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11400         * gst/gstplugin.h:
11401         * gst/gstregistry.c: (gst_registry_lookup_locked),
11402         (gst_registry_scan_path_level):
11403         * gst/gstregistryxml.c: (load_plugin):
11404           Only ever load one plugin for a given plugin basename.
11405           This ensures correct overriding of GST_PLUGIN_PATH over
11406           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11407           system installed plugins.
11408
11409 2005-10-08  Wim Taymans  <wim@fluendo.com>
11410
11411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11412         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11413         Prepare for doing QOS.
11414
11415 2005-10-08  Wim Taymans  <wim@fluendo.com>
11416
11417         * check/gst/gstbin.c: (GST_START_TEST):
11418         * check/pipelines/cleanup.c: (GST_START_TEST):
11419         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11420         Allow new clock message too.
11421
11422 2005-10-08  Wim Taymans  <wim@fluendo.com>
11423
11424         * gst/gstmessage.c: (gst_message_new_error),
11425         (gst_message_new_warning), (gst_message_new_tag),
11426         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11427         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11428         (gst_message_new_segment_start), (gst_message_new_segment_done),
11429         (gst_message_parse_state_changed),
11430         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11431         (gst_message_parse_new_clock):
11432         * gst/gstmessage.h:
11433         Also carry the clock in question.
11434
11435 2005-10-08  Wim Taymans  <wim@fluendo.com>
11436
11437         * gst/gstmessage.c: (gst_message_new_custom),
11438         (gst_message_new_eos), (gst_message_new_error),
11439         (gst_message_new_warning), (gst_message_new_tag),
11440         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11441         (gst_message_new_new_clock), (gst_message_new_segment_start),
11442         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11443         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11444         * gst/gstmessage.h:
11445         Clean up.
11446         Added clock related messages.
11447
11448         * gst/gstpipeline.c: (gst_pipeline_change_state):
11449         Post message when the clock changed.
11450
11451         * tools/gst-launch.c: (event_loop):
11452         Print new clock.
11453
11454 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         * tools/gst-inspect.c: (print_element_properties_info):
11457           Can't pass NULL strings to g_print() on windows.
11458
11459 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11460
11461         * docs/Makefile.am:
11462         * docs/gst/Makefile.am:
11463         * docs/gst/gstreamer-docs.sgml:
11464         * docs/gst/running.xml:
11465         * docs/version.entities.in:
11466           add a chapter on running GStreamer.
11467           document GST_DEBUG and GST_PLUGIN* env vars
11468
11469 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11470
11471         * Makefile.am:
11472           remove include dir
11473         * configure.ac:
11474           remove PLUGINS_BUILDDIR stuff
11475         * gst/gst.c: (init_post):
11476           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11477         * idiottest.mak:
11478           remove, it was condescending and not needed
11479
11480 2005-10-08  Wim Taymans  <wim@fluendo.com>
11481
11482         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11483         (gst_base_sink_handle_object), (gst_base_sink_event),
11484         (gst_base_sink_wait), (gst_base_sink_handle_event),
11485         (gst_base_sink_change_state):
11486         * gst/base/gstbasesink.h:
11487         Repost EOS message while going to PLAYING if still EOS.
11488         Make sure that when receiving a FLUSH_START we don't attempt
11489         to sync on the clock anymore.
11490
11491 2005-10-08  Wim Taymans  <wim@fluendo.com>
11492
11493         * tools/gst-launch.c: (event_loop):
11494         Better message printout.
11495
11496 2005-10-08  Wim Taymans  <wim@fluendo.com>
11497
11498         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11499         (gst_bin_child_proxy_get_children_count):
11500         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11501         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11502         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11503         (gst_child_proxy_set_valist):
11504         * gst/parse/grammar.y:
11505         Make ChildProxy threadsafe and fix mem leaks.
11506
11507 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11508
11509         * gst/gst.c: (init_post):
11510           debug the GST_PLUGIN_ env vars
11511
11512 2005-10-08  Wim Taymans  <wim@fluendo.com>
11513
11514         * check/gst/gstbin.c: (GST_START_TEST):
11515         * check/gst/gstmessage.c: (GST_START_TEST):
11516         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11517         * gst/gstelement.c: (gst_element_commit_state),
11518         (gst_element_lost_state):
11519         * gst/gstmessage.c: (gst_message_new_state_changed),
11520         (gst_message_parse_state_changed):
11521         * gst/gstmessage.h:
11522         * tools/gst-launch.c: (event_loop):
11523         Added extra field to STATE_CHANGE message with the pending
11524         state, which will be different from the new state soon.
11525
11526 2005-10-08  Wim Taymans  <wim@fluendo.com>
11527
11528         * gst/gstbus.c: (gst_bus_pop):
11529         * gst/gstclock.c:
11530         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11531         Small cleanups and doc updates.
11532
11533 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11534
11535         * gst/gst.c: (init_pre):
11536         * gst/gstbin.c: (gst_bin_add_func):
11537           log distributing clocks and base time
11538         * gst/gstregistry.c: (gst_registry_add_plugin),
11539         (gst_registry_scan_path_level), (gst_registry_scan_path):
11540           clean up the debugging output a little
11541         * gst/gstutils.c: (gst_element_state_get_name):
11542           warn about a memleak (I've actually seen this be used, though
11543           it was probably a bug)
11544
11545 2005-10-07  Wim Taymans  <wim@fluendo.com>
11546
11547         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11548         (gst_base_src_init), (gst_base_src_default_newsegment),
11549         (gst_base_src_newsegment), (gst_base_src_do_seek),
11550         (gst_base_src_loop), (gst_base_src_start):
11551         * gst/base/gstbasesrc.h:
11552         Make the newsegment event customizable by subclasses.
11553
11554 2005-10-07  Wim Taymans  <wim@fluendo.com>
11555
11556         * gst/gstevent.c: (gst_event_new_buffersize),
11557         (gst_event_parse_buffersize):
11558         * gst/gstevent.h:
11559         New event for future idea.
11560
11561 2005-10-07  Andy Wingo  <wingo@pobox.com>
11562
11563         * gst/gstelement.c (gst_element_post_message): Doc update.
11564
11565         * docs/gst/gstreamer-sections.txt: Update.
11566
11567         * gst/gstmessage.c (gst_message_new_application): Made into a
11568         function like honest API calls.
11569         (gst_message_new_element): New message type.
11570
11571         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11572
11573         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11574         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11575         times.
11576
11577         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11578         NO_PREROLL from gst_element_change_state to fall through.
11579
11580 2005-10-07  Wim Taymans  <wim@fluendo.com>
11581
11582         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11583         (gst_ghost_pad_do_activate_push):
11584         Activating a ghostpad with no internal pad in push mode
11585         is ok.
11586
11587 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11588
11589         * gst/gstobject.h:
11590           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11591           Fixes compilation on Windows.
11592
11593 2005-10-07  Michael Smith <msmith@fluendo.com>
11594
11595         * tools/gst-inspect.c:
11596           Print out feature and plugin count at the end when printing out
11597           all features.
11598
11599 2005-10-04  Michael Smith <msmith@fluendo.com>
11600
11601         * gst/gsterror.c: (_gst_stream_errors_init):
11602           Add another error string used in a few existing plugins.
11603
11604         * gst/gstplugin.c:
11605         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11606         * tools/gst-inspect.c: (print_element_info):
11607           When a feature disappears from a plugin (and the feature exists in
11608           the cached registry file), things went horribly wrong. This isn't a
11609           complete fix, we should actually be removing the 'missing' features
11610           from the features list when we load the actual plugin. That's not
11611           yet implemented. 
11612
11613 2005-10-04  Johan Dahlin  <johan@gnome.org>
11614
11615         * check/gst/gstiterator.c: (GST_START_TEST):
11616         * gst/gstbin.c: (gst_bin_iterate_elements),
11617         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11618         * gst/gstelement.c: (gst_element_iterate_pads):
11619         * gst/gstformat.c: (gst_format_iterate_definitions):
11620         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11621         (gst_iterator_new_list), (gst_iterator_filter):
11622         * gst/gstiterator.h:
11623         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11624         Add a GType to GstIterator, update callsites and tests.
11625
11626 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11627
11628         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11629           give events a chance to be handled by event probes when the pad
11630           is not linked
11631
11632 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11633
11634         * gst/gstevent.c: (gst_event_type_get_name),
11635         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11636         * gst/gstevent.h:
11637           add string representations for event types
11638
11639 2005-10-06  Wim Taymans  <wim@fluendo.com>
11640
11641         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11642         Don't use NULL pointers.
11643
11644 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11645
11646         * gst/gst_private.h:
11647         * gst/gstbus.c:
11648         * gst/gstelement.c:
11649         * gst/gstinfo.c:
11650         * gst/gstpluginfeature.c:
11651           widen the debug category in output to fit the biggest one we have
11652           add a bus category and use it
11653           play with the colors
11654           fix up some categories
11655
11656 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11657
11658         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11659           add push activation of sink ghost pads.
11660           Andye, please verify
11661
11662 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11663
11664         * gst/gstutils.c: (gst_element_link_pads):
11665           fix a bug in the case where neither element has a pad
11666         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11667           add a test for that case
11668
11669 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11670
11671         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11672           emit have-data before checking for peers.  This allows
11673           for probe handlers to connect elements.  This helps autopluggers.
11674         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11675         (gst_pad_suite):
11676           add six checks, linked/unlinked with no/true/false probe
11677
11678 2005-10-04  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11681         (gst_fake_sink_event), (gst_fake_sink_preroll),
11682         (gst_fake_sink_render), (gst_fake_sink_change_state):
11683         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11684         (gst_fake_src_get_property), (gst_fake_src_create),
11685         (gst_fake_src_stop):
11686         * gst/elements/gstidentity.c: (gst_identity_stop):
11687         Protect last_message with lock.
11688
11689 2005-10-04  Edward Hervey  <edward@fluendo.com>
11690
11691         * gst/gstformat.h: 
11692         Added precision in the comments for GST_FORMAT_DEFAULT
11693
11694 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11695
11696         * tools/gst-launch.c: (main):
11697           Don't try to run erroneous pipelines.
11698
11699 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11700
11701         * gst/gstbus.c: We don't need this header.
11702
11703 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11704
11705         * configure.ac:
11706           back to development
11707
11708 === release 0.9.3 ===
11709
11710 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11711
11712         * README:
11713         * configure.ac:
11714           Releasing 0.9.3, "Unregistered"
11715
11716 2005-10-03  Andy Wingo  <wingo@pobox.com>
11717
11718         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11719         whereby calling a pad's activatepush() function can start a thread
11720         that starts to push or pull before the pad gets the FLUSHING flag
11721         unset. Hack around it by holding the stream lock until the flag is
11722         set. Need to replace this with a proper solution. Together with
11723         the ghost pad fixes, this fixes mp3 playing/tagreading.
11724
11725         * docs/design/part-gstghostpad.txt: Add a note about activation of
11726         proxy pads outside of ghost pads.
11727
11728         * gst/gstghostpad.c: Implement the ghost pad activation design.
11729
11730 2005-10-02  Andy Wingo  <wingo@pobox.com>
11731
11732         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11733         It is volatile, after all.
11734
11735         * docs/design/part-gstghostpad.txt: Flesh out activation with
11736         ghost pads.
11737
11738         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11739         GST_DEBUG_FUNCPTR.
11740
11741 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11742
11743         * configure.ac:
11744           Fix (unused) AM_CONDITIONAL tests.
11745
11746 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11747
11748         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11749
11750         * gst/gstutils.c: (gst_pad_query_convert):
11751           Add assertion that makes sure src_val is >=0, just like
11752           gst_query_new_convert() has. (#315895)
11753
11754 2005-09-30  Edward Hervey  <edward@fluendo.com>
11755
11756         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11757         Let's not iterate pads we're not interested in, it avoids getting 
11758         sky-high refcounts on sinkpad.
11759
11760 2005-09-30  Wim Taymans  <wim@fluendo.com>
11761
11762         * gst/gstelement.c: (gst_element_set_state),
11763         (gst_element_change_state):
11764         Small tweak, element in ASYNC remains ASYNC.
11765
11766 2005-09-30  Wim Taymans  <wim@fluendo.com>
11767
11768         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11769         Only error is an error.
11770
11771         * gst/gstbin.c: (gst_bin_change_state):
11772         Better debugging.
11773
11774         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11775         Also call pad_block in pad alloc.
11776
11777         * gst/gstutils.c: (gst_flow_get_name):
11778         Better debugging.
11779
11780 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11781
11782         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11783         (gst_base_src_get_range):
11784           Fix documentation typos. Add some more debug info.
11785
11786 2005-09-29  David Schleef  <ds@schleef.org>
11787
11788         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11789           more end-user friendly.
11790         * tools/gst-inspect.c: (main): Check if command-line argument is
11791           a file and attempt to load that file as a plugin.
11792
11793 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11794
11795         * check/gst/gstbin.c:
11796         * check/states/sinks.c:
11797           fix tests for the new warning
11798         * check/gst/gstpipeline.c:
11799           add a test for pipeline and bus interaction
11800         * gst/gstelement.c:
11801           elements should be NULL if they get disposed; add a warning if not
11802
11803 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11804
11805         * gst/gstobject.c:
11806           for 2.6 refcounting, make debug log more correct by printing
11807           the actual refcounts at the time of swap (Wim)
11808
11809 2005-09-29  Andy Wingo  <wingo@pobox.com>
11810
11811         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11812         removes signal watches previously added via
11813         gst_bus_add_signal_watch.
11814         (gst_bus_add_signal_watch): Don't return the source id, just store
11815         it on the bus if there wasn't an id already.
11816
11817         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11818         add_signal_watch and remove_signal_watch.
11819
11820 2005-09-29  Edward Hervey  <edward@fluendo.com>
11821
11822         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11823         Better if we actually iterate the list :)
11824
11825 2005-09-29  Wim Taymans  <wim@fluendo.com>
11826
11827         * check/gst/gstbin.c: (GST_START_TEST):
11828         Change for new bus API.
11829
11830         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11831         (send_messages), (GST_START_TEST), (gstbus_suite):
11832         Change for new bus signal API.
11833
11834         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11835         (gst_bus_source_prepare), (gst_bus_source_check),
11836         (gst_bus_create_watch), (gst_bus_add_watch_full),
11837         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11838         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11839         * gst/gstbus.h:
11840         Remove support for multiple GSources operating on different
11841         message types as it is too complex and unneeded when using
11842         signals.
11843         Added support for receiving signals from the bus.
11844
11845 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11846
11847         * docs/libs/tmpl/gstdataprotocol.sgml:
11848         * docs/manual/advanced-dataaccess.xml:
11849         * gst/elements/gstcapsfilter.c:
11850         * gst/gstutils.c:
11851           rename filter-caps to caps property
11852
11853 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11854
11855         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11856           More robust fraction string parsing.
11857
11858         * docs/pwg/appendix-porting.xml:
11859           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11860
11861 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11862
11863         * gst/gstcaps.c: (gst_caps_do_simplify):
11864           Thou shalt not free a structure and then continue using it
11865           in the next loop iteration.
11866
11867         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11868         (gst_caps_suite):
11869           Add test case for caps simplification.
11870
11871 2005-09-29  Wim Taymans  <wim@fluendo.com>
11872
11873         * check/gst/gstbin.c: (GST_START_TEST):
11874         Oops.
11875
11876 2005-09-29  Wim Taymans  <wim@fluendo.com>
11877
11878         * check/gst/gstbin.c: (GST_START_TEST):
11879         Add bus to bin.
11880
11881         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11882         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11883         (find_element), (gst_bin_sort_iterator_next),
11884         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11885         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11886         (gst_bin_change_state), (gst_bin_dispose):
11887         A bin does not have a bus, it gets the bus from the parent.
11888
11889         * gst/gstelement.c: (gst_element_requires_clock),
11890         (gst_element_provides_clock), (gst_element_is_indexable),
11891         (gst_element_is_locked_state), (gst_element_change_state),
11892         (gst_element_set_bus_func):
11893         Small cleanups.
11894
11895         * gst/gstpipeline.c: (gst_pipeline_class_init),
11896         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11897         The pipeline provides a bus.
11898
11899 2005-09-28  Johan Dahlin  <johan@gnome.org>
11900
11901         * gst/gstmessage.c (gst_message_parse_state_changed): Use
11902         gst_structure_get_enum instead of gst_structure_get_int
11903
11904         * gst/gststructure.c (gst_structure_get_enum): Impl.
11905
11906         * gst/gststructure.h (gst_structure_get_enum): Add
11907
11908         * docs/gst/gstreamer-sections.txt: Ditto
11909
11910         * gst/gstmessage.c (gst_message_new_state_changed): Use
11911         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11912         which does introspection.
11913         Reviewed by Christian Schaller
11914
11915 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11916
11917         * gst/gstinfo.c: (gst_debug_log_default):
11918           don't do dummy g_strdup()s
11919         * libs/gst/controller/gstcontroller.c:
11920         (on_object_controlled_property_changed),
11921         (gst_controlled_property_new), (gst_controller_new_valist),
11922         (gst_controller_new_list),
11923         (gst_controller_remove_properties_valist), (gst_controller_set),
11924         (gst_controller_get), (gst_controller_sync_values),
11925         (gst_controller_get_value_array), (_gst_controller_class_init),
11926         (gst_controller_get_type):
11927         * libs/gst/controller/gstcontroller.h:
11928         * libs/gst/controller/gstinterpolation.c:
11929         (gst_controlled_property_find_timed_value_node):
11930           convert // to /**/ comments
11931
11932 2005-09-28  Wim Taymans  <wim@fluendo.com>
11933
11934         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11935         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11936         (gst_bus_sync_signal_handler):
11937         * gst/gstbus.h:
11938         Added async-message and sync-message signals to the bus.
11939         Added helper BusFunc to emit signals for all posted messages.
11940
11941         * gst/gstmessage.c: (gst_message_type_get_name),
11942         (gst_message_type_to_quark), (gst_message_get_type):
11943         * gst/gstmessage.h:
11944         Register quarks for message names.
11945
11946 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11947
11948         * docs/libs/gstreamer-libs-sections.txt:
11949         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11950         (gst_controller_new_list):
11951         * libs/gst/controller/gstcontroller.h:
11952           added another constructor for language bindings
11953
11954 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11955
11956         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11957           add another check
11958         * gst/gstbus.c:
11959           add some doc
11960         * gst/gstinfo.c: (_gst_debug_init):
11961           slightly more readable color for refcount debugging
11962
11963 2005-09-28  Wim Taymans  <wim@fluendo.com>
11964
11965         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11966         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11967         (find_element), (gst_bin_sort_iterator_next),
11968         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11969         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11970         (gst_bin_change_state), (gst_bin_dispose):
11971         Small doc fixes. get_clock -> provide_clock.
11972
11973         * gst/gstelement.c: (gst_element_class_init),
11974         (gst_element_provides_clock), (gst_element_provide_clock),
11975         (gst_element_get_clock), (gst_element_commit_state),
11976         (gst_element_lost_state):
11977         * gst/gstelement.h:
11978         Make get/set_clock() symetric. Add provide_clock vmethod since
11979         that is actually what this function does.
11980
11981         * gst/gstpipeline.c: (gst_pipeline_class_init),
11982         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11983         (gst_pipeline_get_clock):
11984         get_clock -> provide_clock.
11985
11986 2005-09-28  Andy Wingo  <wingo@pobox.com>
11987
11988         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11989         lieu of real docs...
11990
11991         * gst/elements/gstfdsrc.c: Cleaned up a bit.
11992
11993 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
11994
11995         * gst/elements/gstcapsfilter.c:
11996         * gst/elements/gstfakesink.c:
11997         * gst/elements/gstfakesrc.c:
11998         * gst/elements/gstfdsink.c:
11999         * gst/elements/gstfdsrc.c:
12000         * gst/elements/gstfilesink.c:
12001         * gst/elements/gstfilesrc.c:
12002         * gst/elements/gstidentity.c:
12003         * gst/elements/gsttee.c:
12004         * gst/elements/gsttypefindelement.c:
12005           Make element details static.
12006
12007 2005-09-28  Wim Taymans  <wim@fluendo.com>
12008
12009         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12010         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12011         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12012         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12013         (gst_bin_change_state), (gst_bin_dispose):
12014         Some documentation updates.
12015         Clean up dispose handlers.
12016
12017         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12018         * gst/gstpad.c: (gst_pad_dispose):
12019         Clean up dispose handler.
12020
12021         * gst/gstpipeline.c: (gst_pipeline_change_state):
12022         Removed spurious UNLOCK.
12023
12024 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12025
12026         * docs/gst/gstreamer-sections.txt:
12027         * gst/base/gstbasesrc.h:
12028         * gst/gstelement.h:
12029         * gst/gstevent.h:
12030         * gst/gstobject.h:
12031         * gst/gstpad.h:
12032         * gst/gstpipeline.c:
12033         * gst/gstpipeline.h:
12034         * gst/gstutils.h:
12035         * gst/gstxml.h:
12036           added two new functions to the docs
12037                 documents all undocumented GstXXXFlags
12038                 completed some incomplete docs 
12039
12040 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12041
12042         * gst/gstbin.c: (gst_bin_dispose):
12043         * gst/gstelement.c: (gst_element_dispose):
12044           remove now useless and leaky resurrection code in dispose
12045         * gst/base/gstbasesrc.c: (gst_base_src_init):
12046         * gst/gstelementfactory.c: (gst_element_factory_create):
12047         * gst/gstobject.c: (gst_object_set_parent):
12048           add some debugging
12049
12050 2005-09-27  Wim Taymans  <wim@fluendo.com>
12051
12052         * docs/design/part-TODO.txt:
12053         Update TODO.
12054
12055         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12056         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12057         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12058         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12059         (gst_bin_change_state):
12060         * gst/gstelement.h:
12061         Remove element variable, we keep element info in the iterator now.
12062
12063 2005-09-27  Andy Wingo  <wingo@pobox.com>
12064
12065         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12066         values.
12067
12068 2005-09-27  Wim Taymans  <wim@fluendo.com>
12069
12070         * check/gst/gstbin.c: (GST_START_TEST):
12071         Enable check that works now.
12072
12073         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12074         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12075         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12076         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12077         (gst_bin_change_state):
12078         * gst/gstbin.h:
12079         Redid the state change algorithm using a topological sort algo.
12080         Handles all cases correctly.
12081         Exposed iterator for state change order.
12082
12083         * gst/gstelement.h:
12084         Temp storage for state changes. Need to get rid of this soon.
12085
12086 2005-09-27  Wim Taymans  <wim@fluendo.com>
12087
12088         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12089         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12090         (link_fold_func), (gst_pad_proxy_setcaps):
12091         Leak fixes, the fold functions need to unref the passed object and
12092         _get_parent_*() returns ref to parent.
12093
12094 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12095
12096         * check/gst/gstbuffer.c: (test_make_writable):
12097           Plug leak in test case and fix 'make check-valgrind'
12098
12099 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12100
12101         * gst/gstbuffer.c: (gst_subbuffer_init):
12102           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12103           works correctly in all circumstances (we could have just copied
12104           the parent buffer's readonly flag, but conceptually it seems
12105           cleaner to mark all subbuffers as read-only). (based on patch
12106           by Alessandro Decina, #314710).
12107         
12108         * check/gst/gstbuffer.c: (create_read_only_buffer),
12109         (test_make_writable), (test_subbuffer_make_writable),
12110         (gst_test_suite):
12111           Add some tests for gst_buffer_make_writable().
12112
12113 2005-09-27  Wim Taymans  <wim@fluendo.com>
12114
12115         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12116         use gst_object_has_ancestor().
12117
12118         * gst/gstobject.c: (gst_object_has_ancestor):
12119         * gst/gstobject.h:
12120         gst_object_has_ancestor() copied from gstbin.c as it is a
12121         usefull function.
12122
12123         * tests/instantiate/create.c: (create_all_elements):
12124         * tests/lat.c: (handoff_src), (handoff_sink):
12125         * tests/sched/runxml.c: (main):
12126         * tests/seeking/seeking1.c: (main):
12127         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12128         (main):
12129         Fix compilation of some tests.
12130
12131 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12132
12133         * gst/gsterror.h:
12134           Remove comment. GST_TYPE_G_ERROR is here to stay,
12135           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12136           (#316961, #300610).
12137
12138 2005-09-26  Wim Taymans  <wim@fluendo.com>
12139
12140         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12141         Added check that shows error in state change order.
12142
12143 2005-09-26  Wim Taymans  <wim@fluendo.com>
12144
12145         * gst/gstbin.c: (gst_bin_change_state):
12146         Make state change function use 3 queues again, we were
12147         adding elements in the wrong order.
12148
12149         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12150         Some debug info,
12151
12152         * gst/gstpad.c: (gst_pad_dispose):
12153         Added some debug info first.
12154
12155 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         * docs/design/draft-push-pull.txt:
12158         * docs/design/part-events.txt:
12159         * docs/design/part-overview.txt:
12160         * docs/design/part-scheduling.txt:
12161           Replace all _pull_region() with _pull_range()
12162           
12163 2005-09-26  Andy Wingo  <wingo@pobox.com>
12164
12165         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12166
12167         * check/gst-libs/controller.c: Update for controller api change.
12168
12169         * configure.ac: 
12170         * tests/Makefile.am:
12171         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12172         over by GLib bug 118439.
12173         
12174         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12175         routines to a function.
12176
12177         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12178
12179         * libs/gst/controller/gsthelper.c:
12180         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12181         (gst_object_sync_values): Renamed from sink_values. Ugh.
12182
12183         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12184
12185         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12186         Renamed from controller_key, as it is exported.
12187
12188         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12189
12190 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12191
12192         * gst/Makefile.am:
12193         * gst/gst.h:
12194         * gst/gstpad.h:
12195         * gst/gstpadtemplate.h:
12196         * gst/gstquery.c:
12197         * gst/gstquery.h:
12198         * gst/gstqueryutils.c:
12199         * gst/gstqueryutils.h:
12200           remove queryutils headers after moving the two used functions
12201           to gstquery.  also fixes build problem for gstsiddec
12202
12203 2005-09-26  Michael Smith <msmith@fluendo.com>
12204
12205         * tools/gst-launch.1.in:
12206         Correct documentation in manpage of debug syntax
12207
12208 2005-09-26  Wim Taymans  <wim@fluendo.com>
12209
12210         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12211         (gst_base_src_is_seekable), (gst_base_src_change_state):
12212         Some more debugging info.
12213
12214 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12215
12216         * docs/gst/gstreamer-sections.txt:
12217         * gst/base/gstbasetransform.h:
12218         * gst/gstindex.h:
12219           added more docs
12220
12221 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12222
12223         * docs/gst/.cvsignore:
12224         * docs/gst/tmpl/.cvsignore:
12225         * docs/gst/tmpl/gstpipeline.sgml:
12226         * docs/gst/tmpl/gstplugin.sgml:
12227         * gst/gstpipeline.c:
12228         * gst/gstplugin.c:
12229         * gst/gstplugin.h:
12230           inlined the last two docs files
12231           removed the tmpl directory from cvs (no more conflicts here!)
12232
12233 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12234
12235         * docs/gst/gstreamer-sections.txt:
12236         * docs/gst/tmpl/.cvsignore:
12237         * docs/gst/tmpl/gstpad.sgml:
12238         * docs/gst/tmpl/gstpadtemplate.sgml:
12239         * gst/Makefile.am:
12240         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12241         (gst_pad_finalize), (gst_pad_set_pad_template):
12242         * gst/gstpad.h:
12243         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12244         (gst_pad_template_class_init), (gst_pad_template_init),
12245         (gst_pad_template_dispose), (name_is_valid),
12246         (gst_static_pad_template_get), (gst_pad_template_new),
12247         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12248         (gst_pad_template_pad_created):
12249         * gst/gstpadtemplate.h:
12250           inlined two more docs
12251           factored gstpadtemplate out of gstpad
12252
12253 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12254
12255         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12256         (test_children_state_change_order_semi_sink):
12257           Fix test case: we can't rely on a fixed state change order when
12258           going from READY => PAUSED because the sink might commit its 
12259           new state first when the first buffer created by the source 
12260           reaches the sink before the source has finished its change state.
12261           (Test case still fails at times, see #316856, comment 5 onwards)
12262
12263 2005-09-24  Wim Taymans  <wim@fluendo.com>
12264
12265         * docs/design/part-events.txt:
12266         * docs/design/part-gstbus.txt:
12267         * docs/design/part-gstpipeline.txt:
12268         * docs/design/part-messages.txt:
12269         * docs/design/part-overview.txt:
12270         * docs/design/part-segments.txt:
12271         * gst/gstbin.c:
12272         * gst/gstbuffer.c:
12273         * gst/gstclock.c:
12274         * gst/gstelement.c:
12275         * gst/gstevent.c:
12276         * gst/gstfilter.c:
12277         * gst/gstiterator.c:
12278         Various documentation updates.
12279
12280 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12281
12282         * gst/gstclock.h:
12283           Well, that's embarassing.  Luckily we weren't using
12284           GST_CLOCK_DIFF anywhere.
12285
12286 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12287
12288         * common/gtk-doc.mak:
12289           don't fail on building XML, FC4 slave shows a bunch of doc
12290           missing bits that I don't get
12291         * gst/gstpad.c:
12292         * gst/gstpipeline.c:
12293         * gst/gststructure.c:
12294           some doc updates
12295
12296 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12297
12298         * docs/design/part-gstbin.txt:
12299         * docs/design/part-gstbus.txt:
12300         * gst/gstbus.c:
12301           Add blurb about how the bus goes into flushing mode and
12302           drops all messages when its bin goes from READY into NULL 
12303           state.
12304
12305 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12306
12307         * docs/gst/gstreamer-sections.txt:
12308         * gst/gststructure.c: (gst_structure_get_clock_time):
12309         * gst/gststructure.h:
12310           add a method to get a GstClockTime out of a structure
12311
12312 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12313
12314         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12315         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12316           Added test to check state change order in bins (can still be made
12317           to fail here under heavy disk load; bails out with 'Push on pad
12318           fakesink:sink0, but it was not activated in push mode').
12319
12320         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12321           Fix state change order when there is only a semi sink (#316856)
12322
12323         * gst/gstbus.c: (gst_bus_class_init):
12324           Use _class_peek_parent(), not _class_ref(); fix docs to say
12325           'default main context' instead of 'mainloop' where that is
12326           what's meant.
12327
12328         * gst/gstelement.c: (gst_element_commit_state),
12329         (gst_element_set_state):
12330           Fix typos in debug messages
12331
12332 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12333
12334         * docs/README:
12335         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12336         * gst/gstpluginfeature.c:
12337         * gst/gstutils.c:
12338           various doc updates
12339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12340           change an assert into an error until it gets fixed properly
12341
12342 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12343
12344         * docs/gst/gstreamer-sections.txt:
12345         * docs/gst/tmpl/.cvsignore:
12346         * docs/gst/tmpl/gstelement.sgml:
12347         * docs/gst/tmpl/gstinfo.sgml:
12348         * docs/gst/tmpl/gstobject.sgml:
12349         * gst/gstelement.c:
12350         * gst/gstelement.h:
12351         * gst/gstinfo.c:
12352         * gst/gstinfo.h:
12353         * gst/gstobject.c: (gst_object_class_init):
12354         * gst/gstobject.h:
12355           inlined 3 more biiiig doc files and added some missing docs on the fly
12356
12357 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12358
12359         * check/gst/.cvsignore:
12360         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12361         * gst/gstregistryxml.c: (load_plugin),
12362         (gst_registry_xml_save_plugin):
12363           put back source in registry.  add checks for find_plugin.
12364         * testsuite/states/bin.c: (assert_state), (empty_bin),
12365         (test_adding_one_element), (main):
12366         * testsuite/states/locked.c: (main):
12367           some compile/run fixes
12368
12369 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12370
12371         * check/gst/gstvalue.c: (GST_START_TEST):
12372           fix leaks in the test itself
12373
12374 2005-09-22  Wim Taymans  <wim@fluendo.com>
12375
12376         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12377         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12378         (gst_base_sink_query):
12379         Prepare for more accurate position reporting and query
12380         handling.
12381
12382         * gst/gstelement.c: (gst_element_send_event),
12383         (gst_element_set_state):
12384         Add some comment.
12385
12386 2005-09-22  Wim Taymans  <wim@fluendo.com>
12387
12388         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12389         (gst_query_parse_segment):
12390         * gst/gstquery.h:
12391         More documentation.
12392         Add segment query for future use.
12393
12394 2005-09-22  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/gstbin.c: (gst_bin_add_func):
12397         Some more debug info.
12398
12399         * gst/gstelement.c: (gst_element_send_event):
12400         Simplify send_event
12401
12402         * gst/gstelement.h:
12403         Don't know how flags got broken.
12404
12405         * gst/gstquery.h:
12406         Added new query.
12407
12408 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12409
12410         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12411           Add simplistic test suite for GST_TYPE_DATE serialisation and
12412           deserialisation.
12413
12414 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12415
12416         * docs/gst/gstreamer-sections.txt:
12417         * gst/gststructure.c: (gst_structure_set_valist),
12418         (gst_structure_get_date):
12419         * gst/gststructure.h:
12420         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12421         (gst_date_copy), (gst_value_compare_date),
12422         (gst_value_serialize_date), (gst_value_deserialize_date),
12423         (gst_value_transform_date_string),
12424         (gst_value_transform_string_date), (_gst_value_initialize):
12425         * gst/gstvalue.h:
12426           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12427           bunch of utility functions along with a hack that checks that
12428           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12429           is required. Part of the grand scheme in #170777.
12430
12431 2005-09-22  Andy Wingo  <wingo@pobox.com>
12432
12433         * gst/gstconfig.h.in: Psych out gtk-doc.
12434
12435         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12436
12437         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12438
12439         * tools/gst-inspect.c (print_element_list): Plug some
12440         inconsequential leaks.
12441
12442         * gst/gstregistry.c (gst_registry_get_default): Doc.
12443
12444         * check/gst/gstplugin.c: 
12445         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12446         * gst/gstelementfactory.c (gst_element_factory_create): 
12447         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12448         refcount changes.
12449
12450         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12451         (gst_plugin_feature_load): Doc, don't eat refs.
12452
12453         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12454         (gst_plugin_list_free): Doc.
12455         (gst_plugin_load_file): Doc updates.
12456
12457         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12458         accessors returning refcounted objects, return a ref.
12459
12460         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12461         accessor for caps. IDEMPOTENCE. Oh yes.
12462
12463 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12464
12465         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12466
12467         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12468         (_gst_debug_register_funcptr):
12469           Add mutex to serialise access to the hash table with
12470           the function pointer => function name string mapping;
12471           make that hash table static scope (#316809).
12472
12473         * gst/registries/.cvsignore:
12474           Remove left-over file.
12475
12476 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12477
12478         * docs/pwg/appendix-porting.xml:
12479           And something about newsegment events and caps-on-buffers to
12480           the porting guide (feel free to improve).
12481
12482 2005-09-21  Andy Wingo  <wingo@pobox.com>
12483
12484         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12485         data and event probes on the same pad.
12486         (test_buffer_probe_once): Test that removing probes from within
12487         the probe functions works.
12488
12489 2005-09-21  Andy Wingo  <wingo@pobox.com>
12490
12491         * check/gst/gstutils.c: New file.
12492         (test_buffer_probe_n_times): A simple buffer probe test. More to
12493         come, foolios.
12494
12495         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12496         have-data::buffer, not have-data.
12497         (gst_pad_add_event_probe): Likewise for have-data::event.
12498         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12499         peer' isn't quite right yet though.
12500         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12501         (gst_pad_remove_data_probe): Change to take the guint handler_id
12502         as their arg, not the function+data, which is more glib-like.
12503
12504         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12505         the signal emission to indicate if the data is a buffer or an
12506         event.
12507         (gst_pad_get_type): Initialize buffer and event quarks.
12508         (gst_pad_class_init): have-data is now a detailed signal, yes it
12509         is.
12510
12511 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12512
12513         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12514         * gst/gstutils.c: (gst_util_set_value_from_string),
12515         (gst_util_set_object_arg):
12516           Don't put functional code in g_return_if_fail() or
12517           g_return_val_if_fail() statements, otherwise things will 
12518           break when G_DISABLE_CHECKS is defined during compilation.
12519
12520 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12521
12522         * docs/gst/tmpl/.cvsignore:
12523         * docs/gst/tmpl/gstvalue.sgml:
12524         * gst/gstvalue.c:
12525         * gst/gstvalue.h:
12526           inlied another one and added  some obvious docs
12527
12528 2005-09-21  Wim Taymans  <wim@fluendo.com>
12529
12530         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12531         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12532         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12533         (gst_fdsrc_get_property), (gst_fdsrc_create):
12534         * gst/elements/gstfdsrc.h:
12535         Properly implement fdsrc. Removed signal and timeout,
12536         better implemented somewhere else.
12537
12538 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12539
12540         * docs/gst/tmpl/.cvsignore:
12541         * docs/gst/tmpl/gstimplementsinterface.sgml:
12542         * gst/gstinterface.c:
12543           inlined more docs
12544
12545 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12546
12547         * docs/gst/gstreamer-sections.txt:
12548         * docs/gst/tmpl/.cvsignore:
12549         * docs/gst/tmpl/gstenumtypes.sgml:
12550           remove obsolete doc file
12551
12552 2005-09-21  David Schleef  <ds@schleef.org>
12553
12554         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12555         little beer, fix a little leak.
12556
12557 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12558
12559         * docs/gst/gstreamer-docs.sgml:
12560         * docs/gst/gstreamer-sections.txt:
12561         * docs/gst/tmpl/.cvsignore:
12562         * gst/Makefile.am:
12563         * gst/gst.h:
12564         * gst/gstbin.c:
12565         * gst/gstelement.h:
12566         * gst/gstindex.c: (gst_index_class_init):
12567         * gst/gstindex.h:
12568         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12569         (gst_index_factory_class_init), (gst_index_factory_init),
12570         (gst_index_factory_finalize), (gst_index_factory_new),
12571         (gst_index_factory_destroy), (gst_index_factory_find),
12572         (gst_index_factory_create), (gst_index_factory_make):
12573         * gst/gstindexfactory.h:
12574         * gst/gstpluginfeature.c:
12575         * gst/gstpluginfeature.h:
12576         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12577           more docs inlined, splitted gstindex.{c,h}
12578
12579 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12580
12581         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12582           fix a leak
12583
12584 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12585
12586         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12587           Set sync to FALSE by default.
12588
12589 2005-09-20  Wim Taymans  <wim@fluendo.com>
12590
12591         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12592         (gst_base_sink_init):
12593         Make sync property settable from subclass.
12594
12595         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12596         (gst_fake_sink_change_state):
12597         Set sync to FALSE by default.
12598
12599 2005-09-20  Wim Taymans  <wim@fluendo.com>
12600
12601         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12602         * tools/gst-launch.c: (main):
12603         The timeout handler should have lower priority than the source
12604         so we don't timeout before popping a message with 0 timeout.
12605         Dump error messages after failed state change.
12606
12607 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12608
12609         * tools/gst-inspect.c: (print_element_properties_info):
12610           Fix two typos.
12611
12612 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12613
12614         * check/gst/gstevent.c:
12615         * gst/elements/gstfakesink.c:
12616         * gst/elements/gstfakesink.h:
12617           remove the sync property from fakesink.
12618           has the side effect of setting sync TRUE
12619           for fakesink, which is a change.  Anyone who knows how
12620           to fix this nicely in a GObject-y way, feel free.
12621
12622 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12623
12624         * docs/gst/gstreamer-docs.sgml:
12625           remove probe refsection
12626
12627 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12628
12629         * check/Makefile.am:
12630           disable valgrinding the controller test again
12631         * docs/gst/gstreamer-sections.txt:
12632           update for api-changes
12633
12634 2005-09-20  Wim Taymans  <wim@fluendo.com>
12635
12636         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12637         (gst_base_sink_set_property), (gst_base_sink_get_property),
12638         (gst_base_sink_do_sync):
12639         * gst/base/gstbasesink.h:
12640         Added sync property to basesink to disable clock sync.
12641
12642 2005-09-20  Andy Wingo  <wingo@pobox.com>
12643
12644         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12645         eating the caller's refcount.
12646
12647         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12648         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12649         refcount.
12650
12651         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12652         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12653         of GLib 2.8 public, so we can know which refcount to check in
12654         tests.
12655
12656         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12657         (gst_object_init): Only set the gst refcount if we're going ahead
12658         with the refcount hack.
12659
12660 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12661
12662         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12663         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12664           more leaks plumbed, added more debug-logging
12665         * gst/gstmacros.h:
12666           whitespace fix
12667
12668 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12669
12670         * gst/gstmessage.c:
12671           remove include of gstmemchunk.h
12672
12673 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12674
12675         * gst/gstclock.c: (_gst_clock_id_free):
12676           Commit from the Political Party For More Atomic CVS Commits,
12677           so that people don't waste too much of their day fishing
12678           out obvious leaks out of massive commits.
12679           Oh, and fix a pretty damn obvious leak in the memchunk
12680           removal code.
12681
12682 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12683
12684         * check/Makefile.am:
12685         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12686           plug mem-leak, re-add to valgrindable tests
12687
12688 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12689
12690         * gst/gstplugin.h:
12691           unbreak the build for those who have chronic arthritis
12692           and typing "make check" is just too taxing on the hands
12693
12694 2005-09-20  Andy Wingo  <wingo@pobox.com>
12695
12696         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12697         really want it out, you should fix plugins at the same time.
12698
12699 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12700
12701         * configure.ac:
12702         * docs/gst/gstreamer-sections.txt:
12703         * gst/gstobject.c:
12704           added missing symbols to api docs
12705           disable ref-count hack if we have glib >= 2.8
12706
12707 2005-09-19  David Schleef  <ds@schleef.org>
12708
12709         * docs/gst/Makefile.am: Ignore a few more internal headers
12710         * docs/gst/gstreamer-docs.sgml: Remove old sections
12711         * docs/gst/gstreamer-sections.txt: Remove old sections
12712         * docs/gst/tmpl/gstobject.sgml: update
12713         * docs/gst/tmpl/gstplugin.sgml: update
12714         * docs/gst/tmpl/gstpluginfeature.sgml: update
12715         * docs/random/ds/0.9-suggested-changes: update.
12716         * gst/Makefile.am: remove memchunk and trashstack, since they're
12717           not used.
12718         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12719         * gst/gst.h: don't include some headers
12720         * gst/gstchildproxy.c: add gstmarshal.h
12721         * gst/gstclock.c: Don't use memchunks
12722         * gst/gstminiobject.c: Add some docs
12723         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12724         * gst/gstobject.h: same
12725         * gst/gstplugin.c: include gstmacros.h
12726         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12727         * gst/gstquery.c: don't use memchunks
12728         * gst/gstregistry.c: rename gst_registry_deinit()
12729         * gst/gstregistry.h: same
12730
12731 2005-09-19  David Schleef  <ds@schleef.org>
12732
12733         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12734         * docs/libs/gstreamer-libs-sections.txt:
12735         * docs/libs/tmpl/gstgetbits.sgml:
12736         * docs/libs/tmpl/gstputbits.sgml:
12737
12738 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12739
12740         * win32/gstenumtypes.c:
12741         * win32/gstenumtypes.h:
12742           Update.
12743
12744 2005-09-19  Wim Taymans  <wim@fluendo.com>
12745
12746         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12747         Automatically PAUSE and RESUME a pipeline when a flushing seek
12748         is performed.
12749
12750 2005-09-19  Andy Wingo  <wingo@pobox.com>
12751
12752         * gst/gstregistry.h: Spacing fixen.
12753
12754 2005-09-19  Wim Taymans  <wim@fluendo.com>
12755
12756         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12757         Handle state change failure more correctly.
12758
12759 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12760
12761         * check/Makefile.am:
12762         * check/pipelines/cleanup.c: (run_pipeline):
12763         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12764         (GST_START_TEST):
12765           enable cleanup again after fixing the leak
12766         * docs/README:
12767           some more info on docs
12768
12769 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12770
12771         * check/Makefile.am:
12772           re-enable tests now that leaks are plugged
12773         * check/gst/gst.c:
12774         * check/gst/gstbin.c:
12775         * check/gst/gstpipeline.c:
12776           add some more tests while fixing leaks
12777         * common/check.mak:
12778           make sure binaries are uptodate when valgrinding/gdbing
12779         * gst/gst.c:
12780         * gst/gstelementfactory.c:
12781           remove a ref too many, and add a FIXME for when we get
12782           round to disposing of classes
12783         * gst/gstplugin.c:
12784           fix the refcounting when loading a plugin from a file and
12785           the code pretends that the pointer is the same even though
12786           of course it can change
12787         * gst/gstpluginfeature.c:
12788           unref plugins marked cached (a bit confusing as a name)
12789           as the docs state should be done
12790           various doc additions to explain refcounting
12791         * gst/gstregistry.c:
12792         * gst/gstregistryxml.c:
12793           debugging
12794
12795 2005-09-19  Wim Taymans  <wim@fluendo.com>
12796
12797         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12798         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12799         (send_messages), (GST_START_TEST), (gstbus_suite):
12800         * check/gst/gstpipeline.c: (GST_START_TEST):
12801         * check/pipelines/cleanup.c: (run_pipeline):
12802         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12803         (GST_START_TEST):
12804         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12805         (gst_bus_source_check), (gst_bus_source_dispatch),
12806         (gst_bus_create_watch), (gst_bus_add_watch_full),
12807         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12808         * gst/gstbus.h:
12809         * tools/gst-launch.c: (event_loop):
12810         * tools/gst-md5sum.c: (event_loop):
12811         GstBusHandler -> GstBusFunc, return value has the same meaning as
12812         any other GSource (FALSE == remove source).
12813         _add_watch() and _add_watch_full() now take a MessageType mask to
12814         only handle specific types of messages.
12815         _poll() returns the GstMessage instead of the message type to avoid
12816         race conditions.
12817         _have_pending() takes a MessageType mask now too.
12818         Added testsuite for multiple bus watches.
12819         Fix testsuites and applications for new bus API.
12820
12821 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12822
12823         * check/Makefile.am:
12824           mark a bunch of the tests as to fix until we fix them
12825
12826 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12827
12828         * common/check.mak:
12829           use GST_PLUGIN settings for valgrind tests as well, so we're
12830           valgrinding the correct thing
12831         * gst/gst.c: (init_post):
12832           plug another leak
12833
12834 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12835
12836         * gst/gst.c: (init_post), (gst_deinit):
12837         * gst/gstelementfactory.c: (gst_element_factory_class_init),
12838         (gst_element_factory_finalize), (gst_element_factory_cleanup):
12839         * gst/gstindex.c: (gst_index_factory_class_init),
12840         (gst_index_factory_finalize):
12841         * gst/gstobject.c: (gst_object_dispose):
12842         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12843         (gst_plugin_load_file), (gst_plugin_desc_free):
12844         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12845         (gst_plugin_feature_finalize):
12846         * gst/gstregistry.c: (gst_registry_class_init),
12847         (gst_registry_init), (gst_registry_finalize),
12848         (gst_registry_get_default), (gst_registry_deinit):
12849         * gst/gstregistry.h:
12850         * gst/gstregistryxml.c: (load_feature), (load_plugin):
12851           various cleanups and memleak plugging.  make valgrind is happy now.
12852
12853 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12854
12855         * common/check.mak:
12856           add a check-valgrind target
12857
12858 2005-09-18  David Schleef  <ds@schleef.org>
12859
12860         * tools/gst-inspect.c: Revert the GOption code.
12861
12862 2005-09-17  David Schleef  <ds@schleef.org>
12863
12864         * check/Makefile.am: Fix environment variables.
12865         * check/gst/gstplugin.c: Fix for API changes.
12866         * tools/gst-inspect.c: Fix for API changes.
12867         * tools/gst-xmlinspect.c: Fix for API changes.
12868         * gst/gstelementfactory.c:
12869         * gst/gstplugin.c:
12870         * gst/gstplugin.h:
12871         * gst/gstpluginfeature.c:
12872         * gst/gstpluginfeature.h:
12873         * gst/gstregistry.c:
12874         * gst/gstregistry.h:
12875         * gst/gstregistryxml.c:
12876         * gst/gsttypefind.c:
12877         * gst/gsttypefindfactory.c:
12878         * gst/indexers/gstfileindex.c:
12879         * gst/indexers/gstmemindex.c:
12880         * gst/schedulers/Makefile.am:
12881           Change registry to keep track of both plugins and features,
12882           removing the feature tracking from plugins themselves.
12883
12884 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12885
12886         * check/Makefile.am:
12887         * tools/gst-register.1.in:
12888           remove gst-register
12889
12890 2005-09-15  David Schleef  <ds@schleef.org>
12891
12892         * check/gst/gstplugin.c:
12893         * gst/gstelementfactory.c:
12894         * gst/gstplugin.c:
12895         * gst/gstpluginfeature.c:
12896         * gst/gstregistry.c:
12897           Getting tired of debugging.  Disabled all the unreffing of
12898           plugins and features, which fixes the segfaults, but of
12899           course leaks like crazy.  At least playbin works.
12900
12901 2005-09-15  David Schleef  <ds@schleef.org>
12902
12903         * check/gst/gstplugin.c: (register_check_elements),
12904         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12905         More testing
12906         * gst/elements/gsttypefindelement.c: Fix refcounting.
12907         * gst/gsttypefind.c:
12908         * gst/gsttypefindfactory.c:
12909         * gst/gsttypefindfactory.h:
12910
12911 2005-09-15  David Schleef  <ds@schleef.org>
12912
12913         * gst/gstindex.c: get refcounting correct.
12914         * gst/gstregistry.c: Handle the case where a feature/plugin is
12915           not found.
12916
12917 2005-09-15  David Schleef  <ds@schleef.org>
12918
12919         * check/Makefile.am:
12920         * check/gst/gstplugin.c: Add test
12921         * gst/gstplugin.c: Fix problems noticed by testsuite
12922         * gst/gstplugin.h:
12923         * gst/gstregistry.c: 
12924         * gst/gstregistry.h:
12925
12926 2005-09-15  David Schleef  <ds@schleef.org>
12927
12928         * gst/gstplugin.c: Implement semi-decent recounting and locking
12929           in plugins and plugin features.
12930         * gst/gstplugin.h:
12931         * gst/gstpluginfeature.c:
12932         * gst/gstpluginfeature.h:
12933         * gst/gstregistry.c:
12934
12935 2005-09-15  Michael Smith <msmith@fluendo.com>
12936
12937         * gst/gstregistry.c: (gst_registry_get_feature_list):
12938           Implement this. Makes oggdemux work; decodebin still broken.
12939
12940 2005-09-14  David Schleef  <ds@schleef.org>
12941
12942         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12943           #316076)
12944         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12945         * gst/check/Makefile.am:
12946         * libs/gst/controller/Makefile.am:
12947         * libs/gst/dataprotocol/Makefile.am:
12948
12949 2005-09-14  David Schleef  <ds@schleef.org>
12950
12951         * configure.ac: Remove getbits library.  Nothing uses it, and
12952           it should be in something like liboil if someone did want
12953           to use it.
12954         * libs/gst/Makefile.am:
12955         * libs/gst/getbits/Makefile.am:
12956         * libs/gst/getbits/gbtest.c:
12957         * libs/gst/getbits/getbits.c:
12958         * libs/gst/getbits/getbits.h:
12959         * libs/gst/getbits/gstgetbits_generic.c:
12960         * libs/gst/getbits/gstgetbits_i386.s:
12961         * libs/gst/getbits/gstgetbits_inl.h:
12962
12963 2005-09-14  David Schleef  <ds@schleef.org>
12964
12965         * gst/Makefile.am: Dist glib-compat.h
12966
12967 2005-09-14  David Schleef  <ds@schleef.org>
12968
12969         * configure.ac: Remove gst/registries, since it's no longer used.
12970         * gst/registries/Makefile.am:
12971         * gst/registries/gstlibxmlregistry.c:
12972         * gst/registries/gstlibxmlregistry.h:
12973         * gst/registries/gstxmlregistry.c:
12974         * gst/registries/gstxmlregistry.h:
12975         * gst/registries/registrytest.c:
12976
12977 2005-09-14  David Schleef  <ds@schleef.org>
12978
12979         * gst/glib-compat.h:
12980         * gst/gstregistryxml.c:
12981           Convergence is near.  Seriously.
12982
12983 2005-09-14  David Schleef  <ds@schleef.org>
12984
12985         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12986         * gst/glib-compat.h:
12987           Attempt #4 to appease the buildbots.
12988
12989 2005-09-14  David Schleef  <ds@schleef.org>
12990
12991         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12992           Attempt #3.
12993
12994 2005-09-14  David Schleef  <ds@schleef.org>
12995
12996         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12997         Attempt #2.
12998
12999 2005-09-14  David Schleef  <ds@schleef.org>
13000
13001         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13002           the new functions.
13003
13004 2005-09-14  David Schleef  <ds@schleef.org>
13005
13006         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13007         * gst/glib-compat.h: Add some functions that are in newer versions
13008           of glib than we care to require.
13009         * gst/gstregistryxml.c: Use them.
13010
13011 2005-09-14  David Schleef  <ds@schleef.org>
13012
13013         * po/POTFILES.in: remove gst-register.c
13014
13015 2005-09-14  David Schleef  <ds@schleef.org>
13016
13017         * docs/gst/gstreamer-docs.sgml:
13018         * docs/gst/gstreamer-sections.txt:
13019         * docs/gst/gstreamer.types:
13020         * docs/gst/tmpl/gstelement.sgml:
13021         * docs/gst/tmpl/gstplugin.sgml:
13022         * docs/gst/tmpl/gstpluginfeature.sgml:
13023           Documentation updates for registry changes.
13024
13025 2005-09-14  David Schleef  <ds@schleef.org>
13026
13027         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13028           because we don't require glib-2.8.
13029
13030 2005-09-14  David Schleef  <ds@schleef.org>
13031
13032         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13033           registries directory.
13034
13035 2005-09-14  David Schleef  <ds@schleef.org>
13036
13037         * check/Makefile.am:
13038         * check/generic/states.c:
13039         * gst/Makefile.am:
13040         * gst/gst.c:
13041         * gst/gst.h:
13042         * gst/gst_private.h:
13043         * gst/gstelementfactory.c:
13044         * gst/gstindex.c:
13045         * gst/gstinfo.c:
13046         * gst/gstplugin.c:
13047         * gst/gstplugin.h:
13048         * gst/gstpluginfeature.c:
13049         * gst/gstpluginfeature.h:
13050         * gst/gstregistry.c:
13051         * gst/gstregistry.h:
13052         * gst/gstregistrypool.c: remove
13053         * gst/gstregistrypool.h: remove
13054         * gst/gsttypefind.c:
13055         * gst/gsttypefindfactory.c:
13056         * gst/gsturi.c:
13057         * tools/Makefile.am:
13058         * tools/gst-compprep.c:
13059         * tools/gst-inspect.c:
13060         * tools/gst-register.c: remove
13061         * tools/gst-xmlinspect.c:
13062           Registry rewrite.  Changes registry from being a file created
13063           by a tool into a simple cache file created automatically by 
13064           libgstreamer.  Removed gst-register (because it's no longer
13065           needed).  Remove registry pools, because we only have one
13066           registry implementation (XML).  Fix up other subsystems as
13067           necessary.
13068
13069 2005-09-13  Michael Smith <msmith@fluendo.com>
13070
13071         * gst/gstconfig.h.in:
13072           Don't Use windows linking attributes for MinGW. Fixes #316157
13073
13074 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13075
13076         * gst/gstutils.c: (set_state_async_thread_func),
13077         (gst_element_set_state_async):
13078           Apparently people think it's better if this function doesn't
13079           try to set the state to whatever state was asked for on the first
13080           call to this function for any object.  Seriously.
13081
13082 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13083
13084         * check/gst/gstpipeline.c: (GST_START_TEST):
13085         * docs/gst/gstreamer-sections.txt:
13086         * gst/gstutils.c: (set_state_async_thread_func),
13087         (gst_element_set_state_async):
13088         * gst/gstutils.h:
13089           add a "gst_element_set_state_async" method that
13090           sets the state and starts a thread to make sure the state
13091           change completes as best as it can
13092
13093 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13094
13095         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13096           codify design+behaviour in testsuite after discussion
13097
13098 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13099
13100         * docs/gst/tmpl/gstelement.sgml:
13101         * docs/manual/appendix-quotes.xml:
13102           add a quote
13103         * gst/gstelement.c: (gst_element_set_state):
13104           add some debug
13105
13106 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13107
13108         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13109         (gst_base_transform_prepare_output_buf),
13110         (gst_base_transform_handle_buffer):
13111         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13112         (gst_capsfilter_prepare_buf):
13113           Remove the requirement for sub-classes to call the parent
13114           implementation of prepare_output_buffer with a wrapper function.
13115           
13116         * gst/gsttaglist.h:
13117         * gst/gsttagsetter.h:
13118           Fix #define wrapper
13119
13120 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13121
13122         * docs/gst/gstreamer-sections.txt:
13123           more doc cleanups
13124
13125 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13126
13127         * docs/gst/gstreamer-sections.txt:
13128         * docs/gst/tmpl/gstelement.sgml:
13129         * docs/gst/tmpl/gstplugin.sgml:
13130         * gst/gstminiobject.c:
13131         * gst/gstvalue.h:
13132           docs now stop throwing warnings
13133
13134 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13135
13136         * docs/gst/gstreamer-sections.txt:
13137         * docs/gst/gstreamer.types:
13138         * docs/gst/tmpl/gstpad.sgml:
13139         * docs/gst/tmpl/gsttypes.sgml:
13140         * gst/base/gstadapter.h:
13141         * gst/base/gstbasesink.h:
13142         * gst/base/gstbasesrc.h:
13143         * gst/gstbin.h:
13144         * gst/gstbuffer.h:
13145         * gst/gstbus.h:
13146         * gst/gstcaps.h:
13147         * gst/gstclock.h:
13148         * gst/gstelement.h:
13149         * gst/gstevent.h:
13150         * gst/gstmessage.h:
13151         * gst/gstpad.h:
13152         * gst/gststructure.c:
13153         * gst/registries/gstlibxmlregistry.h:
13154           various documentation fixes
13155
13156 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13157
13158         * docs/gst/gstreamer-sections.txt:
13159         * docs/gst/tmpl/gstvalue.sgml:
13160           rearrange gstvalue section
13161         * gst/gstutils.c: (gst_element_state_get_name):
13162           NONE -> VOID
13163         * gst/gstvalue.c: (_gst_value_initialize):
13164         * gst/gstvalue.h:
13165           doc updates
13166
13167 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13168
13169         * check/gst-libs/controller.c:
13170           Header include fix.
13171         * gst/base/gstbasetransform.c:
13172         (gst_base_transform_default_prepare_buf),
13173         (gst_base_transform_handle_buffer):
13174         * gst/base/gstbasetransform.h:
13175           Some more basetransform changes and fixes to enable sub-classes
13176           that modify buffer metadata only.
13177         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13178         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13179         (gst_capsfilter_prepare_buf):
13180           If the output pad has fixed allowed caps and input buffers 
13181           don't have any, set the fixed caps on outgoing buffers.
13182
13183 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13184         * check/elements/identity.c: (GST_START_TEST):
13185           Make the error a little clearer when the test fails because
13186           identity made a copy of the buffer.
13187         * docs/gst/gstreamer-sections.txt:
13188           New symbols in gstbasetransform.h
13189         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13190         (gst_base_transform_init), (gst_base_transform_transform_size),
13191         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13192         (gst_base_transform_default_prepare_buf),
13193         (gst_base_transform_get_unit_size),
13194         (gst_base_transform_buffer_alloc),
13195         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13196         (gst_base_transform_change_state),
13197         (gst_base_transform_set_passthrough),
13198         (gst_base_transform_set_in_place),
13199         (gst_base_transform_is_in_place):
13200         * gst/base/gstbasetransform.h:
13201           Change BaseTransform to separate in_place operate from same_caps
13202           output. in_place implies that the element can perform the transform
13203           on incoming buffers in-place, even if the caps on the output are
13204           different.
13205           Sub-class elements can now implement special buffer allocation
13206           methods for outgoing buffers if they wish to.
13207           Big documentation addition.
13208         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13209         * gst/elements/gstelements.c:
13210           Changes for basetransform modifications.
13211         * gst/elements/Makefile.am:
13212         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13213           Compile fix. Extra debug output.
13214
13215 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13216
13217         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13218         (gst_pad_suite):
13219           add tests for valid pad naming
13220         * gst/check/gstcheck.c: (gst_check_log_message_func),
13221         (gst_check_log_critical_func):
13222           add ASSERT_WARNING
13223           remove printing of code, it is fragile when the code contains
13224           % and the line number is enough info
13225         * gst/check/gstcheck.h:
13226         * gst/gstpad.c: (gst_pad_template_new):
13227           fix memleaks
13228
13229 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13230
13231         * configure.ac:
13232           say what CHECK flags we use
13233         * docs/libs/gstreamer-libs.types:
13234         * libs/gst/controller/Makefile.am:
13235         * libs/gst/controller/gst-controller.c:
13236         * libs/gst/controller/gst-controller.h:
13237         * libs/gst/controller/gst-helper.c:
13238         * libs/gst/controller/gst-interpolation.c:
13239         * libs/gst/controller/gstcontroller.c:
13240         * libs/gst/controller/gsthelper.c:
13241         * libs/gst/controller/gstinterpolation.c:
13242         * tools/gst-inspect.c: (print_plugin_info):
13243           we don't use dashes in header names
13244
13245 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13246
13247         * check/Makefile.am:
13248         * check/gst/.cvsignore:
13249         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13250         (gst_pipeline_suite), (main):
13251           adding a test for pipelines and state changes
13252         * gst/gstutils.c: (get_state_func):
13253           add some debugging
13254         * gstreamer.spec.in:
13255           fix up spec file
13256
13257 2005-09-08  Michael Smith <msmith@fluendo.com>
13258
13259         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13260         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13261         (gst_file_src_is_seekable), (gst_file_src_get_size),
13262         (gst_file_src_start):
13263         * gst/elements/gstfilesrc.h:
13264           Various fixes for unseekable, unmmapable, and non-normal files, so
13265           that fallback to read() rather than mmap() works.
13266         * gst/gstevent.c: (gst_event_new_newsegment):
13267           Allow newsegment events with segment_start == segment_end, as will
13268           correctly happen if you use filesrc on a zero-size file, for
13269           example.
13270
13271 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13272
13273         * gst/gstplugin.c: (gst_plugin_load_file):
13274           Call g_module_close when we don't load the module
13275
13276         * gst/registries/gstlibxmlregistry.c:
13277         (gst_xml_registry_get_property):
13278           Port leak fix from 0.8
13279
13280 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13281
13282         * docs/gst/gstreamer-docs.sgml:
13283         * docs/gst/tmpl/.cvsignore:
13284         * docs/gst/tmpl/gsttrace.sgml:
13285         * docs/gst/tmpl/gsttrashstack.sgml:
13286         * gst/Makefile.am:
13287         * gst/gst.h:
13288         * gst/gstelement.h:
13289         * gst/gstevent.h:
13290         * gst/gstmessage.c:
13291         * gst/gstmessage.h:
13292         * gst/gsttag.c:
13293         * gst/gsttag.h:
13294         * gst/gsttaginterface.c:
13295         * gst/gsttaginterface.h:
13296         * gst/gsttaglist.c:
13297         * gst/gsttaglist.h:
13298         * gst/gsttagsetter.c:
13299         * gst/gsttagsetter.h:
13300         * gst/gsttrace.c:
13301         * gst/gsttrace.h:
13302         * gst/gsttrashstack.c:
13303           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13304           inlined docs for gsttrace, gsttrashstack
13305
13306 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13307
13308         * gst/Makefile.am:
13309         * gst/elements/gstbufferstore.h:
13310         * gst/elements/gsttypefindelement.c:
13311         * gst/elements/gsttypefindelement.h:
13312         * gst/gst.h:
13313         * gst/gsttypefind.c:
13314         * gst/gsttypefind.h:
13315         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13316         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13317         (gst_type_find_factory_dispose),
13318         (gst_type_find_factory_unload_thyself),
13319         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13320         (gst_type_find_factory_get_caps),
13321         (gst_type_find_factory_get_extensions),
13322         (gst_type_find_factory_call_function):
13323         * gst/gsttypefindfactory.h:
13324         * gst/registries/gstlibxmlregistry.c:
13325         * gst/registries/gstxmlregistry.c:
13326           splitted gsttypefind into gsttypefind, gsttypefindfactory
13327
13328 2005-09-07  Andy Wingo  <wingo@pobox.com>
13329
13330         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13331         condition whereby the pad's task function is entered before the
13332         pad_mode variable was set.
13333
13334 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13335
13336         * gst/gstpad.c: (gst_pad_alloc_buffer):
13337           Catch misbehaving pad_alloc functions that don't
13338           set up caps and do it for them.
13339
13340 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13341
13342         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13343           test for pipe!=NULL
13344         * docs/gst/tmpl/.cvsignore:
13345         * docs/gst/tmpl/gstmemchunk.sgml:
13346         * docs/gst/tmpl/gstparse.sgml:
13347         * docs/gst/tmpl/gsttaglist.sgml:
13348         * docs/gst/tmpl/gsttagsetter.sgml:
13349         * docs/gst/tmpl/gsttypefind.sgml:
13350         * docs/gst/tmpl/gsttypefindfactory.sgml:
13351         * gst/gstmemchunk.c:
13352         * gst/gstparse.c:
13353         * gst/gsttag.c:
13354         * gst/gsttaginterface.c:
13355         * gst/gsttypefind.c:
13356         * gst/gsttypefind.h:
13357           inlined more docs
13358
13359 === release 0.9.2 ===
13360
13361 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13362
13363         * NEWS:
13364         * RELEASE:
13365         * configure.ac:
13366           releasing 0.9.2, "South"
13367
13368 2005-09-05  Andy Wingo  <wingo@pobox.com>
13369
13370         * gst/registries/gstxmlregistry.h:
13371         * gst/registries/gstxmlregistry.c: Um... resurrect...
13372         
13373         * gst/registries/gstxmlregistry.h:
13374         * gst/registries/gstxmlregistry.c: and update to newer API.
13375         Incidentally they should be a bit faster now that they don't have
13376         to parse the caps.
13377         
13378 2005-09-05  Andy Wingo  <wingo@pobox.com>
13379
13380         * gst/registries/gstxmlregistry.h:
13381         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13382         replaced by the libxml registry a while back
13383
13384 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13385
13386         * docs/gst/tmpl/gstplugin.sgml:
13387         * gst/elements/gstelements.c:
13388         * gst/gst.c:
13389         * gst/gstplugin.c: (gst_plugin_register_func),
13390         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13391         (gst_plugin_get_source):
13392         * gst/gstplugin.h:
13393         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13394         (gst_xml_registry_save_plugin):
13395         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13396         (gst_xml_registry_save_plugin):
13397         * tools/gst-inspect.c: (print_plugin_info):
13398           add a "source" plugin description field, to represent the source
13399           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13400           will set it to PACKAGE, which is automake's idea of the name of
13401           the source project.
13402
13403 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13404
13405         * Makefile.am:
13406         * autogen.sh:
13407         * configure.ac:
13408         * docs/Makefile.am:
13409         * docs/faq/Makefile.am:
13410         * docs/gst/tmpl/gstelement.sgml:
13411         * docs/gst/tmpl/gsttypes.sgml:
13412         * docs/htmlinstall.mak:
13413         * docs/manual/Makefile.am:
13414         * docs/pwg/Makefile.am:
13415           reorganize doc build a little
13416           split out docbook and gtk-doc stuff
13417           have two separate --enable's and enable them through autogen
13418           but disable by default in configure (to be similar to other
13419           projects)
13420         * gstreamer.spec.in:
13421           clean up docs install
13422         * po/af.po:
13423         * po/az.po:
13424         * po/ca.po:
13425         * po/cs.po:
13426         * po/de.po:
13427         * po/en_GB.po:
13428         * po/fr.po:
13429         * po/it.po:
13430         * po/nb.po:
13431         * po/nl.po:
13432         * po/ru.po:
13433         * po/sq.po:
13434         * po/sr.po:
13435         * po/sv.po:
13436         * po/tr.po:
13437         * po/uk.po:
13438         * po/vi.po:
13439           translation updates
13440
13441 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13442
13443         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13444           Add comment.
13445           
13446         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13447         (gst_fake_sink_change_state):
13448           Make state change function thread-safe.
13449           
13450         * gst/gstpad.c: (gst_pad_alloc_buffer):
13451           Set offset on generic buffer allocated by fallback.
13452
13453 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13454
13455         * docs/gst/gstreamer-sections.txt:
13456         * docs/gst/tmpl/gstelement.sgml:
13457         * gst/gstpad.c:
13458         * libs/gst/controller/gst-controller.c:
13459         (gst_controlled_property_set_interpolation_mode),
13460         (gst_controlled_property_new),
13461         (gst_controller_find_controlled_property):
13462          run the wingo-magic script against the docs
13463
13464 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13465
13466         * docs/gst/gstreamer-docs.sgml:
13467         * docs/gst/gstreamer-sections.txt:
13468         * docs/gst/tmpl/.cvsignore:
13469         * docs/gst/tmpl/gstelementdetails.sgml:
13470         * docs/gst/tmpl/gstelementfactory.sgml:
13471         * gst/gst.c:
13472         * gst/gstbus.c:
13473         * gst/gstelementfactory.c:
13474         * gst/gstelementfactory.h:
13475           merged elementdetails docs into elementfactory docs
13476           inlined both
13477
13478 2005-09-02  Andy Wingo  <wingo@pobox.com>
13479
13480         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13481         consider this enum an enum and not a flags.
13482
13483 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13484
13485         * docs/gst/gstreamer-docs.sgml:
13486         * docs/gst/tmpl/.cvsignore:
13487         * docs/gst/tmpl/gstghostpad.sgml:
13488         * docs/gst/tmpl/gstiterator.sgml:
13489         * docs/gst/tmpl/gstmacros.sgml:
13490         * docs/gst/tmpl/gstrealpad.sgml:
13491         * docs/gst/tmpl/gstregistry.sgml:
13492         * docs/gst/tmpl/gstregistrypool.sgml:
13493         * docs/gst/tmpl/gststructure.sgml:
13494         * docs/gst/tmpl/gstsystemclock.sgml:
13495         * docs/gst/tmpl/gsttrace.sgml:
13496         * gst/gstghostpad.c:
13497         * gst/gstmacros.h:
13498         * gst/gstmemchunk.c:
13499         * gst/gstmemchunk.h:
13500         * gst/gstqueue.c:
13501         * gst/gstregistry.c:
13502         * gst/gstregistrypool.c:
13503         * gst/gststructure.c:
13504         * gst/gstsystemclock.c:
13505           more docs inlined
13506
13507 2005-09-02  Andy Wingo  <wingo@pobox.com>
13508
13509         * gst/gstelement.h (GstState): Renamed from GstElementState,
13510         changed to be a normal enum instead of flags.
13511         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13512         munged to be GST_STATE_CHANGE_*.
13513         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13514         work with the new state representation.
13515         (GstStateChange): New enumeration of possible state transitions.
13516         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13517         (GstElementClass::change_state): Pass the GstStateChange along as
13518         an argument. Helps language bindings, so they don't have to use
13519         tricky lock-needing macros like GST_STATE_CHANGE ().
13520
13521         * scripts/update-states (file): New script. Run it on a file to
13522         update it for state naming and API changes. Updates files in
13523         place.
13524
13525         * All files updated for the new API.
13526
13527 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13528
13529         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13530         * gst/gstutils.c: (gst_util_set_value_from_string),
13531         (gst_util_set_object_arg):
13532           fix a bunch of unchecked return values
13533         * tools/gst-complete.c: (main):
13534         * gstreamer.spec.in:
13535           clean up a little
13536
13537 2005-09-01  Wim Taymans  <wim@fluendo.com>
13538
13539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13540         (gst_base_sink_event), (gst_base_sink_do_sync),
13541         (gst_base_sink_handle_event):
13542         * gst/base/gstbasesink.h:
13543         Handle newsegments more correctly.
13544
13545         * gst/gstbus.c:
13546         Fix docs.
13547
13548         * gst/gstevent.c: (gst_event_new_newsegment):
13549         A newsegment cannot have a start_time of -1
13550
13551 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13552
13553         * win32/gstenumtypes.c:
13554         * win32/gstenumtypes.h:
13555           Update
13556
13557 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13558
13559         * libs/gst/controller/gst-controller.c:
13560         (gst_controlled_property_set_interpolation_mode),
13561         (gst_controlled_property_new):
13562          fixed boolean again
13563
13564 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13565
13566         * docs/faq/gst-uninstalled:
13567           add -good
13568         * gst/gstevent.c:
13569         * gst/gstevent.h:
13570           remove wrong docs
13571         * gst/gstutils.c: (gst_element_link_filtered):
13572         * gst/gstutils.h:
13573           add gst_element_link_filtered
13574
13575 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13576
13577         * docs/gst/gstreamer-docs.sgml:
13578         * docs/gst/gstreamer-sections.txt:
13579         * docs/gst/tmpl/.cvsignore:
13580         * docs/gst/tmpl/gsterror.sgml:
13581         * docs/gst/tmpl/gstfilter.sgml:
13582         * docs/gst/tmpl/gsturihandler.sgml:
13583         * docs/gst/tmpl/gsturitype.sgml:
13584         * docs/gst/tmpl/gstutils.sgml:
13585         * docs/gst/tmpl/gstxml.sgml:
13586         * gst/gsterror.c:
13587         * gst/gsterror.h:
13588         * gst/gstfilter.c:
13589         * gst/gsturi.c:
13590         * gst/gsturitype.c:
13591         * gst/gstutils.c:
13592         * gst/gstxml.c:
13593           inlined more docs, fixed double id-ref
13594
13595 2005-08-31  Wim Taymans  <wim@fluendo.com>
13596
13597         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13598         (gst_base_transform_handle_buffer):
13599         Passthrough elements don't need the caps as they don't care.
13600
13601 2005-08-31  Wim Taymans  <wim@fluendo.com>
13602
13603         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13604         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13605         Don't leak refcounts on buffers.
13606
13607 2005-08-31  Wim Taymans  <wim@fluendo.com>
13608
13609         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13610         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13611         (gst_base_transform_chain), (gst_base_transform_change_state):
13612         * gst/base/gstbasetransform.h:
13613         Handle the case where we are not negotiated more gracefully.
13614
13615 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13616
13617         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13618         (gst_file_src_map_region):
13619           Set READONLY flag on mmap'ed buffers, otherwise
13620           gst_buffer_make_writable() won't work properly (#314708).
13621
13622 2005-08-31  Wim Taymans  <wim@fluendo.com>
13623
13624         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13625         passthrough elements can even do inplace on non writable
13626         buffers (as they don't touch them).
13627
13628 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13629
13630         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13631         (gst_test_mono_source_set_property),
13632         (gst_test_mono_source_class_init), (GST_START_TEST),
13633         (gst_controller_suite):
13634           more tests (hehe I have the most)
13635         * gst/gstbus.c:
13636           describe popping messages whenusing mulltiple sources
13637         * libs/gst/controller/gst-controller.c:
13638         (gst_controlled_property_set_interpolation_mode),
13639         (gst_controlled_property_new):
13640         * libs/gst/controller/gst-controller.h:
13641         * libs/gst/controller/gst-interpolation.c:
13642           implement boolean properties
13643
13644 2005-08-31  Wim Taymans  <wim@fluendo.com>
13645
13646         * gst/gstminiobject.c: (gst_mini_object_ref):
13647         Cannot assert that the refcount has to be positive
13648         since a disposed object can be resurrected.
13649
13650 2005-08-31  Wim Taymans  <wim@fluendo.com>
13651
13652         * gst/gstpad.c: (gst_pad_init):
13653         Revert change, need to first fix badly behaving 
13654         apps.
13655
13656 2005-08-30  Wim Taymans  <wim@fluendo.com>
13657
13658         * check/elements/fakesrc.c: (setup_fakesrc):
13659         * check/elements/identity.c: (setup_identity):
13660         Activate pads before using them.
13661
13662 2005-08-30  Wim Taymans  <wim@fluendo.com>
13663
13664         * gst/base/gstadapter.c: (gst_adapter_flush):
13665         Flushing out 0 bytes is ok for this function.
13666
13667         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13668         no newsegment gives a warning and sets the start/stop to 
13669         invalid.
13670
13671         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13672         (gst_base_transform_set_passthrough):
13673         Some debug info.
13674
13675         * gst/gstminiobject.c: (gst_mini_object_ref):
13676         Check refcount here too.
13677
13678         * gst/gstpad.c: (gst_pad_init):
13679         Pads are initially flushing and refusing data.
13680
13681         * gst/gstutils.c: (gst_element_link_pads_filtered):
13682         When adding a capsfilter element make sure it has the
13683         same state as the parent bin.
13684
13685 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13686
13687         * docs/gst/tmpl/.cvsignore:
13688         * docs/gst/tmpl/gstformat.sgml:
13689         * docs/gst/tmpl/gstversion.sgml:
13690         * gst/gstbus.h:
13691         * gst/gstformat.c:
13692         * gst/gstformat.h:
13693         * gst/gstversion.h.in:
13694           more docs and two more inlined
13695
13696 2005-08-30  Wim Taymans  <wim@fluendo.com>
13697
13698         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13699         Don't sync to clock.
13700
13701 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13702
13703         * docs/gst/gstreamer-sections.txt:
13704           ultral33t func10ns deserve to appear in the docs actually
13705         * docs/gst/tmpl/.cvsignore:
13706         * docs/gst/tmpl/gstcompat.sgml:
13707         * docs/gst/tmpl/gstconfig.sgml:
13708         * gst/check/gstcheck.c:
13709         * gst/gstcompat.h:
13710         * gst/gstconfig.h.in:
13711           inlined more docs
13712
13713 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13714
13715         * docs/gst/tmpl/.cvsignore:
13716         * docs/gst/tmpl/gstquery.sgml:
13717         * docs/gst/tmpl/gstutils.sgml:
13718         * gst/gstquery.c:
13719         * gst/gstquery.h:
13720           inlined and extended docs
13721
13722 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13723
13724         * check/gst-libs/controller.c: (GST_START_TEST),
13725         (gst_controller_suite):
13726           more tests
13727         * docs/gst/tmpl/gstutils.sgml:
13728         * docs/libs/gstreamer-libs-sections.txt:
13729         * docs/libs/tmpl/gstdataprotocol.sgml:
13730           include path fixes
13731         * examples/controller/audio-example.c: (main):
13732           controller example works now
13733         * gst/gstclock.h:
13734           doc fixes
13735         * tools/gst-inspect.c: (print_element_properties_info):
13736           show param spec flags
13737
13738 2005-08-29  Andy Wingo  <wingo@pobox.com>
13739
13740         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13741
13742 2005-08-28  Andy Wingo  <wingo@pobox.com>
13743
13744         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13745         as having two arguments instead of just one. Allows superclasses
13746         to access information on subclasses -- see the terrible for() loop
13747         in gtype.c:g_type_create_instance for the reason why. All callers
13748         changed.
13749
13750 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13751
13752         * docs/design/part-messages.txt:
13753           update info
13754         * docs/gst/tmpl/.cvsignore:
13755         * docs/gst/tmpl/gstcaps.sgml:
13756         * docs/gst/tmpl/gstclock.sgml:
13757         * gst/gstbus.c:
13758         * gst/gstcaps.c:
13759         * gst/gstcaps.h:
13760         * gst/gstclock.c:
13761         * gst/gstclock.h:
13762         * gst/gstmessage.c:
13763           added descriptions for bus and message
13764           inline caps and clock docs
13765
13766 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13767
13768         * gst/gstmessage.c:
13769         * gst/gstmessage.h:
13770           doc fixes
13771
13772 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13773
13774         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13775           fix div-by-zero
13776
13777 2005-08-26  Andy Wingo  <wingo@pobox.com>
13778
13779         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13780         element_set_state's return val.
13781         (test_2_elements): Add test that's been disabled for months.
13782
13783         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13784         can-activate-pull properties.
13785
13786         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13787         can-activate-pull properties. Implement is_seekable so fakesrc can
13788         operate in pull mode.
13789
13790         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13791         properties.
13792         (gst_base_sink_activate, gst_base_sink_activate_pull)
13793         (gst_base_sink_activate_push): Make activation mode choosing work.
13794         Cleanups.
13795         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13796         is right. Make pull mode work. Post an eos before pausing in pull
13797         mode.
13798         (gst_base_sink_change_state): Pay attention to the core's
13799         change_state() return val.
13800         
13801         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13802         has-getrange properties. Cleanups.
13803         
13804         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13805         has_getrange and replace with can_activate_pull and
13806         can_activate_push.
13807
13808         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13809         locking comments. Remove has_loop, has_chain and replace with
13810         can_activate_pull and can_activate_push.
13811
13812 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13813
13814         * configure.ac:
13815         * examples/Makefile.am:
13816         * examples/metadata/Makefile.am:
13817         * examples/metadata/read-metadata.c: (message_loop),
13818         (have_pad_handler), (make_pipeline), (print_tag), (main):
13819           Add metadata reading example that loops over a list of filenames,
13820           dumping any tags found.
13821
13822         * gst/gstbus.c: (gst_bus_dispose):
13823         * gst/gstelement.c: (gst_element_dispose):
13824           Release a few potentially-held references in dispose.
13825
13826 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13827
13828         * docs/gst/tmpl/gstminiobject.sgml:
13829           do *not* add tmpl/*.sgml files to CVS!
13830
13831 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13832
13833         * libs/gst/bytestream/.cvsignore:
13834         * libs/gst/bytestream/Makefile.am:
13835         * libs/gst/bytestream/adapter.c:
13836         * libs/gst/bytestream/adapter.h:
13837         * libs/gst/bytestream/bytestream.c:
13838         * libs/gst/bytestream/bytestream.h:
13839         * libs/gst/bytestream/filepad.c:
13840         * libs/gst/bytestream/filepad.h:
13841           removing obsolete files
13842
13843 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13844
13845         * docs/gst/gstreamer-docs.sgml:
13846         * docs/libs/gstreamer-libs-docs.sgml:
13847           disabed additional index entries again, as this makes docs-gen just
13848           slow and they aren't useful yet
13849         * docs/libs/gstreamer-libs-sections.txt:
13850           little -section.txt cleanup for libs
13851
13852 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13853
13854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13855         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13856           fix up some debugging
13857         (gst_base_transform_get_unit_size),
13858         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13859         (gst_base_transform_handle_buffer):
13860         * gst/base/gstbasetransform.h:
13861           handle and store timed NEWSEGMENT events so that subclasses that
13862           calculate time by counting samples have a segment_start time they
13863           need to add to their timestamps - see audioresample
13864
13865 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13866
13867         * gst/gstbin.h:
13868           removed ';' from the end of macro defs
13869         * docs/gst/gstreamer-docs.sgml:
13870         * docs/gst/gstreamer-sections.txt:
13871         * docs/gst/tmpl/.cvsignore:
13872         * gst/gstbus.h:
13873         * gst/gstelement.c: (gst_element_class_init),
13874         (gst_element_set_state), (activate_pads),
13875         (gst_element_save_thyself):
13876         * gst/gstevent.c: (gst_event_new_newsegment):
13877         * gst/gstevent.h:
13878         * gst/gstiterator.c:
13879         * gst/gstiterator.h:
13880         * gst/gstpad.c:
13881         * gst/gstprobe.h:
13882         * gst/gstutils.c: (gst_pad_query_convert):
13883         * gst/gstutils.h:
13884           fixed parameter name mismatches between source, header and docs
13885           added some more docs, resolved the last batch of unused elements in
13886           docs (now someone needs to doc them)
13887
13888 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13889
13890         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13891         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13892           don't walk through the plugins backwards.  Where is all this
13893           reversed logic coming from ?
13894
13895 2005-08-25  Wim Taymans  <wim@fluendo.com>
13896
13897         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13898         (gst_base_transform_transform_size),
13899         (gst_base_transform_configure_caps),
13900         (gst_base_transform_get_unit_size),
13901         (gst_base_transform_buffer_alloc),
13902         (gst_base_transform_change_state):
13903         * gst/base/gstbasetransform.h:
13904         Cache caps unit_size.
13905         Make sure we cannot negotiate up and downstream at the
13906         same time.
13907
13908 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13909
13910         * gst/gst.c: (init_pre), (init_post):
13911           register the installed plugin path after the env var
13912         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13913         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13914           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13915           directories, so the tests can prefer uninstalled over installed
13916
13917 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13918
13919         * gst/base/gstbasetransform.h:
13920           comment
13921         * gst/gstpad.c:
13922           add to docs
13923
13924 2005-08-25  Wim Taymans  <wim@fluendo.com>
13925
13926         * gst/gstbin.c: (bin_bus_handler):
13927         Be a bit more conservative about the posted message.
13928         
13929         * gst/gstbus.c: (gst_bus_post):
13930         Some cleanups, warn wrong return values.
13931
13932 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
13933
13934         * check/gst/gstbin.c: (GST_START_TEST):
13935         * gst/gstbin.c: (bin_bus_handler):
13936         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13937         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13938         (gst_message_new_warning), (gst_message_new_tag),
13939         (gst_message_new_state_changed), (gst_message_new_segment_start),
13940         (gst_message_new_segment_done), (gst_message_new_custom):
13941         * gst/gstmessage.h:
13942         * tools/gst-launch.c: (event_loop):
13943         * tools/gst-md5sum.c: (event_loop):
13944           Revert unpopular change for GST_MESSAGE_SRC to GObject.
13945
13946 2005-08-25  Wim Taymans  <wim@fluendo.com>
13947
13948         * check/generic/states.c: (GST_START_TEST):
13949         Cleanup can be done at the end.
13950
13951         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13952         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13953         (gst_task_get_state), (gst_task_start), (gst_task_pause):
13954         Oh boy.. Thanks for finding this, Thomas. 
13955
13956 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13957
13958         * docs/gst/gstreamer.types:
13959           added missing types
13960
13961 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13962
13963         * docs/gst/gstreamer-docs.sgml:
13964         * docs/gst/gstreamer-sections.txt:
13965         * docs/gst/tmpl/.cvsignore:
13966         * gst/gstbin.c:
13967         * gst/gstiterator.c:
13968         * gst/gstutils.c:
13969         * gst/registries/gstxmlregistry.h:
13970           added missing classes and symbols (123 more to go)
13971           removed removed symbols from section file
13972           fixed many doc-comments
13973
13974 2005-08-24  Wim Taymans  <wim@fluendo.com>
13975
13976         * check/generic/states.c: (GST_START_TEST):
13977         Make sure all tasks are stopped.
13978
13979         * check/gst/gstbin.c: (GST_START_TEST):
13980         Unref after usage for proper valgrinding.
13981
13982         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13983         Really wait for the task to stop before destroying the
13984         mutex.
13985
13986         * gst/gstqueue.c: (gst_queue_sink_activate_push),
13987         (gst_queue_src_activate_push):
13988         Small cleanups. Don't stop the task when we did not start
13989         it.
13990
13991         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13992         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13993         (gst_task_get_state), (gst_task_start), (gst_task_pause),
13994         (gst_task_join):
13995         * gst/gsttask.h:
13996         Protect the stream lock with the object lock.
13997         Disallow setting the stream lock when running.
13998         Add cleanup_all to wait for the threadpool to finish.
13999         Remove code to autoallocate a mutex if none was provided.
14000         Add _join() to wait for a task to stop.
14001         Protect the thread pool with a global lock.
14002
14003 2005-08-24  Wim Taymans  <wim@fluendo.com>
14004
14005         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14006         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14007         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14008         * gst/base/gstbasesink.h:
14009         Handle newsegment events correctly.
14010         Drop buffers out of the segment range.
14011
14012 2005-08-22  Andy Wingo  <wingo@pobox.com>
14013
14014         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14015         macro, implements an interface and gstimplementsinterface for a
14016         new type.
14017
14018 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14019
14020         * check/Makefile.am:
14021         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14022           add a test that does a bunch of state changes on elements
14023           needs some fixing for valgrind
14024         * check/states/sinks.c: (gst_object_suite):
14025           whitespace
14026         * gst/gstcaps.h:
14027           add prototype for gst_caps_is_equal_fixed
14028         * gst/gstplugin.c:
14029         * gst/gstregistrypool.c:
14030           doc fixes
14031
14032 2005-08-24  Andy Wingo  <wingo@pobox.com>
14033
14034         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14035         convert a negative value. Doesn't make much sense. Mostly this is
14036         here to force callers to ensure -1 maps to -1.
14037
14038 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14039
14040         * docs/pwg/advanced-types.xml:
14041           Well done to Michael for catching my deliberate introduction
14042           of this spelling mistake. 
14043         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14044         * gst/gstelement.h:
14045           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14046           unlink pads before removing the element from the bin.
14047
14048 2005-08-24  Andy Wingo  <wingo@pobox.com>
14049
14050         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14051         the same thing as GST_DEBUG=*:4.
14052         (parse_debug_level, parse_debug_category): New helper parsers.
14053
14054 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14055
14056         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14057         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14058         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14059         (gst_base_transform_buffer_alloc),
14060         (gst_base_transform_handle_buffer):
14061           use gboolean return values and pointers to size so we can use the
14062           full GST_BUFFER_SIZE range (guint) for buffer sizes
14063           use GstPadDirection for transform_caps
14064         * gst/base/gstbasetransform.h:
14065           rename get_size to get_unit_size since that's what it is
14066         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14067           use GstPadDirection for transform_caps
14068         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14069         * gst/gstutils.h:
14070           cleanup and debugging
14071
14072 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14073
14074         * gst/gstelement.c: (gst_element_class_init),
14075         (gst_element_set_state), (activate_pads),
14076         (gst_element_save_thyself):
14077         * tools/gst-compprep.c: (main):
14078         * tools/gst-inspect.c: (print_element_properties_info):
14079         * tools/gst-xmlinspect.c: (print_element_properties):
14080           Fixed long standing mem-leak
14081
14082 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14083
14084         * check/gst/gstbin.c: (GST_START_TEST):
14085         * gst/gstbin.c: (bin_bus_handler):
14086         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14087         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14088         (gst_message_new_warning), (gst_message_new_tag),
14089         (gst_message_new_state_changed), (gst_message_new_segment_start),
14090         (gst_message_new_segment_done), (gst_message_new_custom):
14091         * gst/gstmessage.h:
14092         * tools/gst-launch.c: (event_loop):
14093         * tools/gst-md5sum.c: (event_loop):
14094           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14095           that applications can sensibly post custom messages with references
14096           to their own objects.
14097
14098 2005-08-24  Andy Wingo  <wingo@pobox.com>
14099
14100         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14101         already.
14102
14103 2005-08-24  Wim Taymans  <wim@fluendo.com>
14104
14105         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14106         (gst_base_transform_transform_caps),
14107         (gst_base_transform_transform_size),
14108         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14109         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14110         (gst_base_transform_handle_buffer):
14111         * gst/base/gstbasetransform.h:
14112         Many fixes and new features added by Thomas. Can now also do
14113         transforms with variable sizes and a custom fixate_caps function.
14114
14115 2005-08-24  Wim Taymans  <wim@fluendo.com>
14116
14117         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14118         Some debugging.
14119
14120         * gst/gstclock.h:
14121         Cast to ClockTime before formatting to time.
14122
14123         * gst/gstutils.h:
14124         Cleanups.
14125
14126 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14127
14128         * check/gst-libs/controller.c: (GST_START_TEST),
14129         (gst_controller_suite):
14130         * docs/gst/tmpl/gstcaps.sgml:
14131         * docs/gst/tmpl/gstghostpad.sgml:
14132         * docs/gst/tmpl/gstquery.sgml:
14133         * docs/gst/tmpl/gstutils.sgml:
14134         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14135         (gst_object_sink_values), (gst_object_get_value_arrays),
14136         (gst_object_get_value_array):
14137           gracefully handle helper method calls to objects that are not beeing
14138           controlled, added test case for that          
14139
14140 2005-08-23  Wim Taymans  <wim@fluendo.com>
14141
14142         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14143         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14144         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14145         (gst_event_parse_qos), (gst_event_new_seek),
14146         (gst_event_parse_seek):
14147         * gst/gstevent.h:
14148         Some more debugging output and doc cleanups.
14149
14150         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14151         Fix possible deadlock.
14152
14153 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14154
14155         * docs/gst/gstreamer-docs.sgml:
14156         * docs/gst/gstreamer-sections.txt:
14157         * docs/gst/gstreamer.types:
14158         * docs/gst/tmpl/.cvsignore:
14159         * gst/gstbin.h:
14160         * gst/gstbus.c:
14161         * gst/gstelement.c:
14162         * gst/gstevent.h:
14163           added 100 symbols from gstreamer-unused.txt to the right sections
14164           fixed more broken comments
14165           added GstBus to docs
14166
14167 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14168
14169         * docs/gst/gstreamer-sections.txt:
14170         * docs/gst/tmpl/.cvsignore:
14171         * docs/gst/tmpl/gstbin.sgml:
14172         * docs/gst/tmpl/gstbuffer.sgml:
14173         * gst/base/gstbasesrc.c:
14174         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14175         * gst/gstbuffer.c:
14176         * gst/gstbuffer.h:
14177         * tools/gst-launch.1.in:
14178           inlined more doc comments, added missing comments and fixed comments
14179           fixed typos
14180
14181 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14182
14183         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14184           some debugging
14185         * gst/gstcaps.h:
14186           whitespace fixes
14187         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14188           more debugging
14189         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14190         * gst/gststructure.h:
14191           add a fixate function for booleans; add a FIXME that these func
14192           names should probably be gst_structure_fixate_*
14193
14194 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14195
14196         * docs/gst/gstreamer-docs.sgml:
14197         * docs/gst/gstreamer-sections.txt:
14198         * gst/Makefile.am:
14199         * gst/gstbin.c: (gst_bin_get_type),
14200         (gst_bin_child_proxy_get_child_by_index),
14201         (gst_bin_child_proxy_get_children_count),
14202         (gst_bin_child_proxy_init):
14203         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14204         (gst_child_proxy_get_child_by_index),
14205         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14206         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14207         (gst_child_proxy_get), (gst_child_proxy_set_property),
14208         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14209         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14210         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14211         * gst/gstchildproxy.h:
14212         * gst/parse/grammar.y:
14213         * tools/gst-inspect.c: (print_interfaces),
14214         (print_element_properties_info), (print_element_info):
14215           ported gstchildproxy over from 0.8
14216           ported gst-inspect fixes and enhancements over from 0.8
14217
14218 2005-08-22  Wim Taymans  <wim@fluendo.com>
14219
14220         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14221         (gst_base_transform_handle_buffer):
14222         Also call the transform function if we have ANY caps.
14223
14224         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14225         Fix debug info.
14226
14227 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14228
14229         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14230           Don't pretend to handle seek events if the source is not seekable
14231
14232 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14233
14234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14235           Remove extra parameter to debug output
14236
14237         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14238         (gst_base_src_do_seek), (gst_base_src_activate_push):
14239           Fix seek event handling.
14240
14241         * gst/gstpipeline.c: (gst_pipeline_change_state):
14242         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14243         (gst_queue_src_activate_push):
14244           Don't start the src pad task on FLUSH_STOP if the pad
14245           isn't linked.
14246           Debug changes.
14247
14248 2005-08-22  Wim Taymans  <wim@fluendo.com>
14249
14250         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14251         Added check for gst_static_caps_get() refcounting.
14252
14253 2005-08-22  Wim Taymans  <wim@fluendo.com>
14254
14255         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14256         Make _static_caps_get() refcounting sane.
14257         
14258         * gst/gstelement.c: (gst_element_set_state):
14259         Add g_return_val_if_fail() to protect against segfaults.
14260
14261 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14262
14263         * docs/gst/tmpl/gstevent.sgml:
14264         * gst/gstevent.c:
14265         * gst/gstevent.h:
14266           inlined remaining docs, added missing doc comments
14267
14268 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14269
14270         * check/gst/gstbin.c: (GST_START_TEST):
14271           since we don't know when preroll is done, use refcount range
14272           check for the sink
14273         * gst/check/gstcheck.h:
14274           add macro for checking refcount range
14275
14276 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14277
14278         * check/Makefile.am:
14279           clean up environment for when registry gets built versus
14280           when actual tests are run; valgrind seems to not report
14281           leaks if GST_PLUGIN_PATH is set to some specific values
14282         * check/gst/gstbin.c: (GST_START_TEST):
14283           add more refcounting checks; maybe this exposes a
14284           preroll lock bug ?
14285         * common/check.mak:
14286         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14287         * gst/check/gstcheck.h:
14288         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14289         (gst_bin_change_state):
14290         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14291           add/fix debugging/whitespace
14292
14293 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14294
14295         * check/gst/gstevent.c: (event_probe), (test_event),
14296         (GST_START_TEST):
14297          Er, don't call gst_bin_watch_for_state_change you idiot.
14298
14299 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14300
14301         * check/Makefile.am:
14302           Use CHECK_CFLAGS and CHECK_LIBS
14303         * check/gst/gstevent.c: (event_probe), (test_event),
14304         (GST_START_TEST):
14305           Don't leak events.
14306         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14307         (gst_base_src_start), (gst_base_src_stop),
14308         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14309         (gst_base_src_change_state):
14310           Sprinkle gst_base_src_stop liberally around error paths to fix
14311           problems reusing a source after failed state changes.
14312         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14313         (helper_find_suggest), (gst_type_find_helper):
14314           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14315         * gst/gstevent.h:
14316         * docs/gst/tmpl/gstevent.sgml:
14317           Migrate part of the docs from the SGML file. Wait for ensonic to
14318           tell me how I did it wrong ;)
14319         * tools/gst-typefind.c: (main):
14320           Extra robustness to state changes between files.
14321
14322 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14323
14324         * check/Makefile.am:
14325           don't valgrind the controller test - it's leaking - Stefan, HELP
14326         * gst/check/gstcheck.c: (gst_check_message_error),
14327         (gst_check_chain_func), (gst_check_setup_element),
14328         (gst_check_teardown_element), (gst_check_setup_src_pad),
14329         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14330         (gst_check_teardown_sink_pad):
14331         * gst/check/gstcheck.h:
14332           add a bunch of methods to set up elements, and src and sink pads
14333         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14334         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14335         (GST_START_TEST):
14336           use them
14337         * gst/gstmessage.c:
14338         * gst/gsttag.h:
14339           whitespace/doc fixes
14340
14341 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14342
14343         * gst/gstelement.h:
14344           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14345           be handled by the application and not always printed as well
14346
14347 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14348
14349         * check/Makefile.am:
14350           set GST_TOOLS_DIR
14351         * gst/check/gstcheck.c: (gst_check_message_error):
14352         * gst/check/gstcheck.h:
14353           add a fail_unless_equals_int
14354           add fail_unless for error messages
14355
14356 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14357
14358         * check/Makefile.am:
14359         * check/gst.supp:
14360         * common/Makefile.am:
14361         * common/check.mak:
14362         * common/gst.supp:
14363           factor out some of the common stuff so we can use it
14364
14365 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14366
14367         * check/Makefile.am:
14368         * check/gst/gstiterator.c: (GST_START_TEST):
14369         * check/gst/gstsystemclock.c: (GST_START_TEST),
14370         (gst_systemclock_suite):
14371         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14372         * gst/gstclock.c:
14373           valgrind more tests
14374
14375 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14376
14377         * check/elements/.cvsignore:
14378         * check/elements/gstfakesrc.c:
14379           rename to name of element
14380         * check/elements/identity.c: (chain_func), (event_func),
14381         (setup_identity), (cleanup_identity), (GST_START_TEST),
14382         (identity_suite), (main):
14383           add a test for identity
14384         * check/Makefile.am:
14385         * pkgconfig/Makefile.am:
14386         * pkgconfig/gstreamer-check.pc.in:
14387         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14388         * gst/check:
14389         * gst/Makefile.am:
14390         * configure.ac:
14391           move the check stuff to a library that gets installed
14392         * check/gst-libs/controller.c: (GST_START_TEST):
14393         * check/gst-libs/gdp.c:
14394         * check/gst/gst.c: (GST_START_TEST):
14395         * check/gst/gstbin.c:
14396         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14397         * check/gst/gstbus.c:
14398         * check/gst/gstcaps.c: (GST_START_TEST):
14399         * check/gst/gstelement.c:
14400         * check/gst/gstghostpad.c:
14401         * check/gst/gstiterator.c:
14402         * check/gst/gstmessage.c:
14403         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14404         * check/gst/gstobject.c:
14405         * check/gst/gstpad.c: (GST_START_TEST):
14406         * check/gst/gststructure.c: (GST_START_TEST):
14407         * check/gst/gstsystemclock.c: (GST_START_TEST),
14408         (gst_systemclock_suite):
14409         * check/gst/gsttag.c: (gst_tag_suite):
14410         * check/gst/gstvalue.c:
14411         * check/pipelines/cleanup.c:
14412         * check/pipelines/simple_launch_lines.c:
14413         * check/states/sinks.c:
14414           change include statement
14415
14416         * docs/gst/gstreamer-sections.txt:
14417         * docs/gst/tmpl/gstpad.sgml:
14418           document more pad stuff
14419         * gst/gstminiobject.c: (gst_mini_object_ref),
14420         (gst_mini_object_unref):
14421           debug refcounting
14422
14423 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14424
14425         * docs/gst/tmpl/gst.sgml:
14426         * gst/gst.c:
14427           eliminate another tmpl file, fix spelling in the long-description
14428
14429 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14430
14431         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14432         (test_event), (timediff), (gstevents_suite):
14433           Should fix build on 64-bit arch's
14434
14435 2005-08-18  Andy Wingo  <wingo@pobox.com>
14436
14437         Make sure that when a pipeline goes to PLAYING, that data has
14438         actually hit the sink.
14439
14440         * check/states/sinks.c (test_sink): A sink that doesn't get any
14441         data shouldn't return SUCCESS for going to either PLAYING or
14442         PAUSED. Test also the return values on the way back down.
14443
14444         * gst/gstelement.c (gst_element_set_state): When changing the
14445         state of an element currently changing state asynchronously, go to
14446         lost-state after commiting the pending state. Makes future calls
14447         to get_state continue to return ASYNC.
14448
14449         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14450         ASYNC when going to PLAYING if we still don't have preroll, as can
14451         happen with live sources.
14452
14453 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14454
14455         * docs/pwg/advanced-types.xml:
14456           Hack long paragraph into 2 chunks as a workaround for buggy
14457           jadetex version in sid and breezy that loops infinitely and
14458           eats all RAM.
14459
14460 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14461
14462         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14463         (test_event), (timediff), (gstevents_suite):
14464           Provide more error margin in clock measurements to allow for 
14465           g_get_current_time inaccuracies.
14466
14467 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14468
14469         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14470         (test_event), (timediff), (gstevents_suite):
14471            Fix error message output so I might be able to tell why the
14472            test works here but fails on the build farm.
14473
14474 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14475
14476         * check/Makefile.am:
14477         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14478         (test_event), (timediff), (gstevents_suite), (main):
14479           I wrote a test!
14480
14481         * docs/design/part-seeking.txt:
14482           Spelling correction
14483
14484         * docs/gst/tmpl/gstevent.sgml:
14485         * docs/gst/tmpl/gstfakesrc.sgml:
14486           Docs updates.
14487
14488         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14489           Treat a buffer-without-newsegment the same as a receiving 
14490           a newsegment not in time format, and disable syncing to the clock
14491           with a warning.
14492
14493         * gst/gstbus.c: (gst_bus_set_sync_handler):
14494           Assert if anyone tries to replace the existing sync_handler for bus, 
14495           as only the owner should be setting it.
14496
14497         * gst/gstevent.h:
14498           Have a fixed set of custom event enums with events identified by
14499           their structure name (as in 0.8), rather than a free-for-all
14500           allowing collisions between enum values from different plugins.
14501
14502         * gst/gstpad.c: (gst_pad_class_init):
14503           Docs change.
14504           
14505         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14506           Handle out-of-band downstream events from the sending thread.
14507
14508 2005-08-17  Andy Wingo  <wingo@pobox.com>
14509
14510         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14511         play-timeout==0 to mean no timeout at all. In that case, don't
14512         bother with a get_state or a warning, just return directly, even
14513         if it's ASYNC.
14514
14515         * gst/base/gstbasetransform.c: Debug changes.
14516
14517         * gst/gstutils.h:
14518         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14519         ensure bins post state change messages. A bit of a hack but I can't
14520         think of a way to avoid it.
14521
14522         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14523
14524 2005-08-16  Andy Wingo  <wingo@pobox.com>
14525
14526         * gst/base/gstadapter.h:
14527         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14528         peek() but you own the data. Not terribly efficient atm.
14529
14530 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14531
14532         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14533         (gst_element_found_tags):
14534         * gst/gstutils.h:
14535           Add two utility functions for tag handling.
14536
14537 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14538
14539         * docs/manual/advanced-dataaccess.xml:
14540         * docs/manual/basics-helloworld.xml:
14541           Fix docs to use _bin_add() before _link(), which fixes the examples
14542           with recent core versions (reported by Madhan Raj M
14543           <raj_madan@rediffmail.com>, #313199).
14544
14545 2005-08-16  Wim Taymans  <wim@fluendo.com>
14546
14547         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14548         Added subtract checks.
14549
14550         * docs/design/part-events.txt:
14551         Some more docs about newsegment
14552
14553         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14554         Fix FIXME
14555
14556         * gst/gstcaps.c: (gst_caps_to_string):
14557         Add comments, cleanups.
14558         
14559         * gst/gstelement.c: (gst_element_save_thyself):
14560         cleanups
14561         
14562         * gst/gstvalue.c: (gst_value_collect_int_range),
14563         (gst_string_unwrap), (gst_value_union_int_int_range),
14564         (gst_value_union_int_range_int_range),
14565         (gst_value_intersect_int_int_range),
14566         (gst_value_intersect_int_range_int_range),
14567         (gst_value_intersect_double_double_range),
14568         (gst_value_intersect_double_range_double_range),
14569         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14570         (gst_value_subtract_int_range_int),
14571         (gst_value_subtract_double_range_double),
14572         (gst_value_subtract_double_range_double_range),
14573         (gst_value_subtract_from_list), (gst_value_subtract_list),
14574         (gst_value_can_compare), (gst_value_compare_fraction):
14575         Cleanups, add comments, remove unneeded asserts.
14576
14577 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14578
14579         * tools/gst-launch.c: (event_loop):
14580           don't convert NULL structures to strings
14581
14582 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14583
14584         * docs/gst/gstreamer-sections.txt:
14585           made some defines private
14586         * docs/gst/tmpl/gstconfig.sgml:
14587         * docs/gst/tmpl/gstqueue.sgml:
14588         * docs/gst/tmpl/gsttaglist.sgml:
14589         * docs/gst/tmpl/gsttypes.sgml:
14590         * docs/gst/tmpl/gstutils.sgml:
14591         * docs/pwg/appendix-porting.xml:
14592         * gst/base/gstbasesink.h:
14593         * gst/base/gstbasesrc.c:
14594         * gst/base/gstbasesrc.h:
14595         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14596         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14597         * gst/gstelement.c: (gst_element_class_init):
14598         * gst/gstpad.c: (gst_pad_class_init):
14599         * gst/gstqueue.c: (gst_queue_class_init):
14600         * gst/gstxml.c: (gst_xml_class_init):
14601           documented all undocumented signal inline
14602         * libs/gst/controller/gst-controller.h:
14603           added padding
14604
14605 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14606
14607         * docs/pwg/appendix-porting.xml:
14608           Document _set_link_function -> _set_setcaps_function.
14609
14610 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14611
14612         * check/Makefile.am:
14613           add a .check target for running the check
14614         * check/gst-libs/controller.c: (GST_START_TEST):
14615           cosmetic fixups
14616         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14617           complete checks for gstbuffer; would be nice if I could get the
14618           gcov stuff to work so I can see if I actually completed gstbuffer.c
14619         * check/gstcheck.h:
14620           add ASSERT_BUFFER_REFCOUNT
14621
14622 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14623
14624         * docs/gst/gstreamer-sections.txt:
14625         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14626         * gst/gsttag.h:
14627           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14628           spew out a warning if a tag that is already registered
14629           is re-registered, unless it is re-registered with a 
14630           different type (#308438).
14631
14632 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14633
14634         * docs/pwg/appendix-porting.xml:
14635         * docs/pwg/building-state.xml:
14636           Add some paragraphs about state changes in 0.9 to the PWG
14637           and the porting guide, in particular about the new meaning
14638           of GST_STATE_PAUSED and how to write state change functions
14639           with concurrent access by multiple threads in mind.
14640
14641 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14642
14643         * docs/gst/gstreamer-docs.sgml:
14644         * docs/libs/gstreamer-libs-docs.sgml:
14645           added deprecation and since indexes
14646         * libs/gst/controller/gst-controller.c:
14647         * libs/gst/controller/gst-helper.c:
14648           added since tags
14649
14650
14651 2005-08-11  Wim Taymans  <wim@fluendo.com>
14652
14653         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14654         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14655         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14656         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14657         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14658         (gst_ghost_pad_set_target):
14659         Actually implement (re)setting the target on a ghostpad
14660         as described in the docs.
14661
14662 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14663
14664         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14665           Check whether GST_DEBUG_NO_COLOR environment variable is
14666           set and disable coloured debug output if that is the case.
14667
14668 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14669
14670         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14671         (gst_type_find_helper):
14672           The memory returned by gst_type_find_peek() needs to
14673           stay valid until the end of a typefind function, and
14674           typefind functions may keep results from different 
14675           offsets around, so we can't just unref the buffer from
14676           the previous _peek(), but have to save all buffers 
14677           returned by _peek() until typefinding is done and only
14678           free them then.
14679
14680 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14681
14682         * docs/gst/gstreamer-sections.txt:
14683         * gst/gstutils.h:
14684           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14685
14686 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14687
14688         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14689           Fix a pretty good memleak.
14690
14691 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14692
14693         * gst/gstiterator.h:
14694           Fix wrong include and 'make distcheck'.
14695
14696 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14697
14698         * gst/gstbin.c: (bin_bus_handler):
14699           Use gst_element_post_message() instead.
14700
14701 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14702
14703         * gst/base/gstadapter.h:
14704         * gst/base/gstbasesink.h:
14705         * gst/base/gstbasesrc.h:
14706         * gst/base/gstbasetransform.h:
14707         * gst/base/gstcollectpads.h:
14708         * gst/base/gstpushsrc.h:
14709         * gst/gstiterator.h:
14710           Add padding to our base elements' class and instance structs and
14711           to GstIterator (you will need to rebuild all plugins and apps!)
14712
14713 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14714
14715         * gst/gstbin.c: (bin_bus_handler):
14716           Make default message forwarding from child->bus to bin->bus
14717           threadsafe and make it not emit warnings if the parent has no bus.
14718
14719 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14720
14721         * gst/gstelement.c: (activate_pads):
14722           On paused->ready, set pad->caps to NULL, as is the documented
14723           behaviour in this state change. Fixes playback of series of
14724           media files when visualization is enabled in Totem.
14725
14726 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14727
14728         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14729           Allow NULL as filter-caps (which means "any").
14730
14731 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14732
14733         * docs/libs/gstreamer-libs-sections.txt:
14734         * libs/gst/controller/gst-controller.c:
14735         * libs/gst/controller/gst-controller.h:
14736         * libs/gst/controller/gst-helper.c:
14737           adding more entries to the docs and fix small doc-bugs
14738
14739 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14740
14741         * docs/gst/gstreamer-docs.sgml:
14742         * docs/gst/gstreamer-sections.txt:
14743         * docs/gst/gstreamer.types:
14744         * docs/gst/tmpl/gstbasesink.sgml:
14745         * docs/gst/tmpl/gstbasesrc.sgml:
14746         * docs/gst/tmpl/gstbasetransform.sgml:
14747         * docs/gst/tmpl/gstfakesrc.sgml:
14748         * gst/base/gstcollectpads.c:
14749         * gst/base/gstcollectpads.h:
14750         * libs/gst/controller/gst-controller.c:
14751         * libs/gst/controller/gst-controller.h:
14752         * libs/gst/controller/gst-helper.c:
14753         * libs/gst/controller/gst-interpolation.c:
14754         * libs/gst/controller/lib.c:
14755           added long/short desc for controller docs
14756           added collectpads base class docs
14757           added correct includes to base-class docs
14758
14759 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14760
14761         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14762         (gst_test_mono_source_set_property),
14763         (gst_test_mono_source_class_init), (GST_START_TEST),
14764         (gst_controller_suite):
14765         * docs/gst/gstreamer-docs.sgml:
14766         * docs/gst/gstreamer-sections.txt:
14767         * docs/gst/gstreamer.types:
14768         * docs/libs/gstreamer-libs-docs.sgml:
14769         * docs/libs/gstreamer-libs-sections.txt:
14770         * gst/base/gstadapter.c:
14771         * libs/gst/controller/gst-controller.c:
14772         (gst_controlled_property_new), (gst_controlled_property_free),
14773         (gst_controller_new_valist),
14774         (gst_controller_remove_properties_valist),
14775         (gst_controller_sink_values), (_gst_controller_finalize):
14776         * libs/gst/controller/gst-controller.h:
14777         * libs/gst/controller/gst-helper.c:
14778         (gst_object_control_properties), (gst_object_uncontrol_properties),
14779         (gst_object_get_controller), (gst_object_set_controller),
14780         (gst_object_sink_values), (gst_object_get_value_arrays),
14781         (gst_object_get_value_array):
14782           more tests (and fixes) for the controller
14783           more docs for the controller
14784           integrated companies docs for the adapter 
14785
14786 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14787
14788         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14789         (GST_START_TEST), (fakesrc_suite):
14790           add tests for sizetype
14791
14792 2005-08-04  Andy Wingo  <wingo@pobox.com>
14793
14794         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14795         fixes buffer_alloc proxying among other things.
14796
14797         * gst/base/gstbasetransform.c:
14798         * gst/base/gstbasetransform.h:
14799         Revert patch to gstbasetransform from 7-28 removing
14800         delay_configure.
14801
14802         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14803         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14804         Semantics changed, should return not the size of the output buffer
14805         but the byte size of a buffer with a given caps.
14806
14807         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14808         debug object.
14809         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14810         out) are not the pad caps until setcaps finishes.
14811         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14812         not-in-place case as well. Deal with changing from in-place to
14813         not-in-place within calling pad_alloc_buffer. Still a bit
14814         concerned about the overhead here...
14815
14816 2005-08-03  Andy Wingo  <wingo@pobox.com>
14817
14818         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14819         fixating is an error.
14820
14821 2005-08-04  Edward Hervey  <edward@fluendo.com>
14822
14823         * gst/base/gstadapter.h: 
14824         Added gst_adapter_get_type() to the header
14825
14826 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14827
14828         * check/Makefile.am:
14829         * check/gst-libs/controller.c:
14830         * libs/gst/controller/gst-controller.c:
14831         (gst_controller_new_valist):
14832           added check test suite for the controller
14833         * gst/base/gstpushsrc.c:
14834           fixed a doc typo
14835
14836 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14837
14838         * docs/gst/Makefile.am:
14839         * docs/gst/gstreamer-docs.sgml:
14840         * docs/gst/gstreamer-sections.txt:
14841         * docs/gst/gstreamer.types:
14842         * docs/gst/tmpl/gstfakesrc.sgml:
14843         * gst/base/README:
14844         * gst/base/gstbasesink.c:
14845         * gst/base/gstbasesink.h:
14846         * gst/base/gstbasesrc.c:
14847         * gst/base/gstbasesrc.h:
14848         * gst/base/gstbasetransform.c:
14849         * gst/base/gstpushsrc.c:
14850         * gst/base/gstpushsrc.h:
14851           add short/long description docs to base classes
14852           add pushsrc to the docs
14853           remove consolidated doc fragments
14854
14855 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14856
14857         * configure.ac:
14858         * docs/libs/Makefile.am:
14859         * docs/libs/gstreamer-libs-docs.sgml:
14860         * docs/libs/gstreamer-libs-sections.txt:
14861         * docs/libs/gstreamer-libs.types:
14862         * examples/Makefile.am:
14863         * examples/controller/.cvsignore:
14864         * examples/controller/Makefile.am:
14865         * examples/controller/audio-example.c: (main):
14866         * libs/gst/Makefile.am:
14867         * libs/gst/controller/.cvsignore:
14868         * libs/gst/controller/Makefile.am:
14869         * libs/gst/controller/gst-controller.c:
14870         (on_object_controlled_property_changed), (gst_timed_value_compare),
14871         (gst_timed_value_find),
14872         (gst_controlled_property_set_interpolation_mode),
14873         (gst_controlled_property_new), (gst_controlled_property_free),
14874         (gst_controller_find_controlled_property),
14875         (gst_controller_new_valist), (gst_controller_new),
14876         (gst_controller_remove_properties_valist),
14877         (gst_controller_remove_properties), (gst_controller_set),
14878         (gst_controller_set_from_list), (gst_controller_unset),
14879         (gst_controller_get), (gst_controller_get_all),
14880         (gst_controller_sink_values), (gst_controller_get_value_arrays),
14881         (gst_controller_get_value_array),
14882         (gst_controller_set_interpolation_mode),
14883         (_gst_controller_finalize), (_gst_controller_init),
14884         (_gst_controller_class_init), (gst_controller_get_type):
14885         * libs/gst/controller/gst-controller.h:
14886         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14887         (g_object_uncontrol_properties), (g_object_get_controller),
14888         (g_object_set_controller), (g_object_sink_values),
14889         (g_object_get_value_arrays), (g_object_get_value_array):
14890         * libs/gst/controller/gst-interpolation.c:
14891         (gst_controlled_property_find_timed_value_node),
14892         (interpolate_none_get), (interpolate_trigger_get),
14893         (interpolate_trigger_get_value_array):
14894         * libs/gst/controller/lib.c: (gst_controller_init):
14895         * pkgconfig/Makefile.am:
14896         * pkgconfig/gstreamer-control-uninstalled.pc.in:
14897         * pkgconfig/gstreamer-control.pc.in:
14898         * testsuite/Makefile.am:
14899         * testsuite/controller/.cvsignore:
14900         * testsuite/controller/Makefile.am:
14901         * testsuite/controller/interpolator.c: (main):
14902           added controller code
14903           removed dparam pc files
14904
14905 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14906         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14907         (gst_collectpads_stop):
14908           Broadcast the condition when shutting down, to make sure we wake all
14909           threads up. Shut down pads on finalize, for safety.
14910
14911 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14912         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14913         (gst_base_transform_handle_buffer),
14914         (gst_base_transform_change_state):
14915           Handle PAUSED->READY->PAUSED transition after negotiation
14916           occurred already.
14917         * gst/gstmessage.c: (gst_message_init):
14918           Extra piece of debug for new messages.
14919
14920 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
14921
14922         * configure.ac:
14923         * docs/gst/tmpl/gstbasesrc.sgml:
14924         * docs/gst/tmpl/gstelement.sgml:
14925         * docs/gst/tmpl/gstevent.sgml:
14926         * docs/gst/tmpl/gstfakesrc.sgml:
14927         * docs/gst/tmpl/gstformat.sgml:
14928         * docs/gst/tmpl/gstghostpad.sgml:
14929         * docs/gst/tmpl/gstpad.sgml:
14930         * docs/gst/tmpl/gstquery.sgml:
14931         * docs/gst/tmpl/gststructure.sgml:
14932         * docs/gst/tmpl/gsttaglist.sgml:
14933         * docs/gst/tmpl/gstvalue.sgml:
14934         * docs/libs/gstreamer-libs-docs.sgml:
14935         * docs/libs/gstreamer-libs-sections.txt:
14936         * docs/libs/gstreamer-libs.types:
14937         * libs/gst/Makefile.am:
14938         * libs/gst/control/.cvsignore:
14939         * libs/gst/control/Makefile.am:
14940         * libs/gst/control/control.c:
14941         * libs/gst/control/control.h:
14942         * libs/gst/control/dparam.c:
14943         * libs/gst/control/dparam.h:
14944         * libs/gst/control/dparam_smooth.c:
14945         * libs/gst/control/dparam_smooth.h:
14946         * libs/gst/control/dparamcommon.h:
14947         * libs/gst/control/dparammanager.c:
14948         * libs/gst/control/dparammanager.h:
14949         * libs/gst/control/dplinearinterp.c:
14950         * libs/gst/control/dplinearinterp.h:
14951         * libs/gst/control/unitconvert.c:
14952         * libs/gst/control/unitconvert.h:
14953         * testsuite/Makefile.am:
14954         * testsuite/dynparams/.cvsignore:
14955         * testsuite/dynparams/Makefile.am:
14956         * testsuite/dynparams/dparamstest.c:
14957         * tools/Makefile.am:
14958         * tools/gst-inspect.c: (print_element_info), (main):
14959         * tools/gst-xmlinspect.c: (print_element_info), (main):
14960           deactivate and remove dparams (libgstcontrol)
14961
14962 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14963
14964         * gst/elements/gsttypefindelement.c:
14965         (gst_type_find_element_have_type), (gst_type_find_element_init),
14966         (stop_typefinding), (gst_type_find_element_handle_event),
14967         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14968         * gst/elements/gsttypefindelement.h:
14969           Set caps on all outgoing buffers, not just the first one.
14970
14971 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14972
14973         * gst/elements/gsttypefindelement.c:
14974         (gst_type_find_element_have_type),
14975         (gst_type_find_element_check_set_buffer_caps),
14976         (gst_type_find_element_init), (stop_typefinding),
14977         (gst_type_find_element_handle_event),
14978         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14979         * gst/elements/gsttypefindelement.h:
14980           Set caps on first outgoing buffer when we've found the type.
14981
14982 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14983
14984         * docs/gst/gstreamer-docs.sgml:
14985         * docs/gst/gstreamer-sections.txt:
14986         * docs/gst/tmpl/gstscheduler.sgml:
14987         * docs/gst/tmpl/gstschedulerfactory.sgml:
14988           Remove some old cruft from docs.
14989
14990 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
14991
14992         * gst/gstpad.h:
14993           Fix inline docs for GstPadLinkReturn.
14994           
14995         * gst/gststructure.c: (gst_structure_has_name):
14996         * gst/gststructure.h:
14997         * docs/gst/gstreamer-sections.txt:
14998           New API: gst_structure_has_name().
14999
15000 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15001
15002         * configure.ac:
15003           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15004           and _LARGEFILE_SOURCE in config.h as required. Do not 
15005           export those flags in our .pc files any longer (#142209).
15006
15007           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15008
15009         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15010         (gst_file_sink_do_seek), (gst_file_sink_event),
15011         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15012           Redo seek/tell calls with large file support in mind; add some
15013           debugging messages; add log message that tells us when large
15014           file support is unavailable or not enabled for some reason.
15015
15016         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15017           Add log message that tells us when large file support 
15018           is unavailable or not enabled for some reason.
15019
15020 2005-07-29  Wim Taymans  <wim@fluendo.com>
15021
15022         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15023         Added test for removing an element with ghostpad from a bin.
15024         Fixed test as current implementation does the right thing.
15025
15026         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15027         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15028         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15029         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15030         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15031         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15032         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15033         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15034         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15035         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15036         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15037         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15038         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15039         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15040         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15041         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15042         * gst/gstghostpad.h:
15043         Clean up ghostpads, remove properties for internal stuff.
15044         Make threadsafe.
15045         Fix refcounting.
15046         Prepare for switching targets, not all use cases work yet.
15047
15048 2005-07-29  Wim Taymans  <wim@fluendo.com>
15049
15050         * docs/design/part-gstghostpad.txt:
15051         Small update.
15052
15053         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15054         (gst_bin_remove_func):
15055         Unlinking pads while holding the bin LOCK is not a good
15056         idea.
15057
15058         * gst/gstpad.c: (gst_pad_class_init),
15059         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15060         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15061         No prob setting template after creating the pad.
15062
15063 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15064
15065         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15066         (gst_bus_peek), (gst_bus_source_dispatch),
15067         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15068         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15069           gst_bus_poll may be called from other threads. Handle
15070           this nicely by not making poll_data disappear off the
15071           stack once gst_bus_poll returns.
15072           gst_bus_peek now increments the refcount on the returned
15073           message.
15074
15075 2005-07-29  Wim Taymans  <wim@fluendo.com>
15076
15077         * docs/design/part-gstghostpad.txt:
15078         Overview of current GhostPad datastructures and use
15079         cases for changing the target.
15080
15081 2005-07-28  Wim Taymans  <wim@fluendo.com>
15082
15083         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15084         Added checks for hierarchy consistency whan adding linked
15085         elements to bins.
15086
15087         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15088         Added check to test element scheduling without bin/pipeline.
15089
15090         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15091         First add elements to bin, then link.
15092         
15093         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15094         (gst_bin_remove_func):
15095         Unlink pads from elements added/removed from bin to maintain
15096         hierarchy consistency.
15097
15098 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15099
15100         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15101         (gst_base_transform_handle_buffer):
15102         * gst/base/gstbasetransform.h:
15103           Remove broken delay_configure (fixes renegotiation of software
15104           scaling pipelines); remove some leftover printf()s.
15105
15106 2005-07-28  Wim Taymans  <wim@fluendo.com>
15107
15108         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15109         Added some more tests for wrong hierarchy
15110
15111         * docs/design/part-overview.txt:
15112         Some updates.
15113
15114         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15115         Cleanups.
15116
15117         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15118         (gst_element_dispose):
15119         Some more cleanups.
15120
15121         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15122         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15123         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15124         (gst_pad_set_caps), (gst_pad_send_event):
15125         Check for correct hierarchy when linking pads. Moving to
15126         strict requirement for ghostpads when linking elements in
15127         different bins.
15128
15129         * gst/gstpad.h:
15130         Clean ups. Added WRONG_HIERARCHY return value.
15131
15132 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15133
15134         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15135           Better debug if no transform is possible.
15136
15137 2005-07-27  Wim Taymans  <wim@fluendo.com>
15138
15139         * docs/random/wtay/network-transp:
15140         Some old doc I had.
15141
15142 2005-07-27  Wim Taymans  <wim@fluendo.com>
15143
15144         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15145         (gst_dp_event_from_packet):
15146         Fix serialization of seek events.
15147
15148 2005-07-27  Wim Taymans  <wim@fluendo.com>
15149
15150         * check/gst-libs/gdp.c: (GST_START_TEST):
15151         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15152         Fix compilation and fix event serialization.
15153
15154 2005-07-27  Wim Taymans  <wim@fluendo.com>
15155
15156         * CHANGES-0.9:
15157         * docs/design/part-TODO.txt:
15158         * docs/design/part-events.txt:
15159         Some docs updates
15160
15161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15162         (gst_base_sink_event), (gst_base_sink_do_sync),
15163         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15164         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15165         (gst_base_src_do_seek), (gst_base_src_event_handler),
15166         (gst_base_src_loop):
15167         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15168         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15169         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15170         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15171         (gst_base_transform_set_passthrough),
15172         (gst_base_transform_is_passthrough):
15173         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15174         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15175         Event updates.
15176
15177         * gst/gstbuffer.h:
15178         Use faster casts.
15179
15180         * gst/gstelement.c: (gst_element_seek):
15181         * gst/gstelement.h:
15182         Update gst_element_seek.
15183
15184         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15185         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15186         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15187         (gst_event_new_eos), (gst_event_new_newsegment),
15188         (gst_event_parse_newsegment), (gst_event_new_tag),
15189         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15190         (gst_event_parse_qos), (gst_event_new_seek),
15191         (gst_event_parse_seek), (gst_event_new_navigation):
15192         * gst/gstevent.h:
15193         Make GstEvent use GstStructure. Add parsing code, make sure the
15194         API is sufficiently generic.
15195         Mark possible directions of events and serialization.
15196
15197         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15198         (_gst_message_copy), (gst_message_new_segment_start),
15199         (gst_message_new_segment_done), (gst_message_new_custom),
15200         (gst_message_parse_segment_start),
15201         (gst_message_parse_segment_done):
15202         Small cleanups.
15203
15204         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15205         (gst_pad_set_caps), (gst_pad_send_event):
15206         Update for new events. 
15207         Catch events sent in wrong directions.
15208
15209         * gst/gstqueue.c: (gst_queue_link_src),
15210         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15211         (gst_queue_handle_src_query):
15212         Event updates.
15213
15214         * gst/gsttag.c:
15215         * gst/gsttag.h:
15216         Remove event code from this file.
15217
15218         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15219         (gst_dp_event_from_packet):
15220         Event updates.
15221
15222 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15223
15224         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15225         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15226         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15227           Make debugging actually useful.
15228
15229 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15230
15231         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15232         (gst_pad_fixate_caps):
15233           Implement default fixation once again, so that gst_pad_fixate()
15234           actually does anything at all. This probably needs to be some
15235           sort of a last resort, and use profile-based fixation first, but
15236           since that doesn't exist yet, this is the best we have. Fixes
15237           visualization in Totem.
15238
15239 2005-07-22  Wim Taymans  <wim@fluendo.com>
15240
15241         * docs/design/part-events.txt:
15242         Small update.
15243
15244         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15245         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15246         (gst_base_sink_activate_pull):
15247         Some more comments.
15248
15249         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15250         (gst_fake_src_create):
15251         Fix handoff marshall.
15252
15253         * gst/elements/gstidentity.c: (gst_identity_class_init),
15254         (gst_identity_transform_ip):
15255         We're a real inplace element.
15256
15257         * gst/gstbus.c: (gst_bus_post):
15258         Added some comments.
15259
15260         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15261         * tests/muxing/case1.c: (main):
15262         * tests/sched/dynamic-pipeline.c: (main):
15263         * tests/sched/interrupt1.c: (main):
15264         * tests/sched/interrupt2.c: (main):
15265         * tests/sched/interrupt3.c: (main):
15266         * tests/sched/runxml.c: (main):
15267         * tests/sched/sched-stress.c: (main):
15268         * tests/seeking/seeking1.c: (event_received), (main):
15269         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15270         (main):
15271         * tests/threadstate/threadstate3.c: (main):
15272         * tests/threadstate/threadstate4.c: (main):
15273         * tests/threadstate/threadstate5.c: (main):
15274         Fix the tests.
15275
15276 2005-07-21  Wim Taymans  <wim@fluendo.com>
15277
15278         * docs/design/part-seeking.txt:
15279         Some small additions.
15280
15281         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15282         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15283         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15284         * gst/base/gstbasesink.h:
15285         discont values are gint64, handle the math correctly.
15286
15287         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15288         Make the basesrc report error if the source pad is not linked.
15289
15290         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15291         (gst_queue_loop), (gst_queue_handle_src_query),
15292         (gst_queue_src_activate_push):
15293         Make queue collect data even if the srcpad is not linked.
15294         Start pushing out data as soon as it is linked.
15295
15296         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15297         * gst/gstutils.h:
15298         Added gst_flow_get_name() to ease error reporting.
15299
15300 2005-07-20  Wim Taymans  <wim@fluendo.com>
15301
15302         * gst/gstmessage.c: (gst_message_new_segment_start),
15303         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15304         (gst_message_parse_segment_done):
15305         * gst/gstmessage.h:
15306         Added a bunch of messages for advanced seeking.
15307
15308         * gst/parse/grammar.y:
15309         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15310         (gst_dpman_state_changed):
15311         Fix some new-pad -> pad-added signals
15312
15313 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15314
15315         * docs/manual/appendix-porting.xml:
15316         * docs/pwg/appendix-porting.xml:
15317           Document new-pad/state-change signal renames and the FixedList
15318           type rename.
15319
15320 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15321
15322         * docs/manual/advanced-autoplugging.xml:
15323         * docs/manual/basics-helloworld.xml:
15324         * docs/manual/basics-pads.xml:
15325         * docs/random/ds/0.9-suggested-changes:
15326         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15327         * gst/gstelement.h:
15328         * gst/gstevent.h:
15329         * gst/gstformat.h:
15330         * gst/gstquery.h:
15331         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15332         (gst_structure_parse_array), (gst_structure_parse_value):
15333         * gst/gstvalue.c: (gst_type_is_fixed),
15334         (gst_value_list_prepend_value), (gst_value_list_append_value),
15335         (gst_value_list_get_size), (gst_value_list_get_value),
15336         (gst_value_transform_array_string), (gst_value_serialize_array),
15337         (gst_value_deserialize_array), (gst_value_intersect_array),
15338         (gst_value_is_fixed), (_gst_value_initialize):
15339         * gst/gstvalue.h:
15340           GstElement::new-pad -> pad-added, GstElement::state-change ->
15341           state-changed, GstValueFixedList -> GstValueArray, add format and
15342           flags as their own arguments in gst_element_seek() (should improve
15343           "bindeability"), remove function generators since they don't work
15344           under a whole bunch of compilers (they were deprecated already
15345           anyway).
15346
15347 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15348
15349         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15350         (_gst_debug_register_funcptr):
15351         * gst/gstinfo.h:
15352           Fix illegal cast on some platforms (#309253).
15353
15354 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15355
15356         * gst/gstmessage.c: (gst_message_new_custom):
15357         * gst/gstmessage.h:
15358           Add _new_custom, make _new_application a macro to _new_custom.
15359
15360 2005-07-20  Wim Taymans  <wim@fluendo.com>
15361
15362         * gst/base/gstbasesrc.c: (gst_base_src_init),
15363         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15364         * gst/base/gstbasesrc.h:
15365         Add a gboolean to decide when to push out a discont.
15366
15367         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15368         (gst_queue_loop), (gst_queue_handle_src_query),
15369         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15370         (gst_queue_set_property), (gst_queue_get_property):
15371         Some cleanups.
15372
15373         * tests/threadstate/threadstate1.c: (main):
15374         Make a thread test compile and run... very silly..
15375
15376
15377 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15378
15379         * docs/manual/appendix-porting.xml:
15380           Mention removal of libgstgconf-0.9.la and existence of gconf
15381           elements.
15382
15383 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15384
15385         * docs/pwg/advanced-clock.xml:
15386         * docs/pwg/appendix-porting.xml:
15387         * docs/pwg/intro-preface.xml:
15388         * docs/pwg/other-base.xml:
15389         * docs/pwg/other-manager.xml:
15390         * docs/pwg/other-nton.xml:
15391         * docs/pwg/other-ntoone.xml:
15392         * docs/pwg/other-oneton.xml:
15393         * docs/pwg/pwg.xml:
15394           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15395           demuxer), remove n-to-n (was never written), fix some code examples
15396           and links and update the porting section to include all this.
15397
15398 2005-07-19  Wim Taymans  <wim@fluendo.com>
15399
15400         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15401         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15402         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15403         (gst_queue_src_activate_push), (gst_queue_change_state),
15404         (gst_queue_get_property):
15405         * gst/gstqueue.h:
15406         Propagate GstFlowReturn more intelligently upstream and output
15407         an ERROR/EOS when streaming stopped due to fatal error.
15408
15409 2005-07-19  Wim Taymans  <wim@fluendo.com>
15410
15411         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15412         Don't block forever for the state change to complete, the
15413         pipeline already did with a sensible timeout.
15414
15415 2005-07-19  Wim Taymans  <wim@fluendo.com>
15416
15417         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15418         Make sure we never call the create function is we
15419         got deactivated.
15420
15421 2005-07-19  Andy Wingo  <wingo@pobox.com>
15422
15423         * gst/parse/parse.l: Attempt to solve bug #172815.
15424
15425 2005-07-19  Wim Taymans  <wim@fluendo.com>
15426
15427         * docs/design/part-clocks.txt:
15428         * docs/design/part-events.txt:
15429         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15430         Small docs updates.
15431         Only update the seeking values when we are not
15432         busy streaming.
15433
15434 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15435
15436         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15437           Oops, ignore the result of gst_pad_push_event here.
15438
15439 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15440
15441         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15442         (gst_base_src_activate_push):
15443           Send discont event from the loop function, as pads
15444           aren't activated yet in the activate_push handler.
15445
15446         * gst/gstbin.c: (bin_bus_handler):
15447           Don't leak element name.
15448
15449 2005-07-18  Andy Wingo  <wingo@pobox.com>
15450
15451         * configure.ac: Use AS_LIBTOOL_TAGS.
15452
15453 2005-07-18  Wim Taymans  <wim@fluendo.com>
15454
15455         * docs/gst/gstreamer.types:
15456         Remove deleted types.
15457
15458 2005-07-18  Wim Taymans  <wim@fluendo.com>
15459
15460         * check/elements/gstfakesrc.c: (GST_START_TEST):
15461         * configure.ac:
15462         * gst/Makefile.am:
15463         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15464         (init_popt_callback):
15465         * gst/gst.h:
15466         * gst/gst_private.h:
15467         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15468         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15469         * gst/gstbin.h:
15470         * gst/gstbus.h:
15471         * gst/gstconfig.h.in:
15472         * gst/gstelement.c: (gst_element_class_init),
15473         (gst_element_set_base_time), (gst_element_get_base_time),
15474         (iterator_fold_with_resync), (gst_element_change_state),
15475         (gst_element_dispose), (gst_element_get_bus):
15476         * gst/gstelement.h:
15477         * gst/gstelementfactory.h:
15478         * gst/gsterror.c: (_gst_core_errors_init):
15479         * gst/gsterror.h:
15480         * gst/gstevent.h:
15481         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15482         * gst/gstindex.c:
15483         * gst/gstinfo.c: (_gst_debug_init):
15484         * gst/gstmessage.c: (_gst_message_copy):
15485         * gst/gstmessage.h:
15486         * gst/gstminiobject.h:
15487         * gst/gstobject.c:
15488         * gst/gstobject.h:
15489         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15490         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15491         * gst/gstpad.h:
15492         * gst/gstparse.h:
15493         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15494         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15495         (gst_pipeline_get_last_stream_time):
15496         * gst/gstpipeline.h:
15497         * gst/gstpluginfeature.h:
15498         * gst/gstquery.h:
15499         * gst/gstscheduler.c:
15500         * gst/gstscheduler.h:
15501         * gst/gststructure.h:
15502         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15503         (gst_task_finalize), (gst_task_func), (gst_task_create),
15504         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15505         (gst_task_stop), (gst_task_pause):
15506         * gst/gsttask.h:
15507         * gst/gsttypefind.h:
15508         * gst/gsttypes.h:
15509         * gst/registries/gstlibxmlregistry.c: (load_feature),
15510         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15511         * gst/registries/gstxmlregistry.c:
15512         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15513         * gst/schedulers/threadscheduler.c:
15514         * libs/gst/control/dparammanager.h:
15515         * tools/gst-inspect.c: (print_element_list),
15516         (print_plugin_features), (print_element_features):
15517         * tools/gst-xmlinspect.c: (print_element_list),
15518         (print_plugin_info), (main):
15519         Removed plugable schedulers.
15520         Removed Scheduler/Manager from elements.
15521         Removed gsttypes.h, rearranged includes.
15522         Removed dependency pad<->element, element<>pipeline, and
15523         various others,  fix includes.
15524         implement gst_pad_get_parent() with gst_object_get_parent()
15525         Make GstTask sefcontained.
15526         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15527         timeout.
15528         Fix endless loop in iterator_fold_with_resync.
15529
15530
15531 2005-07-18  Wim Taymans  <wim@fluendo.com>
15532
15533         * gst/Makefile.am:
15534         * gst/gstarch.h:
15535         Remove old file.
15536
15537 2005-07-18  Wim Taymans  <wim@fluendo.com>
15538
15539         * gst/Makefile.am:
15540         No more cothreads.h
15541
15542 2005-07-18  Wim Taymans  <wim@fluendo.com>
15543
15544         * gst/cothreads.c:
15545         * gst/cothreads.h:
15546         Let's remove these.
15547
15548 2005-07-18  Wim Taymans  <wim@fluendo.com>
15549
15550         * docs/design/part-dynamic.txt:
15551         * docs/design/part-events.txt:
15552         * docs/design/part-seeking.txt:
15553         Some more docs in the works.
15554
15555         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15556         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15557         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15558         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15559         (gst_base_transform_handle_buffer),
15560         (gst_base_transform_sink_activate_push),
15561         (gst_base_transform_src_activate_pull),
15562         (gst_base_transform_set_passthrough),
15563         (gst_base_transform_is_passthrough):
15564         Refcounting fixes.
15565
15566         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15567         Cleanups.
15568
15569         * gst/gstevent.c: (gst_event_finalize):
15570         Set SRC to NULL.
15571
15572         * gst/gstutils.c: (gst_element_unlink),
15573         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15574         (gst_pad_proxy_setcaps):
15575         * gst/gstutils.h:
15576         Add _get_parent_element() to get a pads parent as an element.
15577
15578 2005-07-18  Wim Taymans  <wim@fluendo.com>
15579
15580         * check/gst/gstbin.c: (GST_START_TEST):
15581         Remove bogus test.
15582
15583 2005-07-18  Wim Taymans  <wim@fluendo.com>
15584
15585         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15586         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15587         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15588         (gst_base_sink_event), (gst_base_sink_do_sync),
15589         (gst_base_sink_chain), (gst_base_sink_loop),
15590         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15591         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15592         Refcounting fixes.
15593         Fix logic for returning ASYNC when not prerolled.
15594
15595 2005-07-18  Wim Taymans  <wim@fluendo.com>
15596
15597         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15598         Fix nasty refcount bug.
15599
15600 2005-07-16 Philippe Khalaf <burger@speedy.org>
15601
15602         * gst/elements/gstfdsrc.c:
15603         * gst/elements/gstfdsrc.h:
15604         * gst/elements/gstelements.c:
15605         * gst/elements/Makefile.am:
15606         Ported fdsrc to 0.9.
15607
15608 2005-07-16  Wim Taymans  <wim@fluendo.com>
15609
15610         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15611         (gst_base_sink_do_sync):
15612         Fix compile error.
15613
15614 2005-07-16  Wim Taymans  <wim@fluendo.com>
15615
15616         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15617         (gst_base_sink_event), (gst_base_sink_get_times),
15618         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15619         * gst/base/gstbasesink.h:
15620         Store and use discont values when syncing buffers as described
15621         in design docs.
15622         
15623         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15624         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15625         (gst_base_src_activate_push):
15626         Push discont event when starting.
15627
15628         * gst/elements/gstidentity.c: (gst_identity_transform):
15629         Small cleanups.
15630
15631         * gst/gstbin.c: (gst_bin_change_state):
15632         Small cleanups in base_time  distribution.
15633
15634         * gst/gstelement.c: (gst_element_set_base_time),
15635         (gst_element_get_base_time), (gst_element_change_state):
15636         * gst/gstelement.h:
15637         Added methods for the base_time of the element.
15638         Some MT fixes.
15639
15640         * gst/gstpipeline.c: (gst_pipeline_send_event),
15641         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15642         (gst_pipeline_get_last_stream_time):
15643         * gst/gstpipeline.h:
15644         MT fixes.
15645         Handle seeking as described in design doc, remove stream_time
15646         hack.
15647         Cleanups clock and stream_time selection code. Added accessors
15648         for the stream_time.
15649         
15650
15651 2005-07-16  Andy Wingo  <wingo@pobox.com>
15652
15653         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15654         (#305291).
15655
15656 2005-07-16  Wim Taymans  <wim@fluendo.com>
15657
15658         * check/gst/gstbin.c: (GST_START_TEST):
15659         Make elements silent as the deep_notify refs the
15660         parent, which might make the test fail.
15661
15662         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15663         Don't hold the lock for too long.
15664
15665 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15666
15667         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15668           Don't unref the caps we passed to gst_caps_make_writable() after
15669           passing them. gst_caps_make_writable() will do that for us.
15670
15671 2005-07-15  Andy Wingo  <wingo@pobox.com>
15672
15673         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15674         (#157311).
15675
15676         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15677         own marshalling function for the handoff signal. Properly type the
15678         buffer as a buffer. Fixes some warnings. Should do a more general
15679         solution.
15680         (gst_identity_class_init): Plug into the right marshaller.
15681
15682 2005-07-15  Wim Taymans  <wim@fluendo.com>
15683
15684         * docs/design/part-TODO.txt:
15685         * docs/design/part-clocks.txt:
15686         * docs/design/part-element-sink.txt:
15687         * docs/design/part-events.txt:
15688         * docs/design/part-gstpipeline.txt:
15689         Updated docs, mostly DISCONT related.
15690
15691 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15692
15693         * docs/pwg/building-pads.xml:
15694           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15695
15696 2005-07-15  Andy Wingo  <wingo@pobox.com>
15697
15698         * tools/gst-typefind.c: Update, add copyright block.
15699
15700         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15701         Normalize and truncate caps before fixation.
15702
15703         * gst/gstcaps.h:
15704         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15705         discards all but the first structure from its argument.
15706
15707 2005-07-15  Wim Taymans  <wim@fluendo.com>
15708
15709         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15710         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15711         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15712         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15713         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15714         (gst_base_transform_chain), (gst_base_transform_change_state),
15715         (gst_base_transform_set_passthrough),
15716         (gst_base_transform_is_passthrough):
15717         * gst/base/gstbasetransform.h:
15718         Make passthrough work using the bufferpools.
15719         Changed API a bit, subclasses have to write into a buffer
15720         provided by the base class.
15721         More debug info in nego functions.
15722         
15723         * gst/elements/gstidentity.c: (gst_identity_init),
15724         (gst_identity_transform):
15725         Port to new base class.
15726
15727 2005-07-15  Wim Taymans  <wim@fluendo.com>
15728
15729         * gst/gstmessage.c: (gst_message_new_state_changed):
15730         * tools/gst-launch.c: (event_loop), (main):
15731         Totally dump messages in -launch with the -m option.
15732         Fix message name for State messages,
15733
15734 2005-07-14  Wim Taymans  <wim@fluendo.com>
15735
15736         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15737         Post error messages on errors.
15738
15739 2005-07-14  Wim Taymans  <wim@fluendo.com>
15740
15741         * gst/gstcaps.c: (gst_caps_do_simplify):
15742         Remove debug info.
15743
15744         * gst/gsterror.h:
15745         Define error for stream stopped.
15746
15747         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15748         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15749         Do proper return values.
15750
15751         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15752         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15753         (gst_pad_get_range):
15754         Better return values.
15755
15756         * gst/gstpad.h:
15757         Reorganise return values, add macro to check for fatal errors.
15758
15759         * gst/gstqueue.c: (gst_queue_chain):
15760         Return proper GstFlowReturn values,
15761
15762 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15763
15764         * docs/gst/gstreamer-sections.txt:
15765         * docs/gst/gstreamer.types:
15766         * docs/gst/tmpl/gst.sgml:
15767         * docs/gst/tmpl/gstbasesink.sgml:
15768         * docs/gst/tmpl/gstbasesrc.sgml:
15769         * docs/gst/tmpl/gstbasetransform.sgml:
15770         * docs/gst/tmpl/gstbin.sgml:
15771         * docs/gst/tmpl/gstbuffer.sgml:
15772         * docs/gst/tmpl/gstcaps.sgml:
15773         * docs/gst/tmpl/gstclock.sgml:
15774         * docs/gst/tmpl/gstcompat.sgml:
15775         * docs/gst/tmpl/gstconfig.sgml:
15776         * docs/gst/tmpl/gstelement.sgml:
15777         * docs/gst/tmpl/gstelementdetails.sgml:
15778         * docs/gst/tmpl/gstelementfactory.sgml:
15779         * docs/gst/tmpl/gstenumtypes.sgml:
15780         * docs/gst/tmpl/gsterror.sgml:
15781         * docs/gst/tmpl/gstevent.sgml:
15782         * docs/gst/tmpl/gstfakesink.sgml:
15783         * docs/gst/tmpl/gstfakesrc.sgml:
15784         * docs/gst/tmpl/gstfilesink.sgml:
15785         * docs/gst/tmpl/gstfilesrc.sgml:
15786         * docs/gst/tmpl/gstfilter.sgml:
15787         * docs/gst/tmpl/gstformat.sgml:
15788         * docs/gst/tmpl/gstghostpad.sgml:
15789         * docs/gst/tmpl/gstimplementsinterface.sgml:
15790         * docs/gst/tmpl/gstindex.sgml:
15791         * docs/gst/tmpl/gstindexfactory.sgml:
15792         * docs/gst/tmpl/gstinfo.sgml:
15793         * docs/gst/tmpl/gstiterator.sgml:
15794         * docs/gst/tmpl/gstmacros.sgml:
15795         * docs/gst/tmpl/gstmemchunk.sgml:
15796         * docs/gst/tmpl/gstminiobject.sgml:
15797         * docs/gst/tmpl/gstobject.sgml:
15798         * docs/gst/tmpl/gstpad.sgml:
15799         * docs/gst/tmpl/gstpadtemplate.sgml:
15800         * docs/gst/tmpl/gstparse.sgml:
15801         * docs/gst/tmpl/gstpipeline.sgml:
15802         * docs/gst/tmpl/gstplugin.sgml:
15803         * docs/gst/tmpl/gstpluginfeature.sgml:
15804         * docs/gst/tmpl/gstquery.sgml:
15805         * docs/gst/tmpl/gstqueue.sgml:
15806         * docs/gst/tmpl/gstregistry.sgml:
15807         * docs/gst/tmpl/gstregistrypool.sgml:
15808         * docs/gst/tmpl/gstscheduler.sgml:
15809         * docs/gst/tmpl/gstschedulerfactory.sgml:
15810         * docs/gst/tmpl/gststructure.sgml:
15811         * docs/gst/tmpl/gstsystemclock.sgml:
15812         * docs/gst/tmpl/gsttaglist.sgml:
15813         * docs/gst/tmpl/gsttagsetter.sgml:
15814         * docs/gst/tmpl/gsttrace.sgml:
15815         * docs/gst/tmpl/gsttrashstack.sgml:
15816         * docs/gst/tmpl/gsttypefind.sgml:
15817         * docs/gst/tmpl/gsttypefindfactory.sgml:
15818         * docs/gst/tmpl/gsttypes.sgml:
15819         * docs/gst/tmpl/gsturihandler.sgml:
15820         * docs/gst/tmpl/gsturitype.sgml:
15821         * docs/gst/tmpl/gstutils.sgml:
15822         * docs/gst/tmpl/gstvalue.sgml:
15823         * docs/gst/tmpl/gstversion.sgml:
15824         * docs/gst/tmpl/gstxml.sgml:
15825         * docs/libs/tmpl/gstcontrol.sgml:
15826         * docs/libs/tmpl/gstdataprotocol.sgml:
15827         * docs/libs/tmpl/gstdparam.sgml:
15828         * docs/libs/tmpl/gstdplinint.sgml:
15829         * docs/libs/tmpl/gstdpman.sgml:
15830         * docs/libs/tmpl/gstdpsmooth.sgml:
15831         * docs/libs/tmpl/gstgetbits.sgml:
15832         * docs/libs/tmpl/gstunitconvert.sgml:
15833         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15834         (gst_push_src_base_init), (gst_push_src_class_init),
15835         (gst_push_src_init), (gst_push_src_create):
15836         * gst/base/gstpushsrc.h:
15837         * gst/elements/gstelements.c:
15838         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15839         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15840         (gst_fake_sink_init), (gst_fake_sink_set_property),
15841         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15842         (gst_fake_sink_event), (gst_fake_sink_preroll),
15843         (gst_fake_sink_render), (gst_fake_sink_change_state):
15844         * gst/elements/gstfakesink.h:
15845         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15846         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15847         (gst_fake_src_base_init), (gst_fake_src_class_init),
15848         (gst_fake_src_init), (gst_fake_src_event_handler),
15849         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15850         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15851         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15852         (gst_fake_src_create_buffer), (gst_fake_src_create),
15853         (gst_fake_src_start), (gst_fake_src_stop):
15854         * gst/elements/gstfakesrc.h:
15855         * gst/elements/gstfilesink.c: (_do_init),
15856         (gst_file_sink_base_init), (gst_file_sink_class_init),
15857         (gst_file_sink_init), (gst_file_sink_dispose),
15858         (gst_file_sink_set_location), (gst_file_sink_set_property),
15859         (gst_file_sink_get_property), (gst_file_sink_open_file),
15860         (gst_file_sink_close_file), (gst_file_sink_query),
15861         (gst_file_sink_event), (gst_file_sink_render),
15862         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15863         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15864         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15865         * gst/elements/gstfilesink.h:
15866         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15867         (gst_file_src_class_init), (gst_file_src_init),
15868         (gst_file_src_finalize), (gst_file_src_set_location),
15869         (gst_file_src_set_property), (gst_file_src_get_property),
15870         (gst_file_src_map_region), (gst_file_src_map_small_region),
15871         (gst_file_src_create_mmap), (gst_file_src_create_read),
15872         (gst_file_src_create), (gst_file_src_is_seekable),
15873         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15874         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15875         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15876         (gst_file_src_uri_handler_init):
15877         * gst/elements/gstfilesrc.h:
15878           more autistic cleanliness in functions/names/defines
15879
15880 2005-07-13  Andy Wingo  <wingo@pobox.com>
15881
15882         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15883         source couldn't negotiate.
15884
15885         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15886         connections again.
15887
15888         * gst/gstutils.h:
15889         * gst/gstutils.c (gst_element_link_pads_filtered): New old
15890         function. I am channeling Hades. Put your boots on suckers!!!
15891
15892 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15893
15894         * testsuite/caps/Makefile.am:
15895         * testsuite/caps/value_compare.c:
15896         * testsuite/caps/value_intersect.c:
15897         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15898           move two testsuite apps over to the check dir
15899
15900 2005-07-12  Wim Taymans  <wim@fluendo.com>
15901
15902         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15903         Added more debug info in the negotiate process.
15904
15905         * gst/gstmessage.h:
15906         Prepare for segment playback.
15907
15908         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15909         Better debugging.
15910
15911         * gst/gstutils.c:
15912         Some more docs.
15913
15914         * tools/gst-launch.c: (main):
15915         NULL pipeline on errors.
15916
15917 2005-07-12  Andy Wingo  <wingo@pobox.com>
15918
15919         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15920         not it comes from a malloc region. Make sure our copy gets freed.
15921
15922 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15923
15924         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15925         * check/gst/gstmessage.c: (GST_START_TEST):
15926         * check/gst/gststructure.c: (GST_START_TEST),
15927         (gst_structure_suite), (main):
15928           more testing
15929         * gst/gstelement.c: (gst_element_message_full):
15930           clean up GError and debug string now that they get copied
15931         * gst/gstmessage.c: (gst_message_new_error),
15932         (gst_message_new_warning), (gst_message_parse_error),
15933         (gst_message_parse_warning):
15934           use GST_TYPE_G_ERROR for structure_new, and take copies of
15935           arguments, so that we don't mess up refcounting
15936
15937 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15938
15939         * check/Makefile.am:
15940           add per-test valgrind targets
15941         * check/gst-libs/gdp.c: (GST_START_TEST),
15942         (gst_data_protocol_suite), (main):
15943           clean up
15944
15945 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15946
15947         * check/Makefile.am:
15948           instate more valgrindable tests
15949         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15950         (GST_START_TEST), (fakesrc_suite):
15951         * check/gst/gstpad.c: (GST_START_TEST):
15952         * check/gst/gststructure.c: (GST_START_TEST):
15953           fix test leaks
15954         * docs/gst/tmpl/gstminiobject.sgml:
15955         * gst/gstpad.c: (gst_pad_finalize):
15956           fix the static mutex leak
15957
15958 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15959
15960         * check/Makefile.am:
15961           add two more tests for valgrinding
15962         * check/gst/gstvalue.c: (GST_START_TEST):
15963           test refcount of deserialized buffer, found a leak
15964         * docs/gst/gstreamer-docs.sgml:
15965         * docs/gst/gstreamer-sections.txt:
15966         * docs/gst/gstreamer.types:
15967         * docs/gst/tmpl/gstminiobject.sgml:
15968           add miniobject to docs
15969         * gst/gstminiobject.c:
15970           add some docs
15971         * gst/gstvalue.c: (gst_value_deserialize_buffer),
15972         (gst_string_unwrap):
15973           fix a hard-to-find invalid write for one of the tests
15974           fix a leak for deserialized buffers
15975
15976 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15977
15978         * docs/pwg/advanced-events.xml:
15979         * docs/pwg/advanced-request.xml:
15980         * docs/pwg/advanced-scheduling.xml:
15981         * docs/pwg/appendix-porting.xml:
15982         * docs/pwg/building-boiler.xml:
15983         * docs/pwg/intro-preface.xml:
15984         * docs/pwg/other-ntoone.xml:
15985           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15986           of example code and explanation for pad activation, loop() and
15987           getrange() functions and a bit more. Remove old comments pointing
15988           to loop-functions.
15989         * examples/pwg/Makefile.am:
15990           Add loop/getrange examples.
15991
15992 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15993
15994         * configure.ac:
15995           check for valgrind binary + some fixes
15996         * check/gst.supp:
15997           valgrind suppressions for the tests
15998         * check/Makefile.am:
15999           add a valgrind: target that valgrinds the unit tests
16000         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16001         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16002         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16003         * check/gst/gstghostpad.c:
16004           added some cleanup
16005         * check/gst/gstdata.c:
16006           removed
16007         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16008         (thread_unref), (gst_mini_object_suite), (main):
16009           added
16010         * gst/gst.c: (gst_deinit):
16011         * gst/gst.h:
16012           add a method to clean up.
16013         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16014         (gst_system_clock_obtain):
16015           allow for disposing the system clock.
16016         * tools/gst-launch.c: (main):
16017           deinit
16018
16019 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16020
16021         * docs/gst/tmpl/gstbasesrc.sgml:
16022         * docs/gst/tmpl/gstfakesrc.sgml:
16023         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16024         (gst_base_src_init), (gst_base_src_set_property),
16025         (gst_base_src_get_property), (gst_base_src_get_range),
16026         (gst_base_src_start):
16027         * gst/base/gstbasesrc.h:
16028           add num-buffers property
16029         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16030         (gst_fakesrc_init), (gst_fakesrc_set_property),
16031         (gst_fakesrc_get_property), (gst_fakesrc_create),
16032         (gst_fakesrc_start):
16033           remove num-buffers property
16034
16035 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16036
16037         * docs/gst/gstreamer-sections.txt:
16038         * docs/gst/tmpl/gstbasesink.sgml:
16039         * docs/gst/tmpl/gstbasesrc.sgml:
16040         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16041         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16042         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16043         (gst_base_sink_set_property), (gst_base_sink_get_property),
16044         (gst_base_sink_handle_object), (gst_base_sink_event),
16045         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16046         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16047         (gst_base_sink_loop), (gst_base_sink_deactivate),
16048         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16049         (gst_base_sink_change_state):
16050         * gst/base/gstbasesink.h:
16051         * gst/base/gstbasesrc.h:
16052         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16053         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16054         (gst_filesink_init):
16055           more macro splitting
16056
16057 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16058
16059         * gst/gstelement.c: (gst_element_get_bus):
16060           add debug
16061         * tools/gst-launch.c: (check_intr), (event_loop):
16062           fix bus leaks
16063
16064 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16065
16066         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16067           fix a caps leak
16068
16069 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16070
16071         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16072         (gst_base_src_finalize):
16073           add finalize method and clean up properly
16074         * gst/gstpipeline.c: (gst_pipeline_dispose):
16075           add debug
16076
16077 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16078
16079         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16080         (gst_bin_suite):
16081           add more things to check
16082         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16083         * gst/gstelement.c:
16084           more debug
16085
16086 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16087
16088         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16089         (GST_START_TEST), (fakesrc_suite):
16090         * check/gst-libs/gdp.c: (GST_START_TEST):
16091         * check/gst/gst.c: (GST_START_TEST):
16092         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16093         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16094         * check/gst/gstbus.c: (GST_START_TEST):
16095         * check/gst/gstcaps.c: (GST_START_TEST):
16096         * check/gst/gstdata.c: (GST_START_TEST):
16097         * check/gst/gstelement.c: (GST_START_TEST):
16098         * check/gst/gstghostpad.c: (GST_START_TEST):
16099         * check/gst/gstiterator.c: (GST_START_TEST):
16100         * check/gst/gstmessage.c: (GST_START_TEST):
16101         * check/gst/gstobject.c: (GST_START_TEST):
16102         * check/gst/gstpad.c: (GST_START_TEST):
16103         * check/gst/gststructure.c: (GST_START_TEST):
16104         * check/gst/gstsystemclock.c: (GST_START_TEST),
16105         (gst_systemclock_suite):
16106         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16107         * check/gst/gstvalue.c: (GST_START_TEST):
16108         * check/pipelines/cleanup.c: (GST_START_TEST):
16109         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16110         * check/states/sinks.c: (GST_START_TEST):
16111         * check/gstcheck.c: (gst_check_init):
16112         * check/gstcheck.h:
16113           add debugging category
16114           use GST_START_TEST now, so we add a debug line
16115
16116 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16117
16118         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16119           add test for state change message on a bin
16120         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16121           add another test
16122         * gst/gstbin.c: (gst_bin_init):
16123         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16124         * gst/gstelement.c: (gst_element_post_message),
16125         (gst_element_set_state):
16126         * gst/gstelementfactory.c: (gst_element_factory_create):
16127         * gst/gstmessage.c: (gst_message_new):
16128         * gst/gstscheduler.c:
16129           various debugging additions and cleanups
16130
16131 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16132
16133         * check/Makefile.am:
16134         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16135         (main):
16136           adding tests for elements
16137         * gst/gstelement.c: (gst_element_dispose):
16138
16139 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16140
16141         * gst/registries/gstlibxmlregistry.c: (load_feature):
16142           plug more leaks.  A simple gst_init() now is leakfree, yay.
16143
16144 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16145
16146         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16147         (gst_xml_registry_load):
16148           plug another memleak
16149
16150 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16151
16152         * configure.ac:
16153           use GST_SET_ERROR_CFLAGS
16154         * docs/faq/cvs.xml:
16155           change to ERROR_CFLAGS
16156
16157 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16158
16159         * configure.ac:
16160           make GST_ERROR_CFLAGS overridable and re-enable Werror
16161         * docs/faq/cvs.xml:
16162           add a note about error CFLAGS
16163         * docs/gst/tmpl/gstfakesrc.sgml:
16164         * gst/elements/gstfakesrc.c:
16165           comment out some unused code
16166         * gst/gst.c: (split_and_iterate):
16167         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16168         (load_feature):
16169           plug some memleaks
16170
16171 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16172
16173         * common/Makefile.am:
16174         * common/gtk-doc.mak:
16175         * docs/gst/Makefile.am:
16176           factor out gtk-doc.mak
16177
16178 2005-07-07  Wim Taymans  <wim@fluendo.com>
16179
16180         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16181         (gst_thread_scheduler_dispose):
16182         Unlock the STREAM_LOCK completely.
16183
16184 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16185
16186         * check/Makefile.am:
16187         * check/elements/.cvsignore:
16188         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16189         (START_TEST), (fakesrc_suite), (main):
16190         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16191         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16192         (gst_fakesrc_create), (gst_fakesrc_start):
16193         * gst/elements/gstfakesrc.h:
16194           adding a first element test
16195
16196 2005-07-07  Andy Wingo  <wingo@pobox.com>
16197
16198         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16199         debug message.
16200
16201 2005-07-07  Wim Taymans  <wim@fluendo.com>
16202
16203         * gst/gstquery.c:
16204         * gst/gstquery.h:
16205         Remove old types
16206
16207 2005-07-07  Wim Taymans  <wim@fluendo.com>
16208
16209         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16210         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16211         Allow subclasses to implement their own negotiation.
16212
16213 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16214
16215         * docs/design/part-gstbin.txt:
16216         * docs/design/part-gstpipeline.txt:
16217           Update design notes to reflect the movement of
16218           responsibility for bus handling from GstPipeline to
16219           GstBin
16220
16221 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16222
16223         * configure.ac:
16224           Remove unnecessary queue2/3/4 examples.
16225
16226 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16227
16228         * examples/Makefile.am:
16229         * examples/helloworld/helloworld.c: (event_loop), (main):
16230         * examples/queue/queue.c: (event_loop), (main):
16231         * examples/queue2/queue2.c: (main):
16232           Update a couple of the examples to work again.
16233
16234         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16235         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16236          Spelling corrections and extra debug.
16237         
16238         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16239         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16240         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16241         * gst/gstbin.h:
16242         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16243         (gst_pipeline_change_state):
16244         * gst/gstpipeline.h:
16245           Move the bus handler for children to the GstBin, and create a
16246           separate bus for receiving messages from children to the one the
16247           bus sends 'upwards' on.
16248
16249 2005-07-06  Wim Taymans  <wim@fluendo.com>
16250
16251         * gst/base/README:
16252         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16253         (gst_base_sink_handle_object), (gst_base_sink_loop),
16254         (gst_base_sink_change_state):
16255         * gst/base/gstbasesink.h:
16256         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16257         (gst_base_src_init), (gst_base_src_setcaps),
16258         (gst_base_src_getcaps), (gst_base_src_loop),
16259         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16260         (gst_base_src_start), (gst_base_src_change_state):
16261         * gst/base/gstbasesrc.h:
16262         Make basesrc negotiate.
16263         Handle the case where preroll fails in basesink.
16264         Update README.
16265
16266 2005-07-06  Wim Taymans  <wim@fluendo.com>
16267
16268         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16269         Implement the fixate function.
16270         Clean up acceptcaps.
16271
16272 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16273
16274         * docs/pwg/building-filterfactory.xml:
16275         * docs/pwg/pwg.xml:
16276           Remove never-written filter-factory chapter; I'll add the various
16277           base classes to part 4 ("other element types") later on.
16278
16279 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16280
16281         * docs/pwg/advanced-negotiation.xml:
16282         * docs/pwg/building-boiler.xml:
16283         * docs/pwg/building-pads.xml:
16284         * docs/pwg/pwg.xml:
16285         * examples/pwg/Makefile.am:
16286           Add a chapter on caps negotiation, simplify the original code
16287           samples a bit w.r.t. caps negotiation, add link to the advanced
16288           section. Add a bunch of examples showing different use cases of
16289           different types of caps negotiation. Upstream renegotiation isn't
16290           fully documented yet since nobody knows how that works.
16291
16292 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16293
16294         * check/gst/gstpad.c:
16295         * check/gstcheck.c:
16296         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16297           if pad has no parent, return NULL as list of internal links
16298
16299 2005-07-05  Andy Wingo  <wingo@pobox.com>
16300
16301         * gst/elements/gstfilesrc.c:
16302         * gst/elements/gstfakesrc.c: 
16303         * gst/base/gstpushsrc.c:
16304         * gst/base/gstbasesrc.h: 
16305         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16306         
16307 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16308
16309         * Makefile.am:
16310           better report generation target (lcov needs a patch)
16311
16312 2005-07-05  Andy Wingo  <wingo@pobox.com>
16313
16314         * gst/elements, testsuite: Null if we got it...
16315
16316 2005-07-05  Wim Taymans  <wim@fluendo.com>
16317
16318         * configure.ac:
16319         * libs/gst/dataprotocol/Makefile.am:
16320         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16321         * libs/gst/dataprotocol/dataprotocol.h:
16322         * pkgconfig/Makefile.am:
16323         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16324         * pkgconfig/gstreamer-dataprotocol.pc.in:
16325         Ported dataprotol to 0.9. 
16326         Added pkgconfig files.
16327
16328 2005-07-05  Andy Wingo  <wingo@pobox.com>
16329
16330         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16331         Default to returning TRUE for the case when tranform_caps returns
16332         a fixed caps, like for identity or volume.
16333
16334         * check/gst/gstbus.c (pound_bus_with_messages): 
16335         * check/gst/gstmessage.c (START_TEST): 
16336         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16337         message API change.
16338
16339         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16340         logic weaks here: always run transform_caps, trying passthrough
16341         operation only if the original caps intersects with the transform.
16342
16343         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16344         source and sink caps.
16345
16346         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16347         Intersect the peer caps with the pad template before going into
16348         transform_caps.
16349         (gst_base_transform_transform_caps): More debugging.
16350
16351         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16352         src argument.
16353
16354 2005-07-04  Edward Hervey  <edward@fluendo.com>
16355
16356         * gst/gstutils.c:
16357         * gst/gstutils.h:
16358         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16359         in bindings.
16360
16361 2005-07-04  Andy Wingo  <wingo@pobox.com>
16362
16363         * check/gst/gstpad.c: Only set explicit caps on pads.
16364
16365 2005-07-01  Andy Wingo  <wingo@pobox.com>
16366
16367         * tests/network-clock.scm: Commentary update.
16368
16369         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16370         Didn't really make sense, not implementable with basetransform,
16371         etc.
16372         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16373         attempt at implementing the sync property, needs an unlock method.
16374
16375         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16376         New func, by default returns the same caps (the identity
16377         transformation).
16378         (gst_base_transform_getcaps): Uses transform_caps to return
16379         something sensible.
16380         (gst_base_transform_setcaps): Complicated logic to get caps on
16381         both pads, even if they are different, and to call set_caps once
16382         for every time both pads get their caps set.
16383         (gst_base_transform_handle_buffer): Give the ref to the transform
16384         function. Allows in-place modification of the buffer.
16385
16386         * gst/base/gstbasetransform.h (transform_caps): New class method.
16387         Given caps on one side, what can I do on the other.
16388         (set_caps): Take two caps, one for each side of the element.
16389
16390         * gst/gstpad.h:
16391         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16392         caps in place. This is safe because we can check the mutability of
16393         the caps, and a good idea because fixate functions are just called
16394         as a matter of last resort. (Not actually implemented.)
16395         (gst_pad_set_caps): If the caps we're setting is actually the same
16396         as the existing pad caps, just update the pointer without calling
16397         setcaps. Assert that caps is either NULL or fixed, as per the
16398         docs.
16399
16400         * gst/gstghostpad.c: Update for fixate changes.
16401
16402 2005-07-02  Andy Wingo  <wingo@pobox.com>
16403
16404         * gst/gstcaps.c:
16405         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16406         two refcounts makes it immutable, which is enough. Doc more.
16407
16408 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16409
16410         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16411           Put the mini_object into GValue as a mini_object,
16412           not a gpointer, since that's how we declared
16413           the signal.
16414
16415 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16416
16417         * examples/pwg/Makefile.am:
16418           Fix buildbot again.
16419
16420 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16421
16422         * docs/pwg/building-testapp.xml:
16423           Add extra check.
16424         * examples/pwg/Makefile.am:
16425           Fix buildbot.
16426
16427 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16428
16429         * configure.ac:
16430         * examples/Makefile.am:
16431         * examples/pwg/Makefile.am:
16432         * examples/pwg/extract.pl:
16433           Enable building the PWG examples.
16434         * docs/pwg/advanced-interfaces.xml:
16435           Add URI interface stub.
16436         * docs/pwg/advanced-types.xml:
16437         * docs/pwg/other-autoplugger.xml:
16438         * docs/pwg/appendix-porting.xml:
16439         * docs/pwg/pwg.xml:
16440           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16441         * docs/pwg/building-boiler.xml:
16442         * docs/pwg/building-chainfn.xml:
16443         * docs/pwg/building-pads.xml:
16444         * docs/pwg/building-props.xml:
16445         * docs/pwg/building-state.xml:
16446         * docs/pwg/building-testapp.xml:
16447           Update the building-*.xml parts for 0.9 changes. All examples
16448           code blocks compile in examples/pwg/*.
16449
16450 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16451
16452         * docs/manual/advanced-autoplugging.xml:
16453         * docs/manual/appendix-checklist.xml:
16454         * docs/manual/appendix-integration.xml:
16455         * docs/manual/highlevel-components.xml:
16456           Fix playbin/decodebin examples, update docs a bit, mention bus
16457           instead of signals in various places, mention kmplayer and
16458           kaffeine since they have a working GStreamer backend in the KDE
16459           section.
16460
16461 2005-06-30  Wim Taymans  <wim@fluendo.com>
16462
16463         * CHANGES-0.9:
16464         * docs/design/draft-ghostpads.txt:
16465         * docs/design/draft-push-pull.txt:
16466         * docs/design/draft-query.txt:
16467         * docs/design/part-TODO.txt:
16468         * docs/design/part-query.txt:
16469         Added CHANGES-0.9 doc, updated status of other docs.
16470         
16471         * gst/gstquery.h:
16472         Remove "hmm" macro
16473
16474 2005-06-30  Wim Taymans  <wim@fluendo.com>
16475
16476         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16477         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16478         (gst_base_sink_change_state):
16479         * gst/base/gstbasesink.h:
16480         Some tweaks, only EOS and a buffer complete a preroll.
16481
16482 2005-06-30  Andy Wingo  <wingo@pobox.com>
16483
16484         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16485         activate_push down to the internal pad as well.
16486
16487 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16488
16489         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16490
16491         * gst/gsttaginterface.c:
16492           Some documentation fixes (#307394 and #307397).
16493
16494 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16495
16496         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16497
16498         * gst/gstvalue.c: (gst_value_intersect_list):
16499           Fix memleak (#309125).
16500
16501 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16502
16503         * docs/manual/advanced-dataaccess.xml:
16504           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16505         * docs/manual/basics-pads.xml:
16506           Add reference for filtered caps to above chapter.
16507
16508 2005-06-30  Wim Taymans  <wim@fluendo.com>
16509
16510         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16511         (gst_bin_change_state):
16512         Probes are gone.
16513         Lame attempt at making the state change function a bit
16514         more readable.
16515
16516 2005-06-30  Wim Taymans  <wim@fluendo.com>
16517
16518         * docs/design/part-clocks.txt:
16519         * docs/design/part-element-sink.txt:
16520         * docs/design/part-events.txt:
16521         * docs/design/part-preroll.txt:
16522         * docs/design/part-states.txt:
16523         Some more tweeks and additions to the docs.
16524
16525 2005-06-30  Wim Taymans  <wim@fluendo.com>
16526
16527         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16528         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16529         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16530         (gst_pad_check_pull_range), (gst_pad_get_range),
16531         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16532         * gst/gstpad.h:
16533         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16534         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16535         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16536         (gst_pad_remove_buffer_probe):
16537         Removed atomic operations, use existing LOCK.
16538         Move exception handling out of main code path.
16539
16540 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16541
16542         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16543         (silly_return_true_function), (gst_pad_class_init),
16544         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16545         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16546         (gst_pad_send_event):
16547           Fix accumulator, add default value by using _emitv() instead
16548           of _emit() for signal emission.
16549
16550 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16551
16552         * docs/manual/advanced-dataaccess.xml:
16553         * examples/manual/Makefile.am:
16554           Add probe example.
16555         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16556           Make work (??).
16557
16558 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16559
16560         * gst/elements/gstfilesink.c: (gst_filesink_render):
16561           Simplify code so that we don't have to handle short
16562           writes and return GST_FLOW_ERROR if an error occured.
16563
16564 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16565
16566         * docs/gst/gstreamer-docs.sgml:
16567           Remove probes more.
16568
16569 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16570
16571         * docs/gst/gstreamer-sections.txt:
16572         * docs/gst/tmpl/gstpad.sgml:
16573         * docs/gst/tmpl/gstprobe.sgml:
16574         * gst/Makefile.am:
16575         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16576         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16577         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16578         (gst_pad_push_event), (gst_pad_send_event):
16579         * gst/gstpad.h:
16580         * gst/gstutils.c: (gst_pad_add_data_probe),
16581         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16582         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16583         (gst_pad_remove_buffer_probe):
16584         * gst/gstutils.h:
16585           Remove old probes, add new g-signal-based probes and some utility
16586           functions.
16587
16588 2005-06-29  Edward Hervey  <edward@fluendo.com>
16589
16590         * gst/gstelementfactory.c:
16591         * gst/gstutils.h:
16592         * gst/gstutils.c:
16593         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16594         the definition to the header file.
16595
16596 2005-06-29  Andy Wingo  <wingo@pobox.com>
16597
16598         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16599         plugins from the source directory.
16600
16601 2005-06-29  Wim Taymans  <wim@fluendo.com>
16602
16603         * docs/gst/tmpl/gstbuffer.sgml:
16604         * docs/gst/tmpl/gstclock.sgml:
16605         Some fixings for blantently wrong text.
16606
16607 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16608
16609         * check/Makefile.am:
16610         * gst/gst.c: (add_path_func), (init_pre):
16611         * gst/gstregistry.c: (gst_registry_add_path):
16612           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16613           only scan the GST_PLUGIN_PATH locations, and not add
16614           system locations
16615
16616 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16617
16618         * docs/gst/gstreamer-sections.txt:
16619         * docs/gst/tmpl/gstbasesrc.sgml:
16620         * gst/gstelement.c:
16621         * gst/gstelement.h:
16622         * gst/gstevent.c:
16623         * gst/gstutils.c:
16624           doc fixes
16625
16626 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16627
16628         * docs/manual/advanced-autoplugging.xml:
16629           Fix autoplugging example.
16630
16631 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16632
16633         * docs/manual/advanced-autoplugging.xml:
16634         * docs/manual/mime-world.fig:
16635           Try to get autoplugging working, fix type detection. Fix text
16636           in hello-world image.
16637
16638 2005-06-29  Wim Taymans  <wim@fluendo.com>
16639
16640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16641         (gst_base_sink_change_state):
16642         Small debug line.
16643
16644         * gst/gstclock.h:
16645         map SIGNAL and BROADCAST to the right function.
16646
16647         * gst/gstobject.h:
16648         Remove redundant braces.
16649
16650         * gst/gstpad.c: (gst_pad_set_caps):
16651         Don't call setcaps function when reseting caps to NULL.
16652
16653         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16654         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16655         (gst_system_clock_id_unschedule):
16656         Use BROADCAST as this is what we do.
16657
16658 2005-06-29  Wim Taymans  <wim@fluendo.com>
16659
16660         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16661         We are actually prerolling before commiting the state
16662         change. 
16663
16664 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16665
16666         * docs/manual/advanced-clocks.xml:
16667         * docs/manual/advanced-interfaces.xml:
16668         * docs/manual/advanced-metadata.xml:
16669         * docs/manual/advanced-position.xml:
16670         * docs/manual/advanced-schedulers.xml:
16671         * docs/manual/advanced-threads.xml:
16672         * docs/manual/appendix-porting.xml:
16673         * docs/manual/basics-bins.xml:
16674         * docs/manual/basics-bus.xml:
16675         * docs/manual/basics-elements.xml:
16676         * docs/manual/basics-helloworld.xml:
16677         * docs/manual/basics-pads.xml:
16678         * docs/manual/highlevel-components.xml:
16679         * docs/manual/manual.xml:
16680         * docs/manual/thread.fig:
16681           Update (until threads/scheduling) Application Development Manual;
16682           remove GstThread, add GstBus, add simple porting checklist, add
16683           documentation for tag writing, clocks, make all examples until this
16684           part compile and run.
16685         * examples/manual/Makefile.am:
16686           Update from changes to Application Development Manual; add bus
16687           example, remove thread example.
16688
16689 2005-06-28  Wim Taymans  <wim@fluendo.com>
16690
16691         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16692         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16693         (gst_bus_source_dispatch):
16694         Add debugging messages.
16695         Make internal methods static.
16696         Handle the case where the bus is flushed in the handler.
16697         
16698         * gst/gstelement.c: (gst_element_get_bus):
16699         Fix refcount in _get_bus();
16700
16701         * gst/gstpipeline.c: (gst_pipeline_change_state),
16702         (gst_pipeline_get_clock_func):
16703         Clock refcounting fixes.
16704         Handle the case where preroll timed out more gracefully.
16705         
16706         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16707         Clean up the internal thread in dispose. This is needed
16708         for subclasses that actually get disposed.
16709         
16710         * gst/schedulers/threadscheduler.c:
16711         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16712         (gst_thread_scheduler_dispose):
16713         Free thread pool in dispose.
16714
16715 2005-06-28  Andy Wingo  <wingo@pobox.com>
16716
16717         * tests/network-clock-utils.scm (debug, print-event): New utils.
16718
16719         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16720         (*packet-loss*): Unified loss probability.
16721         (network-time): Report out-of-band events.
16722
16723         * tests/plot-data: Add support for out-of-band events. Hack it
16724         into this script instead of passing it down the pipe; should fix
16725         this later.
16726
16727 2005-06-28  Wim Taymans  <wim@fluendo.com>
16728
16729         * docs/gst/gstreamer.types:
16730         * docs/gst/tmpl/gstbasesrc.sgml:
16731         * docs/gst/tmpl/gstpad.sgml:
16732         Docs fixes.
16733
16734 2005-06-28  Wim Taymans  <wim@fluendo.com>
16735
16736         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16737         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16738         (gst_proxy_pad_do_fixatecaps):
16739         Correctly proxy the check_pull_range function.
16740
16741 2005-06-28  Andy Wingo  <wingo@pobox.com>
16742
16743         * tests/network-clock.scm: Removed need for slib.
16744         
16745 2005-06-28  Wim Taymans  <wim@fluendo.com>
16746
16747         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16748         (gst_basesink_preroll_queue_flush):
16749         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16750         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16751         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16752         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16753         (gst_proxy_pad_set_property):
16754         * gst/gstpad.c:
16755         * gst/gstpad.h:
16756         * gst/gstqueue.c: (gst_queue_init):
16757         The deprecated pad loop function is removed now.
16758
16759 2005-06-28  Andy Wingo  <wingo@pobox.com>
16760
16761         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16762         New parameters, simulate network packet loss.
16763
16764         * tests/network-clock-utils.scm: Initialize the RNG.
16765
16766 2005-06-28  Wim Taymans  <wim@fluendo.com>
16767
16768         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16769         (gst_basesink_event), (gst_basesink_deactivate):
16770         Flushing the preroll queue always needs to unlock the waiters.
16771
16772 2005-06-28  Edward Hervey  <edward@fluendo.com>
16773
16774         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16775         Wheen a seek was successful on a pipeline, set the stream_time to the
16776         seek offset in order to have a synchronized stream_time.
16777
16778 2005-06-28  Wim Taymans  <wim@fluendo.com>
16779
16780         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16781         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16782         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16783         (gst_proxy_pad_do_fixatecaps):
16784         Call wrapper function instead of just calling the function
16785         pointers. This takes care of any locking and whatmore.
16786
16787 2005-06-28  Wim Taymans  <wim@fluendo.com>
16788
16789         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16790         (gst_pad_pull_range):
16791         * gst/gstpad.h:
16792         CONNECTED -> LINKED.
16793
16794 2005-06-28  Andy Wingo  <wingo@pobox.com>
16795
16796         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16797         source-munging commit!!!
16798
16799         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16800         (gst_object_sink): Take gpointer arguments, not GstObject --
16801         avoids casts. Like GLib.
16802
16803         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16804         activate.
16805
16806 2005-06-27  Andy Wingo  <wingo@pobox.com>
16807
16808         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16809         remaining buffer.
16810
16811         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16812         returns a sorted copy of the trace list.
16813         (gst_alloc_trace_print_live): New API, only prints traces with
16814         live objects. Sort the list.
16815         (gst_alloc_trace_print_all): Sort the list.
16816         (gst_alloc_trace_print): Align columns.
16817
16818         * gst/elements/gstttypefindelement.c:
16819         * gst/elements/gsttee.c:
16820         * gst/base/gstbasesrc.c:
16821         * gst/base/gstbasesink.c:
16822         * gst/base/gstbasetransform.c:
16823         * gst/gstqueue.c: Adapt for pad activation changes.
16824
16825         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16826         sched.
16827         (gst_pipeline_dispose): Drop ref on sched.
16828
16829         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16830         (gst_pad_activate_default): Push mode by default.
16831         (pre_activate_switch, post_activate_switch): New stubs, things to
16832         do before and after switching activation modes on pads.
16833         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16834         the pad's activate function to choose which mode to activate.
16835         Shortcut on deactivation and call the right function directly.
16836         (gst_pad_activate_pull): New API, (de)activates a pad in pull
16837         mode.
16838         (gst_pad_activate_push): New API, same for push mode.
16839         (gst_pad_set_activate_function) 
16840         (gst_pad_set_activatepull_function) 
16841         (gst_pad_set_activatepush_function): Setters for new API.
16842
16843         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16844         Trace all miniobjects.
16845         (gst_mini_object_make_writable): Unref the arg if we copy, like
16846         gst_caps_make_writable.
16847
16848         * gst/gstmessage.c (_gst_message_initialize): No trace init.
16849
16850         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
16851         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16852         Adapt for new pad API.
16853
16854         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16855
16856         * gst/gstelement.h:
16857         * gst/gstelement.c (gst_element_iterate_src_pads) 
16858         (gst_element_iterate_sink_pads): New API functions.
16859         
16860         * gst/gstelement.c (iterator_fold_with_resync): New utility,
16861         should fold into gstiterator.c in some form.
16862         (gst_element_pads_activate): Simplified via use of fold and
16863         delegation of decisions to gstpad->activate.
16864
16865         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16866         help in debugging.
16867
16868         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16869         class once in init, like gstmessage. Didn't run into this issue
16870         but it seems correct. Don't initialize a trace, gstminiobject does
16871         that.
16872
16873         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16874         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16875         to the bus.
16876         (assert_live_count): New util function, uses alloc traces to check
16877         cleanup.
16878
16879         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16880         To be modified when unlink drops the internal pad.
16881
16882 2005-06-27  Wim Taymans  <wim@fluendo.com>
16883
16884         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16885         (gst_bin_change_state):
16886         Cleanup the get_state() function a little, make sure it
16887         iterates the same set of elements.
16888         Added stub iterate_state_order().
16889
16890 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16891
16892         * docs/gst/gstreamer-docs.sgml:
16893         * docs/gst/gstreamer-sections.txt:
16894         * docs/gst/gstreamer.types:
16895         * docs/gst/tmpl/gstbasesink.sgml:
16896         * docs/gst/tmpl/gstbasesrc.sgml:
16897         * docs/gst/tmpl/gstbasetransform.sgml:
16898         * docs/gst/tmpl/gstelement.sgml:
16899         * docs/gst/tmpl/gstiterator.sgml:
16900         * gst/base/gstbasesrc.c:
16901         * gst/base/gstbasesrc.h:
16902         * gst/base/gstbasetransform.h:
16903         * gst/gstelement.c:
16904         * gst/gstiterator.h:
16905           adding basetransform and iterator docs
16906
16907 2005-06-27  Andy Wingo  <wingo@pobox.com>
16908
16909         * docs/design/part-activation.txt: Notes on how activation should
16910         work -- not quite implemented yet.
16911
16912 2005-06-25  Wim Taymans  <wim@fluendo.com>
16913
16914         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16915         At least get the chain function correct, needs more
16916         fixing.
16917
16918 2005-06-25  Wim Taymans  <wim@fluendo.com>
16919
16920         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16921         (gst_basesink_handle_object), (gst_basesink_event),
16922         (gst_basesink_do_sync), (gst_basesink_handle_event),
16923         (gst_basesink_change_state):
16924         * gst/gsttask.h:
16925         Right, two problems here: ghostpads don't take locks and
16926         glib _rec_mutex_lock_full() with depth==0 still locks.
16927         Catch illegal locking and g_warn them.
16928
16929 2005-06-25  Wim Taymans  <wim@fluendo.com>
16930
16931         * check/states/sinks.c: (START_TEST), (gst_object_suite):
16932         Have to check for completion now...
16933
16934 2005-06-25  Wim Taymans  <wim@fluendo.com>
16935
16936         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16937         (gst_basesink_handle_object), (gst_basesink_event),
16938         (gst_basesink_do_sync), (gst_basesink_handle_event),
16939         (gst_basesink_change_state):
16940         * gst/gstpad.h:
16941         Unlock STREAM_LOCK whatever the recursion was.
16942
16943 2005-06-25  Wim Taymans  <wim@fluendo.com>
16944
16945         * gst/base/gstbasesink.c: (gst_basesink_set_property),
16946         (gst_basesink_preroll_queue_empty),
16947         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16948         (gst_basesink_event), (gst_basesink_do_sync),
16949         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16950         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16951         (gst_basesink_change_state):
16952         Reworked the base sink, handle event and buffer serialisation
16953         correctly and removed possible deadlock.
16954         Handle EOS correctly.
16955
16956 2005-06-25  Wim Taymans  <wim@fluendo.com>
16957
16958         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16959         (gst_pipeline_change_state):
16960         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16961         Allow elements to post EOS in the state change function.
16962         Fix up -launch, make it exit the poll loop when the
16963         pipeline actually changed state.
16964         Fix up warning parsing in -launch.
16965
16966 2005-06-25  Wim Taymans  <wim@fluendo.com>
16967
16968         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16969         (gst_tee_sink_activate):
16970         Core takes STREAM_LOCK for us now.
16971
16972 2005-06-25  Wim Taymans  <wim@fluendo.com>
16973
16974         * gst/gstelement.c: (gst_element_get_state_func),
16975         (gst_element_set_state):
16976         * gst/gstelement.h:
16977         * gst/gstmessage.c: (gst_message_parse_error),
16978         (gst_message_parse_warning):
16979         Keep track of current target state while performing a state
16980         change so that subclasses can do something interesting.
16981         Fix parsing of warning/error messages when GError is NULL.
16982
16983 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16984
16985         * docs/gst/Makefile.am:
16986         * docs/gst/gstreamer-docs.sgml:
16987         * docs/gst/gstreamer-sections.txt:
16988         * docs/gst/gstreamer.types:
16989         * docs/gst/tmpl/gstbasesink.sgml:
16990         * docs/gst/tmpl/gstbasesrc.sgml:
16991         * docs/gst/tmpl/gstbin.sgml:
16992         * docs/gst/tmpl/gstcompat.sgml:
16993         * docs/gst/tmpl/gstfakesink.sgml:
16994         * docs/gst/tmpl/gstfakesrc.sgml:
16995         * docs/gst/tmpl/gstfilesink.sgml:
16996         * docs/gst/tmpl/gstfilesrc.sgml:
16997         * docs/gst/tmpl/gstindex.sgml:
16998         * docs/manual/appendix-quotes.xml:
16999         * gst/base/gstbasesrc.h:
17000         * gst/elements/gstfakesrc.h:
17001         * gst/gstmessage.h:
17002           start pulling in base classes and elements in our docs
17003
17004 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17005
17006         * docs/gst/Makefile.am:
17007         * docs/libs/Makefile.am:
17008           fixed make distcheck with gtk-doc 1.3
17009
17010 2005-06-23  Wim Taymans  <wim@fluendo.com>
17011
17012         * gst/gstelement.c: (gst_element_get_state_func),
17013         (gst_element_set_state), (gst_element_change_state):
17014         When the state did not change, also report NO_PREROLL
17015         when it matters.
17016
17017 2005-06-23  Wim Taymans  <wim@fluendo.com>
17018
17019         * gst/gstpad.c: (gst_pad_event_default):
17020         * gst/gstqueue.c: (gst_queue_loop):
17021         No unsafe task pausing please.
17022
17023 2005-06-23  Wim Taymans  <wim@fluendo.com>
17024
17025         * gst/schedulers/threadscheduler.c:
17026         (gst_thread_scheduler_task_start),
17027         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17028         Ref the task before pushing it on the threadpool. This
17029         makes sure that we have a ref when the threadfunction is
17030         actually called.
17031
17032 2005-06-23  Andy Wingo  <wingo@pobox.com>
17033
17034         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17035         offset is greater than the file's size.
17036
17037         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17038         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17039         * gst/gstobject.c (gst_object_class_init): Make the class lock
17040         recursive. Wim won't let me drop deep_notify. Decodebin works
17041         again, whoopdy doo.
17042
17043         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17044         internal pad, and hacks accordingly. Doesn't do it on the target
17045         pad because we change its caps. Probably catches all cases of
17046         interest tho.
17047         (gst_ghost_pad_set_property): Connect to notify::caps as
17048         appropritate.
17049
17050         * tests/network-clock.scm (plot-simulation): Pipe data to the
17051         elite python skript.
17052
17053         * tests/network-clock-utils.scm (define-parameter): New macro,
17054         defines a parameter that can be set via the command line.
17055         (set-parameter!, parse-parameter-arguments): Command line args
17056         parser.
17057
17058         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17059         stdin.
17060
17061 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17062
17063         * gst/elements/gsttypefindelement.c:
17064         (gst_type_find_element_handle_event):
17065           Don't restart typefinding on a discont.
17066         * gst/gstelement.c: (gst_element_set_state):
17067           Debug spelling fix.
17068         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17069           Allow changing mode of an active pad.
17070           Debug output fixes.
17071         * gst/registries/gstlibxmlregistry.c: (load_feature):
17072           Don't cast a static pad template to a normal pad template.
17073
17074 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17075
17076         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17077         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17078           remove gst_strtoll completely, since it didn't actually do
17079           anything more than what g_ascii_strtoull already does.
17080           check for range errors when deserializing
17081           do a cast for the unsigned cases; but further fixing needs
17082           a decision on what the interpretation of "(int)" and
17083           deserialization should be for values that fall outside the
17084           type's boundaries (ie, refuse, or interpret as casting)
17085
17086 2005-06-23  Wim Taymans  <wim@fluendo.com>
17087
17088         * check/Makefile.am:
17089         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17090         * docs/design/part-live-source.txt:
17091         * docs/design/part-states.txt:
17092         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17093         (gst_basesrc_set_live), (gst_basesrc_is_live),
17094         (gst_basesrc_get_range), (gst_basesrc_activate),
17095         (gst_basesrc_change_state):
17096         * gst/base/gstbasesrc.h:
17097         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17098         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17099         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17100         * gst/gstelement.c: (gst_element_get_state_func),
17101         (gst_element_set_state):
17102         * gst/gstelement.h:
17103         * gst/gsttypes.h:
17104         * tools/gst-launch.c: (event_loop), (main):
17105         Added support for live sources and other elements that
17106         cannot do preroll.
17107         Updated design docs, added live-source design doc.
17108         Implemented live source functionality in basesrc
17109         Fix error condition in _bin_get_state()
17110         Implement live source handling in -launch.
17111         Added check for live sources.
17112         Fixed case in GstBin where elements were changed state
17113         multiple times.
17114
17115
17116 2005-06-23  Andy Wingo  <wingo@pobox.com>
17117
17118         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17119         borken refcounting.
17120
17121         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17122         gst_caps_replace takes care of this for us.
17123
17124         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17125         gst_pad_set_caps on the target, not just its setcaps() function.
17126
17127         * tests/network-clock.scm: 
17128         * tests/network-clock-utils.scm: A network clock simulator.
17129         Something of an algorithmic testbed before doing something in C.
17130
17131 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17132
17133         * check/Makefile.am:
17134         * check/gst/capslist.h:
17135           copy over from 0.8, and add two with bitmasks specified with
17136           (int) 0xFF...
17137         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17138           add test to parse everything from capslist.h
17139         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17140         (main):
17141           add test for structure deserialization
17142         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17143           add tests for deserialization of strings to int types
17144         * gst/gststructure.c: (gst_structure_nth_field_name):
17145         * gst/gststructure.h:
17146           add a way to get the name of a field referenced by index
17147         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17148           instead of checking if the resulting long long lies between
17149           min and max, we check if the long long would fit into
17150           a number of bytes for the final type.
17151           This fixes cases where a string represents 2^32 - 1, which
17152           when cast to int would be the (valid) -1, but is bigger than
17153           G_MAXINT
17154
17155 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17156
17157         * gst/parse/grammar.y:
17158           add a log line for type deserialization
17159
17160 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17161
17162         * check/gst/gstvalue.c: (START_TEST):
17163         * gst/gstvalue.c: (gst_value_deserialize):
17164           return long long, not int, so gint64 deserialization actually
17165           works.  Is there any flag that makes the compiler check this ?
17166           Fixes #308559
17167
17168 2005-06-22  Wim Taymans  <wim@fluendo.com>
17169
17170         * gst/gstbuffer.h:
17171         Added convenience macros for setting buffers in GValue.
17172
17173 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17174
17175         * check/gst/.cvsignore:
17176         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17177           add a test deserializing int64, and comment part out because
17178           it fails, yay !
17179
17180 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17181
17182         * check/Makefile.am:
17183         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17184         * testsuite/Makefile.am:
17185         * testsuite/caps/Makefile.am:
17186         * testsuite/caps/value_serialize.c:
17187         * testsuite/test_gst_init.c:
17188           move a value_serialize test over
17189
17190 2005-06-20  Wim Taymans  <wim@fluendo.com>
17191
17192         * gst/gstpad.c:
17193         Small doc updates.
17194         
17195         * gst/gstvalue.c: (gst_value_compare_buffer),
17196         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17197         (gst_value_compare_flags), (gst_value_serialize_flags),
17198         (gst_value_deserialize_flags), (_gst_value_initialize):
17199         Fix serialisation of buffers, they are not boxed types anymore
17200
17201 2005-06-20  Wim Taymans  <wim@fluendo.com>
17202
17203         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17204         Testcase to show error in buffer-on-caps serialisation.
17205
17206 2005-06-20  Andy Wingo  <wingo@pobox.com>
17207
17208         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17209         will be adding to later.
17210
17211         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17212         if its socks fill with rocks.
17213         (gst_system_clock_obtain): Set the name on object construction.
17214         Avoid double-checked locking.
17215
17216 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17217
17218         * gst/gsturi.c: (gst_element_make_from_uri):
17219           Fix potential endless loop.
17220
17221 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17222
17223         * check/Makefile.am:
17224           add gsttag
17225         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17226         (main):
17227           move over from testsuite dir and clean up
17228         * configure.ac:
17229         * gst/gsttag.c:
17230         * testsuite/Makefile.am:
17231         * testsuite/tags/.cvsignore:
17232         * testsuite/tags/Makefile.am:
17233         * testsuite/tags/merge.c:
17234           remove testsuite/tags
17235
17236 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17237
17238         * docs/gst/gstreamer-sections.txt:
17239         * docs/gst/tmpl/gstenumtypes.sgml:
17240         * win32/gstenumtypes.c:
17241           clean up documentation build a little
17242
17243 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17244
17245         * check/gstcheck.h:
17246           add macros for checking refcounts on objects and caps
17247         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17248           add some more unit tests
17249         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17250         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17251           fix leaked refcounts (I hope :)) so unittest works
17252         * gst/gstpad.h:
17253           whitespace removal
17254
17255 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17256
17257         * configure.ac: back to HEAD
17258
17259 === release 0.9.1 ===
17260
17261 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17262
17263         * NEWS:
17264         * RELEASE:
17265           updated
17266
17267 2005-06-17  Andy Wingo  <wingo@pobox.com>
17268
17269         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17270         assert; it's always possible that the pad gets deactivated in
17271         between the checks in gstpad.c and the implementation. Rely on
17272         finish_preroll() to return a FLUSHING or similar instead of on the
17273         assert.
17274         
17275         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17276         clock and post an EOS message if we come out of finish_preroll in
17277         the playing state.
17278
17279 2005-06-16  David Schleef  <ds@schleef.org>
17280
17281         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17282         (gst_capsfilter_set_property): Allow NULL as possible value
17283         for filter_caps property, indicating GST_CAPS_ANY.
17284
17285 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17286
17287         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17288           fix debug output
17289         * gst/schedulers/Makefile.am:
17290           use libgst prefix
17291         * gstreamer.spec.in:
17292           fix spec for it
17293
17294 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17295
17296         * gstreamer.spec.in:
17297           clean up
17298
17299 2005-06-08  Andy Wingo  <wingo@pobox.com>
17300
17301         * gst/gstutils.c: RPAD fixes all around.
17302         (gst_element_link_pads): Refcounting fixes.
17303
17304         * tools/gst-inspect.c:
17305         * tools/gst-xmlinspect.c:
17306         * parse/grammar.y:
17307         * gst/base/gsttypefindhelper.c:
17308         * gst/base/gstbasesink.c:
17309         * gst/gstqueue.c: RPAD fixes.
17310
17311         * gst/gstghostpad.h:
17312         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17313         pads. The tricky thing is they provide both source and sink
17314         interfaces, since they proxy the internal pad for the external
17315         pad, and vice versa. Implement with lower-level ProxyPad objects,
17316         with the interior proxy pad as a child of the exterior ghost pad.
17317         Should write a doc on this.
17318         
17319         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17320         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17321         gst_object API.
17322         
17323         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17324         pads are real pads. No ghost pads in this file. Not documenting
17325         the myriad s/RPAD/PAD/ and REALIZE fixes.
17326         (gst_pad_class_init): Add properties for "direction" and
17327         "template". Both are construct-only, so they can't change during
17328         the life of the pad. Fixes properly deriving from GstPad.
17329         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17330         derived objects, just set properties when creating the objects via
17331         g_object_new.
17332         (gst_pad_get_parent): Implement as a function, return NULL if the
17333         parent is not an element.
17334         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17335         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17336         
17337         * gst/gstobject.c (gst_object_class_init): Make name a construct
17338         property. Don't set it in the object init.
17339
17340         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17341         with UNKNOWN direction.
17342         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17343         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17344         (gst_element_remove_pad): Remove ghost-pad special cases.
17345         (gst_element_pads_activate): Remove rpad cruft.
17346
17347         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17348         catch the pad's-parent-not-an-element case.
17349
17350         * gst/gst.h: Include gstghostpad.h.
17351
17352         * gst/gst.c (init_post): No more real, ghost pads.
17353
17354         * gst/Makefile.am: Add gstghostpad.[ch].
17355
17356         * check/Makefile.am:
17357         * check/gst/gstbin.c:
17358         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17359         into a bin creates ghost pads, and that the refcounts are right.
17360         Partly moved from gstbin.c.
17361
17362 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17363
17364         * check/gst-libs/.cvsignore:
17365         * check/gst/.cvsignore:
17366         * check/pipelines/.cvsignore:
17367           ignore more
17368         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17369         (START_TEST), (cleanup_suite), (main):
17370           add some tests related to cleanup after running pipelines
17371
17372 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17373
17374         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17375           add a testsuite for GstBuffer
17376
17377 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17378
17379         * gst/gstminiobject.h:
17380           add defines for accessing the refcount
17381
17382 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17383
17384         * Makefile.am: added support for html unit test coverage reports
17385
17386 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17387
17388         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17389           Free existing caps if the capsfilter changes. Add a FIXME about
17390           setting those caps on the pads.
17391
17392         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17393           Before adding a ghost pad to a parent bin, check that there isn't
17394           already one for the element on the bin. Prevents infinite recursion
17395           when using decodebin in parse pipelines. Andy says he'll rewrite the
17396           way this works anyway, so ignore the hack.
17397
17398 2005-06-02  Andy Wingo  <wingo@pobox.com>
17399
17400         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17401         file size, pass it on to the type find helper.
17402
17403         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17404         segment_start and segment_end properly according to the seek
17405         method. Segment_end is still a bit flaky because offset can be
17406         negative for CUR and END cases, but it takes -1 as an "unset"
17407         value.
17408
17409 2005-06-02  Wim Taymans  <wim@fluendo.com>
17410
17411         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17412         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17413         (gst_basesink_activate):
17414         * gst/base/gstbasesink.h:
17415         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17416         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17417         (gst_pad_query), (gst_pad_start_task):
17418         * gst/gstpad.h:
17419         * gst/gstqueue.c: (gst_queue_bufferalloc),
17420         (gst_queue_handle_sink_event), (gst_queue_chain):
17421         Bufferalloc: return GstFlowReturn to more accuratly report
17422         why allocation failed.
17423
17424 2005-06-02  Wim Taymans  <wim@fluendo.com>
17425
17426         * gst/gstpipeline.c: (gst_pipeline_send_event):
17427         Take snapshot of state without blocking.
17428
17429 2005-06-02  Wim Taymans  <wim@fluendo.com>
17430
17431         * docs/design/part-TODO.txt:
17432         * docs/design/part-caps.txt:
17433         * docs/design/part-clocks.txt:
17434         * docs/design/part-negotiation.txt:
17435         * docs/design/part-preroll.txt:
17436         Small doc updates 
17437
17438 2005-05-30  Wim Taymans  <wim@fluendo.com>
17439
17440         * gst/elements/gstidentity.c: (gst_identity_event),
17441         (gst_identity_transform), (gst_identity_get_property):
17442         Protect last_message property as it is accessed from
17443         multiple threads.
17444
17445 2005-05-30  Wim Taymans  <wim@fluendo.com>
17446
17447         * gst/gstelement.c: (gst_element_init),
17448         (gst_element_pads_activate), (gst_element_change_state):
17449         Slicker pad activation code.
17450
17451 2005-05-30  Wim Taymans  <wim@fluendo.com>
17452
17453         * gst/Makefile.am:
17454         * gst/gstelement.h:
17455         * gst/gstelementfactory.h:
17456         * gst/gsttypes.h:
17457         Move elementfactory methods to separate .h file.
17458
17459 2005-05-30  Wim Taymans  <wim@fluendo.com>
17460
17461         * docs/design/part-overview.txt:
17462         * gst/gstsystemclock.h:
17463         Small typo fixes, doc updates.
17464
17465 2005-05-30  Wim Taymans  <wim@fluendo.com>
17466
17467         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17468         (init_popt_callback):
17469         Remove cpu-opt flag.
17470
17471 2005-05-30  Wim Taymans  <wim@fluendo.com>
17472
17473         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17474         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17475         * gst/gstbuffer.h:
17476         Avoid typechecking in places where not needed.
17477         Added accessor for malloc_data.
17478
17479 2005-05-30  Wim Taymans  <wim@fluendo.com>
17480
17481         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17482         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17483         (gst_pad_configure_sink), (gst_pad_configure_src),
17484         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17485         (gst_pad_start_task):
17486         Propagate errors from _set_caps() in configure_src/sink
17487         functions instead of returning TRUE.
17488         FLUSH events can travel up and downstream
17489
17490
17491 2005-05-30  Wim Taymans  <wim@fluendo.com>
17492
17493         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17494         (gst_basesink_activate):
17495         Handle EOS in preroll.
17496
17497 2005-05-30  Wim Taymans  <wim@fluendo.com>
17498
17499         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17500         (gst_queue_loop), (gst_queue_handle_src_event):
17501         Remove old pieces of code
17502         Flushing the queue in an upstream event is a very bad idea.
17503
17504 2005-05-26  Andy Wingo  <wingo@pobox.com>
17505
17506         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17507         gst_value_set_mini_object so as to add a ref on the object (which
17508         will be removed when the value is unset).
17509
17510         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17511         arg type in ::handoff.
17512
17513         * gst/gstelement.c (gst_element_change_state): Also deactivate
17514         pads in READY->NULL, just in case the element didn't make it to
17515         PAUSED. Wingo tested, Wim approved.
17516
17517 2005-05-26  Wim Taymans  <wim@fluendo.com>
17518
17519         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17520         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17521         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17522         A flushing pad cannot be used to alloc_buffer from.
17523
17524 2005-05-26  Wim Taymans  <wim@fluendo.com>
17525
17526         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17527         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17528         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17529         (gst_bus_create_watch), (gst_bus_add_watch_full):
17530         * gst/gstbus.h:
17531         Implement a real GSource and use g_main_context_wakeup() to
17532         signal new messages instead of the socketpair.
17533
17534 2005-05-25  Wim Taymans  <wim@fluendo.com>
17535
17536         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17537         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17538         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17539         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17540         (gst_pad_send_event), (gst_pad_start_task):
17541         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17542         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17543         (gst_queue_sink_activate), (gst_queue_src_activate),
17544         (gst_queue_change_state):
17545         * gst/gstqueue.h:
17546         Fix state changes for non sinks. We now change sinks, then elements
17547         with unconnected srcpads, then the rest.
17548         More efficient queue unlocking in flush and state changes.
17549         Set the pad activate mode even if it does not have an activate
17550         function.
17551
17552 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17553
17554         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17555           Don't go in pull mode for non-seekable sources.
17556         * gst/elements/gsttypefindelement.h:
17557         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17558         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17559         (free_entry), (stop_typefinding),
17560         (gst_type_find_element_handle_event), (find_peek),
17561         (gst_type_find_element_chain), (do_pull_typefind),
17562         (gst_type_find_element_change_state):
17563           Allow typefinding (w/o seeking) in push-mode, simplified version
17564           of what was in 0.8.
17565         * gst/gstutils.c: (gst_buffer_join):
17566         * gst/gstutils.h:
17567           gst_buffer_join() from 0.8.
17568
17569 2005-05-25  Wim Taymans  <wim@fluendo.com>
17570
17571         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17572         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17573         (gst_pad_send_event), (gst_pad_start_task):
17574         Disable attempt at mode switching until it is figured out.
17575
17576 2005-05-25  Wim Taymans  <wim@fluendo.com>
17577
17578         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17579         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17580         (gst_basesink_finish_preroll), (gst_basesink_chain),
17581         (gst_basesink_loop), (gst_basesink_activate),
17582         (gst_basesink_change_state):
17583         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17584         (gst_basesrc_get_range), (gst_basesrc_loop),
17585         (gst_basesrc_activate):
17586         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17587         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17588         (gst_real_pad_init), (gst_real_pad_set_property),
17589         (gst_real_pad_get_property), (gst_pad_set_active),
17590         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17591         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17592         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17593         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17594         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17595         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17596         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17597         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17598         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17599         (gst_pad_stop_task):
17600         * gst/gstpad.h:
17601         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17602         (gst_queue_loop), (gst_queue_src_activate):
17603         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17604         (gst_task_get_state):
17605         * gst/gsttask.h:
17606         * gst/schedulers/threadscheduler.c:
17607         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17608         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17609         in task function.
17610         Remove ACTIVE pad flag, use FLUSHING everywhere
17611         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17612         functions.
17613         Add locks around IS_FLUSHING when reading.
17614         Take STREAM lock in chain(), get_range() functions so plugins
17615         don't need to take it anymore.
17616         
17617
17618
17619 2005-05-25  Wim Taymans  <wim@fluendo.com>
17620
17621         * tools/gst-launch.c: (event_loop):
17622         Unref message after using its contents instead of
17623         before.
17624
17625 2005-05-24  Wim Taymans  <wim@fluendo.com>
17626
17627         * docs/design/draft-ghostpads.txt:
17628         * docs/design/draft-push-pull.txt:
17629         * docs/design/draft-query.txt:
17630         * docs/design/part-overview.txt:
17631         Docs updates, added general overview doc.
17632
17633 2005-05-21  David Schleef  <ds@schleef.org>
17634
17635         * docs/gst/tmpl/old/GstBin.sgml:
17636         * docs/gst/tmpl/old/GstBuffer.sgml:
17637         * docs/gst/tmpl/old/GstCaps.sgml:
17638         * docs/gst/tmpl/old/GstClock.sgml:
17639         * docs/gst/tmpl/old/GstCompat.sgml:
17640         * docs/gst/tmpl/old/GstData.sgml:
17641         * docs/gst/tmpl/old/GstElement.sgml:
17642         * docs/gst/tmpl/old/GstEvent.sgml:
17643         * docs/gst/tmpl/old/GstIndex.sgml:
17644         * docs/gst/tmpl/old/GstStructure.sgml:
17645         * docs/gst/tmpl/old/GstTag.sgml:
17646         * docs/gst/tmpl/old/cothreads.sgml:
17647         * docs/gst/tmpl/old/cothreads_compat.sgml:
17648         * docs/gst/tmpl/old/gettext.sgml:
17649         * docs/gst/tmpl/old/gobject2gtk.sgml:
17650         * docs/gst/tmpl/old/grammar.tab.sgml:
17651         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17652         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17653         * docs/gst/tmpl/old/gst_private.sgml:
17654         * docs/gst/tmpl/old/gstaggregator.sgml:
17655         * docs/gst/tmpl/old/gstarch.sgml:
17656         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17657         * docs/gst/tmpl/old/gstbufferstore.sgml:
17658         * docs/gst/tmpl/old/gstdata_private.sgml:
17659         * docs/gst/tmpl/old/gstdisksink.sgml:
17660         * docs/gst/tmpl/old/gstdisksrc.sgml:
17661         * docs/gst/tmpl/old/gstelementfactory.sgml:
17662         * docs/gst/tmpl/old/gstextratypes.sgml:
17663         * docs/gst/tmpl/old/gstfakesink.sgml:
17664         * docs/gst/tmpl/old/gstfakesrc.sgml:
17665         * docs/gst/tmpl/old/gstfdsink.sgml:
17666         * docs/gst/tmpl/old/gstfdsrc.sgml:
17667         * docs/gst/tmpl/old/gstfilesink.sgml:
17668         * docs/gst/tmpl/old/gstfilesrc.sgml:
17669         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17670         * docs/gst/tmpl/old/gstidentity.sgml:
17671         * docs/gst/tmpl/old/gstindexfactory.sgml:
17672         * docs/gst/tmpl/old/gstmarshal.sgml:
17673         * docs/gst/tmpl/old/gstmd5sink.sgml:
17674         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17675         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17676         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17677         * docs/gst/tmpl/old/gstpipefilter.sgml:
17678         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17679         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17680         * docs/gst/tmpl/old/gstshaper.sgml:
17681         * docs/gst/tmpl/old/gstspider.sgml:
17682         * docs/gst/tmpl/old/gstspideridentity.sgml:
17683         * docs/gst/tmpl/old/gststatistics.sgml:
17684         * docs/gst/tmpl/old/gsttee.sgml:
17685         * docs/gst/tmpl/old/gsttimecache.sgml:
17686         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17687         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17688         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17689         * docs/gst/tmpl/old/types.sgml:
17690           I didn't intend to add these or check them in.
17691
17692 2005-05-19  David Schleef  <ds@schleef.org>
17693
17694         * configure.ac: Use -no-common everywhere.  In a sane world, it
17695           would be the default in libtool, because without it, you can't
17696           build DLLs on Windows.
17697         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17698         * docs/gst/gstreamer-sections.txt:
17699         * docs/gst/tmpl/gstcpu.sgml:
17700         * docs/gst/tmpl/gstdata.sgml:
17701         * docs/gst/tmpl/gstthread.sgml:
17702
17703 2005-05-19  David Schleef  <ds@schleef.org>
17704
17705         * gst/gstminiobject.c: (gst_value_set_mini_object),
17706         (gst_value_take_mini_object), (gst_value_get_mini_object):
17707         * gst/gstminiobject.h: Add GValue set/get functions.
17708
17709 2005-05-19  Wim Taymans  <wim@fluendo.com>
17710
17711         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17712         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17713         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17714         * gst/gstbuffer.h:
17715         * gst/gstbus.c: (gst_bus_post):
17716         * gst/gstelement.c: (gst_element_get_random_pad):
17717         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17718         Make subbufer unref the parent in finalize.
17719         some more debugging info.
17720
17721
17722 2005-05-19  Wim Taymans  <wim@fluendo.com>
17723
17724         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17725         (gst_basesink_init), (gst_basesink_finalize),
17726         (gst_basesink_activate), (gst_basesink_change_state):
17727         Don't free preroll queue too early.
17728
17729 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17730
17731         * gst/Makefile.am:
17732         * gst/ROADMAP:
17733           Hi, I'm outdated. Please shoot me.
17734
17735 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17736
17737         * gst/gstpipeline.c: (gst_pipeline_send_event):
17738           Do not access variables after they have been deleted.
17739
17740 2005-05-19  Wim Taymans  <wim@fluendo.com>
17741
17742         * tools/gst-inspect.c: (print_plugin_features):
17743         A plugin feature does unfortunatly not use the
17744         object name yet...
17745
17746 2005-05-18  Wim Taymans  <wim@fluendo.com>
17747
17748         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17749         Port _span() functions to new subbuffers.
17750
17751 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17752
17753         * gst/gstbin.c: (gst_bin_add_func):
17754           Fix clock settery in bins when adding kids after the clock has
17755           been selected.
17756
17757 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17758
17759         * gst/elements/gstidentity.c: (gst_identity_class_init):
17760           Workaround until signals support GstMiniObject.
17761
17762 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17763
17764         * gst/gstbuffer.c:
17765         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17766
17767 2005-05-18  Wim Taymans  <wim@fluendo.com>
17768
17769         * gst/base/Makefile.am:
17770         * gst/base/gstadapter.c: (gst_adapter_base_init),
17771         (gst_adapter_class_init), (gst_adapter_init),
17772         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17773         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17774         (gst_adapter_flush), (gst_adapter_available),
17775         (gst_adapter_available_fast):
17776         * gst/base/gstadapter.h:
17777         Ported and added adapter to the base classes.
17778
17779 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17780
17781         * gst/gst.c:
17782         * gst/gstmessage.c:
17783           Make sure the class is reffed/unreffed once before threads can be
17784           used.  Fixes #304551.
17785
17786 2005-05-17  Wim Taymans  <wim@fluendo.com>
17787
17788         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17789         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17790         * gst/gstminiobject.c: (gst_mini_object_get_type),
17791         (gst_mini_object_free):
17792         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17793         (gst_pad_push), (gst_pad_push_event):
17794         * gst/gstqueue.c: (gst_queue_change_state):
17795         Don't queue buffers in basesink when we are flushing.
17796         Unref buffer when flushing in basesink.
17797         Flush queue when going to READY
17798         Unref buffer when _push() returns an error.
17799         Don't free MiniObject instance when refcount is incremented
17800         in _finalize() so that we can recover objects.
17801
17802 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17803
17804         * docs/manual/advanced-schedulers.xml:
17805         * docs/manual/appendix-checklist.xml:
17806         * docs/pwg/advanced-clock.xml:
17807         * docs/pwg/advanced-interfaces.xml:
17808         * docs/pwg/advanced-request.xml:
17809         * docs/pwg/advanced-types.xml:
17810         * docs/pwg/intro-preface.xml:
17811         * examples/plugins/example.c: (gst_example_get_type),
17812         (gst_example_class_init), (gst_example_chain),
17813         (gst_example_set_property), (gst_example_get_property),
17814         (gst_example_change_state), (plugin_init):
17815         * examples/plugins/example.h:
17816           small doc fixes
17817
17818 2005-05-17  Wim Taymans  <wim@fluendo.com>
17819
17820         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17821         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17822         * gst/gstqueue.c: (gst_queue_change_state):
17823         Clear queue when going to READY.
17824         Remove IN_SETCAPS flag too.
17825
17826 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17827
17828         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17829           Remove implicit cast from gboolean to GstElementStateReturn;
17830           make sure we still return failure in paused => ready case if
17831           the parent class fails to change state and our own stop 
17832           vfunc succeeds.
17833
17834 2005-05-17  Wim Taymans  <wim@fluendo.com>
17835
17836         * tools/gst-launch.c: (event_loop):
17837         Message was unreffed too soon.
17838
17839 2005-05-16  Andy Wingo  <wingo@pobox.com>
17840
17841         * gst/gstbin.c (sink_iterator_filter): Err... um...
17842
17843         * check/gst/gstbin.c (test_ghost_pads): New test for the
17844         ghosting-if-elements-not-in-same-bin behavior.
17845
17846 2005-05-16  David Schleef  <ds@schleef.org>
17847
17848         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17849         accessing refcount directly.
17850
17851 2005-05-15  David Schleef  <ds@schleef.org>
17852
17853         * check/Makefile.am: remove GstData checks
17854         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17855         * gst/Makefile.am: add miniobject, remove data
17856         * gst/gst.h: add miniobject, remove data
17857         * gst/gstdata.c: remove
17858         * gst/gstdata.h: remove
17859         * gst/gstdata_private.h: remove
17860         * gst/gsttypes.h: remove GstEvent and GstMessage
17861         * gst/gstelement.c: (gst_element_post_message): fix for API changes
17862         * gst/gstmarshal.list: change BOXED -> OBJECT
17863
17864         Implement GstMiniObject.
17865         * gst/gstminiobject.c:
17866         * gst/gstminiobject.h:
17867
17868         Modify to be subclasses of GstMiniObject.
17869         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17870         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17871         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17872         (gst_subbuffer_get_type), (gst_subbuffer_init),
17873         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17874         (gst_buffer_span):
17875         * gst/gstbuffer.h:
17876         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17877         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17878         (_gst_event_copy), (gst_event_new):
17879         * gst/gstevent.h:
17880         * gst/gstmessage.c: (_gst_message_initialize),
17881         (gst_message_get_type), (gst_message_class_init),
17882         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17883         (gst_message_new), (gst_message_new_error),
17884         (gst_message_new_warning), (gst_message_new_tag),
17885         (gst_message_new_state_changed), (gst_message_new_application):
17886         * gst/gstmessage.h:
17887         * gst/gstprobe.c: (gst_probe_perform),
17888         (gst_probe_dispatcher_dispatch):
17889         * gst/gstprobe.h:
17890         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17891         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17892         (_gst_query_copy), (gst_query_new):
17893
17894         Update elements for GstData -> GstMiniObject changes
17895         * gst/gstquery.h:
17896         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17897         (gst_queue_chain), (gst_queue_loop):
17898         * gst/elements/gstbufferstore.c:
17899         (gst_buffer_store_add_buffer_func),
17900         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17901         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17902         (gst_fakesink_render):
17903         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17904         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17905         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17906         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17907         (gst_filesrc_create_read):
17908         * gst/elements/gstidentity.c: (gst_identity_class_init):
17909         * gst/elements/gsttypefindelement.c:
17910         (gst_type_find_element_src_event), (free_entry_buffers),
17911         (gst_type_find_element_handle_event):
17912         * libs/gst/dataprotocol/dataprotocol.c:
17913         (gst_dp_header_from_buffer):
17914         * libs/gst/dataprotocol/dataprotocol.h:
17915         * libs/gst/dataprotocol/dp-private.h:
17916
17917 2005-05-15  David Schleef  <ds@schleef.org>
17918
17919         * gst/elements/gstelements.c: Don't include headers that were
17920         just removed.
17921
17922 2005-05-15  David Schleef  <ds@schleef.org>
17923
17924         * gst/elements/Makefile.am: Remove some elements that don't
17925         need to be in the core (or even exist at all).
17926         * gst/elements/gstaggregator.c:
17927         * gst/elements/gstaggregator.h:
17928         * gst/elements/gstmd5sink.c:
17929         * gst/elements/gstmd5sink.h:
17930         * gst/elements/gstmultifilesrc.c:
17931         * gst/elements/gstmultifilesrc.h:
17932         * gst/elements/gstpipefilter.c:
17933         * gst/elements/gstpipefilter.h:
17934         * gst/elements/gstshaper.c:
17935         * gst/elements/gstshaper.h:
17936         * gst/elements/gststatistics.c:
17937         * gst/elements/gststatistics.h:
17938         * po/POTFILES.in: Remove above files.
17939
17940 2005-05-14  Andy Wingo  <wingo@pobox.com>
17941
17942         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17943         so as to get the refs right.
17944         (sink_iterator_filter): New function, wraps bin_element_is_sink,
17945         unreffing objects that don't pass the filter.
17946
17947         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17948         gst_element_set_bus.
17949         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17950         normal cases, this will destroy the bus.
17951
17952         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17953         object.
17954
17955         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17956         has no sinks.
17957
17958 2005-05-13  Andy Wingo  <wingo@pobox.com>
17959
17960         * gst/gstutils.c (gst_element_link_pads): Instead of calling
17961         gst_pad_link, call pad_link_maybe_ghosting,
17962         (pad_link_maybe_ghosting): Links pads, making sure that the
17963         elements being linked are in the same bin.
17964         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17965         Helpers for pad_link_maybe_ghosting.
17966
17967 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17968
17969         * configure.ac:
17970           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17971
17972 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17973
17974         * docs/design/part-element-source.txt:
17975           Mention GstPushSrc
17976
17977 2005-05-12  Wim Taymans  <wim@fluendo.com>
17978
17979         * gst/base/gstbasesink.c: (gst_basesink_init),
17980         (gst_basesink_activate):
17981         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17982         (gst_basesrc_is_seekable):
17983         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17984         (bin_element_is_sink), (gst_bin_change_state):
17985         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17986         * gst/gstelement.h:
17987         Identify sinks by their flag to avoid overly complicated
17988         checks (fow now).
17989         Do state changes even for elements not reachable from the
17990         sinks.
17991         BaseSink is a sink now :)
17992         Some more debugging info in the basesrc.
17993
17994
17995 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17996
17997         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17998           Implement _query on a bin, similar to _send_event.
17999
18000 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18001
18002         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18003           Discont event offset format should be GST_FORMAT_BYTES,
18004           not GST_FORMAT_TIME.
18005
18006 2005-05-12  Wim Taymans  <wim@fluendo.com>
18007
18008         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18009         Same fix as Ronald's but without the signal. 
18010
18011 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18012
18013         * gst/gstutils.c: (gst_element_query_position):
18014           No, an element is not a pad.
18015
18016 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18017
18018         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18019         (gst_bin_get_state):
18020           If a child is removed from a bin while we remove the child from
18021           the bin and while we're retrieving its state, signal this to the
18022           get_state function so we abort the wait (instead of waiting for
18023           a timeout) and can immediately re-iterate over all other elements.
18024
18025 2005-05-12  Wim Taymans  <wim@fluendo.com>
18026
18027         * gst/base/Makefile.am:
18028         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18029         (gst_basesrc_start):
18030         * gst/base/gstbasesrc.h:
18031         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18032         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18033         (gst_pushsrc_init), (gst_pushsrc_create):
18034         * gst/base/gstpushsrc.h:
18035         Added is_seekable to BaseSrc
18036         Added simple PushSrc.
18037
18038 2005-05-11  Wim Taymans  <wim@fluendo.com>
18039
18040         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18041         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18042         (gst_element_link_pads), (gst_element_query_position),
18043         (gst_element_query_convert), (intersect_caps_func),
18044         (gst_pad_query_position), (gst_pad_query_convert):
18045         Fix refcounting in utils function.
18046         No point in trying to activate a pad when it's added, it could
18047         be added from the state change function and then we deadlock, the
18048         element has to decide what to do.
18049
18050 2005-05-10  Andy Wingo  <wingo@pobox.com>
18051
18052         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18053         *all* the arguments.
18054
18055         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18056         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18057         lock (according to the docs -- if this is wrong change the docs).
18058
18059         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18060         flush messages in the NULL state.
18061
18062         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18063         message immediately and return.
18064         (gst_bus_set_flushing): New function. If a bus is flushing, it
18065         flushes out any queued messages and immediately unrefs new
18066         messages. This is so when an element goes to NULL, all of the
18067         unhandled messages coming from it can be freed, and their
18068         references to the element dropped. In other words: message source
18069         ref considered harmful :P
18070
18071         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18072         we're finished with it.
18073
18074         * gst/gstmessage.c (gst_message_new_state_changed): 
18075
18076 2005-05-10  Wim Taymans  <wim@fluendo.com>
18077
18078         * gst/gstvalue.c: (gst_value_compare_flags),
18079         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18080         (_gst_value_initialize):
18081         Added flags serialize/deserialize/compare code.
18082
18083 2005-05-09  Andy Wingo  <wingo@pobox.com>
18084
18085         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18086         Intersect the peer's caps with our caps.
18087
18088 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18089
18090         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18091         * gst/elements/gsttypefindelement.c: (find_peek):
18092           Handle negative offsets better. Fixes decodebin.
18093
18094 2005-05-09  Wim Taymans  <wim@fluendo.com>
18095
18096         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18097         (gst_base_transform_event):
18098         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18099         Implement accept_caps.
18100         Fix silly lock/unlock mismatch in base class.
18101
18102 2005-05-09  Wim Taymans  <wim@fluendo.com>
18103
18104         * docs/design/draft-push-pull.txt:
18105         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18106         * gst/elements/gstfilesink.c: (gst_filesink_init),
18107         (gst_filesink_query):
18108         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18109         (gst_type_find_handle_src_query), (find_element_get_length):
18110         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18111         * gst/gstelement.h:
18112         * gst/gstmessage.c:
18113         * gst/gstmessage.h:
18114         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18115         (gst_real_pad_get_caps_unlocked),
18116         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18117         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18118         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18119         (gst_real_pad_dispose), (gst_real_pad_finalize),
18120         (gst_pad_load_and_link), (gst_pad_save_thyself),
18121         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18122         (gst_pad_check_pull_range), (gst_pad_pull_range),
18123         (gst_pad_template_get_type), (gst_pad_template_class_init),
18124         (gst_pad_template_init), (gst_pad_template_dispose),
18125         (name_is_valid), (gst_static_pad_template_get),
18126         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18127         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18128         (gst_pad_get_element_private), (gst_pad_start_task),
18129         (gst_pad_pause_task), (gst_pad_stop_task),
18130         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18131         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18132         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18133         (gst_ghost_pad_new):
18134         * gst/gstpad.h:
18135         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18136         (gst_query_new_position), (gst_query_set_position),
18137         (gst_query_parse_position), (gst_query_new_convert),
18138         (gst_query_set_convert), (gst_query_parse_convert):
18139         * gst/gstquery.h:
18140         * gst/gstqueryutils.c:
18141         * gst/gstqueryutils.h:
18142         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18143         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18144         (gst_queue_handle_src_query):
18145         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18146         (gst_element_query_position), (gst_element_query_convert),
18147         (intersect_caps_func), (gst_pad_query_position),
18148         (gst_pad_query_convert):
18149         * gst/gstutils.h:
18150         * tools/gst-inspect.c: (print_pad_info):
18151         * tools/gst-xmlinspect.c: (print_element_info):
18152         Remove old query functions. Ported old code.
18153         Added position/convert helper functions to gstutils.
18154         Reordered gstpad.c code, grouping relevant things.
18155         Remove gst_message_new(), always need to speficy a specific
18156         message.
18157
18158
18159 2005-05-09  Andy Wingo  <wingo@pobox.com>
18160
18161         * gst/gstiterator.h: Add some includes.
18162
18163         * gst/gstqueryutils.h: Include more headers.
18164
18165         * gst/gstpad.h:
18166         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18167         some uses of gst_pad_query.
18168
18169         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18170         NULL out parameters.
18171         (gst_query_new_position): New proc, allocates a new position
18172         query.
18173
18174         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18175         gstqueryutils.c to the build.
18176
18177         * gst/gststructure.c (gst_structure_set_valist): Implement with
18178         the generic G_VALUE_COLLECT.
18179         
18180 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18181
18182         * gst/Makefile.am: (gst_headers):
18183         Added gstqueryutils.h to the list of headers to install, that was
18184         a 'nachty' move wingo :)
18185
18186 2005-05-06  Andy Wingo  <wingo@pobox.com>
18187
18188         * gst/gstquery.h
18189         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18190         GstData, init a memchunk.
18191         (standard_definitions): Add a few query types, deprecate a few.
18192         (gst_query_get_type): New proc.
18193         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18194         implementation.
18195         (gst_query_new_application, gst_query_get_structure): New public
18196         procs.
18197
18198         * docs/design/draft-query.txt: Removed LINKS from the query types,
18199         because all the rest can be dispatched to other pads -- seemed
18200         ugly to have a query that couldn't be dispatched. internal_links
18201         is fine as a pad method.
18202
18203         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18204         in gstpad.c, but maintain binary compatibility for the moment.
18205         Will fix before 0.9 is out.
18206
18207         * gst/gstqueryutils.c: 
18208         * gst/gstqueryutils.h: New files, implement 3 methods for each
18209         query type: parse_query, parse_response, and set. Probably need an
18210         allocator as well.
18211
18212         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18213
18214         * gst/elements/gstfilesink.c (gst_filesink_query2):
18215         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18216         query_types, and formats methods.
18217
18218         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18219         (gst_pad_set_query2_function): New functions.
18220         (gst_real_pad_init): Set query2_default as the default query2
18221         function. Basically just dispatches to internally linked pads.
18222
18223         Needs review!
18224         
18225         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18226         without using the atomic operations. Only one thread can possibly
18227         be accessing the data at this point. Changed so as to avoid
18228         gst_atomic operations.
18229
18230 2005-05-06  Wim Taymans  <wim@fluendo.com>
18231
18232         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18233         Also set caps if we use the fallback buffer alloc.
18234
18235 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18236
18237         * docs/gst/Makefile.am:
18238         * docs/gst/gstreamer-docs.sgml:
18239         * docs/gst/gstreamer-sections.txt:
18240         * docs/gst/tmpl/gstatomic.sgml:
18241         * docs/gst/tmpl/gstmemchunk.sgml:
18242         * testsuite/elements/struct_i386.h:
18243         * win32/GStreamer.vcproj:
18244         * win32/Makefile:
18245           Purge GstAtomic stuff from docs and win32 makefiles as well
18246
18247 2005-05-06  Wim Taymans  <wim@fluendo.com>
18248
18249         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18250         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18251         * gst/gstpad.c: (gst_pad_peer_get_caps):
18252         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18253         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18254         (gst_queue_src_activate), (gst_queue_change_state):
18255         * gst/gstqueue.h:
18256         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18257         (intersect_caps_func):
18258         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18259         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18260         Some fixes for the peer_get_caps() change.
18261
18262 2005-05-06  Wim Taymans  <wim@fluendo.com>
18263
18264         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18265         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18266         (gst_basesink_activate):
18267         Actually do something with error codes returned from the push
18268         functions.
18269
18270 2005-05-06  Wim Taymans  <wim@fluendo.com>
18271
18272         * docs/design/part-element-sink.txt:
18273         * docs/design/part-element-source.txt:
18274         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18275         (gst_basesink_event), (gst_basesink_activate):
18276         * gst/base/gstbasesink.h:
18277         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18278         (gst_basesrc_activate):
18279         * gst/base/gstbasesrc.h:
18280         * gst/gstelement.c: (gst_element_pads_activate):
18281         Some more documentation.
18282         Fixed scheduling decision in _pads_activate().
18283
18284 2005-05-05  Andy Wingo  <wingo@pobox.com>
18285
18286         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18287         the test suite.
18288
18289 2005-05-05  Wim Taymans  <wim@fluendo.com>
18290
18291         * gst/base/Makefile.am:
18292         * gst/base/gstbasesink.h:
18293         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18294         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18295         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18296         (gst_collectpads_class_init), (gst_collectpads_init),
18297         (gst_collectpads_finalize), (gst_collectpads_new),
18298         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18299         (find_pad), (gst_collectpads_remove_pad),
18300         (gst_collectpads_is_active), (gst_collectpads_collect),
18301         (gst_collectpads_collect_range), (gst_collectpads_start),
18302         (gst_collectpads_stop), (gst_collectpads_peek),
18303         (gst_collectpads_pop), (gst_collectpads_available),
18304         (gst_collectpads_read), (gst_collectpads_flush),
18305         (gst_collectpads_chain):
18306         * gst/base/gstcollectpads.h:
18307         * gst/elements/Makefile.am:
18308         * gst/elements/gstelements.c:
18309         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18310         (gst_fakesink_get_times), (gst_fakesink_event),
18311         (gst_fakesink_preroll), (gst_fakesink_render):
18312         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18313         (gst_filesink_init), (gst_filesink_set_location),
18314         (gst_filesink_open_file), (gst_filesink_close_file),
18315         (gst_filesink_pad_query), (gst_filesink_event),
18316         (gst_filesink_render), (gst_filesink_change_state):
18317         * gst/elements/gstfilesink.h:
18318         Added object to help in making collect pad based elements.
18319         Ported filesink.
18320         Make event function in sink baseclass return gboolean.
18321
18322 2005-05-05  Wim Taymans  <wim@fluendo.com>
18323
18324         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18325         (gst_bin_get_by_name):
18326         * gst/gstbuffer.h:
18327         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18328         (gst_clock_finalize):
18329         * gst/gstdata.c: (gst_data_replace):
18330         * gst/gstdata.h:
18331         * gst/gstelement.c: (gst_element_request_pad),
18332         (gst_element_pads_activate):
18333         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18334         (gst_object_unref):
18335         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18336         (gst_pad_set_checkgetrange_function),
18337         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18338         (gst_pad_check_pull_range), (gst_pad_pull_range),
18339         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18340         (gst_pad_pause_task), (gst_pad_stop_task):
18341         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18342         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18343         Fix name lookup in GstBin.
18344         Added _data_replace() function and _buffer_replace()
18345         Use finalize method to clean up clock.
18346         Fix refcounting on request pads.
18347         Fix pad schedule mode error.
18348         Some more object refcounting debug info,
18349
18350
18351 2005-05-04  Andy Wingo <wingo@pobox.com>
18352
18353         * check/Makefile.am:
18354         * docs/gst/tmpl/gstatomic.sgml:
18355         * docs/gst/tmpl/gstplugin.sgml:
18356         * gst/base/gstbasesink.c: (gst_basesink_activate):
18357         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18358         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18359         (gst_basesrc_query), (gst_basesrc_set_property),
18360         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18361         (gst_basesrc_activate):
18362         * gst/base/gstbasesrc.h:
18363         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18364         (gst_base_transform_src_activate):
18365         * gst/elements/gstelements.c:
18366         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18367         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18368         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18369         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18370         (gst_type_find_element_checkgetrange),
18371         (gst_type_find_element_activate):
18372         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18373         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18374         (gst_caps_load_thyself):
18375         * gst/gstelement.c: (gst_element_pads_activate),
18376         (gst_element_save_thyself), (gst_element_restore_thyself):
18377         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18378         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18379         * gst/gstpad.h:
18380         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18381         (gst_xml_parse_file), (gst_xml_parse_memory),
18382         (gst_xml_get_element), (gst_xml_make_element):
18383         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18384         (_file_index_id_save_xml), (gst_file_index_commit):
18385         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18386         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18387         (load_paths):
18388         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18389         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18390         * tools/gst-complete.c: (main):
18391         * tools/gst-compprep.c: (main):
18392         * tools/gst-inspect.c: (print_element_properties_info):
18393         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18394         * tools/gst-xmlinspect.c: (print_element_properties):
18395         GCC 4 fixen.
18396         
18397 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18398
18399         * gst/gstplugin.c: (gst_plugin_check_module),
18400         (gst_plugin_check_file), (gst_plugin_load_file):
18401             apply patch from #172526 to make register work on MacOSX
18402
18403 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18404
18405         * docs/gst/tmpl/gstconfig.sgml:
18406         * gst/gstconfig.h.in:
18407           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18408         * testsuite/debug/printf_extension.c: (main):
18409           Do not use GST_PTR_FORMAT on pointers to types with
18410           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18411         * testsuite/elements/property.h:
18412           use correct printf format
18413
18414 2005-05-02  Wim Taymans  <wim@fluendo.com>
18415
18416         * docs/design/draft-push-pull.txt:
18417         * docs/design/draft-query.txt:
18418         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18419         (gst_basesrc_start):
18420         Added draft for new query API.
18421         Added draft for better selecting scheduling methods.
18422         Make basesrc ignore length if the subclass does not support
18423         it.
18424
18425 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18426
18427         * gst/Makefile.am:
18428           possible fixes for automake-1.5 - _LIBADD is reserved
18429
18430 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18431
18432         * docs/faq/Makefile.am:
18433         * docs/manual/Makefile.am:
18434         * docs/manuals.mak:
18435         * docs/pwg/Makefile.am:
18436         * gst/Makefile.am:
18437           possible fixes for automake-1.5
18438
18439 2005-04-28  Wim Taymans  <wim@fluendo.com>
18440
18441         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18442         (gst_basesink_pad_getcaps), (gst_basesink_init),
18443         (gst_basesink_do_sync):
18444         * gst/gstclock.c: (gst_clock_entry_new):
18445         * gst/gstevent.c: (gst_event_discont_get_value):
18446         * gst/gstpipeline.c: (pipeline_bus_handler),
18447         (gst_pipeline_change_state):
18448         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18449         Better debugging of clocking info.
18450         Allow NULL values when getting discont values.
18451
18452 2005-04-27  Wim Taymans  <wim@fluendo.com>
18453
18454         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18455         * check/gst/gstpad.c: (gst_pad_suite):
18456         Increase timeout for checks.
18457
18458 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18459
18460         * check/Makefile.am:
18461           fix the broken rule for cleanup.  Apparently this rule is
18462           only needed on FC2, so maybe this warrants further autotool
18463           inspection.
18464
18465 2005-04-26  Wim Taymans  <wim@fluendo.com>
18466
18467         * gst/gsttrashstack.h:
18468         Ooohh. a nasty one! After having a failed pop() from the stack,
18469         it's possible that the stack is empty. In that case, don't
18470         follow the NULL pointer.
18471
18472 2005-04-25  Wim Taymans  <wim@fluendo.com>
18473
18474         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18475         (gst_pad_set_checkgetrange_function),
18476         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18477         (gst_pad_check_pull_range), (gst_pad_pull_range),
18478         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18479         (gst_pad_pause_task), (gst_pad_stop_task):
18480         * gst/gstplugin.c: (gst_plugin_load):
18481         * gst/gstplugin.h:
18482         Remove gst_library_load as it does more harm than good with
18483         the new g_module flags.
18484         Revert bogus caps template check in pad linking, pad caps
18485         are important when linking not the template, which is more
18486         general than the current caps.
18487
18488 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18489
18490         * gst/autoplug/.cvsignore:
18491         * gst/autoplug/Makefile.am:
18492         * gst/autoplug/gstsearchfuncs.c:
18493         * gst/autoplug/gstsearchfuncs.h:
18494         * gst/autoplug/gstspider.c:
18495         * gst/autoplug/gstspider.h:
18496         * gst/autoplug/gstspideridentity.c:
18497         * gst/autoplug/gstspideridentity.h:
18498         * gst/autoplug/spidertest.c:
18499           Die, spider, die.
18500
18501 2005-04-25  Wim Taymans  <wim@fluendo.com>
18502
18503         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18504         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18505         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18506         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18507         * gst/gstpad.h:
18508         Added stubs for unimplemented functions. 
18509
18510 2005-04-24  David Schleef  <ds@schleef.org>
18511
18512         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18513         please fix.
18514
18515 2005-04-24  David Schleef  <ds@schleef.org>
18516
18517         Convert everything from GstAtomicInt to g_atomic_int_*, and
18518         remove gstatomic.
18519         * gst/Makefile.am:
18520         * gst/gstatomic.c:
18521         * gst/gstatomic.h:
18522         * gst/gstatomic_impl.h:
18523         * gst/gstbuffer.c:
18524         * gst/gstcaps.c:
18525         * gst/gstcaps.h:
18526         * gst/gstclock.c:
18527         * gst/gstclock.h:
18528         * gst/gstdata.c:
18529         * gst/gstdata.h:
18530         * gst/gstdata_private.h:
18531         * gst/gstevent.c:
18532         * gst/gstinfo.c:
18533         * gst/gstinfo.h:
18534         * gst/gstmessage.c:
18535         * gst/gstobject.c:
18536         * gst/gstobject.h:
18537         * gst/gststructure.c:
18538         * gst/gststructure.h:
18539         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18540         * gst/gstutils.h:
18541
18542 2005-04-24  David Schleef  <ds@schleef.org>
18543
18544         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18545         make the regressions tests work.  Remove some code that is no
18546         longer true.
18547         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18548         Disable warning for pads without templates.
18549
18550 2005-04-24  David Schleef  <ds@schleef.org>
18551
18552         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18553         functions that handle filtered links.
18554         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18555         removed functions.
18556         * gst/gstutils.c: Fix/remove utility functions that handle
18557         filtered caps.
18558         * gst/gstutils.h:
18559         * gst/gstvalue.c: Add serialization/deserialization of caps
18560         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18561         requires fixing so that the filter caps notation creates
18562         a capsfilter element and sets the filter_caps property.  I
18563         think everyone probably wants to keep the shorthand notation.
18564         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18565         * docs/gst/tmpl/gstpad.sgml:
18566
18567         * gst/elements/gstelements.c: Register capsfilter element.
18568         * gst/Makefile.am: fix spacing
18569         * docs/random/ds/0.9-suggested-changes: random
18570
18571 2005-04-23  David Schleef  <ds@schleef.org>
18572
18573         * gst/elements/Makefile.am:
18574         * gst/elements/gstcapsfilter.c: New element that acts like an
18575         identity, but filters caps.  Will eventually replace filtered
18576         caps in pad linking.
18577         * gst/gstutils.c: (gst_element_create_all_pads): New function
18578         to create all the ALWAYS pads that are registered with an
18579         element class.  This functionality should eventually be
18580         merged in with GstElement initialization.
18581         * gst/gstutils.h:
18582         * testsuite/trigger/README: part of trigger test code that should
18583         have been checked in a long time ago.
18584
18585 2005-04-23  David Schleef  <ds@schleef.org>
18586
18587         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18588         needed with new versions of libtool (nobody will confirm this),
18589         and hard to carry around.
18590         * gst/autoplug/Makefile.am:
18591         * gst/base/Makefile.am:
18592         * gst/elements/Makefile.am:
18593         * gst/indexers/Makefile.am:
18594         * gst/schedulers/Makefile.am:
18595         * libs/gst/bytestream/Makefile.am:
18596         * libs/gst/control/Makefile.am:
18597         * libs/gst/dataprotocol/Makefile.am:
18598         * libs/gst/getbits/Makefile.am:
18599
18600 2005-04-21  Wim Taymans  <wim@fluendo.com>
18601
18602         * docs/design/draft-push-pull.txt:
18603         * docs/design/part-MT-refcounting.txt:
18604         * docs/design/part-TODO.txt:
18605         * docs/design/part-caps.txt:
18606         * docs/design/part-events.txt:
18607         * docs/design/part-gstbus.txt:
18608         * docs/design/part-gstpipeline.txt:
18609         * docs/design/part-messages.txt:
18610         * docs/design/part-push-pull.txt:
18611         * docs/design/part-query.txt:
18612         Some more docs.
18613
18614 2005-04-21  Wim Taymans  <wim@fluendo.com>
18615
18616         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18617         (gst_message_new), (gst_message_new_error),
18618         (gst_message_new_warning), (gst_message_new_tag),
18619         (gst_message_new_state_changed), (gst_message_new_application),
18620         (gst_message_get_structure):
18621         * gst/gstmessage.h:
18622         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18623         (gst_structure_copy_conditional):
18624         Use parent refcount in GstMessage to ensure GstStructure
18625         consistency.
18626         Cleaned up headers a bit.
18627         
18628
18629 2005-04-20  Wim Taymans  <wim@fluendo.com>
18630
18631         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18632         (gst_basesink_pad_getcaps), (gst_basesink_init),
18633         (gst_basesink_chain_unlocked):
18634         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18635         (gst_type_find_helper):
18636         * gst/elements/gsttypefindelement.c:
18637         (gst_type_find_element_have_type), (gst_type_find_element_init),
18638         (stop_typefinding), (gst_type_find_element_handle_event),
18639         (find_suggest), (gst_type_find_element_chain),
18640         (gst_type_find_element_checkgetrange),
18641         (gst_type_find_element_getrange), (do_typefind),
18642         (gst_type_find_element_activate):
18643         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18644         (gst_buffer_default_free), (gst_buffer_default_copy),
18645         (gst_buffer_set_caps):
18646         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18647         (gst_caps_replace):
18648         * gst/gstmessage.c: (gst_message_new),
18649         (gst_message_new_state_changed):
18650         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18651         (gst_pad_set_checkgetrange_function),
18652         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18653         (gst_pad_set_caps), (gst_pad_check_pull_range),
18654         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18655         * gst/gstpad.h:
18656         * gst/gsttypefind.c: (gst_type_find_register):
18657         Make gst_caps_replace() work like other _replace() functions.
18658         Use _caps_replace() where possible.
18659         Make sure _message_new() initialises its field.
18660         Add gst_static_pad_template_get_caps()
18661
18662
18663 2005-04-18  Andy Wingo  <wingo@pobox.com>
18664
18665         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18666         on the peer, not the pad. I think that was a typo. Pass an extra
18667         arg to see if random access is possible. Activate the pads as
18668         PULL_RANGE if possible.
18669
18670         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18671
18672         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18673         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18674         to PROP_....
18675
18676 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18677
18678         * docs/faq/using.xml:
18679           Add note on gstreamer-properties (#154996).
18680
18681 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18682
18683         * docs/random/bbb/optional-properties:
18684           Some analysis on optional properties.
18685
18686 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18687
18688         * docs/gst/tmpl/gstelementfactory.sgml:
18689         * gst/gstelement.h:
18690         * gst/gstelementfactory.c: (gst_element_factory_init),
18691         (gst_element_factory_cleanup), (gst_element_register),
18692         (__gst_element_factory_add_static_pad_template),
18693         (gst_element_factory_get_static_pad_templates),
18694         (gst_element_factory_can_src_caps),
18695         (gst_element_factory_can_sink_caps):
18696         * gst/registries/Makefile.am:
18697         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18698         (gst_xml_registry_class_init), (gst_xml_registry_init),
18699         (gst_xml_registry_new), (gst_xml_registry_set_property),
18700         (gst_xml_registry_get_property), (get_time), (make_dir),
18701         (gst_xml_registry_get_perms_func),
18702         (plugin_times_older_than_recurse), (plugin_times_older_than),
18703         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18704         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18705         (add_to_char_array), (read_string), (read_uint), (read_enum),
18706         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18707         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18708         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18709         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18710         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18711         (gst_xml_registry_rebuild):
18712         * gst/registries/gstlibxmlregistry.h:
18713         * tools/gst-compprep.c: (main):
18714         * tools/gst-inspect.c: (print_pad_templates_info):
18715         * tools/gst-xmlinspect.c: (print_element_info):
18716           Use libxml2 for registry parsing, use staticpadtemplates in
18717           elementfactories. Makes gst_init() +/- 10x faster.
18718
18719 2005-04-12  Wim Taymans  <wim@fluendo.com>
18720
18721         * gst/base/Makefile.am:
18722         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18723         (gst_basesink_pad_getcaps), (gst_basesink_init),
18724         (gst_basesink_event), (gst_basesink_change_state):
18725         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18726         (gst_basesrc_init), (gst_basesrc_query),
18727         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18728         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18729         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18730         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18731         (gst_basesrc_stop), (gst_basesrc_activate),
18732         (gst_basesrc_change_state):
18733         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18734         (helper_find_suggest), (gst_type_find_helper):
18735         * gst/base/gsttypefindhelper.h:
18736         * gst/elements/Makefile.am:
18737         * gst/elements/gstelements.c:
18738         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18739         (gst_fakesink_get_times), (gst_fakesink_event),
18740         (gst_fakesink_preroll), (gst_fakesink_render):
18741         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18742         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18743         (gst_fakesrc_get_property), (gst_fakesrc_create),
18744         (gst_fakesrc_start), (gst_fakesrc_stop):
18745         * gst/elements/gstfakesrc.h:
18746         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18747         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18748         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18749         (gst_filesrc_create_read), (gst_filesrc_create),
18750         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18751         (gst_filesrc_start):
18752         * gst/elements/gsttypefindelement.c:
18753         (gst_type_find_element_have_type), (gst_type_find_element_init),
18754         (start_typefinding), (stop_typefinding), (push_buffer_store),
18755         (gst_type_find_element_handle_event),
18756         (gst_type_find_element_chain),
18757         (gst_type_find_element_checkgetrange),
18758         (gst_type_find_element_getrange), (do_typefind),
18759         (gst_type_find_element_activate),
18760         (gst_type_find_element_change_state):
18761         * gst/elements/gsttypefindelement.h:
18762         * gst/gstpipeline.c: (pipeline_bus_handler):
18763         Added typefind helper.
18764         Small preroll fix in the base sink.
18765         Disable typefind code in basesrc.
18766         Crude port of typefindelement.
18767         Fakesrc cleanups.
18768
18769
18770 2005-04-11  Wim Taymans  <wim@fluendo.com>
18771
18772         * check/gst/gstbus.c: (gstbus_suite):
18773         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18774         * check/gstcheck.h:
18775           Fix up the timeout so that the test does not fail.
18776
18777 2005-04-06  Wim Taymans  <wim@fluendo.com>
18778
18779         * gst/base/README:
18780         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18781         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18782         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18783         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18784         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18785         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18786         (gst_basesrc_stop), (gst_basesrc_activate),
18787         (gst_basesrc_change_state), (basesrc_find_peek),
18788         (basesrc_find_suggest), (gst_basesrc_type_find):
18789         * gst/base/gstbasesrc.h:
18790         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18791         (gst_filesrc_class_init), (gst_filesrc_init),
18792         (gst_filesrc_finalize), (gst_filesrc_set_location),
18793         (gst_filesrc_set_property), (gst_filesrc_get_property),
18794         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18795         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18796         (gst_filesrc_create_read), (gst_filesrc_create),
18797         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18798         * gst/elements/gstfilesrc.h:
18799         * gst/gstelement.c: (gst_element_get_state_func),
18800         (gst_element_lost_state), (gst_element_pads_activate):
18801         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18802         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18803         (gst_pad_pull_range):
18804         * gst/gstpad.h:
18805         More work on the generic source base class, implement seeking,
18806         query.
18807         Make filesrc extend the base source class.
18808         Added gst_pad_set_checkgetrange_function to GstPad.
18809
18810 2005-04-06  Andy Wingo  <wingo@pobox.com>
18811
18812         * pkgconfig/gstreamer-base.pc.in:
18813         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18814
18815         * pkgconfig/Makefile.am:
18816         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18817
18818 2005-04-04  Wim Taymans  <wim@fluendo.com>
18819
18820         * gst/base/Makefile.am:
18821         * gst/base/README:
18822         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18823         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18824         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18825         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18826         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18827         (gst_basesrc_base_init), (gst_basesrc_class_init),
18828         (gst_basesrc_init), (gst_basesrc_get_formats),
18829         (gst_basesrc_get_query_types), (gst_basesrc_query),
18830         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18831         (gst_basesrc_set_property), (gst_basesrc_get_property),
18832         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18833         (gst_basesrc_loop), (gst_basesrc_activate),
18834         (gst_basesrc_change_state):
18835         * gst/base/gstbasesrc.h:
18836         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18837         (gst_fakesrc_class_init), (gst_fakesrc_init),
18838         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18839         (gst_fakesrc_get_property), (gst_fakesrc_create):
18840         * gst/elements/gstfakesrc.h:
18841         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18842         (gst_filesrc_open_file), (gst_filesrc_loop),
18843         (gst_filesrc_activate), (filesrc_find_peek),
18844         (gst_filesrc_type_find):
18845         Made base source class, make fakesrc extend it.
18846         Add comments to basesink class.
18847         Some filesrc cleanup.
18848
18849 2005-03-31  David Schleef  <ds@schleef.org>
18850
18851         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18852         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18853         expected to link against libgstreamer.
18854         * gst/base/Makefile.am: link against libgstreamer
18855         * gst/elements/Makefile.am: same
18856
18857 2005-03-31  Andy Wingo  <wingo@pobox.com>
18858
18859         * tests/instantiate/Makefile.am:
18860         * tests/instantiate/caps.c: Add test to test speed of caps copy
18861         and free.
18862
18863         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18864         GMemChunk to be fair.
18865
18866         * gst/gsttrashstack.h: Remove warning about using the fallback
18867         trash stack implementation, it's still faster than malloc.
18868
18869 2005-03-30  Andy Wingo  <wingo@pobox.com>
18870
18871         * tests/complexity.c: Add a copyright.
18872
18873 2005-03-31  Wim Taymans  <wim@fluendo.com>
18874
18875         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18876         (gst_base_transform_class_init), (gst_base_transform_init),
18877         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18878         (gst_base_transform_get_property),
18879         (gst_base_transform_sink_activate),
18880         (gst_base_transform_src_activate),
18881         (gst_base_transform_change_state):
18882         * gst/base/gstbasetransform.h:
18883         * gst/elements/gstidentity.c: (gst_identity_class_init),
18884         (gst_identity_event), (gst_identity_check_perfect),
18885         (gst_identity_transform), (gst_identity_start),
18886         (gst_identity_stop):
18887         Added start/stop methods to transform base class so subclasses 
18888         don't need to deal with state changes even.
18889
18890 2005-03-31  Wim Taymans  <wim@fluendo.com>
18891
18892         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18893         (gst_event_new_discontinuous), (gst_event_discont_get_value):
18894         * gst/gstevent.h:
18895         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18896         (gst_pad_pull_range):
18897         Added rate to the discont event to prepare for variable speed
18898         and reverse playback.
18899
18900 2005-03-29  David Schleef  <ds@schleef.org>
18901
18902         * configure.ac:
18903         * testsuite/trigger/Makefile.am:
18904         * testsuite/trigger/trigger.c: A little example program to show
18905         how trigger-based elements can work.
18906
18907 2005-03-29  Wim Taymans  <wim@fluendo.com>
18908
18909         * gst/base/Makefile.am:
18910         * gst/base/README:
18911         * gst/base/gstbasesink.c: (gst_basesink_get_type),
18912         (gst_basesink_base_init), (gst_basesink_class_init),
18913         (gst_basesink_pad_getcaps), (gst_basesink_init),
18914         (gst_basesink_activate), (gst_basesink_change_state):
18915         * gst/base/gstbasesink.h:
18916         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18917         (gst_base_transform_base_init), (gst_base_transform_finalize),
18918         (gst_base_transform_class_init), (gst_base_transform_init),
18919         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18920         (gst_base_transform_event), (gst_base_transform_getrange),
18921         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18922         (gst_base_transform_set_property),
18923         (gst_base_transform_get_property),
18924         (gst_base_transform_sink_activate),
18925         (gst_base_transform_src_activate),
18926         (gst_base_transform_change_state):
18927         * gst/base/gstbasetransform.h:
18928         * gst/elements/gstidentity.c: (gst_identity_finalize),
18929         (gst_identity_class_init), (gst_identity_init),
18930         (gst_identity_event), (gst_identity_check_perfect),
18931         (gst_identity_transform), (gst_identity_set_property),
18932         (gst_identity_get_property), (gst_identity_change_state):
18933         * gst/elements/gstidentity.h:
18934         * gst/gstelement.c: (gst_element_get_state_func),
18935         (gst_element_lost_state), (gst_element_pads_activate):
18936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18937         (gst_pad_check_pull_range), (gst_pad_pull_range):
18938         * gst/gstpad.h:
18939         Simplify pad activation.
18940         Added function to check if pull_range can be performed.
18941         Error out when pulling inactive or flushing pads.
18942         Removed const from refcounted types as it does not make sense.
18943         Simplify pad templates in basesink
18944         Added base class for simple 1-to-1 transforms.
18945         Make identity subclass the base transform.
18946
18947 2005-03-29  Andy Wingo  <wingo@pobox.com>
18948
18949         * docs/libs/gstreamer-libs-overrides.txt: 
18950         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18951         really don't understand what's going on, but like whatever. I want
18952         green buildbot!
18953
18954         * docs/gst/Makefile.am:
18955         * docs/libs/Makefile.am: Dist the overrides files.
18956
18957         * check/Makefile.am (clean-local): Remove .libs directories.
18958
18959         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18960         elements to EXTRA_DIST, so po/ files are happy.
18961
18962         * po/POTFILES.in: Er, remove it here.
18963
18964         * po/POTFILES: Remove gstspider.c.
18965
18966         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18967
18968         * docs/libs/gstreamer-libs-docs.sgml: 
18969         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18970         bytestream.
18971
18972         * tests/complexity.c (main): Set the length of the preroll queue
18973         on the sinks to prevent a lockup.
18974
18975         * libs/gst/dataprotocol/Makefile.am: 
18976         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18977         the same as the one in check/gst-libs/gdp.c.
18978
18979         * po/, docs/gst/: Commit automatic changes to docs and po files.
18980
18981         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18982         the versioned libgstbase.
18983
18984         * check/Makefile.am: Depend on an unversioned gst-register, seems
18985         to make autoconf happier.
18986
18987         * gst/base/Makefile.am: Make libgstbase a versioned lib.
18988
18989 2005-03-28  Wim Taymans  <wim@fluendo.com>
18990
18991         * configure.ac:
18992         * docs/design/part-gstelement.txt:
18993         * docs/design/part-negotiation.txt:
18994         * docs/design/part-preroll.txt:
18995         * docs/design/part-scheduling.txt:
18996         * docs/design/part-states.txt:
18997         * gst/Makefile.am:
18998         * gst/base/Makefile.am:
18999         * gst/base/README:
19000         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19001         (gst_basesink_base_init), (gst_basesink_class_init),
19002         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19003         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19004         (gst_basesink_set_pad_functions),
19005         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19006         (gst_basesink_set_property), (gst_basesink_get_property),
19007         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19008         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19009         (gst_basesink_preroll_queue_push),
19010         (gst_basesink_preroll_queue_empty),
19011         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19012         (gst_basesink_event), (gst_basesink_get_times),
19013         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19014         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19015         (gst_basesink_loop), (gst_basesink_activate),
19016         (gst_basesink_change_state):
19017         * gst/base/gstbasesink.h:
19018         * gst/elements/Makefile.am:
19019         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19020         (gst_fakesink_class_init), (gst_fakesink_init),
19021         (gst_fakesink_set_property), (gst_fakesink_get_property),
19022         (gst_fakesink_get_times), (gst_fakesink_event),
19023         (gst_fakesink_preroll), (gst_fakesink_render),
19024         (gst_fakesink_change_state):
19025         * gst/elements/gstfakesink.h:
19026         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19027         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19028         * gst/gstelement.c: (gst_element_add_pad),
19029         (gst_element_get_state_func), (gst_element_abort_state),
19030         (gst_element_commit_state), (gst_element_lost_state),
19031         (gst_element_set_state), (gst_element_pads_activate):
19032         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19033         * gst/gstpipeline.c: (gst_pipeline_send_event),
19034         (gst_pipeline_change_state):
19035         Added state change code.
19036         Added/updated docs.
19037         Added sink base class, make fakesink extend the base class.
19038         Small cleanups in GstPipeline.
19039
19040 2005-03-26  David Schleef  <ds@schleef.org>
19041
19042         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19043         is broken and should be implemented in a different library.
19044         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19045         * gst/gst.h: remove gstcpu.h
19046         * gst/gstcpu.c: remove
19047         * gst/gstcpu.h: remove
19048         * gst/Makefile.am.future: Remove this file.  It's ancient.
19049
19050 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19051
19052         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19053         (gst_bin_send_event):
19054           Add default event/set_manager handlers. The set_manager handler
19055           takes care that the manager is distributed over kids that were
19056           already in the bin before the manager was set. The event handler
19057           is a utility virtual function that sends the event over all sinks,
19058           so that gst_element_send_event (bin, event); has the expected
19059           behaviour.
19060         * gst/gstpad.c: (gst_pad_event_default):
19061           Re-install default event handling for discontinuities, so that
19062           seeking works without requiring hacks in applications or extra
19063           code in sinks.
19064         * gst/gstpipeline.c: (gst_pipeline_class_init),
19065         (gst_pipeline_send_event):
19066           Half hack, half utility: set a pipeline to PAUSED for seek events,
19067           since that is the only way we can guarantee a/v sync. Means that
19068           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19069           and it "just works".
19070
19071 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19072
19073         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19074           Lock/unlock mismatch.
19075
19076 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19077
19078         * docs/faq/gst-uninstalled:
19079           add gst-plugins-base
19080         * docs/gst/Makefile.am:
19081           don't error out until docs are fixed
19082         * docs/gst/gstreamer.types:
19083           remove thread
19084
19085 2005-03-22  Wim Taymans  <wim@fluendo.com>
19086
19087         * check/Makefile.am:
19088         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19089         * gst/gststructure.c: (gst_structure_set_valist),
19090         (gst_structure_copy_conditional):
19091         Activated more tests.
19092         Added message test.
19093         Added G_TYPE_POINTER to GstStructure.
19094         
19095
19096 2005-03-22  Wim Taymans  <wim@fluendo.com>
19097
19098         * docs/design/part-TODO.txt:
19099         * docs/design/part-events.txt:
19100         * docs/design/part-gstbin.txt:
19101         * docs/design/part-gstbus.txt:
19102         * docs/design/part-gstpipeline.txt:
19103         * docs/design/part-messages.txt:
19104         * gst/gstbus.c:
19105         * gst/gstmessage.c:
19106         Docs updates
19107
19108 2005-03-21  Wim Taymans  <wim@fluendo.com>
19109
19110         * gst/gstbus.c: (gst_bus_post):
19111         Fix copy-and-paste error.
19112
19113 2005-03-21  Wim Taymans  <wim@fluendo.com>
19114
19115         * check/Makefile.am:
19116         * gst/Makefile.am:
19117         * gst/elements/Makefile.am:
19118         * gst/elements/gstelements.c:
19119         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19120         (gst_fakesink_event), (gst_fakesink_chain):
19121         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19122         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19123         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19124         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19125         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19126         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19127         (gst_fakesrc_loop), (gst_fakesrc_activate),
19128         (gst_fakesrc_change_state):
19129         * gst/elements/gstfakesrc.h:
19130         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19131         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19132         (gst_filesrc_open_file), (gst_filesrc_loop),
19133         (gst_filesrc_activate), (gst_filesrc_change_state),
19134         (filesrc_find_peek), (filesrc_find_suggest),
19135         (gst_filesrc_type_find):
19136         * gst/elements/gstidentity.c: (gst_identity_finalize),
19137         (gst_identity_class_init), (gst_identity_init),
19138         (gst_identity_proxy_getcaps), (identity_queue_push),
19139         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19140         (gst_identity_getrange), (gst_identity_chain),
19141         (gst_identity_sink_loop), (gst_identity_src_loop),
19142         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19143         (gst_identity_set_property), (gst_identity_get_property),
19144         (gst_identity_change_state):
19145         * gst/elements/gstidentity.h:
19146         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19147         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19148         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19149         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19150         (gst_tee_sink_activate):
19151         * gst/elements/gsttee.h:
19152         * gst/gst.c: (gst_register_core_elements), (init_post):
19153         * gst/gst.h:
19154         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19155         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19156         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19157         (gst_bin_change_state):
19158         * gst/gstbin.h:
19159         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19160         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19161         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19162         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19163         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19164         (bus_watch_callback), (bus_watch_destroy),
19165         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19166         (poll_timeout), (gst_bus_poll):
19167         * gst/gstbus.h:
19168         * gst/gstcaps.h:
19169         * gst/gstdata.h:
19170         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19171         (gst_element_post_message), (gst_element_message_full),
19172         (gst_element_get_state_func), (gst_element_get_state),
19173         (gst_element_abort_state), (gst_element_commit_state),
19174         (gst_element_lost_state), (gst_element_set_state),
19175         (gst_element_pads_activate), (gst_element_change_state),
19176         (gst_element_dispose), (gst_element_set_manager_func),
19177         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19178         (gst_element_set_manager), (gst_element_get_manager),
19179         (gst_element_set_bus), (gst_element_get_bus),
19180         (gst_element_set_scheduler), (gst_element_get_scheduler):
19181         * gst/gstelement.h:
19182         * gst/gstevent.c: (gst_event_new_segment_seek),
19183         (gst_event_new_flush):
19184         * gst/gstevent.h:
19185         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19186         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19187         (gst_message_new_eos), (gst_message_new_error),
19188         (gst_message_new_warning), (gst_message_new_tag),
19189         (gst_message_new_state_changed), (gst_message_new_application),
19190         (gst_message_get_structure), (gst_message_parse_tag),
19191         (gst_message_parse_state_changed), (gst_message_parse_error),
19192         (gst_message_parse_warning):
19193         * gst/gstmessage.h:
19194         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19195         (gst_real_pad_set_property), (gst_pad_set_active),
19196         (gst_pad_is_active), (gst_pad_set_blocked_async),
19197         (gst_pad_set_blocked), (gst_pad_is_blocked),
19198         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19199         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19200         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19201         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19202         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19203         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19204         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19205         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19206         (gst_pad_set_caps), (gst_pad_configure_sink),
19207         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19208         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19209         (gst_real_pad_dispose), (gst_real_pad_finalize),
19210         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19211         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19212         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19213         * gst/gstpad.h:
19214         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19215         (pipeline_bus_handler), (gst_pipeline_change_state),
19216         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19217         * gst/gstpipeline.h:
19218         * gst/gstprobe.h:
19219         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19220         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19221         (gst_queue_link_src), (gst_queue_bufferalloc),
19222         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19223         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19224         (gst_queue_loop), (gst_queue_handle_src_event),
19225         (gst_queue_handle_src_query), (gst_queue_src_activate),
19226         (gst_queue_change_state):
19227         * gst/gstqueue.h:
19228         * gst/gstscheduler.c: (gst_scheduler_init),
19229         (gst_scheduler_dispose), (gst_scheduler_create_task),
19230         (gst_scheduler_factory_create):
19231         * gst/gstscheduler.h:
19232         * gst/gststructure.c: (gst_structure_get_type),
19233         (gst_structure_copy_conditional):
19234         * gst/gststructure.h:
19235         * gst/gsttaginterface.h:
19236         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19237         (gst_task_init), (gst_task_dispose), (gst_task_create),
19238         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19239         (gst_task_pause):
19240         * gst/gsttask.h:
19241         * gst/gstthread.c:
19242         * gst/gstthread.h:
19243         * gst/gsttypes.h:
19244         * gst/schedulers/Makefile.am:
19245         * gst/schedulers/cothreads_compat.h:
19246         * gst/schedulers/entryscheduler.c:
19247         * gst/schedulers/faircothreads.c:
19248         * gst/schedulers/faircothreads.h:
19249         * gst/schedulers/fairscheduler.c:
19250         * gst/schedulers/gstbasicscheduler.c:
19251         * gst/schedulers/gstoptimalscheduler.c:
19252         * gst/schedulers/gthread-cothreads.h:
19253         * gst/schedulers/threadscheduler.c:
19254         (gst_thread_scheduler_task_get_type),
19255         (gst_thread_scheduler_task_class_init),
19256         (gst_thread_scheduler_task_init),
19257         (gst_thread_scheduler_task_start),
19258         (gst_thread_scheduler_task_stop),
19259         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19260         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19261         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19262         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19263         (plugin_init):
19264         * libs/gst/Makefile.am:
19265         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19266         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19267         (gst_file_pad_parent_set):
19268         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19269         (gst_dp_event_from_packet):
19270         * tests/complexity.c: (main):
19271         * tests/mass_elements.c: (main):
19272         * testsuite/states/locked.c: (message_received), (main):
19273         * testsuite/states/parent.c: (main):
19274         * tools/gst-inspect.c: (print_element_flag_info),
19275         (print_implementation_info), (print_pad_info):
19276         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19277         (main):
19278         * tools/gst-md5sum.c: (event_loop), (main):
19279         * tools/gst-typefind.c: (main):
19280         * tools/gst-xmlinspect.c: (print_element_info):
19281         Next big merge.
19282         Added GstBus for mainloop integration.
19283         Added GstMessage for sending notifications on the bus.
19284         Added GstTask as an abstraction for pipeline entry points.
19285         Removed GstThread.
19286         Removed Schedulers.
19287         Simplified GstQueue for multithreaded core.
19288         Made _link threadsafe, removed old capsnego.
19289         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19290         Added pad blocking functions.
19291         Reworked scheduling functions in GstPad to prepare for
19292         scheduling updates soon.
19293         Moved events out of data stream.
19294         Simplified GstEvent types.
19295         Added return values to push/pull.
19296         Removed clocking from GstElement.
19297         Added prototypes for state change function for next merge.
19298         Removed iterate from bins and state change management.
19299         Fixed some elements, disabled others for now.
19300         Fixed -inspect and -launch.
19301         Added check for GstBus.
19302
19303 2005-03-10  Wim Taymans  <wim@fluendo.com>
19304
19305         * docs/design/part-MT-refcounting.txt:
19306         * docs/design/part-clocks.txt:
19307         * docs/design/part-gstelement.txt:
19308         * docs/design/part-gstobject.txt:
19309         * docs/design/part-standards.txt:
19310         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19311         (gst_bin_remove_func), (gst_bin_remove):
19312         * gst/gstbin.h:
19313         * gst/gstbuffer.c:
19314         * gst/gstcaps.h:
19315         * testsuite/clock/clock1.c: (main):
19316         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19317         (main):
19318         * testsuite/dlopen/loadgst.c: (do_test):
19319         * testsuite/refcounting/bin.c: (add_remove_test1),
19320         (add_remove_test2), (main):
19321         * testsuite/refcounting/element.c: (main):
19322         * testsuite/refcounting/element_pad.c: (main):
19323         * testsuite/refcounting/pad.c: (main):
19324         * tools/gst-launch.c: (sigint_handler_sighandler):
19325         * tools/gst-typefind.c: (main):
19326         Doc updates.
19327         Added doc about clock.
19328         removed gst_bin_iterate_recurse_up(), marked methods
19329         for removal.
19330         Fix more testsuites.
19331
19332 2005-03-09  Wim Taymans  <wim@fluendo.com>
19333
19334         * gst/gstpad.c: (gst_pad_get_direction),
19335         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19336         (gst_pad_collect_valist):
19337         * testsuite/bins/interface.c: (main):
19338         * testsuite/caps/audioscale.c: (test_caps):
19339         * testsuite/caps/caps.c: (test1), (test2), (test3):
19340         * testsuite/caps/deserialize.c: (main):
19341         * testsuite/caps/enumcaps.c: (main):
19342         * testsuite/caps/filtercaps.c: (main):
19343         * testsuite/caps/intersect2.c: (main):
19344         * testsuite/caps/random.c: (main):
19345         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19346         * testsuite/caps/sets.c: (check_caps):
19347         * testsuite/caps/simplify.c: (check_caps), (main):
19348         * testsuite/caps/subtract.c: (check_caps):
19349         Fix _pad_get_direction wrt ghostpads.
19350         Fix caps testsuite.
19351
19352 2005-03-09  Wim Taymans  <wim@fluendo.com>
19353
19354         * check/Makefile.am:
19355         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19356         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19357         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19358         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19359         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19360         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19361         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19362         (bin_element_is_sink), (gst_bin_iterate_sinks),
19363         (gst_bin_iterate_all_by_interface):
19364         * gst/gstbin.h:
19365         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19366         (gst_element_change_state), (gst_element_dispose),
19367         (gst_element_finalize), (gst_element_set_loop_function):
19368         * gst/gstelement.h:
19369         * gst/gstiterator.c: (find_custom_fold_func):
19370         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19371         (gst_pad_collectv), (gst_pad_collect_valist),
19372         (gst_pad_template_new):
19373         * gst/gstpipeline.c: (gst_pipeline_class_init),
19374         (gst_pipeline_dispose), (gst_pipeline_set_property),
19375         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19376         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19377         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19378         * gst/gstutils.h:
19379         * gst/schedulers/entryscheduler.c:
19380         * gst/schedulers/gstbasicscheduler.c:
19381         (gst_basic_scheduler_cothreaded_chain),
19382         (gst_basic_scheduler_chain_add_element):
19383         * testsuite/bins/interface.c: (main):
19384         Added GstBin test.
19385         Added GstSystemClock test.
19386         Implemented clock distribution code in GstBin.
19387         Implemented iterate sinks method for future use.
19388         Rearranged gstelement.h
19389         Fix GstIterator comparison bug.
19390         Moved some code to GstPipeline, mostly clocking related.
19391
19392 2005-03-09  Wim Taymans  <wim@fluendo.com>
19393
19394         * configure.ac:
19395         * gst/gst_private.h:
19396         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19397         (gst_bin_remove_func), (gst_bin_remove),
19398         (gst_bin_get_by_name_recurse_up):
19399         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19400         (gst_clock_id_compare_func), (gst_clock_id_wait),
19401         (gst_clock_id_wait_async), (gst_clock_init),
19402         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19403         * gst/gstelement.h:
19404         * gst/gstinfo.c: (_gst_debug_init):
19405         * gst/gstobject.h:
19406         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19407         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19408         * gst/gstpad.h:
19409         Bump version number, we're now 0.9.0
19410         Add future debugging category.
19411         Fix NULL _unref() in _get_by_name_recurse_up
19412         Rearrange gstpad.h.
19413         Update some docs.
19414
19415 2005-03-08  Wim Taymans  <wim@fluendo.com>
19416
19417         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19418         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19419         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19420         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19421         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19422         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19423         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19424         * gst/elements/gstidentity.c: (gst_identity_class_init):
19425         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19426         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19427         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19428         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19429         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19430         (gst_tee_link):
19431         * gst/gstelement.c: (gst_element_class_init),
19432         (gst_element_base_class_init), (gst_element_init),
19433         (gst_element_get_random_pad), (gst_element_wait_state_change),
19434         (gst_element_change_state), (gst_element_dispose),
19435         (gst_element_finalize), (gst_element_set_loop_function):
19436         * gst/gstelement.h:
19437         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19438         * gst/gstthread.c: (gst_thread_class_init),
19439         (gst_thread_release_children_locks), (gst_thread_change_state):
19440         * gst/schedulers/gstbasicscheduler.c:
19441         (gst_basic_scheduler_loopfunc_wrapper),
19442         (gst_basic_scheduler_chain_wrapper),
19443         (gst_basic_scheduler_src_wrapper),
19444         (gst_basic_scheduler_remove_element):
19445         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19446         Remove threadsafe properties. Fix elements because GObject
19447         complains when installing a property before declaring a
19448         set/get_property handler.
19449         Rearrange gstelement.h file, use STATE macros for state locks.
19450         Free mutexes in the finalize method instead of dispose.
19451
19452 2005-03-08  Wim Taymans  <wim@fluendo.com>
19453
19454         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19455         * gst/gstthread.c: (gst_thread_release_children_locks):
19456         Added parentage check.
19457         Fix build og GstThread again.
19458
19459 2005-03-08  Wim Taymans  <wim@fluendo.com>
19460
19461         * docs/design/part-MT-refcounting.txt:
19462         * docs/design/part-conventions.txt:
19463         * docs/design/part-gstobject.txt:
19464         * docs/design/part-relations.txt:
19465         * docs/design/part-standards.txt:
19466         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19467         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19468         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19469         (gst_bin_iterate_all_by_interface):
19470         * gst/gstbuffer.h:
19471         * gst/gstclock.h:
19472         * gst/gstelement.c: (gst_element_class_init),
19473         (gst_element_change_state), (gst_element_set_loop_function):
19474         * gst/gstelement.h:
19475         * gst/gstiterator.c:
19476         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19477         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19478         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19479         (gst_object_set_parent), (gst_object_unparent),
19480         (gst_object_check_uniqueness):
19481         * gst/gstobject.h:
19482         Docs updates, clean up some headers.
19483
19484 2005-03-07  Wim Taymans  <wim@fluendo.com>
19485
19486         * check/.cvsignore:
19487         * check/Makefile.am:
19488         * check/gst-libs/.cvsignore:
19489         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19490         * check/gst/.cvsignore:
19491         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19492         (START_TEST), (gstbus_suite), (main):
19493         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19494         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19495         (gst_data_suite), (main):
19496         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19497         (add_fold_func), (gstiterator_suite), (main):
19498         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19499         (thread_name_object), (thread_name_object_default),
19500         (gst_object_name_compare), (gst_object_suite), (main):
19501         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19502         (gst_pad_suite), (main):
19503         * check/gstcheck.c: (gst_check_log_message_func),
19504         (gst_check_log_critical_func), (gst_check_init):
19505         * check/gstcheck.h:
19506         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19507         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19508         Added checks.
19509
19510 2005-03-07  Wim Taymans  <wim@fluendo.com>
19511
19512         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19513         (gst_list_iterator_next), (gst_list_iterator_resync),
19514         (gst_list_iterator_free), (gst_iterator_new_list),
19515         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19516         (gst_iterator_free), (gst_iterator_push), (filter_next),
19517         (filter_resync), (filter_uninit), (filter_free),
19518         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19519         (gst_iterator_foreach), (find_custom_fold_func),
19520         (gst_iterator_find_custom):
19521         * gst/gstiterator.h:
19522         Added missing files.
19523
19524 2005-03-07  Wim Taymans  <wim@fluendo.com>
19525
19526         * Makefile.am:
19527         * configure.ac:
19528         * docs/design/part-MT-refcounting.txt:
19529         * docs/design/part-conventions.txt:
19530         * docs/design/part-gstobject.txt:
19531         * docs/design/part-relations.txt:
19532         * examples/mixer/mixer.c: (main):
19533         * examples/thread/thread.c: (eos), (main):
19534         * gst/Makefile.am:
19535         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19536         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19537         (gst_spider_plug_from_srcpad):
19538         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19539         (gst_spider_identity_change_state),
19540         (gst_spider_identity_sink_loop_type_finding):
19541         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19542         * gst/elements/gstidentity.c: (gst_identity_init):
19543         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19544         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19545         * gst/elements/gsttypefindelement.c: (free_entry):
19546         * gst/gst.c:
19547         * gst/gst.h:
19548         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19549         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19550         (gst_bin_set_index), (gst_bin_set_element_sched),
19551         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19552         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19553         (gst_bin_iterate_elements), (iterate_child_recurse),
19554         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19555         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19556         (compare_interface), (gst_bin_get_by_interface),
19557         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19558         * gst/gstbin.h:
19559         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19560         (gst_buffer_default_free), (gst_buffer_default_copy),
19561         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19562         (gst_buffer_create_sub):
19563         * gst/gstbuffer.h:
19564         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19565         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19566         (gst_caps_unref), (gst_static_caps_get),
19567         (gst_caps_remove_and_get_structure), (gst_caps_append),
19568         (gst_caps_append_structure), (gst_caps_remove_structure),
19569         (gst_caps_copy_nth), (gst_caps_set_simple),
19570         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19571         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19572         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19573         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19574         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19575         (gst_caps_structure_figure_out_union),
19576         (gst_caps_switch_structures), (gst_caps_do_simplify),
19577         (gst_caps_replace), (gst_caps_from_string),
19578         (gst_caps_copy_conditional):
19579         * gst/gstcaps.h:
19580         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19581         (_gst_clock_id_free), (gst_clock_id_unref),
19582         (gst_clock_id_compare_func), (gst_clock_id_wait),
19583         (gst_clock_id_wait_async), (gst_clock_class_init),
19584         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19585         (gst_clock_get_time), (gst_clock_set_time_adjust),
19586         (gst_clock_set_property), (gst_clock_get_property):
19587         * gst/gstclock.h:
19588         * gst/gstcompat.h:
19589         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19590         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19591         * gst/gstdata.h:
19592         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19593         (gst_element_requires_clock), (gst_element_provides_clock),
19594         (gst_element_set_clock), (gst_element_clock_wait),
19595         (gst_element_wait), (gst_element_set_time_delay),
19596         (gst_element_is_indexable), (gst_element_add_pad),
19597         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19598         (pad_compare_name), (gst_element_get_static_pad),
19599         (gst_element_request_pad), (gst_element_get_request_pad),
19600         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19601         (gst_element_class_get_pad_template_list),
19602         (gst_element_class_get_pad_template), (gst_element_error_func),
19603         (gst_element_get_random_pad), (gst_element_get_event_masks),
19604         (gst_element_send_event), (gst_element_seek),
19605         (gst_element_get_query_types), (gst_element_query),
19606         (gst_element_get_formats), (gst_element_convert),
19607         (gst_element_is_locked_state), (gst_element_set_locked_state),
19608         (gst_element_sync_state_with_parent), (gst_element_change_state),
19609         (gst_element_finalize), (gst_element_yield),
19610         (gst_element_interrupt), (gst_element_set_scheduler),
19611         (gst_element_get_scheduler), (gst_element_set_loop_function):
19612         * gst/gstelement.h:
19613         * gst/gstevent.h:
19614         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19615         (gst_format_get_by_nick), (gst_format_get_details),
19616         (gst_format_iterate_definitions):
19617         * gst/gstformat.h:
19618         * gst/gstindex.c: (gst_index_gtype_resolver):
19619         * gst/gstinfo.c:
19620         * gst/gstinfo.h:
19621         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19622         (gst_mem_chunk_free):
19623         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19624         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19625         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19626         (gst_object_dispatch_properties_changed),
19627         (gst_object_set_name_default), (gst_object_set_name),
19628         (gst_object_get_name), (gst_object_set_name_prefix),
19629         (gst_object_get_name_prefix), (gst_object_set_parent),
19630         (gst_object_get_parent), (gst_object_unparent),
19631         (gst_object_check_uniqueness), (gst_object_save_thyself),
19632         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19633         (gst_object_set_property), (gst_object_get_property),
19634         (gst_object_get_path_string):
19635         * gst/gstobject.h:
19636         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19637         (gst_real_pad_init), (gst_real_pad_get_property),
19638         (gst_pad_custom_new), (gst_pad_get_direction),
19639         (gst_pad_set_active), (gst_pad_is_active),
19640         (gst_pad_set_event_function), (gst_pad_is_linked),
19641         (gst_pad_link_free), (gst_pad_link_intersect),
19642         (gst_pad_link_fixate), (gst_pad_set_caps),
19643         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19644         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19645         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19646         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19647         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19648         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19649         (gst_pad_realize), (gst_pad_get_allowed_caps),
19650         (gst_real_pad_dispose), (gst_real_pad_finalize),
19651         (gst_pad_collectv), (gst_pad_collect_valist),
19652         (gst_pad_template_dispose), (gst_pad_template_new),
19653         (gst_pad_get_internal_links):
19654         * gst/gstpad.h:
19655         * gst/gstpipeline.c: (gst_pipeline_dispose),
19656         (gst_pipeline_change_state):
19657         * gst/gstpipeline.h:
19658         * gst/gstplugin.c:
19659         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19660         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19661         * gst/gstpluginfeature.h:
19662         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19663         * gst/gstquery.c: (_gst_query_type_initialize),
19664         (gst_query_type_register), (gst_query_type_get_by_nick),
19665         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19666         * gst/gstquery.h:
19667         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19668         * gst/gstscheduler.c: (gst_scheduler_add_element),
19669         (gst_scheduler_factory_create):
19670         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19671         (gst_structure_free), (gst_structure_set_name),
19672         (gst_structure_id_set_value), (gst_structure_set_value),
19673         (gst_structure_set_valist), (gst_structure_remove_field),
19674         (gst_structure_remove_fields),
19675         (gst_structure_remove_fields_valist),
19676         (gst_structure_remove_all_fields), (gst_structure_foreach),
19677         (gst_structure_map_in_place),
19678         (gst_caps_structure_fixate_field_nearest_int),
19679         (gst_caps_structure_fixate_field_nearest_double):
19680         * gst/gststructure.h:
19681         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19682         (gst_system_clock_init), (gst_system_clock_dispose),
19683         (gst_system_clock_async_thread),
19684         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19685         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19686         * gst/gstsystemclock.h:
19687         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19688         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19689         * gst/gsttaginterface.c:
19690         * gst/gstthread.c: (gst_thread_dispose),
19691         (gst_thread_release_children_locks), (gst_thread_change_state),
19692         (gst_thread_main_loop):
19693         * gst/gsttrashstack.h:
19694         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19695         * gst/gsttypes.h:
19696         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19697         (gst_element_request_pad), (gst_element_get_pad_from_template),
19698         (gst_element_request_compatible_pad),
19699         (gst_element_get_compatible_pad_filtered),
19700         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19701         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19702         (gst_element_link_many), (gst_element_link),
19703         (gst_element_link_pads), (gst_element_unlink_pads),
19704         (gst_element_unlink_many), (gst_element_unlink),
19705         (gst_pad_can_link_filtered), (gst_pad_can_link),
19706         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19707         (gst_object_default_error), (gst_bin_add_many),
19708         (gst_bin_remove_many), (gst_element_populate_std_props),
19709         (gst_element_class_install_std_props), (gst_buffer_merge),
19710         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19711         (link_fold_func), (gst_pad_proxy_setcaps):
19712         * gst/gstutils.h:
19713         * gst/gstvalue.c: (gst_value_deserialize_string):
19714         * gst/parse/grammar.y:
19715         * gst/schedulers/gstbasicscheduler.c:
19716         (gst_basic_scheduler_cothreaded_chain),
19717         (gst_basic_scheduler_chain_recursive_add),
19718         (gst_basic_scheduler_pad_link):
19719         * gst/schedulers/gstoptimalscheduler.c:
19720         (get_group_schedule_function),
19721         (gst_opt_scheduler_state_transition),
19722         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19723         * libs/gst/bytestream/bytestream.c:
19724         * libs/gst/dataprotocol/dataprotocol.c:
19725         (gst_dp_header_from_buffer):
19726         * po/nb.po:
19727         * po/ru.po:
19728         * tests/threadstate/threadstate2.c: (eos):
19729         * tools/gst-compprep.c: (main):
19730         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19731         (print_pad_info), (print_children_info):
19732         * tools/gst-launch.c: (idle_func), (main):
19733         * tools/gst-md5sum.c: (idle_func), (main):
19734         * tools/gst-xmlinspect.c: (print_element_info):
19735         First THREADED backport attempt, focusing on adding locks and
19736         making sure the API is threadsafe. Needs more work. More docs
19737         follow this week.
19738
19739 2005-02-24  Andy Wingo  <wingo@pobox.com>
19740
19741         * tests/bench-complexity.scm:
19742         * tests/complexity.gnuplot: New files, good for running complexity
19743         benchmarks.
19744
19745         * tests/Makefile.am:
19746         * tests/complexity.c: New test, sets up N elements, at each level
19747         teeing into M streams per element. Eeeenteresting.
19748
19749         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19750         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19751         running bench-mass_elements.scm.
19752
19753         * tests/bench-mass_elements.scm: New script, runs mass_elements
19754         for various numbers of identities, outputting the results to a
19755         file. Requires guile 1.6. Just for testing.
19756
19757 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19758
19759         * gst/schedulers/fairscheduler.c:
19760           compile with debug disabled
19761
19762 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19763
19764         * configure.ac:
19765           hunting season on 0.9 is now OPEN