Makefile.am: gst-element-check.m4 is generated and should therefore be copied from...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
2
3         Patch by: Peter Kjellerstedt <pkj at axis com>
4
5         * Makefile.am:
6           gst-element-check.m4 is generated and should therefore be
7           copied from the build dir rather than the source dir (#357593).
8           'make distcheck' hasn't noticed this because we were disting
9           the file as well, so stop doing that.
10
11 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12
13         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14           Add some tests for gst_caps_intersect().
15
16         * tools/gst-launch.c: (event_loop):
17           Print all buffering percentages we get, even the 100% one.
18
19 2006-09-26  Wim Taymans  <wim@fluendo.com>
20
21         * tools/gst-inspect.c: (print_element_properties_info),
22         (print_signal_info):
23         Fix printing of flags to match the look of enums.
24
25 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
26
27         * gst/gstelementfactory.c:
28           Fix typo in docs blurb.
29
30 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
31
32         * gst/gsturi.c: (search_by_entry):
33           Don't assert/crash here if a uri handler doesn't return any
34           supported protocols. The list of protocols could be generated
35           dynamically at runtime or at plugin registration, and an error
36           in the underlying library shouldn't be fatal (#353301).
37
38 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
39
40         * gst/gstinfo.c:
41           Fix warning if HAVE_PRINTF_EXTENSION is undefined
42           (spotted by Peter Kjellerstedt).
43
44 2006-09-23  Wim Taymans  <wim@fluendo.com>
45
46         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
47
48         * libs/gst/base/gstbasesrc.c:
49         (gst_base_src_default_check_get_range), (gst_base_src_start),
50         (gst_base_src_activate_push), (gst_base_src_activate_pull),
51         (gst_base_src_change_state):
52         Match _start/_stop calls in the activate functions. Remove redundant
53         _stop call from the state change function. Fixes #356910.
54         Turn failure DEBUG into ERROR. 
55
56 2006-09-22  Wim Taymans  <wim@fluendo.com>
57
58         * docs/design/part-buffering.txt:
59         * gst/gstmessage.c: (gst_message_new_buffering),
60         (gst_message_parse_buffering):
61         Update docs about buffering.
62
63         * docs/design/part-trickmodes.txt:
64         Fix typo.
65
66 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
67
68         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
69         (gst_controller_new_list):
70           Ref instances when returning them again (fixes #357180)
71
72 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
73
74         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
75           Don't forget to release proxy lock when there's an error.
76
77 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
78
79         * gst/gstcaps.h:
80           Add extra initialisers for Caps things, to fix some plugin warnings
81           when using -Wextra
82
83 2006-09-18  Wim Taymans  <wim@fluendo.com>
84
85         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
86           Also set template on the internal pad so that a getcaps from the 
87           target pad returns the template caps.
88
89 2006-09-18  Wim Taymans  <wim@fluendo.com>
90
91         * gst/gstelement.c: (gst_element_post_message),
92         (gst_element_dispose):
93         Use _DEBUG_OBJECT some more.
94
95         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
96         Avoid typechecks.
97
98         * tools/gst-launch.c: (main):
99         If the toplevel element is not a GstPipeline, it must be put in a
100         pipeline so that a bus and clock is selected.
101
102 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
103
104         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
105           JITTER, RATE, and LATENCY query should be handled by the
106           default case and not by the CONVERT query code.
107
108 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
109
110         * gst/gstformat.c: (gst_format_register):
111           Fix locking order (must take lock before using n_values).
112
113         * gst/gstvalue.c: (gst_value_serialize_enum),
114         (gst_value_deserialize_enum_iter_cmp),
115         (gst_value_deserialize_enum):
116           Fix serialisation/deserialisation of custom registered GstFormats.
117
118         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
119           Unit test for custom format serialisation/deserialisation.
120
121 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
122
123         * docs/pwg/building-boiler.xml:
124         * plugins/elements/gstcapsfilter.c:
125         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
126         section.
127
128 2006-09-16  Edward Hervey  <edward@fluendo.com>
129
130         * libs/gst/base/gstbasetransform.c:
131         (gst_base_transform_buffer_alloc):
132         Check if requested caps are the same as the sinks caps IF
133         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
134         is FALSE.
135         This fixes the renegotiation issues stated in #352827.
136
137 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
138
139         * configure.ac:
140         * docs/manual/advanced-autoplugging.xml:
141         * tests/examples/Makefile.am:
142         * tests/examples/manual/.cvsignore:
143         * tests/examples/manual/Makefile.am:
144         * tests/examples/manual/extract.pl:
145           Extract the manual examples again like we used to do.
146           Fix one of them.
147
148 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
149
150         * win32/common/config.h:
151           update for version
152
153 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
154
155         * gst/gsterror.c:
156           Documents how to receive errors.
157
158 2006-09-15  Wim Taymans  <wim@fluendo.com>
159
160         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
161         (event_loop), (main):
162         Added some comments here and there.
163         Post an application message when an interrupt is caught instead of doing
164         an uncontrolled state change.
165         Clean up the event loop.
166         Handle buffering messages, pause/resume the pipeline.
167         Make shutdown because of an interrupt more reliable.
168
169 2006-09-15  Wim Taymans  <wim@fluendo.com>
170
171         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
172         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
173         (gst_base_sink_preroll_object):
174         Make sure that our internal state is correct when we commit our state
175         asynchronously. This solves a race where a state change to PLAYING
176         could cause the sink to remain blocked in preroll in some situations.
177
178 2006-09-15  Wim Taymans  <wim@fluendo.com>
179
180         * tools/gst-inspect.c: (print_element_properties_info),
181         (print_signal_info):
182         List flags as hex so it's easier to deal with.
183
184 2006-09-15  Wim Taymans  <wim@fluendo.com>
185
186         * docs/libs/gstreamer-libs-sections.txt:
187         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
188         (gst_base_sink_do_sync):
189         * libs/gst/base/gstbasesink.h:
190         Expose logic to wait for preroll so that subclasses such as audiosink
191         can also use this method.
192         API: gst_base_sink_wait_preroll()
193
194 2006-09-15  Wim Taymans  <wim@fluendo.com>
195
196         * gst/gstobject.c: (gst_object_set_parent):
197         * gst/gstpipeline.c: (do_pipeline_seek):
198         Small cleanups in docs and code.
199
200         * gst/gstsegment.c: (gst_segment_clip):
201         * tests/check/gst/gstsegment.c: (GST_START_TEST):
202         if stop == start and start is in the segment, no clipping should be
203         done. Also add a test for this.
204
205 2006-09-15  Wim Taymans  <wim@fluendo.com>
206
207         * docs/design/part-buffering.txt:
208         * docs/gst/gstreamer-sections.txt:
209         * gst/gstmessage.c: (gst_message_new_buffering),
210         (gst_message_parse_buffering):
211         * gst/gstmessage.h:
212         Added methods to create and parse BUFFERING messages.
213         Added preliminary docs about buffering.
214         API: gst_message_new_buffering
215         API: gst_message_parse_buffering
216
217 2006-09-06  Wim Taymans  <wim@fluendo.com>
218
219         * gst/gstbin.c:
220         Update documentation.
221
222         * gst/gstelement.c: (gst_element_class_init),
223         (gst_element_release_request_pad), (gst_element_set_clock),
224         (gst_element_get_index), (gst_element_add_pad),
225         (gst_element_remove_pad), (gst_element_get_random_pad),
226         (gst_element_send_event), (gst_element_get_query_types),
227         (gst_element_query), (gst_element_post_message),
228         (gst_element_message_full), (gst_element_continue_state),
229         (gst_element_lost_state), (gst_element_save_thyself),
230         (gst_element_restore_thyself):
231         Documentation updates.
232         Rename last bit of the new-pad -> pad-added signal rename.
233         Fix the case where an element query would only work if the source
234         pad was linked.
235         Avoid some useless type checking in message handling.
236
237         * gst/gstevent.c:
238         * gst/gstevent.h:
239         * gst/gstutils.c:
240         Documentation updates.
241
242 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
243
244         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
245           add an INFO line for when we actually update the fd
246
247 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
248
249         * configure.ac:
250           back to TRUNK
251
252 === release 0.10.10 ===
253
254 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
255
256         * configure.ac:
257           releasing 0.10.10, "Pais"
258
259 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
260
261         * docs/manual/advanced-position.xml:
262           Fix typo in sample code.
263
264 2006-09-05  Wim Taymans  <wim@fluendo.com>
265
266         * libs/gst/net/gstnetclientclock.c: (inet_aton),
267         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
268         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
269         * libs/gst/net/gstnetclientclock.h:
270         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
271         * libs/gst/net/gstnettimepacket.h:
272         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
273         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
274         (gst_net_time_provider_thread), (gst_net_time_provider_new):
275         * libs/gst/net/gstnettimeprovider.h:
276         Make stuff compile on windows. Fixes #345295.
277
278 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
279
280         * gst/gst.c: (ensure_current_registry_forking):
281           Print better details when child was terminated by signal.
282
283 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
284
285         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
286           Print a warning rather than g_assert() if a plugin feature
287           is a URI handler but returns no protocols (#353976).
288
289 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
290
291         * docs/random/moving-plugins:
292         Fix two typos.         
293
294 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
295
296         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
297           Fix locking order, handle NULL function values properly.
298
299         * gst/gstinfo.h:
300           Fix docs.
301
302         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
303           Initialise variable before using it and fix debug statement to
304           print the address of the function rather than the address of the
305           variable on the stack holding the address of the function.
306
307 2006-09-01  Wim Taymans  <wim@fluendo.com>
308
309         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
310         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
311         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
312         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
313         (gst_ghost_pad_parent_unset),
314         (gst_ghost_pad_internal_do_activate_push),
315         (gst_ghost_pad_internal_do_activate_pull),
316         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
317         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
318         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
319         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
320         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
321         (gst_ghost_pad_new_no_target_from_template),
322         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
323         More cleanups.
324         Avoid needless typechecking in macros.
325         Since the internal pad is always present and never changes, there is
326         no need to locking or ref when retrieving it.
327         Improve debugging a bit.
328         Handle link errors when setting the target. Fixes #341029.
329
330 2006-09-01  Wim Taymans  <wim@fluendo.com>
331
332         * docs/libs/gstreamer-libs-sections.txt:
333         * docs/plugins/gstreamer-plugins-sections.txt:
334         Fix docs some more.
335
336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
337         (gst_collect_pads_event):
338         * libs/gst/base/gstcollectpads.h:
339         Documentation updates.
340         Free queued buffer when removing a pad.
341
342 2006-08-31  Michael Smith  <msmith@fluendo.com>
343
344         * gst/gstutils.c: (gst_element_link_pads),
345         (gst_element_link_pads_filtered):
346           Ensure that we set a capsfilter to NULL if we failed to link it
347           when doing filtered linking, to avoid criticals.
348
349           No need to check for unreffing srcpad, which is explicly NULLed
350           above (a trivial code cleanup).
351
352 2006-08-31  Wim Taymans  <wim@fluendo.com>
353
354         * docs/design/part-gstghostpad.txt:
355         Update ascii art in documentation.
356
357         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
358         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
359         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
360         (gst_ghost_pad_internal_do_activate_push),
361         (gst_ghost_pad_internal_do_activate_pull),
362         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
363         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
364         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
365         (gst_ghost_pad_set_target):
366         Small cleanups and leak fixes.
367         Remove some checks now that the internal pad is never NULL.
368         Fix the case where linking pads without a target would create nasty
369         criticals. Fixes #341029.
370         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
371         value of _set_target().
372
373         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
374         (gst_ghost_pad_suite):
375         Some more tests for creating and linking untargeted ghostpads.
376
377 2006-08-31  Edward Hervey  <edward@fluendo.com>
378
379         * docs/gst/gstreamer-sections.txt:
380         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
381         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
382         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
383         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
384         (gst_ghost_pad_new_from_template),
385         (gst_ghost_pad_new_no_target_from_template):
386         * gst/gstghostpad.h:
387         Refactored *_new() functions.
388         Templates are now used as a g_object_new() parameter.
389         Use template in _do_getcaps() if we don't have a target.
390         Small documentation cleanups.
391         Added two new constructors:
392         gst_ghost_pad_new_from_template()
393         gst_ghost_pad_new_no_target_from_template()
394         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
395         (gst_ghost_pad_suite):
396         Added tests for new ghostpad instanciation functions.
397
398         API additions: gst_ghost_pad_new_from_template,
399         gst_ghost_pad_new_no_target_from_template
400
401 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
402
403         * docs/random/ensonic/profiling.txt:
404           Ideas about qos profiling.
405
406 2006-08-29  Wim Taymans  <wim@fluendo.com>
407
408         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
409         Code cleanups.
410         Fix memleak.
411
412 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
413
414         * gst/gstxml.c:
415           Improve and detypofy docs.
416
417         * tests/check/Makefile.am:
418         * tests/check/gst/.cvsignore:
419         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
420           Add a basic test suite for GstXML.
421
422 2006-08-29  Wim Taymans  <wim@fluendo.com>
423
424         * gst/gstelement.c: (activate_pads), (clear_caps),
425         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
426         Clear the pad caps when the element shut down all of the pads and
427         is not streaming data that could modify the caps. 
428         Fixes #352958.
429
430 2006-08-28  Michael Smith  <msmith@fluendo.com>
431
432         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
433           Revert previous change; I misunderstood single-segment mode.
434
435 2006-08-28  Michael Smith  <msmith@fluendo.com>
436
437         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
438           Unset DISCONT on buffers when using single-segment mode.
439
440 2006-08-28  Wim Taymans  <wim@fluendo.com>
441
442         * gst/gstcaps.c: (gst_caps_merge_structure):
443         * gst/gstcaps.h:
444         Fix docs and indentation again.
445
446         * tests/check/gst/gstquery.c: (GST_START_TEST):
447         Fix leak in tests and add some more tests.
448
449 2006-08-28  Edward Hervey  <edward@fluendo.com>
450
451         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
452         Inform GstSegment of the last stop position in order for the current
453         segment to have a proper duration if it doesn't have a specific stop
454         position from which a duration could be calculated.
455         This bug was noticeable when a non-flushing, non-update new segment was
456         followed by another segment (all buffers from the new segment were being
457         dropped).
458
459 2006-08-28  Wim Taymans  <wim@fluendo.com>
460
461         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
462         Small comment update.
463
464         * plugins/elements/gstidentity.c: (gst_identity_class_init),
465         (gst_identity_transform_ip):
466         Drop-probability is broken, mention this in the code with a 
467         FIXME and also in the property description.
468         Make silent also be silent about the drop messages.
469
470 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
471
472         * docs/manual/appendix-win32.xml:
473           Remove mention of popt, we don't depend on that any
474           longer (#353136). Add some comments pointing out that
475           this section is slightly outdated.
476
477 2006-08-28  Wim Taymans  <wim@fluendo.com>
478
479         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
480
481         * gst/gstquery.c: (gst_query_new_segment):
482         * tests/check/gst/gstquery.c: (GST_START_TEST):
483         Initialize variables when creating a new segment query.
484         Fixes #353121.
485
486 2006-08-28  Wim Taymans  <wim@fluendo.com>
487
488         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
489
490         * gst/gstelement.c: (gst_element_get_bus):
491         * tests/check/gst/gstelement.c: (GST_START_TEST):
492         Check for NULL before _reffing the bus. Fixes #353122.
493
494 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
495
496         * docs/manual/basics-bus.xml:
497           Docs update: fix wrong callback return value explanation; add
498           some lines about the implicit relationship between main loop
499           and main context; remove duplicate main loop variable declaration.
500
501 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
502
503         * tests/check/gst/gstcaps.c: (GST_START_TEST):
504           Don't leak caps in unit test; add a few more simple
505           checks. 
506
507 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
508
509         * docs/gst/gstreamer-sections.txt:
510         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
511         (gst_caps_structure_is_subset), (gst_caps_merge),
512         (gst_caps_merge_structure):
513         * gst/gstcaps.h:
514         * libs/gst/base/gstbasetransform.c:
515         (gst_base_transform_transform_caps):
516         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
517           implement caps merging (fixes #352580)
518
519 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
520
521         * tools/Makefile.am:
522         * tools/gst-plot-timeline.py:
523           add debug-log plotting developer tool (#340674)
524
525 2006-08-23  Wim Taymans  <wim@fluendo.com>
526
527         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
528         (gst_pad_stop_task):
529         Improve debugging for task functions.
530
531         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
532         (gst_task_start), (gst_task_pause), (gst_task_join):
533         Make sure that the task function started and finished after a 
534         join(). 
535         Don't try to push the task function on the threadpool multiple
536         times.
537         Improve the g_warning message with some useful suggestions
538         about how to fix the problem. 
539
540 2006-08-23  Wim Taymans  <wim@fluendo.com>
541
542         * gst/gstutils.c: (gst_pad_proxy_getcaps):
543         Handle RESYNC correctly in _proxy_getcaps.
544
545 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
546
547         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
548         (gst_xml_parse_memory), (gst_xml_get_element):
549           Chain up to parent class in dispose function and also
550           unref the elements in the toplevel_elements GList.
551           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
552           Always return a reference in gst_xml_get_element() rather
553           than only sometimes.
554
555         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
556           Don't leak GstXml object.
557
558 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
559
560         * docs/gst/gstreamer-sections.txt:
561         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
562         (gst_caps_merge):
563         * gst/gstcaps.h:
564         * libs/gst/base/gstbasetransform.c:
565         (gst_base_transform_transform_caps):
566           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
567           in a better way
568
569 2006-08-21  Edward Hervey  <edward@fluendo.com>
570
571         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
572         Implement GObject::dispose virtual method in GstXML so we can free the
573         top_elements GList.
574
575 2006-08-21  Wim Taymans  <wim@fluendo.com>
576
577         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
578         (gst_buffer_create_sub):
579         Copy duration/offset_end/caps when creating a subbuffer of the
580         complete parent.
581         Make the subbuffer read-only when we make the metadata writable for
582         now. Fixes #351768.
583
584         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
585         Added check for metadata copy when creating subbuffers.
586
587 2006-08-21  Edward Hervey  <edward@fluendo.com>
588
589         * libs/gst/base/gstbasetransform.c:
590         (gst_base_transform_buffer_alloc):
591         Only call downstream buffer_alloc if transform element is passthrough
592         or always_in_place. Closes #350449.
593
594 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
595
596         * ChangeLog:
597           ChangeLog surgery to add comments to previous changes
598
599 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
600
601         * gst/gst.c:
602           Add comments
603
604         * gst/gstpad.c: (gst_pad_set_active):
605           Be more verbose in the log
606
607         * libs/gst/base/gstbasetransform.c:
608         (gst_base_transform_transform_caps):
609           Simplify caps to get rid of duplicates, fixes #345444
610
611 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
612
613         * gst/gstvalue.c:
614         * gst/gstvalue.h:
615           Use these optimizations only internally.
616
617 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
618
619         * gst/gstvalue.c: (gst_value_compare_list),
620         (gst_value_compare_fraction_range),
621         (gst_value_intersect_fraction_fraction_range),
622         (gst_value_intersect_fraction_range_fraction_range),
623         (gst_value_subtract_fraction_fraction_range),
624         (gst_value_subtract_fraction_range_fraction_range),
625         (gst_value_get_compare_func), (gst_value_compare),
626         (gst_value_compare_with_func):
627         * gst/gstvalue.h:
628           Saves the expensive lookup of the compare function in many cases
629          (#345444)
630
631 2006-08-18  Edward Hervey  <edward@fluendo.com>
632
633         * tests/check/gst/gstinfo.c: (gst_info_suite):
634         Disable test that require gstdebug if it wasn't built in core.
635
636 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
637
638         * docs/random/ensonic/logging.txt:
639           update ideas
640           
641         * gst/gstinfo.c: (gst_debug_log_default):
642           reorder fields, save some columns, add optional color codes for log
643           levels
644
645 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
646
647         * docs/random/ensonic/logging.txt:
648           add ideas about making the logs a bit more useful
649
650 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
651
652         * docs/pwg/advanced-events.xml:
653         * docs/pwg/titlepage.xml:
654           Update for 0.10 API (#340627). Add myself
655           to authors list.
656
657 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
658
659         * docs/libs/gstreamer-libs-docs.sgml:
660         * docs/libs/gstreamer-libs-sections.txt:
661         * libs/gst/check/gstbufferstraw.c:
662           Make gstcheck stuff show up in docs (still needs to
663           be documented properly though).
664
665 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
666
667         * docs/gst/gstreamer-sections.txt:
668         * gst/Makefile.am:
669         * gst/gst.c: (init_post):
670         * gst/gst_private.h:
671         * gst/gstquark.c: (_priv_gst_quarks_initialize):
672         * gst/gstquark.h:
673         * gst/gstquery.c: (gst_query_new_position),
674         (gst_query_set_position), (gst_query_parse_position),
675         (gst_query_new_duration), (gst_query_set_duration),
676         (gst_query_parse_duration), (gst_query_new_convert),
677         (gst_query_set_convert), (gst_query_parse_convert),
678         (gst_query_new_segment), (gst_query_set_segment),
679         (gst_query_parse_segment), (gst_query_new_seeking),
680         (gst_query_set_seeking), (gst_query_parse_seeking):
681         Add internal helpers for pre-registering quarks from static strings
682         and using the quark values directly instead of looking them up when
683         creating and parsing queries. Can be used for event construction too.
684         Closes #350432.
685
686 2006-08-16  Wim Taymans  <wim@fluendo.com>
687
688         * gst/gstbin.c:
689         Fix bogus docs.
690
691 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
692
693         * gst/gstutils.c: (gst_util_set_value_from_string):
694           Fix memleak (#351502).
695
696         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
697           Add unit test for most of gst_util_set_value_from_string()
698           (not that one would want to encourage use of this function).
699
700 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
701
702         * libs/gst/check/gstcheck.h:
703           Use const gchar * variables in fail_unless_equals_string
704           macro to avoid compiler warnings (and don't use tabs for
705           indenting).
706
707 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
708
709         * tools/gst-launch.c: (print_tag):
710           More space on the left for the tag names, to cater
711           for the 'extended comment' tag (not touching the
712           string for the first line since it's translated).
713
714 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
715
716         * libs/gst/check/gstcheck.h:
717           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
718           print something when they fail.
719
720 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
721
722         * docs/gst/gstreamer-sections.txt:
723         * gst/gsttaglist.c: (_gst_tag_initialize):
724         * gst/gsttaglist.h:
725           API: add GST_TAG_EXTENDED_COMMENT (#350935).
726           Also change merge function for GST_TAG_COMMENT to
727           use_first.
728
729 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
730
731         * gst/gstinfo.c: (gst_debug_print_object):
732           Make GST_PTR_FORMAT print messages as well.
733
734         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
735         (GST_START_TEST), (gst_info_suite):
736           More tests.
737
738 2006-08-14  Edward Hervey  <edward@fluendo.com>
739
740         * gst/gstelementfactory.c: (gst_element_register):
741         If the GstElementClass doesn't have a GstElementDetails with all fields
742         filled up correctly (longname, description AND author), then error out
743         nicely instead of crashing.
744
745 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
746
747         * gst/gststructure.c:
748           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
749
750         * gst/gstvalue.h:
751           Expand on the difference between arrays and lists as we use them.
752           
753 2006-08-14  Wim Taymans  <wim@fluendo.com>
754
755         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
756         If the parent state change function failed, don't assume we can safely
757         stop the source, this will be done when the pads are deactivated.
758
759 2006-08-14  Wim Taymans  <wim@fluendo.com>
760
761         * gst/gstbuffer.c:
762         * gst/gsttask.c: (gst_task_join):
763         Small doc updates.
764
765         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
766         (gst_pad_stop_task):
767         When pad (de)activation failed for some reason, restore the old
768         activation mode and set the pad to flushing instead of assuming the
769         pad is deactivated.
770         If the _task_join() failed, reinstall the task on the pad so that it can
771         be stopped later and return an error.
772
773 2006-08-11  Andy Wingo  <wingo@pobox.com>
774
775         * configure.ac:
776         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
777         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
778         is only for users of API that don't want to see deprecated
779         functions in the headers; people that want to compile out
780         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
781         CFLAGS. Fixes the build of multifdsink, or will soon..
782
783 2006-08-11  Wim Taymans  <wim@fluendo.com>
784
785         * docs/gst/gstreamer-sections.txt:
786         Add GstClockClass vmethod docs.
787
788         * gst/gstcaps.h:
789         Mark #endif with comment for associated #if
790
791         * gst/gstclock.c: (gst_clock_id_wait):
792         * gst/gstclock.h:
793         Add vmethod wait_jitter to avoid an unneeded _get_time() for
794         most clock implementations.
795         Document vmethods.
796         Flesh out docs about resolution methods.
797         API: GstClockClass::wait_jitter
798
799         * gst/gstsystemclock.c: (gst_system_clock_class_init),
800         (gst_system_clock_async_thread),
801         (gst_system_clock_id_wait_jitter_unlocked),
802         (gst_system_clock_id_wait_jitter):
803         Use base class wait_jitter variant for improved performance
804         due to less clock polling.
805
806 2006-08-11  Edward Hervey  <edward@fluendo.com>
807
808         * gst/gst.c: (gst_init_check), (init_post):
809         Set gst as being initialized before scanning/updating the registry,
810         since there might be my python plugin loader that calls gst_init() and
811         we don't want to loop back in.
812         Closes #350879
813
814 2006-08-11  Wim Taymans  <wim@fluendo.com>
815
816         * docs/design/part-qos.txt:
817         Bring docs in line with the code. Mostly the sign of the jitter was
818         wrong in the docs. Fixes #349943.
819
820         * gst/gstclock.c:
821         Fix the docs for the jitter.
822
823         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
824         (gst_event_parse_tag), (gst_event_new_buffer_size),
825         (gst_event_parse_buffer_size), (gst_event_parse_qos),
826         (gst_event_new_seek), (gst_event_parse_seek),
827         (gst_event_new_navigation):
828         Make sure the GstStructure has no parent when creating custom
829         events.
830         Add some more argument checking so that we avoid 0.0 rates.
831         Flesh out the docs for the QoS event some more.
832
833 2006-08-11  Wim Taymans  <wim@fluendo.com>
834
835         * docs/gst/gstreamer-sections.txt:
836         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
837         (ensure_current_registry_forking), (ensure_current_registry),
838         (parse_one_option), (parse_goption_arg), (gst_deinit),
839         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
840         * gst/gst.h:
841         Doc updates.
842         Added API and command line option to disable registry forking in
843         addition to the environment variable.
844         Constify some static arrays.
845         Added some more debug.
846         Don't deinit twice.
847         API: gst_registry_fork_is_enabled()
848         API: gst_registry_fork_set_enabled()
849         API: --gst-disable-registry-fork command line option
850         Fixes #348918.
851
852 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
853
854         * gst/gst.c: (gst_init):
855           Fix typo in error message.
856
857 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
858
859         * libs/gst/controller/gstcontroller.h:
860           fix ABI size-correction
861
862         * tests/check/libs/gdp.c: (gst_dp_suite):
863           make tests that use deprecated API conditional
864
865 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
866
867         * docs/libs/gstreamer-libs-sections.txt:
868         * libs/gst/controller/gstcontroller.c:
869         (_gst_controller_get_property), (_gst_controller_set_property),
870         (_gst_controller_init), (_gst_controller_class_init):
871         * libs/gst/controller/gstcontroller.h:
872         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
873         (gst_object_set_control_rate):
874           API: add gst_object_{s,g}et_control_rate(), add private data section,
875           fix docs
876
877         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
878         * libs/gst/dataprotocol/dataprotocol.h:
879           add deprecation guards to make gtk-doc happy and allow disabling cruft
880
881 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
882
883         * tests/check/Makefile.am:
884         * tests/check/gst/.cvsignore:
885           Let's enable the new unit test as well.
886
887 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
888
889         * configure.ac:
890         * docs/gst/gstreamer-sections.txt:
891         * gst/gstconfig.h.in:
892         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
893         (_gst_info_printf_extension_ptr),
894         (_gst_info_printf_extension_segment):
895           API: add GST_SEGMENT_FORMAT, which is a printf extension we
896           register that lets us easily dump GstSegments into debug
897           logs (#350419).
898
899         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
900         (info_segment_format_printf_extension), (gst_info_suite):
901           Add simple unit test that logs a bunch of different segments (not
902           valgrinded at the moment because of leaks in
903           gst_debug_add_log_function).
904
905 2006-08-09  Edward Hervey  <edward@fluendo.com>
906
907         * libs/gst/base/gstbasetransform.c:
908         (gst_base_transform_buffer_alloc):
909         Even if we can't figure out the proper format to request downstream,
910         call buffer_alloc() downstream with the input parameters without setting
911         the caps on the srcpad. This will force negotiation in the chain
912         function.
913         Closes #350449
914
915 2006-08-08  Edward Hervey  <edward@fluendo.com>
916
917         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
918         Unlinking from a pad without a target is now a perfectly valid case
919         which should NOT raise an assertion.
920         This case would happen if a linked ghostpad its target set to NULL after
921         it was previously linked.
922
923 2006-08-08  Edward Hervey  <edward@fluendo.com>
924
925         * tests/check/libs/gdp.c:
926         Also comment out the test (see below).
927
928 2006-08-08  Edward Hervey  <edward@fluendo.com>
929
930         * tests/check/libs/gdp.c: (gst_dp_suite):
931         Use the architecture information from config.h and not gcc macros
932         in order to properly disable a test that fails on PPC64.
933
934 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
935
936         * gst/gstelement.c: (gst_element_remove_pad):
937           Don't crash printing the warning if the pad has no parent.
938
939 2006-08-02  Wim Taymans  <wim@fluendo.com>
940
941         * libs/gst/dataprotocol/dataprotocol.c:
942         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
943         (gst_dp_crc), (gst_dp_header_payload_length),
944         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
945         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
946         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
947         (gst_dp_event_from_packet), (gst_dp_validate_header),
948         (gst_dp_validate_payload):
949         Make debug category static
950         Constify the crc table.
951         Do some more arg checking in public functions.
952         Fix some docs and do some small cleanups.
953
954         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
955         Add some more checks to see if GDP deals with bogus input.
956
957 2006-07-31  Wim Taymans  <wim@fluendo.com>
958
959         * gst/gstvalue.c: (gst_value_compare_list):
960         Fix GstValueList comparison code. Fixes #347293.
961
962         * tests/check/gst/gstvalue.c: (GST_START_TEST):
963         Check to test GstValueList comparison.
964
965 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
966
967         * gst/gstelementfactory.c: (gst_element_factory_create):
968         Remove unnecessary ref/unref pair
969
970         * gst/parse/grammar.y:
971         Make sure to free the parse buffer on all code paths.
972         Move a g_free up to the error handler where it's easier to see.
973
974         * tests/check/gst/gstevent.c: (test_event):
975         Extending timeout for downstream travelling events to 10 seconds to
976         hopefully avoid intermittent failure on the buildbots.
977
978         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
979         Don't manually set the state of the src element - it will happen as a
980         natural consequence of the pipeline changing state, and that way it
981         will do it in the right order too.
982
983 2006-07-31  Wim Taymans  <wim@fluendo.com>
984
985         * libs/gst/base/gstbasetransform.c:
986         (gst_base_transform_buffer_alloc):
987         Use OBJECT_LOCK and refcounting to get the pad caps in the
988         buffer_alloc function because the caps could change while we are
989         busy with them. Fixes #349105
990
991 2006-07-31  Wim Taymans  <wim@fluendo.com>
992
993         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
994         Protect _PAD_CAPS with OBJECT_LOCK.
995
996 2006-07-31  Wim Taymans  <wim@fluendo.com>
997
998         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
999         (gst_pad_get_property), (gst_pad_activate_pull),
1000         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1001         (gst_pad_set_activate_function),
1002         (gst_pad_set_activatepull_function),
1003         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1004         (gst_pad_set_getrange_function),
1005         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1006         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1007         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1008         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1009         (gst_pad_set_acceptcaps_function),
1010         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1011         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1012         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1013         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1014         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1015         (gst_pad_configure_sink), (gst_pad_configure_src),
1016         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1017         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1018         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1019         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1020         (gst_pad_send_event):
1021         Use _DEBUG_OBJECT when it makes sense.
1022         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1023         Small cleanups and code reflows.
1024         Avoid caps refcounting in _accept_caps.
1025         Refactor alloc_buffer so that the code performed on the peer is in a
1026         separate function. Also if the pad does not implement a buffer alloc
1027         function, we should still check if the pad is flushing before falling
1028         back to the default allocator.
1029
1030 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1031
1032         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1033         Make all uses of identity and fakesink have silent=true to avoid
1034         serialising every passing data structure, which is breaking tests
1035         on FC4 for some unknown reason.
1036
1037 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1038
1039         * gst/parse/Makefile.am:
1040         * gst/parse/grammar.y:
1041         * gst/parse/parse.l:
1042           Reverted previous patch as it required to bump the flex dependency to
1043           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1044
1045 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1046
1047         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1048
1049         * gst/parse/Makefile.am:
1050         * gst/parse/grammar.y:
1051         * gst/parse/parse.l:
1052           push & pop the state of the lexer for reentrant use case
1053           Fixes #349180
1054
1055 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1056
1057         * libs/gst/base/gstbasesrc.h:
1058           Note in the docs that the ::newsegment vfunc is not actually used by
1059           GstBaseSrc.
1060
1061 2006-07-28  Wim Taymans  <wim@fluendo.com>
1062
1063         * libs/gst/base/gstcollectpads.c:
1064         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1065         (gst_collect_pads_clear), (gst_collect_pads_flush),
1066         (gst_collect_pads_event), (gst_collect_pads_chain):
1067         When flushing a pad, also clear the queued buffer so that we don't
1068         accidentally use it when we shouldn't.
1069         Fix leaks by inreffing incomming buffer.
1070         Flush out queued buffers in case of errors.
1071         Fixes #347452.
1072
1073 2006-07-28  Wim Taymans  <wim@fluendo.com>
1074
1075         * docs/random/phonon-gst:
1076         Random notes about a Phonon backend.
1077
1078 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1079
1080         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1081         Extra debug output
1082         * tests/check/libs/gdp.c: (gst_dp_suite):
1083         Take a whack at fixing the ppc compile using a different define to
1084         disable the broken test.
1085
1086         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1087         Remove excess g_print()
1088
1089 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1090
1091         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1092         Oops, meant to uncomment this line too to dampen the noise a bit.
1093
1094 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1095
1096         * gst/parse/grammar.y:
1097         * gst/parse/parse.l:
1098         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1099         (GST_START_TEST), (parse_suite):
1100         Fix some of the leaks exposed by extending the parse-launch testsuite,
1101         and move the 3 I can't figure out into a separate test that won't run
1102         the pipelines unless the appropriate line is uncommented.
1103
1104 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1105
1106         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1107           Requesting 0 bytes before the end of the file should result in
1108           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1109           unit test.
1110
1111 2006-07-27  Wim Taymans  <wim@fluendo.com>
1112
1113         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1114         Fix useless assert, a uint is always positive.
1115
1116         * gst/gststructure.c: (gst_structure_nth_field_name),
1117         (gst_structure_foreach), (gst_structure_map_in_place):
1118         Check input arguments for public functions to avoid obvious crashes.
1119
1120         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1121         * plugins/elements/gstfakesink.h:
1122         Do less useless typechecking.
1123
1124 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1125
1126         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1127           Do not use mmap() by default since there are a number of error
1128           conditions that we would like to handle in a non-fatal way that
1129           will result in a SIGBUS if we use mmap(). Examples: external
1130           devices (USB harddrive, portable music player) being unplugged
1131           while in use; file on mounted CD/DVD that can't be read because
1132           the medium is partly damaged. Fixes #348455 and #348475.
1133
1134 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1135
1136         * gst/gstquery.h:
1137         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1138         rates are a gdouble
1139
1140 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1141
1142         * gst/gstregistry.c:
1143           Move big documentation comment into class section header, so that it
1144           appears in the API docs.
1145
1146 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1147
1148         * docs/gst/gstreamer-sections.txt:
1149         Oops. Commit the docs additions too for new API.
1150         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1151
1152 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1153
1154         * gst/gststructure.c: (gst_structure_id_set),
1155         (gst_structure_id_set_valist):
1156         * gst/gststructure.h:
1157         Add API for setting values into structures without performing
1158         a quark lookup, if the appropriate quark is already known.
1159
1160         API: gst_structure_id_set
1161         API: gst_structure_id_set_valist
1162
1163         * gst/parse/grammar.y:
1164         * gst/parse/parse.l:
1165         Remove some dead code shown by the coverage information.
1166         Don't throw a critical g_warning when encountering a syntax error,
1167         just warn and let the normal error path handle it.
1168
1169         * plugins/elements/gstelements.c:
1170         Bump the rank of filesink up to PRIMARY so that it is preferred over
1171         gnomevfssink for file:// sink uri's
1172
1173         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1174         (GST_START_TEST), (run_delayed_test),
1175         (gst_parse_test_element_base_init),
1176         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1177         (gst_parse_test_element_change_state),
1178         (gst_register_parse_element), (parse_suite):
1179         Beef up the tests for parse syntax to check that more error cases
1180         fail as they are supposed to. Increases the test coverage a bit.
1181
1182 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         * docs/manual/basics-elements.xml:
1185           Fix gst_element_link() example.
1186
1187         * gst/gstutils.c:
1188           Mention in API docs that one should usually gst_bin_add()
1189           elements to a bin or pipeline before doing the linking.
1190           
1191 2006-07-26  Wim Taymans  <wim@fluendo.com>
1192
1193         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1194         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1195         Avoid function call for known types by keeping the buffer and
1196         subbuffer GType global.
1197
1198         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1199         Random silly optimisations in read() path.
1200
1201 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1202
1203         * tools/gst-launch.c: (main):
1204           If the top-level of the parse is a normal bin, it doesn't do the
1205           right logic to run as a top-level element, so place it inside a
1206           pipeline.
1207
1208 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1209
1210         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1211           Remove superfluous g_object_notify() calls, GObject does
1212           that for us automatically.
1213
1214 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1215
1216         * gst/gstinfo.h:
1217           on Win32, use dllspec to export the debug category symbols
1218
1219 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1220
1221         * gst/gsttaglist.c: (_gst_tag_initialize):
1222           Allow more than one GST_TAG_IMAGE per taglist.
1223
1224 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1225
1226         * gst/gstminiobject.c:
1227           update docs
1228         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1229         (gst_fd_src_create):
1230           log recurring events at LOG level
1231           add more debug for when the fd gets set
1232
1233 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1234
1235         * gst/gstparse.c: (gst_parse_launch):
1236           Also remove reentrance checks if flex is MT safe (#348179)
1237          Fix my empty ChangeLog entry below
1238
1239 2006-07-21  Andy Wingo  <wingo@pobox.com>
1240
1241         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1242
1243         * libs/gst/check/Makefile.am
1244         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1245         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1246         * libs/gst/check/gstbufferstraw.h:
1247         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1248         functions, thus proving I am still a GStreamer haxor. OK I wrote
1249         them a long time ago, but anyways.
1250
1251 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1252
1253         * configure.ac:
1254         * gst/gstparse.c: (gst_parse_launch):
1255           Check for flex version and omit mutex if we have a MT save flex
1256           (fixes #348179)
1257
1258 2006-07-21  Wim Taymans  <wim@fluendo.com>
1259
1260         * gst/gstparse.c: (gst_parse_launch):
1261         Protect recursive calls to _parse with a recursive mutex
1262         and busy flag.
1263
1264 2006-07-21  Wim Taymans  <wim@fluendo.com>
1265
1266         * tests/check/gst/gstpad.c: (GST_START_TEST):
1267         Fix leak in test.
1268
1269 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1270
1271         * gst/gstparse.c: (gst_parse_launch):
1272           Do not hang on recursive usage of gst_parse_launch()
1273
1274 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1275
1276         * gst/gsttaglist.c:
1277           Add some more docs, comments and FIXME 0.11s here and there
1278           and also fix some typos.
1279
1280 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1281
1282         * gst/gstsegment.h:
1283           Convert tabs to spaces for better readability. 
1284
1285 2006-07-20  Edward Hervey  <edward@fluendo.com>
1286
1287         * tests/check/libs/gdp.c: (gst_dp_suite):
1288         the test_buffer test fails at line 140 on ppc64 at the following
1289         check:
1290         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1291                 GST_BUFFER_FLAG_IN_CAPS),
1292                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1293         See bug #348114 for more details.
1294
1295 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1296
1297         * docs/pwg/advanced-scheduling.xml:
1298         * gst/gstpad.c:
1299           Fix typos (#348000).
1300
1301 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1302
1303         * docs/pwg/intro-basics.xml:
1304           Fix wrong links (#347927).
1305
1306 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1307
1308         * gst/gstregistry.h:
1309         * gst/gstregistryxml.c: (load_feature),
1310         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1311         * win32/common/config.h:
1312           make --disable-index work (#342564)
1313
1314 2006-07-18  Wim Taymans  <wim@fluendo.com>
1315
1316         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1317
1318         * gst/Makefile.am:
1319         * gst/gsttrace.h:
1320         The attached patch adds two missing defines to gsttrace.h when tracing
1321         is disabled.  It also corrects one existing define.
1322         Fixes #347756.
1323
1324 2006-07-17  Wim Taymans  <wim@fluendo.com>
1325
1326         * docs/gst/gstreamer-sections.txt:
1327         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1328         * gst/gst.h:
1329         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1330         Add two functions to check and change the SIGSEGV behaviour
1331         when loading plugins.
1332         Don't mess with the SIGSEGV handler when we were told not to.
1333         Fixes #347794.
1334         API: gst_segtrap_is_enabled
1335         API: gst_segtrap_set_enabled
1336
1337 2006-07-14  Wim Taymans  <wim@fluendo.com>
1338
1339         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1340         * tests/check/elements/filesrc.c: (GST_START_TEST):
1341         Revert fix for regression in #347408 after release.
1342
1343 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1344
1345         Patch by: Antoine Tremblay <hexa00 at gmail com>
1346
1347         * gst/gstutils.c: (gst_element_unlink):
1348           Free iterator when done (#347311).
1349
1350         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1351           And add a test case for this.
1352
1353 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1354
1355         * configure.ac:
1356         Bump nano back to CVS
1357
1358 === release 0.10.9 ===
1359
1360 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1361
1362         * configure.ac:
1363           releasing 0.10.9, "On the road again"
1364
1365 2006-07-13  Wim Taymans  <wim@fluendo.com>
1366
1367         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1368         * tests/check/elements/filesrc.c: (GST_START_TEST):
1369         Revert pull-0 fix for release. Disable check. Fixes #347408.
1370
1371 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1372
1373         * libs/gst/dataprotocol/dataprotocol.c:
1374         (gst_dp_event_from_packet_1_0):
1375           Fixes #347337: failure to deserialize event packets with
1376           empty payload (only event type)
1377
1378 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1379
1380         * gst/Makefile.am:
1381           do not install a .c file in the header directory
1382
1383 2006-07-13  Edward Hervey  <edward@fluendo.com>
1384
1385         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1386         GhostPad no longer implicitely use the padtemplates of the targets.
1387         Fixes #347384
1388
1389 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1390
1391         * gst/gstvalue.c: (gst_value_compare_list),
1392         (gst_value_compare_array), (_gst_value_initialize):
1393         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1394         Make GstValueArray comparison be order dependent as designed.
1395         Add checks for value lists and value array comparisons.
1396         Fixes #347221
1397
1398 2006-07-11  Edward Hervey  <edward@fluendo.com>
1399
1400         * gst/gstbin.c: (activate_pads),
1401         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1402         (gst_bin_change_state_func):
1403         (de)activate src pads before calling state_change on the childs.
1404         This is to avoid the case where a src ghostpad is blocked (holding the
1405         stream lock), which would block the deactivation of the ghostpad's
1406         target pad.
1407         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1408         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1409         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1410         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1411         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1412         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1413         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1414         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1415         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1416         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1417         (gst_ghost_pad_class_init),
1418         (gst_ghost_pad_internal_do_activate_push),
1419         (gst_ghost_pad_internal_do_activate_pull),
1420         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1421         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1422         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1423         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1424         GhostPads now create their internal GstProxyPad at creation (and not
1425         when they're linked, as it was being done previously).
1426         The internal and target pads are linked straight away.
1427         The data will also travel through the other pad in order to make
1428         pad blocking and probes non-hackish (the probe/block now really happens
1429         on the GhostPad and not on the target).
1430         * gst/gstpad.c: (gst_pad_set_blocked_async),
1431         (gst_pad_link_prepare), (gst_pad_push_event):
1432         Remove previous ghostpad cruft.
1433         * gst/gstutils.c: (gst_pad_add_data_probe),
1434         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1435         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1436         (gst_pad_remove_buffer_probe):
1437         Remove previous ghost pad cruft.
1438         Added more detailed debug statements.
1439         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1440         Fix the testsuite for refcounting changes.
1441         The comments about who has references were correct, but the refcount
1442         being checked wasn't the same (!?!).
1443
1444         Fixes #341029
1445
1446 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1447
1448         * docs/gst/gstreamer-sections.txt:
1449         * gst/gstconfig.h.in:
1450         More docs for configuration options, add docs to gtk-doc.
1451
1452 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1453
1454         * gst/Makefile.am:
1455         * gst/gstconfig.h.in:
1456         * win32/common/config.h:
1457         Fix build when disabling tracing (fixes #344016). Also start to document
1458         the defines that disable the sub-systems.
1459
1460 2006-07-10  Edward Hervey  <edward@fluendo.com>
1461
1462         * gst/gst.c: (ensure_current_registry_forking):
1463         let's make valgrind happy...
1464
1465 2006-07-09  Wim Taymans  <wim@fluendo.com>
1466
1467         * gst/gstelement.c: (activate_pads),
1468         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1469         Better pad activation code: Reset the collect value too on resync.
1470         Add some comments.
1471
1472 2006-07-09  Wim Taymans  <wim@fluendo.com>
1473
1474         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1475         (gst_pad_activate_push):
1476         Use some more macros where it makes sense.
1477         Allow pad mode switching instead of asserting. When a pad
1478         is activated in one mode and we activate it in another, 
1479         deactivate it first before activating it in a different mode.
1480         Fixes #329198.
1481
1482 2006-07-08  Andy Wingo  <wingo@pobox.com>
1483
1484         * tools/gst-launch.c (main): Handle err == NULL.
1485
1486         * gst/gst.c (init_post, ensure_current_registry)
1487         (ensure_current_registry_forking)
1488         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1489         factoring out the registry scanning into separate functions. Don't
1490         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1491         Better environment var name/interface suggestions accepted.
1492
1493 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1494
1495         * gst/gstobject.c: (gst_object_set_name_default),
1496         (gst_object_set_name):
1497           Random micro-optimisation: don't use a hash table
1498           with strings as keys and the usual strdup/strcmp
1499           involved, but rather just use the GQuark of the
1500           type name as key, since it needs to be looked up
1501           anyway to get the type name string.
1502
1503         * tests/check/gst/gstobject.c: (GST_START_TEST):
1504           Fix various leaks.
1505
1506 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1507
1508         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1509         (gst_bin_iterate_all_by_interface):
1510           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1511           GTypes are gulongs and thus the top 4 bytes might be cut
1512           off on some platforms when doing GPOINTER_TO_INT, leading
1513           to invalid GTypes and bad things happening (see RH bug #179654).
1514           Also add a check to make sure the type passed in is really
1515           an interface type.
1516
1517 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1518
1519         * .cvsignore:
1520           Ignore more.
1521
1522 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1523
1524         * Makefile.am:
1525         * configure.ac:
1526         * gst-element-check.m4:
1527         * gst-element-check.m4.in:
1528           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1529           instead of the unversioned gst-inspect (#324176, #168659).
1530
1531 2006-07-06  Wim Taymans  <wim@fluendo.com>
1532
1533         * gst/gstmessage.h:
1534         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1535         warnings.
1536
1537 2006-07-06  Wim Taymans  <wim@fluendo.com>
1538
1539         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1540         (gst_base_src_wait), (gst_base_src_update_length),
1541         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1542         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1543         (gst_base_src_loop), (gst_base_src_start),
1544         (gst_base_src_activate_pull):
1545         Update docs.
1546         blocksize == 0 now means the default blocksize when working in push
1547         based mode.
1548         Remove some pointless asserts in _wait function.
1549         Fix offset/length calculations and EOS handling. We can now pull 0
1550         bytes as well, which is allowed.
1551         use _check_get_range() to decide if we can operate in _pull based
1552         mode.
1553         Fix refcounting leak when check_get_range function was not 
1554         implemented.
1555         API GstBaseSrc::blocksize range can be 0 too now (default)
1556
1557         * tests/check/elements/filesrc.c: (GST_START_TEST),
1558         (filesrc_suite):
1559         Added check to test _get_range() behaviour.
1560
1561 2006-07-06  Wim Taymans  <wim@fluendo.com>
1562
1563         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1564         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1565         (gst_pad_pull_range):
1566         * gst/gstpad.h:
1567         Lots of comments and docs added to the pad functions.
1568         Flesh out the expected behaviour of the get_range() functions.
1569
1570 2006-07-06  Wim Taymans  <wim@fluendo.com>
1571
1572         * gst/gstbus.h:
1573         * gst/gstclock.h:
1574         * gst/gstevent.h:
1575         * gst/gstiterator.h:
1576         * gst/gstpad.h:
1577         * gst/gstplugin.h:
1578         * gst/gsttask.h:
1579         Remove comma at end of enumerator list. 
1580
1581 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1582
1583         * win32/common/libgstbase.def:
1584         * win32/common/libgstdataprotocol.def:
1585         * win32/common/libsgtreamer.def:
1586         Add new exported functions.
1587
1588 2006-07-05  Wim Taymans  <wim@fluendo.com>
1589
1590         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1591         Add some more docs here and there.
1592
1593 2006-07-05  Wim Taymans  <wim@fluendo.com>
1594
1595         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1596         (gst_base_sink_loop), (gst_base_sink_get_position):
1597         When operating in pull mode update the offset so that we
1598         read sequentially.
1599
1600 2006-07-05  Wim Taymans  <wim@fluendo.com>
1601
1602         * gst/gstregistryxml.c: (read_string):
1603         Avoid strdup. (will happen in libxml, but hey!)
1604
1605         * gst/gsturi.c:
1606         Add some more docs.
1607
1608 2006-07-05  Wim Taymans  <wim@fluendo.com>
1609
1610         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1611         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1612         (gst_buffer_suite):
1613         No point in checking if the size of the subbuffer > 0, the
1614         code handles it correclty as demonstrated by unit test.
1615         Also add a unit test for the zero sized _new_and_alloc and
1616         _copy. Fixes #346663.
1617
1618 2006-07-05  Wim Taymans  <wim@fluendo.com>
1619
1620         * libs/gst/base/gstbasetransform.c:
1621         (gst_base_transform_prepare_output_buffer),
1622         (gst_base_transform_buffer_alloc),
1623         (gst_base_transform_handle_buffer):
1624         Make sure the buffer we pass to transform_ip has a refcount of
1625         1 and thus is writable. Fixes #343196
1626
1627 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1628
1629         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1630         (gst_file_src_init), (gst_file_src_set_property),
1631         (gst_file_src_get_property), (gst_file_src_map_region):
1632         * plugins/elements/gstfilesrc.h:
1633         Add "sequential" property, off by default, to use madvise and hint
1634         to the kernel that sequential access is desired.
1635         Touch all retrieved pages by default to ensure they are pulled
1636         into memory. (Closes #345720)
1637
1638 2006-07-03  Wim Taymans  <wim@fluendo.com>
1639
1640         * docs/design/part-block.txt:
1641         * docs/design/part-dynamic.txt:
1642         Small docs updates.
1643
1644 2006-07-03  Wim Taymans  <wim@fluendo.com>
1645
1646         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1647         (gst_caps_unref), (gst_static_caps_get),
1648         (gst_caps_append_structure):
1649         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1650         Use GSlice when the glib we build against is >= 2.10
1651
1652 2006-07-03  Wim Taymans  <wim@fluendo.com>
1653
1654         * gst/gstelement.c: (gst_element_pads_activate):
1655         Small cleanup in pad activation code.
1656
1657 2006-07-03  Wim Taymans  <wim@fluendo.com>
1658
1659         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1660
1661         * gst/gst-i18n-app.h:
1662         * gst/gst-i18n-lib.h:
1663         * tools/gst-inspect.c: (print_signal_info):
1664         The attached patch will make the inclusion of gettext.h unconditional in
1665         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1666         libintl.h in tools/gst-inspect.c.
1667         This allows use of --disable-nls again and fixes #344642.
1668
1669 2006-07-03  Edward Hervey  <edward@fluendo.com>
1670
1671         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1672         Implement pad blocking on events according to part-block.txt.
1673         More comments on behaviour.
1674         * tests/check/gst/gstevent.c: (test_event):
1675         Send event to peer pad of blocked pad (else it will block).
1676
1677 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1678
1679         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1680         (gst_check_run_suite):
1681           if we get the wrong message, give us the types as string
1682         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1683           Fix a translatable
1684         * tests/check/elements/filesrc.c: (GST_START_TEST):
1685           add a test for trying to open a non-existing file
1686
1687 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1688
1689         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1690           add a test for adding self
1691
1692 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1693
1694         * libs/gst/check/gstcheck.h:
1695           add some assert_ as alias for fail_unless_*
1696         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1697           increase test coverage
1698
1699 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1700
1701         * Makefile.am:
1702           include lcov.mak for lcov coverage generation
1703         * tools/Makefile.am:
1704           add to CLEANFILES
1705
1706 2006-07-02  Edward Hervey  <edward@fluendo.com>
1707
1708         * tests/check/elements/.cvsignore:
1709         moaping
1710
1711 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1712
1713         * configure.ac:
1714           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1715         * tests/check/Makefile.am:
1716           clean up gcov files
1717
1718 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1719
1720         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1721           remove gst_caps_simplify; it was not declared and not used
1722           and deprecated in 0.8
1723
1724 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1725
1726         * docs/faq/gst-uninstalled:
1727           don't put empty paths on PYTHONPATH
1728         * docs/gst/gstreamer-sections.txt:
1729           remove some symbols that are not there
1730
1731 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1732
1733         * gst/gstcaps.c: (gst_caps_compare_structures):
1734           whitespace fixes
1735         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1736         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1737           add more tests
1738
1739 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1740
1741         * libs/gst/dataprotocol/Makefile.am:
1742           build dataprotocol test by linking to the lib, instead of
1743           compiling the source, so we get coverage
1744         * tests/check/Makefile.am:
1745         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1746         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1747           add a test for filesrc
1748
1749 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1750
1751         * tests/check/gst/gststructure.c: (GST_START_TEST),
1752         (gst_structure_suite):
1753           Push coverage from 59.04% to 70.00%
1754
1755 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1756
1757         * tests/check/Makefile.am:
1758           gst-inspect every element; this makes sure that we also get
1759           coverage on element's get/set functions
1760
1761 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1762
1763         * configure.ac:
1764           set CFLAGS and friends to -O0 if gcov is being used
1765           add GCOV LIBS
1766         * gst/Makefile.am:
1767         * libs/gst/base/Makefile.am:
1768         * libs/gst/check/Makefile.am:
1769         * libs/gst/controller/Makefile.am:
1770         * libs/gst/dataprotocol/Makefile.am:
1771         * libs/gst/net/Makefile.am:
1772         * plugins/elements/Makefile.am:
1773         * plugins/indexers/Makefile.am:
1774           add makefile rules to generate gcov data and clean up
1775         * tests/check/Makefile.am:
1776           add a coverage target that generates an html overview
1777           of coverage data
1778
1779 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1780
1781         * tests/check/elements/fakesink.c:
1782         * tests/check/elements/fakesrc.c:
1783         * tests/check/elements/fdsrc.c:
1784         * tests/check/elements/identity.c:
1785         * tests/check/generic/sinks.c: (gst_sinks_suite):
1786         * tests/check/generic/states.c:
1787         * tests/check/gst/gst.c:
1788         * tests/check/gst/gstabi.c:
1789         * tests/check/gst/gstbin.c:
1790         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1791         * tests/check/gst/gstbus.c: (gst_bus_suite):
1792         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1793         * tests/check/gst/gstelement.c:
1794         * tests/check/gst/gstevent.c: (gst_event_suite):
1795         * tests/check/gst/gstghostpad.c:
1796         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1797         * tests/check/gst/gstmessage.c: (gst_message_suite):
1798         * tests/check/gst/gstminiobject.c:
1799         * tests/check/gst/gstobject.c:
1800         * tests/check/gst/gstpad.c:
1801         * tests/check/gst/gstpipeline.c:
1802         * tests/check/gst/gstplugin.c:
1803         * tests/check/gst/gstquery.c: (gst_query_suite):
1804         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1805         * tests/check/gst/gststructure.c:
1806         * tests/check/gst/gstsystemclock.c:
1807         * tests/check/gst/gsttag.c:
1808         * tests/check/gst/gsttask.c: (gst_task_suite):
1809         * tests/check/gst/gstutils.c:
1810         * tests/check/gst/gstvalue.c:
1811         * tests/check/libs/adapter.c:
1812         * tests/check/libs/basesrc.c:
1813         * tests/check/libs/collectpads.c:
1814         * tests/check/libs/controller.c:
1815         * tests/check/libs/gdp.c: (gst_dp_suite):
1816         * tests/check/libs/gstnetclientclock.c:
1817         * tests/check/libs/gstnettimeprovider.c:
1818         * tests/check/libs/libsabi.c: (libsabi_suite):
1819         * tests/check/libs/typefindhelper.c:
1820         * tests/check/pipelines/cleanup.c:
1821         * tests/check/pipelines/parse-launch.c:
1822         * tests/check/pipelines/simple-launch-lines.c:
1823         * tests/check/pipelines/stress.c: (stress_suite):
1824           use the new macro
1825
1826 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1827
1828         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1829         * libs/gst/check/gstcheck.h:
1830           create a macro and function so that the simple unit test
1831           case can be just one macro to create main()
1832
1833 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1834
1835         * gst/gstbin.c: (gst_bin_restore_thyself):
1836         * gst/gstxml.c: (gst_xml_make_element):
1837           Fix deserialisation from XML. Set parent manually
1838           instead of using gst_bin_add(), since gst_bin_add()
1839           will unlink all pads of the element being added.
1840           Fixes #341667.
1841
1842 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1843
1844         Patch by: Peter Kjellerstedt <pkj at axis com>
1845
1846         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1847           Fix missing g_strdup() and double free when using the
1848           --gst-plugin-load command line option (#346097).
1849
1850 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * gst/gstinfo.c:
1853           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1854
1855         * libs/gst/net/gstnetclientclock.c:
1856         * libs/gst/net/gstnettimeprovider.c:
1857           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1858
1859 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1860
1861         * docs/manual/advanced-dataaccess.xml:
1862           Fix buffer probe example compilation in
1863           ADM (#345708).
1864         
1865 2006-06-22  Edward Hervey  <edward@fluendo.com>
1866
1867         * gst/gstelement.c: (gst_element_pads_activate):
1868         We need to deactivate src pads first and then sink pads.
1869         The reason is the src pads might be blocking while holding the streaming
1870         lock, so we need to deactivate them first so that deactivating the sink
1871         pads doesn't block (since it will require the streaming lock).
1872
1873 2006-06-22  Wim Taymans  <wim@fluendo.com>
1874
1875         * libs/gst/base/gstbasetransform.c:
1876         (gst_base_transform_buffer_alloc):
1877         Forgot to remove two unneeded unrefs.
1878         Simplify a check _is_equal allready checks the obvious case.
1879
1880 2006-06-22  Wim Taymans  <wim@fluendo.com>
1881
1882         * docs/design/part-block.txt:
1883         Some docs about what pad_block should do.
1884
1885 2006-06-22  Wim Taymans  <wim@fluendo.com>
1886
1887         * gst/gstcaps.c: (gst_caps_replace):
1888         Fix crasher when passed NULL. Doc clarification.
1889         Optimize for the trivial case.
1890
1891         * gst/gstpipeline.c: (gst_pipeline_change_state):
1892         Small cleanups.
1893
1894         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1895         Small documentation cleanup.
1896
1897         * libs/gst/base/gstbasetransform.c:
1898         (gst_base_transform_buffer_alloc):
1899         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1900         is what we need and it avoids a whole lot of redundant 
1901         refcount operations.
1902
1903 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
1904
1905         Patch by: Philip Jägenstedt  <philip at lysator liu se>
1906
1907         * docs/manual/advanced-dataaccess.xml:
1908           Fix 'Embedding static elements' section to use
1909           GST_PLUGIN_DEFINE_STATIC (#345607).
1910
1911 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1912
1913         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1914           Attempt to 'fix' spuriously failing test case: it seems like the
1915           timeout of half a second is simply too small when the system is under
1916           load otherwise, and the timeout doesn't really seem to serve any
1917           particular purpose here. Give the pipeline a few seconds to preroll
1918           first, and then give it another half a second to go from PAUSED to
1919           PLAYING and marshal the message into the main thread.
1920
1921 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1922
1923         * tools/gst-feedback-m.m:
1924           Don't only use unversioned tools, try versioned tools as well
1925           (#345086).
1926
1927 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1928
1929         * gst/gstbus.c: (gst_bus_class_init):
1930           Fix some typos, make docs more explicit.
1931
1932 2006-06-20  Wim Taymans  <wim@fluendo.com>
1933
1934         * tests/check/gst/gstghostpad.c: (block_callback),
1935         (GST_START_TEST), (gst_ghost_pad_suite):
1936         Added some more ghostpad tests, mainly blocking
1937         and probes.
1938
1939 2006-06-16  Wim Taymans  <wim@fluendo.com>
1940
1941         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1942         (gst_file_sink_close_file), (gst_file_sink_do_seek),
1943         (gst_file_sink_event), (gst_file_sink_render):
1944         * plugins/elements/gstfilesink.h:
1945         Check if we can seek in the file instead of assuming
1946         we always can. Post an error when we are asked to seek in a
1947         non-seekable file (like a fifo). Fixes #343312.
1948         Some cleanups.
1949
1950 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         * tools/gst-launch.1.in:
1953           Un-garble (fourcc) bit in filtered caps section.
1954
1955 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
1956
1957         * docs/manual/advanced-autoplugging.xml:
1958         * docs/manual/basics-helloworld.xml:
1959         * docs/manual/highlevel-components.xml:
1960           Don't leak bus reference in sample code.
1961
1962 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
1963
1964         * autogen.sh:
1965           Add default for new --enable-plugin-docs switch.
1966
1967         * configure.ac:
1968           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1969           Fixes #344039.
1970
1971         * docs/Makefile.am:
1972           Use new ENABLE_PLUGIN_DOCS conditional.
1973
1974 2006-06-14  Wim Taymans  <wim@fluendo.com>
1975
1976         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1977         Make it clear with a FIXME and a real define what the #if 0
1978         previously disabled.
1979
1980 2006-06-14  Wim Taymans  <wim@fluendo.com>
1981
1982         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1983         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1984         * libs/gst/base/gstbasetransform.c:
1985         (gst_base_transform_sink_eventfunc):
1986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1987         Don't randomly and silently reset a segment when the format 
1988         changes as this is a bug somewhere upstream. Fixes #330379.
1989
1990 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1991
1992         Patch by: Wouter Paesen  <wouter at kangaroot net>
1993
1994         * libs/gst/controller/gstcontroller.c:
1995         (gst_controlled_property_new):
1996           Fix controlling of float properties (#344849).
1997
1998         * tests/check/libs/controller.c:
1999         (gst_test_mono_source_get_property),
2000         (gst_test_mono_source_set_property),
2001         (gst_test_mono_source_class_init), (GST_START_TEST):
2002           While we're at it, add some float stuff to unit test.
2003
2004 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2005
2006         * docs/README:
2007         * docs/images/gdp-header.svg:
2008           add a gdp image
2009         * docs/libs/Makefile.am:
2010         * docs/libs/gdp-header.png:
2011         * libs/gst/dataprotocol/dataprotocol.c:
2012           add it to the API docs
2013         * docs/manual/intro-motivation.xml:
2014           fix typo
2015
2016 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2017
2018         * gst/gst.c: (scan_and_update_registry), (init_post):
2019           If the fork()'ed child process can't write the updated registry cache
2020           file to disk for some reason, make it exit with a failure exit code,
2021           so that the parent can then re-scan the plugins itself and update the
2022           registry structures in memory and work with that (rather than failing
2023           when creating elements because seemingly no plugins are available).
2024           Refactor registry scanning code into separate function for this and
2025           also separate fork() and non-fork() code paths. Fixes #344748.
2026
2027 2006-06-13  Wim Taymans  <wim@fluendo.com>
2028
2029         * docs/manual/advanced-dataaccess.xml:
2030         Fix wrong PluginDesc. Fixes #344755.
2031
2032 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2033
2034         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2035           Fix silly bug that prevented us from creating
2036           ~/.gstreamer-0.10 and writing the registry in one
2037           go (the first call to g_mkstemp() would overwrite the
2038           placeholder in the template string, so the second call
2039           to g_mkstemp() after creating the missing directory
2040           would then error out with 'invalid argument').
2041
2042 2006-06-13  Edward Hervey  <edward@fluendo.com>
2043
2044         * gst/gst.c: (init_post):
2045         Free string.
2046
2047 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2048
2049         * gst/glib-compat-private.h:
2050         * gst/glib-compat.c:
2051         * gst/glib-compat.h:
2052         * gst/gstvalue.c: (gst_value_serialize_flags):
2053           remove GLib 2.6 compatibility code
2054
2055 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2056
2057         * gst/parse/Makefile.am:
2058           Fix build with 'make -j N' even more (#340016).
2059
2060 2006-06-12  Wim Taymans  <wim@fluendo.com>
2061
2062         * docs/gst/gstreamer-sections.txt:
2063         Fix docs.
2064
2065 2006-06-12  Wim Taymans  <wim@fluendo.com>
2066
2067         * gst/gstsegment.c: (gst_segment_set_duration),
2068         (gst_segment_set_last_stop), (gst_segment_set_seek),
2069         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2070         (gst_segment_to_running_time), (gst_segment_clip):
2071         Use G_UNLIKELY to help the compiler a bit.
2072
2073 2006-06-12  Wim Taymans  <wim@fluendo.com>
2074
2075         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2076
2077         * gst/gstevent.c: (gst_event_get_type):
2078         * gst/gstmessage.c:
2079         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2080         (gst_pad_push):
2081         constify quark registration strings. Fixes #344115
2082         Avoid unneeded type checking is _pad_push() by internally
2083         calling gst_pad_chain_unchecked().
2084
2085 2006-06-12  Wim Taymans  <wim@fluendo.com>
2086
2087         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2088         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2089         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2090         (gst_buffer_is_span_fast), (gst_buffer_span):
2091         Init _type for consistency.
2092         Use _FLAGS macro to avoid type check.
2093         Avoid unneeded type checks in subbufer code.
2094
2095 2006-06-12  Wim Taymans  <wim@fluendo.com>
2096
2097         * gst/gst.c: (gst_debug_help):
2098         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2099         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2100         (gst_plugin_feature_list_free):
2101         * gst/gstregistry.c: (gst_registry_add_plugin),
2102         (gst_registry_add_feature), (gst_registry_plugin_filter),
2103         (gst_registry_feature_filter), (gst_registry_find_plugin),
2104         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2105         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2106         * gst/gstregistryxml.c: (load_feature),
2107         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2108         * gst/gstminiobject.c: (gst_mini_object_unref),
2109         (gst_mini_object_replace), (gst_value_mini_object_free),
2110         (gst_value_mini_object_copy):
2111         Use _CAST macros to avoid unneeded type checking.
2112         Added some more G_UNLIKELY.
2113
2114 2006-06-12  Wim Taymans  <wim@fluendo.com>
2115
2116         * gst/gstbuffer.h:
2117         Avoid unneeded type checking.
2118         API: GST_BUFFER_IS_DISCONT
2119
2120         * gst/gstminiobject.h:
2121         Avoid type check in flag accessor.
2122
2123         * gst/gstelementfactory.h:
2124         * gst/gstplugin.h:
2125         * gst/gstpluginfeature.h:
2126         Add _CAST macros.
2127         API: GST_ELEMENT_FACTORY_CAST
2128         API: GST_PLUGIN_CAST
2129         API: GST_PLUGIN_FEATURE_CAST
2130
2131 2006-06-12  Wim Taymans  <wim@fluendo.com>
2132
2133         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2134         (gst_object_unref):
2135         Add G_UNLIKELY in type registration.
2136         Avoid type check in _ref/_unref since that is also
2137         done in glib.
2138
2139 2006-06-12  Wim Taymans  <wim@fluendo.com>
2140
2141         * gst/gsterror.c: (gst_g_error_get_type):
2142         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2143         (gst_static_pad_template_get_type):
2144         * gst/gsttaglist.c: (gst_tag_list_get_type):
2145         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2146         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2147         * gst/gsturi.c: (gst_uri_handler_get_type):
2148         * gst/gstvalue.c: (gst_date_get_type):
2149         * gst/gstxml.c: (gst_xml_get_type):
2150         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2151         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2152         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2153         Add G_UNLIKELY in type registration.
2154
2155 2006-06-12  Wim Taymans  <wim@fluendo.com>
2156
2157         * tools/gst-inspect.c: (print_signal_info):
2158         Properly print enum values.
2159
2160 2006-06-12  Wim Taymans  <wim@fluendo.com>
2161
2162         * gst/gstinfo.c: (gst_debug_set_active),
2163         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2164         * gst/gstinfo.h:
2165         Add some G_[UN]LIKELY.
2166         Maintain __gst_debug_min to avoid formatting the arguments of
2167         debug messages that will be dropped anyway to avoid a lot of 
2168         overhead from the debugging system.
2169
2170 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2171
2172         * po/POTFILES.in:
2173         * po/POTFILES.skip:
2174           add missing files containing translatable strings, tell intltool about
2175           one exception
2176
2177 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2178
2179         * tests/check/libs/.cvsignore:
2180         add test-binary to ignore list
2181
2182 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2183
2184         * docs/libs/gstreamer-libs-docs.sgml:
2185         reorder (put dp into a chapter) and indent
2186
2187 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2188
2189         * configure.ac:
2190           back to HEAD
2191
2192 === release 0.10.8 ===
2193
2194 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2195
2196         * configure.ac:
2197           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2198
2199 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2200
2201         * gst/gst.c: (init_post):
2202           move pid declaration to declaration block
2203
2204 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2205
2206         * gst/gst.c: (init_post):
2207           use _exit() instead of exit() in our forked child; this ensures
2208           that none of the registered exit handlers from whatever is using
2209           GStreamer get executed.  This fixes gnome-mixer-applet failing
2210           to load, because ORBit would shut down.
2211           Spotted by: Edward Hervey  <edward@fluendo.com>
2212           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2213           Fixes #344474
2214
2215 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2216
2217         * configure.ac:
2218           back to TRUNK
2219
2220 === release 0.10.7 ===
2221
2222 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2223
2224         * configure.ac:
2225           releasing 0.10.7, "Soepeke, ik zie ou"
2226
2227 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2228
2229         * configure.ac:
2230         * po/af.po:
2231         * po/az.po:
2232         * po/bg.po:
2233         * po/ca.po:
2234         * po/cs.po:
2235         * po/de.po:
2236         * po/en_GB.po:
2237         * po/fr.po:
2238         * po/it.po:
2239         * po/nb.po:
2240         * po/nl.po:
2241         * po/ru.po:
2242         * po/sq.po:
2243         * po/sr.po:
2244         * po/sv.po:
2245         * po/tr.po:
2246         * po/uk.po:
2247         * po/vi.po:
2248         * po/zh_CN.po:
2249         * po/zh_TW.po:
2250         * win32/common/config.h:
2251           0.10.6.2 prerelease
2252
2253 2006-06-07  Wim Taymans  <wim@fluendo.com>
2254
2255         * gst/gstindex.c: (gst_index_gtype_resolver):
2256         * tools/gst-xmlinspect.c: (print_plugin_info):
2257         Fix leak spotted by coverity checker. Fixes #343827
2258         Fix another other leak found by paolo borelli.
2259
2260 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2261
2262         * libs/gst/dataprotocol/dataprotocol.c:
2263         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2264         (gst_dp_version_get_type), (gst_dp_init),
2265         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2266         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2267         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2268         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2269         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2270         (gst_dp_packetizer_free):
2271         * libs/gst/dataprotocol/dataprotocol.h:
2272           API: add a GstDPPacketizer object, and create/free functions
2273           API: add GstDPVersion enum
2274           Add 1.0 event function that uses the string serialization
2275           Serialize more useful buffer flags
2276           Fixes #343988
2277
2278 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2279
2280         * tests/check/Makefile.am:
2281         * tests/check/gst/gstabi.c:
2282         * tests/check/gst/struct_ppc64.h:
2283         * tests/check/libs/libsabi.c:
2284         * tests/check/libs/struct_ppc64.h:
2285           add ppc64 structure sizes
2286
2287 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2288
2289         * tests/check/Makefile.am:
2290         * tests/check/gst/gstabi.c:
2291         * tests/check/gst/struct_x86_64.h:
2292         * tests/check/libs/libsabi.c:
2293         * tests/check/libs/struct_x86_64.h:
2294           generate and add structure size lists for x86_64
2295
2296 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2297
2298         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2299         * libs/gst/check/gstcheck.h:
2300           factor out the method from tests that checks size of structures,
2301           and add code to generate the header containing these sizes
2302         * tests/check/gst/gstabi.c: (GST_START_TEST):
2303         * tests/check/gst/struct_i386.h:
2304         * tests/check/libs/libsabi.c: (GST_START_TEST):
2305         * tests/check/libs/struct_i386.h:
2306           use it
2307
2308 2006-06-06  Michael Smith  <msmith@fluendo.com>
2309
2310         * gst/gstsegment.h:
2311           Don't use c++-style comments, fixes #343929
2312
2313 2006-06-05  Edward Hervey  <edward@fluendo.com>
2314
2315         * gst/gst.c:
2316         plugin_paths is not used if we build without registry support.
2317
2318         * gst/gstsegment.c: (gst_segment_copy): 
2319         _copy() was always returning NULL...
2320
2321 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2322
2323         * libs/gst/dataprotocol/dataprotocol.c:
2324         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2325         (gst_dp_packet_from_event):
2326           factor out CRC code
2327
2328 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2329
2330         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2331           make sure we unset caps
2332
2333 2006-06-02  Michael Smith  <msmith@fluendo.com>
2334
2335         * libs/gst/check/gstcheck.c: (gst_check_init),
2336         (gst_check_chain_func):
2337         * libs/gst/check/gstcheck.h:
2338           Add a cond/mutex to the check support lib, signal this whenever we
2339           add to the buffers list. This will allow tests to not busy-wait on
2340           the buffer-list.
2341
2342 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2343
2344         * libs/gst/dataprotocol/dataprotocol.c:
2345         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2346         (gst_dp_packet_from_event):
2347           factor out some common header init code
2348
2349 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2350
2351         * docs/libs/gstreamer-libs-sections.txt:
2352         * docs/libs/tmpl/gstdataprotocol.sgml:
2353         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2354         * libs/gst/dataprotocol/dataprotocol.h:
2355           API: make gst_dp_crc() public
2356
2357 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2358
2359         * plugins/indexers/gstindexers.c: (plugin_init):
2360         conditionally register fileindexer (fixes #343598)
2361
2362 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2363
2364         * gst/gsttagsetter.h:
2365         Can't cast ifaces to a class
2366
2367         * libs/gst/net/gstnetclientclock.h:
2368         * libs/gst/net/gstnettimeprovider.h:
2369         * plugins/elements/gstfakesink.h:
2370         * plugins/elements/gstfakesrc.h:
2371         * plugins/elements/gstfdsink.h:
2372         * plugins/elements/gstfdsrc.h:
2373         * plugins/elements/gstfilesink.h:
2374         * plugins/elements/gstfilesrc.h:
2375         * plugins/elements/gstidentity.h:
2376         * plugins/elements/gstqueue.h:
2377         * plugins/elements/gsttee.h:
2378         * plugins/indexers/gstfileindex.c:
2379         * plugins/indexers/gstmemindex.c:
2380         * tests/old/examples/plugins/example.h:
2381         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2382
2383 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2384
2385         * libs/gst/dataprotocol/dataprotocol.c:
2386         (gst_dp_header_from_buffer):
2387           make sure we zero the whole ABI-compatible area
2388
2389 2006-06-01  Wim Taymans  <wim@fluendo.com>
2390
2391         Patch by: Alessandro Decina <alessandro at nnva dot org>
2392
2393         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2394         Make sure the EOS flag is cleared from pads after a flush
2395         or stop. Fixes #343538.
2396
2397         * tests/check/libs/collectpads.c: (GST_START_TEST),
2398         (gst_collect_pads_suite):
2399         Added test for collectpads reusage after EOS.
2400
2401 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2402
2403         * gst/gst.c:
2404          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2405         * win32/common/libgstbase.def:
2406          export gst_collect_pads_set_flushing
2407         * win32/common/libgstreamer.def:
2408          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2409          gst_value_fraction_multiply
2410         * win32/vs6/gst_inspect.dsp:
2411          add a link to intl.lib
2412
2413 2006-05-30  Wim Taymans  <wim@fluendo.com>
2414
2415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2416         (gst_collect_pads_chain):
2417         Handle the case where a pad is removed from the collection
2418         that could cause the other pads to become collectable.
2419
2420 2006-05-30  Wim Taymans  <wim@fluendo.com>
2421
2422         * gst/gstelement.c:
2423         Clarify the use of _release_request_pad() and
2424         _get_request_pad() a bit better.
2425
2426         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2427         (gst_adapter_take_buffer):
2428         Fix some doc and comment typos.
2429
2430 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2431
2432         * docs/gst/gstreamer-sections.txt:
2433         * docs/libs/gstreamer-libs-sections.txt:
2434           add declared symbols
2435
2436 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2437
2438         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2439         Add debug that can be enabled using a #define at the top of the file,
2440         for dumping stats about how late/early we were when waking up from
2441         waiting on the clock.
2442
2443 2006-05-30  Wim Taymans  <wim@fluendo.com>
2444
2445         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2446         When rebuilding the pad list, don't leak the previous list.
2447
2448 2006-05-30  Wim Taymans  <wim@fluendo.com>
2449
2450         Patch by: Lutz Mueller <lutz at topfrose dot de>
2451
2452         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2453         (gst_base_src_get_query_types), (gst_base_src_update_length):
2454         Publish supported query types.
2455         Update last_stop field in get_range mode so the position
2456         query works. Fixes #342321.
2457
2458 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2459
2460         * docs/gst/gstreamer-sections.txt:
2461         * gst/gsttaglist.c: (_gst_tag_initialize):
2462         * gst/gsttaglist.h:
2463           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2464
2465 2006-05-30  Wim Taymans  <wim@fluendo.com>
2466
2467         Patch by: Alessandro Decina <alessandro at nnva dot org>
2468
2469         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2470         Unlock mutex when removing an unknown pad.
2471         Fixes #343334.
2472
2473         * tests/check/Makefile.am:
2474         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2475         (push_event), (setup), (teardown), (GST_START_TEST),
2476         (gst_collect_pads_suite), (main):
2477         Added collecpads check, disabled for now as check crashes for
2478         some reason.
2479
2480 2006-05-29  Wim Taymans  <wim@fluendo.com>
2481
2482         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2483         Don't leak pads lists.
2484
2485 2006-05-29  Wim Taymans  <wim@fluendo.com>
2486
2487         * docs/libs/gstreamer-libs-sections.txt:
2488         * libs/gst/base/gstcollectpads.c:
2489         (gst_collect_pads_set_flushing_unlocked),
2490         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2491         (gst_collect_pads_stop):
2492         * libs/gst/base/gstcollectpads.h:
2493         API: gst_collect_pads_set_flushing()
2494         Added api to set the pads to flushing, useful for seeking
2495         code in elements using collectpads.
2496         Clear segment when receiving a flush.
2497
2498 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2499
2500         * gst/gst.c: (add_path_func), (init_post):
2501           Don't scan registry paths passed via --gst-plugin-path immediately
2502           (will crash, because absolutely nothing is set up and no types are
2503           registered etc.); do this later in init_post(). Fixes #343057.
2504
2505 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2506
2507         * gst/gst.c: (init_post):
2508           if we have fork, fork while reading/rebuilding the registry
2509           so the parent doesn't take the hit of having all plugins loaded
2510           in memory.  Fixes #342777.
2511         * configure.ac:
2512           Check if we have fork()
2513         * win32/common/config.h.in:
2514           no fork() on win32
2515
2516 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2517
2518         * plugins/elements/gstelements.c:
2519         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2520         (gst_file_src_init), (gst_file_src_set_property),
2521         (gst_file_src_get_property), (gst_file_src_start):
2522         * plugins/elements/gstfilesrc.h:
2523           API: GstFileSrc::use-mmap
2524
2525         Add a use-mmap property to enable easier testing of all code paths.
2526         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2527         in the absence of gnomevfssrc. (Closes #340501)
2528
2529 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2530
2531         * tools/gst-inspect.c:
2532         Add missing include, removes warning of ngettext not being defined on
2533         some arches.
2534
2535 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2536
2537         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2538         Handle NULL input and output pointers silently as a failed conversion,
2539         rather than g_warnings.
2540
2541 2006-05-25  Wim Taymans  <wim@fluendo.com>
2542
2543         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2544         Initialize variable before using. Fixes #342820.
2545
2546 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2547
2548         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2549           Fix off-by-one bug that would only allow peeks of N-1 bytes
2550           from the start even if the buffer to typefind on contains
2551           in fact N bytes of data (makes vorbis typefinding from a
2552           vorbis identification header buffer work).
2553
2554         * tests/check/Makefile.am:
2555         * tests/check/libs/.cvsignore:
2556         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2557         (gst_typefindhelper_suite), (main), (foobar_typefind),
2558         (plugin_init):
2559           Add very basic unit test for gst_type_find_helper_for_buffer()
2560           that checks for the problem fixed above.
2561
2562 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2563
2564         * tools/gst-inspect.c: (print_interfaces),
2565         (print_element_properties_info), (print_element_list), (main):
2566           add more translatable strings
2567
2568 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2569
2570         Patch by: Julien Moutte  <julien at moutte net>
2571
2572         * docs/gst/gstreamer-sections.txt:
2573           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2574           
2575         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2576         (gst_fake_sink_preroll):
2577         * plugins/elements/gstfakesink.h:
2578           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2579
2580 2006-05-23  Wim Taymans  <wim@fluendo.com>
2581
2582         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2583         * gst/gstpad.h:
2584         Added _CUSTOM error and success GstFlowReturn that can be
2585         used be elements internally. 
2586         Added macro to check for SUCCESS flowreturns.
2587         API: GST_FLOW_CUSTOM_SUCCESS
2588         API: GST_FLOW_CUSTOM_ERROR
2589         API: GST_FLOW_IS_SUCCESS
2590
2591         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2592         Added check for GstFlowReturn sanity.
2593
2594 2006-05-23  Wim Taymans  <wim@fluendo.com>
2595
2596         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2597
2598         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2599         (gst_collect_pads_event):
2600         clear/reset segment info in FLUSH_STOP.
2601         Fixes #336929.
2602
2603 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2604
2605         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2606         (gst_collect_pads_check_collected):
2607         Flush queued buffer on _stop(), fixes playing again (#342454)
2608
2609 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2610
2611         * tests/check/gst/gststructure.c: (GST_START_TEST),
2612         (gst_structure_suite):
2613           add a test for a complete structure
2614
2615 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2616
2617         * docs/faq/developing.xml:
2618         * docs/faq/faq.xml:
2619         * docs/faq/troubleshooting.xml:
2620         * docs/faq/using.xml:
2621           Some minor FAQ updates that won't change the fact that
2622           our FAQ is badly structured, full of information hardly
2623           anyone new to GStreamer needs to know and lacking lots
2624           of information people constantly ask for.
2625           
2626 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2627
2628         * gst/gstpad.c: (gst_pad_set_caps):
2629           Short-circuit gst_pad_set_caps if setting the existing
2630           caps pointer again, and avoid printing debug and 
2631           reffing/unreffing the caps.
2632
2633         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2634           There's actually no need to set the caps before pushing -
2635           the acceptcaps method will handle it anyway.
2636
2637 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2638
2639         * docs/gst/gstreamer-sections.txt:
2640         * win32/common/libgstreamer.def:
2641         * gst/gstutils.c: (gst_element_seek_simple):
2642         * gst/gstutils.h:
2643           API: add gst_element_seek_simple() (#342238).
2644
2645 2006-05-18  Edward Hervey  <edward@fluendo.com>
2646
2647         * gst/gsttypefind.c: (gst_type_find_get_type):
2648         * gst/gsttypefind.h:
2649         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2650         registered for GstTypeFind pointers. This allows wrapping the structure
2651         in bindings (i.e. gst-python).
2652
2653 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2654
2655         * gst/gsttagsetter.c:
2656           Docs additions and fixes (see #339918).
2657
2658 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2659
2660         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2661         The caps intersection algorithm can produce multiple copies of the
2662         caps. Until that is fixed, we need to simplify the result to be
2663         sure whether the allowed caps are fixed or not.
2664
2665         * plugins/elements/gstqueue.c: (gst_queue_init),
2666         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2667         (gst_queue_push_one):
2668         Proxied buffer alloc should not set the caps on the source pad.
2669         When pushing buffers, we always accept the caps change that triggers.
2670         This prevents negotiation errors caused by caps changing mid-stream 
2671         and then being refused on our source pad (because upstream is now
2672         refusing those caps).
2673
2674 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2675
2676         * tests/examples/helloworld/helloworld.c: (main):
2677           Must plug audioconvert and audioresample between decoder
2678           and audio sink.
2679
2680 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2681
2682         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2683         (load_feature), (load_plugin):
2684         Allow empty strings for some of the plugin fields so we don't 
2685         drop valid plugin entries that were written out correctly
2686         (Fixes #341479)
2687
2688 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2689         
2690         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2691           Use g_remove and g_rename instead of remove and rename that don't 
2692           handle utf8 characters. rename was failing for users who had specific
2693           characters in their name then the registry was built at each 
2694           gstreamer init.
2695         * win32/vs6/gst_inspect.dsp:
2696         * win32/vs6/gst_launch.dsp:
2697         * win32/vs6/libgstbase.dsp:
2698         * win32/vs6/libgstcoreelements.dsp:
2699         * win32/vs6/libgstreamer.dsp:
2700           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2701           build of libgstreamer and clean unused libraries in projects link 
2702           settings.
2703
2704 2006-05-17  Edward Hervey  <edward@fluendo.com>
2705
2706         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2707         The queue is not responsible for pushing an EOS when receiving a fatal
2708         flow error. It's up to the real element driving the pipeline to do that.
2709
2710 2006-05-16  Edward Hervey  <edward@fluendo.com>
2711
2712         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2713         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2714         buffer returned a fatal error. It should just send an EOS and stop
2715         its task.
2716         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2717         when pushing buffers on the queue and will be able to handle the event.
2718
2719 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2720
2721         * docs/manual/basics-bins.xml:
2722         * docs/manual/basics-init.xml:
2723           Fix typos and minor errors in sample code (#341856).
2724
2725 2006-05-16  Wim Taymans  <wim@fluendo.com>
2726
2727         * docs/design/part-qos.txt:
2728         Fix indexes in formulas to make more sense.
2729
2730 2006-05-15  Wim Taymans  <wim@fluendo.com>
2731
2732         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2733         Don't report POSITION based on clock time if sync is
2734         disabled in a sink.
2735
2736 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2737
2738         * gst/gstobject.h:
2739           Add cast to make compiler happy - refcount variable was a gint
2740           in GstObject but is a guint in GObject and g_atomic_int_get()
2741           wants a gint *.
2742
2743 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2744
2745         * gst/parse/Makefile.am:
2746           chain commands using &&, which also makes parallel make work
2747
2748 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2749
2750         * docs/gst/gstreamer-sections.txt:
2751         * gst/gstevent.c:
2752         * gst/gstevent.h:
2753         * gst/gstmessage.h:
2754           Minor docs fixes.
2755
2756 === release 0.10.6 ===
2757
2758 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2759
2760         * configure.ac:
2761           releasing 0.10.6, "Take the cannoli"
2762
2763 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2764
2765         * tools/gst-launch.c: (print_tag):
2766           Fix use of uninitialized variable in the hypothetical
2767           case that some broken plugin creates a GST_TAG_IMAGE
2768           tag containing a NULL buffer (#341667).
2769
2770 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2771
2772         * tools/gst-launch.c: (print_tag):
2773           Print something more intelligible for image tags when
2774           using the -t switch (#341556).
2775
2776 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2777
2778         * Makefile.am:
2779           updates for win32
2780         * configure.ac:
2781           define GST_MAJORMINOR so we have it available in win32/common/config.h
2782           Possibly remove it from our Makefile.am files later
2783         * win32/common/config.h:
2784         * win32/common/config.h.in:
2785           added GST_MAJORMINOR
2786         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2787         * win32/common/gstversion.h:
2788           updated
2789
2790 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2791
2792         * win32/MANIFEST:
2793           Update win32 files listing.
2794         * win32/common/gstversion.h:
2795           Add GST_MAJORMINOR definition.
2796         * win32/common/libgstreamer.def:
2797           Add new exported functions.
2798           
2799 2006-05-12  Michael Smith  <msmith@fluendo.com>
2800
2801         * gst/gstplugin.c: (gst_plugin_load_file):
2802           If an so file has no plugin entry point, unload the module.
2803
2804 2006-05-11  Wim Taymans  <wim@fluendo.com>
2805
2806         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2807         (gst_queue_set_property):
2808         Don't forget to signal the _chain or _loop function 
2809         when the queue size or thresholds change since that might
2810         cause them to make progres again.
2811
2812 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2813
2814         * gst/gstclock.c: (gst_clock_class_init):
2815         * gst/gstindex.c: (gst_index_class_init):
2816         * gst/gstobject.c: (gst_object_class_init):
2817         * gst/gstpad.c: (gst_pad_class_init):
2818         * gst/gstpipeline.c: (gst_pipeline_class_init):
2819         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2820         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2821         * libs/gst/base/gstbasetransform.c:
2822         (gst_base_transform_class_init):
2823         * libs/gst/net/gstnetclientclock.c:
2824         (gst_net_client_clock_class_init):
2825         * libs/gst/net/gstnettimeprovider.c:
2826         (gst_net_time_provider_class_init):
2827         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2828         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2829         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2830         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2831         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2832         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2833         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2834         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2835         * plugins/elements/gsttee.c: (gst_tee_class_init):
2836         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2837         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2838           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2839
2840 2006-05-11  Wim Taymans  <wim@fluendo.com>
2841
2842         * gst/gstbuffer.c: (_gst_buffer_initialize):
2843         Register subbufer along with the buffer type so that
2844         it does not accidentally gets registered from N
2845         different streaming threads in a non threadsafe way.
2846
2847 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2848
2849         * gst/gstbuffer.h:
2850         * gst/gstevent.h:
2851         * gst/gstmessage.h:
2852           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2853           gst_event_ref() and gst_message_ref() functions again
2854           (ugly hack, please do fix if there's a better way besides
2855           overrides.txt, which doesn't seem to work).
2856
2857 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2858
2859         * libs/gst/check/gstcheck.h:
2860           add an assert for setting state to avoid lots of repetitive code
2861           in the future
2862
2863 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2864
2865         * gst/gstvalue.c: (gst_value_serialize_flags):
2866           fix a leak if no flags are set
2867         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2868           fix leak in tests
2869
2870 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2871
2872         * docs/manual/basics-pads.xml:
2873           Expand a bit on caps and filtered links and update
2874           examples that were still using the no longer existing
2875           gst_pad_link_filtered() (#338206).
2876
2877 2006-05-10  Wim Taymans  <wim@fluendo.com>
2878
2879         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2880         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2881         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2882         (gst_collect_pads_stop):
2883         * libs/gst/base/gstcollectpads.h:
2884         No need to call _stop in _finalize.
2885         Iterate the main pad list in _finalize.
2886         Added some more debug.
2887         Free lists and data in the right order.
2888         Also free data whem doing _remove_pad when stopped for
2889         backward compatibility protect ::started with PAD_LOCK as
2890         well.
2891
2892 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2893
2894         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2895         (gst_structure_parse_value):
2896           add some comments
2897           rename a method so that it actually says what it does better
2898
2899 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2900
2901         * gst/gstevent.c: (_gst_event_initialize):
2902         * gst/gstformat.c: (_gst_format_initialize):
2903           make sure some essential types used by events are registered
2904           as part of gst_init()
2905         * gst/gstvalue.c: (gst_value_serialize_flags):
2906           if no flags are set, serialize them to a value that represents NONE
2907           so that deserializing them works
2908         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2909           add tests for serialization and deserialization of flags
2910
2911 2006-05-10  Wim Taymans  <wim@fluendo.com>
2912
2913         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2914         (gst_collect_pads_collect_range), (gst_collect_pads_available),
2915         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2916         (gst_collect_pads_event), (gst_collect_pads_chain):
2917         Update docs.
2918         Better debug info.
2919         Catch and return errors from the collect function
2920         Refuse data on eos pads.
2921
2922 2006-05-10  Edward Hervey  <edward@fluendo.com>
2923
2924         * gst/gstinterface.h:
2925         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2926         GInterface type checking.
2927         They were previously using non-defined macros.
2928
2929 2006-05-09  Wim Taymans  <wim@fluendo.com>
2930
2931         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2932         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2933         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2934         (gst_collect_pads_start), (gst_collect_pads_stop),
2935         (gst_collect_pads_peek), (gst_collect_pads_pop),
2936         (gst_collect_pads_available), (gst_collect_pads_read),
2937         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2938         (gst_collect_pads_is_collected), (gst_collect_pads_event),
2939         (gst_collect_pads_chain):
2940         * libs/gst/base/gstcollectpads.h:
2941         Clean up the mess that is collectpads, add comments and
2942         FIXMEs where needed.
2943         Maintain a separate pad list so we can add pads while
2944         collecting the other ones. For this we need a new separate 
2945         lock (see comics).
2946         Fix memory leak in finalize.
2947         Refactor some weird code to set/unset pad flushing flags, mark
2948         with comments.
2949         Don't crash in _available, _read, _flush when we're EOS.
2950
2951         * tests/check/libs/.cvsignore:
2952         Ignore adapter check binary.
2953
2954 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2955
2956         * gst/gstindex.c: (gst_index_resolver_get_type):
2957         * plugins/elements/gstfakesink.c:
2958         (gst_fake_sink_state_error_get_type):
2959         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2960         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2961         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2962           Const-ify GEnumValue arrays.
2963
2964 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2965
2966         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2967           Add test case for flags + gst_buffer_make_metadata_writable().
2968
2969 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2970
2971         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2972           gst_buffer_make_metadata_writable() should maintain the
2973           buffer flags (those that make sense at least) (see #340859).
2974
2975 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2976
2977         * tools/gst-inspect.c:
2978         * tools/gst-launch.c:
2979         * tools/gst-typefind.c:
2980         * tools/gst-xmlinspect.c:
2981         * tools/tools.h:
2982           Fix up includes: need to include stdlib.h in tools.h for exit().
2983
2984 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2985
2986         * gst/gsttaglist.c: (_gst_tag_initialize):
2987         * gst/gsttaglist.h:
2988           API: add GST_TAG_IMAGE tag (#340721).
2989
2990 2006-05-08  Wim Taymans  <wim@fluendo.com>
2991
2992         * gst/gstquery.c:
2993         Added some docs for the segment query.
2994
2995 2006-05-08  Wim Taymans  <wim@fluendo.com>
2996
2997         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2998         (gst_base_src_loop), (gst_base_src_change_state):
2999         Always push non-flushing serialized events in the streaming 
3000         thread.
3001
3002 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3003
3004         * gst/gsterror.c: (_gst_stream_errors_init):
3005           Add a missing error string.
3006
3007 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3008
3009         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3010         Add applied_rate to the debug
3011
3012         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3013         Copy applied_rate into the outgoing NEWSEGMENT event
3014
3015 2006-05-08  Wim Taymans  <wim@fluendo.com>
3016
3017         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3018
3019         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3020         (gst_base_sink_change_state):
3021         call ::unlock before taking the PREROLL_LOCK so we can safely
3022         handle elements that lock in ::render.
3023         Fixes #340174.
3024
3025 2006-05-08  Edward Hervey  <edward@fluendo.com>
3026
3027         * autogen.sh: (CONFIGURE_DEF_OPT): 
3028         Darwin's libtoolize is in fact called glibtoolize.
3029         Adding glibtoolize to the list of accepted names for libtoolize.
3030
3031 2006-05-08  Wim Taymans  <wim@fluendo.com>
3032
3033         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3034         Unify error handling, don't post an error message
3035         when a push() returns EOS but perform our normal EOS
3036         handling code. Fixes #340772.
3037
3038 2006-05-08  Wim Taymans  <wim@fluendo.com>
3039
3040         * docs/design/part-overview.txt:
3041         Make upsteam/downstream concepts more clear.
3042         Give an example of serialized/non-serialized events.
3043
3044         * docs/design/part-events.txt:
3045         * docs/design/part-streams.txt:
3046         Mention applied_rate.
3047
3048         * docs/design/part-trickmodes.txt:
3049         Mention applied rate, flesh out some more use cases.
3050
3051         * gst/gstevent.c: (gst_event_new_new_segment),
3052         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3053         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3054         (gst_event_parse_tag), (gst_event_new_buffer_size),
3055         (gst_event_parse_buffer_size), (gst_event_new_qos),
3056         (gst_event_parse_qos), (gst_event_parse_seek),
3057         (gst_event_new_navigation):
3058         * gst/gstevent.h:
3059         Add applied_rate field to NEWSEGMENT event.
3060         API: gst_event_new_new_segment_full()
3061         API: gst_event_parse_new_segment_full()
3062
3063         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3064         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3065         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3066         * gst/gstsegment.h:
3067         Add applied_rate to GstSegment structure.
3068         Make calculation of stream_time and running_time more correct
3069         wrt rate/applied_rate.
3070         Add some more docs.
3071         API: GstSegment::applied_rate field
3072         API: gst_segment_set_newsegment_full();
3073
3074         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3075         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3076         * libs/gst/base/gstbasetransform.c:
3077         (gst_base_transform_sink_eventfunc),
3078         (gst_base_transform_handle_buffer):
3079         Parse and use applied_rate in the GstSegment field.
3080
3081         * tests/check/gst/gstevent.c: (GST_START_TEST):
3082         Add check for applied_rate field.
3083
3084         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3085         (gstsegments_suite):
3086         Add more checks for various GstSegment operations.
3087
3088 2006-05-08  Wim Taymans  <wim@fluendo.com>
3089
3090         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3091         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3092         (gst_base_sink_get_position), (gst_base_sink_change_state):
3093         Store the sync time of the buffer end position separatly in a
3094         new variable eos_rtime so we can properly sync the EOS event.
3095         Fixes #340697.
3096         Fix the docs for gst_base_sink_set_qos_enabled().
3097         Don't set segment start to invalid value when we receive a 
3098         non TIME newsegment.
3099         get closer to handling position reporting for negative rates 
3100         correctly.
3101
3102 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3103
3104         * gst/gstcaps.c:
3105         Docs about how to print caps for debug purposes.
3106
3107         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3108         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3109
3110 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3111
3112         * gst/gstelement.c:
3113           use full enum names and preprend a '%' in docs strings to make recent 
3114           gtk-doc turn that into a link
3115
3116 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3117
3118         * docs/manual/basics-bins.xml:
3119         * docs/manual/basics-bus.xml:
3120         * docs/manual/basics-pads.xml:
3121           Some typo fixes, some additions, some clarifications. 
3122
3123 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3124
3125         * tools/gst-inspect.c: (main):
3126         * tools/gst-launch.c: (main):
3127         * tools/gst-run.c: (main):
3128         * tools/gst-typefind.c: (main):
3129         * tools/gst-xmlinspect.c: (main):
3130           Use the string passed to g_option_context_new() for
3131           what it's intended for - the program name is already
3132           printed elsewhere.
3133
3134 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3135
3136         * tools/Makefile.am:
3137         * tools/gst-inspect.c: (main):
3138         * tools/gst-launch.c: (main):
3139         * tools/gst-xmlinspect.c: (main):
3140         * tools/tools.h:
3141           Add back --version command line option (#340460).
3142
3143         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3144           Add --version option and use GOption for argument parsing; refactor a
3145           bit; accept directories as arguments and recurse into them; lastly,
3146           print a decent error message when things go wrong.
3147
3148 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3149
3150         * docs/manual/basics-bins.xml:
3151         Don't mention GstThread (#340611)
3152         * docs/manual/basics-elements.xml:
3153         Update link to GObject tutorial (#340607)
3154         
3155 2006-05-05  Wim Taymans  <wim@fluendo.com>
3156
3157         * gst/gstbuffer.h:
3158         * gst/gstminiobject.c:
3159         Add note about refcounting and miniobject/buffer writeability
3160         to docs. Fixes #340604
3161
3162         * gst/gstelementfactory.h:
3163         Added some explanation about @klass.
3164
3165 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3166
3167         * docs/manual/intro-motivation.xml:
3168         * docs/manual/manual.xml:
3169         Avoid CORBA & Bonobo references (#340598)
3170
3171 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3172
3173         * docs/manual/basics-bus.xml:
3174         * docs/manual/basics-pads.xml:
3175         Fix up some inaccuracies and omissions (#340609)
3176         
3177 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3178
3179         * gst/gstghostpad.c:
3180           Small typo in docs (#340625)
3181
3182 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3183
3184         * gst/parse/Makefile.am:
3185           Make 'make -j' proof (see #340698).
3186
3187 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3188
3189         * configure.ac:
3190           Require GLib-2.8 here as well.
3191
3192 2006-05-05  Wim Taymans  <wim@fluendo.com>
3193
3194         * gst/glib-compat.c:
3195         * gst/gst.c: (init_pre):
3196         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3197         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3198         (gst_object_dispatch_properties_changed):
3199         * gst/gstobject.h:
3200         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3201         * gst/gststructure.c: (gst_structure_set_valist):
3202         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3203         Remove pre glib2.8 compatibility, fixes #340508
3204
3205 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3206
3207         * gst/gsttaglist.h:
3208           Mention type of tags in doc blurbs.
3209
3210 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3211
3212         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3213         (gst_pad_configure_src), (gst_pad_push):
3214         Restore acceptcaps checking behaviour now that good plugins have
3215         been released.
3216
3217 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3218
3219         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3220
3221         * gst/gst.c:
3222         * gst/gstbus.c:
3223         * gst/gstclock.c:
3224         * gst/gstevent.c:
3225         * gst/gstformat.c:
3226         * gst/gstmessage.c:
3227         * gst/gstparse.c:
3228         * gst/gstquery.c:
3229         * gst/gstutils.c:
3230         * gst/parse/Makefile.am:
3231         * libs/gst/base/gstadapter.c:
3232         * libs/gst/base/gstbasesrc.c:
3233         * libs/gst/base/gstpushsrc.c:
3234         * libs/gst/base/gsttypefindhelper.c:
3235         * plugins/elements/gstfakesrc.c:
3236         * plugins/elements/gstidentity.c:
3237           Make sure gstprivate.h and/or config.h are
3238           always included first, otherwise some of our
3239           defines (like _FILE_OFFSET_BITS) might be
3240           redefined in the system headers. Fixes build
3241           on opensolaris (#340016).
3242
3243 2006-05-04  Wim Taymans  <wim@fluendo.com>
3244
3245         * docs/libs/gstreamer-libs-sections.txt:
3246         API: addition: gst_adapter_take_buffer()
3247         
3248         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3249         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3250         (gst_adapter_available_fast):
3251         * libs/gst/base/gstadapter.h:
3252         Prepare for optimizing the hell out of this hugely inefficient
3253         piece of code. 
3254         Added gst_adapter_take_buffer() so we can at least start thinking
3255         about subbuffering and merging.
3256         Added some comments.
3257
3258         * tests/check/Makefile.am:
3259         * tests/check/libs/adapter.c: (GST_START_TEST),
3260         (gst_adapter_suite), (main):
3261         Added GstAdapter check.
3262
3263 2006-05-04  Wim Taymans  <wim@fluendo.com>
3264
3265         * docs/design/part-overview.txt:
3266         Fix some typos, add blurb about buffer flags.
3267
3268 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3269
3270         * docs/libs/gstreamer-libs-sections.txt:
3271           make sure GstBaseTransformClass shows up in the docs
3272         * libs/gst/base/gstbasetransform.c:
3273         * libs/gst/base/gstbasetransform.h:
3274           move docs so gtk-doc picks it up now
3275
3276 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3277
3278         * docs/libs/gstreamer-libs-sections.txt:
3279           add missing symbols to docs
3280
3281 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3282
3283         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3284           back out the newsegment handling change, see #340060 for ongoing
3285           discussion
3286
3287 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3288
3289         * tools/gst-run.c: (get_candidates), (main):
3290           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3291           work); fix typo in error message. Fixes #340079.
3292
3293 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3294
3295         * common/Makefile.am:
3296         * docs/Makefile.am:
3297         * docs/faq/Makefile.am:
3298         * docs/gst/Makefile.am:
3299         * docs/libs/Makefile.am:
3300         * docs/manual/Makefile.am:
3301         * docs/plugins/Makefile.am:
3302         * docs/pwg/Makefile.am:
3303         * docs/slides/Makefile.am:
3304         * docs/upload.mak:
3305         * common/upload.mak:
3306           move upload.mak to common
3307
3308 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3309
3310         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3311           add more asserts on refcounts
3312           do more cleanup at end of tests
3313           fix test leaks showing in FC5
3314
3315 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3316
3317         * plugins/elements/gsttypefindelement.c:
3318         (gst_type_find_element_handle_event):
3319         reverted wrong change and reflowed code to avoid others falling into
3320         this trap
3321
3322 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3325           fix changelog entry about last collectpads change,
3326           add notes about proper fix
3327
3328 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3329
3330         * gst/gst.c:
3331         * gst/gstregistry.c: (gst_registry_scan_path_level),
3332         (gst_registry_scan_path):
3333         * gst/gstregistry.h:
3334           only write out registry if it has changed, fixes #338339
3335
3336 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3337
3338         * gst/gstbin.c:
3339         * gst/gstpipeline.c:
3340         * plugins/elements/gstcapsfilter.c:
3341         * plugins/elements/gstfakesink.c:
3342         * plugins/elements/gstfakesrc.c:
3343         * plugins/elements/gstfdsink.c:
3344         * plugins/elements/gstfdsrc.c:
3345         * plugins/elements/gstfilesink.c:
3346         * plugins/elements/gstfilesrc.c:
3347         * plugins/elements/gstidentity.c:
3348         * plugins/elements/gstqueue.c:
3349         * plugins/elements/gsttee.c:
3350         * plugins/elements/gsttypefindelement.c:
3351         (gst_type_find_element_handle_event):
3352           make GstElementDetails const
3353
3354 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3355
3356         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3357         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3358         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3359           more detailed debug and formatting cleanup,
3360           forward newsegments to src-pad (so that e.g. adder not eats them)
3361
3362 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3363
3364         * gst/gstutils.c: (gst_element_link_pads):
3365           cleanup double code
3366
3367 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3368
3369         * libs/gst/controller/gstcontroller.c:
3370         (gst_controller_sync_values):
3371           some little tuning
3372         * tests/check/libs/controller.c: (GST_START_TEST),
3373         (gst_controller_suite):
3374           a new test for live value handling
3375
3376 2006-04-28  Wim Taymans  <wim@fluendo.com>
3377
3378         * gst/gstutils.c: (push_and_ref):
3379         Added some more docs.
3380         Fix refcount issue whith gst_element_found_tags() helper 
3381         function. Fixes #338335
3382
3383         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3384         Added testsuite for gst_element_found_tags().
3385
3386 2006-04-28  Michael Smith  <msmith@fluendo.com>
3387
3388         * gst/gstvalue.c: (gst_value_serialize_flags):
3389           Avoid NULL dereference when trying to serialize flags containing
3390           invalid values.
3391
3392 2006-04-28  Michael Smith  <msmith@fluendo.com>
3393
3394         * plugins/elements/gsttypefindelement.c:
3395         (gst_type_find_element_handle_event):
3396           If we get EOS before any data is accumulated, don't use
3397           uninitialised local variables.
3398
3399 2006-04-28  Michael Smith  <msmith@fluendo.com>
3400
3401         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3402         (gst_dp_event_from_packet):
3403           Fixes in reading/writing events over GDP (not currently used?) - 
3404           dereferencing NULL events for unknown/invalid event types, memory
3405           leak, and change g_warning to GST_WARNING.
3406
3407 2006-04-28  Wim Taymans  <wim@fluendo.com>
3408
3409         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3410         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3411         (gst_base_sink_get_position), (gst_base_sink_change_state):
3412         When frame dropping is enabled, we should not ignore frames
3413         without a duration.
3414         Update some documentation.
3415
3416 2006-04-28  Wim Taymans  <wim@fluendo.com>
3417
3418         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3419         (gst_base_src_send_event), (gst_base_src_change_state):
3420         Documentation updates.
3421
3422 2006-04-28  Wim Taymans  <wim@fluendo.com>
3423
3424         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3425         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3426         handle EAGAIN, EINTR and short writes correctly. Also clean
3427         up some error cases, avoid a deadlock on bad file descriptors and
3428         use GST_DEBUG_OBJECT.
3429         Fixes #339843
3430
3431 2006-04-28  Wim Taymans  <wim@fluendo.com>
3432
3433         * gst/gstvalue.c: (gst_value_serialize_buffer),
3434         (gst_value_deserialize_buffer):
3435         Don't try to serialize a GValue with a NULL buffer. 
3436         Fixes #339821.
3437
3438         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3439         Added check for serialisation of NULL buffers.
3440
3441 2006-04-28  Wim Taymans  <wim@fluendo.com>
3442
3443         * gst/gstminiobject.c: (gst_value_take_mini_object):
3444         Taking a NULL miniobject is valid, fix the case where
3445         we try to unref the NULL miniobject.
3446
3447 2006-04-28  Wim Taymans  <wim@fluendo.com>
3448
3449         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3450
3451         * gst/gstbin.c: (gst_bin_handle_message_func):
3452         Update docs.
3453         Don't leak bin refcount when a state recalc is
3454         in progress and we delay another one #339808.
3455
3456 2006-04-28  Wim Taymans  <wim@fluendo.com>
3457
3458         * docs/design/part-TODO.txt:
3459         Mention QoS as an ongoing work item.
3460
3461         * docs/design/part-buffering.txt:
3462         New doc about buffering that needs to be fleshed out
3463         at some point.
3464
3465         * docs/design/part-qos.txt:
3466         More QoS policy for decoders/demuxers/transforms
3467
3468         * docs/design/part-trickmodes.txt:
3469         Small update.
3470
3471 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3472
3473         * configure.ac:
3474           back to HEAD
3475
3476 === release 0.10.5 ===
3477
3478 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3479
3480         * configure.ac:
3481           releasing 0.10.5, "Fogo"
3482
3483 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3484
3485         patch by: Wim Taymans
3486
3487         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3488         (gst_pad_configure_src), (gst_pad_push):
3489         * gst/gstpipeline.c: (gst_pipeline_init):
3490           Fix internal data flow errors.  Fixes #338711.
3491
3492 2006-04-12  Wim Taymans  <wim@fluendo.com>
3493
3494         * tests/check/gst/gstelement.c: (GST_START_TEST):
3495         Don't leak the factory.
3496
3497 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3498
3499         * configure.ac:
3500         * win32/common/config.h:
3501           prerelease
3502
3503 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3504
3505         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3506         (gst_controller_unset_all):
3507           Free allocated GstTimedValues when freeing list nodes.
3508           Should fix leaks 'make check-valgrind' complains about.
3509
3510         * win32/common/libgstcontroller.def:
3511           Add gst_controller_unset_all.
3512
3513 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3514
3515         * docs/libs/gstreamer-libs-sections.txt:
3516         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3517         (gst_controller_unset_all):
3518         * libs/gst/controller/gstcontroller.h:
3519         API: Added new method gst_controller_unset_all()
3520         fixed gst_controller_unset()
3521         * tests/check/libs/controller.c: (GST_START_TEST),
3522         (gst_controller_suite):
3523         Added two testcases for new and fixed method
3524
3525 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3528           MSG_DONTWAIT is not defined on Cygwin, so work
3529           around that (fixes #317048).
3530           
3531 2006-04-11  Wim Taymans  <wim@fluendo.com>
3532
3533         * gst/gstelementfactory.c: (gst_element_register),
3534         (gst_element_factory_create), (gst_element_factory_make):
3535         Some cleanups.
3536         Fixed a FIXME.
3537         Updated docs (Fixes #131079)
3538
3539         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3540         Small cleanups.
3541
3542         * tests/check/gst/gstelement.c: (GST_START_TEST),
3543         (gst_element_suite):
3544         Added testcase for elementfactory class field.
3545
3546 2006-04-10  Wim Taymans  <wim@fluendo.com>
3547
3548         * gst/gstsegment.c:
3549         Added some more docs.
3550
3551         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3552         (gst_base_sink_reset_qos):
3553         Calculate more accurate rate values.
3554
3555 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3556
3557         * gst/gst_private.h:
3558           add a new #ifdef to use __declspec(dllimport) only for
3559           other modules and not for gstreamer core
3560         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3561           use gst_guint64_to_gdouble for conversion
3562         * win32/common/libgstreamer.def:
3563           add new exported functions
3564         * win32/vs6/gst_inspect.dsp:
3565         * win32/vs6/gst_launch.dsp:
3566         * win32/vs6/libgstbase.dsp:
3567         * win32/vs6/libgstcontroller.dsp:
3568         * win32/vs6/libgstcoreelements.dsp:
3569         * win32/vs6/libgstdataprotocol.dsp:
3570         * win32/vs6/libgstnet.dsp:
3571           update project files
3572
3573 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3574
3575         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3576         * gst/gstclock.c: (gst_clock_class_init):
3577         * gst/gstelement.c: (gst_element_class_init):
3578         * gst/gstindex.c: (gst_index_class_init):
3579         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3580         * gst/gstobject.c: (gst_object_class_init),
3581         (gst_signal_object_class_init):
3582         * gst/gstpad.c: (gst_pad_class_init):
3583         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3584         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3585         * gst/gstregistry.c: (gst_registry_class_init):
3586         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3587         * gst/gsttask.c: (gst_task_class_init):
3588         * gst/gstxml.c: (gst_xml_class_init):
3589         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3590         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3591         (gst_base_src_loop):
3592         * libs/gst/controller/gstcontroller.c:/
3593         (_gst_controller_class_init):
3594         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3595         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3596         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3597         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3598         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3599         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3600
3601 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3602
3603         * gst/gstpad.c: (gst_pad_link):
3604           Must set peer pads before calling the link function, otherwise
3605           a task started from a link function might get a flow-not-linked
3606           result when trying to push because the other thread where the
3607           linking happens hasn't had a chance to set the peers yet. This
3608           might happen for example when a queue gets linked to a downstream
3609           element, as queue starts a streaming task when its source pad
3610           gets linked. Happens in real life when playing back flac/musepack
3611           files in playbin (#332390).
3612           
3613 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3614
3615         * gst/gstindex.h:
3616         * gst/gstxml.h:
3617         * libs/gst/base/gstadapter.h:
3618         * libs/gst/base/gstbasesink.h:
3619         * libs/gst/base/gstbasesrc.h:
3620         * libs/gst/base/gstbasetransform.h:
3621         * libs/gst/base/gstcollectpads.h:
3622         * libs/gst/base/gstpushsrc.h:
3623         Fix broken GObject macros
3624
3625 2006-04-07  Wim Taymans  <wim@fluendo.com>
3626
3627         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3628         Initialize start and stop times, thanks valgrind.
3629
3630 2006-04-07  Wim Taymans  <wim@fluendo.com>
3631
3632         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3633         Be a bit nicer to badly behaving upstream elements that expect
3634         us to deal with non TIME segments and timestamps (such as fakesrc
3635         in the testsuite).
3636
3637 2006-04-07  Wim Taymans  <wim@fluendo.com>
3638
3639         * gst/gstbus.c:
3640         Small documentation clarification about the signal watch.
3641
3642         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3643         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3644         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3645         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3646         (gst_base_sink_get_position_last),
3647         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3648         Convert and store timestamps in stream time and running time, the
3649         raw timestamps are not usefull, also document this better.
3650         Use different window sizes for good and bad QoS observations so
3651         we react to badness a little quicker.
3652         Keep track of the amount of rendered and dropped buffers.
3653         Send QoS timestamps in running time.
3654
3655         * libs/gst/base/gstbasetransform.c:
3656         (gst_base_transform_sink_eventfunc),
3657         (gst_base_transform_handle_buffer):
3658         Compare QoS timestamps against running time.
3659
3660 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3661
3662         * gst/gstpad.c:
3663           Typo fixes in docs.
3664
3665 2006-04-06  Michael Smith  <msmith@fluendo.com>
3666
3667         * gst/gstpad.c: (gst_pad_set_property):
3668           Use g_value_get_object() instead of g_value_dup_gst_object(),
3669           to avoid double-reffing the pad template (which we then sink,
3670           so this worked previously if (and only if) the pad template
3671           was floating.
3672
3673         * gst/gstpadtemplate.c: (gst_pad_template_init),
3674         (gst_pad_template_pad_created):
3675           Never return floating references to pad templates, create
3676           them as initially-sunken.
3677
3678           Document an extra function (and make this stop sinking our
3679           pad template, since that is now guaranteed to do nothing,
3680           since we created it sunken).
3681
3682         * gst/gstghostpad.c:
3683           Fix docs typo.
3684
3685 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3686
3687         * gst/gstinfo.c: (__gst_in_valgrind):
3688           Add some newlines.
3689
3690         * plugins/elements/gsttypefindelement.c:
3691         (gst_type_find_element_chain):
3692           Don't leak buffer caps.
3693
3694 2006-04-06  Michael Smith  <msmith@fluendo.com>
3695
3696         * gst/parse/grammar.y:
3697           Fix a leak in parse-launch for any source-or-sink named element 
3698           references used.
3699
3700         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3701           Unref the pipeline if it exists after we've failed parsing.
3702
3703 2006-04-05  Michael Smith  <msmith@fluendo.com>
3704
3705         * gst/gstpipeline.c: (gst_pipeline_init):
3706           When we create a pipeline bus, initially create it in flushing mode.
3707           Fixes leaks in at least one test, and makes a new pipeline work the
3708           same as one that has gone to READY and then back to NULL.
3709
3710         * gst/gstelement.c:
3711           Typo fix in docs.
3712
3713 2006-04-05  Michael Smith  <msmith@fluendo.com>
3714
3715         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3716           Unref a pad we reffed.
3717         * tests/check/gst/gstutils.c: (GST_START_TEST):
3718           Unref bins
3719
3720 2006-04-05  Michael Smith  <msmith@fluendo.com>
3721
3722         * gst/gstquery.c: (gst_query_set_formats),
3723         (gst_query_set_formatsv):
3724           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3725
3726 2006-04-05  Michael Smith  <msmith@fluendo.com>
3727
3728         * tests/check/generic/sinks.c: (GST_START_TEST):
3729           Fix a variety of memleaks in sinks check, which are only sometimes 
3730           shown by running the tests under valgrind (weird?).
3731
3732 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3733
3734         * docs/version.entities.in:
3735           Fix the substituted entity name after thomas' changes on the
3736           weekend.
3737
3738 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3739
3740         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3741         VALGRIND_PRINTF
3742         
3743 2006-04-05  Andy Wingo  <wingo@pobox.com>
3744
3745         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3746
3747         * libs/gst/base/gstbasetransform.c
3748         (gst_base_transform_sink_eventfunc): When resetting our segment on
3749         FLUSH_STOP, also update the flag saying we haven't seen a
3750         newsegment.
3751
3752 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3755
3756         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3757         (gst_plugin_check_license):
3758           minor clean-ups: G_DEFINE_TYPE already takes care of the
3759           parent_class stuff, no need to do it twice. Mark array of
3760           license strings as constant. (#337103)
3761           
3762 2006-04-04  Michael Smith  <msmith@fluendo.com>
3763
3764         * tools/gst-inspect.c: (print_element_list):
3765           Free the right plugin list; fixes a memory leak.
3766
3767 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3768
3769         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3770
3771         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3772           Don't error out on empty buffers (#336945).
3773           
3774 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3775
3776         * docs/libs/gstreamer-libs-sections.txt:
3777         * gst/gsttaglist.c:
3778         * libs/gst/base/gstbasesink.c:
3779         * libs/gst/base/gstbasesink.h:
3780         * libs/gst/base/gstbasesrc.c:
3781         * libs/gst/base/gstbasesrc.h:
3782           Documentation updates. Make BaseSink and BaseSrc docs contain the
3783           class structure so that people can actually see the prototypes for
3784           virtual functions they're supposed to be overriding.
3785
3786 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3787
3788         * plugins/elements/gsttypefindelement.c:
3789         (gst_type_find_element_chain):
3790           More debug info; when skipping typefinding, send cached
3791           events in all cases.
3792
3793 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3794
3795         * configure.ac:
3796           use new AS_VERSION and AS_NANO macros
3797         * gst/gst-i18n-lib.h:
3798         * gst/gst.c:
3799         * gst/gsterror.c:
3800         * gst/gstversion.h.in:
3801         * win32/common/config.h:
3802         * win32/common/config.h.in:
3803           update accordingly
3804
3805 2006-03-31  Michael Smith  <msmith@fluendo.com>
3806
3807         * plugins/elements/gsttypefindelement.c:
3808         (gst_type_find_element_chain):
3809           Do not typefind content if the buffers already have caps.
3810           Neccesary for icydemux (#333657), and the right thing to do anyway.
3811
3812 2006-03-30  Wim Taymans  <wim@fluendo.com>
3813
3814         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3815         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3816         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3817         (gst_base_sink_record_qos_observation),
3818         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3819         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3820         (gst_base_sink_change_state):
3821         More QoS measurements as described in the design doc.
3822         Get rid of ringbuffer with observations, running average is
3823         more simple and equally good.
3824         Calculates valid proportion now.
3825         Added beginning of flood measurement.
3826
3827 2006-03-29  Wim Taymans  <wim@fluendo.com>
3828
3829         * docs/design/part-qos.txt:
3830         * gst/gstclock.c:
3831         Small documentation updates and additions.
3832
3833 2006-03-29  Wim Taymans  <wim@fluendo.com>
3834
3835         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3836         (gst_base_src_send_event), (gst_base_src_loop),
3837         (gst_base_src_change_state):
3838         Perform the EOS logic when we reach the segment stop position.
3839         Fix compilation on gcc4.1
3840
3841 2006-03-29  Wim Taymans  <wim@fluendo.com>
3842
3843         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3844
3845         * plugins/elements/gstqueue.c: (gst_queue_init),
3846         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3847         (gst_queue_set_property):
3848         * plugins/elements/gstqueue.h:
3849         In queue, when EOS is received, if minimum threshold > max_size -
3850         current_level, there is chance that queue blocks forever in conditional
3851         item del wait. This is because the queue is not emptied completely due
3852         to minimum threshold.  Here is another approach. Instead of setting
3853         cur_levels to max in EOS, just zero all minimum threshold levels. This
3854         should make sure that queue gives out all data. When going to READY
3855         (stop) state, just reset the original minimum threshold levels.
3856         Fixes #336336.
3857
3858 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
3859
3860         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3861         (gst_type_find_element_handle_event),
3862         (gst_type_find_element_send_cached_events),
3863         (gst_type_find_element_change_state):
3864         * plugins/elements/gsttypefindelement.h:
3865           When typefinding is done in push mode, we should cache
3866           events we receive during typefinding instead of just
3867           dropping them (e.g. newsegment, custom events from
3868           dvdreadsrc etc.) and then send them out once we've
3869           determined the type of the stream (and decodebin
3870           has had a chance to plug in a decoder/demuxer).
3871           
3872 2006-03-27  Wim Taymans  <wim@fluendo.com>
3873
3874         * docs/design/part-qos.txt:
3875         First QoS ideas.
3876
3877 2006-03-27  Wim Taymans  <wim@fluendo.com>
3878
3879         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3880
3881         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3882         (gst_base_src_send_event), (gst_base_src_change_state):
3883         Handle element seek correctly when we are streaming.
3884         Fixes #326998.
3885
3886 2006-03-24  Michael Smith  <msmith@fluendo.com>
3887
3888         * docs/faq/gst-uninstalled:
3889           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3890           allow you to correctly run intalled applications built against old 
3891           core, using plugins that require updated core (e.g. running
3892           installed totem against a full uninstalled gstreamer stack)
3893
3894 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3895
3896         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3897         more debug details
3898
3899 2006-03-24  Wim Taymans  <wim@fluendo.com>
3900
3901         * docs/gst/gstreamer-sections.txt:
3902         Rearrange the order of the methods so that related methods
3903         are grouped together in sections.
3904
3905 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3906
3907         * gst/gstelement.c:
3908           Little clarification in the docs
3909
3910 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * docs/README:
3913         formatting fix
3914         * plugins/elements/gstidentity.c:
3915         * plugins/elements/gstqueue.c:
3916         * plugins/elements/gsttee.c:
3917         * plugins/elements/gsttypefindelement.c:
3918         GST_ELEMENT_DETAILS formatting
3919
3920 2006-03-24  Wim Taymans  <wim@fluendo.com>
3921
3922         * libs/gst/base/gstbasesink.h:
3923         Only add fields, not insert or we break ABI.
3924
3925 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * win32/common/libgstbase.def:
3928         * win32/common/libgstreamer.def:
3929           Update, add recently added functions.
3930
3931 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * docs/gst/gstreamer-sections.txt:
3934         * gst/gstutils.c: (gst_pad_query_peer_position),
3935         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3936         * gst/gstutils.h:
3937           API: add some new utility functions:
3938            - gst_pad_query_peer_position()
3939            - gst_pad_query_peer_duration()
3940            - gst_pad_query_peer_convert()
3941           
3942 2006-03-23  Wim Taymans  <wim@fluendo.com>
3943
3944         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3945         (gst_base_sink_init), (gst_base_sink_finalize),
3946         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3947         (gst_base_sink_set_property), (gst_base_sink_get_property),
3948         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3949         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3950         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3951         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3952         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3953         (gst_base_sink_preroll_object), (gst_base_sink_event),
3954         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3955         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3956         (gst_base_sink_query), (gst_base_sink_change_state):
3957         Decouple max-lateness and the fact that QoS messages are generated
3958         with a new property (qos).
3959         added API: GstBaseSink::async_play()
3960         Add vmethod so subclasses can be notified of ASYNC playing
3961         state changes.
3962         Collect timestamp start and stop to report better current
3963         position in EOS/PLAYING/PAUSED/READY/NULL.
3964         Refactor QoS/frame dropping and other measurements.
3965         API: GstBaseSrc::qos
3966         Fixes #326311
3967
3968         * libs/gst/base/gstbasesink.h:
3969         Added Private struct.
3970         API: gst_base_sink_set_qos_enabled()
3971         API: gst_base_sink_is_qos_enabled()
3972
3973 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
3974
3975         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3976           If compiling against GLib-2.8 or newer, try to read the
3977           registry file using GMappedFile first before falling back
3978           to fopen() + fread() (#332151).
3979
3980 2006-03-22  Wim Taymans  <wim@fluendo.com>
3981
3982         * gst/gstinfo.c: (gst_debug_set_active),
3983         (gst_debug_category_set_threshold):
3984         Disable debugging unless explicitly activated.
3985         Fixes #335480.
3986
3987 2006-03-22  Wim Taymans  <wim@fluendo.com>
3988
3989         * gst/gstelement.c: (gst_element_set_locked_state),
3990         (gst_element_dispose):
3991         Cleanup the error case.
3992
3993         * gst/gstobject.c: (gst_object_dispose):
3994         print a critical when some object was disposed with
3995         a parent, also revive the object since it might
3996         crash the parent.
3997
3998 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
3999
4000         * tools/gst-launch.1.in:
4001           Fix another typo.
4002
4003 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4004
4005         * configure.ac:
4006         * tests/check/Makefile.am:
4007           disable some tests when we don't have a registry
4008         * tests/check/gst/gstutils.c: (gst_utils_suite):
4009           don't build the part that needs parsing
4010
4011 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4012
4013         * gst/Makefile.am
4014         * tests/examples/Makefile.am:
4015           fix --disable-parse build
4016
4017 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4018
4019         * tools/gst-feedback.1.in:
4020           Fix typo: s/feeback/feedback/ (#133494).
4021
4022 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4023
4024         * tools/Makefile.am:
4025         * tools/gst-launch.1.in:
4026           Add FILES section and correct entry about GST_REGISTRY_PATH
4027           environment variable (#133495; #133494).
4028
4029 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4030
4031         * tools/Makefile.am:
4032         * tools/gst-md5sum.1.in:
4033         * tools/gst-md5sum.c:
4034           Remove gst-md5sum and man page (the md5sink element
4035           required was removed ages ago)
4036
4037 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4038
4039         * gst/gststructure.c: (gst_structure_id_set_value):
4040           Make sure that string fields in structures/taglists
4041           contain valid UTF-8 - we don't want to pass rubbish to
4042           applications because of a buggy plugin (cp. #334167).
4043
4044 2006-03-21  Edward Hervey  <edward@fluendo.com>
4045
4046         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4047         (gst_bin_handle_message_func):
4048         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4049         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4050         (gst_element_set_bus_func):
4051         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4052         * gst/gstminiobject.c: (gst_value_set_mini_object),
4053         (gst_value_take_mini_object):
4054         * gst/gstpad.c: (gst_pad_set_pad_template):
4055         * gst/gstpipeline.c: (gst_pipeline_dispose),
4056         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4057         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4058         (gst_collect_pads_chain):
4059         * libs/gst/net/gstnettimeprovider.c:
4060         (gst_net_time_provider_set_property):
4061         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4062         It's in fact all issues with gst_*object_replace().
4063
4064 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4067         
4068         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4069         * pkgconfig/gstreamer-check.pc.in:
4070           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4071
4072 2006-03-21  Edward Hervey  <edward@fluendo.com>
4073
4074         * gst/gstbuffer.h:
4075         * gst/gstevent.h:
4076         * gst/gstmessage.h:
4077         gst_[buffer|event|message]_ref() macros are replaced by a static
4078         inline functions because gcc-4.1 will about if the return value
4079         isn't used.
4080         * tests/check/gst/gstevent.c: (event_probe):
4081         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4082
4083 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4084
4085         * gst/gstutils.h:
4086         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4087         the type' case. (Closes: #335195 for now). In the future, when we
4088         depend on GLib 2.10, we could also intern the type name using
4089         g_intern_static_string()
4090
4091 2006-03-20  Wim Taymans  <wim@fluendo.com>
4092
4093         * gst/gstbin.c: (gst_bin_handle_message_func),
4094         (bin_query_max_init), (bin_query_position_fold),
4095         (bin_query_position_done), (gst_bin_query):
4096         Position query should also take max of all streams.
4097
4098 2006-03-20  Wim Taymans  <wim@fluendo.com>
4099
4100         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4101         (gst_fake_src_finalize):
4102         Fix leaks in fakesrc.
4103
4104         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4105         Fix leaks in the testcase.
4106
4107 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4108
4109         * gst/gst_private.h:
4110           add win32 specific import decoration(__declspec(dllimport)) 
4111           for all extern GstDebugCategory * variables
4112         * win32/common/libgstbase.def:
4113         * win32/common/libgstcontroller.def:
4114         * win32/common/libgstreamer.def:
4115           Add some exports, remove empty lines
4116         * win32/common/libgstdataprotocol.def:
4117         * win32/common/libgstdataprotocol.dsp:
4118         * win32/common/libgstnet.def:
4119         * win32/common/libgstnet.dsp:
4120           new project files and exportation files added
4121         
4122 2006-03-19  Wim Taymans  <wim@fluendo.com>
4123
4124         * tests/check/libs/basesrc.c: (eos_event_counter):
4125         Use proper return value for probe.
4126
4127 2006-03-17  Wim Taymans  <wim@fluendo.com>
4128
4129         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4130         (gst_pad_push):
4131         Don't leak buffers, caps and pads on negotiation errors.
4132
4133 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4134
4135         * docs/faq/cvs.xml:
4136         * docs/faq/dependencies.xml:
4137         * docs/faq/developing.xml:
4138         * docs/faq/faq.xml:
4139         * docs/faq/general.xml:
4140         * docs/faq/getting.xml:
4141         * docs/faq/legal.xml:
4142         * docs/faq/troubleshooting.xml:
4143         * docs/faq/using.xml:
4144         Faq review and update.
4145
4146 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4147
4148         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4149         (gst_pad_push):
4150         Don't pound the cpu to pieces by checking get_caps when accept_caps
4151         is called with the same caps as the pad already has.
4152         Use GST_DEBUG_OBJECT when outputting caps change information.
4153
4154 2006-03-15  Wim Taymans  <wim@fluendo.com>
4155
4156         * gst/gstclock.c: (gst_clock_class_init):
4157         Fix docs.
4158
4159 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4160
4161         * gst/gstbuffer.h:
4162         Documentation fix.
4163
4164         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4165         (gst_pad_accept_caps), (gst_pad_configure_sink),
4166         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4167         Make the default acceptcaps behaviour be to check the requested 
4168         caps against the gst_pad_get_caps output. 
4169
4170         Ensure that gst_pad_accept_caps is used to check caps when a pad
4171         doesn't have a setcaps function, so that pads automatically refuse 
4172         caps that they don't allow in their pad template. (Fixes #332986)
4173
4174         When a buffer with attached caps is pushed, ensure that the source 
4175         pad receives those caps even if the element didn't call
4176         gst_pad_set_caps first.
4177
4178 2006-03-15  Wim Taymans  <wim@fluendo.com>
4179
4180         * libs/gst/base/gstadapter.c:
4181         Add some docs.
4182
4183 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4184
4185         * win32/common/libgstbase.def:
4186         * win32/common/libgstcontroller.def:
4187         * win32/common/libgstreamer.def:
4188           Add a whole bunch of missing functions (#334434).
4189
4190 2006-03-14  Wim Taymans  <wim@fluendo.com>
4191
4192         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4193         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4194         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4195         Better debug info when we receive a segment event.
4196         Reorganize a bit so we can pass the get_times() results around.
4197         Use the segment format when calculating the running time.
4198         Don't do QoS is sync is disabled or we have no clock or the
4199         element does not want us to sync to the clock.
4200         Don't drop buffers if QoS is disabled for now.
4201
4202 2006-03-14  Wim Taymans  <wim@fluendo.com>
4203
4204         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4205         Marked the stats property as unimplemented so people don't get
4206         wild ideas.
4207         Add debug message when regression goes wrong.
4208         Added some more docs.
4209
4210 2006-03-14  Wim Taymans  <wim@fluendo.com>
4211
4212         * gst/gstsegment.c: (gst_segment_to_stream_time):
4213         Return correct return type in case of errors.
4214
4215 2006-03-14  Wim Taymans  <wim@fluendo.com>
4216
4217         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4218           Don't segfault on invalid formats.
4219
4220 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4221
4222         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4223           Can't use gst_segment_to_running_time() when the segment
4224           is not in GST_TIME_FORMAT (like with filesink, for example).
4225           Stops flac encoding pipelines from spewing critical warnings
4226           at EOS (#331248).
4227           
4228 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4229
4230         * gst/gstpipeline.c: (gst_pipeline_class_init):
4231           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4232
4233         * plugins/elements/gsttypefindelement.c:
4234         (gst_type_find_element_handle_event):
4235           Don't try to typefind empty streams.
4236
4237 2006-03-14  Wim Taymans  <wim@fluendo.com>
4238
4239         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4240         (gst_base_sink_do_qos):
4241         Separate QoS calculation.
4242         Only drop buffers when lateness is bigger than the 
4243         duration of the buffer.
4244
4245 2006-03-13  Wim Taymans  <wim@fluendo.com>
4246
4247         * gst/gstpipeline.c: (gst_pipeline_set_property),
4248         (gst_pipeline_get_property), (do_pipeline_seek),
4249         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4250         (gst_pipeline_get_delay):
4251         Don't deadlock when reading properties.
4252
4253 2006-03-13  Wim Taymans  <wim@fluendo.com>
4254
4255         * libs/gst/base/gstbasetransform.c:
4256         (gst_base_transform_class_init), (gst_base_transform_init),
4257         (gst_base_transform_sink_event),
4258         (gst_base_transform_sink_eventfunc),
4259         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4260         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4261         (gst_base_transform_set_property),
4262         (gst_base_transform_get_property),
4263         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4264         (gst_base_transform_set_qos_enabled),
4265         (gst_base_transform_is_qos_enabled):
4266         * libs/gst/base/gstbasetransform.h:
4267         Make basetransform virtual method for src events too.
4268         Handle QOS in basetransform.
4269         API: gst_base_transform_update_qos()
4270         API: gst_base_transform_set_qos_enabled()
4271         API: gst_base_transform_is_qos_enabled()
4272
4273 2006-03-13  Wim Taymans  <wim@fluendo.com>
4274
4275         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4276         (gst_base_sink_do_sync):
4277         Small cleanups.
4278         Use QOS debug category.
4279
4280 2006-03-13  Wim Taymans  <wim@fluendo.com>
4281
4282         * plugins/elements/gstqueue.c:
4283         Very small doc update.
4284
4285 2006-03-13  Wim Taymans  <wim@fluendo.com>
4286
4287         * gst/gst_private.h:
4288         * gst/gstinfo.c: (_gst_debug_init):
4289         Added QOS debug category
4290
4291 2006-03-13  Wim Taymans  <wim@fluendo.com>
4292
4293         * docs/gst/gstreamer-sections.txt:
4294         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4295         * gst/gstbin.h:
4296         * gst/gstbus.c: (gst_bus_class_init):
4297         * gst/gstbus.h:
4298         * gst/gstclock.c:
4299         * gst/gstelement.c: (gst_element_set_locked_state):
4300         * gst/gstsegment.c:
4301         Documentation updates.
4302
4303         * gst/gstpipeline.c: (gst_pipeline_get_type),
4304         (gst_pipeline_class_init), (gst_pipeline_init),
4305         (gst_pipeline_dispose), (gst_pipeline_set_property),
4306         (gst_pipeline_get_property), (do_pipeline_seek),
4307         (gst_pipeline_send_event), (gst_pipeline_change_state),
4308         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4309         (gst_pipeline_get_delay):
4310         * gst/gstpipeline.h:
4311         Added methods for setting the delay.
4312         API: gst_pipeline_set_delay()
4313         API: gst_pipeline_get_delay()
4314         Add pipeline debug category
4315         Various cleanups.
4316         Updated docs.
4317         Don't reset stream time when seek failed.
4318
4319 2006-03-13  Wim Taymans  <wim@fluendo.com>
4320
4321         * docs/design/draft-klass.txt:
4322         * docs/design/part-clocks.txt:
4323         * docs/design/part-events.txt:
4324         * docs/design/part-gstbin.txt:
4325         * docs/design/part-gstpipeline.txt:
4326         * docs/design/part-messages.txt:
4327         * docs/design/part-negotiation.txt:
4328         * docs/design/part-overview.txt:
4329         * docs/design/part-preroll.txt:
4330         * docs/design/part-seeking.txt:
4331         * docs/design/part-states.txt:
4332         * docs/design/part-streams.txt:
4333         Documentation updates.
4334
4335 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4336
4337         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4338         us to leak strings...
4339
4340 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4341
4342         * libs/gst/net/gstnettimeprovider.c:
4343           fix docs
4344         * win32/common/config.h:
4345           update
4346
4347 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4350
4351         * configure.ac:
4352           Don't check for libgnomeui (leftover from old examples
4353           that aren't built or disted any longer) (#334303).
4354           
4355 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4356
4357         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4358         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4359           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4360           there's no space left on the device.
4361
4362 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4363
4364         * gst/gstclock.h:
4365           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4366           to cast the input to GstClockTime before comparing with
4367           another GstClockTime value.
4368
4369 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4370
4371         * configure.ac:
4372           back to trunk
4373
4374 === release 0.10.4 ===
4375
4376 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4377
4378         * configure.ac:
4379           releasing 0.10.4, "Light"
4380
4381 2006-03-10  Michael Smith  <msmith@fluendo.com>
4382
4383         * libs/gst/dataprotocol/dataprotocol.c:
4384           Fix docs for dataprocotol to not get the return types completely
4385           wrong for a few functions.
4386
4387 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4388
4389         * docs/gst/gstreamer-sections.txt:
4390         * gst/gstpipeline.c: (gst_pipeline_class_init),
4391         (gst_pipeline_init), (gst_pipeline_set_property),
4392         (gst_pipeline_get_property), (gst_pipeline_change_state),
4393         (gst_pipeline_set_auto_flush_bus),
4394         (gst_pipeline_get_auto_flush_bus):
4395         * gst/gstpipeline.h:
4396           Add new API: gst_pipeline_set_auto_flush_bus() and
4397           gst_pipeline_get_auto_flush_bus() to disable automatic
4398           flushing of the pipeline's GstBus when going from READY
4399           to NULL state (#332045).
4400
4401 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4402
4403         * docs/gst/gstreamer-sections.txt:
4404         * gst/gsturi.c: (gst_uri_has_protocol):
4405         * gst/gsturi.h:
4406            Add new API: gst_uri_has_protocol() (#333779).
4407
4408 2006-03-09  Wim Taymans  <wim@fluendo.com>
4409
4410         * gst/gstclock.c: (gst_clock_entry_new),
4411         (gst_clock_id_compare_func), (gst_clock_id_wait),
4412         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4413         (gst_clock_init), (gst_clock_get_internal_time),
4414         (gst_clock_set_master), (do_linear_regression),
4415         (gst_clock_add_observation), (gst_clock_set_property):
4416         * gst/gstclock.h:
4417         Review docs.
4418         Small cleanups.
4419         Fix a possible segfault when the window-size is made smaller.
4420         Calculate jitter before performing the clock wait. Ideally
4421         the clock implementation should calculate jitter but we need
4422         API breakage for that.
4423
4424         * gst/gstsystemclock.c: (gst_system_clock_init):
4425         Docs review.
4426         
4427         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4428         Remove leftover else
4429
4430         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4431         (gst_systemclock_suite):
4432         Added check to test GST_CLOCK_DIFF.
4433
4434 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4435
4436         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4437         (gst_type_find_helper_get_range):
4438           If we are provided with the size, we should implement
4439           GstTypeFind::get_length, so that typefind functions who
4440           want to can actually peek at the middle of a file.
4441
4442 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         * docs/manual/advanced-dataaccess.xml:
4445           Add some very very basic error checking.
4446
4447         * docs/pwg/appendix-checklist.xml:
4448           Some updates to the list of things to check when writing an element.
4449
4450 2006-03-08  Wim Taymans  <wim@fluendo.com>
4451
4452         * docs/design/part-element-transform.txt:
4453         Added some docs about the design of tranform elements.
4454
4455         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4456         (gst_base_src_loop), (gst_base_src_change_state):
4457         Mark buffers with the DISCONT flag.
4458
4459 2006-03-08  Michael Smith  <msmith@fluendo.com>
4460
4461         * gst/gstregistry.h:
4462         * gst/gstregistryxml.c: (gst_registry_save),
4463         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4464         (gst_registry_xml_save_pad_template),
4465         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4466         (gst_registry_xml_write_cache):
4467           Rewrite registry-saving to avoid race conditions and check for
4468           failed writes.
4469
4470 2006-03-08  Wim Taymans  <wim@fluendo.com>
4471
4472         * libs/gst/base/gstbasetransform.c:
4473         (gst_base_transform_transform_caps),
4474         (gst_base_transform_transform_size),
4475         (gst_base_transform_prepare_output_buffer),
4476         (gst_base_transform_get_unit_size),
4477         (gst_base_transform_buffer_alloc),
4478         (gst_base_transform_handle_buffer),
4479         (gst_base_transform_change_state):
4480         Cleanups, separate normal flow from errors, add sensible
4481         DEBUG lines.
4482         Don't try to renegotiate when allocating an output buffer.
4483         Also copy DISCONT buffer flag when copying a buffer.
4484         Reset the transform after we finish streaming, not during.
4485
4486 2006-03-08  Wim Taymans  <wim@fluendo.com>
4487
4488         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4489         Use last buffer timestamp in qos message.
4490
4491 2006-03-07  Wim Taymans  <wim@fluendo.com>
4492
4493         Patch by: Christophe Fergeau
4494
4495         * docs/pwg/advanced-tagging.xml:
4496         * docs/pwg/building-pads.xml:
4497           fixes #333416
4498
4499 2006-03-07  Wim Taymans  <wim@fluendo.com>
4500
4501         * docs/libs/gstreamer-libs-sections.txt:
4502         Added basesink new methods.
4503
4504         * gst/gstevent.c:
4505         * gst/gstevent.h:
4506         Docs updates. Flesh out the QoS docs.
4507
4508         * libs/gst/base/gstadapter.c:
4509         Small doc clarification about ownership and flushing.
4510
4511         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4512         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4513         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4514         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4515         * libs/gst/base/gstbasesink.h:
4516         API additions: 
4517         Added new methods to allow subclass to control max-lateness 
4518         and sync.
4519         Generate very basic QoS events based on last sync observation.
4520         Updated docs, fix typo, added some QoS blurb.
4521
4522         * libs/gst/base/gstbasesrc.c:
4523         Remove obsolete _get_state() calls from docs.
4524
4525 2006-03-07  Wim Taymans  <wim@fluendo.com>
4526
4527         * docs/libs/gstreamer-libs-sections.txt:
4528         * libs/gst/base/gstbasetransform.h:
4529         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4530         Fix docs for GstBaseSrc.
4531
4532 2006-03-07  Wim Taymans  <wim@fluendo.com>
4533
4534         * docs/gst/gstreamer-sections.txt:
4535         * gst/gstbuffer.h:
4536         * gst/gstvalue.c:
4537         * libs/gst/base/gstbasetransform.h:
4538         Small documentation fixes.
4539
4540 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4541
4542         * gst/gstvalue.c:
4543           Document thread-unsafety of gst_value_register_foo_func()
4544           when used at the same time as gst_value_foo() (#322628).
4545
4546 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4547
4548         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4549         (gst_push_src_check_get_range):
4550           Push sources don't support pull mode by default.
4551
4552 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4553
4554         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4555         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4556         (gst_base_src_default_check_get_range):
4557         * libs/gst/base/gstbasesrc.h:
4558           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4559           provide default implementation, and rename
4560           gst_base_src_check_get_range() to
4561           gst_base_src_pad_check_get_range() for clarity.
4562
4563 2006-03-06  Wim Taymans  <wim@fluendo.com>
4564
4565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4566         Make property overridable.
4567
4568 2006-03-06  Wim Taymans  <wim@fluendo.com>
4569
4570         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4571         (gst_base_sink_init), (gst_base_sink_set_property),
4572         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4573         * libs/gst/base/gstbasesink.h:
4574         API addition: Make max-lateness a property.
4575
4576 2006-03-06  Wim Taymans  <wim@fluendo.com>
4577
4578         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4579         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4580         Don't ever draw a frame that is >10ms late.
4581
4582 2006-03-06  Michael Smith  <msmith@fluendo.com>
4583
4584         * gst/gstmessage.c: (_gst_message_copy):
4585           When copying a message, set the parent_refcount of the enclosed
4586           structure to point at the copy, not the original message.
4587
4588 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4589
4590         Patch by: Christophe Fergeau
4591
4592         * gst/gstutils.h:
4593           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4594           usable in c++ code (#333417)
4595
4596 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4597
4598         * gst/gstclock.h:
4599           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4600
4601 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         * libs/gst/base/gstbasetransform.c:
4604         (gst_base_transform_transform_caps):
4605           Make sure caps are writable before passing them to
4606           gst_caps_append().
4607
4608 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * gst/gsterror.h:
4611           Fix some minor docs errors.
4612
4613 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4614
4615           Patch by: Ross Burton <ross at burtonini dot com>
4616
4617         * gst/gsterror.c: (_gst_resource_errors_init):
4618         * gst/gsterror.h:
4619           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4620
4621 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4622
4623         * gst/gst.c:
4624         Add a check and output a g_warning when GStreamer is built
4625         against GLib 2.6 but running against 2.8 or higher, and vice 
4626         versa. (Closes: #323542)
4627
4628 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4629
4630         * gst/parse/parse.l:
4631           Commit patch for parse_launch syntax from #331255. Removes 
4632           support for quoted strings and mimetypes when writing filtered 
4633           caps. See the bug report for more details - I'm pretty sure this
4634           obscure feature is not in use by _anyone_ anywhere.
4635
4636           With this simple change, the size of the gstreamer.so here 
4637           drops from 2193KB to 1565KB.
4638
4639 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4640
4641         * plugins/elements/gsttypefindelement.h:
4642         * plugins/elements/gsttypefindelement.c:
4643         (gst_type_find_element_src_event), (start_typefinding),
4644         (stop_typefinding), (gst_type_find_element_handle_event),
4645         (gst_type_find_element_chain),
4646         (gst_type_find_element_chain_do_typefinding):
4647           Use gst_type_find_helper_for_buffer() for chain-based
4648           typefinding.
4649
4650 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4651
4652         * plugins/elements/gsttypefindelement.c:
4653         (gst_type_find_element_class_init),
4654         (gst_type_find_element_set_property),
4655         (gst_type_find_element_get_property):
4656           Deprecate "maximum" property (not only was it only taken into
4657           account for typefinding in push-mode anyway, it also was never
4658           actually possible to set it in the first place because the
4659           property was registered with the numeric property ID for the
4660           "minimum" property). Register "maximum" property correctly,
4661           for the sake of future copy'n'pasters. Remove some cruft
4662           from property get/set functions.
4663
4664 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4665
4666         * plugins/elements/gsttypefindelement.c:
4667         (gst_type_find_element_activate):
4668           Use gst_type_find_helper_get_range() here, so we
4669           can honour the "minimum" property and also emit
4670           the signal with the correct probability of the found caps.
4671
4672 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4673
4674         * docs/libs/gstreamer-libs-sections.txt:
4675         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4676         (helper_find_suggest), (gst_type_find_helper_get_range),
4677         (gst_type_find_helper):
4678         * libs/gst/base/gsttypefindhelper.h:
4679           New API: gst_type_find_helper_get_range() (#333042).
4680
4681 2006-03-02  Michael Smith  <msmith@fluendo.com>
4682
4683         * gst/gstregistryxml.c: (load_feature):
4684           Asserting on a failure to read part of the registry is Not Cool.
4685           Just log a warning and return NULL (which is already handled)
4686
4687 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4688
4689         * win32/common/libgstbase.def:
4690           added export of gst_type_find_helper_for_buffer
4691         * win32/common/libgstbase.def:
4692           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4693           gst_ghost_pad_get_target
4694
4695 2006-02-28  Wim Taymans  <wim@fluendo.com>
4696
4697         * docs/design/draft-klass.txt:
4698         We use Filter now.
4699         Added Connector to mark elements that are only used to
4700         allow pipeline connections.
4701         Moved Debug to extra feature since most of them are 
4702         functionally something else.
4703
4704 2006-02-28  Wim Taymans  <wim@fluendo.com>
4705
4706         * docs/design/draft-klass.txt:
4707         Some updates and clarifications.
4708
4709 2006-02-28  Wim Taymans  <wim@fluendo.com>
4710
4711         * docs/design/draft-klass.txt:
4712         Proposal for klass field values.
4713
4714         * docs/design/part-streams.txt:
4715         Start of a doc describing stream anatomy.
4716
4717 2006-02-28  Wim Taymans  <wim@fluendo.com>
4718
4719         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4720         Help the compiler a bit with type registration.
4721         Use existing forward cod path instead of duplicating it when 
4722         handling a message.
4723         
4724         * gst/gstbus.c: (gst_bus_get_type):
4725         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4726         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4727         * gst/gstclock.c: (gst_clock_get_type):
4728         * gst/gstelement.c: (gst_element_get_type),
4729         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4730         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4731         * gst/gstminiobject.c: (gst_mini_object_get_type):
4732         * gst/gstpad.c: (gst_pad_get_type):
4733         * gst/gstsegment.c: (gst_segment_get_type):
4734         * gst/gststructure.c: (gst_structure_get_type):
4735         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4736         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4737         * gst/gstvalue.c:
4738         Help compiler with type registration.
4739
4740         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4741         Small doc update.
4742
4743 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4744
4745         * plugins/elements/gsttypefindelement.c:
4746         (gst_type_find_element_handle_event):
4747           When we get an EOS event and have not found a type yet
4748           (most likely because we had not yet accumulated
4749           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4750           type given the data we have so far. Fixes typefinding
4751           for very short streams again, most notably quicktime
4752           redirections as used on Apple's trailer site (#331701).
4753
4754 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4755
4756         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4757         (gst_type_find_helper):
4758           Try typefinding factories with the highest rank first.
4759
4760 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4761
4762         * docs/libs/gstreamer-libs-docs.sgml:
4763         * docs/libs/gstreamer-libs-sections.txt:
4764         * libs/gst/base/gsttypefindhelper.c:
4765           Add section for typefind helper and add documentation
4766           for the old and the new function.
4767
4768 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4769
4770         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4771         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4772         (gst_type_find_helper_for_buffer):
4773         * libs/gst/base/gsttypefindhelper.h:
4774           New API: gst_type_find_helper_for_buffer() (#332723).
4775           
4776 2006-02-27  Michael Smith  <msmith@fluendo.com>
4777
4778         Patch by: Loïc Minier
4779
4780         * configure.ac:
4781         * docs/Makefile.am:
4782         * docs/slides/Makefile.am:
4783           prevent CVS directories getting disted.
4784
4785 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4786
4787         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4788           Use the REFCOUNTING category for caps refcounting.
4789           
4790 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4791
4792         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4793           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4794
4795 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4796
4797         * plugins/elements/gsttypefindelement.c:
4798         (gst_type_find_element_activate):
4799           Use gst_pad_check_pull_range() before _activate_pull()
4800           to avoid unnecessary open/close (see #331690).
4801
4802 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4803
4804         * gst/gstutils.c:
4805           Docs enhancement: make it crystal clear what the
4806           gst_pad_add_*_probe() callbacks should look like.
4807
4808 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4809
4810         * libs/gst/base/gstbasesrc.c:
4811           Document how applications can stop recording from
4812           live sources (see #330996).
4813
4814 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         * tests/check/Makefile.am:
4817         * tests/check/libs/basesrc.c: (eos_event_counter),
4818         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4819         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4820         (gst_basesrc_suite), (main):
4821           ... and add some tests for the base source EOS stuff.
4822
4823 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4826           Test case originally showed the problem fixed below,
4827           but was then amended. Add checks back at the place
4828           where they used to be.
4829
4830 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4831
4832         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4833         (gst_base_src_init), (gst_base_src_loop),
4834         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4835         (gst_base_src_change_state):
4836         * libs/gst/base/gstbasesrc.h:
4837           Don't unconditionally send EOS when going from PAUSED to
4838           READY state, esp. make sure we don't send two EOS events
4839           in some cases (e.g. one when reaching EOS and one when
4840           going from PAUSED to READY). Also, we don't want to send
4841           EOS events when operating in pull mode. However, we do
4842           want to send an EOS event when shutting down a live
4843           source explicitly, for example (fixes #330996).
4844           
4845 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4846
4847         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4848           Update src->read_position after a seek when not using mmap.
4849           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4850
4851 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4852
4853         * gst/Makefile.am:
4854         * gst/gstparse.h:
4855         * gst/gstutils.c:
4856         * gst/gstutils.h:
4857         Make things work with --disable-parse as they do with 
4858         --disable-load-save - the symbols involved disappear, but the
4859         header is still installed and GST_DISABLE_PARSE is included via
4860         gstconfig.h
4861
4862 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4863
4864         * libs/gst/base/gstbasetransform.c:
4865         (gst_base_transform_change_state): Fix a stupid bug. I was 
4866         sure I compiled that.
4867
4868 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4869
4870         * gst/gstpad.c: (gst_pad_set_blocked_async):
4871         * gst/gstutils.c: (gst_pad_add_data_probe),
4872         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4873         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4874         (gst_pad_remove_buffer_probe): Make those function act on the
4875         ghostpad target when it's a ghostpad. (Closes #331727)
4876
4877 2006-02-20  Julien MOUTTE  <julien@moutte.net>
4878
4879         * libs/gst/base/gstbasetransform.c:
4880         (gst_base_transform_change_state): Make basetransform reusable.
4881         (Closes #331898)
4882
4883 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
4884
4885         * docs/random/release:
4886         Move the current documentation of how to do a release to the top
4887         of the file.
4888
4889         * gst/gstbin.c: (gst_bin_class_init),
4890         (gst_bin_handle_message_func):
4891         Allow multiple state-recalculation threads. (Closes #328873)
4892
4893 2006-02-19  Julien MOUTTE  <julien@moutte.net>
4894
4895         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4896         * gst/gstpad.c: (gst_pad_set_event_function),
4897         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4898         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4899         2 strings. You can't use the STR_NULL macro on that.
4900
4901 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
4902
4903         * gst/gstpad.c: (gst_pad_set_event_function),
4904         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4905         (gst_pad_set_getcaps_function)
4906         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4907           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4908           So now, we can use --gst-debug-level=5 on Windows
4909         * win32/common/libgstcontroller.def:
4910           Added export of gst_controller_init
4911         * win32/vs6/libgstcontroller.dsp:
4912           Fixed Release post build configuration
4913
4914 2006-02-17  Wim Taymans  <wim@fluendo.com>
4915
4916         * tests/check/gst/gstquery.c: (GST_START_TEST):
4917         Added another check.
4918
4919 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
4920
4921         * plugins/elements/gsttypefindelement.c: (find_peek):
4922           We can do peeks at non-zero offsets, as long as they
4923           fall within the buffer we have.
4924
4925 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
4926
4927         * tests/check/Makefile.am:
4928         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4929         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4930         (parse_suite), (main):
4931           Add testsuite for parse launch syntax
4932
4933 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
4934
4935         * plugins/elements/gsttypefindelement.c:
4936         (gst_type_find_element_chain):
4937           When typefinding is unsuccessful in the chain function, don't
4938           error out immediately. Only error out with NO_CAPS_FOUND if
4939           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4940           otherwise simply wait for more data so we can try typefinding
4941           again with more data later. Also, don't attempt to typefind
4942           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4943           this should improve typefinding from network sources where the
4944           size of the first buffer can be somewhat random.
4945
4946 2006-02-14  Wim Taymans  <wim@fluendo.com>
4947
4948         * docs/gst/gstreamer-sections.txt:
4949         * gst/gstpadtemplate.c:
4950         * gst/gstpadtemplate.h:
4951         Fix padtemplate docs, fixes #328805.
4952
4953 2006-02-14  Wim Taymans  <wim@fluendo.com>
4954
4955         * tools/gst-launch.c: (main):
4956         NO_PREROLL is not an ERROR so don't send confusing messages
4957         to the user.
4958
4959 2006-02-14  Wim Taymans  <wim@fluendo.com>
4960
4961         Patch by: Torsten Schoenfeld
4962
4963         * gst/gstregistry.c: (gst_registry_get_default),
4964         (_gst_registry_cleanup):
4965         Protect default registry with lock and ref/sink it.
4966         Fixes #324818
4967
4968 2006-02-14  Wim Taymans  <wim@fluendo.com>
4969
4970         * gst/gstbuffer.c:
4971         * gst/gstquery.c: (gst_query_list_add_format),
4972         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4973         (gst_query_parse_formats_nth):
4974         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4975         Docs fixes.
4976
4977 2006-02-14  Wim Taymans  <wim@fluendo.com>
4978
4979         * docs/gst/gstreamer-sections.txt:
4980         Reworked query docs.
4981
4982         * gst/gstquery.c: (gst_query_new_formats),
4983         (gst_query_list_add_format), (gst_query_set_formats),
4984         (gst_query_set_formatsv), (gst_query_parse_formats_length),
4985         (gst_query_parse_formats_nth):
4986         * gst/gstquery.h:
4987         Flesh out formats query, added some new methods.
4988         Fix part of #324398.
4989
4990         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4991         Added query creation tests.
4992
4993 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
4994
4995         * gst/gstpad.c: (fixate_value):
4996         Add a default fixation for fraction lists.
4997
4998 2006-02-13  Wim Taymans  <wim@fluendo.com>
4999
5000         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5001         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5002         (gst_task_join):
5003         * gst/gsttask.h:
5004         Detect and warn for obvious deadlocks. fixes #320340
5005         Fix error case where lock was not released.
5006
5007         * tests/check/Makefile.am:
5008         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5009         (task_func), (gst_element_suite), (main):
5010         Add task check.
5011
5012 2006-02-13  Wim Taymans  <wim@fluendo.com>
5013
5014         * docs/gst/gstreamer-sections.txt:
5015         * gst/gstbus.c:
5016         Add new functions to docs.
5017
5018 2006-02-13  Wim Taymans  <wim@fluendo.com>
5019
5020         * docs/design/part-TODO.txt:
5021         Updated TODO list, basesrc supports seeking to non-bytes
5022         formats.
5023
5024         * docs/design/part-element-sink.txt:
5025         Update docs.
5026
5027         * gst/gstbin.c: (bin_replace_message),
5028         (gst_bin_handle_message_func):
5029         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5030         * gst/gstevent.c: (gst_event_finalize):
5031         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5032         (gst_pad_send_event):
5033         Use shiny new _TYPE_NAME macros.
5034
5035         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5036         Move debug statement up.
5037
5038         * gst/gstelement.c: (gst_element_set_locked_state):
5039         Add some debugging.
5040
5041 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5042
5043         * docs/gst/gstreamer-sections.txt:
5044         * gst/gstmessage.h:
5045         * gst/gstquery.h:
5046           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5047           macros (#330906). Also, document the already existing
5048           GST_QUERY_TYPE macro.
5049
5050 2006-02-13  Wim Taymans  <wim@fluendo.com>
5051
5052         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5053         (event_probe), (GST_START_TEST):
5054         Only events up to the pipeline EOS are counted, there are
5055         some more when going to NULL currently which we don't care
5056         about for now.
5057
5058 2006-02-13  Wim Taymans  <wim@fluendo.com>
5059
5060         * gst/gstpad.c: (gst_pad_send_event):
5061         Correctly check flushing and emit probes. fixes #330125
5062
5063 2006-02-10  Andy Wingo  <wingo@pobox.com>
5064
5065         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5066         structure.
5067         (gst_bus_init): Cache the location of the private data in the
5068         instance structure.
5069         (gst_bus_enable_sync_message_emission) 
5070         (gst_bus_disable_sync_message_emission): Implement new public
5071         functions.
5072         (gst_bus_post): Emit the sync-message signal if the user asked for
5073         it. Fixes #330684.
5074
5075         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5076         location of the bus-private structure.
5077         (gst_bus_enable_sync_message_emission)
5078         (gst_bus_disable_sync_message_emission): API addition
5079
5080 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5081
5082         Patch by: Vincent Torri
5083
5084         * docs/pwg/building-boiler.xml:
5085         PWG patch from #326800
5086
5087 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5088
5089         * configure.ac:
5090         * docs/Makefile.am:
5091         * docs/design/Makefile.am:
5092           Dist design docs.
5093
5094 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5095
5096         * configure.ac:
5097           back to CVS
5098
5099 === release 0.10.3 ===
5100
5101 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5102
5103         * configure.ac:
5104           releasing 0.10.3, "Like a virgin"
5105
5106 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5107
5108         * configure.ac:
5109           2nd prerelease of 0.10.3
5110           Bump libtool versioning.
5111
5112 2006-02-07  Andy Wingo  <wingo@pobox.com>
5113
5114         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5115         update last_stop if we're in TIME format and the timestamp is
5116         valid.
5117
5118         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5119         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5120         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5121         If we get a new newsegment with a different format, adapt
5122         accordingly.
5123
5124         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5125         of 0. Not a problem, really.
5126
5127         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5128         warn if sync=true.
5129
5130 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5131
5132         * configure.ac:
5133           Prelease of 0.10.3
5134
5135 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5136
5137         * win32/vs7:
5138           project files updated to the default vs7 configuration
5139         * win32/common/libgstbase.def:
5140         * win32/common/libgstreamer.def:
5141           added new symbols,
5142           removed empty lines,
5143           sorted all exported symbols alphabetically
5144         * win32/common/dirent.c:
5145         * win32/common/dirent.h:
5146         * win32/common/gchar.h:
5147           use windows line end.
5148           
5149 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5150
5151         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5152           Send EOS event when stopping.
5153
5154 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5155
5156         * docs/README:
5157           Tell folks what to do if the plugin-foobar.xml file
5158           hasn't been generated for a newly-added plugin.
5159
5160 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5161
5162         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5163         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5164         (gst_collect_pads_start), (gst_collect_pads_stop),
5165         (gst_collect_pads_event): Collectpads now holds a reference
5166         to the GstPad that was added. Indeed we don't want to look
5167         at pads that might just go away with no warning...
5168
5169 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5170
5171         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5172         (gst_collect_pads_start), (gst_collect_pads_stop),
5173         (gst_collect_pads_event), (gst_collect_pads_chain):
5174         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5175         Mark Nauwelaerts's patch on bug #328491.
5176
5177 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5180         (gst_utils_suite):
5181           Add some simple tests for gst_parse_bin_from_description() and
5182           gst_bin_find_unconnected_pad() (#329069).
5183
5184 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5185
5186         * tools/gst-launch.c: (event_loop), (main):
5187           Catch errors during preroll (#320084).
5188
5189 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5190
5191         * plugins/elements/gsttypefindelement.c:
5192         (gst_type_find_element_activate):
5193           Post TYPE_NOT_FOUND error message when typefinding
5194           is unsuccessful in the activate function as well.
5195
5196 2006-02-02  Wim Taymans  <wim@fluendo.com>
5197
5198         * docs/design/part-element-sink.txt:
5199         Updated doc.
5200
5201 2006-02-02  Wim Taymans  <wim@fluendo.com>
5202
5203         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5204         (gst_base_sink_render_object),
5205         (gst_base_sink_queue_object_unlocked):
5206         Only keep track of prerollable items when we are 
5207         prerolling.
5208         Before rendering after preroll, always check if we
5209         have queued items.
5210         Added some more debugging.
5211
5212 2006-02-02  Wim Taymans  <wim@fluendo.com>
5213
5214         * gst/gstelement.c: (gst_element_continue_state),
5215         (gst_element_set_state_func), (gst_element_change_state):
5216         Fixed #326576, been running this for quite some time with
5217         no regressions at all.
5218
5219 2006-02-02  Wim Taymans  <wim@fluendo.com>
5220
5221         * common/gst.supp:
5222         Added more suppressions
5223
5224 2006-02-02  Wim Taymans  <wim@fluendo.com>
5225
5226         * docs/design/part-element-sink.txt:
5227         Updated document.
5228
5229         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5230         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5231         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5232         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5233         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5234         (gst_base_sink_preroll_object),
5235         (gst_base_sink_queue_object_unlocked),
5236         (gst_base_sink_queue_object), (gst_base_sink_event),
5237         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5238         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5239         (gst_base_sink_get_position), (gst_base_sink_change_state):
5240         * libs/gst/base/gstbasesink.h:
5241         Totally refactored matching the design doc.
5242         Use two segments, one to clip incomming buffers and another to
5243         perform sync.
5244         Handle queueing correctly, bypass the queue when playing.
5245         Make EOS cancelable.
5246         Handle errors correctly when operating in pull based mode.
5247
5248         * tests/check/elements/fakesink.c: (GST_START_TEST),
5249         (fakesink_suite):
5250         Added new check for sinks.
5251
5252 2006-02-02  Wim Taymans  <wim@fluendo.com>
5253
5254         * gst/gstsegment.c: (gst_segment_clip):
5255         No reason to refuse to clip when start == -1
5256
5257 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5258
5259         * docs/README:
5260         * docs/manual/intro-basics.xml:
5261         * docs/manual/intro-preface.xml:
5262         * docs/manual/manual.xml:
5263         * docs/pwg/advanced-dparams.xml:
5264         * docs/pwg/intro-basics.xml:
5265         * docs/pwg/intro-preface.xml:
5266         * docs/pwg/pwg.xml:
5267           describe dparams (controller) for plugins
5268           unify docs a little more
5269
5270 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5271
5272         * docs/gst/gstreamer-sections.txt:
5273         * gst/gstutils.c: (element_find_unconnected_pad),
5274         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5275         * gst/gstutils.h:
5276           Add new API: gst_parse_bin_from_description() and
5277           gst_bin_find_unconnected_pad() (#329069).
5278
5279 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5280
5281         * docs/manual/README:
5282           uncover a nasty detail of the docs build
5283
5284 2006-01-31  Wim Taymans  <wim@fluendo.com>
5285
5286         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5287         Don't cache duration messages if we're not going to use or
5288         free them.
5289
5290 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5291
5292         * docs/manual/advanced-dparams.xml:
5293         * docs/pwg/advanced-dparams.xml:
5294           more dparam docs
5295         * gst/gstindex.c:
5296           fix docs
5297         * libs/gst/controller/lib.c: (gst_controller_init):
5298           init just once
5299
5300 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5301
5302         * gst/gstelement.c: (gst_element_message_full):
5303           also show file/line/func if no additional debug was given
5304
5305 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5306         
5307         * win32/vs7/grammar.vcproj:
5308           activate copy of autogenerated files for Release mode
5309
5310 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5311         
5312         * win32/common/libgstreamer.def:
5313           export gst_value_compare
5314
5315 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5316
5317         * plugins/elements/Makefile.am:
5318         * plugins/elements/gstelements.c:
5319         * plugins/elements/gstfdsink.c: (_do_init),
5320         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5321         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5322         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5323         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5324         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5325         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5326         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5327         * plugins/elements/gstfdsink.h:
5328         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5329
5330 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5331
5332         * docs/manual/advanced-dparams.xml:
5333           describe controller
5334         * docs/manual/advanced-position.xml:
5335         * docs/manual/basics-init.xml:
5336         * docs/manual/manual.xml:
5337         * docs/manual/titlepage.xml:
5338         * docs/pwg/pwg.xml:
5339         * docs/pwg/titlepage.xml:
5340           cleanup xml (more to come)
5341         * libs/gst/controller/gstcontroller.c:
5342           fix typo
5343
5344 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5345         
5346         * win32/vs6/grammar.dsp:
5347           add autogen of gstmarshal.c,h for Release mode
5348                 
5349 2006-01-30  Wim Taymans  <wim@fluendo.com>
5350
5351         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5352         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5353         (gst_base_sink_handle_object), (gst_base_sink_event),
5354         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5355         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5356         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5357         (gst_base_sink_deactivate), (gst_base_sink_activate),
5358         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5359         (gst_base_sink_query), (gst_base_sink_change_state):
5360         Basesink cleanups, remove some old code.
5361         Handle the case where a subclass can preroll in the render
5362         method (mostly audiosinks).
5363         Handle more events.
5364         Remove some locks around variables that are now protected
5365         with the PREROLL_LOCK (clock_id, flushing, ..).
5366         Optimize position query some more, do correct locking.
5367         Remove old code to push queue in state change, this is not
5368         needed anymore since preroll blocks on all prerollable items 
5369         now.
5370         Almost implemented as described in design doc.
5371
5372 2006-01-30  Wim Taymans  <wim@fluendo.com>
5373
5374         * tests/check/gst/gstbin.c: (GST_START_TEST):
5375         Wait for refcount to settle down before checking.
5376
5377 2006-01-30  Wim Taymans  <wim@fluendo.com>
5378
5379         * docs/design/part-element-sink.txt:
5380         Pseudo code overview of desired sink behaviour regarding
5381         preroll.
5382
5383 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5384         * win32/vs6/grammar.dsp:
5385           fix some bugs in Release mode for autogenerated files
5386                 
5387 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5388         * win32/common/libgstbase.def:
5389         * win32/common/libgstreamer.def:
5390           export some new symbols: gst_base_src_set_format,
5391           gst_iterator_next, gst_structure_set_valist
5392
5393 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5394
5395         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5396         Set pad functions unconditionally. Fixes #329105.
5397
5398 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5399         * win32/vs8:
5400           add vs8 project files created by Sergey Scobich
5401
5402 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5403
5404         * gst/gstutils.c: (gst_element_unlink_pads):
5405         Don't leak pad references.
5406
5407         * tests/check/elements/fakesink.c: (GST_START_TEST):
5408         * tests/check/generic/sinks.c: (GST_START_TEST):
5409         * tests/check/generic/states.c: (GST_START_TEST):
5410         * tests/check/gst/gstbin.c: (GST_START_TEST):
5411         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5412         * tests/check/gst/gstelement.c: (GST_START_TEST):
5413         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5414         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5415         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5416         Fix a bunch of leaks. Make generic/sinks.c
5417         use a bit less cpu by slowing the buffer rate
5418         between fakesrc and fakesink.
5419         
5420 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5421         * gst/gstcaps.c:
5422         * gst/gstelement.c: (gst_element_send_event):
5423         * gst/gstevent.c:
5424         * gst/gstinfo.c:
5425         * gst/gstiterator.c:
5426         * gst/gstiterator.h:
5427         * gst/gstpad.c: (gst_pad_send_event):
5428         * gst/gststructure.c:
5429         * gst/gsturi.c:
5430         * gst/gstutils.c:
5431         * gst/gstvalue.c:
5432         * libs/gst/base/gstadapter.c:
5433           doc fixes, to link to function, just write gst_cool_function(), don't
5434           prefix with '#'
5435
5436 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5437
5438         * plugins/elements/gsttee.c: (gst_tee_do_push),
5439         (gst_tee_handle_buffer):
5440         Always prefer an actual return value from a src
5441         pad in place of NOT_LINKED. This means we return
5442         WRONG_STATE when all src pads are WRONG_STATE
5443         instead of NOT_LINKED.
5444
5445         Lock when replacing the last message to prevent
5446         racing with the get_property method.
5447
5448         Add debug output
5449
5450 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5451
5452         * tests/check/Makefile.am:
5453         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5454         (main):
5455         Add a very simple check that should have caught the memleak I fixed
5456         last night (if not for the slice allocator hiding it)
5457
5458 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5459
5460         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5461         (gst_bin_remove_func), (gst_bin_handle_message_func),
5462         (bin_query_duration_fold), (bin_query_generic_fold):
5463         Clean up references to the clock provider when disposed or when
5464         handling a clock-lost message from it.
5465
5466         Unref sinks when performing a query via gst_iterator_fold, as the
5467         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5468
5469         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5470         (gst_clock_set_master):
5471         Drop our reference to the master clock, if any, when we are disposed.
5472
5473         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5474         Chain up in dispose. 
5475
5476 2006-01-26  Wim Taymans  <wim@fluendo.com>
5477
5478         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5479         Add some debugging.
5480
5481 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5482
5483         * plugins/elements/gsttee.c: (gst_tee_do_push),
5484         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5485         handles pad being NOT_LINKED or in WRONG_STATE.
5486
5487 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5488
5489         * win32/MANIFEST:
5490           more updating
5491
5492 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5493
5494         * win32/MANIFEST:
5495           remove obsolete entry
5496
5497 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5498
5499         * docs/gst/gstreamer-sections.txt:
5500         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5501         (gst_bin_iterate_sources), (gst_bin_send_event):
5502         * gst/gstbin.h:
5503         * gst/gstelement.c: (gst_element_send_event):
5504         * gst/gstevent.c:
5505         * gst/gstpad.c: (gst_pad_send_event):
5506           added code for downstream events, reviewed docs in gstevent.c
5507
5508 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5509
5510         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5511         We only query position using the clock in the playing state.
5512         Query peer in the other cases.
5513         * win32/common/config.h: Updates.
5514
5515 2006-01-24  Wim Taymans  <wim@fluendo.com>
5516
5517         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5518         A clock entry that is scheduled for the exact time of the
5519         clock is still in time.
5520
5521         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5522         (gst_base_sink_do_sync):
5523         Add some more debug info.
5524
5525 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5526
5527         * win32/vs7:
5528           Add new vs7 project files and solution.
5529
5530 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5531
5532         * win32/vs7:
5533           all files removed as they were out-dated.
5534
5535 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5536
5537         * docs/random/release:
5538           update notes
5539         * gst/gstbin.c: (gst_bin_init):
5540         * gst/gstbus.c: (gst_bus_new):
5541         * gst/gstbus.h:
5542         * gst/gstpipeline.c: (gst_pipeline_init):
5543           use gst_bus_new(), improve logging, fix docs
5544         * win32/common/config.h:
5545           update for cvs build
5546
5547 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5548
5549         * autogen.sh:
5550           up required version of automake to 1.7
5551
5552 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5553
5554         * win32/common/libgstreamer.def:
5555           export gst_buffer_is_metadata_writable
5556
5557 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         * docs/gst/gstreamer-sections.txt:
5560         * gst/gstevent.h:
5561           Add gst_event_replace() (#327001)
5562
5563 2006-01-20  Wim Taymans  <wim@fluendo.com>
5564
5565         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5566         Make it actually compile too..
5567
5568 2006-01-20  Wim Taymans  <wim@fluendo.com>
5569
5570         * gst/gstcaps.c:
5571         Clarify behaviour of _is_equal() when passing NULL parameters.
5572
5573         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5574         (gst_pad_set_caps):
5575         Cleanups. Don't unref NULL caps.
5576         When setting the same caps, protect caps of the pad with
5577         proper lock.
5578         Use full functionality of _is_equal() when comparing caps.
5579
5580 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5581
5582         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5583         Don't loop infinitely if there are no buffers to present. Partially
5584         fixes #327197, but collectpads is just broken for reusing elements
5585         to do multiple encodes atm.
5586
5587 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5588
5589         * tools/gst-inspect.c: (print_element_features):
5590         * tools/gst-xmlinspect.c: (main):
5591         URL_HANDLER is not a plugin feature we can search for in
5592         the registry.
5593
5594 2006-01-19  Edward Hervey  <edward@fluendo.com>
5595
5596         * gst/gstelement.c: (gst_element_pads_activate): 
5597         When activating, do src pads first, then sink pads.
5598         When de-activating, do sink pads first, then src pads.
5599
5600 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5601
5602         * docs/gst/gstreamer-sections.txt:
5603         Add gst_index_add_associationv to the docs
5604
5605 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5606
5607         * gst/gstevent.c:
5608           Fix docs typo
5609
5610         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5611         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5612           Do some refactoring. Doesn't actually change functionality,
5613           but makes landing the DRAIN event easier later.
5614
5615 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5616
5617         * docs/pwg/advanced-scheduling.xml:
5618           Update from 0.9.x to 0.10 API and make example a bit
5619           clearer.
5620
5621 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5622
5623         * docs/gst/gstreamer-sections.txt:
5624         Add gst_buffer_(is|make)_metadata_writable methods.
5625
5626 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5627
5628         * docs/design/part-sparsestreams.txt:
5629         Update sparse streams doc, hopefully for greater clarity
5630
5631 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5632
5633         * docs/design/part-events.txt:
5634         Remove mention of FILLER events.
5635         Add DRAIN event.
5636
5637         * docs/design/part-sparsestreams.txt:
5638         Write some things about using NEWSEGMENT to keep sparse streams
5639         flowing.
5640
5641 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5642
5643         * gst/gstbin.c: (gst_bin_dispose):
5644           Guard gst_object_unref call against a NULL object (dispose
5645           can theoretically be called multiple times).
5646           
5647 2006-01-18  Wim Taymans  <wim@fluendo.com>
5648
5649         * gst/gstbin.c: (gst_bin_element_set_state):
5650         * gst/gstclock.c: (gst_clock_id_wait):
5651         Added some more debug info.
5652
5653         * libs/gst/base/gstadapter.c:
5654         Added more docs.
5655
5656         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5657         (gst_base_sink_do_sync), (gst_base_sink_chain):
5658         Added some comments.
5659
5660 2006-01-18  Wim Taymans  <wim@fluendo.com>
5661
5662         * tests/check/Makefile.am:
5663         * tests/check/elements/fakesink.c: (chain_async_buffer),
5664         (chain_async), (chain_async_return), (GST_START_TEST),
5665         (fakesink_suite), (main):
5666         Added fakesink test that checks prerolling and clipping
5667         behaviour.
5668
5669         * tests/check/gst/gstutils.c: (GST_START_TEST):
5670         Make check run faster so that buildbots don't timeout.
5671
5672 2006-01-18  Wim Taymans  <wim@fluendo.com>
5673
5674         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5675         (gst_base_sink_do_sync):
5676         Some cleanups.
5677         When the sink finishes blocking on the preroll buffer, it can
5678         immediatly render it instead of rendering when the next buffer
5679         arrives.
5680
5681 2006-01-18  Wim Taymans  <wim@fluendo.com>
5682
5683         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5684         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5685         (gst_base_sink_chain):
5686         Small cleanups.
5687         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5688         Don't store _last_stop if the buffer is dropped.
5689
5690 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5691
5692         * plugins/elements/gsttypefindelement.c:
5693         (gst_type_find_element_class_init):
5694           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5695           object method handler that sets the caps on the pad and we want
5696           that to happen before we emit the signal (fixes e.g. feeding a
5697           plain text file to decodebin).
5698
5699 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5700
5701         * gst/gstplugin.c: Add MPL and Proprietary as license options
5702
5703 2006-01-18  Andy Wingo  <wingo@pobox.com>
5704
5705         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5706         symbol was exported before, it appears this was just an oversight.
5707         Fixes #168703.
5708         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5709
5710         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5711         prototype to gint. OK since this prototype was not in the header.
5712
5713 2006-01-17  Andy Wingo  <wingo@pobox.com>
5714
5715         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5716         registry while we remove plugins.
5717
5718         * tools/gst-inspect.c (print_element_info): Don't unref the
5719         factory arg, that should be the responsibility of whatever code
5720         received the ref. Fixes a double-free when called from
5721         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5722         (main): Unref the factory if we have one.
5723         (print_element_list): No change -- relies on the
5724         plugin_feature_list_free to free the list of features.
5725
5726 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5727
5728         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5729         (gst_buffer_make_metadata_writable):
5730         * gst/gstbuffer.h:
5731         * libs/gst/base/gstbasetransform.c:
5732         (gst_base_transform_prepare_output_buf):
5733         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5734         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5735           Replace gst_buffer_(make|is)_metadata_writable patch now
5736           that the release is out.
5737
5738 2006-01-17  Andy Wingo  <wingo@pobox.com>
5739
5740         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5741         in the present tense without reference to versions.
5742
5743         * gst/gstregistry.c (gst_registry_add_plugin)
5744         (gst_registry_remove_plugin, gst_registry_remove_feature)
5745         (gst_registry_find_feature, gst_registry_get_feature_list)
5746         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5747         (gst_registry_lookup, gst_registry_scan_path)
5748         (_gst_registry_remove_cache_plugins)
5749         (gst_registry_get_feature_list_by_plugin): Add argument
5750         validation.
5751
5752 === release 0.10.2 ===
5753
5754 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5755
5756         * configure.ac:
5757           releasing 0.10.2, "If man is five"
5758
5759 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5760
5761         * gst/gstbuffer.c:
5762         * gst/gstbuffer.h:
5763         * libs/gst/base/gstbasetransform.c:
5764         (gst_base_transform_prepare_output_buf):
5765         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5766         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5767           Back out patch until after the release.
5768
5769 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5770
5771         * gst/gstminiobject.c:
5772           Spelling fix in docs.
5773         * ChangeLog - remove conflict indicator
5774
5775 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5776
5777         Reviewed By: Andy Wingo
5778
5779         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5780         (gst_buffer_make_metadata_writable):
5781         * gst/gstbuffer.h:
5782           Add gst_buffer_(is|make)_metadata_writable as analogues of
5783           gst_buffer_(is|make)_writable.
5784
5785         * libs/gst/base/gstbasetransform.c:
5786         (gst_base_transform_prepare_output_buf):
5787         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5788           Use name gst_buffer_(is|make)_metadata_writable functions.
5789
5790         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5791           Test gst_buffer_(is|make)_metadata_writable
5792         
5793           (Closes: #324162)
5794
5795 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5796
5797         * docs/manual/Makefile.am:
5798           don't do parallel make
5799         * configure.ac:
5800           AC_SUBST HOST_CPU
5801         * win32/common/config.h.in:
5802           add generations for HOST_CPU and GST_MAJORMINOR
5803         * win32/common/config.h:
5804           commit generated result
5805
5806 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5807
5808         * docs/manual/appendix-integration.xml:
5809           Update GNOME integration section to use gst_init_get_option_group()
5810           instead of the old popt stuff (#322911). Also, GNOME applications
5811           should  now use gconf*sink and gconf*src instead of the old gconf
5812           helper lib we had.
5813
5814 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5815
5816
5817         * docs/gst/gstreamer-docs.sgml:
5818         * docs/gst/gstreamer-sections.txt:
5819         * docs/libs/gstreamer-libs-sections.txt:
5820           add new API entries to the docs
5821         * libs/gst/controller/Makefile.am:
5822         * libs/gst/controller/gstcontroller.c:
5823         * libs/gst/controller/gstcontroller.h:
5824         * libs/gst/controller/gstcontrollerprivate.h:
5825         * libs/gst/controller/gsthelper.c:
5826         * libs/gst/controller/gstinterpolation.c:
5827           move private structs to private header
5828         * po/README:
5829           gstreamer-0.7 -> gstreamer-0.10
5830         * tests/check/libs/struct_i386.h:
5831           remove private structs
5832
5833 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5834
5835         * plugins/indexers/Makefile.am:
5836           Fixes as part of #317048
5837
5838 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5839
5840         * plugins/indexers/Makefile.am:
5841           fix #316086 - compilation when mmap is missing
5842
5843 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5844
5845         * libs/gst/base/gstbasesink.c:
5846           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5847           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5848         * win32/common/config.h:
5849           added some defines GST_MAJORMINOR and HOST_CPU
5850         * win32/common/libgstbase.def:
5851         * win32/common/libgstreamer.def:
5852           added some exported functions.
5853
5854 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5855
5856         * libs/gst/controller/gstcontroller.c:
5857         (gst_controlled_property_set_interpolation_mode),
5858         (gst_controlled_property_new):
5859         * libs/gst/controller/gstcontroller.h:
5860         * libs/gst/controller/gstinterpolation.c:
5861         (interpolate_none_get_string_value_array):
5862           make G_TYPE_STRING controlable
5863
5864 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5865
5866         * tools/README:
5867         * tools/gst-feedback.1.in:
5868         * tools/gst-inspect.1.in:
5869         * tools/gst-launch.1.in:
5870         * tools/gst-md5sum.1.in:
5871         * tools/gst-typefind.1.in:
5872         * tools/gst-xmlinspect.1.in:
5873         * tools/gst-xmllaunch.1.in:
5874           cleanup man-pages, remove reference to gst-register, document env-vars
5875
5876 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
5877
5878         * gst/gstbuffer.c: (gst_buffer_span):
5879           gst_buffer_span should copy the timestamp of the first buffer
5880           if they were both originally overlapping subbuffers of the 
5881           same parent, using the same logic as the 'slow copy' case.
5882
5883 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
5884
5885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5886           Need to awaken ALL the pads when we pop a buffer, otherwise
5887           collectpads only works when there is 2 input streams.
5888
5889 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
5890
5891         * docs/random/ensonic/media-device-daemon.txt:
5892           more ideas (dbus)
5893         * gst/gstbuffer.c:
5894           fix doc example, add clarification
5895         * tools/gst-launch.1.in:
5896           add initial info about GST_PLUGIN_PATH, needs more work
5897
5898 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5899
5900         * docs/manual/basics-bins.xml:
5901         * docs/manual/basics-elements.xml:
5902         * docs/manual/intro-basics.xml:
5903           Some more minor docs additions and updates.
5904
5905 2006-01-11  Wim Taymans  <wim@fluendo.com>
5906
5907         * docs/manual/basics-bins.xml:
5908         * docs/manual/basics-elements.xml:
5909         Some small fixes as pointed out by Ser-ver on IRC.
5910
5911 2006-01-10  Edward Hervey  <edward@fluendo.com>
5912
5913         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5914         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5915         the single-segment mode.
5916
5917 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
5918
5919         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5920
5921         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5922         (gst_base_src_perform_seek), (gst_base_src_send_event),
5923         (gst_base_src_set_property), (gst_base_src_get_property),
5924         (gst_base_src_loop), (gst_base_src_start),
5925         (gst_base_src_activate_push):
5926         * libs/gst/base/gstbasesrc.h:
5927           Name (private) union; makes Sun's Forte compiler happy (#324900).
5928
5929 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5930
5931         * README:
5932           gst-register is gone.
5933
5934 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5935
5936         * gst/gstvalue.c: (_gst_value_initialize):
5937           make the G_TYPE_DATE instantiation work if debug is disabled
5938
5939 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
5940
5941         * gst/gstmessage.c: (gst_message_parse_tag),
5942         (gst_message_parse_error), (gst_message_parse_warning):
5943           Don't crash when return location for error/warning debug
5944           string is NULL; add fact that return locations can be
5945           NULL to docs where appropriate.
5946
5947 2006-01-05  Wim Taymans  <wim@fluendo.com>
5948
5949         * gst/gstplugin.c: (gst_plugin_load_file):
5950         Replace strdup by g_strdup.
5951
5952 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5953
5954         * docs/pwg/advanced-types.xml:
5955           fix doc borkage
5956
5957 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5958
5959         submitted by: Abel Cheung
5960
5961         * po/LINGUAS:
5962         * po/zh_TW.po:
5963           Added Chinese (traditional) translation
5964
5965 2006-01-04  Wim Taymans  <wim@fluendo.com>
5966
5967         * docs/manual/basics-pads.xml:
5968         * docs/plugins/Makefile.am:
5969         * docs/plugins/gstreamer-plugins-docs.sgml:
5970         * docs/plugins/gstreamer-plugins-sections.txt:
5971         * docs/pwg/advanced-clock.xml:
5972         * docs/pwg/advanced-scheduling.xml:
5973         * docs/pwg/advanced-types.xml:
5974         * plugins/elements/gstfdsink.c:
5975         * plugins/elements/gstfdsrc.c:
5976         * plugins/elements/gstfdsrc.h:
5977         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5978         * plugins/elements/gstidentity.h:
5979         * plugins/elements/gstqueue.h:
5980         * plugins/elements/gsttee.c:
5981         * plugins/elements/gsttee.h:
5982         * plugins/elements/gsttypefindelement.c:
5983         (gst_type_find_element_class_init):
5984         * plugins/elements/gsttypefindelement.h:
5985         Small updates to various docs.
5986         Added core plugins to docs.
5987
5988 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5989
5990         * common/gst.supp:
5991           add a suppression for liboil's uninitialized variable
5992
5993 2006-01-02  James Livingston  <jrl at ids dot org dot au>
5994
5995         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5996
5997         * gst/gstutils.h:
5998           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5999           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6000           compiler switch is being used (#325429).
6001
6002 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6003
6004         * gst/gstbin.c: (gst_bin_query):
6005           Disable duration query caching in bins until it gets
6006           fixed (see #324807).
6007
6008 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6009
6010         * tools/gst-inspect.c: (print_element_properties_info):
6011           Handle properties of POINTER and BOXED type.
6012
6013 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6014
6015         * gst/gst.c: (init_post):
6016           Init tags stuff and some other things before loading
6017           any static plugins (there may be other static plugins
6018           than just the GStreamer ones, and they may want to
6019           register their own tags or formats or whatever, and
6020           preferably without segfaulting).
6021
6022         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6023           Print at least a warning in the debug logs if we drop a
6024           query just because we don't know how to adjust the value
6025           in the particular format.
6026
6027 2005-12-24  David Schleef  <ds@schleef.org>
6028
6029         * tools/gstreamer-completion:
6030           Replacement for gst-complete written in sh and sed.  Only
6031           completes names of features, but that's 90% of what I want
6032           it for.  Properties are not available in registry.xml.  (Maybe
6033           they should be...)
6034
6035 === release 0.10.1 ===
6036
6037 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6038
6039         * configure.ac:
6040           releasing 0.10.1, "Nollaig chridheil"
6041
6042 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * docs/faq/cvs.xml:
6045           Add missing quote, should be make ERROR_CFLAGS="".
6046
6047 2005-12-20  Wim Taymans  <wim@fluendo.com>
6048
6049         * docs/design/part-trickmodes.txt:
6050         More documentation on trickmodes.
6051
6052 2005-12-20  Edward Hervey  <edward@fluendo.com>
6053
6054         * gst/gstcaps.c: (gst_static_caps_get_type):
6055         * gst/gstcaps.h:
6056           API addition: GST_TYPE_STATIC_CAPS
6057         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6058         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6059         * gst/gstpadtemplate.h:
6060           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6061         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6062         bindings.
6063
6064 2005-12-18  Wim Taymans  <wim@fluendo.com>
6065
6066         * libs/gst/base/gstadapter.c:
6067         * libs/gst/base/gstadapter.h:
6068         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6069         (gst_base_sink_get_position):
6070         * libs/gst/base/gstbasesink.h:
6071         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6072         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6073         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6074         (gst_base_src_send_event), (gst_base_src_update_length),
6075         (gst_base_src_get_range), (gst_base_src_loop),
6076         (gst_base_src_start):
6077         * libs/gst/base/gstbasesrc.h:
6078         * libs/gst/base/gstbasetransform.h:
6079         * libs/gst/base/gstcollectpads.h:
6080         * libs/gst/base/gstpushsrc.c:
6081         * libs/gst/base/gstpushsrc.h:
6082         * libs/gst/dataprotocol/dataprotocol.c:
6083         * libs/gst/dataprotocol/dataprotocol.h:
6084         * libs/gst/net/gstnetclientclock.h:
6085         * libs/gst/net/gstnettimeprovider.h:
6086         Documentation updates.
6087
6088 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6089
6090         * docs/manual/basics-helloworld.xml:
6091           Remove superfluous closing bracket in helloworld example.
6092
6093 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6094
6095         * tools/gst-launch.1.in:
6096           Update gst-launch man page; add a section with useful
6097           environment variables. Fixes #323882.
6098
6099 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6100
6101         * gst/gst.c:
6102         * gst/gst_private.h:
6103           change some char* into char[]
6104
6105 2005-12-16  Wim Taymans  <wim@fluendo.com>
6106
6107         * gst/gstregistryxml.c: (load_feature):
6108         Cleanups.
6109         Don't use g_object_unref on GstObjects so that we avoid
6110         leaks on unsafe glibs.
6111
6112 2005-12-16  Wim Taymans  <wim@fluendo.com>
6113
6114         * gst/gstbin.c: (gst_bin_recalc_state):
6115         Small doc updates.
6116
6117 2005-12-16  Wim Taymans  <wim@fluendo.com>
6118
6119         * common/check.mak:
6120         Added make forever target for check.
6121
6122 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6123
6124         * gst/gst.c: (init_post):
6125           make the registry cache file HOST_CPU-dependent
6126
6127 2005-12-16  Andy Wingo  <wingo@pobox.com>
6128
6129         * plugins/elements/gstbufferstore.c
6130         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6131         return value.
6132
6133         * tests/check/gst/gstobject.c
6134         (test_fake_object_name_threaded_unique): Pay attention to
6135         g_list_sort return value.
6136
6137 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6138
6139         * tools/gst-feedback-m.m:
6140           Update for 0.9/0.10 (fixes #323870).
6141
6142 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6143
6144         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6145           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6146           
6147         * tests/check/gst/gstminiobject.c: (my_foo_init),
6148         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6149         (test_value_collection), (gst_mini_object_suite):
6150           Add test to ensure refcounts end up as expected when passing
6151           GstMiniObjects through g_object_get() and g_object_set().
6152
6153 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6154
6155         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6156         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6157         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6158         of collectpads. This version removes a lot of races without
6159         touching API/ABI. Yay !
6160
6161 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6162
6163         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6164           Don't allow activation of a srcpad in pull_range if it has no
6165           getrange function.
6166           Change some debug statements to be a little clearer
6167
6168         * plugins/elements/gsttypefindelement.c:
6169         (gst_type_find_handle_src_query):
6170           Check that we have a peer before executing queries thereupon.
6171
6172         * tests/examples/metadata/read-metadata.c: (message_loop):
6173           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6174           immediately return us any available message with 0 timeout.
6175
6176 2005-12-12  Michael Smith  <msmith@fluendo.com>
6177
6178         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6179           Don't unref factories after calling them.
6180         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6181         * plugins/elements/gsttypefindelement.c:
6182         (gst_type_find_element_chain):
6183           Free lists of factories after using them. Fixing typefinding memory
6184           leaks.
6185
6186 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6187
6188         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6189         (gst_plugin_feature_load):
6190           more meaningful debug output
6191         * configure.ac:
6192         * tests/Makefile.am:
6193         * tests/old/examples/Makefile.am:
6194           make make distcheck happy again
6195
6196 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6197
6198         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6199           Catch the special case where we are operating chain-based,
6200           but the downstream peer pad has no chain function. Emit a
6201           custom error message in this case instead of letting the
6202           core generate one implying that this is some sort of core
6203           bug. It's not, it just means that whatever got plugged
6204           into the pipeline downstream when we announced the type
6205           can only operate pull-based, while our source can only
6206           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6207           Error string has not been marked for translation yet, as
6208           it probably needs some more work first.
6209
6210         (gst_type_find_element_get_best_possibility):
6211           Add helper function to find the best of all available
6212           found possibilities that qualify given the min. threshold.
6213
6214         (gst_type_find_element_handle_event):
6215           Fix the case where we get an EOS while still in TYPEFIND
6216           mode (we want to chose the best of all possible types,
6217           not just the first type that happens to be in our unsorted
6218           list of possible types).
6219
6220         (gst_type_find_element_chain):
6221           Make sure we return GST_FLOW_ERROR when we errored out
6222           in stop_typefinding(); also, don't just find the best of
6223           all found type entries and then use the last examined
6224           type entry, but actually use the best entry.
6225
6226 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6227
6228         * tests/examples/typefind/typefind.c: (type_found):
6229         * tests/examples/xml/runxml.c: (xml_loaded):
6230           More gcc4 fixes and a mem leak fix.
6231
6232 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6233
6234         * tests/examples/xml/createxml.c: (object_saved):
6235           gcc 4 fixes
6236
6237 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6238
6239         * tests/Makefile.am:
6240           enable the examples even more
6241
6242 2005-12-12  Andy Wingo  <wingo@pobox.com>
6243
6244         * libs/gst/net/gstnettimeprovider.c
6245         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6246         (gst_net_time_provider_set_property)
6247         (gst_net_time_provider_get_property):
6248         API addition: Export "active" as a GObject property.
6249         (gst_net_time_provider_thread): Only respond to time queries if
6250         the time provider is active.
6251
6252         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6253         NetTimeProvider, preserving binary compat.
6254
6255 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6256
6257         * tests/examples/controller/audio-example.c: (main):
6258         * tests/examples/launch/Makefile.am:
6259           convert comments again
6260
6261 2005-12-12  Wim Taymans  <wim@fluendo.com>
6262
6263         * libs/gst/base/gstpushsrc.c:
6264         Fix typo.
6265
6266 2005-12-12  Wim Taymans  <wim@fluendo.com>
6267
6268         * docs/libs/gstreamer-libs-sections.txt:
6269         Added new symbol to docs.
6270
6271         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6272         (gst_base_src_init), (gst_base_src_set_format),
6273         (gst_base_src_default_query), (gst_base_src_query),
6274         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6275         (gst_base_src_perform_seek), (gst_base_src_send_event),
6276         (gst_base_src_default_event), (gst_base_src_event_handler),
6277         (gst_base_src_set_property), (gst_base_src_get_property),
6278         (gst_base_src_wait), (gst_base_src_do_sync),
6279         (gst_base_src_update_length), (gst_base_src_get_range),
6280         (gst_base_src_check_get_range), (gst_base_src_loop),
6281         (gst_base_src_default_negotiate), (gst_base_src_start),
6282         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6283         (gst_base_src_change_state):
6284         * libs/gst/base/gstbasesrc.h:
6285         Implement seeking to other formats than _BYTES.
6286         Implement more seeking methods correctly.
6287         Doc updates.
6288         Added query vmethod.
6289         Added do_seek vmethod to make life easier for subclasses
6290         when seeking.
6291         API addition: gst_base_src_set_format()
6292
6293 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6294
6295         * tests/examples/Makefile.am:
6296           added that too
6297
6298 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6299
6300         * configure.ac:
6301         * docs/random/ensonic/media-device-daemon.txt:
6302         * tests/examples/controller/.cvsignore:
6303         * tests/examples/controller/Makefile.am:
6304         * tests/examples/controller/audio-example.c: (main):
6305         * tests/examples/helloworld/.cvsignore:
6306         * tests/examples/helloworld/Makefile.am:
6307         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6308         * tests/examples/launch/.cvsignore:
6309         * tests/examples/launch/Makefile.am:
6310         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6311         * tests/examples/metadata/.cvsignore:
6312         * tests/examples/metadata/Makefile.am:
6313         * tests/examples/metadata/read-metadata.c: (message_loop),
6314         (make_pipeline), (print_tag), (main):
6315         * tests/examples/queue/.cvsignore:
6316         * tests/examples/queue/Makefile.am:
6317         * tests/examples/queue/queue.c: (event_loop), (main):
6318         * tests/examples/typefind/.cvsignore:
6319         * tests/examples/typefind/Makefile.am:
6320         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6321         (main):
6322         * tests/examples/xml/.cvsignore:
6323         * tests/examples/xml/Makefile.am:
6324         * tests/examples/xml/createxml.c: (object_saved), (main):
6325         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6326         * tests/old/examples/Makefile.am:
6327         * tests/old/examples/TODO:
6328         * tests/old/examples/controller/.cvsignore:
6329         * tests/old/examples/controller/Makefile.am:
6330         * tests/old/examples/controller/audio-example.c:
6331         * tests/old/examples/helloworld/.cvsignore:
6332         * tests/old/examples/helloworld/Makefile.am:
6333         * tests/old/examples/helloworld/helloworld.c:
6334         * tests/old/examples/launch/.cvsignore:
6335         * tests/old/examples/launch/Makefile.am:
6336         * tests/old/examples/launch/mp3parselaunch.c:
6337         * tests/old/examples/launch/mp3play:
6338         * tests/old/examples/manual/Makefile.am:
6339         * tests/old/examples/metadata/Makefile.am:
6340         * tests/old/examples/metadata/read-metadata.c:
6341         * tests/old/examples/queue/.cvsignore:
6342         * tests/old/examples/queue/Makefile.am:
6343         * tests/old/examples/queue/queue.c:
6344         * tests/old/examples/typefind/.cvsignore:
6345         * tests/old/examples/typefind/Makefile.am:
6346         * tests/old/examples/typefind/typefind.c:
6347         * tests/old/examples/xml/.cvsignore:
6348         * tests/old/examples/xml/Makefile.am:
6349         * tests/old/examples/xml/createxml.c:
6350         * tests/old/examples/xml/runxml.c:
6351           applied some simple fixing to some examples
6352           re-enabled the working examples
6353
6354 2005-12-12  Wim Taymans  <wim@fluendo.com>
6355
6356         * gst/gstsegment.c: (gst_segment_init),
6357         (gst_segment_set_last_stop), (gst_segment_set_seek),
6358         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6359         (gst_segment_to_running_time):
6360         Added more documentation.
6361         Make sure the last_pos value is updated properly.
6362         Make sure to_stream_time and to_running_time don't
6363         operate on wrong values.
6364
6365         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6366         Update check.
6367
6368 2005-12-12  Michael Smith  <msmith@fluendo.com>
6369
6370         * plugins/elements/gsttypefindelement.c: (free_entry),
6371         (gst_type_find_element_chain):
6372           Now that we're not leaking factories, make sure we keep references
6373           to them while we need them.
6374
6375 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6376
6377         * tests/check/gst/struct_i386.h:
6378           ifdef out the XML structs
6379
6380 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6381
6382         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6383           floor is not needed, F is always positive; this obviates the
6384           need for adding -lm when building without libxml
6385
6386 2005-12-12  Wim Taymans  <wim@fluendo.com>
6387
6388         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6389         Take current playback rate into account when reporting
6390         the position.
6391
6392 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6393
6394         * docs/manual/mime-world.fig:
6395           Let's try this again, this time with a file that is
6396           actually in XFig format.
6397
6398 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6399
6400         * docs/manual/mime-world.fig:
6401           Add audioconvert element to diagram so that it
6402           matches the text and the code (fixes #319526).
6403
6404 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6405
6406         * docs/pwg/building-chainfn.xml:
6407         * docs/pwg/building-pads.xml:
6408         * docs/pwg/building-state.xml:
6409         * docs/pwg/other-source.xml:
6410           Update state change stuff for 0.10 (fixes #322969).
6411
6412 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6413
6414         * docs/manual/advanced-dataaccess.xml:
6415         * docs/manual/appendix-checklist.xml:
6416         * docs/manual/appendix-programs.xml:
6417         * docs/manual/basics-pads.xml:
6418         * docs/manual/highlevel-components.xml:
6419         * docs/manual/manual.xml:
6420           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6421           add converters in front of pipelines; remove curly
6422           brackets for threads stuff, they no longer exist; use
6423           GST_TYPE_FRACTION for framerates; update some pieces of
6424           code to 0.10, but there's plenty more to do.
6425
6426         * docs/manual/appendix-porting.xml:
6427           Expand on asynchroneous state changes; s/0.9/0.10/;
6428           mention disappearance of gst_init_get_popt_table()
6429           (fixes #322916).
6430
6431 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6432
6433         * docs/faq/using.xml:
6434           Spider no longer exists, and neither does gst-launch-ext.
6435           Update examples to use decodebin and playbin and put
6436           converters in front of sinks (fixes #323726).
6437
6438 2005-12-09  Michael Smith  <msmith@fluendo.com>
6439
6440         * plugins/elements/gsttypefindelement.c: (find_peek),
6441         (gst_type_find_element_chain):
6442           Fix leaking element factories in typefinding.
6443           Fix problem where we forgot about a probable type on non-seekable
6444           files, and thus later mis-typefound it.
6445
6446 2005-12-09  Michael Smith  <msmith@fluendo.com>
6447
6448         * common/m4/gst-makecontext.m4:
6449         * common/m4/gst-mcsc.m4:
6450         * configure.ac:
6451         * win32/common/config.h:
6452         * win32/common/config.h.in:
6453           Remove makecontext stuff; not used in 0.10 and causes problems on
6454           HPUX according to bug #322441
6455
6456 2005-12-07  Wim Taymans  <wim@fluendo.com>
6457
6458         * tests/check/Makefile.am:
6459         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6460         (main):
6461         * tests/check/libs/struct_i386.h:
6462         Added ABI check for libs
6463
6464 2005-12-07  Wim Taymans  <wim@fluendo.com>
6465
6466         * tests/check/Makefile.am:
6467         And add the struct_i386.h to dist.
6468
6469 2005-12-07  Wim Taymans  <wim@fluendo.com>
6470
6471         * tests/check/Makefile.am:
6472         * tests/check/gst/.cvsignore:
6473         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6474         (main):
6475         * tests/check/gst/struct_i386.h:
6476         Added check for ABI compatibility.
6477
6478 2005-12-07  Wim Taymans  <wim@fluendo.com>
6479
6480         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6481         (gst_fake_src_get_times), (gst_fake_src_create):
6482         Fix broken sync option, fixes #323259
6483
6484 2005-12-07  Wim Taymans  <wim@fluendo.com>
6485
6486         * gst/gstbuffer.c:
6487         Small docs update.
6488
6489         * gst/gstcaps.c: (gst_caps_is_equal):
6490         Don't assert on NULL <--> X. Fixes #323260
6491
6492         * gst/gstminiobject.c: (gst_mini_object_replace):
6493         If we're doing atomic operations, we might just as well use
6494         the proper way to get an atomic pointer.
6495
6496         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6497         Clean up debugging.
6498
6499 2005-12-07  Michael Smith  <msmith@fluendo.com>
6500
6501         * gst/parse/grammar.y:
6502           Remove handling of { } for threads.
6503
6504 2005-12-06  David Schleef  <ds@schleef.org>
6505
6506         * libs/gst/base/gstbasetransform.c: speling fix.
6507
6508 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6509
6510         * docs/libs/tmpl/gstdataprotocol.sgml:
6511         * docs/random/omega/testing/gstobject.c:
6512         * gst/gst.c:
6513         * gst/gstclock.c:
6514         * gst/gstelement.c:
6515         * gst/gstelementfactory.c:
6516         * gst/gsterror.c:
6517         * gst/gstevent.c:
6518         * gst/gstghostpad.c:
6519         * gst/gstinfo.c:
6520         * gst/gstpadtemplate.c:
6521         * gst/gstregistryxml.c:
6522         * gst/gsttaglist.c:
6523         * gst/gsttagsetter.c:
6524         * gst/gsttypefind.c:
6525         * gst/gstvalue.c:
6526         * libs/gst/base/gstbasesrc.c:
6527         * libs/gst/net/gstnetclientclock.c:
6528         * libs/gst/net/gstnettimeprovider.c:
6529         * plugins/elements/gstfakesrc.c:
6530         * plugins/elements/gstfdsrc.c:
6531         * plugins/elements/gstfilesrc.c:
6532         * plugins/elements/gstidentity.c:
6533         * plugins/elements/gstqueue.c:
6534         * plugins/elements/gsttypefindelement.c:
6535         * plugins/indexers/gstfileindex.c:
6536         * plugins/indexers/gstmemindex.c:
6537         * tests/check/gst/gsttag.c:
6538         * tests/old/examples/cutter/cutter.c:
6539         * tests/old/examples/mixer/mixer.c:
6540         * tests/old/examples/xml/runxml.c: (main):
6541         * tests/old/testsuite/caps/normalisation.c:
6542         * tests/old/testsuite/debug/global.c:
6543         * tests/old/testsuite/parse/parse1.c:
6544         * tools/gst-xmlinspect.c:
6545         * win32/common/dirent.c:
6546           expand tabs
6547
6548 === release 0.10.0 ===
6549
6550 2005-12-05   <thomas (at) apestaart (dot) org>
6551
6552         * configure.ac:
6553           releasing 0.10.0, "Maroilles"
6554
6555 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6556
6557         submitted by: Funda Wang <fundawang@linux.net.cn>
6558
6559         * po/LINGUAS:
6560         * po/zh_CN.po:
6561           added Chinese (Traditional) translation
6562
6563 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6564
6565         * docs/gst/gstreamer-sections.txt:
6566         * docs/libs/tmpl/gstdataprotocol.sgml:
6567         * docs/random/thomasvs/TODO:
6568         * gst/gstutils.c:
6569         * gst/gstutils.h:
6570           fix docs
6571
6572 2005-12-05  Andy Wingo  <wingo@pobox.com>
6573
6574         patch by: Wim Taymans <wim@fluendo.com>
6575
6576         * libs/gst/base/gstbasetransform.c
6577         (gst_base_transform_prepare_output_buf)
6578         (gst_base_transform_buffer_alloc):
6579         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6580         alloc_buffer_and_set_caps.
6581
6582         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6583         set_caps on the source pad.
6584         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6585         alloc_buffer used to do. Fixes #322874.
6586
6587         * docs/gst/gstreamer-sections.txt: 
6588         * docs/design/part-negotiation.txt: 
6589         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6590         changes.
6591
6592 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6593
6594         patch by: Sebastien Moutte
6595
6596         * win32/MANIFEST:
6597         * win32/common/config.h.in:
6598         * win32/vs6/libgstcontroller.dsp:
6599           win32 build fixes
6600
6601 2005-12-05  Wim Taymans  <wim@fluendo.com>
6602
6603         * gst/gstcaps.c: (gst_caps_is_equal):
6604         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6605         (gst_fake_src_create):
6606         Back out previous code changes, leave doc updates, file bugs 
6607         instead. 
6608
6609 2005-12-05  Wim Taymans  <wim@fluendo.com>
6610
6611         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6612         (gst_fake_src_get_times), (gst_fake_src_create):
6613         * plugins/elements/gstfakesrc.h:
6614         Fix broken sync code.
6615
6616 2005-12-05  Wim Taymans  <wim@fluendo.com>
6617
6618         * gst/gstcaps.c: (gst_caps_is_equal):
6619         Comparing NULL against !NULL yields different caps, not a
6620         failure.
6621
6622 2005-12-05  Wim Taymans  <wim@fluendo.com>
6623
6624         * gst/gstpipeline.c:
6625         Fix small typo in docs.
6626
6627 2005-12-05  Andy Wingo  <wingo@pobox.com>
6628
6629         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6630
6631         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6632         registries/plugins with a MAJORMINOR one.
6633         (plugin_desc): Rename library from gstcoreleements to
6634         staticelements. Fixes #323222.
6635
6636 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6637
6638         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6639           Change debug category to 'collectpads' from 'collect_pads'
6640           (fixes #323250).
6641
6642 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6643
6644         patch by: Sebastien Moutte
6645
6646         * libs/gst/controller/gstinterpolation.c:
6647           use convert function for uint64/double
6648         * win32/vs6/libgstcontroller.dsp:
6649           link to GLib
6650
6651 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6652
6653         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6654         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6655         * gst/gstutils.h:
6656         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6657           add tests that seem to show that the guint64/gdouble conversions
6658           are correct.
6659
6660 2005-12-02  Wim Taymans  <wim@fluendo.com>
6661
6662         * gst/gstregistry.c: (gst_registry_add_path):
6663         * gst/gstregistry.h:
6664         * gst/gstregistryxml.c:
6665         Fix docs again.
6666
6667 2005-12-02  Wim Taymans  <wim@fluendo.com>
6668
6669         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6670         (gst_util_uint64_scale_int):
6671         Small cleanup.
6672
6673         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6674         Add debug log line.
6675
6676         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6677         Add FIXME.
6678
6679 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6680
6681         * win32/MANIFEST:
6682         * win32/common/config.h:
6683         * win32/vs6/gstreamer.dsw:
6684         * win32/vs6/libgstcoreelements.dsp:
6685         * win32/vs6/libgstelements.dsp:
6686           renamed core elements plugin
6687
6688 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6689
6690         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6691         (get_candidates):
6692           do piece-wise major/minor comparison so 0.9 < 0.10
6693           also allow .exe extensions for tools
6694
6695 2005-12-02  Michael Smith  <msmith@fluendo.com>
6696
6697         * gst/gst.c:
6698           Escape a % to make gtkdoc happier; bug 322958.
6699
6700 === release 0.9.7 ===
6701
6702 2005-12-01   <thomas (at) apestaart (dot) org>
6703
6704         * configure.ac:
6705           releasing 0.9.7, "My Dog Has No Nose"
6706
6707 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6708
6709         * common/gst-xmlinspect.py:
6710         * configure.ac:
6711         * docs/libs/tmpl/gstdataprotocol.sgml:
6712         * docs/random/release:
6713         * po/af.po:
6714         * po/az.po:
6715         * po/bg.po:
6716         * po/ca.po:
6717         * po/cs.po:
6718         * po/de.po:
6719         * po/en_GB.po:
6720         * po/fr.po:
6721         * po/it.po:
6722         * po/nb.po:
6723         * po/nl.po:
6724         * po/ru.po:
6725         * po/sq.po:
6726         * po/sr.po:
6727         * po/sv.po:
6728         * po/tr.po:
6729         * po/uk.po:
6730         * po/vi.po:
6731         * win32/common/config.h:
6732         * win32/common/config.h.in:
6733         * win32/vs6/gst_inspect.dsp:
6734         * win32/vs6/gst_launch.dsp:
6735         * win32/vs6/libgstbase.dsp:
6736         * win32/vs6/libgstelements.dsp:
6737         * win32/vs6/libgstreamer.dsp:
6738         * win32/vs7/GStreamer.vcproj:
6739         * win32/vs7/gst-inspect.vcproj:
6740         * win32/vs7/gst-launch.vcproj:
6741         * win32/vs7/libgstbase.vcproj:
6742           bump GST_MAJORMINOR to 0.10
6743           reset libtool version
6744
6745 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6746
6747         * po/LINGUAS:
6748         * po/bg.po:
6749           Added Bulgarian translation by (Alexander Shopov)
6750
6751 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6752
6753         * tests/check/gst/gstplugin.c:
6754           fix test
6755
6756 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6757
6758         * common/gst-xmlinspect.py:
6759         * common/gtk-doc-plugins.mak:
6760         * configure.ac:
6761         * docs/Makefile.am:
6762         * docs/gst/Makefile.am:
6763         * docs/gst/gstreamer-docs.sgml:
6764         * docs/gst/gstreamer-sections.txt:
6765         * docs/gst/gstreamer.types:
6766         * docs/gst/gstreamer.types.in:
6767         * docs/plugins/Makefile.am:
6768         * docs/plugins/gstreamer-plugins-docs.sgml:
6769         * docs/plugins/gstreamer-plugins-sections.txt:
6770         * docs/plugins/gstreamer-plugins.types:
6771         * docs/plugins/inspect.stamp:
6772         * docs/plugins/inspect/plugin-coreelements.xml:
6773         * docs/plugins/inspect/plugin-coreindexers.xml:
6774         * docs/plugins/scanobj-build.stamp:
6775         * gstreamer.spec.in:
6776         * plugins/elements/Makefile.am:
6777         * plugins/elements/gstelements.c:
6778         * plugins/elements/gstfakesink.c:
6779         * plugins/elements/gstfakesrc.c:
6780         * plugins/elements/gstfilesink.c:
6781         * plugins/elements/gstfilesrc.c:
6782         * plugins/elements/gstqueue.c:
6783         * plugins/indexers/Makefile.am:
6784         * plugins/indexers/gstindexers.c:
6785           document core plugins in a separate document just like all the
6786           others
6787           rename these plugins to something starting with core
6788
6789 2005-12-01  Andy Wingo  <wingo@pobox.com>
6790
6791         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6792         padding here before, but it missed the commit.
6793
6794 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6795
6796         * libs/gst/controller/gstinterpolation.c:
6797           whitespace prices have crashed, we should feel free to use some now
6798           use gst_guint64_to_gdouble
6799
6800 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6801
6802         * libs/gst/controller/gstcontroller.c:
6803         * libs/gst/controller/gsthelper.c:
6804         * libs/gst/controller/gstinterpolation.c:
6805         * libs/gst/controller/lib.c:
6806           wrap config.h include
6807
6808 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6809
6810         * docs/gst/gstreamer-sections.txt:
6811           update docs
6812
6813 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6814
6815         * plugins/elements/gstelements.c:
6816         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6817         (gst_fd_sink__class_init), (gst_fd_sink__init),
6818         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6819         (gst_fd_sink__get_property):
6820         * plugins/elements/gstfdsink.h:
6821         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6822         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6823         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6824         (gst_fd_src_unlock), (gst_fd_src_set_property),
6825         (gst_fd_src_get_property), (gst_fd_src_create),
6826         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6827         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6828         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6829         (gst_fd_src_uri_handler_init):
6830         * plugins/elements/gstfdsrc.h:
6831         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6832           more anal cleanup
6833
6834 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6835
6836         * docs/gst/Makefile.am:
6837         * docs/gst/gstreamer.types.in:
6838         * gst/Makefile.am:
6839           fix the docs build
6840
6841 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6842
6843         * configure.ac:
6844         * gst/Makefile.am:
6845         * gst/gst.c:
6846         * gst/gstplugin.h:
6847         * gst/gstregistry.h:
6848         * tests/benchmarks/complexity.c:
6849         * tests/benchmarks/mass-elements.c:
6850         * tests/check/Makefile.am:
6851         * tools/Makefile.am:
6852         * tools/gst-inspect.c:
6853         * tools/gst-xmlinspect.c:
6854           various fixes to make
6855           --disable-nls --disable-registry --disable-loadsave
6856           --disable-parse --disable-gst-debug
6857           work and get the core .so down to 360444 bytes after stripping
6858
6859 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6860
6861         * Makefile.am:
6862         * configure.ac:
6863           descend into tests
6864         * docs/random/thomasvs/TODO:
6865         * tests/Makefile.am:
6866         * tests/README:
6867           add a README
6868
6869 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6870
6871         * win32/GStreamer.vcproj:
6872         * win32/MANIFEST:
6873         * win32/Makefile:
6874         * win32/Makefile.inspect:
6875         * win32/Makefile.launch:
6876         * win32/Makefile.register:
6877         * win32/README.txt:
6878         * win32/gst-inspect.vcproj:
6879         * win32/gst-launch.vcproj:
6880         * win32/gst-register.vcproj:
6881         * win32/gstelements.vcproj:
6882         * win32/gstgetbits.def:
6883         * win32/gstgetbits.vcproj:
6884         * win32/gstreamer-dbg.def:
6885         * win32/gstreamer.def:
6886         * win32/libgstbase.def:
6887         * win32/libgstbase.vcproj:
6888         * win32/link_oldruntime.c:
6889         * win32/mman.c:
6890         * win32/mman.h:
6891         * win32/mman.inl:
6892         * win32/msvc71.sln:
6893           move even more stuff, win32/ is nice and clean now
6894
6895 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6896
6897         * libs/gst/control/.cvsignore:
6898         * win32/MANIFEST:
6899         * win32/config.h:
6900         * win32/dirent.c:
6901         * win32/dirent.h:
6902         * win32/gstbytestream.def:
6903         * win32/gstbytestream.vcproj:
6904         * win32/gstconfig.h:
6905         * win32/gstenumtypes.c:
6906         * win32/gstenumtypes.h:
6907         * win32/gstoptimalscheduler.vcproj:
6908         * win32/gstversion.h:
6909         * win32/gtchar.h:
6910         * win32/testsuite/bins.vcproj:
6911         * win32/testsuite/bytestream.vcproj:
6912         * win32/testsuite/caps.vcproj:
6913         * win32/testsuite/cleanup.vcproj:
6914         * win32/testsuite/clock.vcproj:
6915         * win32/testsuite/debug.vcproj:
6916         * win32/testsuite/dlopen.vcproj:
6917         * win32/testsuite/dynparams.vcproj:
6918         * win32/testsuite/elements.vcproj:
6919         * win32/testsuite/ghostpads.vcproj:
6920         * win32/testsuite/indexers.vcproj:
6921         * win32/testsuite/negotiation.vcproj:
6922         * win32/testsuite/parse.vcproj:
6923         * win32/testsuite/plugin.vcproj:
6924         * win32/testsuite/refcounting.vcproj:
6925         * win32/testsuite/schedulers.vcproj:
6926         * win32/testsuite/states.vcproj:
6927         * win32/testsuite/tags.vcproj:
6928         * win32/testsuite/threads.vcproj:
6929           remove old win32 stuff that isn't maintained and should be
6930           reorganized
6931
6932 2005-11-30  Andy Wingo  <wingo@pobox.com>
6933
6934         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6935         loading the gst.interfaces python module bork.
6936
6937         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6938         available since GLib 2.2. Fixes #318031.
6939
6940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6941
6942         * Makefile.am:
6943         * check/.cvsignore:
6944         * check/Makefile.am:
6945         * check/elements/.cvsignore:
6946         * check/elements/fakesrc.c:
6947         * check/elements/fdsrc.c:
6948         * check/elements/identity.c:
6949         * check/generic/.cvsignore:
6950         * check/generic/states.c:
6951         * check/gst-libs/.cvsignore:
6952         * check/gst-libs/controller.c:
6953         * check/gst-libs/gdp.c:
6954         * check/gst/.cvsignore:
6955         * check/gst/capslist.h:
6956         * check/gst/gst.c:
6957         * check/gst/gstbin.c:
6958         * check/gst/gstbuffer.c:
6959         * check/gst/gstbus.c:
6960         * check/gst/gstcaps.c:
6961         * check/gst/gstelement.c:
6962         * check/gst/gstevent.c:
6963         * check/gst/gstghostpad.c:
6964         * check/gst/gstiterator.c:
6965         * check/gst/gstmessage.c:
6966         * check/gst/gstminiobject.c:
6967         * check/gst/gstobject.c:
6968         * check/gst/gstpad.c:
6969         * check/gst/gstpipeline.c:
6970         * check/gst/gstplugin.c:
6971         * check/gst/gstsegment.c:
6972         * check/gst/gststructure.c:
6973         * check/gst/gstsystemclock.c:
6974         * check/gst/gsttag.c:
6975         * check/gst/gstutils.c:
6976         * check/gst/gstvalue.c:
6977         * check/net/.cvsignore:
6978         * check/net/gstnetclientclock.c:
6979         * check/net/gstnettimeprovider.c:
6980         * check/pipelines/.cvsignore:
6981         * check/pipelines/cleanup.c:
6982         * check/pipelines/simple_launch_lines.c:
6983         * check/pipelines/stress.c:
6984         * check/states/.cvsignore:
6985         * check/states/sinks.c:
6986         * configure.ac:
6987         * examples/Makefile.am:
6988         * examples/appreader/.cvsignore:
6989         * examples/appreader/Makefile.am:
6990         * examples/appreader/appreader.c:
6991         * examples/controller/.cvsignore:
6992         * examples/controller/Makefile.am:
6993         * examples/controller/audio-example.c:
6994         * examples/cutter/.cvsignore:
6995         * examples/cutter/Makefile.am:
6996         * examples/cutter/cutter.c:
6997         * examples/cutter/cutter.h:
6998         * examples/events/Makefile.am:
6999         * examples/events/seek.c:
7000         * examples/helloworld/.cvsignore:
7001         * examples/helloworld/Makefile.am:
7002         * examples/helloworld/helloworld.c:
7003         * examples/helloworld2/.cvsignore:
7004         * examples/helloworld2/Makefile.am:
7005         * examples/helloworld2/helloworld2.c:
7006         * examples/launch/.cvsignore:
7007         * examples/launch/Makefile.am:
7008         * examples/launch/mp3parselaunch.c:
7009         * examples/launch/mp3play:
7010         * examples/manual/.cvsignore:
7011         * examples/manual/Makefile.am:
7012         * examples/manual/extract.pl:
7013         * examples/metadata/Makefile.am:
7014         * examples/metadata/read-metadata.c:
7015         * examples/mixer/.cvsignore:
7016         * examples/mixer/Makefile.am:
7017         * examples/mixer/mixer.c:
7018         * examples/mixer/mixer.h:
7019         * examples/pingpong/.cvsignore:
7020         * examples/pingpong/Makefile.am:
7021         * examples/pingpong/pingpong.c:
7022         * examples/plugins/.cvsignore:
7023         * examples/plugins/Makefile.am:
7024         * examples/plugins/example.c:
7025         * examples/plugins/example.h:
7026         * examples/pwg/.cvsignore:
7027         * examples/pwg/Makefile.am:
7028         * examples/pwg/extract.pl:
7029         * examples/queue/.cvsignore:
7030         * examples/queue/Makefile.am:
7031         * examples/queue/queue.c:
7032         * examples/queue2/.cvsignore:
7033         * examples/queue2/Makefile.am:
7034         * examples/queue2/queue2.c:
7035         * examples/queue3/.cvsignore:
7036         * examples/queue3/Makefile.am:
7037         * examples/queue3/queue3.c:
7038         * examples/queue4/.cvsignore:
7039         * examples/queue4/Makefile.am:
7040         * examples/queue4/queue4.c:
7041         * examples/retag/.cvsignore:
7042         * examples/retag/Makefile.am:
7043         * examples/retag/retag.c:
7044         * examples/retag/transcode.c:
7045         * examples/thread/.cvsignore:
7046         * examples/thread/Makefile.am:
7047         * examples/thread/thread.c:
7048         * examples/typefind/.cvsignore:
7049         * examples/typefind/Makefile.am:
7050         * examples/typefind/typefind.c:
7051         * examples/xml/.cvsignore:
7052         * examples/xml/Makefile.am:
7053         * examples/xml/createxml.c:
7054         * examples/xml/runxml.c:
7055         * tests/Makefile.am:
7056         * tests/check/Makefile.am:
7057         * testsuite/.cvsignore:
7058         * testsuite/Makefile.am:
7059         * testsuite/Rules:
7060         * testsuite/caps/.cvsignore:
7061         * testsuite/caps/Makefile.am:
7062         * testsuite/caps/app_fixate.c:
7063         * testsuite/caps/audioscale.c:
7064         * testsuite/caps/caps.c:
7065         * testsuite/caps/caps.h:
7066         * testsuite/caps/caps_strings:
7067         * testsuite/caps/compatibility.c:
7068         * testsuite/caps/deserialize.c:
7069         * testsuite/caps/enumcaps.c:
7070         * testsuite/caps/eratosthenes.c:
7071         * testsuite/caps/filtercaps.c:
7072         * testsuite/caps/fixed.c:
7073         * testsuite/caps/fraction-convert.c:
7074         * testsuite/caps/fraction-multiply-and-zero.c:
7075         * testsuite/caps/intersect2.c:
7076         * testsuite/caps/intersection.c:
7077         * testsuite/caps/normalisation.c:
7078         * testsuite/caps/random.c:
7079         * testsuite/caps/renegotiate.c:
7080         * testsuite/caps/sets.c:
7081         * testsuite/caps/simplify.c:
7082         * testsuite/caps/string-conversions.c:
7083         * testsuite/caps/structure.c:
7084         * testsuite/caps/subtract.c:
7085         * testsuite/caps/union.c:
7086         * testsuite/debug/.cvsignore:
7087         * testsuite/debug/Makefile.am:
7088         * testsuite/debug/category.c:
7089         * testsuite/debug/commandline.c:
7090         * testsuite/debug/global.c:
7091         * testsuite/debug/output.c:
7092         * testsuite/debug/printf_extension.c:
7093         * testsuite/dlopen/.cvsignore:
7094         * testsuite/dlopen/Makefile.am:
7095         * testsuite/dlopen/dlopen_gst.c:
7096         * testsuite/dlopen/loadgst.c:
7097         * testsuite/elements/.cvsignore:
7098         * testsuite/elements/Makefile.am:
7099         * testsuite/elements/gst-inspect-check.in:
7100         * testsuite/elements/struct_i386.h:
7101         * testsuite/elements/struct_size.c:
7102         * testsuite/indexers/.cvsignore:
7103         * testsuite/indexers/Makefile.am:
7104         * testsuite/indexers/cache1.c:
7105         * testsuite/indexers/indexdump.c:
7106         * testsuite/parse/.cvsignore:
7107         * testsuite/parse/Makefile.am:
7108         * testsuite/parse/parse1.c:
7109         * testsuite/parse/parse2.c:
7110         * testsuite/plugin/.cvsignore:
7111         * testsuite/plugin/Makefile.am:
7112         * testsuite/plugin/README:
7113         * testsuite/plugin/dynamic.c:
7114         * testsuite/plugin/linked.c:
7115         * testsuite/plugin/loading.c:
7116         * testsuite/plugin/registry.c:
7117         * testsuite/plugin/static.c:
7118         * testsuite/plugin/static2.c:
7119         * testsuite/plugin/testplugin.c:
7120         * testsuite/plugin/testplugin2.c:
7121         * testsuite/plugin/testplugin2_s.c:
7122         * testsuite/plugin/testplugin_s.c:
7123         * testsuite/refcounting/.cvsignore:
7124         * testsuite/refcounting/Makefile.am:
7125         * testsuite/refcounting/bin.c:
7126         * testsuite/refcounting/element.c:
7127         * testsuite/refcounting/element_pad.c:
7128         * testsuite/refcounting/mainloop.c:
7129         * testsuite/refcounting/mem.c:
7130         * testsuite/refcounting/mem.h:
7131         * testsuite/refcounting/object.c:
7132         * testsuite/refcounting/pad.c:
7133         * testsuite/refcounting/sched.c:
7134         * testsuite/refcounting/thread.c:
7135         * testsuite/states/.cvsignore:
7136         * testsuite/states/Makefile.am:
7137         * testsuite/states/bin.c:
7138         * testsuite/states/locked.c:
7139         * testsuite/states/parent.c:
7140         * testsuite/threads/.cvsignore:
7141         * testsuite/threads/159566.c:
7142         * testsuite/threads/159852.c:
7143         * testsuite/threads/Makefile.am:
7144         * testsuite/threads/queue.c:
7145         * testsuite/threads/signals.c:
7146         * testsuite/threads/staticrec.c:
7147         * testsuite/threads/thread.c:
7148         * testsuite/threads/threadb.c:
7149         * testsuite/threads/threadc.c:
7150         * testsuite/threads/threadd.c:
7151         * testsuite/threads/threade.c:
7152         * testsuite/threads/threadf.c:
7153         * testsuite/threads/threadg.c:
7154         * testsuite/threads/threadh.c:
7155         * testsuite/threads/threadi.c:
7156           move all of these under tests
7157
7158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7159
7160         * configure.ac:
7161         * tests/Makefile.am:
7162           fix distcheck
7163
7164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7165
7166         * docs/gst/gstreamer-sections.txt:
7167         * tests/sched/.cvsignore:
7168         * tests/sched/Makefile.am:
7169         * tests/sched/cases/(fs-fs).xml:
7170         * tests/sched/cases/(fs-i-fs).xml:
7171         * tests/sched/cases/(fs-i-i-fs).xml:
7172         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7173         * tests/sched/dynamic-pipeline.c:
7174         * tests/sched/interrupt1.c:
7175         * tests/sched/interrupt2.c:
7176         * tests/sched/interrupt3.c:
7177         * tests/sched/runtestcases:
7178         * tests/sched/runxml.c:
7179         * tests/sched/sched-stress.c:
7180         * tests/sched/sort.c:
7181         * tests/sched/testcases:
7182         * tests/sched/testcases1.tc:
7183         * tests/seeking/.cvsignore:
7184         * tests/seeking/Makefile.am:
7185         * tests/seeking/seeking1.c:
7186         * tests/threadstate/.cvsignore:
7187         * tests/threadstate/Makefile.am:
7188         * tests/threadstate/test1.c:
7189         * tests/threadstate/test2.c:
7190         * tests/threadstate/threadstate1.c:
7191         * tests/threadstate/threadstate2.c:
7192         * tests/threadstate/threadstate3.c:
7193         * tests/threadstate/threadstate4.c:
7194         * tests/threadstate/threadstate5.c:
7195           remove obsolete tests
7196         * configure.ac:
7197         * tests/bench-complexity.scm:
7198         * tests/bench-mass_elements.scm:
7199         * tests/complexity.c:
7200         * tests/complexity.gnuplot:
7201         * tests/instantiate/.cvsignore:
7202         * tests/instantiate/Makefile.am:
7203         * tests/instantiate/caps.c:
7204         * tests/mass_elements.c:
7205         * tests/network-clock-utils.scm:
7206         * tests/network-clock.scm:
7207         * tests/plot-data:
7208         First pass at cleaning up tests/ dir before moving the rest
7209         Combined with CVS surgery
7210
7211 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7212
7213         * po/POTFILES.in:
7214           queue has moved, update
7215
7216 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7217
7218         * docs/gst/gstreamer-sections.txt:
7219           remove double entries from the docs
7220         * gst/gst_private.h:
7221         * gst/gstinfo.c: (_gst_debug_init):
7222           remove the THREAD debug category
7223         * gst/Makefile.am:
7224         * gst/gstqueue.c:
7225         * gst/gstqueue.h:
7226         * docs/gst/gstreamer.types:
7227         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7228         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7229           completely move queue and fix up debugging categories
7230
7231 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7232
7233         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7234           make initialization portable, using LL is not
7235
7236 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7237
7238         * win32/common/gstconfig.h:
7239           add large padding
7240
7241 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7242
7243         * win32/common/libgstreamer.def:
7244           rename symbols; sort base section
7245
7246 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7247
7248         * gst/gstclock.c: (do_linear_regression):
7249           remove crack non-portable handrolled DEBUG macro
7250
7251 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7252
7253         * docs/random/release:
7254           update notes
7255         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7256         (gst_object_flags_get_type), (register_gst_bin_flags),
7257         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7258         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7259         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7260         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7261         (gst_caps_flags_get_type), (register_gst_clock_return),
7262         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7263         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7264         (gst_clock_flags_get_type), (register_gst_state),
7265         (gst_state_get_type), (register_gst_state_change_return),
7266         (gst_state_change_return_get_type), (register_gst_state_change),
7267         (gst_state_change_get_type), (register_gst_element_flags),
7268         (gst_element_flags_get_type), (register_gst_core_error),
7269         (gst_core_error_get_type), (register_gst_library_error),
7270         (gst_library_error_get_type), (register_gst_resource_error),
7271         (gst_resource_error_get_type), (register_gst_stream_error),
7272         (gst_stream_error_get_type), (register_gst_event_type_flags),
7273         (gst_event_type_flags_get_type), (register_gst_event_type),
7274         (gst_event_type_get_type), (register_gst_seek_type),
7275         (gst_seek_type_get_type), (register_gst_seek_flags),
7276         (gst_seek_flags_get_type), (register_gst_format),
7277         (gst_format_get_type), (register_gst_index_certainty),
7278         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7279         (gst_index_entry_type_get_type),
7280         (register_gst_index_lookup_method),
7281         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7282         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7283         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7284         (gst_index_flags_get_type), (register_gst_debug_level),
7285         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7286         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7287         (gst_iterator_result_get_type), (register_gst_iterator_item),
7288         (gst_iterator_item_get_type), (register_gst_message_type),
7289         (gst_message_type_get_type), (register_gst_mini_object_flags),
7290         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7291         (gst_pad_link_return_get_type), (register_gst_flow_return),
7292         (gst_flow_return_get_type), (register_gst_activate_mode),
7293         (gst_activate_mode_get_type), (register_gst_pad_direction),
7294         (gst_pad_direction_get_type), (register_gst_pad_flags),
7295         (gst_pad_flags_get_type), (register_gst_pad_presence),
7296         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7297         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7298         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7299         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7300         (gst_plugin_flags_get_type), (register_gst_rank),
7301         (gst_rank_get_type), (register_gst_query_type),
7302         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7303         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7304         (gst_tag_flag_get_type), (register_gst_task_state),
7305         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7306         (gst_alloc_trace_flags_get_type),
7307         (register_gst_type_find_probability),
7308         (gst_type_find_probability_get_type), (register_gst_uri_type),
7309         (gst_uri_type_get_type), (register_gst_parse_error),
7310         (gst_parse_error_get_type):
7311         * win32/common/gstenumtypes.h:
7312         * win32/common/gstversion.h:
7313           update visual studio generated files
7314
7315 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7316
7317         * win32/vs6/libgstbase.dsp:
7318         * win32/vs6/libgstelements.dsp:
7319           update project files for new locations
7320
7321 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7322
7323         * Makefile.am:
7324           remove some files
7325         * README:
7326           reinstate and update
7327         * DEVEL:
7328         * REQUIREMENTS:
7329           removed
7330         * LICENSE:
7331         * docs/random/LICENSE:
7332           moved to random
7333
7334 2005-11-30  Edward Hervey  <edward@fluendo.com>
7335
7336         * gst/gsttypefind.c: (gst_type_find_register):
7337         * gst/gsttypefind.h:
7338         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7339         (gst_type_find_factory_dispose):
7340         * gst/gsttypefindfactory.h:
7341         Fix memory leak in GstTypeFindFactory.
7342
7343 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7344
7345         * gst/gst.c:
7346         * plugins/elements/Makefile.am:
7347         * plugins/elements/gstelements.c:
7348         * plugins/elements/gstqueue.c:
7349           move queue from core to the elements plugin
7350
7351 2005-11-29  Andy Wingo  <wingo@pobox.com>
7352
7353         * libs/gst/base/gstbasetransform.h: 
7354         * libs/gst/base/gstbasesrc.h: 
7355         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7356
7357         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7358         of pointers by which to pad very extensible base classes (like the
7359         ones in libs/gst/base).
7360
7361 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7362
7363         * docs/gst/gstreamer-docs.sgml:
7364         * docs/gst/gstreamer-sections.txt:
7365         * docs/libs/gstreamer-libs-docs.sgml:
7366         * docs/libs/gstreamer-libs-sections.txt:
7367           moving documentation from core to lib
7368
7369 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7370
7371         * check/Makefile.am:
7372         * configure.ac:
7373         * docs/gst/Makefile.am:
7374         * gst/Makefile.am:
7375         * gst/base/.cvsignore:
7376         * gst/base/Makefile.am:
7377         * gst/base/README:
7378         * gst/base/gstadapter.c:
7379         * gst/base/gstadapter.h:
7380         * gst/base/gstbasesink.c:
7381         * gst/base/gstbasesink.h:
7382         * gst/base/gstbasesrc.c:
7383         * gst/base/gstbasesrc.h:
7384         * gst/base/gstbasetransform.c:
7385         * gst/base/gstbasetransform.h:
7386         * gst/base/gstcollectpads.c:
7387         * gst/base/gstcollectpads.h:
7388         * gst/base/gstpushsrc.c:
7389         * gst/base/gstpushsrc.h:
7390         * gst/base/gsttypefindhelper.c:
7391         * gst/base/gsttypefindhelper.h:
7392         * gst/check/Makefile.am:
7393         * gst/check/gstcheck.c:
7394         * gst/check/gstcheck.h:
7395         * gst/net/Makefile.am:
7396         * gst/net/gstnet.h:
7397         * gst/net/gstnetclientclock.c:
7398         * gst/net/gstnetclientclock.h:
7399         * gst/net/gstnettimepacket.c:
7400         * gst/net/gstnettimepacket.h:
7401         * gst/net/gstnettimeprovider.c:
7402         * gst/net/gstnettimeprovider.h:
7403         * libs/gst/Makefile.am:
7404         * libs/gst/base/Makefile.am:
7405         * libs/gst/base/gstbasetransform.c:
7406         * libs/gst/check/Makefile.am:
7407         * plugins/elements/Makefile.am:
7408         * po/POTFILES.in:
7409           CVS surgery + support to move base, check, and net out of gst
7410           and into libs/gst
7411
7412 2005-11-29  Andy Wingo  <wingo@pobox.com>
7413
7414         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7415
7416         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7417         padding.
7418
7419         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7420
7421         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7422
7423         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7424
7425         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7426         padding; reduces object size by about 30%. We don't expect
7427         anything else to go into gstobject.
7428
7429         * gst/gstminiobject.h (struct _GstMiniObject)
7430         (struct _GstMiniObjectClass): Only one pointer of padding; the
7431         payload is only a pointer and two ints anyway. For the class there
7432         are only two methods as well.
7433         
7434         * gst/gstelement.h (struct _GstElementClass): Removed
7435         the state_changed signal callback, it is not used.
7436
7437 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7438
7439         * docs/gst/gstreamer.types:
7440           fix includes, though they are a little dinky
7441
7442 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7443
7444         * check/Makefile.am:
7445           look in the right place for elements, a lot more chance of
7446           success
7447         * gst/Makefile.am:
7448           remove indexers and elements subdirs
7449         * plugins/Makefile.am:
7450           make indexers conditional
7451
7452 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7453
7454         * Makefile.am:
7455         * configure.ac:
7456         * plugins/elements/Makefile.am:
7457         * plugins/elements/gstcapsfilter.c:
7458         * plugins/elements/gstfilesink.c:
7459         * plugins/elements/gstfilesrc.c:
7460         * plugins/elements/gstidentity.c:
7461         * plugins/indexers/Makefile.am:
7462           do CVS surgery and related build fixery to move elements
7463           and indexers in a new gstreamer/plugins directory, out of the
7464           gst/ directory
7465
7466 2005-11-29  Andy Wingo  <wingo@pobox.com>
7467
7468         * check/Makefile.am:
7469         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7470         * pkgconfig/gstreamer-net.pc.in:
7471         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7472         #322257.
7473
7474 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7475
7476         * tools/Makefile.am:
7477         * tools/gst-complete.1.in:
7478         * tools/gst-complete.c:
7479         * tools/gst-compprep.1.in:
7480         * tools/gst-compprep.c:
7481           removing -compprep and -complete
7482
7483 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7484
7485         * gst/gstevent.c: (gst_event_new_new_segment),
7486         (gst_event_parse_new_segment):
7487         * gst/gstevent.h:
7488           fix #320529 - clean up new_segment API and structure.
7489           Let's hope everyone was using the methods, and not the structure.
7490
7491 2005-11-29  Edward Hervey  <edward@fluendo.com>
7492
7493         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7494         (gst_base_sink_event), (gst_base_sink_do_sync),
7495         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7496         Properly handle non GST_FORMAT_TIME segment
7497         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7498         Properly handle non GST_FORMAT_TIME segment
7499         * gst/gstsegment.c:
7500         This function is valid if the accumulator is 0 and the format
7501         is different from the requested format.
7502         
7503 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7504
7505         * docs/gst/gstreamer-sections.txt:
7506         Add gst_query_new_seeking and gst_query_parse_seeking to the
7507         docs.
7508
7509 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7510
7511         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7512           Treat a pad alloc with new caps the same as if we were not
7513           negotiated, in order to allow a changing upstream output
7514           to produce a new format of data.
7515
7516 2005-11-29  Edward Hervey  <edward@fluendo.com>
7517
7518         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7519         (gst_base_transform_event), (gst_base_transform_eventfunc):
7520         The event virtual method is now properly implemented, with a default
7521         handler
7522         Sub classes should call the parent_class event method. They should
7523         return FALSE if they had a problem handling the given event, or don't
7524         want GstBaseTransform to send that even downstream
7525         * gst/elements/gstidentity.c: (gst_identity_class_init),
7526         (gst_identity_init), (gst_identity_event),
7527         (gst_identity_transform_ip), (gst_identity_set_property),
7528         (gst_identity_get_property):
7529         * gst/elements/gstidentity.h:
7530         Added the single-segment boolean property.
7531         If set to TRUE, it will output a single segment of data, starting from
7532         0, will eat up all incoming newsegment, and modify the timestamp of the
7533         buffers accordingly
7534
7535 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7536
7537         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7538           Don't ref NULL target pad (#322751). Improve docs.
7539
7540 2005-11-29  Michael Smith  <msmith@fluendo.com>
7541
7542         * gst/gstregistryxml.c: (load_plugin):
7543           Don't crash if we failed to load a feature from a plugin. 
7544
7545 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7546
7547         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7548         (GST_START_TEST):
7549           use more check API and less GLib API
7550
7551 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7552
7553         * Makefile.am:
7554           don't run checks if we don't have check
7555         * common/check.mak:
7556           remove the registry when running make torture
7557         * docs/gst/gstreamer-sections.txt:
7558           remove second multiply
7559         * gst/gstqueue.c: (gst_queue_loop):
7560           fix a compile warning when disabling debug
7561
7562 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7563
7564         * gst/gstinfo.h:
7565         Hey! Let's print the pad name if the pointer != NULL instead
7566         of when it == NULL :-)
7567
7568 2005-11-28  Wim Taymans  <wim@fluendo.com>
7569
7570         * check/gst/gstutils.c: (GST_START_TEST):
7571         Updated check, add some scaling accuracy checking code.
7572
7573         * gst/gstutils.c: (gst_util_div128_64),
7574         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7575         (gst_util_uint64_scale_int):
7576         Fix 6 times faster division code. Optimize for common 
7577         1/1 and less common X/1 cases.
7578
7579 2005-11-28  Wim Taymans  <wim@fluendo.com>
7580
7581         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7582         More checks.
7583
7584         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7585         (do_linear_regression), (gst_clock_add_observation):
7586         Cleanups.
7587         Release lock when the clock cannot be slaved.
7588         Catch the case where the regression returned an invalid denominator.
7589
7590         * gst/gstutils.c: (gst_util_div128_64_iterate),
7591         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7592         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7593         Add protentially more performant non-iterative 128/64 divide function
7594         that unfortunatly does not work yet.
7595         Shortcut the trivial 0/X = 0 case.
7596         Remove the warnings on overflow.
7597
7598 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7599
7600         * gst/gstplugin.c: (gst_plugin_register_func):
7601           everything causing a plugin not to load should be at least a WARNING
7602
7603 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7604
7605         * docs/random/ensonic/dparams.txt:
7606           some TODOs for the next dev cycle
7607         * libs/gst/controller/gstcontroller.c:
7608         (gst_controlled_property_set_interpolation_mode),
7609         (gst_controlled_property_new):
7610         * libs/gst/controller/gstcontroller.h:
7611           use base type to assign acccessor functions
7612
7613 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7614
7615         * check/Makefile.am:
7616         Oops, that should have been top_srcdir
7617
7618 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7619
7620         * check/Makefile.am:
7621         * check/elements/fdsrc.c: (GST_START_TEST):
7622         Use a cmdline define to specify the location of a file to use for
7623         testing, to avoid breaking distcheck.
7624
7625 2005-11-28  Andy Wingo  <wingo@pobox.com>
7626
7627         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7628
7629 2005-11-28  Edward Hervey  <edward@fluendo.com>
7630
7631         * tools/gst-launch.c: (main):
7632         Clarify the output strings, makes it easier to translate.
7633         Fixes #322626
7634
7635 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7636
7637         * gst/Makefile.am:
7638           don't try and build net if we don't even have <sys/socket.h>
7639
7640 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7641
7642         * check/Makefile.am:
7643         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7644         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7645           Add tests for fdsrc seekability
7646
7647         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7648         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7649         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7650         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7651         * gst/elements/gstfdsrc.h:
7652           fdsrc should not be a 'live' source.
7653           Implement seeking on seekable fd's.
7654
7655         * gst/gstquery.c: (gst_query_new_seeking),
7656         (gst_query_parse_seeking):
7657         * gst/gstquery.h:
7658           Implement SEEKING query functions: 
7659             *_new_seeking and *_parse_seeking
7660
7661 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7662
7663         * gst/gstelement.c: (gst_element_dispose):
7664           don't loop forever
7665
7666         * gst/gstiterator.c:
7667         * gst/gststructure.c:
7668           doc fixes
7669
7670         * libs/gst/controller/gstcontroller.c:
7671         (gst_controlled_property_set_interpolation_mode):
7672         * libs/gst/controller/gstcontroller.h:
7673         * libs/gst/controller/gstinterpolation.c:
7674         (interpolate_none_get_enum_value_array):
7675           support controlling enums
7676
7677 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7678
7679         * gst/gstvalue.c:
7680           Improve documentation for gst_value_union().
7681
7682         * gst/gstvalue.h:
7683           Change return value for union, intersect and subtract functions
7684           from gint to gboolean.
7685
7686 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7687
7688         * gst/gstvalue.c: (gst_value_serialize_any_list),
7689         (gst_value_transform_any_list_string),
7690         (gst_value_deserialize_list), (gst_value_deserialize_array),
7691         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7692         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7693         (gst_value_set_fraction_range_full),
7694         (gst_value_deserialize_fraction_range),
7695         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7696         (gst_value_deserialize_boolean),
7697         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7698         (gst_value_serialize_float), (gst_value_deserialize_float),
7699         (gst_string_wrap), (gst_value_deserialize_string),
7700         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7701         (gst_value_union_int_range_int_range),
7702         (gst_value_intersect_int_range_int_range),
7703         (gst_value_intersect_double_range_double_range),
7704         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7705         (gst_value_subtract_int_range_int_range),
7706         (gst_value_subtract_double_double_range),
7707         (gst_value_subtract_double_range_double_range),
7708         (gst_value_deserialize_fraction):
7709         * gst/gstvalue.h:
7710           Use gint, gdouble and gchar in our API instead of int, double and
7711           char (and make usage in gstvalue.c more consistent).
7712
7713 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7714
7715         * check/Makefile.am:
7716         * libs/gst/controller/Makefile.am:
7717         * libs/gst/dataprotocol/Makefile.am:
7718           fix up Makefile.am and remove GST_ENABLE_NEW
7719
7720 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7721
7722         * configure.ac:
7723         * gst/Makefile.am:
7724         * gst/base/Makefile.am:
7725         * gst/check/Makefile.am:
7726         * gst/elements/Makefile.am:
7727         * gst/net/Makefile.am:
7728           update LDFLAGS use some more
7729
7730 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7731
7732         * common/m4/gst-doc.m4:
7733           Fixes #312589
7734
7735 2005-11-26  Edward Hervey  <edward@fluendo.com>
7736
7737         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7738         This shouldn't issue a g_warning since it returns NULL if it
7739         couldn't find the plugin, and all functions using this behave
7740         properly on a NULL return. Switching to a GST_WARNING.
7741
7742 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7743
7744         * gst/gstbin.c: (gst_bin_handle_message_func):
7745         Don't leak clock messages.
7746
7747 2005-11-25  Wim Taymans  <wim@fluendo.com>
7748
7749         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7750         (gst_util_uint64_scale_int):
7751         Optimisations, remove unneeded vars.
7752
7753 2005-11-25  Wim Taymans  <wim@fluendo.com>
7754
7755         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7756         Added more checks for the high precision uint64 cases.
7757
7758         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7759         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7760         Implement high precision (guint64 * guint64) / guint64.
7761
7762 2005-11-24  Wim Taymans  <wim@fluendo.com>
7763
7764         * gst/base/gstbasesrc.c: (gst_base_src_query):
7765         Fix wrong percentage query.
7766
7767         * gst/gstutils.c: (gst_util_uint64_scale),
7768         (gst_util_uint64_scale_int):
7769         Add some more common cases that can be handled 
7770         efficiently to _scale.
7771
7772 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7773
7774         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7775         (gst_mini_object_suite):
7776           don't use check calls from threads; check probably isn't
7777           threadsafe and using a lock to make it threadsafe would
7778           defeat the purpose of this check
7779         * gst/check/gstcheck.c:
7780         * gst/check/gstcheck.h:
7781           use GST_DEBUG some more
7782
7783 2005-11-24  Wim Taymans  <wim@fluendo.com>
7784
7785         * gst/gstutils.c: (gst_util_uint64_scale),
7786         (gst_util_uint64_scale_int):
7787         Chain trivial case to _scale_int.
7788
7789 2005-11-24  Wim Taymans  <wim@fluendo.com>
7790
7791         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7792         Added test for scaling.
7793
7794         * gst/gstclock.h:
7795         Small doc fix.
7796
7797         * gst/gstutils.c: (gst_util_uint64_scale_int):
7798         Implemented high precision scaling code.
7799
7800 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7801
7802         * gst/gstinfo.h:
7803           do not crash on pad==NULL
7804
7805 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7806
7807         Patch by: Stefan Kost
7808
7809         * common/gtk-doc.mak:
7810         * docs/gst/Makefile.am:
7811         * docs/libs/Makefile.am:
7812           Fix distcheck issues for the libraries docs build
7813           Closes #319599.
7814
7815 2005-11-24  Michael Smith <msmith@fluendo.com>
7816
7817         * docs/manual/basics-helloworld.xml:
7818           Fix bug #315027: memory leak in example code in docs.
7819
7820 2005-11-24  Michael Smith <msmith@fluendo.com>
7821
7822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7823           Unlock the PREROLL_LOCK in a failure case.
7824
7825 2005-11-24  Wim Taymans  <wim@fluendo.com>
7826
7827         * docs/gst/gstreamer-sections.txt:
7828         * gst/base/gstadapter.h:
7829         * gst/base/gstbasesink.h:
7830         * gst/base/gstbasesrc.h:
7831         * gst/base/gstbasetransform.h:
7832         * gst/base/gstpushsrc.h:
7833         * gst/elements/gstfakesink.h:
7834         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7835         * gst/elements/gstfakesrc.h:
7836         * gst/elements/gstfilesink.h:
7837         * gst/elements/gstfilesrc.h:
7838         * gst/gst.c:
7839         * gst/gstbin.c:
7840         * gst/gstbuffer.c: (_gst_buffer_copy):
7841         * gst/gstbus.h:
7842         * gst/gstcaps.c:
7843         * gst/gstchildproxy.c:
7844         * gst/gstclock.c:
7845         * gst/gstelement.c:
7846         * gst/gstelementfactory.c:
7847         * gst/gstelementfactory.h:
7848         * gst/gstevent.c:
7849         * gst/gstghostpad.h:
7850         * gst/gstindex.h:
7851         * gst/gstinterface.h:
7852         * gst/gstminiobject.c:
7853         * gst/gstminiobject.h:
7854         * gst/gstpad.c:
7855         * gst/gstpad.h:
7856         * gst/gstpadtemplate.h:
7857         * gst/gstpipeline.h:
7858         * gst/gstpluginfeature.h:
7859         * gst/gstquery.h:
7860         * gst/gstqueue.h:
7861         * gst/gsttaglist.c:
7862         * gst/gsttaglist.h:
7863         * gst/gsttagsetter.c:
7864         * gst/gsttagsetter.h:
7865         * gst/gsttrace.c:
7866         * gst/gsttrace.h:
7867         * gst/gsttypefind.h:
7868         * gst/gsturi.h:
7869         * gst/gstvalue.c:
7870         * gst/net/gstnetclientclock.c:
7871         * gst/net/gstnetclientclock.h:
7872         * gst/net/gstnettimepacket.c:
7873         * gst/net/gstnettimeprovider.c:
7874         * gst/net/gstnettimeprovider.h:
7875         Doc fixes.
7876
7877 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7878
7879         * configure.ac: back to HEAD
7880
7881 === release 0.9.6 ===
7882
7883 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
7884
7885         * configure.ac:
7886           releasing 0.9.6, "Always On Time"
7887
7888 2005-11-23  Wim Taymans  <wim@fluendo.com>
7889
7890         * docs/gst/gstreamer-sections.txt:
7891         * gst/glib-compat.c:
7892         * gst/gsttagsetter.c:
7893         * gst/gstvalue.c:
7894         * gst/net/gstnetclientclock.c:
7895         * gst/net/gstnettimepacket.h:
7896         Doc updates.
7897
7898 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7899
7900         * docs/faq/using.xml:
7901         * docs/libs/tmpl/gstcontrol.sgml:
7902         * docs/manual/advanced-dparams.xml:
7903         * docs/manual/appendix-checklist.xml:
7904         * docs/manual/basics-elements.xml:
7905         * docs/pwg/other-source.xml:
7906         * docs/random/moving-plugins:
7907         * gst/gstpad.c:
7908         * tools/gst-launch.1.in:
7909           remove mentions of sinesrc
7910
7911 2005-11-23  Michael Smith <msmith@fluendo.com>
7912
7913         * docs/gst/gstreamer-sections.txt:
7914           Update for new API and API changes.
7915         * gst/gstobject.h:
7916           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7917         * gst/gstvalue.c:
7918           Documentation typo fix.
7919         * gst/net/gstnettimepacket.c:
7920           Documentation fixes for arguments.
7921
7922 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
7923
7924         * gst/gststructure.c: (gst_structure_get_fraction),
7925         (gst_structure_parse_value),
7926         (gst_structure_fixate_field_nearest_fraction):
7927         * gst/gststructure.h:
7928         * gst/gstutils.c: (gst_util_uint64_scale_int):
7929         * gst/gstutils.h:
7930         * scripts/update-funcnames:
7931         API Changes. 
7932         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7933         Make gst_structure_fixate_field_nearest_fraction take a numerator
7934         and denominator argument instead of a GValue
7935         add gst_structure_get_fraction helper function.
7936
7937 2005-11-23  Wim Taymans  <wim@fluendo.com>
7938
7939         * docs/design/part-TODO.txt:
7940         Update TODO.
7941
7942         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7943         * gst/net/gstnetclientclock.h:
7944         Use parent fields for timeout and window_size.
7945
7946 2005-11-23  Andy Wingo  <wingo@pobox.com>
7947
7948         * check/net/gstnetclientclock.c (test_functioning): Adjust to
7949         rate_num/rate_denom change.
7950
7951         * gst/net/gstnetclientclock.c
7952         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7953         OBJECT_LOCK. Don't call add_observation with the lock.
7954
7955         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7956         fraction.
7957         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7958         rate fraction.
7959         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7960         deal with rate as a fraction whose numerator and denominator are
7961         GstClockTime values.
7962         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7963         master; the other fields are protected by the SLAVE_LOCK.
7964         (do_linear_regression): Note that this must be called with the
7965         SLAVE_LOCK.
7966         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7967         OBJECT_LOCK. Call set_calibration instead of touching the
7968         variables directly.
7969         (gst_clock_set_property, gst_clock_get_property): Protect
7970         master/slave parameters with the SLAVE_LOCK.
7971
7972         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7973         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7974         note that all of the instance variables that add_observation and
7975         the set_master functions use are protected by that lock and not
7976         the OBJECT_LOCK.
7977         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7978
7979         * gst/gstclock.c (gst_clock_add_observation): No longer requires
7980         the caller to take the object lock.
7981
7982 2005-11-23  Wim Taymans  <wim@fluendo.com>
7983
7984         * gst/gsterror.c: (_gst_core_errors_init):
7985         * gst/gsterror.h:
7986         Add error for clock stuff.
7987
7988         * gst/gstpipeline.c: (gst_pipeline_change_state),
7989         (gst_pipeline_set_clock):
7990         Post clock error when clock cannot be used in a pipeline.
7991
7992 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
7993
7994         * docs/gst/gstreamer-sections.txt:
7995           make two symbols from gstinfo private for the docs
7996         * gst/base/gstcollectpads.h:
7997         * gst/gstutils.c:
7998           fix doc typos, update docs
7999
8000 2005-11-22  Wim Taymans  <wim@fluendo.com>
8001
8002         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8003         (gst_base_sink_wait), (gst_base_sink_do_sync),
8004         (gst_base_sink_handle_event):
8005         * gst/base/gstbasesink.h:
8006         No need to store the clock, the parent element class already
8007         has it.
8008
8009         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8010         Updates for clock_set returning a gboolean
8011
8012         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8013         (gst_clock_id_wait_async), (gst_clock_class_init),
8014         (gst_clock_init), (gst_clock_finalize),
8015         (gst_clock_get_internal_time), (gst_clock_get_time),
8016         (gst_clock_slave_callback), (gst_clock_set_master),
8017         (gst_clock_get_master), (do_linear_regression),
8018         (gst_clock_add_observation), (gst_clock_set_property),
8019         (gst_clock_get_property):
8020         * gst/gstclock.h:
8021         Implement master/slave. When setting a clock as a slave, a
8022         periodic timeout is scheduled to sample master and slave times.
8023         Then the slave clock is recalibrated to match offset and rate
8024         of the master clock.
8025         Update logging a bit.
8026         Add flag so that a clock can state that is cannot be slaved to
8027         another clock.
8028
8029         * gst/gstelement.c: (gst_element_set_clock):
8030         * gst/gstelement.h:
8031         The set clock returns a gboolean for when an element cannot
8032         deal with the selected clock in the pipeline. 
8033
8034         * gst/gstpipeline.c: (gst_pipeline_change_state),
8035         (gst_pipeline_set_clock):
8036         * gst/gstpipeline.h:
8037         Handle the case where the selected clock cannot be set on
8038         the pipeline.
8039
8040         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8041         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8042         (gst_net_client_clock_set_property),
8043         (gst_net_client_clock_get_property),
8044         (gst_net_client_clock_observe_times):
8045         * gst/net/gstnetclientclock.h:
8046         Use regression code in GstClock parent, remove duplicated
8047         functionality.
8048
8049 2005-11-22  Michael Smith <msmith@fluendo.com>
8050
8051         * gst/gstutils.c: (gst_util_clock_time_scale):
8052         * gst/gstutils.h:
8053         * docs/gst/gstreamer-sections.txt:
8054           Rename method to have extra underscore.
8055
8056 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8057
8058         * gst/elements/Makefile.am:
8059         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8060         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8061         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8062         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8063         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8064         * gst/elements/gstfakesrc.h:
8065         * gst/gstqueue.c: (queue_leaky_get_type):
8066           correctly fix GEnumValues so that nick is the short lowercase
8067           dashed tag
8068         * tools/gst-inspect.c: (print_element_properties_info):
8069           also show the nick, since it's useful to use from parse_launch
8070           syntax
8071           Fixes #322139
8072
8073 2005-11-22  Michael Smith <msmith@fluendo.com>
8074
8075         * gst/gstutils.c: (gst_util_clocktime_scale):
8076         * gst/gstutils.h:
8077         * docs/gst/gstreamer-sections.txt:
8078           Add util method for scaling a clocktime by a fraction. Useful 
8079           implementation is left as an exercise for the reader.
8080
8081 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8082
8083         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8084         If needed, allocate storage in the destination value during
8085         collection.
8086
8087 2005-11-22  Edward Hervey  <edward@fluendo.com>
8088
8089         * docs/gst/gstreamer-sections.txt:
8090         * gst/Makefile.am:
8091         * gst/gst.h:
8092         * gst/gsturitype.c:
8093         * gst/gsturitype.h:
8094         * gst/gstutils.c: (gst_util_set_object_arg):
8095         * tools/gst-compprep.c: (main):
8096         * tools/gst-inspect.c: (print_element_properties_info):
8097         Removed GstURI, closes bug #321061
8098
8099 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8100
8101         * check/gst/gststructure.c: (GST_START_TEST):
8102         * gst/gststructure.c: (gst_structure_parse_value):
8103           Oops, broke automatic string type parsing.
8104           Add a test to catch it in future.
8105
8106 2005-11-22  Andy Wingo  <wingo@pobox.com>
8107
8108         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8109         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8110         Actually rename the function implementations. Grr.
8111
8112 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8113
8114         * check/gst/capslist.h:
8115           Comment test cases
8116         * check/gst/gststructure.c: (GST_START_TEST),
8117         (gst_structure_suite):
8118           Test automatic value type detection in gst_structure_from_string.
8119         * gst/gststructure.c: (gst_structure_parse_value):
8120           Add fraction as a type we try and guess automatically in
8121           caps/structure strings.
8122
8123 2005-11-22  Andy Wingo  <wingo@pobox.com>
8124
8125         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8126
8127         * gst/gsttagsetter.h:
8128         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8129         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8130         (gst_tag_setter_add_tag_valist)
8131         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8132         _add_values, _add_valist, and _add_valist_values. Since this is an
8133         interface the function suffixes should be more explicit so
8134         language binding don't end up with element.add_valist ->
8135         gst_tag_setter_add_valist, for example. Fixes #322069.
8136
8137 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8138
8139         * check/gst/gstcaps.c: (GST_START_TEST):
8140           Extend caps string tests to check that a caps to string
8141           conversion is reversible and produces the same caps.
8142
8143         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8144           Output "fraction" as the generic type fraction range, so caps
8145           serialisation and deserialisation works.
8146         * check/gst/capslist.h:
8147         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8148           Support 'MIN' and 'MAX' for deserialising fractions.
8149
8150 2005-11-22  Andy Wingo  <wingo@pobox.com>
8151
8152         * gst/gstevent.h (gst_event_new_new_segment)
8153         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8154         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8155         Renamed from *_newsegment, *_buffersize, *_notarget.
8156
8157         * scripts/update-funcnames: New script, performs the changes
8158         listed above.
8159
8160 2005-11-22  Wim Taymans  <wim@fluendo.com>
8161
8162         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8163         Make sure the GstFlowReturn is returned.
8164
8165         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8166         (gst_bus_add_signal_watch):
8167         * gst/gstbus.h:
8168         add gst_bus_add_signal_watch_full.
8169
8170         * gst/gstplugin.c: (gst_plugin_load_file):
8171         Small style cleanup.
8172
8173 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8174
8175         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8176           Block the fakesrc srcpad when we send an event, to avoid
8177           contention on the stream_lock causing random test failures.
8178
8179 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8180
8181         * check/gst/gstvalue.c: (GST_START_TEST):
8182         * gst/gstvalue.c: (gst_value_fraction_subtract):
8183           Fix subtraction.
8184
8185 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8186
8187         * gst/gst.h:
8188           include "gstchildproxy.h"
8189         * gst/gstchildproxy.h:
8190         * libs/gst/controller/gstcontroller.h:
8191           use G_GNUC_NULL_TERMINATED
8192
8193 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8194
8195         * check/gst/capslist.h:
8196         * check/gst/gstcaps.c: (GST_START_TEST):
8197         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8198         * gst/gststructure.c: (gst_structure_parse_range),
8199         (gst_structure_fixate_field_nearest_fraction):
8200         * gst/gststructure.h:
8201         * gst/gstvalue.c: (gst_value_init_fraction_range),
8202         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8203         (gst_value_collect_fraction_range),
8204         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8205         (gst_value_set_fraction_range_full),
8206         (gst_value_get_fraction_range_min),
8207         (gst_value_get_fraction_range_max),
8208         (gst_value_serialize_fraction_range),
8209         (gst_value_transform_fraction_range_string),
8210         (gst_value_compare_fraction_range),
8211         (gst_value_deserialize_fraction_range),
8212         (gst_value_intersect_fraction_fraction_range),
8213         (gst_value_intersect_fraction_range_fraction_range),
8214         (gst_value_subtract_fraction_fraction_range),
8215         (gst_value_subtract_fraction_range_fraction),
8216         (gst_value_subtract_fraction_range_fraction_range),
8217         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8218         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8219         (gst_value_transform_string_fraction), (_gst_value_initialize):
8220         * gst/gstvalue.h:
8221           Implement fraction ranges and extend GstFraction to support
8222           arithmetic subtraction, as well as deserialization from integer
8223           strings such as "100"
8224           Add a testsuite as for int and double range set operations
8225
8226 2005-11-21  Andy Wingo  <wingo@pobox.com>
8227
8228         * gst/gsttaglist.h: 
8229         * gst/gstcaps.h: 
8230         * gst/gststructure.h: Add glib-compat.h.
8231
8232 2005-11-21  Wim Taymans  <wim@fluendo.com>
8233
8234         * gst/gstbin.c: (gst_bin_change_state_func):
8235         Fix for #321595
8236
8237 2005-11-21  Wim Taymans  <wim@fluendo.com>
8238
8239         * gst/gstsegment.h:
8240         And add a nice define too.
8241
8242 2005-11-21  Wim Taymans  <wim@fluendo.com>
8243
8244         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8245         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8246         (gst_segment_set_duration), (gst_segment_set_last_stop),
8247         (gst_segment_set_seek), (gst_segment_set_newsegment),
8248         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8249         (gst_segment_clip):
8250         * gst/gstsegment.h:
8251         Make binding friendly.
8252
8253 2005-11-21  Andy Wingo  <wingo@pobox.com>
8254
8255         * gst/gsttagsetter.h: 
8256         * gst/gsttaglist.h: 
8257         * gst/gststructure.h: 
8258         * gst/gstcaps.h: 
8259         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8260         #319940.
8261
8262         * gst/gsterror.c (_gst_core_errors_init):
8263         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8264         category.
8265
8266         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8267         (noinst_HEADERS): noinst the -private.
8268
8269 2005-11-21  Michael Smith <msmith@fluendo.com>
8270
8271         * gst/gstplugin.h:
8272         * gst/gstregistry.h:
8273           Remove unimplemented declarations for which we can see no sensible
8274           use.
8275
8276 2005-11-21  Andy Wingo  <wingo@pobox.com>
8277
8278         * gst/gst.h: Include glib-compat.h.
8279
8280         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8281
8282         * gst/glib-compat.c: Include the public and the private header.
8283
8284         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8285
8286         * gst/gstvalue.c: 
8287         * gst/gstpad.c: 
8288         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8289
8290         * check/gst/gstevent.c (create_custom_events): Check that
8291         FLUSH_STOP is serialized.
8292
8293         * check/elements/identity.c (event_func): 
8294         * check/elements/fakesrc.c (event_func): No stream lock, the core
8295         takes it.
8296
8297         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8298         stream lock taking, yay.
8299
8300         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8301         ensure that core takes the stream lock.
8302
8303         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8304         lock name change.
8305
8306         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8307         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8308         it already. For the flush start we do take it though so we get the
8309         right preroll state change messages.
8310
8311         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8312         the stream lock here, the core does it for us.
8313
8314         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8315         GST_STREAM_GET_LOCK.
8316         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8317         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8318         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8319         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8320         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8321         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8322
8323         * gst/gstpad.c: Update for stream lock name change.
8324
8325         * gst/base/gstbasesink.c: Update for preroll lock name change.
8326
8327 2005-11-21  Wim Taymans  <wim@fluendo.com>
8328
8329         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8330         (gst_clock_get_master):
8331         * gst/gstclock.h:
8332         * gst/gstsystemclock.c: (gst_system_clock_init):
8333         Convert Clock flags to object flags.
8334         Added methods to manage master/slave clocks.
8335
8336 2005-11-21  Wim Taymans  <wim@fluendo.com>
8337
8338         * check/gst/gstsegment.c: (GST_START_TEST):
8339         * docs/design/part-TODO.txt:
8340         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8341         (gst_base_sink_event), (gst_base_sink_do_sync),
8342         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8343         (gst_base_sink_query), (gst_base_sink_change_state):
8344         * gst/base/gstbasesink.h:
8345         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8346         (gst_base_src_default_newsegment),
8347         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8348         (gst_base_src_get_range), (gst_base_src_loop),
8349         (gst_base_src_change_state):
8350         * gst/base/gstbasesrc.h:
8351         * gst/base/gstbasetransform.c:
8352         (gst_base_transform_prepare_output_buf),
8353         (gst_base_transform_event), (gst_base_transform_change_state):
8354         * gst/base/gstbasetransform.h:
8355         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8356         (gst_collect_pads_event):
8357         * gst/base/gstcollectpads.h:
8358         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8359         (gst_fake_src_create):
8360         * gst/elements/gstfakesrc.h:
8361         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8362         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8363         (gst_segment_set_last_stop), (gst_segment_set_seek),
8364         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8365         (gst_segment_to_running_time), (gst_segment_clip):
8366         * gst/gstsegment.h:
8367         More segment updates, replace code in plugins with segment
8368         helper functions.
8369
8370 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8371
8372         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8373         Don't ignore sscanf results
8374
8375 2005-11-21  Andy Wingo  <wingo@pobox.com>
8376
8377         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8378
8379         * *.h:
8380         * *.c: Ran scripts/update-macros. Oh yes.
8381
8382         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8383         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8384         GST_GET_LOCK, etc.
8385
8386         * scripts/update-macros: New script. Run it on your files to
8387         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8388         well.
8389
8390 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8391
8392         * docs/gst/Makefile.am:
8393         * docs/gst/gstreamer-docs.sgml:
8394         * docs/gst/gstreamer-sections.txt:
8395         * docs/gst/gstreamer.types:
8396         * gst/gstinfo.h:
8397           more docs fixes, add new api to the docs
8398
8399 2005-11-21  Andy Wingo  <wingo@pobox.com>
8400
8401         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8402         state_broadcast call.
8403
8404         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8405
8406 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8407
8408         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8409         function calls for arrays.
8410
8411 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8412
8413         * docs/random/ensonic/media-device-daemon.txt:
8414           wild idea, can this be done?
8415         * docs/gst/gstreamer-sections.txt:
8416         * gst/gsterror.h:
8417         * gst/gstfilter.c:
8418         * gst/gstfilter.h:
8419         * gst/gstplugin.h:
8420         * gst/gstpluginfeature.c:
8421         * gst/gsttrace.c:
8422         * gst/gstvalue.c:
8423         * gst/gstvalue.h:
8424           doc fixes and additions
8425
8426 2005-11-21  Andy Wingo  <wingo@pobox.com>
8427
8428         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8429         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8430         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8431         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8432         private to the basesrc implementation.
8433
8434         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8435         behalf of event function if necessary. It should no longer be
8436         necessary to take the stream lock in pad's event functions. Fixes
8437         #320299.
8438
8439 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8440         * docs/gst/gstreamer-sections.txt:
8441         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8442         (gst_structure_fixate_field_nearest_double),
8443         (gst_structure_fixate_field_boolean):
8444         * gst/gststructure.h:
8445         * win32/common/libgstreamer.def:
8446         * win32/gstreamer.def:
8447
8448         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8449         (#322027)
8450
8451 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8452
8453         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8454         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8455         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8456         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8457         (gst_fdsrc_uri_handler_init):
8458         * gst/elements/gstfdsrc.h:
8459           Port fd:// URI handler from 0.8 to fdsrc
8460
8461 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8462
8463         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8464         (gst_value_serialize_fourcc):
8465         * gst/gstvalue.h:
8466           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8467           consistent with our other format defines (#320324).
8468
8469 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8470
8471         * gst/gstvalue.c: (gst_value_is_fixed):
8472           Revert previous commit. Value lists are by definition
8473           not fixed, as they are a list of possible values.
8474
8475 2005-11-21  Andy Wingo  <wingo@pobox.com>
8476
8477         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8478         during the stable series if we need it. Fixes #319178.
8479
8480         * gst/gstevent.c (gst_event_new_filler): Removed.
8481
8482         * check/gst/gstevent.c: Update comment about filler events.
8483
8484 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8485
8486         * gst/gstvalue.c: (gst_value_is_fixed):
8487           Should handle both value arrays and value lists.
8488
8489 2005-11-21  Andy Wingo  <wingo@pobox.com>
8490
8491         patch by: Alessandro Dessina <alessandro nnva org>
8492
8493         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8494         functions to access arrays. Fixes #321962.
8495
8496 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8497
8498         * docs/gst/gstreamer.types:
8499           gst_collectpads_get_type => gst_collect_pads_get_type.
8500           
8501         * gst/base/gstbasetransform.c:
8502           Remove unused SIGNAL_HANDOFF enum.
8503
8504 2005-11-21  Andy Wingo  <wingo@pobox.com>
8505
8506         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8507         the event type (upstream, downstream, serialized). Renamed
8508         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8509         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8510         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8511
8512         * gst/gstevent.c: Update for new CUSTOM event names.
8513
8514         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8515
8516         * gst/gstevent.h:
8517         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8518         bug #319392.
8519
8520 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8521
8522         * docs/gst/gstreamer-sections.txt:
8523         * win32/common/libgstbase.def:
8524         * win32/libgstbase.def:
8525         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8526         (gst_collect_pads_class_init), (gst_collect_pads_init),
8527         (gst_collect_pads_finalize), (gst_collect_pads_new),
8528         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8529         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8530         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8531         (gst_collect_pads_start), (gst_collect_pads_stop),
8532         (gst_collect_pads_peek), (gst_collect_pads_pop),
8533         (gst_collect_pads_available), (gst_collect_pads_read),
8534         (gst_collect_pads_flush), (gst_collect_pads_event),
8535         (gst_collect_pads_chain):
8536         * gst/base/gstcollectpads.h:
8537           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8538           unimplemented functions as unimplemented. Add padding to
8539           GstCollectData. (#320766, #320423)
8540
8541 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8542
8543         * gst/gstmessage.c:
8544           Improve docs for DURATION message (usage of duration parameter)
8545           (#320113)
8546
8547 2005-11-20  Wim Taymans  <wim@fluendo.com>
8548
8549         * check/Makefile.am:
8550         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8551         (main):
8552         * gst/Makefile.am:
8553         * gst/gst.h:
8554         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8555         (gst_segment_set_seek), (gst_segment_set_newsegment),
8556         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8557         (gst_segment_clip):
8558         * gst/gstsegment.h:
8559         Added segment helper structure and methods. Not fully implemented
8560         yet.
8561         Added segment check.
8562
8563 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8564
8565         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8566           Add a deserialisation test for fractions
8567         * examples/metadata/read-metadata.c: (message_loop),
8568         (make_pipeline), (main):
8569           Fix up metadata reading sample.
8570         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8571           Debug format fix
8572         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8573           Don't try and fixate empty caps
8574         * gst/gst_private.h:
8575           Wrap in G_BEGIN_DECLS/G_END_DECLS
8576         * gst/gstvalue.c: (gst_value_collect_fraction),
8577         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8578         (gst_value_transform_string_fraction),
8579         (gst_value_compare_fraction):
8580           Add some extra guards to ensure that we don't end up 
8581           with an invalid denominator of 0 in a gstfraction and
8582           that fractions always get reduced.
8583
8584 2005-11-20  Wim Taymans  <wim@fluendo.com>
8585
8586         * docs/gst/gstreamer-sections.txt:
8587         * gst/gstbuffer.h:
8588         * gst/gstelement.c:
8589         * gst/gstformat.c:
8590         * gst/gstformat.h:
8591         * gst/gstindex.h:
8592         * gst/gstquery.c:
8593         * gst/gstquery.h:
8594         * gst/gstvalue.c:
8595         Doc fixes.
8596
8597 2005-11-20  Wim Taymans  <wim@fluendo.com>
8598
8599         * docs/design/part-TODO.txt:
8600         * gst/gstcaps.h:
8601         Make a proper enum of the flag.
8602
8603 2005-11-19  Wim Taymans  <wim@fluendo.com>
8604
8605         * docs/design/part-TODO.txt:
8606         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8607         (gst_format_to_quark), (gst_format_register):
8608         * gst/gstformat.h:
8609         * gst/gstquery.c: (_gst_query_initialize),
8610         (gst_query_type_get_name), (gst_query_type_to_quark),
8611         (gst_query_type_register):
8612         * gst/gstquery.h:
8613         Add type to quark and type to string conversions.
8614
8615 2005-11-19  Andy Wingo  <wingo@pobox.com>
8616
8617         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8618         #320097.
8619
8620 2005-11-19  Wim Taymans  <wim@fluendo.com>
8621
8622         * docs/design/part-TODO.txt:
8623         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8624         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8625         (gst_bin_handle_message_func):
8626         * gst/gstbin.h:
8627         Make message handling overridable.
8628
8629 2005-11-19  Andy Wingo  <wingo@pobox.com>
8630
8631         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8632
8633         * gst/gstclock.h:
8634         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8635         be a GstClockTime.
8636         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8637         is a GstClockTime. Fixes #321710.
8638
8639         * gst/gstclock.h (GstClock): Remove offset property. Add
8640         internal_calibration and external_calibration. Fix padding. Pad
8641         also by GstClockTime so we don't run into problems.
8642
8643         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8644         (gst_clock_get_rate_offset): Remove.
8645         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8646
8647         * gst/gstutils.h:
8648         * gst/gstutils.c (g_static_rec_cond_wait)
8649         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8650
8651         * gst/gstbin.c: Remove terrible continue_state prototype.
8652
8653         * gst/gstelement.h (gst_element_continue_state): Make public.
8654
8655         * gst/gstelement.h:
8656         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8657         by continue_state. Fixes #319389.
8658
8659         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8660         Really fixes #168438. However I don't see anywhere where the
8661         filter function is called... stupid GStreamer...
8662         
8663         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8664         don't have a dispose function, so it won't get called when the
8665         object is unreffed, but oh well!
8666
8667         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8668         allows a destroy function to be set so user_data can be freed.
8669         Fixes #168438.
8670         (gst_index_set_filter): Call gst_index_set_filter_full.
8671
8672         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8673
8674         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8675         string should produce an error, given the lack of a way to
8676         represent NULL strings. Fixes #165650.
8677         
8678         * gst/gstvalue.h: 
8679         * gst/gstvalue.c (gst_value_array_append_value) 
8680         (gst_value_array_prepend_value, gst_value_array_get_size) 
8681         (gst_value_array_get_value): New API, copied from
8682         gst_value_list_*, only operates on arrays.
8683         (gst_value_list_append_value, gst_value_list_prepend_value) 
8684         (gst_value_list_concat, gst_value_list_get_size) 
8685         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8686
8687         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8688         init_list, because it works on both.
8689         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8690         (gst_value_copy_list_or_array): Renamed from copy_list.
8691         (gst_value_free_list_or_array): Renamed from free_list.
8692         (gst_value_collect_list_or_array): Renamed from collect_list.
8693         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8694         (gst_value_list_or_array_peek_pointer): Renamed from
8695         list_peek_pointer.
8696         (_gst_value_array_value_table, _gst_value_list_value_table):
8697         Update value table functions.
8698         (gst_value_compare_list_or_array): Renamed from compare_list.
8699
8700         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8701         some constness.
8702
8703         * gst/gsttaglist.c:
8704         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8705         GstTagList*. Fixes #143472.
8706
8707         * gst/gststructure.h: Clarify what the foreach/map functions can
8708         or can't do to their arguments.
8709
8710 2005-11-18  Wim Taymans  <wim@fluendo.com>
8711
8712         * gst/gstclock.c: (gst_clock_set_calibration),
8713         (gst_clock_get_calibration):
8714         Doc and API fixes.
8715         Calibration can be set with internal time equal to current
8716         internal time too.
8717
8718 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8719
8720         * gst/gsterror.c:
8721         * gst/gsterror.h:
8722           document
8723
8724 2005-11-18  Andy Wingo  <wingo@pobox.com>
8725
8726         * configure.ac: 
8727         * pkgconfig/gstreamer-net.pc.in:
8728         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8729         * pkgconfig/Makefile.am: Add net pkgconfig files.
8730
8731 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8732
8733         * gst/gstcaps.c:
8734         * gst/gstghostpad.c:
8735         * gst/gsttrace.c:
8736         * gst/gstvalue.c:
8737         * gst/gstvalue.h:
8738           docs fixes
8739
8740 2005-11-18  Andy Wingo  <wingo@pobox.com>
8741
8742         * gst/net/gstnetclientclock.c: Turn off debugging.
8743
8744         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8745         times connverge somewhat. Can't make a real test.
8746
8747         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8748         integer arithmetic. Return the minimum of the domain, which can be
8749         set as "internal" for gst_clock_set_calibration.
8750         (gst_net_client_clock_observe_times): Call _set_calibration.
8751         (gst_net_client_clock_new): Call _set_calibration instead of
8752         rate_offset.
8753
8754         * check/net/gstnetclientclock.c (test_functioning): Use the right
8755         adjustment api.
8756
8757         * gst/gstclock.h:
8758         * gst/gstclock.c (gst_clock_get_calibration) 
8759         (gst_clock_set_calibration): New functions, obsolete the ones I
8760         added yesterday. Doh. Precision issues mean we have to extrapolate
8761         from a point in the more recent past than 1970.
8762         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8763         obsolete.
8764         (gst_clock_adjust_unlocked): Use the right calibration data.
8765
8766 2005-11-18  Edward Hervey  <edward@fluendo.com>
8767
8768         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8769         Also reset the ->current_* values in READY->PAUSED
8770
8771 2005-11-18  Andy Wingo  <wingo@pobox.com>
8772
8773         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8774         Whoops, check the right fd. Also add some debugging.
8775         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8776         (do_linear_regression): Add a crapload of debugging. Subtract off
8777         the minimum values from the input series to discard unneeded bits.
8778         Use only int arithmetic. There is still double arithmetic when
8779         calculating the intercept that needs fixing. Return boolean to
8780         indicate success; FALSE would mean the domain or range is too
8781         great. Still needs fixes.
8782
8783 2005-11-18  Wim Taymans  <wim@fluendo.com>
8784
8785         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8786         For the current position in stream time, we need to subtract
8787         accumulated time.
8788         
8789         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8790         Release lock before calling the callback function of async
8791         entries.
8792
8793 2005-11-18  Andy Wingo  <wingo@pobox.com>
8794
8795         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8796         Port goes all the way to MAXUINT16.
8797
8798         * gst/net/gstnettimeprovider.c: Make the port range the same as
8799         for the kernel: 0 assigns, otherwise ports are less than
8800         MAXUINT16.
8801
8802         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8803         port change.
8804
8805         * check/net/gstnetclientclock.c (test_functioning): Add the start
8806         of another test. 
8807
8808 2005-11-18  Wim Taymans  <wim@fluendo.com>
8809
8810         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8811         (gst_bin_remove_func), (bin_bus_handler):
8812         * gst/gstbin.h:
8813         Removing a clock provider from a bin, triggers a clock lost message
8814         so that a new clock will be selected.
8815         Adding a clock to a bin triggers a clock provider message.
8816         Make sure we reselect a clock when we received a clock lost message.
8817         Keep a reference to the element that provided the clock.
8818
8819 2005-11-18  Andy Wingo  <wingo@pobox.com>
8820
8821         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8822         the clock initially so it produces values around the base time.
8823         (gst_net_client_clock_class_init): Typo fix.
8824         (gst_net_client_clock_thread): Add note on when the socket gets
8825         closed.
8826
8827 2005-11-17  Wim Taymans  <wim@fluendo.com>
8828
8829         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8830         Free remote and local time arrays.
8831
8832 2005-11-17  Wim Taymans  <wim@fluendo.com>
8833
8834         * gst/net/gstnetclientclock.c: (do_linear_regression),
8835         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8836         Fix compilation, uninitialized vars and a forgotten continue.
8837
8838 2005-11-17  Andy Wingo  <wingo@pobox.com>
8839
8840         * check/Makefile.am (check_PROGRAMS): 
8841         * check/net/gstnetclientclock.c: Add a most minimal test for the
8842         net client clock. More to come later.
8843
8844         * gst/net/gstnet.h: 
8845         * gst/net/Makefile.am: Add netclientclock.
8846
8847         * gst/net/gstnetclientclock.h:
8848         * gst/net/gstnetclientclock.c: New files, implement an untested
8849         GstClock that takes its time from a network time provider.
8850         Implements the algorithm in network-clock.scm.
8851
8852         * tests/network-clock.scm (*window-size*): Rename from
8853         *queue-length*.
8854         * tests/network-clock.scm (network-time): 
8855         * tests/network-clock-utils.scm (q-push): Update callers.
8856
8857 2005-11-17  Wim Taymans  <wim@fluendo.com>
8858
8859         * gst/gstbin.c: (gst_bin_provide_clock_func),
8860         (gst_bin_sort_iterator_new):
8861         And unref the child too..
8862
8863 2005-11-17  Wim Taymans  <wim@fluendo.com>
8864
8865         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8866         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8867         Refactor the sort iterator so it can be used while holding the
8868         LOCK too.
8869         Make clock selection select a clock closest to the source.
8870
8871 2005-11-17  Michael Smith <msmith@fluendo.com>
8872
8873         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8874         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8875         * gst/gstclock.h:
8876           Anonymous structs are a gcc (and some other compilers) extension, so
8877           don't use them. Since this is only for ABI-compatibility, and our
8878           API/ABI freeze is over in a few days, this whole thing will only
8879           last a few days, so don't bother trying to think up a meaningful
8880           name for the struct.
8881
8882 2005-11-17  Andy Wingo  <wingo@pobox.com>
8883
8884         * gst/gstclock.h (GstClock): Add rate and offset properties,
8885         preserving ABI stability. Add rate/offset accessors. Will file bug
8886         for the freeze break.
8887
8888         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8889         and offset, trying to keep precision and avoiding
8890         underflow/overflow.
8891         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8892         functions. Make gst_clock_set_time_adjust obsolete.
8893         (gst_clock_set_time_adjust): Note that this function is obsolete.
8894         Will file bug soon.
8895
8896         * gst/base/gstbasetransform.h: Make the ABI-stability hack
8897         greppable by using GST_PADDING-1+1.
8898
8899 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
8900
8901         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8902
8903         * gst/gstmessage.c: (gst_message_parse_clock_lost):
8904           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8905
8906         * gst/gstpadtemplate.h:
8907         * gst/gstpluginfeature.h:
8908           Don't use c++ style comments in headers (#321638).
8909
8910 2005-11-16  Andy Wingo  <wingo@pobox.com>
8911
8912         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8913         buffer.
8914
8915         * check/net/gstnettimeprovider.c: Check to see that the time
8916         provider actually provides times. Works, yo!
8917
8918 2005-11-16  Wim Taymans  <wim@fluendo.com>
8919
8920         * check/Makefile.am:
8921         Enable more tests.
8922
8923         * check/elements/fakesrc.c: (GST_START_TEST):
8924         Set element to NULL before disposing it.
8925
8926 2005-11-16  Andy Wingo  <wingo@pobox.com>
8927
8928         * gst/net/Makefile.am:
8929         * gst/net/gstnet.h:
8930         * gst/net/gstnettimeprovider.c: 
8931         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8932         provider, include it from gstnet.h, and add it to the build.
8933
8934         * gst/net/gstnettimepacket.h: 
8935         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8936         sending and receiving.
8937
8938 2005-11-16  Wim Taymans  <wim@fluendo.com>
8939
8940         * check/Makefile.am:
8941         Enable valgrind check.
8942
8943         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8944         (gst_fake_src_alloc_buffer):
8945         Fix memleak.
8946
8947 2005-11-16  Wim Taymans  <wim@fluendo.com>
8948
8949         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8950         Call parent finalize too.
8951
8952 2005-11-16  Wim Taymans  <wim@fluendo.com>
8953
8954         * check/Makefile.am:
8955         Enable valgrind check that should work fine now.
8956
8957         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8958         * gst/gstqueue.c: (gst_queue_init):
8959         Fix memleaks in pad allocation.
8960
8961 2005-11-16  Andy Wingo  <wingo@pobox.com>
8962
8963         * gst/net/Makefile.am:
8964         * gst/net/gstnet.h: New part of core to hold network elements and
8965         objects. Put in core because it exposes API that applications want
8966         to use. The library is named libgstnet-tempname right now because
8967         of the existing libgstnet in gst-plugins-base. Solution is
8968         probably to rename the one in plugins-base; will file a bug for
8969         the freeze break.
8970
8971         * gst/net/gstnettimeprovider.c: 
8972         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8973         get_time call over the network.
8974
8975         * configure.ac: 
8976         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8977
8978         * check/Makefile.am:
8979         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8980         get additions shortly.
8981
8982 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8983
8984         * gst/gstpad.c: (gst_pad_new_from_static_template):
8985         * gst/gstpad.h:
8986           add gst_pad_new_from_static_template functions
8987         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8988         (gst_check_setup_sink_pad):
8989         * gst/elements/gsttee.c: (gst_tee_init):
8990           and use them
8991
8992 2005-11-16  Wim Taymans  <wim@fluendo.com>
8993
8994         * gst/gstpad.c: (gst_pad_pause_task):
8995         Removed warning, it's not really an error either.
8996
8997 2005-11-16  Wim Taymans  <wim@fluendo.com>
8998
8999         * gst/base/gstbasetransform.c:
9000         (gst_base_transform_prepare_output_buf),
9001         (gst_base_transform_event):
9002         Check if the caps are NULL, this can happen if the element
9003         is shutting down and the pad caps are set to NULL.
9004
9005 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9006
9007         * gst/elements/gsttee.c: (gst_tee_init):
9008           fix pad template leak in tee
9009
9010 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9011
9012         * gst/glib-compat.c: (g_value_dup_gst_object):
9013         * gst/glib-compat.h:
9014         * gst/gstpad.c: (gst_pad_set_property):
9015           use gst_object_ref when setting the pad template; this will
9016           trigger the pad template leaks on GLib 2.6 and the slaves
9017
9018 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9019
9020         * gst/glib-compat.c: (gst_flags_get_first_value):
9021         * gst/glib-compat.h:
9022         * gst/gstregistryxml.c:
9023           remove functions copied from GLib 2.6
9024
9025 2005-11-16  Michael Smith <msmith@fluendo.com>
9026
9027         * gst/Makefile.am:
9028           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9029           do, but only breaks with newer valgrind versions. We're not a
9030           valgrind tool, we have no link-time dependencies on libcoregrind.
9031
9032 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9033
9034         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9035           some debug changes
9036         * gst/gstmessage.h:
9037           typo fixes
9038
9039 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9040
9041         * gst/base/gstbasesrc.c: (gst_base_src_init):
9042         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9043         * gst/gstqueue.c: (gst_queue_init):
9044         * gst/gstregistryxml.c: (load_feature):
9045           Revert all these unrefs, they don't even pass make check !
9046
9047 2005-11-15  Johan Dahlin  <johan@gnome.org>
9048
9049         * gst/base/gstbasesrc.c: (gst_base_src_init):
9050         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9051         * gst/gstqueue.c: (gst_queue_init): 
9052         Free pad templates, fixes a couple of leaks.
9053
9054 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9055
9056         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9057
9058         * gst/gstpad.c: (gst_pad_get_property):
9059           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9060           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9061           (#321452)
9062
9063 2005-11-15  Wim Taymans  <wim@fluendo.com>
9064
9065         * gst/gstevent.c:
9066         Small doc update.
9067
9068 2005-11-15  Andy Wingo  <wingo@pobox.com>
9069
9070         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9071
9072         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9073         using GST_CLOCK_TIME_NONE to disable base time management.
9074         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9075         time if it was NONE before.
9076         (gst_pipeline_change_state): Only munge the base time if
9077         stream_time != GST_CLOCK_TIME_NONE.
9078
9079         * check/gst/gstpipeline.c (test_base_time): Punt around the
9080         problem of the probe not being called, because that's not the
9081         issue I'm looking at. Add a check that setting stream_time to NONE
9082         disables base time management.
9083         
9084 2005-11-15  Wim Taymans  <wim@fluendo.com>
9085
9086         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9087         segment_stop == -1 at startup.
9088
9089         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9090         (gst_base_transform_change_state):
9091         Init segment values at start.
9092
9093 2005-11-15  Wim Taymans  <wim@fluendo.com>
9094
9095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9096         0 segment values are 0 in any format.
9097
9098         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9099         * gst/base/gstbasetransform.h:
9100         Parse newsegment correctly in basetransform
9101
9102         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9103         Sync to clock using updated segment values.
9104
9105 2005-11-15  Andy Wingo  <wingo@pobox.com>
9106
9107         * check/gst/gstpipeline.c (test_base_time): Add check that the
9108         base time and stream time are reset correctly.
9109
9110 2005-11-15  Wim Taymans  <wim@fluendo.com>
9111
9112         * docs/design/part-TODO.txt:
9113         Some more TODO items.
9114
9115 2005-11-15  Andy Wingo  <wingo@pobox.com>
9116
9117         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9118         error if the user selected "no clock" as the clocking method.
9119
9120         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9121         timestamps with live capture.
9122
9123         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9124         is 0 but we are a live source, timestamp the buffers using the
9125         element's clock.
9126
9127 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9128
9129         * docs/gst/gstreamer-sections.txt:
9130         * gst/gsterror.c:
9131         * gst/gstghostpad.c:
9132         * gst/gstobject.h:
9133         * gst/gstxml.c:
9134           more section docs
9135
9136 2005-11-14  Wim Taymans  <wim@fluendo.com>
9137
9138         * common/gst.supp:
9139           add suppressions from Wim's Debian machine
9140
9141 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9142
9143         * common/gst.supp:
9144           add suppressions from Andy's AMD64 Ubuntu machine
9145
9146 2005-11-14  Andy Wingo  <wingo@pobox.com>
9147
9148         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9149         STATE_LOCK not necessary. Fixes #311489.
9150
9151         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9152         #305291.
9153
9154         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9155         this function is not implemented.
9156
9157 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9158
9159         * gst/base/gstbasetransform.c:
9160         (gst_base_transform_prepare_output_buf):
9161         Ref the source pad caps while we need them.
9162         Fixes (#321386)
9163
9164 2005-11-11  Wim Taymans  <wim@fluendo.com>
9165
9166         * docs/gst/gstreamer-sections.txt:
9167         Added some docs for GstCollectData.
9168
9169         * gst/base/gstadapter.c:
9170         Some small code example fix.
9171
9172         * gst/base/gstcollectpads.c:
9173         * gst/base/gstcollectpads.h:
9174         Document some more.
9175
9176 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9177
9178         * configure.ac: back to HEAD
9179
9180 === release 0.9.5 ===
9181
9182 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9183
9184         * configure.ac:
9185           releasing 0.9.5, "Bike Lunch Day"
9186
9187 2005-11-11  Wim Taymans  <wim@fluendo.com>
9188
9189         * gst/gstbuffer.c: (_gst_buffer_copy):
9190         Copy more flags.
9191
9192         * gst/gstcaps.c: (gst_caps_is_equal):
9193         Fix some docs.
9194         Make _is_equal fast in the trivial cases.
9195
9196         * gst/gstminiobject.c:
9197         * gst/gstminiobject.h:
9198         More docs. Spifify .h file.
9199
9200         * gst/gstutils.c:
9201         Small doc update.
9202
9203 2005-11-11  Wim Taymans  <wim@fluendo.com>
9204
9205         * gst/base/gstbasetransform.c:
9206         (gst_base_transform_prepare_output_buf),
9207         (gst_base_transform_handle_buffer):
9208         Small cleanups.
9209         If we're processing a buffer and need to allocate an output
9210         buffer, we cannot accept a format change. If we did get a 
9211         format change, we have to alloc a buffer ourselves of the 
9212         right size.
9213
9214 2005-11-11  Wim Taymans  <wim@fluendo.com>
9215
9216         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9217         While checking the flag for reentrancy in the gstcaps function
9218         is nice to detect recursive invocations, it also makes it 
9219         impossible to call getcaps from multiple threads, which must be
9220         possible. So, checking for recursive calls has to go.
9221
9222 2005-11-11  Michael Smith <msmith@fluendo.com>
9223
9224         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9225           Don't sync on buffers that fall partially outside our current
9226           segment. Prevents an assertion failure/abort playing some files.
9227
9228 2005-11-10  Andy Wingo  <wingo@pobox.com>
9229
9230         * check/gst/gstbin.c (test_message_state_changed_children): Style
9231         fix..
9232
9233         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9234         gst_bus_poll with the signal watch. Ensures that poll and a signal
9235         watch see the same messages.
9236
9237         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9238         a poll and a watch at the same time get the same messages.
9239
9240 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9241
9242         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9243         * gst/gstcaps.c: (gst_caps_intersect):
9244           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9245           and it's not needed.
9246
9247 2005-11-10  Wim Taymans  <wim@fluendo.com>
9248
9249         * docs/design/part-TODO.txt:
9250         Updated todo.
9251
9252 2005-11-10  Wim Taymans  <wim@fluendo.com>
9253
9254         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9255         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9256         (gst_base_src_do_sync), (gst_base_src_get_range):
9257         Implement clock sync in base class.
9258
9259 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9260
9261         patch by: Tim-Philipp Müller <tim at centricular dot net>
9262
9263         * gst/gststructure.c: (gst_structure_parse_field),
9264         (gst_structure_from_string):
9265           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9266           so that gst_parse_launch() can deal with spaces in filtered link
9267           caps (fixes #164479)
9268         * check/gst/capslist.h:
9269         * check/gst/gststructure.c: (GST_START_TEST):
9270           add unit tests for this change
9271
9272 2005-11-10  Wim Taymans  <wim@fluendo.com>
9273
9274         * docs/gst/gstreamer-sections.txt:
9275         * gst/gstelement.c:
9276         * gst/gstelement.h:
9277         Fix docs, move some STATE macros to private.
9278
9279 2005-11-10  Wim Taymans  <wim@fluendo.com>
9280
9281         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9282         Added check for bug #317341
9283
9284         * gst/gstbuffer.c:
9285         * gst/gstbuffer.h:
9286         Some more spiffifying.
9287
9288         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9289         Call peer linkfunction if we are a source pad. Totally fixes
9290         #317341
9291
9292         * gst/gstpad.c:
9293         Update docs, source pads should call the peer linkfunction
9294         so they can atomically perform the pad link.
9295
9296 2005-11-09  Wim Taymans  <wim@fluendo.com>
9297
9298         * gst/gstbuffer.c:
9299         * gst/gstbuffer.h:
9300         Uber-spiffy-spiffify some more.
9301
9302 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9303
9304         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9305         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9306         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9307         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9308         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9309         * gst/gstpad.c: (gst_pad_init):
9310           Use GST_DEBUG_FUNCPTR() more extensively.
9311
9312 2005-11-09  Wim Taymans  <wim@fluendo.com>
9313
9314         * gst/gstobject.c: (gst_object_class_init):
9315         * gst/gstobject.h:
9316         Documentation fixes.
9317
9318 2005-11-09  Edward Hervey  <edward@fluendo.com>
9319
9320         * gst/gsttypefindfactory.c:
9321         Fix docs.
9322         
9323 2005-11-09  Edward Hervey  <edward@fluendo.com>
9324
9325         * gst/base/gsttypefindhelper.c:
9326         * gst/gsttypefind.c:
9327         * gst/gsttypefind.h:
9328         Fix docs.
9329
9330 2005-11-09  Wim Taymans  <wim@fluendo.com>
9331
9332         * gst/gstiterator.c:
9333         Fix revision data.
9334
9335         * gst/gsttask.c:
9336         * gst/gsttask.h:
9337         Fix docs.
9338
9339 2005-11-09  Wim Taymans  <wim@fluendo.com>
9340
9341         * gst/gstevent.h:
9342         * gst/gsturi.h:
9343         Fix docs.
9344
9345 2005-11-09  Wim Taymans  <wim@fluendo.com>
9346
9347         * docs/gst/gstreamer-sections.txt:
9348         Moved the message async delivery private lock and cond
9349         to the private section.
9350
9351         * gst/gstmessage.c:
9352         * gst/gstmessage.h:
9353         Fixed docs.
9354
9355 2005-11-09  Edward Hervey  <edward@fluendo.com>
9356
9357         * docs/gst/gstreamer-sections.txt:
9358         * gst/gsturi.c:
9359         * gst/gsturi.h:
9360         Document GstURIHandler
9361
9362 2005-11-09  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9365         (gst_iterator_find_custom):
9366         * gst/gstiterator.h:
9367         Fix iterator docs.
9368
9369 2005-11-09  Wim Taymans  <wim@fluendo.com>
9370
9371         * gst/gstbin.h:
9372         Document another field.
9373
9374         * gst/gststructure.c:
9375         * gst/gststructure.h:
9376         Document.
9377
9378 2005-11-09  Wim Taymans  <wim@fluendo.com>
9379
9380         * gst/gstbin.h:
9381         Documented structs.
9382
9383 2005-11-09  Wim Taymans  <wim@fluendo.com>
9384
9385         * docs/gst/gstreamer-sections.txt:
9386         Added some new macros.
9387
9388         * gst/gstclock.c:
9389         * gst/gstclock.h:
9390         * gst/gstobject.h:
9391         Docs updates.
9392
9393 2005-11-09  Wim Taymans  <wim@fluendo.com>
9394
9395         * docs/design/part-TODO.txt:
9396         Some more items for the TODO
9397
9398         * gst/gstcaps.c:
9399         * gst/gstcaps.h:
9400         Document GstCaps.
9401
9402 2005-11-09  Andy Wingo  <wingo@pobox.com>
9403
9404         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9405         to work on something else now tho...
9406
9407         * gst/base/gstadapter.c: More adapter docs.
9408
9409         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9410         (gst_file_sink_stop): New functions, replace the state change
9411         handler.
9412         (gst_file_sink_class_init): Hook up the start and stop functions.
9413         (gst_file_sink_base_init): Don't set the state change handler any
9414         more. It was a bit ugly too, being set from here...
9415         (gst_file_sink_get_property, gst_file_sink_set_property):
9416         Cleanups...
9417         (gst_file_sink_set_location): More robust check that doesn't call
9418         GST_STATE. Ugggggg.
9419
9420 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9421
9422         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9423           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9424
9425 2005-11-08  Wim Taymans  <wim@fluendo.com>
9426
9427         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9428         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9429         (gst_base_sink_chain), (gst_base_sink_change_state):
9430         * gst/base/gstbasesink.h:
9431         * gst/base/gstbasesrc.h:
9432         * gst/gstelement.h:
9433         * gst/gstevent.h:
9434         Avoid excessive typechecking in macros.
9435
9436         * gst/gstminiobject.c: (gst_mini_object_get_type),
9437         (gst_mini_object_init), (gst_mini_object_new),
9438         (gst_mini_object_free):
9439         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9440         (gst_object_finalize):
9441         Remove cruft code, optimize alloc_trace.
9442
9443 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9444
9445         * docs/faq/gst-uninstalled:
9446           fix up PS1 for systems that try to reset it
9447
9448 2005-11-07  Wim Taymans  <wim@fluendo.com>
9449
9450         * gst/base/gstbasesrc.c: (gst_base_src_init),
9451         (gst_base_src_get_range):
9452         Set the segment_end to -1 initially. Fixed typefind.
9453
9454 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9455
9456         * gst/base/gstadapter.c:
9457           Debug category should be 'adapter', not 'GstAdapter'.
9458           
9459         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9460         (gst_collectpads_class_init), (gst_collectpads_init),
9461         (gst_collectpads_peek), (gst_collectpads_pop),
9462         (gst_collectpads_event), (gst_collectpads_chain):
9463           Add debug category and some debugging output. Use boilerplate
9464           macros. Remove some extraneous words from docs.
9465
9466 2005-11-05  Andy Wingo  <wingo@pobox.com>
9467
9468         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9469         macro.
9470
9471 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9472
9473         * docs/gst/gstreamer-sections.txt:
9474         * gst/gstcaps.h:
9475         * gst/gstinfo.c:
9476         * gst/gstminiobject.h:
9477         * gst/gstobject.h:
9478         * gst/gstutils.h:
9479           more docs added
9480
9481 2005-11-04  Wim Taymans  <wim@fluendo.com>
9482
9483         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9484         Small update to stop at the configured segment_end
9485         position.
9486
9487 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9488
9489         * gst/gstregistry.c:
9490         * gst/gstregistry.h:
9491           added missing docs
9492
9493 2005-11-04  Edward Hervey  <edward@fluendo.com>
9494
9495         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9496         Check if we are doing a segment seek and have arrived at the
9497         end of that segment.
9498
9499 2005-11-04  Wim Taymans  <wim@fluendo.com>
9500
9501         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9502         Don't leak a mutex unlock in case of an error.
9503
9504         * gst/gstbus.h:
9505         Doc fixes.
9506
9507 2005-11-04  Wim Taymans  <wim@fluendo.com>
9508
9509         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9510         (gst_bus_post):
9511         Get the context to wake up only once.
9512
9513 2005-11-03  Wim Taymans  <wim@fluendo.com>
9514
9515         * check/states/sinks.c: (GST_START_TEST):
9516         Uncomment fixed check.
9517
9518         * docs/design/part-TODO.txt:
9519         Updated TODO.
9520
9521         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9522         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9523         (gst_base_sink_get_position):
9524         If we are going to PLAYING, post the right pending state
9525         when we post the intermediate paused message.
9526
9527         * gst/gstelement.c: (gst_element_continue_state),
9528         (gst_element_set_state_func), (gst_element_change_state):
9529         Don't post state changes that were between the same state
9530         and were not ASYNC.
9531
9532 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9533
9534         * docs/gst/gstreamer-sections.txt:
9535         * gst/gstcaps.h:
9536         * gst/gstinfo.c:
9537         * gst/gstminiobject.h:
9538         * gst/gstobject.h:
9539         * gst/gstutils.h:
9540           more docs and doc style fixes
9541
9542 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9543
9544         * docs/gst/gstreamer-sections.txt:
9545         * gst/gstelement.c:
9546         * gst/gstminiobject.c:
9547         doc fixes
9548
9549 2005-11-03  Andy Wingo  <wingo@pobox.com>
9550
9551         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9552         state-changed messages actually have the right order and the right
9553         values.
9554
9555 2005-11-03  Wim Taymans  <wim@fluendo.com>
9556
9557         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9558         Added some more checks. Specifically the case where NO_PREROLL
9559         elements are in the pipeline.
9560
9561         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9562         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9563         (gst_base_sink_get_position):
9564         Post READY->PAUSED state change messages too.
9565         Fix bug where VOID was posted as pending state...
9566
9567         * gst/gstbin.c: (gst_bin_recalc_state):
9568         use _element_continue_state() to continue the state change.
9569
9570         * gst/gstelement.c: (gst_element_continue_state),
9571         (gst_element_commit_state), (gst_element_set_state_func),
9572         (gst_element_change_state), (gst_element_change_state_func):
9573         Lots of state change cleanups, assign the STATE_RETURN in
9574         a new continue_state() function that also propagates the
9575         last return value from a state change to the app.
9576         Update some debug statements with proper category.
9577
9578 2005-11-03  Wim Taymans  <wim@fluendo.com>
9579
9580         * docs/design/part-events.txt:
9581         * docs/design/part-gstpipeline.txt:
9582         * docs/design/part-messages.txt:
9583         * docs/design/part-overview.txt:
9584         * docs/design/part-seeking.txt:
9585         * docs/design/part-states.txt:
9586         * docs/design/part-trickmodes.txt:
9587         * docs/manual/advanced-position.xml:
9588         Small docs updates.
9589
9590         * gst/gstobject.h:
9591         People think !! is ugly, this looks better.
9592
9593         * gst/gstpad.c: (gst_pad_set_blocked_async):
9594         Remove !! since it's fixed elsewhere now.
9595
9596 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * gst/gstminiobject.h:
9599         * gst/gstobject.h:
9600           Add !! to _FLAG_IS_SET macros to make the result boolean.
9601
9602 2005-11-03  Edward Hervey  <edward@fluendo.com>
9603
9604         * gst/gstpad.c: (gst_pad_set_blocked_async):
9605         comparing a flag and a gboolean rarely returns coherent results...
9606         Added two characters (!!) to make that work correctly.
9607         
9608 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         * gst/gstbus.c: (gst_bus_class_init):
9611           Fix some typos.
9612           
9613         * gst/gstqueue.c: (gst_queue_loop):
9614           Don't assume a miniobject that isn't a buffer is an
9615           event (it could be that there is a refcounting
9616           problem somewhere and the pointer is stale and
9617           refers to an already destroyed miniobject).
9618
9619 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9620
9621         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9622
9623 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9624
9625         * docs/manual/advanced-position.xml:
9626           Update seek example and explanations to current 0.9 API.
9627
9628         * gst/elements/gsttypefindelement.c:
9629         (gst_type_find_element_activate):
9630           Remove FIXME comment now that the found caps
9631           are unreffed.
9632
9633 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9634
9635         * gst/gstregistryxml.c: (load_feature):
9636           Add another GST_STR_NULL instance
9637
9638 2005-11-02  Edward Hervey  <edward@fluendo.com>
9639
9640         * gst/gstpad.c: (handle_pad_block):
9641         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9642         
9643 2005-11-02  Wim Taymans  <wim@fluendo.com>
9644
9645         * gst/gstbin.c:
9646         Fix typo in docs.
9647
9648         * gst/gstelement.c: (gst_element_commit_state):
9649         Remove unused value.
9650
9651         * gst/gstiterator.c:
9652         Mention that the returned element is reffed in the docs.
9653
9654 2005-11-02  Wim Taymans  <wim@fluendo.com>
9655
9656         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9657         (gst_pad_push), (gst_pad_push_event):
9658         Unlock blocked pads when they are flushed.
9659
9660 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * docs/README:
9663         * docs/gst/gstreamer-sections.txt:
9664         * gst/gstbin.c:
9665           doc updates
9666         * gst/gstregistry.c: (gst_registry_scan_path_level):
9667           fix for a nasty little missed situation where an installed plug-in
9668           which was in the cache did not get overridden by an uninstalled one
9669           which was earlier in the plugin path because the newly created plugin
9670           for the uninstalled one (not in the registry) didn't get its
9671           ->registered set to TRUE
9672
9673 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9676         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9677         (gst_collectpads_is_active), (gst_collectpads_collect),
9678         (gst_collectpads_collect_range), (gst_collectpads_start),
9679         (gst_collectpads_stop), (gst_collectpads_peek),
9680         (gst_collectpads_pop), (gst_collectpads_available),
9681         (gst_collectpads_read), (gst_collectpads_flush):
9682           Guard public API with assertions.
9683         
9684         * gst/gstpad.c:
9685           Fix docs for gst_pad_set_link_function().
9686
9687 2005-11-02  Johan Dahlin  <johan@gnome.org>
9688
9689         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9690         Unref found_caps after we used it.
9691
9692 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9693
9694         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9695           Don't try to ref NULL.
9696
9697 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9698
9699         * win32/common/config.h.in:
9700           provide a GST_FUNCTION that just gives a string for now
9701
9702 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9703
9704         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9705         (gst_object_flags_get_type), (register_gst_bin_flags),
9706         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9707         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9708         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9709         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9710         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9711         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9712         (gst_clock_flags_get_type), (register_gst_state),
9713         (gst_state_get_type), (register_gst_state_change_return),
9714         (gst_state_change_return_get_type), (register_gst_state_change),
9715         (gst_state_change_get_type), (register_gst_element_flags),
9716         (gst_element_flags_get_type), (register_gst_core_error),
9717         (gst_core_error_get_type), (register_gst_library_error),
9718         (gst_library_error_get_type), (register_gst_resource_error),
9719         (gst_resource_error_get_type), (register_gst_stream_error),
9720         (gst_stream_error_get_type), (register_gst_event_type),
9721         (gst_event_type_get_type), (register_gst_seek_type),
9722         (gst_seek_type_get_type), (register_gst_seek_flags),
9723         (gst_seek_flags_get_type), (register_gst_format),
9724         (gst_format_get_type), (register_gst_index_certainty),
9725         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9726         (gst_index_entry_type_get_type),
9727         (register_gst_index_lookup_method),
9728         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9729         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9730         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9731         (gst_index_flags_get_type), (register_gst_debug_level),
9732         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9733         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9734         (gst_iterator_result_get_type), (register_gst_iterator_item),
9735         (gst_iterator_item_get_type), (register_gst_message_type),
9736         (gst_message_type_get_type), (register_gst_mini_object_flags),
9737         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9738         (gst_pad_link_return_get_type), (register_gst_flow_return),
9739         (gst_flow_return_get_type), (register_gst_activate_mode),
9740         (gst_activate_mode_get_type), (register_gst_pad_direction),
9741         (gst_pad_direction_get_type), (register_gst_pad_flags),
9742         (gst_pad_flags_get_type), (register_gst_pad_presence),
9743         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9744         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9745         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9746         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9747         (gst_plugin_flags_get_type), (register_gst_rank),
9748         (gst_rank_get_type), (register_gst_query_type),
9749         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9750         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9751         (gst_tag_flag_get_type), (register_gst_task_state),
9752         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9753         (gst_alloc_trace_flags_get_type),
9754         (register_gst_type_find_probability),
9755         (gst_type_find_probability_get_type), (register_gst_uri_type),
9756         (gst_uri_type_get_type), (register_gst_parse_error),
9757         (gst_parse_error_get_type):
9758         * win32/common/gstversion.h:
9759           update win32 copies
9760
9761 2005-11-01  Luca Ognibene  <luogni@tin.it>
9762
9763         * gst/gst.c:
9764           fix docs. popt is dead, long live GOption.
9765
9766 2005-10-31  Wim Taymans  <wim@fluendo.com>
9767
9768         * gst/gstbuffer.h:
9769         Small doc fix.
9770
9771 2005-10-31  Andy Wingo  <wingo@pobox.com>
9772
9773         * Boo!
9774
9775         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9776
9777         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9778         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9779         the possibility of deadlocks here if code calling notify() or
9780         set() has a lock that can be taken in another notify handler (ABBA
9781         with class lock and e.g. python GIL state lock).
9782
9783 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9784
9785         * gst/gstbus.c: Doc updates.
9786
9787 2005-10-28  Wim Taymans  <wim@fluendo.com>
9788
9789         * docs/design/part-TODO.txt:
9790         * gst/gstiterator.c:
9791         * gst/gstsystemclock.c:
9792         * gst/gstsystemclock.h:
9793         Doc updates.
9794
9795 2005-10-28  Edward Hervey  <edward@fluendo.com>
9796
9797         * docs/gst/gstreamer-docs.sgml:
9798         * docs/gst/gstreamer-sections.txt:
9799         the GstURIType documentation page is private, it only defines GstURIType
9800         which should be defined in the GstURIHandler page
9801         
9802 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9803
9804         * gst/gstbin.c: (gst_bin_class_init):
9805         * gst/gstbin.h:
9806         * gst/gstutils.c:
9807         Documentation updates.
9808
9809 2005-10-28  Wim Taymans  <wim@fluendo.com>
9810
9811         * docs/gst/gstreamer-sections.txt:
9812         * gst/gstclock.c:
9813         * gst/gstclock.h:
9814         Documented the clocks.
9815
9816 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9817
9818         * docs/gst/gstreamer-sections.txt:
9819           move some macros to private sections
9820         * gst/gstminiobject.c:
9821         * gst/gstminiobject.h:
9822           add descriptions provided by ds and some more
9823         * gst/gstpad.h:
9824           mark macro as to be removed
9825
9826 2005-10-28  Wim Taymans  <wim@fluendo.com>
9827
9828         * docs/design/part-TODO.txt:
9829         Add an item to TODO.
9830
9831         * gst/gstiterator.c: (gst_iterator_fold),
9832         (gst_iterator_find_custom):
9833         * gst/gstiterator.h:
9834         Add iterator docs.
9835
9836 2005-10-28  Wim Taymans  <wim@fluendo.com>
9837
9838         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9839         (gst_base_transform_init):
9840         Don't leak class.
9841
9842         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9843         An EOS event marks the queue as completely filled.
9844
9845 2005-10-27  Wim Taymans  <wim@fluendo.com>
9846
9847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9848         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9849         Some more debugging.
9850
9851         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9852         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9853         (gst_base_transform_event), (gst_base_transform_getrange),
9854         (gst_base_transform_chain):
9855         * gst/base/gstbasetransform.h:
9856         Fix debugging,
9857         Protect transform and concurrent buffer alloc with a new lock.
9858         Try not to break ABI/API.
9859
9860 2005-10-27  Wim Taymans  <wim@fluendo.com>
9861
9862         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9863         (gst_base_src_init), (gst_base_src_query),
9864         (gst_base_src_default_newsegment),
9865         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9866         (gst_base_src_send_event), (gst_base_src_event_handler),
9867         (gst_base_src_pad_get_range), (gst_base_src_loop),
9868         (gst_base_src_unlock), (gst_base_src_default_negotiate),
9869         (gst_base_src_start), (gst_base_src_deactivate),
9870         (gst_base_src_activate_push), (gst_base_src_change_state):
9871         Move some stuff around and cleanup things.
9872
9873 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
9874
9875         * gst/base/gstbasesrc.c: (gst_base_src_query):
9876           Add missing break statements.
9877
9878 2005-10-27  Wim Taymans  <wim@fluendo.com>
9879
9880         * check/gst/gstbin.c: (GST_START_TEST):
9881         An extra refcount is taken in basesrc.
9882
9883         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9884         (gst_base_src_get_range), (gst_base_src_pad_get_range),
9885         (gst_base_src_loop):
9886         Small cleanups, check for flushing after being unlocked from the 
9887         LIVE_LOCK. take refcounts correctly (not yet everywhere).
9888         Don't send out EOS when going to READY.
9889
9890 2005-10-27  Wim Taymans  <wim@fluendo.com>
9891
9892         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9893         (gst_base_sink_get_position):
9894         Some more debug.
9895
9896         * gst/gstbin.c: (message_check), (bin_replace_message),
9897         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9898         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9899         (bin_query_duration_init), (bin_query_duration_fold),
9900         (bin_query_duration_done), (bin_query_generic_fold),
9901         (gst_bin_query):
9902         * tools/gst-launch.c: (main):
9903         Remove old option.
9904
9905 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
9906
9907         * examples/controller/audio-example.c: (main):
9908         * examples/queue/queue.c: (event_loop):
9909         * gst/base/gstbasetransform.h:
9910         * gst/gstelement.c: (gst_element_send_event):
9911         * gst/gstevent.h:
9912         * gst/gstpad.c: (gst_pad_send_event):
9913           fixing examples
9914           fixing docs typos
9915           changing log priority in error situations
9916
9917 2005-10-25  Wim Taymans  <wim@fluendo.com>
9918
9919         * gst/gstbin.c: (message_check), (bin_replace_message),
9920         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9921         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9922         (bin_query_duration_init), (bin_query_duration_fold),
9923         (bin_query_duration_done), (bin_query_generic_fold),
9924         (gst_bin_query):
9925         Some doc and debug updates.
9926         Cache previously requested query DURATION for speed. invalidate
9927         cached duration if element posts a DURATION message.
9928
9929 2005-10-25  Wim Taymans  <wim@fluendo.com>
9930
9931         * docs/design/part-TODO.txt:
9932         Update TODO.
9933
9934         * gst/gstbin.c: (message_check), (bin_replace_message),
9935         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9936         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9937         (bin_query_duration_init), (bin_query_duration_fold),
9938         (bin_query_duration_done), (bin_query_generic_fold),
9939         (gst_bin_query):
9940         Handle SEGMENT_START/DONE messages correctly.
9941         More evolved query algorithm that handles duration queries
9942         correctly.
9943
9944         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9945         (gst_element_get_state_func), (gst_element_abort_state),
9946         (gst_element_commit_state), (gst_element_lost_state):
9947         Some more debugging.
9948
9949         * gst/gstmessage.h:
9950         Added doc.
9951
9952 2005-10-25  Wim Taymans  <wim@fluendo.com>
9953
9954         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9955         Don't use invalid stream_time.
9956
9957         * gst/gstevent.c: (gst_event_new_newsegment):
9958         stream_time in newsegment cannot be undefined.
9959
9960 2005-10-24  Wim Taymans  <wim@fluendo.com>
9961
9962         * gst/gstbus.c:
9963         Doc fix.
9964
9965         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9966         (gst_queue_loop):
9967         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9968
9969 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
9970
9971         * docs/libs/tmpl/gstdparam.sgml:
9972         * docs/libs/tmpl/gstdplinint.sgml:
9973         * docs/libs/tmpl/gstdpman.sgml:
9974         * docs/libs/tmpl/gstdpsmooth.sgml:
9975         * docs/libs/tmpl/gstunitconvert.sgml:
9976           these are obsolete
9977
9978 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9979
9980         * configure.ac:
9981           back to HEAD
9982
9983 === release 0.9.4 ===
9984
9985 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9986
9987         * configure.ac:
9988           releasing 0.9.4, "Tyrannosaurus Rex"
9989
9990 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9993         (gst_file_sink_get_current_offset):
9994           Use fseeko() and ftello() if available. When falling back on
9995           lseek() to get the current offset, fflush() first to make sure
9996           everything is up-to-date and we get the right offset.
9997
9998 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9999
10000         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10001         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10002         * gst/gsterror.c: (_gst_stream_errors_init):
10003         * gst/gsterror.h:
10004         * gst/gstqueue.c: (gst_queue_loop):
10005         * po/POTFILES.in:
10006           remove prematurely added error category and clean up the instances
10007
10008 2005-10-21  Wim Taymans  <wim@fluendo.com>
10009
10010         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10011         (gst_base_sink_get_position), (gst_base_sink_query),
10012         (gst_base_sink_change_state):
10013         Simply set the right flag when going to playing, that's all
10014         we need to do instead of calling a function inside the object
10015         lock (that could take the lock as well and deadlock)
10016
10017 2005-10-21  Wim Taymans  <wim@fluendo.com>
10018
10019         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10020         (gst_base_src_loop):
10021         Don't warn, the peer element knows what to do best when
10022         the seek failed, it might try something else.
10023
10024 2005-10-21  Wim Taymans  <wim@fluendo.com>
10025
10026         * gst/base/gstbasesrc.c: (gst_base_src_init),
10027         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10028         Fix seeking.
10029
10030 2005-10-21  Wim Taymans  <wim@fluendo.com>
10031
10032         * docs/design/part-segments.txt:
10033         More docs.
10034
10035         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10036         Correctly set caps, even on the subbufer.
10037
10038 2005-10-21  Wim Taymans  <wim@fluendo.com>
10039
10040         * docs/gst/gstreamer-docs.sgml:
10041         * docs/gst/gstreamer-sections.txt:
10042         * gst/gstelement.h:
10043         * gst/gstevent.c:
10044         * gst/gstevent.h:
10045         * gst/gstmessage.h:
10046         * gst/gstpad.h:
10047         * gst/gstparse.h:
10048         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10049         * gst/gsttask.h:
10050         * gst/gstutils.c:
10051         * gst/gstutils.h:
10052         And 2% more doc coverage.
10053
10054 2005-10-21  Andy Wingo  <wingo@pobox.com>
10055
10056         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10057         position reporting.
10058
10059 2005-10-20  Wim Taymans  <wim@fluendo.com>
10060
10061         * gst/gsterror.c: (gst_error_get_message):
10062         * gst/gstparse.h:
10063         * gst/gstquery.h:
10064         * gst/gststructure.c:
10065         * gst/gsttrace.c:
10066         * gst/gstutils.c:
10067         More docs.
10068
10069 2005-10-20  Wim Taymans  <wim@fluendo.com>
10070
10071         * gst/gstbuffer.h:
10072         * gst/gstpad.c:
10073         * gst/gstparse.c:
10074         Another 1% more coverage.
10075
10076 2005-10-20  Wim Taymans  <wim@fluendo.com>
10077
10078         * docs/gst/gstreamer-sections.txt:
10079         * gst/gstelement.c: (gst_element_get_state_func),
10080         (gst_element_abort_state), (gst_element_commit_state),
10081         (gst_element_lost_state):
10082         * gst/gstevent.h:
10083         * gst/gstquery.c: (gst_query_set_position),
10084         (gst_query_parse_position), (gst_query_set_duration),
10085         (gst_query_parse_duration), (gst_query_new_convert):
10086         * gst/gstutils.c:
10087         Yay! 1% more docs coverage.
10088
10089 2005-10-20  Wim Taymans  <wim@fluendo.com>
10090
10091         * gst/gstpad.h:
10092         * gst/gstquery.c: (gst_query_set_position),
10093         (gst_query_parse_position), (gst_query_set_duration),
10094         (gst_query_parse_duration), (gst_query_new_convert):
10095         * gst/gstquery.h:
10096         * gst/gstutils.c: (gst_element_query_convert):
10097         * gst/gstutils.h:
10098         Docs and consistency fixes.
10099
10100 2005-10-20  Wim Taymans  <wim@fluendo.com>
10101
10102         * gst/gsttask.c:
10103         * gst/gsttask.h:
10104         More docs.
10105
10106 2005-10-20  Wim Taymans  <wim@fluendo.com>
10107
10108         * gst/gstbin.c: (message_check), (bin_replace_message),
10109         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10110         (update_degree), (gst_bin_sort_iterator_next),
10111         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10112         Reworked the message handling a bit, cache the messages instead of
10113         only the senders. alows us to do more in the future.
10114
10115 2005-10-20  Wim Taymans  <wim@fluendo.com>
10116
10117         * docs/design/part-TODO.txt:
10118         Update TODO
10119
10120         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10121         (gst_base_sink_query):
10122         Don't use clock time to report position when in EOS.
10123
10124 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * tools/gst-inspect.c: (print_interfaces),
10127         (print_element_properties_info), (print_element_info):
10128           Fix interface output with gst-inspect -a; don't print
10129           newlines after double/float properties.
10130
10131 2005-10-20  Wim Taymans  <wim@fluendo.com>
10132
10133         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10134         (gst_base_sink_query):
10135         Speed up current position calculation.
10136
10137         * gst/base/gstbasesrc.c: (gst_base_src_query),
10138         (gst_base_src_default_newsegment):
10139         Correctly set stream position in newsegment.
10140
10141         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10142         (update_degree), (gst_bin_sort_iterator_next),
10143         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10144         * gst/gstmessage.c: (gst_message_new_custom):
10145         Clean up debugging info
10146
10147         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10148         (gst_queue_loop), (gst_queue_handle_src_query):
10149         Pause task faster.
10150
10151 2005-10-19  Wim Taymans  <wim@fluendo.com>
10152
10153         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10154         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10155         Fix query handling again.
10156
10157 2005-10-19  Wim Taymans  <wim@fluendo.com>
10158
10159         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10160         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10161         * gst/base/gstbasesrc.c: (gst_base_src_query):
10162         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10163         * gst/elements/gsttypefindelement.c:
10164         (gst_type_find_handle_src_query), (find_element_get_length),
10165         (gst_type_find_element_activate):
10166         API change fix.
10167
10168         * gst/gstquery.c: (gst_query_new_position),
10169         (gst_query_set_position), (gst_query_parse_position),
10170         (gst_query_new_duration), (gst_query_set_duration),
10171         (gst_query_parse_duration), (gst_query_set_segment),
10172         (gst_query_parse_segment):
10173         * gst/gstquery.h:
10174         Bundling query position/duration is not a good idea since duration
10175         does not change much and we don't want to recalculate it for every
10176         position query, so they are separated again..
10177         Base value in segment query is not needed.
10178
10179         * gst/gstqueue.c: (gst_queue_handle_src_query):
10180         * gst/gstutils.c: (gst_element_query_position),
10181         (gst_element_query_duration), (gst_pad_query_position),
10182         (gst_pad_query_duration):
10183         * gst/gstutils.h:
10184         Updates for query API change.
10185         Added some docs here and there.
10186
10187 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10188
10189         * check/gst/gstbin.c: (GST_START_TEST):
10190         * check/gst/gstghostpad.c: (GST_START_TEST):
10191         * check/pipelines/cleanup.c: (GST_START_TEST):
10192           wait on thread to die so we can check refcount correctly
10193
10194 2005-10-18  Wim Taymans  <wim@fluendo.com>
10195
10196         * check/pipelines/stress.c: (GST_START_TEST):
10197         Make check a little more time consuming.
10198
10199 2005-10-18  Wim Taymans  <wim@fluendo.com>
10200
10201         * check/Makefile.am:
10202         * check/pipelines/stress.c: (GST_START_TEST),
10203         (simple_launch_lines_suite), (main):
10204         Small state change torture test.
10205
10206         * docs/design/part-states.txt:
10207         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10208         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10209         (gst_base_sink_change_state):
10210         Never take state lock from streaming thread, clean up ugly
10211         hacks. Unfortunatly core does not yet support nice ways to
10212         async commit state.
10213         
10214         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10215         (bin_bus_handler):
10216         Start state recalc if a STATE_DIRTY message is posted, but only
10217         on the toplevel bin.
10218
10219         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10220         (gst_element_get_state_func), (gst_element_abort_state),
10221         (gst_element_commit_state), (gst_element_lost_state),
10222         (gst_element_set_state_func), (gst_element_change_state):
10223         * gst/gstelement.h:
10224         State variables are now protected with the LOCK, the state
10225         lock is only used to serialize _set_state().
10226
10227 2005-10-18  Wim Taymans  <wim@fluendo.com>
10228
10229         * check/gst/gstbin.c: (GST_START_TEST):
10230         * check/gst/gstmessage.c: (GST_START_TEST):
10231         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10232         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10233         (bin_bus_handler):
10234         * gst/gstelement.c: (gst_element_abort_state),
10235         (gst_element_commit_state), (gst_element_lost_state):
10236         * gst/gstmessage.c: (gst_message_new_state_changed),
10237         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10238         (gst_message_new_segment_done), (gst_message_new_duration),
10239         (gst_message_parse_state_changed),
10240         (gst_message_parse_segment_start),
10241         (gst_message_parse_segment_done), (gst_message_parse_duration):
10242         * gst/gstmessage.h:
10243         * tools/gst-launch.c: (event_loop):
10244         Seriously, this is better than a previous commit as we only need
10245         to notify the fact that an element changed state in a streaming
10246         thread, marking the state of the parents dirty, hence the 
10247         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10248         message.
10249
10250 2005-10-18  Wim Taymans  <wim@fluendo.com>
10251
10252         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10253         (gst_bin_recalc_func):
10254         * gst/gstelement.c: (gst_element_set_clock),
10255         (gst_element_abort_state), (gst_element_lost_state):
10256         Cleanups, prepare for state change fixes.
10257
10258 2005-10-18  Wim Taymans  <wim@fluendo.com>
10259
10260         * gst/gstbin.h:
10261         * gst/gstelement.c: (gst_element_class_init),
10262         (gst_element_set_state), (gst_element_set_state_func):
10263         * gst/gstelement.h:
10264         Pending ABI changes.
10265         GThreadPool in GstBinClass to monitor async state changes.
10266         state_cookie in GstElement to detect concurrent gst/set state.
10267         set_state is now virtual too in case a very complicated element
10268         has to be constructed.
10269
10270 2005-10-18  Wim Taymans  <wim@fluendo.com>
10271
10272         * check/gst/gstbin.c: (GST_START_TEST):
10273         * check/gst/gstmessage.c: (GST_START_TEST):
10274         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10275         * gst/gstbin.c: (bin_bus_handler):
10276         * gst/gstelement.c: (gst_element_commit_state),
10277         (gst_element_lost_state):
10278         * gst/gstmessage.c: (gst_message_new_state_changed),
10279         (gst_message_new_segment_start), (gst_message_new_segment_done),
10280         (gst_message_new_duration), (gst_message_parse_state_changed),
10281         (gst_message_parse_segment_start),
10282         (gst_message_parse_segment_done), (gst_message_parse_duration):
10283         * gst/gstmessage.h:
10284         * tools/gst-launch.c: (event_loop):
10285         Make messages future proof.
10286         state-change gets a flag if it was a message comming from the
10287         streaming thread.
10288         segment-start/stop can also be specified in other formats.
10289         A message to notify an app that a pipeline changed playback 
10290         duration.
10291         Also fix a GstMessage leak in -launch
10292
10293 2005-10-18  Andy Wingo  <wingo@pobox.com>
10294
10295         * gst/gstelement.c (gst_element_dispose): More helpful message.
10296
10297 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10298
10299         reviewed by: <delete if not using a buddy>
10300
10301         * common/gtk-doc.mak:
10302
10303 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10304
10305         * gst/gstregistry.c: (gst_registry_scan_path_level):
10306           unref a plug-in we get that was already initialized
10307
10308 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10309
10310         * docs/gst/gstreamer-sections.txt:
10311         * docs/libs/gstreamer-libs-sections.txt:
10312         * gst/gstelement.h:
10313           add new api entries
10314           hide internal macro
10315
10316 2005-10-17  Andy Wingo  <wingo@pobox.com>
10317
10318         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10319         cleanup.
10320
10321         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10322
10323         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10324
10325         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10326         (gst_element_get_state_func): Better debug message.
10327         (gst_element_commit_state): s/INFO/DEBUG/.
10328         (gst_element_lost_state, gst_element_change_state): 
10329
10330         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10331         (gst_message_new_custom): s/INFO/LOG/.
10332
10333 2005-10-17  Michael Smith <msmith@fluendo.com>
10334
10335         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10336           Check if end time is valid using end time, not start time.
10337
10338 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10339
10340         * check/gst-libs/controller.c: (GST_START_TEST),
10341         (gst_controller_suite):
10342         * libs/gst/controller/gstcontroller.c:
10343         (gst_controlled_property_set_interpolation_mode):
10344         * libs/gst/controller/gstcontroller.h:
10345         * libs/gst/controller/gstinterpolation.c:
10346         * testsuite/controller/.cvsignore:
10347         * testsuite/controller/Makefile.am:
10348         * testsuite/controller/interpolator.c:
10349           merge controller testsuites
10350           fix broken tests
10351           remove mem-chunk from docs
10352
10353 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10354
10355         * gst/gstmemchunk.c:
10356         * gst/gstmemchunk.h:
10357         * gst/gsttrashstack.c:
10358         * gst/gsttrashstack.h:
10359           out.  get out.  you're fired.  to the Attic !
10360
10361 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10362
10363         * gst/gstcaps.c: (gst_caps_intersect):
10364           fix signedness issues in a (hopefully) correct way
10365         * gst/gstelement.c: (gst_element_pads_activate):
10366           some debugging
10367         * gst/gstobject.c: (gst_object_set_parent):
10368           some debugging
10369
10370 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10371
10372         * gst/gstvalue.h: Fix prototypes.
10373
10374 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10375
10376         * docs/gst/gstreamer-sections.txt:
10377         * gst/gst.c: (gst_version_string):
10378         * gst/gst.h:
10379         * gst/gstversion.h.in:
10380         * win32/common/libgstreamer.def:
10381           add gst_version_string ()
10382
10383 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10384
10385         * configure.ac:
10386           clean up further
10387         * gst/gst.c: (init_post):
10388         * win32/common/config.h.in:
10389           it's PLUGINDIR now
10390         * gst/gstcaps.c: (gst_caps_intersect):
10391           use gint64, the range could be bigger than a guint
10392
10393 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10394
10395         * gst/gstclock.h:
10396           document potential problem in 2038
10397
10398 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10399
10400         * gst/gstcaps.c: (gst_caps_intersect):
10401           Fix guint j diving under 0
10402
10403 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10404
10405         * configure.ac:
10406         * win32/common/config.h:
10407         * win32/common/config.h.in:
10408           check for process.h, declares getpid() on Windows
10409         * gst/gstinfo.c:
10410           include process.h if we have it
10411         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10412         * gst/gstmemchunk.h:
10413           fix signedness issues
10414         * win32/common/libgstreamer.def:
10415           fix get_type's
10416
10417 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10418
10419         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10420         fix. Because of unsigned ints, caps intersection was going nuts and
10421         trying to access structures with G_MAXUINT index. That fixes
10422         videotestsrc ! ffmpegcolorspace ! fakesink
10423         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10424         consistency.
10425
10426 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10427
10428         * configure.ac:
10429           use the gettext macro
10430         * gst/elements/gstelements.c:
10431         * gst/gst.c:
10432         * gst/indexers/gstindexers.c:
10433           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10434         * win32/common/config.h:
10435           updated config.h
10436         * win32/common/config.h.in:
10437           add the template to generate config.h
10438         * win32/common/gstenumtypes.c:
10439         * win32/common/gstversion.h:
10440           updated copies
10441
10442 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10443
10444         * gst/gst.c: (gst_version):
10445         * gst/gstversion.h.in:
10446           add the nano
10447
10448 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10449
10450         * gst/gstevent.h:
10451           Oops, add missing closing bracket.
10452
10453 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10454
10455         * configure.ac:
10456           use common m4's for argument checking
10457
10458 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10459
10460         * docs/gst/gstreamer-sections.txt:
10461         * gst/gstevent.h:
10462           Add GST_EVENT_TYPE_NAME() macro.
10463
10464 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10465
10466         * gst/gstinfo.c:
10467         * gst/gstpluginfeature.c:
10468         * gst/gsttask.c:
10469           privatize more symbols
10470
10471 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10472
10473         * configure.ac:
10474           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10475           everything that uses GStreamer API should have the includes
10476
10477 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10478
10479         * docs/gst/gstreamer-sections.txt:
10480         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10481         * gst/gstvalue.h:
10482           give each value a _get_type, removes the DATA exports
10483
10484 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10485
10486         * gst/gst.c:
10487         * gst/gst.h:
10488           remove _gst_registry_auto_load, not used anymore
10489         * gst/gstbin.c: (gst_bin_get_type):
10490         * gst/gstbin.h:
10491         * gst/gstelement.c: (gst_element_get_type):
10492         * gst/gstelement.h:
10493         * gst/gstobject.c: (gst_object_get_type):
10494         * gst/gstobject.h:
10495         * gst/gstpad.c: (gst_pad_get_type):
10496         * gst/gstpad.h:
10497           make _get_type functions similar, fixes data export from library
10498
10499 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10500
10501         * configure.ac:
10502           correctly make conditionals
10503         * gst/elements/Makefile.am:
10504         * gst/elements/gstelements.c:
10505           fix typo causing fdsrc not to build
10506
10507 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10508
10509         * testsuite/Makefile.am:
10510         * testsuite/bytestream/.cvsignore:
10511         * testsuite/bytestream/Makefile.am:
10512         * testsuite/bytestream/filepadsink.c:
10513         * testsuite/bytestream/gstbstest.c:
10514         * testsuite/bytestream/test1.c:
10515         * testsuite/bytestream/testfile1:
10516         * testsuite/caps/normalisation.c:
10517         * testsuite/caps/random.c: (main):
10518         * testsuite/cleanup/.cvsignore:
10519         * testsuite/cleanup/Makefile.am:
10520         * testsuite/cleanup/cleanup1.c:
10521         * testsuite/cleanup/cleanup2.c:
10522         * testsuite/cleanup/cleanup3.c:
10523         * testsuite/cleanup/cleanup4.c:
10524         * testsuite/cleanup/cleanup5.c:
10525         * testsuite/controller/interpolator.c:
10526         * testsuite/debug/printf_extension.c: (main):
10527         * testsuite/elements/tee.c:
10528         * testsuite/negotiation/.cvsignore:
10529         * testsuite/negotiation/Makefile.am:
10530         * testsuite/negotiation/pad_link.c:
10531         * testsuite/pad/Makefile.am:
10532         * testsuite/pad/chainnopull.c:
10533         * testsuite/pad/getnopush.c:
10534         * testsuite/pad/link.c:
10535         * testsuite/refcounting/sched.c: (create_pipeline):
10536         * testsuite/registry/Makefile.am:
10537         * testsuite/registry/gst-print-formats.c:
10538         * testsuite/schedulers/.cvsignore:
10539         * testsuite/schedulers/142183-2.c:
10540         * testsuite/schedulers/142183.c:
10541         * testsuite/schedulers/143777-2.c:
10542         * testsuite/schedulers/143777.c:
10543         * testsuite/schedulers/147713.c:
10544         * testsuite/schedulers/147819.c:
10545         * testsuite/schedulers/147894-2.c:
10546         * testsuite/schedulers/147894.c:
10547         * testsuite/schedulers/Makefile.am:
10548         * testsuite/schedulers/group_link.c:
10549         * testsuite/schedulers/queue_link.c:
10550         * testsuite/schedulers/relink.c:
10551         * testsuite/schedulers/unlink.c:
10552         * testsuite/schedulers/unref.c:
10553         * testsuite/schedulers/useless_iteration.c:
10554         * testsuite/states/bin.c:
10555           clean out/remove some stuff from the testsuite directories
10556
10557 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10558
10559         * configure.ac:
10560           check for some headers
10561         * gst/elements/Makefile.am:
10562         * gst/elements/gstelements.c:
10563           don't compile fdsrc without sys/socket.h
10564         * gst/indexers/Makefile.am:
10565         * gst/indexers/gstindexers.c: (plugin_init):
10566           don't compile fileindex without mmap
10567
10568 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10569
10570         * configure.ac:
10571           reorganize
10572           clean up
10573           document more
10574           remove cruft
10575         * check/Makefile.am:
10576         * docs/gst/Makefile.am:
10577         * examples/helloworld/Makefile.am:
10578         * gst/Makefile.am:
10579         * gst/base/Makefile.am:
10580         * gst/check/Makefile.am:
10581         * gst/elements/Makefile.am:
10582         * gst/indexers/Makefile.am:
10583         * gst/parse/Makefile.am:
10584         * libs/gst/controller/Makefile.am:
10585         * libs/gst/dataprotocol/Makefile.am:
10586         * examples/helloworld/helloworld.c: (event_loop):
10587           compile fixes, though it's not being compiled currently
10588
10589 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10590
10591         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10592           Add some simple tests for the new taglist date API.
10593
10594 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10595
10596         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10597         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10598           Beautify 'last-message' output: print 'none' for buffer timestamps
10599           and durations if none is set; improve alignment with next messages.
10600
10601 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10602
10603         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10604         * gst/gstpluginfeature.h:
10605         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10606         * gst/gstregistry.h:
10607         * docs/gst/gstreamer-sections.txt:
10608           Add new API to check plugin feature version requirements.
10609
10610         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10611           Some basic tests for the above.         
10612
10613 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10614
10615         * gst/gststructure.c: (gst_structure_to_string):
10616           guard against NULL printf - happens when for example
10617           a message structure with GstClock gets serialized
10618
10619 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10622           Fix presumable copy'n'pasto.
10623
10624 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10625
10626         * gst/elements/gstfakesrc.h:
10627         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10628         * gst/elements/gsttypefindelement.c:
10629           fix some signedness
10630         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10631           I wonder if this could actually write +2GB files before
10632
10633 2005-10-13  Andy Wingo  <wingo@pobox.com>
10634
10635         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10636         Fix Timmeke Waymans bug.
10637         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10638         string of the proper length to gst_caps_from_string. There's a
10639         potential for, before this fix, that this could cause someone
10640         connecting over the network to cause a segfault if the payload is
10641         not NUL-terminated.
10642
10643 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10644
10645         * docs/design/draft-push-pull.txt:
10646         * docs/design/part-overview.txt:
10647         * docs/random/TODO-pre-0.9:
10648         * docs/random/old/ChangeLog.gstreamer:
10649         * gst/base/gstpushsrc.c:
10650         * gst/gstclock.c:
10651           fixed typos
10652
10653 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10654
10655         * gst/glib-compat.c: (gst_flags_get_first_value):
10656         * gst/glib-compat.h:
10657         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10658         (gst_value_compare_double), (gst_value_serialize_flags):
10659           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10660           infinite loop
10661
10662 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10663
10664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10665         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10666           fix up debugging
10667         * tools/gst-launch.c: (event_loop):
10668           print out clock nicely
10669
10670 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10671
10672         * docs/gst/gstreamer-sections.txt:
10673         * gst/gsttaglist.h:
10674         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10675         (gst_tag_list_get_date_index):
10676           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10677           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10678
10679 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10680
10681         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10682         (gst_collectpads_chain):
10683         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10684         in CollectData.
10685
10686 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10687
10688         * docs/gst/gstreamer-sections.txt:
10689         * gst/gst.c:
10690         * gst/gsterror.h:
10691         * tools/gst-inspect.c: (main):
10692         * tools/gst-launch.c: (main):
10693         * tools/gst-run.c: (main):
10694         * tools/gst-xmlinspect.c: (main):
10695           fix GOption context leaks
10696           doc fixes
10697
10698 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10699
10700         * gst/gstbus.c:
10701           use HAVE_UNISTD_H
10702         * win32/common/config.h:
10703           update config
10704         * win32/vs6/grammar.dsp:
10705         * win32/vs6/libgstelements.dsp:
10706         * win32/vs6/libgstreamer.dsp:
10707           update vs6 files
10708
10709 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10710
10711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10712         * gst/base/gstbasesrc.c: (gst_base_src_query):
10713           fix more guint64<->gdouble conversions
10714
10715 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10716
10717         * Makefile.am:
10718           add win32-update target
10719         * win32/common/gstconfig.h:
10720         * win32/common/gstenumtypes.c:
10721         * win32/common/gstenumtypes.h:
10722         * win32/common/gstversion.h:
10723           add files that visual studio can't generate
10724
10725 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10726
10727         * Makefile.am:
10728           add a win32-update target
10729         * configure.ac:
10730
10731 2005-10-12  Wim Taymans  <wim@fluendo.com>
10732
10733         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10734         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10735         * gst/gstelement.c: (gst_element_commit_state),
10736         (gst_element_set_state):
10737         Protect flags with proper lock.
10738         unref provided cached clock in dispose.
10739
10740 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10741
10742         * gst/gst.c:
10743         * gst/gstminiobject.h:
10744         * gst/gstpad.h:
10745         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10746           removed unused flags from miniobject
10747           doc fixes
10748
10749 2005-10-12  Wim Taymans  <wim@fluendo.com>
10750
10751         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10752         (gst_file_sink_event), (gst_file_sink_render):
10753         Flush before seeking.
10754
10755 2005-10-12  Andy Wingo  <wingo@pobox.com>
10756
10757         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10758         always been the case.
10759
10760 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10761
10762         * check/gst/gstbin.c: (GST_START_TEST):
10763         * docs/gst/gstreamer-sections.txt:
10764         * gst/base/gstbasesink.c: (gst_base_sink_init):
10765         * gst/base/gstbasesrc.c: (gst_base_src_init),
10766         (gst_base_src_get_range), (gst_base_src_check_get_range),
10767         (gst_base_src_start), (gst_base_src_stop):
10768         * gst/base/gstbasesrc.h:
10769         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10770         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10771         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10772         (bin_bus_handler):
10773         * gst/gstbin.h:
10774         * gst/gstbuffer.h:
10775         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10776         * gst/gstbus.h:
10777         * gst/gstelement.c: (gst_element_is_locked_state),
10778         (gst_element_set_locked_state), (gst_element_commit_state),
10779         (gst_element_set_state):
10780         * gst/gstelement.h:
10781         * gst/gstindex.c: (gst_index_init):
10782         * gst/gstindex.h:
10783         * gst/gstminiobject.h:
10784         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10785         (gst_object_set_parent):
10786         * gst/gstobject.h:
10787         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10788         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10789         * gst/gstpad.h:
10790         * gst/gstpadtemplate.h:
10791         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10792         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10793         * gst/gstpipeline.h:
10794         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10795         (gst_file_index_commit):
10796         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10797         * testsuite/pad/link.c: (gst_test_src_init),
10798         (gst_test_filter_init), (gst_test_sink_init):
10799         * testsuite/states/locked.c: (main):
10800           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10801           moved bitshift from macro to enum definition
10802
10803 2005-10-12  Wim Taymans  <wim@fluendo.com>
10804
10805         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10806         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10807         (gst_file_sink_render):
10808         Some more debugging info.
10809
10810 2005-10-12  Wim Taymans  <wim@fluendo.com>
10811
10812         * docs/design/part-states.txt:
10813         * tools/gst-launch.c: (main):
10814         Some doc updates.
10815         Revert non-intentional change.
10816
10817 2005-10-12  Wim Taymans  <wim@fluendo.com>
10818
10819         * check/gst/gstbin.c: (GST_START_TEST):
10820         * check/gst/gstelement.c: (GST_START_TEST):
10821         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10822         * check/gst/gstghostpad.c: (GST_START_TEST):
10823         * check/gst/gstpipeline.c: (GST_START_TEST):
10824         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10825         * check/states/sinks.c: (GST_START_TEST):
10826         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10827         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10828         (gst_bin_remove_func), (gst_bin_get_state_func),
10829         (gst_bin_recalc_state), (gst_bin_change_state_func),
10830         (bin_bus_handler):
10831         * gst/gstelement.c: (gst_element_get_state_func),
10832         (gst_element_get_state), (gst_element_abort_state),
10833         (gst_element_commit_state), (gst_element_set_state),
10834         (gst_element_change_state), (gst_element_change_state_func):
10835         * gst/gstelement.h:
10836         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10837         (gst_pipeline_provide_clock_func):
10838         * gst/gstutils.c: (gst_element_link_pads_filtered):
10839         * tools/gst-launch.c: (main):
10840         * tools/gst-typefind.c: (main):
10841         Use GstClockTime in _get_state() instead of GTimeVal.
10842         Remove old code in gstutils.c
10843
10844 2005-10-12  Andy Wingo  <wingo@pobox.com>
10845
10846         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10847         removed.
10848
10849         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10850         there is no task. Shouldn't affect any code, as nothing in our
10851         plugins checks this return value.
10852         (gst_pad_stop_task): Also take the stream lock if the pad has no
10853         task. Docs updated.
10854
10855 2005-10-12  Wim Taymans  <wim@fluendo.com>
10856
10857         * gst/gstpad.c: (pre_activate), (post_activate),
10858         (gst_pad_activate_pull), (gst_pad_activate_push):
10859         Cleanup activation code. Reset old state if
10860         activation failed.
10861
10862 2005-10-12  Wim Taymans  <wim@fluendo.com>
10863
10864         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10865         (gst_base_sink_change_state):
10866         No need to prerol after receiving EOS.
10867
10868         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10869         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10870         * gst/elements/gstidentity.c: (gst_identity_event):
10871         Print events more verbosely.
10872
10873 2005-10-12  Wim Taymans  <wim@fluendo.com>
10874
10875         * check/Makefile.am:
10876         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10877         * check/states/sinks2.c:
10878         Moved sinks2 testcode in sinks check.
10879
10880         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10881         (gst_bin_remove_func), (gst_bin_recalc_state),
10882         (gst_bin_change_state_func), (bin_bus_handler):
10883         Fix potential race condition when _get_state() iterated over an
10884         ASYNC element right before it posted a state completion.
10885
10886         * gst/gstclock.h:
10887         Do proper cast here.
10888
10889         * gst/gstevent.c: (gst_event_new_newsegment),
10890         (gst_event_parse_newsegment):
10891         A playback rate of 0.0 is not allowed.
10892
10893 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10894
10895         * win32/common/config.h:
10896         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10897         (_trewinddir), (_ttelldir), (_tseekdir):
10898         * win32/common/dirent.h:
10899         * win32/common/gtchar.h:
10900         * win32/common/libgstbase.def:
10901         * win32/common/libgstreamer.def:
10902         * win32/vs6/grammar.dsp:
10903         * win32/vs6/gst_inspect.dsp:
10904         * win32/vs6/gst_launch.dsp:
10905         * win32/vs6/gstreamer.dsw:
10906         * win32/vs6/libgstbase.dsp:
10907         * win32/vs6/libgstelements.dsp:
10908         * win32/vs6/libgstreamer.dsp:
10909           Visual Studio 6 project files, and a new common directory.
10910           Phear.
10911
10912 2005-10-11  Wim Taymans  <wim@fluendo.com>
10913
10914         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10915         (gst_base_sink_do_sync), (gst_base_sink_query),
10916         (gst_base_sink_change_state):
10917         * gst/base/gstbasesink.h:
10918         Correctly parse newsegment info.
10919
10920 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10921
10922         * gst/gst.c: (init_post):
10923           split plugin paths correctly
10924
10925 2005-10-11  Wim Taymans  <wim@fluendo.com>
10926
10927         * check/gst/gstevent.c: (GST_START_TEST):
10928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10929         (gst_base_sink_change_state):
10930         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10931         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10932         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10933         * gst/gstevent.c: (gst_event_new_newsegment),
10934         (gst_event_parse_newsegment):
10935         * gst/gstevent.h:
10936         Added extra flag to newsegment for future API freeze.
10937         Updated check and base elements.
10938
10939 2005-10-11  Julien MOUTTE  <julien@moutte.net>
10940
10941         * gst/base/gstcollectpads.c: (gst_collectpads_init),
10942         (gst_collectpads_add_pad), (gst_collectpads_pop),
10943         (gst_collectpads_event), (gst_collectpads_chain):
10944         * gst/base/gstcollectpads.h: Handle EOS correctly.
10945
10946 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10947
10948         * tools/gst-launch.c: (main):
10949           more null protecting
10950
10951 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10952
10953         * gst/gst-i18n-lib.h:
10954           check for ENABLE_NLS, not GETTEXT_PACKAGE
10955         * gst/gstregistry.c: (gst_registry_add_plugin),
10956         (gst_registry_scan_path_level),
10957         (_gst_registry_remove_cache_plugins):
10958           protect possibly NULL strings
10959         * gst/parse/types.h:
10960           config.h already included before
10961         * tools/gst-inspect.c: (main):
10962           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10963           check for ENABLE_NLS, not GETTEXT_PACKAGE
10964         * tools/gst-launch.c: (main):
10965           check for ENABLE_NLS, not GETTEXT_PACKAGE
10966
10967 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10968
10969         * configure.ac:
10970           if we don't have glib, fail before testing 2.8
10971         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10972           fix a leak, should fix plugins-base testsuite
10973
10974 2005-10-11  Andy Wingo  <wingo@pobox.com>
10975
10976         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10977         take the mode we're going to as an arg. Go head and set the mode
10978         and flushing flags now, so that if the activate function starts a
10979         thread all the flags will be in the right state.
10980         (post_activate): Renamed also. Just handle making sure streaming
10981         finishes for the deactivation case, and setting the deactivated
10982         mode.
10983         (gst_pad_set_active): Complain loudly if deactivation fails.
10984         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10985         (gst_pad_activate_push): Adapt to pre/post_activate changes,
10986         remove the terrible hack.
10987
10988 2005-10-11  Wim Taymans  <wim@fluendo.com>
10989
10990         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10991         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10992         (gst_bin_recalc_state), (gst_bin_change_state_func),
10993         (gst_bin_dispose), (bin_bus_handler):
10994         * gst/gstbin.h:
10995         Prepare to make current EOS message queue more generic.
10996         Fix some typos.
10997
10998         * gst/gstevent.c: (gst_event_new_newsegment),
10999         (gst_event_parse_newsegment):
11000         * gst/gstevent.h:
11001         Rename base to stream_time.
11002
11003         * gst/gstmessage.h:
11004         Fix typo in docs.
11005
11006 2005-10-11  Wim Taymans  <wim@fluendo.com>
11007
11008         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11009         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11010         (gst_bin_change_state_func), (bin_bus_handler):
11011         * gst/gstbin.h:
11012         Work on proper clock selection.
11013
11014 2005-10-11  Edward Hervey  <edward@fluendo.com>
11015
11016         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11017         * libs/gst/controller/gstcontroller.h:
11018         Added GList* version of _remove_properties() in order to be able to wrap
11019         it in bindings.
11020
11021 2005-10-11  Wim Taymans  <wim@fluendo.com>
11022
11023         * docs/design/part-states.txt:
11024         Some more docs.
11025
11026         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11027         (gst_bin_change_state_func), (bin_bus_handler):
11028         Doc updates. Don't distribute the same clock over and over again.
11029
11030         * gst/gstclock.c:
11031         * gst/gstclock.h:
11032         Doc updates.
11033
11034         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11035         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11036         (gst_pad_send_event):
11037         * gst/gstpad.h:
11038         Make probe emission threadsafe again.
11039         Register quarks and move _get_name() from utils.
11040         Doc updates.
11041
11042         * gst/gstpipeline.c: (gst_pipeline_class_init),
11043         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11044         Only redistribute the clock of it changed.
11045
11046         * gst/gstsystemclock.h:
11047         Doc updates. 
11048
11049         * gst/gstutils.c:
11050         * gst/gstutils.h:
11051         Moved the _flow_get_name() to GstPad.
11052
11053 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11054
11055         * check/gst-libs/gdp.c: (GST_START_TEST):
11056         * check/gst/gstcaps.c: (GST_START_TEST):
11057         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11058         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11059         (gst_dp_packet_from_caps):
11060           fix more valgrind warnings before turning up the heat
11061
11062 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11063
11064         * gst/parse/grammar.y:
11065           some cleanup before the hacking
11066
11067 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11068
11069         * gst/base/gstbasesrc.c: (gst_base_src_query):
11070           use conversions
11071         * gst/gstutils.c: (gst_guint64_to_gdouble),
11072         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11073         * gst/gstutils.h:
11074           externalize, basesrc uses it
11075           obviously the implementation needs testing
11076
11077 2005-10-10  Wim Taymans  <wim@fluendo.com>
11078
11079         * tests/sched/Makefile.am:
11080         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11081         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11082
11083 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11084
11085         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11086           apparently converting from guint64 to double is not implemented
11087           on MSVC
11088
11089 2005-10-10  Wim Taymans  <wim@fluendo.com>
11090
11091         * check/Makefile.am:
11092         * check/generic/states.c: (GST_START_TEST):
11093         * check/gst/gstbin.c: (GST_START_TEST):
11094         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11095         * check/states/sinks.c: (GST_START_TEST):
11096         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11097         (main):
11098         Check fixes, use API as stated in design docs, remove hacks.
11099
11100         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11101         (gst_base_sink_change_state):
11102         Catch stopping our task while we're shutting down.
11103
11104         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11105         (gst_bin_remove_func), (gst_bin_get_state_func),
11106         (gst_bin_recalc_state), (gst_bin_change_state_func),
11107         (bin_bus_handler):
11108         * gst/gstbin.h:
11109         * gst/gstelement.c: (gst_element_init),
11110         (gst_element_get_state_func), (gst_element_abort_state),
11111         (gst_element_commit_state), (gst_element_lost_state),
11112         (gst_element_set_state), (gst_element_change_state),
11113         (gst_element_change_state_func):
11114         * gst/gstelement.h:
11115         New state change algorithm (see #318116)
11116
11117         * gst/gstpipeline.c: (gst_pipeline_class_init),
11118         (gst_pipeline_init), (gst_pipeline_set_property),
11119         (gst_pipeline_get_property), (do_pipeline_seek),
11120         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11121         * gst/gstpipeline.h:
11122         Remove crude state change hacks.
11123
11124         * gst/gstutils.h:
11125         Remove crude hacks.
11126
11127         * tools/gst-launch.c: (main):
11128         Fixes for state change. Needs some more work to fully use the
11129         new stuff.
11130
11131 2005-10-10  Andy Wingo  <wingo@pobox.com>
11132
11133         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11134
11135         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11136         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11137         issue.
11138
11139 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11140
11141         * gst/gstiterator.c: (gst_iterator_new):
11142           Fix my previous commit: GTypes passed to gst_iterator_new()
11143           can be fundamental types.
11144
11145 2005-10-10  Wim Taymans  <wim@fluendo.com>
11146
11147         * gst/gstelement.c: (gst_element_iterate_pad_list),
11148         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11149         (gst_element_iterate_sink_pads):
11150         Use src/sink pads lists for the respective iterators instead
11151         of filtering.
11152
11153 2005-10-10  Andy Wingo  <wingo@pobox.com>
11154
11155         Merged in popt removal + GOption addition patch from Ronald, bug
11156         #169772.
11157
11158         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11159         GstElement macros around, remove popt-related symbols, add goption
11160         stuff.
11161
11162         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11163         
11164         * docs/gst/Makefile.am:
11165         * docs/libs/Makefile.am: No POPT_CFLAGS.
11166         
11167         * examples/manual/Makefile.am:
11168         * docs/manual/basics-init.xml: Doc updates with an example.
11169         
11170         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11171         (gst_init), (parse_one_option), (parse_goption_arg):
11172         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11173         bit of hand merging and debugging to get the GOption stuff working
11174         tho.
11175         
11176         * tests/Makefile.am:
11177         * tools/Makefile.am:
11178         * tools/gst-inspect.c: (main):
11179         * tools/gst-launch.c: (main):
11180         * tools/gst-run.c: (main):
11181         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11182
11183 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11184
11185         * gst/gstiterator.c: (gst_iterator_new):
11186           Add assertions to make sure passed GType is likely to really
11187           be a GType (as the compiler won't catch it if the size and
11188           GType arguments get mixed up, see #318447).
11189
11190 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11191
11192         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11193
11194         * gst/gstbin.c: (gst_bin_iterate_sorted):
11195           Pass GType and size arguments to gst_iterator_new() in the right
11196           order (maybe we should make _new() take the GType as first argument
11197           just like _new_list()?) (#318447).
11198           
11199
11200 2005-10-10  Wim Taymans  <wim@fluendo.com>
11201
11202         * gst/gstelement.c: (gst_element_finalize):
11203         And free the GStaticRecMutex too
11204
11205 2005-10-10  Andy Wingo  <wingo@pobox.com>
11206
11207         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11208         Allocate and free the mutex properly.
11209
11210         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11211         New macros.
11212         (GstElement): The state_lock is now recursive. Rebuild your
11213         plugins, suckers. Old macros adapted.
11214
11215         * docs/gst/gstreamer-sections.txt: Doc updates.
11216
11217         * gst/gstutils.h:
11218         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11219         (g_static_rec_cond_wait): Ported from state changes patch, while
11220         we wait on bug #317802 to be solved in a well-distributed GLib.
11221
11222         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11223         gst_element_change_state, variable name changes.
11224         (gst_element_change_state): Split out of gst_element_set_state in
11225         preparation for the state change merge. Doesn't pay attention to
11226         the 'transition' argument.
11227         (gst_element_set_state): Updates, hopefully purely cosmetic.
11228         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11229         state change patch.
11230         (gst_element_get_state_func): Renamed from get_state, cosmetic
11231         changes.
11232
11233 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11234
11235         * gst/elements/gstelements.c:
11236         * win32/GStreamer.vcproj:
11237         * win32/config.h:
11238         * win32/dirent.c: (_tseekdir):
11239         * win32/gst-inspect.vcproj:
11240         * win32/gst-launch.vcproj:
11241         * win32/gstconfig.h:
11242         * win32/gstelements.vcproj:
11243         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11244         * win32/gstreamer.def:
11245         * win32/msvc71.sln:
11246           updates for the win32 build (patch from Sebastien Moutte)
11247
11248 2005-10-10  Andy Wingo  <wingo@pobox.com>
11249
11250         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11251         gst_bin_get_state, cleaned up (but no logic changes).
11252         (bin_element_is_sink): Comment updates.
11253         (sink_iterator_filter): Remove needless cast.
11254         (gst_bin_iterate_sinks): Doc update.
11255         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11256         cleaned up (but no logic changes).
11257
11258         * check/states/sinks.c (test_src_sink): Cleanups from the state
11259         change patch.
11260         (test_livesrc_sink): Sync on the state.
11261
11262         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11263         the state change patch.
11264
11265         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11266         change patch.
11267
11268         * check/gst/gstbin.c: Merge in some style fixes and additional
11269         checks from Wim's state change patch.
11270
11271 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11272
11273         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11274         (gst_type_find_helper):
11275           Check whether we have the requested data already in our list of
11276           cached buffers before pulling a new buffer; also make the buffer
11277           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11278
11279 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11280
11281         * gst/gstcaps.c:
11282         * gst/gstevent.c:
11283           doc updates
11284         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11285           don't use long long, it's not portable.  Replacing with
11286           gint64 seems to work; let's hope no skeletons fall out of the closet.
11287
11288 2005-10-10  Andy Wingo  <wingo@pobox.com>
11289
11290         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11291
11292 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11293
11294         * docs/gst/gstreamer-sections.txt:
11295         * gst/gstevent.c:
11296         * gst/gstevent.h:
11297         * gst/gstinfo.c:
11298         * gst/gstinfo.h:
11299         * gst/gstmessage.c: (gst_message_parse_state_changed):
11300         * gst/gstpad.c:
11301         * gst/gstpad.h:
11302           more docs, fix compilation
11303
11304 2005-10-09  Philippe Khalaf <burger@speedy.org>
11305         * gst/gstmessage.c:
11306           Fixed a few forgotten variables on previous commit
11307
11308 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11309
11310         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11311           Fix evil typefind crasher: getrange() might return a short
11312           buffer at the end of a file, but gst_type_find_peek() must
11313           either return the full data as requested or NULL, but
11314           never a short buffer.
11315
11316 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11317
11318         * gst/gstmessage.c: (gst_message_new_state_changed),
11319         (gst_message_parse_state_changed):
11320         * gst/gstmessage.h:
11321           don't use "new", it's a C++ keyword
11322
11323 2005-10-08  Wim Taymans  <wim@fluendo.com>
11324
11325         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11326         * gst/gstelement.c: (gst_element_post_message):
11327         * gst/gstpipeline.c: (gst_pipeline_change_state):
11328         Small docs and debug updates.
11329
11330 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11331
11332         * docs/gst/gstreamer-sections.txt:
11333         * gst/gstelementfactory.c:
11334         * gst/gstevent.c:
11335         * gst/gsttaglist.c:
11336           more docs
11337
11338 2005-10-08  Wim Taymans  <wim@fluendo.com>
11339
11340         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11341         (gst_bin_dispose), (bin_bus_handler):
11342         Fix typos, add comments.
11343         Clear EOS list when going to PAUSED from any direction and do it
11344         in a threadsafe way.
11345         Get base time in a threadsafe way too.
11346         Fix confusing debug in the change_state function.
11347         Various other small cleanups.
11348         
11349         * gst/gstelement.c: (gst_element_post_message):
11350         Fix very verbose bus posting code.
11351
11352         * gst/gstpipeline.c: (gst_pipeline_class_init),
11353         (gst_pipeline_set_property), (gst_pipeline_get_property),
11354         (gst_pipeline_change_state):
11355         Small ARG_ -> PROP_ cleanup
11356
11357 2005-10-08  Wim Taymans  <wim@fluendo.com>
11358
11359         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11360         Do a less CPU demanding EOS check because we can.
11361
11362 2005-10-08  Wim Taymans  <wim@fluendo.com>
11363
11364         * libs/gst/dataprotocol/dataprotocol.c:
11365         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11366         (gst_dp_packet_from_event):
11367         * libs/gst/dataprotocol/dataprotocol.h:
11368         * libs/gst/dataprotocol/dp-private.h:
11369         It's about time we bump the version number.
11370         Since event types don't fit in the guint8 anymore describing
11371         the payload type, make payload type 16 bits wide.
11372
11373 2005-10-08  Wim Taymans  <wim@fluendo.com>
11374
11375         * docs/design/part-TODO.txt:
11376         * docs/design/part-clocks.txt:
11377         * docs/design/part-events.txt:
11378         * docs/design/part-gstbin.txt:
11379         * docs/design/part-gstelement.txt:
11380         * docs/design/part-gstpipeline.txt:
11381         * docs/design/part-live-source.txt:
11382         * docs/design/part-messages.txt:
11383         * docs/design/part-overview.txt:
11384         * docs/design/part-states.txt:
11385         Many doc updates.
11386
11387 2005-10-08  Wim Taymans  <wim@fluendo.com>
11388
11389         * gst/gstevent.c:
11390         * gst/gstevent.h:
11391         Fix event quark registration.
11392         Add some space between events so we can insert them in the
11393         right groups.
11394
11395 2005-10-08  Wim Taymans  <wim@fluendo.com>
11396
11397         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11398         (gst_base_sink_handle_buffer):
11399         Better log message.
11400
11401         * gst/gstbus.h:
11402         * gst/gstelement.h:
11403         More docs.
11404
11405         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11406         (gst_queue_set_property), (gst_queue_get_property):
11407         * gst/gstqueue.h:
11408         Remove old unused properties.
11409
11410 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11411         * docs/gst/gstreamer-sections.txt:
11412         * gst/gstmessage.c:
11413         * gst/gstmessage.h:
11414         * gst/gstminiobject.c:
11415         * gst/gstminiobject.h:
11416         * gst/gstobject.h:
11417         * gst/gstpad.h:
11418         * gst/gstutils.h:
11419           lots of new docs and doc fixes
11420
11421 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11422
11423         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11424         * gst/gstplugin.h:
11425         * gst/gstregistry.c: (gst_registry_lookup_locked),
11426         (gst_registry_scan_path_level):
11427         * gst/gstregistryxml.c: (load_plugin):
11428           Only ever load one plugin for a given plugin basename.
11429           This ensures correct overriding of GST_PLUGIN_PATH over
11430           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11431           system installed plugins.
11432
11433 2005-10-08  Wim Taymans  <wim@fluendo.com>
11434
11435         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11436         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11437         Prepare for doing QOS.
11438
11439 2005-10-08  Wim Taymans  <wim@fluendo.com>
11440
11441         * check/gst/gstbin.c: (GST_START_TEST):
11442         * check/pipelines/cleanup.c: (GST_START_TEST):
11443         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11444         Allow new clock message too.
11445
11446 2005-10-08  Wim Taymans  <wim@fluendo.com>
11447
11448         * gst/gstmessage.c: (gst_message_new_error),
11449         (gst_message_new_warning), (gst_message_new_tag),
11450         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11451         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11452         (gst_message_new_segment_start), (gst_message_new_segment_done),
11453         (gst_message_parse_state_changed),
11454         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11455         (gst_message_parse_new_clock):
11456         * gst/gstmessage.h:
11457         Also carry the clock in question.
11458
11459 2005-10-08  Wim Taymans  <wim@fluendo.com>
11460
11461         * gst/gstmessage.c: (gst_message_new_custom),
11462         (gst_message_new_eos), (gst_message_new_error),
11463         (gst_message_new_warning), (gst_message_new_tag),
11464         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11465         (gst_message_new_new_clock), (gst_message_new_segment_start),
11466         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11467         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11468         * gst/gstmessage.h:
11469         Clean up.
11470         Added clock related messages.
11471
11472         * gst/gstpipeline.c: (gst_pipeline_change_state):
11473         Post message when the clock changed.
11474
11475         * tools/gst-launch.c: (event_loop):
11476         Print new clock.
11477
11478 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * tools/gst-inspect.c: (print_element_properties_info):
11481           Can't pass NULL strings to g_print() on windows.
11482
11483 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11484
11485         * docs/Makefile.am:
11486         * docs/gst/Makefile.am:
11487         * docs/gst/gstreamer-docs.sgml:
11488         * docs/gst/running.xml:
11489         * docs/version.entities.in:
11490           add a chapter on running GStreamer.
11491           document GST_DEBUG and GST_PLUGIN* env vars
11492
11493 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11494
11495         * Makefile.am:
11496           remove include dir
11497         * configure.ac:
11498           remove PLUGINS_BUILDDIR stuff
11499         * gst/gst.c: (init_post):
11500           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11501         * idiottest.mak:
11502           remove, it was condescending and not needed
11503
11504 2005-10-08  Wim Taymans  <wim@fluendo.com>
11505
11506         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11507         (gst_base_sink_handle_object), (gst_base_sink_event),
11508         (gst_base_sink_wait), (gst_base_sink_handle_event),
11509         (gst_base_sink_change_state):
11510         * gst/base/gstbasesink.h:
11511         Repost EOS message while going to PLAYING if still EOS.
11512         Make sure that when receiving a FLUSH_START we don't attempt
11513         to sync on the clock anymore.
11514
11515 2005-10-08  Wim Taymans  <wim@fluendo.com>
11516
11517         * tools/gst-launch.c: (event_loop):
11518         Better message printout.
11519
11520 2005-10-08  Wim Taymans  <wim@fluendo.com>
11521
11522         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11523         (gst_bin_child_proxy_get_children_count):
11524         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11525         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11526         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11527         (gst_child_proxy_set_valist):
11528         * gst/parse/grammar.y:
11529         Make ChildProxy threadsafe and fix mem leaks.
11530
11531 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11532
11533         * gst/gst.c: (init_post):
11534           debug the GST_PLUGIN_ env vars
11535
11536 2005-10-08  Wim Taymans  <wim@fluendo.com>
11537
11538         * check/gst/gstbin.c: (GST_START_TEST):
11539         * check/gst/gstmessage.c: (GST_START_TEST):
11540         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11541         * gst/gstelement.c: (gst_element_commit_state),
11542         (gst_element_lost_state):
11543         * gst/gstmessage.c: (gst_message_new_state_changed),
11544         (gst_message_parse_state_changed):
11545         * gst/gstmessage.h:
11546         * tools/gst-launch.c: (event_loop):
11547         Added extra field to STATE_CHANGE message with the pending
11548         state, which will be different from the new state soon.
11549
11550 2005-10-08  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gstbus.c: (gst_bus_pop):
11553         * gst/gstclock.c:
11554         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11555         Small cleanups and doc updates.
11556
11557 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11558
11559         * gst/gst.c: (init_pre):
11560         * gst/gstbin.c: (gst_bin_add_func):
11561           log distributing clocks and base time
11562         * gst/gstregistry.c: (gst_registry_add_plugin),
11563         (gst_registry_scan_path_level), (gst_registry_scan_path):
11564           clean up the debugging output a little
11565         * gst/gstutils.c: (gst_element_state_get_name):
11566           warn about a memleak (I've actually seen this be used, though
11567           it was probably a bug)
11568
11569 2005-10-07  Wim Taymans  <wim@fluendo.com>
11570
11571         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11572         (gst_base_src_init), (gst_base_src_default_newsegment),
11573         (gst_base_src_newsegment), (gst_base_src_do_seek),
11574         (gst_base_src_loop), (gst_base_src_start):
11575         * gst/base/gstbasesrc.h:
11576         Make the newsegment event customizable by subclasses.
11577
11578 2005-10-07  Wim Taymans  <wim@fluendo.com>
11579
11580         * gst/gstevent.c: (gst_event_new_buffersize),
11581         (gst_event_parse_buffersize):
11582         * gst/gstevent.h:
11583         New event for future idea.
11584
11585 2005-10-07  Andy Wingo  <wingo@pobox.com>
11586
11587         * gst/gstelement.c (gst_element_post_message): Doc update.
11588
11589         * docs/gst/gstreamer-sections.txt: Update.
11590
11591         * gst/gstmessage.c (gst_message_new_application): Made into a
11592         function like honest API calls.
11593         (gst_message_new_element): New message type.
11594
11595         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11596
11597         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11598         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11599         times.
11600
11601         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11602         NO_PREROLL from gst_element_change_state to fall through.
11603
11604 2005-10-07  Wim Taymans  <wim@fluendo.com>
11605
11606         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11607         (gst_ghost_pad_do_activate_push):
11608         Activating a ghostpad with no internal pad in push mode
11609         is ok.
11610
11611 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11612
11613         * gst/gstobject.h:
11614           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11615           Fixes compilation on Windows.
11616
11617 2005-10-07  Michael Smith <msmith@fluendo.com>
11618
11619         * tools/gst-inspect.c:
11620           Print out feature and plugin count at the end when printing out
11621           all features.
11622
11623 2005-10-04  Michael Smith <msmith@fluendo.com>
11624
11625         * gst/gsterror.c: (_gst_stream_errors_init):
11626           Add another error string used in a few existing plugins.
11627
11628         * gst/gstplugin.c:
11629         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11630         * tools/gst-inspect.c: (print_element_info):
11631           When a feature disappears from a plugin (and the feature exists in
11632           the cached registry file), things went horribly wrong. This isn't a
11633           complete fix, we should actually be removing the 'missing' features
11634           from the features list when we load the actual plugin. That's not
11635           yet implemented. 
11636
11637 2005-10-04  Johan Dahlin  <johan@gnome.org>
11638
11639         * check/gst/gstiterator.c: (GST_START_TEST):
11640         * gst/gstbin.c: (gst_bin_iterate_elements),
11641         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11642         * gst/gstelement.c: (gst_element_iterate_pads):
11643         * gst/gstformat.c: (gst_format_iterate_definitions):
11644         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11645         (gst_iterator_new_list), (gst_iterator_filter):
11646         * gst/gstiterator.h:
11647         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11648         Add a GType to GstIterator, update callsites and tests.
11649
11650 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11651
11652         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11653           give events a chance to be handled by event probes when the pad
11654           is not linked
11655
11656 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11657
11658         * gst/gstevent.c: (gst_event_type_get_name),
11659         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11660         * gst/gstevent.h:
11661           add string representations for event types
11662
11663 2005-10-06  Wim Taymans  <wim@fluendo.com>
11664
11665         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11666         Don't use NULL pointers.
11667
11668 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11669
11670         * gst/gst_private.h:
11671         * gst/gstbus.c:
11672         * gst/gstelement.c:
11673         * gst/gstinfo.c:
11674         * gst/gstpluginfeature.c:
11675           widen the debug category in output to fit the biggest one we have
11676           add a bus category and use it
11677           play with the colors
11678           fix up some categories
11679
11680 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11681
11682         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11683           add push activation of sink ghost pads.
11684           Andye, please verify
11685
11686 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11687
11688         * gst/gstutils.c: (gst_element_link_pads):
11689           fix a bug in the case where neither element has a pad
11690         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11691           add a test for that case
11692
11693 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11694
11695         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11696           emit have-data before checking for peers.  This allows
11697           for probe handlers to connect elements.  This helps autopluggers.
11698         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11699         (gst_pad_suite):
11700           add six checks, linked/unlinked with no/true/false probe
11701
11702 2005-10-04  Wim Taymans  <wim@fluendo.com>
11703
11704         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11705         (gst_fake_sink_event), (gst_fake_sink_preroll),
11706         (gst_fake_sink_render), (gst_fake_sink_change_state):
11707         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11708         (gst_fake_src_get_property), (gst_fake_src_create),
11709         (gst_fake_src_stop):
11710         * gst/elements/gstidentity.c: (gst_identity_stop):
11711         Protect last_message with lock.
11712
11713 2005-10-04  Edward Hervey  <edward@fluendo.com>
11714
11715         * gst/gstformat.h: 
11716         Added precision in the comments for GST_FORMAT_DEFAULT
11717
11718 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11719
11720         * tools/gst-launch.c: (main):
11721           Don't try to run erroneous pipelines.
11722
11723 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11724
11725         * gst/gstbus.c: We don't need this header.
11726
11727 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11728
11729         * configure.ac:
11730           back to development
11731
11732 === release 0.9.3 ===
11733
11734 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11735
11736         * README:
11737         * configure.ac:
11738           Releasing 0.9.3, "Unregistered"
11739
11740 2005-10-03  Andy Wingo  <wingo@pobox.com>
11741
11742         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11743         whereby calling a pad's activatepush() function can start a thread
11744         that starts to push or pull before the pad gets the FLUSHING flag
11745         unset. Hack around it by holding the stream lock until the flag is
11746         set. Need to replace this with a proper solution. Together with
11747         the ghost pad fixes, this fixes mp3 playing/tagreading.
11748
11749         * docs/design/part-gstghostpad.txt: Add a note about activation of
11750         proxy pads outside of ghost pads.
11751
11752         * gst/gstghostpad.c: Implement the ghost pad activation design.
11753
11754 2005-10-02  Andy Wingo  <wingo@pobox.com>
11755
11756         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11757         It is volatile, after all.
11758
11759         * docs/design/part-gstghostpad.txt: Flesh out activation with
11760         ghost pads.
11761
11762         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11763         GST_DEBUG_FUNCPTR.
11764
11765 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11766
11767         * configure.ac:
11768           Fix (unused) AM_CONDITIONAL tests.
11769
11770 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11771
11772         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11773
11774         * gst/gstutils.c: (gst_pad_query_convert):
11775           Add assertion that makes sure src_val is >=0, just like
11776           gst_query_new_convert() has. (#315895)
11777
11778 2005-09-30  Edward Hervey  <edward@fluendo.com>
11779
11780         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11781         Let's not iterate pads we're not interested in, it avoids getting 
11782         sky-high refcounts on sinkpad.
11783
11784 2005-09-30  Wim Taymans  <wim@fluendo.com>
11785
11786         * gst/gstelement.c: (gst_element_set_state),
11787         (gst_element_change_state):
11788         Small tweak, element in ASYNC remains ASYNC.
11789
11790 2005-09-30  Wim Taymans  <wim@fluendo.com>
11791
11792         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11793         Only error is an error.
11794
11795         * gst/gstbin.c: (gst_bin_change_state):
11796         Better debugging.
11797
11798         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11799         Also call pad_block in pad alloc.
11800
11801         * gst/gstutils.c: (gst_flow_get_name):
11802         Better debugging.
11803
11804 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11805
11806         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11807         (gst_base_src_get_range):
11808           Fix documentation typos. Add some more debug info.
11809
11810 2005-09-29  David Schleef  <ds@schleef.org>
11811
11812         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11813           more end-user friendly.
11814         * tools/gst-inspect.c: (main): Check if command-line argument is
11815           a file and attempt to load that file as a plugin.
11816
11817 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11818
11819         * check/gst/gstbin.c:
11820         * check/states/sinks.c:
11821           fix tests for the new warning
11822         * check/gst/gstpipeline.c:
11823           add a test for pipeline and bus interaction
11824         * gst/gstelement.c:
11825           elements should be NULL if they get disposed; add a warning if not
11826
11827 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11828
11829         * gst/gstobject.c:
11830           for 2.6 refcounting, make debug log more correct by printing
11831           the actual refcounts at the time of swap (Wim)
11832
11833 2005-09-29  Andy Wingo  <wingo@pobox.com>
11834
11835         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11836         removes signal watches previously added via
11837         gst_bus_add_signal_watch.
11838         (gst_bus_add_signal_watch): Don't return the source id, just store
11839         it on the bus if there wasn't an id already.
11840
11841         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11842         add_signal_watch and remove_signal_watch.
11843
11844 2005-09-29  Edward Hervey  <edward@fluendo.com>
11845
11846         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11847         Better if we actually iterate the list :)
11848
11849 2005-09-29  Wim Taymans  <wim@fluendo.com>
11850
11851         * check/gst/gstbin.c: (GST_START_TEST):
11852         Change for new bus API.
11853
11854         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11855         (send_messages), (GST_START_TEST), (gstbus_suite):
11856         Change for new bus signal API.
11857
11858         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11859         (gst_bus_source_prepare), (gst_bus_source_check),
11860         (gst_bus_create_watch), (gst_bus_add_watch_full),
11861         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11862         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11863         * gst/gstbus.h:
11864         Remove support for multiple GSources operating on different
11865         message types as it is too complex and unneeded when using
11866         signals.
11867         Added support for receiving signals from the bus.
11868
11869 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11870
11871         * docs/libs/tmpl/gstdataprotocol.sgml:
11872         * docs/manual/advanced-dataaccess.xml:
11873         * gst/elements/gstcapsfilter.c:
11874         * gst/gstutils.c:
11875           rename filter-caps to caps property
11876
11877 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11880           More robust fraction string parsing.
11881
11882         * docs/pwg/appendix-porting.xml:
11883           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11884
11885 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11886
11887         * gst/gstcaps.c: (gst_caps_do_simplify):
11888           Thou shalt not free a structure and then continue using it
11889           in the next loop iteration.
11890
11891         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11892         (gst_caps_suite):
11893           Add test case for caps simplification.
11894
11895 2005-09-29  Wim Taymans  <wim@fluendo.com>
11896
11897         * check/gst/gstbin.c: (GST_START_TEST):
11898         Oops.
11899
11900 2005-09-29  Wim Taymans  <wim@fluendo.com>
11901
11902         * check/gst/gstbin.c: (GST_START_TEST):
11903         Add bus to bin.
11904
11905         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11906         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11907         (find_element), (gst_bin_sort_iterator_next),
11908         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11909         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11910         (gst_bin_change_state), (gst_bin_dispose):
11911         A bin does not have a bus, it gets the bus from the parent.
11912
11913         * gst/gstelement.c: (gst_element_requires_clock),
11914         (gst_element_provides_clock), (gst_element_is_indexable),
11915         (gst_element_is_locked_state), (gst_element_change_state),
11916         (gst_element_set_bus_func):
11917         Small cleanups.
11918
11919         * gst/gstpipeline.c: (gst_pipeline_class_init),
11920         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11921         The pipeline provides a bus.
11922
11923 2005-09-28  Johan Dahlin  <johan@gnome.org>
11924
11925         * gst/gstmessage.c (gst_message_parse_state_changed): Use
11926         gst_structure_get_enum instead of gst_structure_get_int
11927
11928         * gst/gststructure.c (gst_structure_get_enum): Impl.
11929
11930         * gst/gststructure.h (gst_structure_get_enum): Add
11931
11932         * docs/gst/gstreamer-sections.txt: Ditto
11933
11934         * gst/gstmessage.c (gst_message_new_state_changed): Use
11935         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11936         which does introspection.
11937         Reviewed by Christian Schaller
11938
11939 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11940
11941         * gst/gstinfo.c: (gst_debug_log_default):
11942           don't do dummy g_strdup()s
11943         * libs/gst/controller/gstcontroller.c:
11944         (on_object_controlled_property_changed),
11945         (gst_controlled_property_new), (gst_controller_new_valist),
11946         (gst_controller_new_list),
11947         (gst_controller_remove_properties_valist), (gst_controller_set),
11948         (gst_controller_get), (gst_controller_sync_values),
11949         (gst_controller_get_value_array), (_gst_controller_class_init),
11950         (gst_controller_get_type):
11951         * libs/gst/controller/gstcontroller.h:
11952         * libs/gst/controller/gstinterpolation.c:
11953         (gst_controlled_property_find_timed_value_node):
11954           convert // to /**/ comments
11955
11956 2005-09-28  Wim Taymans  <wim@fluendo.com>
11957
11958         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11959         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11960         (gst_bus_sync_signal_handler):
11961         * gst/gstbus.h:
11962         Added async-message and sync-message signals to the bus.
11963         Added helper BusFunc to emit signals for all posted messages.
11964
11965         * gst/gstmessage.c: (gst_message_type_get_name),
11966         (gst_message_type_to_quark), (gst_message_get_type):
11967         * gst/gstmessage.h:
11968         Register quarks for message names.
11969
11970 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
11971
11972         * docs/libs/gstreamer-libs-sections.txt:
11973         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11974         (gst_controller_new_list):
11975         * libs/gst/controller/gstcontroller.h:
11976           added another constructor for language bindings
11977
11978 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11979
11980         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11981           add another check
11982         * gst/gstbus.c:
11983           add some doc
11984         * gst/gstinfo.c: (_gst_debug_init):
11985           slightly more readable color for refcount debugging
11986
11987 2005-09-28  Wim Taymans  <wim@fluendo.com>
11988
11989         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11990         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11991         (find_element), (gst_bin_sort_iterator_next),
11992         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11993         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11994         (gst_bin_change_state), (gst_bin_dispose):
11995         Small doc fixes. get_clock -> provide_clock.
11996
11997         * gst/gstelement.c: (gst_element_class_init),
11998         (gst_element_provides_clock), (gst_element_provide_clock),
11999         (gst_element_get_clock), (gst_element_commit_state),
12000         (gst_element_lost_state):
12001         * gst/gstelement.h:
12002         Make get/set_clock() symetric. Add provide_clock vmethod since
12003         that is actually what this function does.
12004
12005         * gst/gstpipeline.c: (gst_pipeline_class_init),
12006         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12007         (gst_pipeline_get_clock):
12008         get_clock -> provide_clock.
12009
12010 2005-09-28  Andy Wingo  <wingo@pobox.com>
12011
12012         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12013         lieu of real docs...
12014
12015         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12016
12017 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12018
12019         * gst/elements/gstcapsfilter.c:
12020         * gst/elements/gstfakesink.c:
12021         * gst/elements/gstfakesrc.c:
12022         * gst/elements/gstfdsink.c:
12023         * gst/elements/gstfdsrc.c:
12024         * gst/elements/gstfilesink.c:
12025         * gst/elements/gstfilesrc.c:
12026         * gst/elements/gstidentity.c:
12027         * gst/elements/gsttee.c:
12028         * gst/elements/gsttypefindelement.c:
12029           Make element details static.
12030
12031 2005-09-28  Wim Taymans  <wim@fluendo.com>
12032
12033         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12034         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12035         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12036         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12037         (gst_bin_change_state), (gst_bin_dispose):
12038         Some documentation updates.
12039         Clean up dispose handlers.
12040
12041         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12042         * gst/gstpad.c: (gst_pad_dispose):
12043         Clean up dispose handler.
12044
12045         * gst/gstpipeline.c: (gst_pipeline_change_state):
12046         Removed spurious UNLOCK.
12047
12048 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12049
12050         * docs/gst/gstreamer-sections.txt:
12051         * gst/base/gstbasesrc.h:
12052         * gst/gstelement.h:
12053         * gst/gstevent.h:
12054         * gst/gstobject.h:
12055         * gst/gstpad.h:
12056         * gst/gstpipeline.c:
12057         * gst/gstpipeline.h:
12058         * gst/gstutils.h:
12059         * gst/gstxml.h:
12060           added two new functions to the docs
12061                 documents all undocumented GstXXXFlags
12062                 completed some incomplete docs 
12063
12064 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12065
12066         * gst/gstbin.c: (gst_bin_dispose):
12067         * gst/gstelement.c: (gst_element_dispose):
12068           remove now useless and leaky resurrection code in dispose
12069         * gst/base/gstbasesrc.c: (gst_base_src_init):
12070         * gst/gstelementfactory.c: (gst_element_factory_create):
12071         * gst/gstobject.c: (gst_object_set_parent):
12072           add some debugging
12073
12074 2005-09-27  Wim Taymans  <wim@fluendo.com>
12075
12076         * docs/design/part-TODO.txt:
12077         Update TODO.
12078
12079         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12080         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12081         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12082         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12083         (gst_bin_change_state):
12084         * gst/gstelement.h:
12085         Remove element variable, we keep element info in the iterator now.
12086
12087 2005-09-27  Andy Wingo  <wingo@pobox.com>
12088
12089         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12090         values.
12091
12092 2005-09-27  Wim Taymans  <wim@fluendo.com>
12093
12094         * check/gst/gstbin.c: (GST_START_TEST):
12095         Enable check that works now.
12096
12097         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12098         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12099         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12100         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12101         (gst_bin_change_state):
12102         * gst/gstbin.h:
12103         Redid the state change algorithm using a topological sort algo.
12104         Handles all cases correctly.
12105         Exposed iterator for state change order.
12106
12107         * gst/gstelement.h:
12108         Temp storage for state changes. Need to get rid of this soon.
12109
12110 2005-09-27  Wim Taymans  <wim@fluendo.com>
12111
12112         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12113         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12114         (link_fold_func), (gst_pad_proxy_setcaps):
12115         Leak fixes, the fold functions need to unref the passed object and
12116         _get_parent_*() returns ref to parent.
12117
12118 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12119
12120         * check/gst/gstbuffer.c: (test_make_writable):
12121           Plug leak in test case and fix 'make check-valgrind'
12122
12123 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12124
12125         * gst/gstbuffer.c: (gst_subbuffer_init):
12126           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12127           works correctly in all circumstances (we could have just copied
12128           the parent buffer's readonly flag, but conceptually it seems
12129           cleaner to mark all subbuffers as read-only). (based on patch
12130           by Alessandro Decina, #314710).
12131         
12132         * check/gst/gstbuffer.c: (create_read_only_buffer),
12133         (test_make_writable), (test_subbuffer_make_writable),
12134         (gst_test_suite):
12135           Add some tests for gst_buffer_make_writable().
12136
12137 2005-09-27  Wim Taymans  <wim@fluendo.com>
12138
12139         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12140         use gst_object_has_ancestor().
12141
12142         * gst/gstobject.c: (gst_object_has_ancestor):
12143         * gst/gstobject.h:
12144         gst_object_has_ancestor() copied from gstbin.c as it is a
12145         usefull function.
12146
12147         * tests/instantiate/create.c: (create_all_elements):
12148         * tests/lat.c: (handoff_src), (handoff_sink):
12149         * tests/sched/runxml.c: (main):
12150         * tests/seeking/seeking1.c: (main):
12151         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12152         (main):
12153         Fix compilation of some tests.
12154
12155 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         * gst/gsterror.h:
12158           Remove comment. GST_TYPE_G_ERROR is here to stay,
12159           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12160           (#316961, #300610).
12161
12162 2005-09-26  Wim Taymans  <wim@fluendo.com>
12163
12164         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12165         Added check that shows error in state change order.
12166
12167 2005-09-26  Wim Taymans  <wim@fluendo.com>
12168
12169         * gst/gstbin.c: (gst_bin_change_state):
12170         Make state change function use 3 queues again, we were
12171         adding elements in the wrong order.
12172
12173         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12174         Some debug info,
12175
12176         * gst/gstpad.c: (gst_pad_dispose):
12177         Added some debug info first.
12178
12179 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12180
12181         * docs/design/draft-push-pull.txt:
12182         * docs/design/part-events.txt:
12183         * docs/design/part-overview.txt:
12184         * docs/design/part-scheduling.txt:
12185           Replace all _pull_region() with _pull_range()
12186           
12187 2005-09-26  Andy Wingo  <wingo@pobox.com>
12188
12189         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12190
12191         * check/gst-libs/controller.c: Update for controller api change.
12192
12193         * configure.ac: 
12194         * tests/Makefile.am:
12195         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12196         over by GLib bug 118439.
12197         
12198         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12199         routines to a function.
12200
12201         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12202
12203         * libs/gst/controller/gsthelper.c:
12204         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12205         (gst_object_sync_values): Renamed from sink_values. Ugh.
12206
12207         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12208
12209         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12210         Renamed from controller_key, as it is exported.
12211
12212         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12213
12214 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12215
12216         * gst/Makefile.am:
12217         * gst/gst.h:
12218         * gst/gstpad.h:
12219         * gst/gstpadtemplate.h:
12220         * gst/gstquery.c:
12221         * gst/gstquery.h:
12222         * gst/gstqueryutils.c:
12223         * gst/gstqueryutils.h:
12224           remove queryutils headers after moving the two used functions
12225           to gstquery.  also fixes build problem for gstsiddec
12226
12227 2005-09-26  Michael Smith <msmith@fluendo.com>
12228
12229         * tools/gst-launch.1.in:
12230         Correct documentation in manpage of debug syntax
12231
12232 2005-09-26  Wim Taymans  <wim@fluendo.com>
12233
12234         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12235         (gst_base_src_is_seekable), (gst_base_src_change_state):
12236         Some more debugging info.
12237
12238 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12239
12240         * docs/gst/gstreamer-sections.txt:
12241         * gst/base/gstbasetransform.h:
12242         * gst/gstindex.h:
12243           added more docs
12244
12245 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12246
12247         * docs/gst/.cvsignore:
12248         * docs/gst/tmpl/.cvsignore:
12249         * docs/gst/tmpl/gstpipeline.sgml:
12250         * docs/gst/tmpl/gstplugin.sgml:
12251         * gst/gstpipeline.c:
12252         * gst/gstplugin.c:
12253         * gst/gstplugin.h:
12254           inlined the last two docs files
12255           removed the tmpl directory from cvs (no more conflicts here!)
12256
12257 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12258
12259         * docs/gst/gstreamer-sections.txt:
12260         * docs/gst/tmpl/.cvsignore:
12261         * docs/gst/tmpl/gstpad.sgml:
12262         * docs/gst/tmpl/gstpadtemplate.sgml:
12263         * gst/Makefile.am:
12264         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12265         (gst_pad_finalize), (gst_pad_set_pad_template):
12266         * gst/gstpad.h:
12267         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12268         (gst_pad_template_class_init), (gst_pad_template_init),
12269         (gst_pad_template_dispose), (name_is_valid),
12270         (gst_static_pad_template_get), (gst_pad_template_new),
12271         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12272         (gst_pad_template_pad_created):
12273         * gst/gstpadtemplate.h:
12274           inlined two more docs
12275           factored gstpadtemplate out of gstpad
12276
12277 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12278
12279         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12280         (test_children_state_change_order_semi_sink):
12281           Fix test case: we can't rely on a fixed state change order when
12282           going from READY => PAUSED because the sink might commit its 
12283           new state first when the first buffer created by the source 
12284           reaches the sink before the source has finished its change state.
12285           (Test case still fails at times, see #316856, comment 5 onwards)
12286
12287 2005-09-24  Wim Taymans  <wim@fluendo.com>
12288
12289         * docs/design/part-events.txt:
12290         * docs/design/part-gstbus.txt:
12291         * docs/design/part-gstpipeline.txt:
12292         * docs/design/part-messages.txt:
12293         * docs/design/part-overview.txt:
12294         * docs/design/part-segments.txt:
12295         * gst/gstbin.c:
12296         * gst/gstbuffer.c:
12297         * gst/gstclock.c:
12298         * gst/gstelement.c:
12299         * gst/gstevent.c:
12300         * gst/gstfilter.c:
12301         * gst/gstiterator.c:
12302         Various documentation updates.
12303
12304 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         * gst/gstclock.h:
12307           Well, that's embarassing.  Luckily we weren't using
12308           GST_CLOCK_DIFF anywhere.
12309
12310 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12311
12312         * common/gtk-doc.mak:
12313           don't fail on building XML, FC4 slave shows a bunch of doc
12314           missing bits that I don't get
12315         * gst/gstpad.c:
12316         * gst/gstpipeline.c:
12317         * gst/gststructure.c:
12318           some doc updates
12319
12320 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12321
12322         * docs/design/part-gstbin.txt:
12323         * docs/design/part-gstbus.txt:
12324         * gst/gstbus.c:
12325           Add blurb about how the bus goes into flushing mode and
12326           drops all messages when its bin goes from READY into NULL 
12327           state.
12328
12329 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12330
12331         * docs/gst/gstreamer-sections.txt:
12332         * gst/gststructure.c: (gst_structure_get_clock_time):
12333         * gst/gststructure.h:
12334           add a method to get a GstClockTime out of a structure
12335
12336 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12337
12338         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12339         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12340           Added test to check state change order in bins (can still be made
12341           to fail here under heavy disk load; bails out with 'Push on pad
12342           fakesink:sink0, but it was not activated in push mode').
12343
12344         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12345           Fix state change order when there is only a semi sink (#316856)
12346
12347         * gst/gstbus.c: (gst_bus_class_init):
12348           Use _class_peek_parent(), not _class_ref(); fix docs to say
12349           'default main context' instead of 'mainloop' where that is
12350           what's meant.
12351
12352         * gst/gstelement.c: (gst_element_commit_state),
12353         (gst_element_set_state):
12354           Fix typos in debug messages
12355
12356 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12357
12358         * docs/README:
12359         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12360         * gst/gstpluginfeature.c:
12361         * gst/gstutils.c:
12362           various doc updates
12363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12364           change an assert into an error until it gets fixed properly
12365
12366 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12367
12368         * docs/gst/gstreamer-sections.txt:
12369         * docs/gst/tmpl/.cvsignore:
12370         * docs/gst/tmpl/gstelement.sgml:
12371         * docs/gst/tmpl/gstinfo.sgml:
12372         * docs/gst/tmpl/gstobject.sgml:
12373         * gst/gstelement.c:
12374         * gst/gstelement.h:
12375         * gst/gstinfo.c:
12376         * gst/gstinfo.h:
12377         * gst/gstobject.c: (gst_object_class_init):
12378         * gst/gstobject.h:
12379           inlined 3 more biiiig doc files and added some missing docs on the fly
12380
12381 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12382
12383         * check/gst/.cvsignore:
12384         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12385         * gst/gstregistryxml.c: (load_plugin),
12386         (gst_registry_xml_save_plugin):
12387           put back source in registry.  add checks for find_plugin.
12388         * testsuite/states/bin.c: (assert_state), (empty_bin),
12389         (test_adding_one_element), (main):
12390         * testsuite/states/locked.c: (main):
12391           some compile/run fixes
12392
12393 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12394
12395         * check/gst/gstvalue.c: (GST_START_TEST):
12396           fix leaks in the test itself
12397
12398 2005-09-22  Wim Taymans  <wim@fluendo.com>
12399
12400         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12401         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12402         (gst_base_sink_query):
12403         Prepare for more accurate position reporting and query
12404         handling.
12405
12406         * gst/gstelement.c: (gst_element_send_event),
12407         (gst_element_set_state):
12408         Add some comment.
12409
12410 2005-09-22  Wim Taymans  <wim@fluendo.com>
12411
12412         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12413         (gst_query_parse_segment):
12414         * gst/gstquery.h:
12415         More documentation.
12416         Add segment query for future use.
12417
12418 2005-09-22  Wim Taymans  <wim@fluendo.com>
12419
12420         * gst/gstbin.c: (gst_bin_add_func):
12421         Some more debug info.
12422
12423         * gst/gstelement.c: (gst_element_send_event):
12424         Simplify send_event
12425
12426         * gst/gstelement.h:
12427         Don't know how flags got broken.
12428
12429         * gst/gstquery.h:
12430         Added new query.
12431
12432 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12433
12434         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12435           Add simplistic test suite for GST_TYPE_DATE serialisation and
12436           deserialisation.
12437
12438 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12439
12440         * docs/gst/gstreamer-sections.txt:
12441         * gst/gststructure.c: (gst_structure_set_valist),
12442         (gst_structure_get_date):
12443         * gst/gststructure.h:
12444         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12445         (gst_date_copy), (gst_value_compare_date),
12446         (gst_value_serialize_date), (gst_value_deserialize_date),
12447         (gst_value_transform_date_string),
12448         (gst_value_transform_string_date), (_gst_value_initialize):
12449         * gst/gstvalue.h:
12450           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12451           bunch of utility functions along with a hack that checks that
12452           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12453           is required. Part of the grand scheme in #170777.
12454
12455 2005-09-22  Andy Wingo  <wingo@pobox.com>
12456
12457         * gst/gstconfig.h.in: Psych out gtk-doc.
12458
12459         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12460
12461         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12462
12463         * tools/gst-inspect.c (print_element_list): Plug some
12464         inconsequential leaks.
12465
12466         * gst/gstregistry.c (gst_registry_get_default): Doc.
12467
12468         * check/gst/gstplugin.c: 
12469         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12470         * gst/gstelementfactory.c (gst_element_factory_create): 
12471         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12472         refcount changes.
12473
12474         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12475         (gst_plugin_feature_load): Doc, don't eat refs.
12476
12477         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12478         (gst_plugin_list_free): Doc.
12479         (gst_plugin_load_file): Doc updates.
12480
12481         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12482         accessors returning refcounted objects, return a ref.
12483
12484         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12485         accessor for caps. IDEMPOTENCE. Oh yes.
12486
12487 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12488
12489         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12490
12491         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12492         (_gst_debug_register_funcptr):
12493           Add mutex to serialise access to the hash table with
12494           the function pointer => function name string mapping;
12495           make that hash table static scope (#316809).
12496
12497         * gst/registries/.cvsignore:
12498           Remove left-over file.
12499
12500 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12501
12502         * docs/pwg/appendix-porting.xml:
12503           And something about newsegment events and caps-on-buffers to
12504           the porting guide (feel free to improve).
12505
12506 2005-09-21  Andy Wingo  <wingo@pobox.com>
12507
12508         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12509         data and event probes on the same pad.
12510         (test_buffer_probe_once): Test that removing probes from within
12511         the probe functions works.
12512
12513 2005-09-21  Andy Wingo  <wingo@pobox.com>
12514
12515         * check/gst/gstutils.c: New file.
12516         (test_buffer_probe_n_times): A simple buffer probe test. More to
12517         come, foolios.
12518
12519         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12520         have-data::buffer, not have-data.
12521         (gst_pad_add_event_probe): Likewise for have-data::event.
12522         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12523         peer' isn't quite right yet though.
12524         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12525         (gst_pad_remove_data_probe): Change to take the guint handler_id
12526         as their arg, not the function+data, which is more glib-like.
12527
12528         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12529         the signal emission to indicate if the data is a buffer or an
12530         event.
12531         (gst_pad_get_type): Initialize buffer and event quarks.
12532         (gst_pad_class_init): have-data is now a detailed signal, yes it
12533         is.
12534
12535 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12536
12537         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12538         * gst/gstutils.c: (gst_util_set_value_from_string),
12539         (gst_util_set_object_arg):
12540           Don't put functional code in g_return_if_fail() or
12541           g_return_val_if_fail() statements, otherwise things will 
12542           break when G_DISABLE_CHECKS is defined during compilation.
12543
12544 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12545
12546         * docs/gst/tmpl/.cvsignore:
12547         * docs/gst/tmpl/gstvalue.sgml:
12548         * gst/gstvalue.c:
12549         * gst/gstvalue.h:
12550           inlied another one and added  some obvious docs
12551
12552 2005-09-21  Wim Taymans  <wim@fluendo.com>
12553
12554         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12555         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12556         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12557         (gst_fdsrc_get_property), (gst_fdsrc_create):
12558         * gst/elements/gstfdsrc.h:
12559         Properly implement fdsrc. Removed signal and timeout,
12560         better implemented somewhere else.
12561
12562 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12563
12564         * docs/gst/tmpl/.cvsignore:
12565         * docs/gst/tmpl/gstimplementsinterface.sgml:
12566         * gst/gstinterface.c:
12567           inlined more docs
12568
12569 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12570
12571         * docs/gst/gstreamer-sections.txt:
12572         * docs/gst/tmpl/.cvsignore:
12573         * docs/gst/tmpl/gstenumtypes.sgml:
12574           remove obsolete doc file
12575
12576 2005-09-21  David Schleef  <ds@schleef.org>
12577
12578         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12579         little beer, fix a little leak.
12580
12581 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12582
12583         * docs/gst/gstreamer-docs.sgml:
12584         * docs/gst/gstreamer-sections.txt:
12585         * docs/gst/tmpl/.cvsignore:
12586         * gst/Makefile.am:
12587         * gst/gst.h:
12588         * gst/gstbin.c:
12589         * gst/gstelement.h:
12590         * gst/gstindex.c: (gst_index_class_init):
12591         * gst/gstindex.h:
12592         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12593         (gst_index_factory_class_init), (gst_index_factory_init),
12594         (gst_index_factory_finalize), (gst_index_factory_new),
12595         (gst_index_factory_destroy), (gst_index_factory_find),
12596         (gst_index_factory_create), (gst_index_factory_make):
12597         * gst/gstindexfactory.h:
12598         * gst/gstpluginfeature.c:
12599         * gst/gstpluginfeature.h:
12600         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12601           more docs inlined, splitted gstindex.{c,h}
12602
12603 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12604
12605         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12606           fix a leak
12607
12608 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12609
12610         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12611           Set sync to FALSE by default.
12612
12613 2005-09-20  Wim Taymans  <wim@fluendo.com>
12614
12615         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12616         (gst_base_sink_init):
12617         Make sync property settable from subclass.
12618
12619         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12620         (gst_fake_sink_change_state):
12621         Set sync to FALSE by default.
12622
12623 2005-09-20  Wim Taymans  <wim@fluendo.com>
12624
12625         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12626         * tools/gst-launch.c: (main):
12627         The timeout handler should have lower priority than the source
12628         so we don't timeout before popping a message with 0 timeout.
12629         Dump error messages after failed state change.
12630
12631 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12632
12633         * tools/gst-inspect.c: (print_element_properties_info):
12634           Fix two typos.
12635
12636 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12637
12638         * check/gst/gstevent.c:
12639         * gst/elements/gstfakesink.c:
12640         * gst/elements/gstfakesink.h:
12641           remove the sync property from fakesink.
12642           has the side effect of setting sync TRUE
12643           for fakesink, which is a change.  Anyone who knows how
12644           to fix this nicely in a GObject-y way, feel free.
12645
12646 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12647
12648         * docs/gst/gstreamer-docs.sgml:
12649           remove probe refsection
12650
12651 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12652
12653         * check/Makefile.am:
12654           disable valgrinding the controller test again
12655         * docs/gst/gstreamer-sections.txt:
12656           update for api-changes
12657
12658 2005-09-20  Wim Taymans  <wim@fluendo.com>
12659
12660         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12661         (gst_base_sink_set_property), (gst_base_sink_get_property),
12662         (gst_base_sink_do_sync):
12663         * gst/base/gstbasesink.h:
12664         Added sync property to basesink to disable clock sync.
12665
12666 2005-09-20  Andy Wingo  <wingo@pobox.com>
12667
12668         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12669         eating the caller's refcount.
12670
12671         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12672         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12673         refcount.
12674
12675         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12676         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12677         of GLib 2.8 public, so we can know which refcount to check in
12678         tests.
12679
12680         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12681         (gst_object_init): Only set the gst refcount if we're going ahead
12682         with the refcount hack.
12683
12684 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12685
12686         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12687         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12688           more leaks plumbed, added more debug-logging
12689         * gst/gstmacros.h:
12690           whitespace fix
12691
12692 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12693
12694         * gst/gstmessage.c:
12695           remove include of gstmemchunk.h
12696
12697 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12698
12699         * gst/gstclock.c: (_gst_clock_id_free):
12700           Commit from the Political Party For More Atomic CVS Commits,
12701           so that people don't waste too much of their day fishing
12702           out obvious leaks out of massive commits.
12703           Oh, and fix a pretty damn obvious leak in the memchunk
12704           removal code.
12705
12706 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12707
12708         * check/Makefile.am:
12709         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12710           plug mem-leak, re-add to valgrindable tests
12711
12712 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12713
12714         * gst/gstplugin.h:
12715           unbreak the build for those who have chronic arthritis
12716           and typing "make check" is just too taxing on the hands
12717
12718 2005-09-20  Andy Wingo  <wingo@pobox.com>
12719
12720         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12721         really want it out, you should fix plugins at the same time.
12722
12723 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12724
12725         * configure.ac:
12726         * docs/gst/gstreamer-sections.txt:
12727         * gst/gstobject.c:
12728           added missing symbols to api docs
12729           disable ref-count hack if we have glib >= 2.8
12730
12731 2005-09-19  David Schleef  <ds@schleef.org>
12732
12733         * docs/gst/Makefile.am: Ignore a few more internal headers
12734         * docs/gst/gstreamer-docs.sgml: Remove old sections
12735         * docs/gst/gstreamer-sections.txt: Remove old sections
12736         * docs/gst/tmpl/gstobject.sgml: update
12737         * docs/gst/tmpl/gstplugin.sgml: update
12738         * docs/gst/tmpl/gstpluginfeature.sgml: update
12739         * docs/random/ds/0.9-suggested-changes: update.
12740         * gst/Makefile.am: remove memchunk and trashstack, since they're
12741           not used.
12742         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12743         * gst/gst.h: don't include some headers
12744         * gst/gstchildproxy.c: add gstmarshal.h
12745         * gst/gstclock.c: Don't use memchunks
12746         * gst/gstminiobject.c: Add some docs
12747         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12748         * gst/gstobject.h: same
12749         * gst/gstplugin.c: include gstmacros.h
12750         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12751         * gst/gstquery.c: don't use memchunks
12752         * gst/gstregistry.c: rename gst_registry_deinit()
12753         * gst/gstregistry.h: same
12754
12755 2005-09-19  David Schleef  <ds@schleef.org>
12756
12757         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12758         * docs/libs/gstreamer-libs-sections.txt:
12759         * docs/libs/tmpl/gstgetbits.sgml:
12760         * docs/libs/tmpl/gstputbits.sgml:
12761
12762 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12763
12764         * win32/gstenumtypes.c:
12765         * win32/gstenumtypes.h:
12766           Update.
12767
12768 2005-09-19  Wim Taymans  <wim@fluendo.com>
12769
12770         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12771         Automatically PAUSE and RESUME a pipeline when a flushing seek
12772         is performed.
12773
12774 2005-09-19  Andy Wingo  <wingo@pobox.com>
12775
12776         * gst/gstregistry.h: Spacing fixen.
12777
12778 2005-09-19  Wim Taymans  <wim@fluendo.com>
12779
12780         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12781         Handle state change failure more correctly.
12782
12783 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12784
12785         * check/Makefile.am:
12786         * check/pipelines/cleanup.c: (run_pipeline):
12787         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12788         (GST_START_TEST):
12789           enable cleanup again after fixing the leak
12790         * docs/README:
12791           some more info on docs
12792
12793 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12794
12795         * check/Makefile.am:
12796           re-enable tests now that leaks are plugged
12797         * check/gst/gst.c:
12798         * check/gst/gstbin.c:
12799         * check/gst/gstpipeline.c:
12800           add some more tests while fixing leaks
12801         * common/check.mak:
12802           make sure binaries are uptodate when valgrinding/gdbing
12803         * gst/gst.c:
12804         * gst/gstelementfactory.c:
12805           remove a ref too many, and add a FIXME for when we get
12806           round to disposing of classes
12807         * gst/gstplugin.c:
12808           fix the refcounting when loading a plugin from a file and
12809           the code pretends that the pointer is the same even though
12810           of course it can change
12811         * gst/gstpluginfeature.c:
12812           unref plugins marked cached (a bit confusing as a name)
12813           as the docs state should be done
12814           various doc additions to explain refcounting
12815         * gst/gstregistry.c:
12816         * gst/gstregistryxml.c:
12817           debugging
12818
12819 2005-09-19  Wim Taymans  <wim@fluendo.com>
12820
12821         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12822         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12823         (send_messages), (GST_START_TEST), (gstbus_suite):
12824         * check/gst/gstpipeline.c: (GST_START_TEST):
12825         * check/pipelines/cleanup.c: (run_pipeline):
12826         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12827         (GST_START_TEST):
12828         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12829         (gst_bus_source_check), (gst_bus_source_dispatch),
12830         (gst_bus_create_watch), (gst_bus_add_watch_full),
12831         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12832         * gst/gstbus.h:
12833         * tools/gst-launch.c: (event_loop):
12834         * tools/gst-md5sum.c: (event_loop):
12835         GstBusHandler -> GstBusFunc, return value has the same meaning as
12836         any other GSource (FALSE == remove source).
12837         _add_watch() and _add_watch_full() now take a MessageType mask to
12838         only handle specific types of messages.
12839         _poll() returns the GstMessage instead of the message type to avoid
12840         race conditions.
12841         _have_pending() takes a MessageType mask now too.
12842         Added testsuite for multiple bus watches.
12843         Fix testsuites and applications for new bus API.
12844
12845 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12846
12847         * check/Makefile.am:
12848           mark a bunch of the tests as to fix until we fix them
12849
12850 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12851
12852         * common/check.mak:
12853           use GST_PLUGIN settings for valgrind tests as well, so we're
12854           valgrinding the correct thing
12855         * gst/gst.c: (init_post):
12856           plug another leak
12857
12858 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12859
12860         * gst/gst.c: (init_post), (gst_deinit):
12861         * gst/gstelementfactory.c: (gst_element_factory_class_init),
12862         (gst_element_factory_finalize), (gst_element_factory_cleanup):
12863         * gst/gstindex.c: (gst_index_factory_class_init),
12864         (gst_index_factory_finalize):
12865         * gst/gstobject.c: (gst_object_dispose):
12866         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12867         (gst_plugin_load_file), (gst_plugin_desc_free):
12868         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12869         (gst_plugin_feature_finalize):
12870         * gst/gstregistry.c: (gst_registry_class_init),
12871         (gst_registry_init), (gst_registry_finalize),
12872         (gst_registry_get_default), (gst_registry_deinit):
12873         * gst/gstregistry.h:
12874         * gst/gstregistryxml.c: (load_feature), (load_plugin):
12875           various cleanups and memleak plugging.  make valgrind is happy now.
12876
12877 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12878
12879         * common/check.mak:
12880           add a check-valgrind target
12881
12882 2005-09-18  David Schleef  <ds@schleef.org>
12883
12884         * tools/gst-inspect.c: Revert the GOption code.
12885
12886 2005-09-17  David Schleef  <ds@schleef.org>
12887
12888         * check/Makefile.am: Fix environment variables.
12889         * check/gst/gstplugin.c: Fix for API changes.
12890         * tools/gst-inspect.c: Fix for API changes.
12891         * tools/gst-xmlinspect.c: Fix for API changes.
12892         * gst/gstelementfactory.c:
12893         * gst/gstplugin.c:
12894         * gst/gstplugin.h:
12895         * gst/gstpluginfeature.c:
12896         * gst/gstpluginfeature.h:
12897         * gst/gstregistry.c:
12898         * gst/gstregistry.h:
12899         * gst/gstregistryxml.c:
12900         * gst/gsttypefind.c:
12901         * gst/gsttypefindfactory.c:
12902         * gst/indexers/gstfileindex.c:
12903         * gst/indexers/gstmemindex.c:
12904         * gst/schedulers/Makefile.am:
12905           Change registry to keep track of both plugins and features,
12906           removing the feature tracking from plugins themselves.
12907
12908 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12909
12910         * check/Makefile.am:
12911         * tools/gst-register.1.in:
12912           remove gst-register
12913
12914 2005-09-15  David Schleef  <ds@schleef.org>
12915
12916         * check/gst/gstplugin.c:
12917         * gst/gstelementfactory.c:
12918         * gst/gstplugin.c:
12919         * gst/gstpluginfeature.c:
12920         * gst/gstregistry.c:
12921           Getting tired of debugging.  Disabled all the unreffing of
12922           plugins and features, which fixes the segfaults, but of
12923           course leaks like crazy.  At least playbin works.
12924
12925 2005-09-15  David Schleef  <ds@schleef.org>
12926
12927         * check/gst/gstplugin.c: (register_check_elements),
12928         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12929         More testing
12930         * gst/elements/gsttypefindelement.c: Fix refcounting.
12931         * gst/gsttypefind.c:
12932         * gst/gsttypefindfactory.c:
12933         * gst/gsttypefindfactory.h:
12934
12935 2005-09-15  David Schleef  <ds@schleef.org>
12936
12937         * gst/gstindex.c: get refcounting correct.
12938         * gst/gstregistry.c: Handle the case where a feature/plugin is
12939           not found.
12940
12941 2005-09-15  David Schleef  <ds@schleef.org>
12942
12943         * check/Makefile.am:
12944         * check/gst/gstplugin.c: Add test
12945         * gst/gstplugin.c: Fix problems noticed by testsuite
12946         * gst/gstplugin.h:
12947         * gst/gstregistry.c: 
12948         * gst/gstregistry.h:
12949
12950 2005-09-15  David Schleef  <ds@schleef.org>
12951
12952         * gst/gstplugin.c: Implement semi-decent recounting and locking
12953           in plugins and plugin features.
12954         * gst/gstplugin.h:
12955         * gst/gstpluginfeature.c:
12956         * gst/gstpluginfeature.h:
12957         * gst/gstregistry.c:
12958
12959 2005-09-15  Michael Smith <msmith@fluendo.com>
12960
12961         * gst/gstregistry.c: (gst_registry_get_feature_list):
12962           Implement this. Makes oggdemux work; decodebin still broken.
12963
12964 2005-09-14  David Schleef  <ds@schleef.org>
12965
12966         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12967           #316076)
12968         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12969         * gst/check/Makefile.am:
12970         * libs/gst/controller/Makefile.am:
12971         * libs/gst/dataprotocol/Makefile.am:
12972
12973 2005-09-14  David Schleef  <ds@schleef.org>
12974
12975         * configure.ac: Remove getbits library.  Nothing uses it, and
12976           it should be in something like liboil if someone did want
12977           to use it.
12978         * libs/gst/Makefile.am:
12979         * libs/gst/getbits/Makefile.am:
12980         * libs/gst/getbits/gbtest.c:
12981         * libs/gst/getbits/getbits.c:
12982         * libs/gst/getbits/getbits.h:
12983         * libs/gst/getbits/gstgetbits_generic.c:
12984         * libs/gst/getbits/gstgetbits_i386.s:
12985         * libs/gst/getbits/gstgetbits_inl.h:
12986
12987 2005-09-14  David Schleef  <ds@schleef.org>
12988
12989         * gst/Makefile.am: Dist glib-compat.h
12990
12991 2005-09-14  David Schleef  <ds@schleef.org>
12992
12993         * configure.ac: Remove gst/registries, since it's no longer used.
12994         * gst/registries/Makefile.am:
12995         * gst/registries/gstlibxmlregistry.c:
12996         * gst/registries/gstlibxmlregistry.h:
12997         * gst/registries/gstxmlregistry.c:
12998         * gst/registries/gstxmlregistry.h:
12999         * gst/registries/registrytest.c:
13000
13001 2005-09-14  David Schleef  <ds@schleef.org>
13002
13003         * gst/glib-compat.h:
13004         * gst/gstregistryxml.c:
13005           Convergence is near.  Seriously.
13006
13007 2005-09-14  David Schleef  <ds@schleef.org>
13008
13009         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13010         * gst/glib-compat.h:
13011           Attempt #4 to appease the buildbots.
13012
13013 2005-09-14  David Schleef  <ds@schleef.org>
13014
13015         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13016           Attempt #3.
13017
13018 2005-09-14  David Schleef  <ds@schleef.org>
13019
13020         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13021         Attempt #2.
13022
13023 2005-09-14  David Schleef  <ds@schleef.org>
13024
13025         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13026           the new functions.
13027
13028 2005-09-14  David Schleef  <ds@schleef.org>
13029
13030         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13031         * gst/glib-compat.h: Add some functions that are in newer versions
13032           of glib than we care to require.
13033         * gst/gstregistryxml.c: Use them.
13034
13035 2005-09-14  David Schleef  <ds@schleef.org>
13036
13037         * po/POTFILES.in: remove gst-register.c
13038
13039 2005-09-14  David Schleef  <ds@schleef.org>
13040
13041         * docs/gst/gstreamer-docs.sgml:
13042         * docs/gst/gstreamer-sections.txt:
13043         * docs/gst/gstreamer.types:
13044         * docs/gst/tmpl/gstelement.sgml:
13045         * docs/gst/tmpl/gstplugin.sgml:
13046         * docs/gst/tmpl/gstpluginfeature.sgml:
13047           Documentation updates for registry changes.
13048
13049 2005-09-14  David Schleef  <ds@schleef.org>
13050
13051         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13052           because we don't require glib-2.8.
13053
13054 2005-09-14  David Schleef  <ds@schleef.org>
13055
13056         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13057           registries directory.
13058
13059 2005-09-14  David Schleef  <ds@schleef.org>
13060
13061         * check/Makefile.am:
13062         * check/generic/states.c:
13063         * gst/Makefile.am:
13064         * gst/gst.c:
13065         * gst/gst.h:
13066         * gst/gst_private.h:
13067         * gst/gstelementfactory.c:
13068         * gst/gstindex.c:
13069         * gst/gstinfo.c:
13070         * gst/gstplugin.c:
13071         * gst/gstplugin.h:
13072         * gst/gstpluginfeature.c:
13073         * gst/gstpluginfeature.h:
13074         * gst/gstregistry.c:
13075         * gst/gstregistry.h:
13076         * gst/gstregistrypool.c: remove
13077         * gst/gstregistrypool.h: remove
13078         * gst/gsttypefind.c:
13079         * gst/gsttypefindfactory.c:
13080         * gst/gsturi.c:
13081         * tools/Makefile.am:
13082         * tools/gst-compprep.c:
13083         * tools/gst-inspect.c:
13084         * tools/gst-register.c: remove
13085         * tools/gst-xmlinspect.c:
13086           Registry rewrite.  Changes registry from being a file created
13087           by a tool into a simple cache file created automatically by 
13088           libgstreamer.  Removed gst-register (because it's no longer
13089           needed).  Remove registry pools, because we only have one
13090           registry implementation (XML).  Fix up other subsystems as
13091           necessary.
13092
13093 2005-09-13  Michael Smith <msmith@fluendo.com>
13094
13095         * gst/gstconfig.h.in:
13096           Don't Use windows linking attributes for MinGW. Fixes #316157
13097
13098 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13099
13100         * gst/gstutils.c: (set_state_async_thread_func),
13101         (gst_element_set_state_async):
13102           Apparently people think it's better if this function doesn't
13103           try to set the state to whatever state was asked for on the first
13104           call to this function for any object.  Seriously.
13105
13106 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13107
13108         * check/gst/gstpipeline.c: (GST_START_TEST):
13109         * docs/gst/gstreamer-sections.txt:
13110         * gst/gstutils.c: (set_state_async_thread_func),
13111         (gst_element_set_state_async):
13112         * gst/gstutils.h:
13113           add a "gst_element_set_state_async" method that
13114           sets the state and starts a thread to make sure the state
13115           change completes as best as it can
13116
13117 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13118
13119         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13120           codify design+behaviour in testsuite after discussion
13121
13122 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13123
13124         * docs/gst/tmpl/gstelement.sgml:
13125         * docs/manual/appendix-quotes.xml:
13126           add a quote
13127         * gst/gstelement.c: (gst_element_set_state):
13128           add some debug
13129
13130 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13131
13132         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13133         (gst_base_transform_prepare_output_buf),
13134         (gst_base_transform_handle_buffer):
13135         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13136         (gst_capsfilter_prepare_buf):
13137           Remove the requirement for sub-classes to call the parent
13138           implementation of prepare_output_buffer with a wrapper function.
13139           
13140         * gst/gsttaglist.h:
13141         * gst/gsttagsetter.h:
13142           Fix #define wrapper
13143
13144 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13145
13146         * docs/gst/gstreamer-sections.txt:
13147           more doc cleanups
13148
13149 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13150
13151         * docs/gst/gstreamer-sections.txt:
13152         * docs/gst/tmpl/gstelement.sgml:
13153         * docs/gst/tmpl/gstplugin.sgml:
13154         * gst/gstminiobject.c:
13155         * gst/gstvalue.h:
13156           docs now stop throwing warnings
13157
13158 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13159
13160         * docs/gst/gstreamer-sections.txt:
13161         * docs/gst/gstreamer.types:
13162         * docs/gst/tmpl/gstpad.sgml:
13163         * docs/gst/tmpl/gsttypes.sgml:
13164         * gst/base/gstadapter.h:
13165         * gst/base/gstbasesink.h:
13166         * gst/base/gstbasesrc.h:
13167         * gst/gstbin.h:
13168         * gst/gstbuffer.h:
13169         * gst/gstbus.h:
13170         * gst/gstcaps.h:
13171         * gst/gstclock.h:
13172         * gst/gstelement.h:
13173         * gst/gstevent.h:
13174         * gst/gstmessage.h:
13175         * gst/gstpad.h:
13176         * gst/gststructure.c:
13177         * gst/registries/gstlibxmlregistry.h:
13178           various documentation fixes
13179
13180 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13181
13182         * docs/gst/gstreamer-sections.txt:
13183         * docs/gst/tmpl/gstvalue.sgml:
13184           rearrange gstvalue section
13185         * gst/gstutils.c: (gst_element_state_get_name):
13186           NONE -> VOID
13187         * gst/gstvalue.c: (_gst_value_initialize):
13188         * gst/gstvalue.h:
13189           doc updates
13190
13191 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13192
13193         * check/gst-libs/controller.c:
13194           Header include fix.
13195         * gst/base/gstbasetransform.c:
13196         (gst_base_transform_default_prepare_buf),
13197         (gst_base_transform_handle_buffer):
13198         * gst/base/gstbasetransform.h:
13199           Some more basetransform changes and fixes to enable sub-classes
13200           that modify buffer metadata only.
13201         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13202         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13203         (gst_capsfilter_prepare_buf):
13204           If the output pad has fixed allowed caps and input buffers 
13205           don't have any, set the fixed caps on outgoing buffers.
13206
13207 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13208         * check/elements/identity.c: (GST_START_TEST):
13209           Make the error a little clearer when the test fails because
13210           identity made a copy of the buffer.
13211         * docs/gst/gstreamer-sections.txt:
13212           New symbols in gstbasetransform.h
13213         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13214         (gst_base_transform_init), (gst_base_transform_transform_size),
13215         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13216         (gst_base_transform_default_prepare_buf),
13217         (gst_base_transform_get_unit_size),
13218         (gst_base_transform_buffer_alloc),
13219         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13220         (gst_base_transform_change_state),
13221         (gst_base_transform_set_passthrough),
13222         (gst_base_transform_set_in_place),
13223         (gst_base_transform_is_in_place):
13224         * gst/base/gstbasetransform.h:
13225           Change BaseTransform to separate in_place operate from same_caps
13226           output. in_place implies that the element can perform the transform
13227           on incoming buffers in-place, even if the caps on the output are
13228           different.
13229           Sub-class elements can now implement special buffer allocation
13230           methods for outgoing buffers if they wish to.
13231           Big documentation addition.
13232         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13233         * gst/elements/gstelements.c:
13234           Changes for basetransform modifications.
13235         * gst/elements/Makefile.am:
13236         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13237           Compile fix. Extra debug output.
13238
13239 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13240
13241         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13242         (gst_pad_suite):
13243           add tests for valid pad naming
13244         * gst/check/gstcheck.c: (gst_check_log_message_func),
13245         (gst_check_log_critical_func):
13246           add ASSERT_WARNING
13247           remove printing of code, it is fragile when the code contains
13248           % and the line number is enough info
13249         * gst/check/gstcheck.h:
13250         * gst/gstpad.c: (gst_pad_template_new):
13251           fix memleaks
13252
13253 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13254
13255         * configure.ac:
13256           say what CHECK flags we use
13257         * docs/libs/gstreamer-libs.types:
13258         * libs/gst/controller/Makefile.am:
13259         * libs/gst/controller/gst-controller.c:
13260         * libs/gst/controller/gst-controller.h:
13261         * libs/gst/controller/gst-helper.c:
13262         * libs/gst/controller/gst-interpolation.c:
13263         * libs/gst/controller/gstcontroller.c:
13264         * libs/gst/controller/gsthelper.c:
13265         * libs/gst/controller/gstinterpolation.c:
13266         * tools/gst-inspect.c: (print_plugin_info):
13267           we don't use dashes in header names
13268
13269 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13270
13271         * check/Makefile.am:
13272         * check/gst/.cvsignore:
13273         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13274         (gst_pipeline_suite), (main):
13275           adding a test for pipelines and state changes
13276         * gst/gstutils.c: (get_state_func):
13277           add some debugging
13278         * gstreamer.spec.in:
13279           fix up spec file
13280
13281 2005-09-08  Michael Smith <msmith@fluendo.com>
13282
13283         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13284         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13285         (gst_file_src_is_seekable), (gst_file_src_get_size),
13286         (gst_file_src_start):
13287         * gst/elements/gstfilesrc.h:
13288           Various fixes for unseekable, unmmapable, and non-normal files, so
13289           that fallback to read() rather than mmap() works.
13290         * gst/gstevent.c: (gst_event_new_newsegment):
13291           Allow newsegment events with segment_start == segment_end, as will
13292           correctly happen if you use filesrc on a zero-size file, for
13293           example.
13294
13295 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13296
13297         * gst/gstplugin.c: (gst_plugin_load_file):
13298           Call g_module_close when we don't load the module
13299
13300         * gst/registries/gstlibxmlregistry.c:
13301         (gst_xml_registry_get_property):
13302           Port leak fix from 0.8
13303
13304 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13305
13306         * docs/gst/gstreamer-docs.sgml:
13307         * docs/gst/tmpl/.cvsignore:
13308         * docs/gst/tmpl/gsttrace.sgml:
13309         * docs/gst/tmpl/gsttrashstack.sgml:
13310         * gst/Makefile.am:
13311         * gst/gst.h:
13312         * gst/gstelement.h:
13313         * gst/gstevent.h:
13314         * gst/gstmessage.c:
13315         * gst/gstmessage.h:
13316         * gst/gsttag.c:
13317         * gst/gsttag.h:
13318         * gst/gsttaginterface.c:
13319         * gst/gsttaginterface.h:
13320         * gst/gsttaglist.c:
13321         * gst/gsttaglist.h:
13322         * gst/gsttagsetter.c:
13323         * gst/gsttagsetter.h:
13324         * gst/gsttrace.c:
13325         * gst/gsttrace.h:
13326         * gst/gsttrashstack.c:
13327           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13328           inlined docs for gsttrace, gsttrashstack
13329
13330 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13331
13332         * gst/Makefile.am:
13333         * gst/elements/gstbufferstore.h:
13334         * gst/elements/gsttypefindelement.c:
13335         * gst/elements/gsttypefindelement.h:
13336         * gst/gst.h:
13337         * gst/gsttypefind.c:
13338         * gst/gsttypefind.h:
13339         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13340         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13341         (gst_type_find_factory_dispose),
13342         (gst_type_find_factory_unload_thyself),
13343         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13344         (gst_type_find_factory_get_caps),
13345         (gst_type_find_factory_get_extensions),
13346         (gst_type_find_factory_call_function):
13347         * gst/gsttypefindfactory.h:
13348         * gst/registries/gstlibxmlregistry.c:
13349         * gst/registries/gstxmlregistry.c:
13350           splitted gsttypefind into gsttypefind, gsttypefindfactory
13351
13352 2005-09-07  Andy Wingo  <wingo@pobox.com>
13353
13354         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13355         condition whereby the pad's task function is entered before the
13356         pad_mode variable was set.
13357
13358 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13359
13360         * gst/gstpad.c: (gst_pad_alloc_buffer):
13361           Catch misbehaving pad_alloc functions that don't
13362           set up caps and do it for them.
13363
13364 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13365
13366         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13367           test for pipe!=NULL
13368         * docs/gst/tmpl/.cvsignore:
13369         * docs/gst/tmpl/gstmemchunk.sgml:
13370         * docs/gst/tmpl/gstparse.sgml:
13371         * docs/gst/tmpl/gsttaglist.sgml:
13372         * docs/gst/tmpl/gsttagsetter.sgml:
13373         * docs/gst/tmpl/gsttypefind.sgml:
13374         * docs/gst/tmpl/gsttypefindfactory.sgml:
13375         * gst/gstmemchunk.c:
13376         * gst/gstparse.c:
13377         * gst/gsttag.c:
13378         * gst/gsttaginterface.c:
13379         * gst/gsttypefind.c:
13380         * gst/gsttypefind.h:
13381           inlined more docs
13382
13383 === release 0.9.2 ===
13384
13385 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13386
13387         * NEWS:
13388         * RELEASE:
13389         * configure.ac:
13390           releasing 0.9.2, "South"
13391
13392 2005-09-05  Andy Wingo  <wingo@pobox.com>
13393
13394         * gst/registries/gstxmlregistry.h:
13395         * gst/registries/gstxmlregistry.c: Um... resurrect...
13396         
13397         * gst/registries/gstxmlregistry.h:
13398         * gst/registries/gstxmlregistry.c: and update to newer API.
13399         Incidentally they should be a bit faster now that they don't have
13400         to parse the caps.
13401         
13402 2005-09-05  Andy Wingo  <wingo@pobox.com>
13403
13404         * gst/registries/gstxmlregistry.h:
13405         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13406         replaced by the libxml registry a while back
13407
13408 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13409
13410         * docs/gst/tmpl/gstplugin.sgml:
13411         * gst/elements/gstelements.c:
13412         * gst/gst.c:
13413         * gst/gstplugin.c: (gst_plugin_register_func),
13414         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13415         (gst_plugin_get_source):
13416         * gst/gstplugin.h:
13417         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13418         (gst_xml_registry_save_plugin):
13419         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13420         (gst_xml_registry_save_plugin):
13421         * tools/gst-inspect.c: (print_plugin_info):
13422           add a "source" plugin description field, to represent the source
13423           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13424           will set it to PACKAGE, which is automake's idea of the name of
13425           the source project.
13426
13427 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13428
13429         * Makefile.am:
13430         * autogen.sh:
13431         * configure.ac:
13432         * docs/Makefile.am:
13433         * docs/faq/Makefile.am:
13434         * docs/gst/tmpl/gstelement.sgml:
13435         * docs/gst/tmpl/gsttypes.sgml:
13436         * docs/htmlinstall.mak:
13437         * docs/manual/Makefile.am:
13438         * docs/pwg/Makefile.am:
13439           reorganize doc build a little
13440           split out docbook and gtk-doc stuff
13441           have two separate --enable's and enable them through autogen
13442           but disable by default in configure (to be similar to other
13443           projects)
13444         * gstreamer.spec.in:
13445           clean up docs install
13446         * po/af.po:
13447         * po/az.po:
13448         * po/ca.po:
13449         * po/cs.po:
13450         * po/de.po:
13451         * po/en_GB.po:
13452         * po/fr.po:
13453         * po/it.po:
13454         * po/nb.po:
13455         * po/nl.po:
13456         * po/ru.po:
13457         * po/sq.po:
13458         * po/sr.po:
13459         * po/sv.po:
13460         * po/tr.po:
13461         * po/uk.po:
13462         * po/vi.po:
13463           translation updates
13464
13465 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13466
13467         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13468           Add comment.
13469           
13470         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13471         (gst_fake_sink_change_state):
13472           Make state change function thread-safe.
13473           
13474         * gst/gstpad.c: (gst_pad_alloc_buffer):
13475           Set offset on generic buffer allocated by fallback.
13476
13477 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13478
13479         * docs/gst/gstreamer-sections.txt:
13480         * docs/gst/tmpl/gstelement.sgml:
13481         * gst/gstpad.c:
13482         * libs/gst/controller/gst-controller.c:
13483         (gst_controlled_property_set_interpolation_mode),
13484         (gst_controlled_property_new),
13485         (gst_controller_find_controlled_property):
13486          run the wingo-magic script against the docs
13487
13488 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13489
13490         * docs/gst/gstreamer-docs.sgml:
13491         * docs/gst/gstreamer-sections.txt:
13492         * docs/gst/tmpl/.cvsignore:
13493         * docs/gst/tmpl/gstelementdetails.sgml:
13494         * docs/gst/tmpl/gstelementfactory.sgml:
13495         * gst/gst.c:
13496         * gst/gstbus.c:
13497         * gst/gstelementfactory.c:
13498         * gst/gstelementfactory.h:
13499           merged elementdetails docs into elementfactory docs
13500           inlined both
13501
13502 2005-09-02  Andy Wingo  <wingo@pobox.com>
13503
13504         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13505         consider this enum an enum and not a flags.
13506
13507 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13508
13509         * docs/gst/gstreamer-docs.sgml:
13510         * docs/gst/tmpl/.cvsignore:
13511         * docs/gst/tmpl/gstghostpad.sgml:
13512         * docs/gst/tmpl/gstiterator.sgml:
13513         * docs/gst/tmpl/gstmacros.sgml:
13514         * docs/gst/tmpl/gstrealpad.sgml:
13515         * docs/gst/tmpl/gstregistry.sgml:
13516         * docs/gst/tmpl/gstregistrypool.sgml:
13517         * docs/gst/tmpl/gststructure.sgml:
13518         * docs/gst/tmpl/gstsystemclock.sgml:
13519         * docs/gst/tmpl/gsttrace.sgml:
13520         * gst/gstghostpad.c:
13521         * gst/gstmacros.h:
13522         * gst/gstmemchunk.c:
13523         * gst/gstmemchunk.h:
13524         * gst/gstqueue.c:
13525         * gst/gstregistry.c:
13526         * gst/gstregistrypool.c:
13527         * gst/gststructure.c:
13528         * gst/gstsystemclock.c:
13529           more docs inlined
13530
13531 2005-09-02  Andy Wingo  <wingo@pobox.com>
13532
13533         * gst/gstelement.h (GstState): Renamed from GstElementState,
13534         changed to be a normal enum instead of flags.
13535         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13536         munged to be GST_STATE_CHANGE_*.
13537         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13538         work with the new state representation.
13539         (GstStateChange): New enumeration of possible state transitions.
13540         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13541         (GstElementClass::change_state): Pass the GstStateChange along as
13542         an argument. Helps language bindings, so they don't have to use
13543         tricky lock-needing macros like GST_STATE_CHANGE ().
13544
13545         * scripts/update-states (file): New script. Run it on a file to
13546         update it for state naming and API changes. Updates files in
13547         place.
13548
13549         * All files updated for the new API.
13550
13551 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13552
13553         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13554         * gst/gstutils.c: (gst_util_set_value_from_string),
13555         (gst_util_set_object_arg):
13556           fix a bunch of unchecked return values
13557         * tools/gst-complete.c: (main):
13558         * gstreamer.spec.in:
13559           clean up a little
13560
13561 2005-09-01  Wim Taymans  <wim@fluendo.com>
13562
13563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13564         (gst_base_sink_event), (gst_base_sink_do_sync),
13565         (gst_base_sink_handle_event):
13566         * gst/base/gstbasesink.h:
13567         Handle newsegments more correctly.
13568
13569         * gst/gstbus.c:
13570         Fix docs.
13571
13572         * gst/gstevent.c: (gst_event_new_newsegment):
13573         A newsegment cannot have a start_time of -1
13574
13575 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13576
13577         * win32/gstenumtypes.c:
13578         * win32/gstenumtypes.h:
13579           Update
13580
13581 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13582
13583         * libs/gst/controller/gst-controller.c:
13584         (gst_controlled_property_set_interpolation_mode),
13585         (gst_controlled_property_new):
13586          fixed boolean again
13587
13588 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13589
13590         * docs/faq/gst-uninstalled:
13591           add -good
13592         * gst/gstevent.c:
13593         * gst/gstevent.h:
13594           remove wrong docs
13595         * gst/gstutils.c: (gst_element_link_filtered):
13596         * gst/gstutils.h:
13597           add gst_element_link_filtered
13598
13599 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13600
13601         * docs/gst/gstreamer-docs.sgml:
13602         * docs/gst/gstreamer-sections.txt:
13603         * docs/gst/tmpl/.cvsignore:
13604         * docs/gst/tmpl/gsterror.sgml:
13605         * docs/gst/tmpl/gstfilter.sgml:
13606         * docs/gst/tmpl/gsturihandler.sgml:
13607         * docs/gst/tmpl/gsturitype.sgml:
13608         * docs/gst/tmpl/gstutils.sgml:
13609         * docs/gst/tmpl/gstxml.sgml:
13610         * gst/gsterror.c:
13611         * gst/gsterror.h:
13612         * gst/gstfilter.c:
13613         * gst/gsturi.c:
13614         * gst/gsturitype.c:
13615         * gst/gstutils.c:
13616         * gst/gstxml.c:
13617           inlined more docs, fixed double id-ref
13618
13619 2005-08-31  Wim Taymans  <wim@fluendo.com>
13620
13621         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13622         (gst_base_transform_handle_buffer):
13623         Passthrough elements don't need the caps as they don't care.
13624
13625 2005-08-31  Wim Taymans  <wim@fluendo.com>
13626
13627         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13628         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13629         Don't leak refcounts on buffers.
13630
13631 2005-08-31  Wim Taymans  <wim@fluendo.com>
13632
13633         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13634         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13635         (gst_base_transform_chain), (gst_base_transform_change_state):
13636         * gst/base/gstbasetransform.h:
13637         Handle the case where we are not negotiated more gracefully.
13638
13639 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13640
13641         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13642         (gst_file_src_map_region):
13643           Set READONLY flag on mmap'ed buffers, otherwise
13644           gst_buffer_make_writable() won't work properly (#314708).
13645
13646 2005-08-31  Wim Taymans  <wim@fluendo.com>
13647
13648         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13649         passthrough elements can even do inplace on non writable
13650         buffers (as they don't touch them).
13651
13652 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13653
13654         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13655         (gst_test_mono_source_set_property),
13656         (gst_test_mono_source_class_init), (GST_START_TEST),
13657         (gst_controller_suite):
13658           more tests (hehe I have the most)
13659         * gst/gstbus.c:
13660           describe popping messages whenusing mulltiple sources
13661         * libs/gst/controller/gst-controller.c:
13662         (gst_controlled_property_set_interpolation_mode),
13663         (gst_controlled_property_new):
13664         * libs/gst/controller/gst-controller.h:
13665         * libs/gst/controller/gst-interpolation.c:
13666           implement boolean properties
13667
13668 2005-08-31  Wim Taymans  <wim@fluendo.com>
13669
13670         * gst/gstminiobject.c: (gst_mini_object_ref):
13671         Cannot assert that the refcount has to be positive
13672         since a disposed object can be resurrected.
13673
13674 2005-08-31  Wim Taymans  <wim@fluendo.com>
13675
13676         * gst/gstpad.c: (gst_pad_init):
13677         Revert change, need to first fix badly behaving 
13678         apps.
13679
13680 2005-08-30  Wim Taymans  <wim@fluendo.com>
13681
13682         * check/elements/fakesrc.c: (setup_fakesrc):
13683         * check/elements/identity.c: (setup_identity):
13684         Activate pads before using them.
13685
13686 2005-08-30  Wim Taymans  <wim@fluendo.com>
13687
13688         * gst/base/gstadapter.c: (gst_adapter_flush):
13689         Flushing out 0 bytes is ok for this function.
13690
13691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13692         no newsegment gives a warning and sets the start/stop to 
13693         invalid.
13694
13695         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13696         (gst_base_transform_set_passthrough):
13697         Some debug info.
13698
13699         * gst/gstminiobject.c: (gst_mini_object_ref):
13700         Check refcount here too.
13701
13702         * gst/gstpad.c: (gst_pad_init):
13703         Pads are initially flushing and refusing data.
13704
13705         * gst/gstutils.c: (gst_element_link_pads_filtered):
13706         When adding a capsfilter element make sure it has the
13707         same state as the parent bin.
13708
13709 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13710
13711         * docs/gst/tmpl/.cvsignore:
13712         * docs/gst/tmpl/gstformat.sgml:
13713         * docs/gst/tmpl/gstversion.sgml:
13714         * gst/gstbus.h:
13715         * gst/gstformat.c:
13716         * gst/gstformat.h:
13717         * gst/gstversion.h.in:
13718           more docs and two more inlined
13719
13720 2005-08-30  Wim Taymans  <wim@fluendo.com>
13721
13722         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13723         Don't sync to clock.
13724
13725 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13726
13727         * docs/gst/gstreamer-sections.txt:
13728           ultral33t func10ns deserve to appear in the docs actually
13729         * docs/gst/tmpl/.cvsignore:
13730         * docs/gst/tmpl/gstcompat.sgml:
13731         * docs/gst/tmpl/gstconfig.sgml:
13732         * gst/check/gstcheck.c:
13733         * gst/gstcompat.h:
13734         * gst/gstconfig.h.in:
13735           inlined more docs
13736
13737 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13738
13739         * docs/gst/tmpl/.cvsignore:
13740         * docs/gst/tmpl/gstquery.sgml:
13741         * docs/gst/tmpl/gstutils.sgml:
13742         * gst/gstquery.c:
13743         * gst/gstquery.h:
13744           inlined and extended docs
13745
13746 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13747
13748         * check/gst-libs/controller.c: (GST_START_TEST),
13749         (gst_controller_suite):
13750           more tests
13751         * docs/gst/tmpl/gstutils.sgml:
13752         * docs/libs/gstreamer-libs-sections.txt:
13753         * docs/libs/tmpl/gstdataprotocol.sgml:
13754           include path fixes
13755         * examples/controller/audio-example.c: (main):
13756           controller example works now
13757         * gst/gstclock.h:
13758           doc fixes
13759         * tools/gst-inspect.c: (print_element_properties_info):
13760           show param spec flags
13761
13762 2005-08-29  Andy Wingo  <wingo@pobox.com>
13763
13764         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13765
13766 2005-08-28  Andy Wingo  <wingo@pobox.com>
13767
13768         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13769         as having two arguments instead of just one. Allows superclasses
13770         to access information on subclasses -- see the terrible for() loop
13771         in gtype.c:g_type_create_instance for the reason why. All callers
13772         changed.
13773
13774 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13775
13776         * docs/design/part-messages.txt:
13777           update info
13778         * docs/gst/tmpl/.cvsignore:
13779         * docs/gst/tmpl/gstcaps.sgml:
13780         * docs/gst/tmpl/gstclock.sgml:
13781         * gst/gstbus.c:
13782         * gst/gstcaps.c:
13783         * gst/gstcaps.h:
13784         * gst/gstclock.c:
13785         * gst/gstclock.h:
13786         * gst/gstmessage.c:
13787           added descriptions for bus and message
13788           inline caps and clock docs
13789
13790 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13791
13792         * gst/gstmessage.c:
13793         * gst/gstmessage.h:
13794           doc fixes
13795
13796 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13797
13798         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13799           fix div-by-zero
13800
13801 2005-08-26  Andy Wingo  <wingo@pobox.com>
13802
13803         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13804         element_set_state's return val.
13805         (test_2_elements): Add test that's been disabled for months.
13806
13807         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13808         can-activate-pull properties.
13809
13810         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13811         can-activate-pull properties. Implement is_seekable so fakesrc can
13812         operate in pull mode.
13813
13814         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13815         properties.
13816         (gst_base_sink_activate, gst_base_sink_activate_pull)
13817         (gst_base_sink_activate_push): Make activation mode choosing work.
13818         Cleanups.
13819         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13820         is right. Make pull mode work. Post an eos before pausing in pull
13821         mode.
13822         (gst_base_sink_change_state): Pay attention to the core's
13823         change_state() return val.
13824         
13825         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13826         has-getrange properties. Cleanups.
13827         
13828         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13829         has_getrange and replace with can_activate_pull and
13830         can_activate_push.
13831
13832         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13833         locking comments. Remove has_loop, has_chain and replace with
13834         can_activate_pull and can_activate_push.
13835
13836 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13837
13838         * configure.ac:
13839         * examples/Makefile.am:
13840         * examples/metadata/Makefile.am:
13841         * examples/metadata/read-metadata.c: (message_loop),
13842         (have_pad_handler), (make_pipeline), (print_tag), (main):
13843           Add metadata reading example that loops over a list of filenames,
13844           dumping any tags found.
13845
13846         * gst/gstbus.c: (gst_bus_dispose):
13847         * gst/gstelement.c: (gst_element_dispose):
13848           Release a few potentially-held references in dispose.
13849
13850 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13851
13852         * docs/gst/tmpl/gstminiobject.sgml:
13853           do *not* add tmpl/*.sgml files to CVS!
13854
13855 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13856
13857         * libs/gst/bytestream/.cvsignore:
13858         * libs/gst/bytestream/Makefile.am:
13859         * libs/gst/bytestream/adapter.c:
13860         * libs/gst/bytestream/adapter.h:
13861         * libs/gst/bytestream/bytestream.c:
13862         * libs/gst/bytestream/bytestream.h:
13863         * libs/gst/bytestream/filepad.c:
13864         * libs/gst/bytestream/filepad.h:
13865           removing obsolete files
13866
13867 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13868
13869         * docs/gst/gstreamer-docs.sgml:
13870         * docs/libs/gstreamer-libs-docs.sgml:
13871           disabed additional index entries again, as this makes docs-gen just
13872           slow and they aren't useful yet
13873         * docs/libs/gstreamer-libs-sections.txt:
13874           little -section.txt cleanup for libs
13875
13876 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13877
13878         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13879         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13880           fix up some debugging
13881         (gst_base_transform_get_unit_size),
13882         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13883         (gst_base_transform_handle_buffer):
13884         * gst/base/gstbasetransform.h:
13885           handle and store timed NEWSEGMENT events so that subclasses that
13886           calculate time by counting samples have a segment_start time they
13887           need to add to their timestamps - see audioresample
13888
13889 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13890
13891         * gst/gstbin.h:
13892           removed ';' from the end of macro defs
13893         * docs/gst/gstreamer-docs.sgml:
13894         * docs/gst/gstreamer-sections.txt:
13895         * docs/gst/tmpl/.cvsignore:
13896         * gst/gstbus.h:
13897         * gst/gstelement.c: (gst_element_class_init),
13898         (gst_element_set_state), (activate_pads),
13899         (gst_element_save_thyself):
13900         * gst/gstevent.c: (gst_event_new_newsegment):
13901         * gst/gstevent.h:
13902         * gst/gstiterator.c:
13903         * gst/gstiterator.h:
13904         * gst/gstpad.c:
13905         * gst/gstprobe.h:
13906         * gst/gstutils.c: (gst_pad_query_convert):
13907         * gst/gstutils.h:
13908           fixed parameter name mismatches between source, header and docs
13909           added some more docs, resolved the last batch of unused elements in
13910           docs (now someone needs to doc them)
13911
13912 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13913
13914         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13915         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13916           don't walk through the plugins backwards.  Where is all this
13917           reversed logic coming from ?
13918
13919 2005-08-25  Wim Taymans  <wim@fluendo.com>
13920
13921         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13922         (gst_base_transform_transform_size),
13923         (gst_base_transform_configure_caps),
13924         (gst_base_transform_get_unit_size),
13925         (gst_base_transform_buffer_alloc),
13926         (gst_base_transform_change_state):
13927         * gst/base/gstbasetransform.h:
13928         Cache caps unit_size.
13929         Make sure we cannot negotiate up and downstream at the
13930         same time.
13931
13932 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13933
13934         * gst/gst.c: (init_pre), (init_post):
13935           register the installed plugin path after the env var
13936         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13937         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13938           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13939           directories, so the tests can prefer uninstalled over installed
13940
13941 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13942
13943         * gst/base/gstbasetransform.h:
13944           comment
13945         * gst/gstpad.c:
13946           add to docs
13947
13948 2005-08-25  Wim Taymans  <wim@fluendo.com>
13949
13950         * gst/gstbin.c: (bin_bus_handler):
13951         Be a bit more conservative about the posted message.
13952         
13953         * gst/gstbus.c: (gst_bus_post):
13954         Some cleanups, warn wrong return values.
13955
13956 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
13957
13958         * check/gst/gstbin.c: (GST_START_TEST):
13959         * gst/gstbin.c: (bin_bus_handler):
13960         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13961         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13962         (gst_message_new_warning), (gst_message_new_tag),
13963         (gst_message_new_state_changed), (gst_message_new_segment_start),
13964         (gst_message_new_segment_done), (gst_message_new_custom):
13965         * gst/gstmessage.h:
13966         * tools/gst-launch.c: (event_loop):
13967         * tools/gst-md5sum.c: (event_loop):
13968           Revert unpopular change for GST_MESSAGE_SRC to GObject.
13969
13970 2005-08-25  Wim Taymans  <wim@fluendo.com>
13971
13972         * check/generic/states.c: (GST_START_TEST):
13973         Cleanup can be done at the end.
13974
13975         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13976         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13977         (gst_task_get_state), (gst_task_start), (gst_task_pause):
13978         Oh boy.. Thanks for finding this, Thomas. 
13979
13980 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13981
13982         * docs/gst/gstreamer.types:
13983           added missing types
13984
13985 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
13986
13987         * docs/gst/gstreamer-docs.sgml:
13988         * docs/gst/gstreamer-sections.txt:
13989         * docs/gst/tmpl/.cvsignore:
13990         * gst/gstbin.c:
13991         * gst/gstiterator.c:
13992         * gst/gstutils.c:
13993         * gst/registries/gstxmlregistry.h:
13994           added missing classes and symbols (123 more to go)
13995           removed removed symbols from section file
13996           fixed many doc-comments
13997
13998 2005-08-24  Wim Taymans  <wim@fluendo.com>
13999
14000         * check/generic/states.c: (GST_START_TEST):
14001         Make sure all tasks are stopped.
14002
14003         * check/gst/gstbin.c: (GST_START_TEST):
14004         Unref after usage for proper valgrinding.
14005
14006         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14007         Really wait for the task to stop before destroying the
14008         mutex.
14009
14010         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14011         (gst_queue_src_activate_push):
14012         Small cleanups. Don't stop the task when we did not start
14013         it.
14014
14015         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14016         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14017         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14018         (gst_task_join):
14019         * gst/gsttask.h:
14020         Protect the stream lock with the object lock.
14021         Disallow setting the stream lock when running.
14022         Add cleanup_all to wait for the threadpool to finish.
14023         Remove code to autoallocate a mutex if none was provided.
14024         Add _join() to wait for a task to stop.
14025         Protect the thread pool with a global lock.
14026
14027 2005-08-24  Wim Taymans  <wim@fluendo.com>
14028
14029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14030         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14031         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14032         * gst/base/gstbasesink.h:
14033         Handle newsegment events correctly.
14034         Drop buffers out of the segment range.
14035
14036 2005-08-22  Andy Wingo  <wingo@pobox.com>
14037
14038         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14039         macro, implements an interface and gstimplementsinterface for a
14040         new type.
14041
14042 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14043
14044         * check/Makefile.am:
14045         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14046           add a test that does a bunch of state changes on elements
14047           needs some fixing for valgrind
14048         * check/states/sinks.c: (gst_object_suite):
14049           whitespace
14050         * gst/gstcaps.h:
14051           add prototype for gst_caps_is_equal_fixed
14052         * gst/gstplugin.c:
14053         * gst/gstregistrypool.c:
14054           doc fixes
14055
14056 2005-08-24  Andy Wingo  <wingo@pobox.com>
14057
14058         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14059         convert a negative value. Doesn't make much sense. Mostly this is
14060         here to force callers to ensure -1 maps to -1.
14061
14062 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14063
14064         * docs/pwg/advanced-types.xml:
14065           Well done to Michael for catching my deliberate introduction
14066           of this spelling mistake. 
14067         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14068         * gst/gstelement.h:
14069           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14070           unlink pads before removing the element from the bin.
14071
14072 2005-08-24  Andy Wingo  <wingo@pobox.com>
14073
14074         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14075         the same thing as GST_DEBUG=*:4.
14076         (parse_debug_level, parse_debug_category): New helper parsers.
14077
14078 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14079
14080         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14081         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14082         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14083         (gst_base_transform_buffer_alloc),
14084         (gst_base_transform_handle_buffer):
14085           use gboolean return values and pointers to size so we can use the
14086           full GST_BUFFER_SIZE range (guint) for buffer sizes
14087           use GstPadDirection for transform_caps
14088         * gst/base/gstbasetransform.h:
14089           rename get_size to get_unit_size since that's what it is
14090         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14091           use GstPadDirection for transform_caps
14092         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14093         * gst/gstutils.h:
14094           cleanup and debugging
14095
14096 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14097
14098         * gst/gstelement.c: (gst_element_class_init),
14099         (gst_element_set_state), (activate_pads),
14100         (gst_element_save_thyself):
14101         * tools/gst-compprep.c: (main):
14102         * tools/gst-inspect.c: (print_element_properties_info):
14103         * tools/gst-xmlinspect.c: (print_element_properties):
14104           Fixed long standing mem-leak
14105
14106 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14107
14108         * check/gst/gstbin.c: (GST_START_TEST):
14109         * gst/gstbin.c: (bin_bus_handler):
14110         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14111         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14112         (gst_message_new_warning), (gst_message_new_tag),
14113         (gst_message_new_state_changed), (gst_message_new_segment_start),
14114         (gst_message_new_segment_done), (gst_message_new_custom):
14115         * gst/gstmessage.h:
14116         * tools/gst-launch.c: (event_loop):
14117         * tools/gst-md5sum.c: (event_loop):
14118           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14119           that applications can sensibly post custom messages with references
14120           to their own objects.
14121
14122 2005-08-24  Andy Wingo  <wingo@pobox.com>
14123
14124         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14125         already.
14126
14127 2005-08-24  Wim Taymans  <wim@fluendo.com>
14128
14129         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14130         (gst_base_transform_transform_caps),
14131         (gst_base_transform_transform_size),
14132         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14133         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14134         (gst_base_transform_handle_buffer):
14135         * gst/base/gstbasetransform.h:
14136         Many fixes and new features added by Thomas. Can now also do
14137         transforms with variable sizes and a custom fixate_caps function.
14138
14139 2005-08-24  Wim Taymans  <wim@fluendo.com>
14140
14141         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14142         Some debugging.
14143
14144         * gst/gstclock.h:
14145         Cast to ClockTime before formatting to time.
14146
14147         * gst/gstutils.h:
14148         Cleanups.
14149
14150 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14151
14152         * check/gst-libs/controller.c: (GST_START_TEST),
14153         (gst_controller_suite):
14154         * docs/gst/tmpl/gstcaps.sgml:
14155         * docs/gst/tmpl/gstghostpad.sgml:
14156         * docs/gst/tmpl/gstquery.sgml:
14157         * docs/gst/tmpl/gstutils.sgml:
14158         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14159         (gst_object_sink_values), (gst_object_get_value_arrays),
14160         (gst_object_get_value_array):
14161           gracefully handle helper method calls to objects that are not beeing
14162           controlled, added test case for that          
14163
14164 2005-08-23  Wim Taymans  <wim@fluendo.com>
14165
14166         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14167         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14168         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14169         (gst_event_parse_qos), (gst_event_new_seek),
14170         (gst_event_parse_seek):
14171         * gst/gstevent.h:
14172         Some more debugging output and doc cleanups.
14173
14174         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14175         Fix possible deadlock.
14176
14177 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14178
14179         * docs/gst/gstreamer-docs.sgml:
14180         * docs/gst/gstreamer-sections.txt:
14181         * docs/gst/gstreamer.types:
14182         * docs/gst/tmpl/.cvsignore:
14183         * gst/gstbin.h:
14184         * gst/gstbus.c:
14185         * gst/gstelement.c:
14186         * gst/gstevent.h:
14187           added 100 symbols from gstreamer-unused.txt to the right sections
14188           fixed more broken comments
14189           added GstBus to docs
14190
14191 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14192
14193         * docs/gst/gstreamer-sections.txt:
14194         * docs/gst/tmpl/.cvsignore:
14195         * docs/gst/tmpl/gstbin.sgml:
14196         * docs/gst/tmpl/gstbuffer.sgml:
14197         * gst/base/gstbasesrc.c:
14198         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14199         * gst/gstbuffer.c:
14200         * gst/gstbuffer.h:
14201         * tools/gst-launch.1.in:
14202           inlined more doc comments, added missing comments and fixed comments
14203           fixed typos
14204
14205 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14206
14207         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14208           some debugging
14209         * gst/gstcaps.h:
14210           whitespace fixes
14211         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14212           more debugging
14213         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14214         * gst/gststructure.h:
14215           add a fixate function for booleans; add a FIXME that these func
14216           names should probably be gst_structure_fixate_*
14217
14218 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14219
14220         * docs/gst/gstreamer-docs.sgml:
14221         * docs/gst/gstreamer-sections.txt:
14222         * gst/Makefile.am:
14223         * gst/gstbin.c: (gst_bin_get_type),
14224         (gst_bin_child_proxy_get_child_by_index),
14225         (gst_bin_child_proxy_get_children_count),
14226         (gst_bin_child_proxy_init):
14227         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14228         (gst_child_proxy_get_child_by_index),
14229         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14230         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14231         (gst_child_proxy_get), (gst_child_proxy_set_property),
14232         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14233         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14234         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14235         * gst/gstchildproxy.h:
14236         * gst/parse/grammar.y:
14237         * tools/gst-inspect.c: (print_interfaces),
14238         (print_element_properties_info), (print_element_info):
14239           ported gstchildproxy over from 0.8
14240           ported gst-inspect fixes and enhancements over from 0.8
14241
14242 2005-08-22  Wim Taymans  <wim@fluendo.com>
14243
14244         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14245         (gst_base_transform_handle_buffer):
14246         Also call the transform function if we have ANY caps.
14247
14248         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14249         Fix debug info.
14250
14251 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14252
14253         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14254           Don't pretend to handle seek events if the source is not seekable
14255
14256 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14257
14258         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14259           Remove extra parameter to debug output
14260
14261         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14262         (gst_base_src_do_seek), (gst_base_src_activate_push):
14263           Fix seek event handling.
14264
14265         * gst/gstpipeline.c: (gst_pipeline_change_state):
14266         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14267         (gst_queue_src_activate_push):
14268           Don't start the src pad task on FLUSH_STOP if the pad
14269           isn't linked.
14270           Debug changes.
14271
14272 2005-08-22  Wim Taymans  <wim@fluendo.com>
14273
14274         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14275         Added check for gst_static_caps_get() refcounting.
14276
14277 2005-08-22  Wim Taymans  <wim@fluendo.com>
14278
14279         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14280         Make _static_caps_get() refcounting sane.
14281         
14282         * gst/gstelement.c: (gst_element_set_state):
14283         Add g_return_val_if_fail() to protect against segfaults.
14284
14285 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14286
14287         * docs/gst/tmpl/gstevent.sgml:
14288         * gst/gstevent.c:
14289         * gst/gstevent.h:
14290           inlined remaining docs, added missing doc comments
14291
14292 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14293
14294         * check/gst/gstbin.c: (GST_START_TEST):
14295           since we don't know when preroll is done, use refcount range
14296           check for the sink
14297         * gst/check/gstcheck.h:
14298           add macro for checking refcount range
14299
14300 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14301
14302         * check/Makefile.am:
14303           clean up environment for when registry gets built versus
14304           when actual tests are run; valgrind seems to not report
14305           leaks if GST_PLUGIN_PATH is set to some specific values
14306         * check/gst/gstbin.c: (GST_START_TEST):
14307           add more refcounting checks; maybe this exposes a
14308           preroll lock bug ?
14309         * common/check.mak:
14310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14311         * gst/check/gstcheck.h:
14312         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14313         (gst_bin_change_state):
14314         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14315           add/fix debugging/whitespace
14316
14317 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14318
14319         * check/gst/gstevent.c: (event_probe), (test_event),
14320         (GST_START_TEST):
14321          Er, don't call gst_bin_watch_for_state_change you idiot.
14322
14323 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14324
14325         * check/Makefile.am:
14326           Use CHECK_CFLAGS and CHECK_LIBS
14327         * check/gst/gstevent.c: (event_probe), (test_event),
14328         (GST_START_TEST):
14329           Don't leak events.
14330         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14331         (gst_base_src_start), (gst_base_src_stop),
14332         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14333         (gst_base_src_change_state):
14334           Sprinkle gst_base_src_stop liberally around error paths to fix
14335           problems reusing a source after failed state changes.
14336         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14337         (helper_find_suggest), (gst_type_find_helper):
14338           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14339         * gst/gstevent.h:
14340         * docs/gst/tmpl/gstevent.sgml:
14341           Migrate part of the docs from the SGML file. Wait for ensonic to
14342           tell me how I did it wrong ;)
14343         * tools/gst-typefind.c: (main):
14344           Extra robustness to state changes between files.
14345
14346 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14347
14348         * check/Makefile.am:
14349           don't valgrind the controller test - it's leaking - Stefan, HELP
14350         * gst/check/gstcheck.c: (gst_check_message_error),
14351         (gst_check_chain_func), (gst_check_setup_element),
14352         (gst_check_teardown_element), (gst_check_setup_src_pad),
14353         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14354         (gst_check_teardown_sink_pad):
14355         * gst/check/gstcheck.h:
14356           add a bunch of methods to set up elements, and src and sink pads
14357         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14358         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14359         (GST_START_TEST):
14360           use them
14361         * gst/gstmessage.c:
14362         * gst/gsttag.h:
14363           whitespace/doc fixes
14364
14365 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14366
14367         * gst/gstelement.h:
14368           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14369           be handled by the application and not always printed as well
14370
14371 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14372
14373         * check/Makefile.am:
14374           set GST_TOOLS_DIR
14375         * gst/check/gstcheck.c: (gst_check_message_error):
14376         * gst/check/gstcheck.h:
14377           add a fail_unless_equals_int
14378           add fail_unless for error messages
14379
14380 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14381
14382         * check/Makefile.am:
14383         * check/gst.supp:
14384         * common/Makefile.am:
14385         * common/check.mak:
14386         * common/gst.supp:
14387           factor out some of the common stuff so we can use it
14388
14389 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14390
14391         * check/Makefile.am:
14392         * check/gst/gstiterator.c: (GST_START_TEST):
14393         * check/gst/gstsystemclock.c: (GST_START_TEST),
14394         (gst_systemclock_suite):
14395         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14396         * gst/gstclock.c:
14397           valgrind more tests
14398
14399 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14400
14401         * check/elements/.cvsignore:
14402         * check/elements/gstfakesrc.c:
14403           rename to name of element
14404         * check/elements/identity.c: (chain_func), (event_func),
14405         (setup_identity), (cleanup_identity), (GST_START_TEST),
14406         (identity_suite), (main):
14407           add a test for identity
14408         * check/Makefile.am:
14409         * pkgconfig/Makefile.am:
14410         * pkgconfig/gstreamer-check.pc.in:
14411         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14412         * gst/check:
14413         * gst/Makefile.am:
14414         * configure.ac:
14415           move the check stuff to a library that gets installed
14416         * check/gst-libs/controller.c: (GST_START_TEST):
14417         * check/gst-libs/gdp.c:
14418         * check/gst/gst.c: (GST_START_TEST):
14419         * check/gst/gstbin.c:
14420         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14421         * check/gst/gstbus.c:
14422         * check/gst/gstcaps.c: (GST_START_TEST):
14423         * check/gst/gstelement.c:
14424         * check/gst/gstghostpad.c:
14425         * check/gst/gstiterator.c:
14426         * check/gst/gstmessage.c:
14427         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14428         * check/gst/gstobject.c:
14429         * check/gst/gstpad.c: (GST_START_TEST):
14430         * check/gst/gststructure.c: (GST_START_TEST):
14431         * check/gst/gstsystemclock.c: (GST_START_TEST),
14432         (gst_systemclock_suite):
14433         * check/gst/gsttag.c: (gst_tag_suite):
14434         * check/gst/gstvalue.c:
14435         * check/pipelines/cleanup.c:
14436         * check/pipelines/simple_launch_lines.c:
14437         * check/states/sinks.c:
14438           change include statement
14439
14440         * docs/gst/gstreamer-sections.txt:
14441         * docs/gst/tmpl/gstpad.sgml:
14442           document more pad stuff
14443         * gst/gstminiobject.c: (gst_mini_object_ref),
14444         (gst_mini_object_unref):
14445           debug refcounting
14446
14447 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14448
14449         * docs/gst/tmpl/gst.sgml:
14450         * gst/gst.c:
14451           eliminate another tmpl file, fix spelling in the long-description
14452
14453 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14454
14455         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14456         (test_event), (timediff), (gstevents_suite):
14457           Should fix build on 64-bit arch's
14458
14459 2005-08-18  Andy Wingo  <wingo@pobox.com>
14460
14461         Make sure that when a pipeline goes to PLAYING, that data has
14462         actually hit the sink.
14463
14464         * check/states/sinks.c (test_sink): A sink that doesn't get any
14465         data shouldn't return SUCCESS for going to either PLAYING or
14466         PAUSED. Test also the return values on the way back down.
14467
14468         * gst/gstelement.c (gst_element_set_state): When changing the
14469         state of an element currently changing state asynchronously, go to
14470         lost-state after commiting the pending state. Makes future calls
14471         to get_state continue to return ASYNC.
14472
14473         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14474         ASYNC when going to PLAYING if we still don't have preroll, as can
14475         happen with live sources.
14476
14477 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14478
14479         * docs/pwg/advanced-types.xml:
14480           Hack long paragraph into 2 chunks as a workaround for buggy
14481           jadetex version in sid and breezy that loops infinitely and
14482           eats all RAM.
14483
14484 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14485
14486         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14487         (test_event), (timediff), (gstevents_suite):
14488           Provide more error margin in clock measurements to allow for 
14489           g_get_current_time inaccuracies.
14490
14491 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14492
14493         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14494         (test_event), (timediff), (gstevents_suite):
14495            Fix error message output so I might be able to tell why the
14496            test works here but fails on the build farm.
14497
14498 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14499
14500         * check/Makefile.am:
14501         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14502         (test_event), (timediff), (gstevents_suite), (main):
14503           I wrote a test!
14504
14505         * docs/design/part-seeking.txt:
14506           Spelling correction
14507
14508         * docs/gst/tmpl/gstevent.sgml:
14509         * docs/gst/tmpl/gstfakesrc.sgml:
14510           Docs updates.
14511
14512         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14513           Treat a buffer-without-newsegment the same as a receiving 
14514           a newsegment not in time format, and disable syncing to the clock
14515           with a warning.
14516
14517         * gst/gstbus.c: (gst_bus_set_sync_handler):
14518           Assert if anyone tries to replace the existing sync_handler for bus, 
14519           as only the owner should be setting it.
14520
14521         * gst/gstevent.h:
14522           Have a fixed set of custom event enums with events identified by
14523           their structure name (as in 0.8), rather than a free-for-all
14524           allowing collisions between enum values from different plugins.
14525
14526         * gst/gstpad.c: (gst_pad_class_init):
14527           Docs change.
14528           
14529         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14530           Handle out-of-band downstream events from the sending thread.
14531
14532 2005-08-17  Andy Wingo  <wingo@pobox.com>
14533
14534         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14535         play-timeout==0 to mean no timeout at all. In that case, don't
14536         bother with a get_state or a warning, just return directly, even
14537         if it's ASYNC.
14538
14539         * gst/base/gstbasetransform.c: Debug changes.
14540
14541         * gst/gstutils.h:
14542         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14543         ensure bins post state change messages. A bit of a hack but I can't
14544         think of a way to avoid it.
14545
14546         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14547
14548 2005-08-16  Andy Wingo  <wingo@pobox.com>
14549
14550         * gst/base/gstadapter.h:
14551         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14552         peek() but you own the data. Not terribly efficient atm.
14553
14554 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14555
14556         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14557         (gst_element_found_tags):
14558         * gst/gstutils.h:
14559           Add two utility functions for tag handling.
14560
14561 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14562
14563         * docs/manual/advanced-dataaccess.xml:
14564         * docs/manual/basics-helloworld.xml:
14565           Fix docs to use _bin_add() before _link(), which fixes the examples
14566           with recent core versions (reported by Madhan Raj M
14567           <raj_madan@rediffmail.com>, #313199).
14568
14569 2005-08-16  Wim Taymans  <wim@fluendo.com>
14570
14571         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14572         Added subtract checks.
14573
14574         * docs/design/part-events.txt:
14575         Some more docs about newsegment
14576
14577         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14578         Fix FIXME
14579
14580         * gst/gstcaps.c: (gst_caps_to_string):
14581         Add comments, cleanups.
14582         
14583         * gst/gstelement.c: (gst_element_save_thyself):
14584         cleanups
14585         
14586         * gst/gstvalue.c: (gst_value_collect_int_range),
14587         (gst_string_unwrap), (gst_value_union_int_int_range),
14588         (gst_value_union_int_range_int_range),
14589         (gst_value_intersect_int_int_range),
14590         (gst_value_intersect_int_range_int_range),
14591         (gst_value_intersect_double_double_range),
14592         (gst_value_intersect_double_range_double_range),
14593         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14594         (gst_value_subtract_int_range_int),
14595         (gst_value_subtract_double_range_double),
14596         (gst_value_subtract_double_range_double_range),
14597         (gst_value_subtract_from_list), (gst_value_subtract_list),
14598         (gst_value_can_compare), (gst_value_compare_fraction):
14599         Cleanups, add comments, remove unneeded asserts.
14600
14601 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14602
14603         * tools/gst-launch.c: (event_loop):
14604           don't convert NULL structures to strings
14605
14606 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14607
14608         * docs/gst/gstreamer-sections.txt:
14609           made some defines private
14610         * docs/gst/tmpl/gstconfig.sgml:
14611         * docs/gst/tmpl/gstqueue.sgml:
14612         * docs/gst/tmpl/gsttaglist.sgml:
14613         * docs/gst/tmpl/gsttypes.sgml:
14614         * docs/gst/tmpl/gstutils.sgml:
14615         * docs/pwg/appendix-porting.xml:
14616         * gst/base/gstbasesink.h:
14617         * gst/base/gstbasesrc.c:
14618         * gst/base/gstbasesrc.h:
14619         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14620         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14621         * gst/gstelement.c: (gst_element_class_init):
14622         * gst/gstpad.c: (gst_pad_class_init):
14623         * gst/gstqueue.c: (gst_queue_class_init):
14624         * gst/gstxml.c: (gst_xml_class_init):
14625           documented all undocumented signal inline
14626         * libs/gst/controller/gst-controller.h:
14627           added padding
14628
14629 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14630
14631         * docs/pwg/appendix-porting.xml:
14632           Document _set_link_function -> _set_setcaps_function.
14633
14634 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14635
14636         * check/Makefile.am:
14637           add a .check target for running the check
14638         * check/gst-libs/controller.c: (GST_START_TEST):
14639           cosmetic fixups
14640         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14641           complete checks for gstbuffer; would be nice if I could get the
14642           gcov stuff to work so I can see if I actually completed gstbuffer.c
14643         * check/gstcheck.h:
14644           add ASSERT_BUFFER_REFCOUNT
14645
14646 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14647
14648         * docs/gst/gstreamer-sections.txt:
14649         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14650         * gst/gsttag.h:
14651           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14652           spew out a warning if a tag that is already registered
14653           is re-registered, unless it is re-registered with a 
14654           different type (#308438).
14655
14656 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14657
14658         * docs/pwg/appendix-porting.xml:
14659         * docs/pwg/building-state.xml:
14660           Add some paragraphs about state changes in 0.9 to the PWG
14661           and the porting guide, in particular about the new meaning
14662           of GST_STATE_PAUSED and how to write state change functions
14663           with concurrent access by multiple threads in mind.
14664
14665 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14666
14667         * docs/gst/gstreamer-docs.sgml:
14668         * docs/libs/gstreamer-libs-docs.sgml:
14669           added deprecation and since indexes
14670         * libs/gst/controller/gst-controller.c:
14671         * libs/gst/controller/gst-helper.c:
14672           added since tags
14673
14674
14675 2005-08-11  Wim Taymans  <wim@fluendo.com>
14676
14677         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14678         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14679         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14680         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14681         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14682         (gst_ghost_pad_set_target):
14683         Actually implement (re)setting the target on a ghostpad
14684         as described in the docs.
14685
14686 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14687
14688         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14689           Check whether GST_DEBUG_NO_COLOR environment variable is
14690           set and disable coloured debug output if that is the case.
14691
14692 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14693
14694         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14695         (gst_type_find_helper):
14696           The memory returned by gst_type_find_peek() needs to
14697           stay valid until the end of a typefind function, and
14698           typefind functions may keep results from different 
14699           offsets around, so we can't just unref the buffer from
14700           the previous _peek(), but have to save all buffers 
14701           returned by _peek() until typefinding is done and only
14702           free them then.
14703
14704 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14705
14706         * docs/gst/gstreamer-sections.txt:
14707         * gst/gstutils.h:
14708           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14709
14710 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14711
14712         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14713           Fix a pretty good memleak.
14714
14715 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14716
14717         * gst/gstiterator.h:
14718           Fix wrong include and 'make distcheck'.
14719
14720 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14721
14722         * gst/gstbin.c: (bin_bus_handler):
14723           Use gst_element_post_message() instead.
14724
14725 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14726
14727         * gst/base/gstadapter.h:
14728         * gst/base/gstbasesink.h:
14729         * gst/base/gstbasesrc.h:
14730         * gst/base/gstbasetransform.h:
14731         * gst/base/gstcollectpads.h:
14732         * gst/base/gstpushsrc.h:
14733         * gst/gstiterator.h:
14734           Add padding to our base elements' class and instance structs and
14735           to GstIterator (you will need to rebuild all plugins and apps!)
14736
14737 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14738
14739         * gst/gstbin.c: (bin_bus_handler):
14740           Make default message forwarding from child->bus to bin->bus
14741           threadsafe and make it not emit warnings if the parent has no bus.
14742
14743 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14744
14745         * gst/gstelement.c: (activate_pads):
14746           On paused->ready, set pad->caps to NULL, as is the documented
14747           behaviour in this state change. Fixes playback of series of
14748           media files when visualization is enabled in Totem.
14749
14750 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14751
14752         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14753           Allow NULL as filter-caps (which means "any").
14754
14755 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14756
14757         * docs/libs/gstreamer-libs-sections.txt:
14758         * libs/gst/controller/gst-controller.c:
14759         * libs/gst/controller/gst-controller.h:
14760         * libs/gst/controller/gst-helper.c:
14761           adding more entries to the docs and fix small doc-bugs
14762
14763 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14764
14765         * docs/gst/gstreamer-docs.sgml:
14766         * docs/gst/gstreamer-sections.txt:
14767         * docs/gst/gstreamer.types:
14768         * docs/gst/tmpl/gstbasesink.sgml:
14769         * docs/gst/tmpl/gstbasesrc.sgml:
14770         * docs/gst/tmpl/gstbasetransform.sgml:
14771         * docs/gst/tmpl/gstfakesrc.sgml:
14772         * gst/base/gstcollectpads.c:
14773         * gst/base/gstcollectpads.h:
14774         * libs/gst/controller/gst-controller.c:
14775         * libs/gst/controller/gst-controller.h:
14776         * libs/gst/controller/gst-helper.c:
14777         * libs/gst/controller/gst-interpolation.c:
14778         * libs/gst/controller/lib.c:
14779           added long/short desc for controller docs
14780           added collectpads base class docs
14781           added correct includes to base-class docs
14782
14783 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14784
14785         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14786         (gst_test_mono_source_set_property),
14787         (gst_test_mono_source_class_init), (GST_START_TEST),
14788         (gst_controller_suite):
14789         * docs/gst/gstreamer-docs.sgml:
14790         * docs/gst/gstreamer-sections.txt:
14791         * docs/gst/gstreamer.types:
14792         * docs/libs/gstreamer-libs-docs.sgml:
14793         * docs/libs/gstreamer-libs-sections.txt:
14794         * gst/base/gstadapter.c:
14795         * libs/gst/controller/gst-controller.c:
14796         (gst_controlled_property_new), (gst_controlled_property_free),
14797         (gst_controller_new_valist),
14798         (gst_controller_remove_properties_valist),
14799         (gst_controller_sink_values), (_gst_controller_finalize):
14800         * libs/gst/controller/gst-controller.h:
14801         * libs/gst/controller/gst-helper.c:
14802         (gst_object_control_properties), (gst_object_uncontrol_properties),
14803         (gst_object_get_controller), (gst_object_set_controller),
14804         (gst_object_sink_values), (gst_object_get_value_arrays),
14805         (gst_object_get_value_array):
14806           more tests (and fixes) for the controller
14807           more docs for the controller
14808           integrated companies docs for the adapter 
14809
14810 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14811
14812         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14813         (GST_START_TEST), (fakesrc_suite):
14814           add tests for sizetype
14815
14816 2005-08-04  Andy Wingo  <wingo@pobox.com>
14817
14818         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14819         fixes buffer_alloc proxying among other things.
14820
14821         * gst/base/gstbasetransform.c:
14822         * gst/base/gstbasetransform.h:
14823         Revert patch to gstbasetransform from 7-28 removing
14824         delay_configure.
14825
14826         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14827         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14828         Semantics changed, should return not the size of the output buffer
14829         but the byte size of a buffer with a given caps.
14830
14831         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14832         debug object.
14833         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14834         out) are not the pad caps until setcaps finishes.
14835         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14836         not-in-place case as well. Deal with changing from in-place to
14837         not-in-place within calling pad_alloc_buffer. Still a bit
14838         concerned about the overhead here...
14839
14840 2005-08-03  Andy Wingo  <wingo@pobox.com>
14841
14842         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14843         fixating is an error.
14844
14845 2005-08-04  Edward Hervey  <edward@fluendo.com>
14846
14847         * gst/base/gstadapter.h: 
14848         Added gst_adapter_get_type() to the header
14849
14850 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14851
14852         * check/Makefile.am:
14853         * check/gst-libs/controller.c:
14854         * libs/gst/controller/gst-controller.c:
14855         (gst_controller_new_valist):
14856           added check test suite for the controller
14857         * gst/base/gstpushsrc.c:
14858           fixed a doc typo
14859
14860 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14861
14862         * docs/gst/Makefile.am:
14863         * docs/gst/gstreamer-docs.sgml:
14864         * docs/gst/gstreamer-sections.txt:
14865         * docs/gst/gstreamer.types:
14866         * docs/gst/tmpl/gstfakesrc.sgml:
14867         * gst/base/README:
14868         * gst/base/gstbasesink.c:
14869         * gst/base/gstbasesink.h:
14870         * gst/base/gstbasesrc.c:
14871         * gst/base/gstbasesrc.h:
14872         * gst/base/gstbasetransform.c:
14873         * gst/base/gstpushsrc.c:
14874         * gst/base/gstpushsrc.h:
14875           add short/long description docs to base classes
14876           add pushsrc to the docs
14877           remove consolidated doc fragments
14878
14879 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14880
14881         * configure.ac:
14882         * docs/libs/Makefile.am:
14883         * docs/libs/gstreamer-libs-docs.sgml:
14884         * docs/libs/gstreamer-libs-sections.txt:
14885         * docs/libs/gstreamer-libs.types:
14886         * examples/Makefile.am:
14887         * examples/controller/.cvsignore:
14888         * examples/controller/Makefile.am:
14889         * examples/controller/audio-example.c: (main):
14890         * libs/gst/Makefile.am:
14891         * libs/gst/controller/.cvsignore:
14892         * libs/gst/controller/Makefile.am:
14893         * libs/gst/controller/gst-controller.c:
14894         (on_object_controlled_property_changed), (gst_timed_value_compare),
14895         (gst_timed_value_find),
14896         (gst_controlled_property_set_interpolation_mode),
14897         (gst_controlled_property_new), (gst_controlled_property_free),
14898         (gst_controller_find_controlled_property),
14899         (gst_controller_new_valist), (gst_controller_new),
14900         (gst_controller_remove_properties_valist),
14901         (gst_controller_remove_properties), (gst_controller_set),
14902         (gst_controller_set_from_list), (gst_controller_unset),
14903         (gst_controller_get), (gst_controller_get_all),
14904         (gst_controller_sink_values), (gst_controller_get_value_arrays),
14905         (gst_controller_get_value_array),
14906         (gst_controller_set_interpolation_mode),
14907         (_gst_controller_finalize), (_gst_controller_init),
14908         (_gst_controller_class_init), (gst_controller_get_type):
14909         * libs/gst/controller/gst-controller.h:
14910         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14911         (g_object_uncontrol_properties), (g_object_get_controller),
14912         (g_object_set_controller), (g_object_sink_values),
14913         (g_object_get_value_arrays), (g_object_get_value_array):
14914         * libs/gst/controller/gst-interpolation.c:
14915         (gst_controlled_property_find_timed_value_node),
14916         (interpolate_none_get), (interpolate_trigger_get),
14917         (interpolate_trigger_get_value_array):
14918         * libs/gst/controller/lib.c: (gst_controller_init):
14919         * pkgconfig/Makefile.am:
14920         * pkgconfig/gstreamer-control-uninstalled.pc.in:
14921         * pkgconfig/gstreamer-control.pc.in:
14922         * testsuite/Makefile.am:
14923         * testsuite/controller/.cvsignore:
14924         * testsuite/controller/Makefile.am:
14925         * testsuite/controller/interpolator.c: (main):
14926           added controller code
14927           removed dparam pc files
14928
14929 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14930         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14931         (gst_collectpads_stop):
14932           Broadcast the condition when shutting down, to make sure we wake all
14933           threads up. Shut down pads on finalize, for safety.
14934
14935 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
14936         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14937         (gst_base_transform_handle_buffer),
14938         (gst_base_transform_change_state):
14939           Handle PAUSED->READY->PAUSED transition after negotiation
14940           occurred already.
14941         * gst/gstmessage.c: (gst_message_init):
14942           Extra piece of debug for new messages.
14943
14944 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
14945
14946         * configure.ac:
14947         * docs/gst/tmpl/gstbasesrc.sgml:
14948         * docs/gst/tmpl/gstelement.sgml:
14949         * docs/gst/tmpl/gstevent.sgml:
14950         * docs/gst/tmpl/gstfakesrc.sgml:
14951         * docs/gst/tmpl/gstformat.sgml:
14952         * docs/gst/tmpl/gstghostpad.sgml:
14953         * docs/gst/tmpl/gstpad.sgml:
14954         * docs/gst/tmpl/gstquery.sgml:
14955         * docs/gst/tmpl/gststructure.sgml:
14956         * docs/gst/tmpl/gsttaglist.sgml:
14957         * docs/gst/tmpl/gstvalue.sgml:
14958         * docs/libs/gstreamer-libs-docs.sgml:
14959         * docs/libs/gstreamer-libs-sections.txt:
14960         * docs/libs/gstreamer-libs.types:
14961         * libs/gst/Makefile.am:
14962         * libs/gst/control/.cvsignore:
14963         * libs/gst/control/Makefile.am:
14964         * libs/gst/control/control.c:
14965         * libs/gst/control/control.h:
14966         * libs/gst/control/dparam.c:
14967         * libs/gst/control/dparam.h:
14968         * libs/gst/control/dparam_smooth.c:
14969         * libs/gst/control/dparam_smooth.h:
14970         * libs/gst/control/dparamcommon.h:
14971         * libs/gst/control/dparammanager.c:
14972         * libs/gst/control/dparammanager.h:
14973         * libs/gst/control/dplinearinterp.c:
14974         * libs/gst/control/dplinearinterp.h:
14975         * libs/gst/control/unitconvert.c:
14976         * libs/gst/control/unitconvert.h:
14977         * testsuite/Makefile.am:
14978         * testsuite/dynparams/.cvsignore:
14979         * testsuite/dynparams/Makefile.am:
14980         * testsuite/dynparams/dparamstest.c:
14981         * tools/Makefile.am:
14982         * tools/gst-inspect.c: (print_element_info), (main):
14983         * tools/gst-xmlinspect.c: (print_element_info), (main):
14984           deactivate and remove dparams (libgstcontrol)
14985
14986 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14987
14988         * gst/elements/gsttypefindelement.c:
14989         (gst_type_find_element_have_type), (gst_type_find_element_init),
14990         (stop_typefinding), (gst_type_find_element_handle_event),
14991         (gst_type_find_element_chain), (gst_type_find_element_getrange):
14992         * gst/elements/gsttypefindelement.h:
14993           Set caps on all outgoing buffers, not just the first one.
14994
14995 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * gst/elements/gsttypefindelement.c:
14998         (gst_type_find_element_have_type),
14999         (gst_type_find_element_check_set_buffer_caps),
15000         (gst_type_find_element_init), (stop_typefinding),
15001         (gst_type_find_element_handle_event),
15002         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15003         * gst/elements/gsttypefindelement.h:
15004           Set caps on first outgoing buffer when we've found the type.
15005
15006 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15007
15008         * docs/gst/gstreamer-docs.sgml:
15009         * docs/gst/gstreamer-sections.txt:
15010         * docs/gst/tmpl/gstscheduler.sgml:
15011         * docs/gst/tmpl/gstschedulerfactory.sgml:
15012           Remove some old cruft from docs.
15013
15014 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15015
15016         * gst/gstpad.h:
15017           Fix inline docs for GstPadLinkReturn.
15018           
15019         * gst/gststructure.c: (gst_structure_has_name):
15020         * gst/gststructure.h:
15021         * docs/gst/gstreamer-sections.txt:
15022           New API: gst_structure_has_name().
15023
15024 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15025
15026         * configure.ac:
15027           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15028           and _LARGEFILE_SOURCE in config.h as required. Do not 
15029           export those flags in our .pc files any longer (#142209).
15030
15031           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15032
15033         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15034         (gst_file_sink_do_seek), (gst_file_sink_event),
15035         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15036           Redo seek/tell calls with large file support in mind; add some
15037           debugging messages; add log message that tells us when large
15038           file support is unavailable or not enabled for some reason.
15039
15040         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15041           Add log message that tells us when large file support 
15042           is unavailable or not enabled for some reason.
15043
15044 2005-07-29  Wim Taymans  <wim@fluendo.com>
15045
15046         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15047         Added test for removing an element with ghostpad from a bin.
15048         Fixed test as current implementation does the right thing.
15049
15050         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15051         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15052         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15053         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15054         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15055         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15056         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15057         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15058         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15059         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15060         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15061         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15062         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15063         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15064         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15065         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15066         * gst/gstghostpad.h:
15067         Clean up ghostpads, remove properties for internal stuff.
15068         Make threadsafe.
15069         Fix refcounting.
15070         Prepare for switching targets, not all use cases work yet.
15071
15072 2005-07-29  Wim Taymans  <wim@fluendo.com>
15073
15074         * docs/design/part-gstghostpad.txt:
15075         Small update.
15076
15077         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15078         (gst_bin_remove_func):
15079         Unlinking pads while holding the bin LOCK is not a good
15080         idea.
15081
15082         * gst/gstpad.c: (gst_pad_class_init),
15083         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15084         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15085         No prob setting template after creating the pad.
15086
15087 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15088
15089         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15090         (gst_bus_peek), (gst_bus_source_dispatch),
15091         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15092         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15093           gst_bus_poll may be called from other threads. Handle
15094           this nicely by not making poll_data disappear off the
15095           stack once gst_bus_poll returns.
15096           gst_bus_peek now increments the refcount on the returned
15097           message.
15098
15099 2005-07-29  Wim Taymans  <wim@fluendo.com>
15100
15101         * docs/design/part-gstghostpad.txt:
15102         Overview of current GhostPad datastructures and use
15103         cases for changing the target.
15104
15105 2005-07-28  Wim Taymans  <wim@fluendo.com>
15106
15107         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15108         Added checks for hierarchy consistency whan adding linked
15109         elements to bins.
15110
15111         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15112         Added check to test element scheduling without bin/pipeline.
15113
15114         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15115         First add elements to bin, then link.
15116         
15117         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15118         (gst_bin_remove_func):
15119         Unlink pads from elements added/removed from bin to maintain
15120         hierarchy consistency.
15121
15122 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15123
15124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15125         (gst_base_transform_handle_buffer):
15126         * gst/base/gstbasetransform.h:
15127           Remove broken delay_configure (fixes renegotiation of software
15128           scaling pipelines); remove some leftover printf()s.
15129
15130 2005-07-28  Wim Taymans  <wim@fluendo.com>
15131
15132         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15133         Added some more tests for wrong hierarchy
15134
15135         * docs/design/part-overview.txt:
15136         Some updates.
15137
15138         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15139         Cleanups.
15140
15141         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15142         (gst_element_dispose):
15143         Some more cleanups.
15144
15145         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15146         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15147         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15148         (gst_pad_set_caps), (gst_pad_send_event):
15149         Check for correct hierarchy when linking pads. Moving to
15150         strict requirement for ghostpads when linking elements in
15151         different bins.
15152
15153         * gst/gstpad.h:
15154         Clean ups. Added WRONG_HIERARCHY return value.
15155
15156 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15157
15158         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15159           Better debug if no transform is possible.
15160
15161 2005-07-27  Wim Taymans  <wim@fluendo.com>
15162
15163         * docs/random/wtay/network-transp:
15164         Some old doc I had.
15165
15166 2005-07-27  Wim Taymans  <wim@fluendo.com>
15167
15168         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15169         (gst_dp_event_from_packet):
15170         Fix serialization of seek events.
15171
15172 2005-07-27  Wim Taymans  <wim@fluendo.com>
15173
15174         * check/gst-libs/gdp.c: (GST_START_TEST):
15175         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15176         Fix compilation and fix event serialization.
15177
15178 2005-07-27  Wim Taymans  <wim@fluendo.com>
15179
15180         * CHANGES-0.9:
15181         * docs/design/part-TODO.txt:
15182         * docs/design/part-events.txt:
15183         Some docs updates
15184
15185         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15186         (gst_base_sink_event), (gst_base_sink_do_sync),
15187         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15188         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15189         (gst_base_src_do_seek), (gst_base_src_event_handler),
15190         (gst_base_src_loop):
15191         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15192         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15193         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15194         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15195         (gst_base_transform_set_passthrough),
15196         (gst_base_transform_is_passthrough):
15197         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15198         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15199         Event updates.
15200
15201         * gst/gstbuffer.h:
15202         Use faster casts.
15203
15204         * gst/gstelement.c: (gst_element_seek):
15205         * gst/gstelement.h:
15206         Update gst_element_seek.
15207
15208         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15209         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15210         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15211         (gst_event_new_eos), (gst_event_new_newsegment),
15212         (gst_event_parse_newsegment), (gst_event_new_tag),
15213         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15214         (gst_event_parse_qos), (gst_event_new_seek),
15215         (gst_event_parse_seek), (gst_event_new_navigation):
15216         * gst/gstevent.h:
15217         Make GstEvent use GstStructure. Add parsing code, make sure the
15218         API is sufficiently generic.
15219         Mark possible directions of events and serialization.
15220
15221         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15222         (_gst_message_copy), (gst_message_new_segment_start),
15223         (gst_message_new_segment_done), (gst_message_new_custom),
15224         (gst_message_parse_segment_start),
15225         (gst_message_parse_segment_done):
15226         Small cleanups.
15227
15228         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15229         (gst_pad_set_caps), (gst_pad_send_event):
15230         Update for new events. 
15231         Catch events sent in wrong directions.
15232
15233         * gst/gstqueue.c: (gst_queue_link_src),
15234         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15235         (gst_queue_handle_src_query):
15236         Event updates.
15237
15238         * gst/gsttag.c:
15239         * gst/gsttag.h:
15240         Remove event code from this file.
15241
15242         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15243         (gst_dp_event_from_packet):
15244         Event updates.
15245
15246 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15247
15248         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15249         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15250         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15251           Make debugging actually useful.
15252
15253 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15254
15255         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15256         (gst_pad_fixate_caps):
15257           Implement default fixation once again, so that gst_pad_fixate()
15258           actually does anything at all. This probably needs to be some
15259           sort of a last resort, and use profile-based fixation first, but
15260           since that doesn't exist yet, this is the best we have. Fixes
15261           visualization in Totem.
15262
15263 2005-07-22  Wim Taymans  <wim@fluendo.com>
15264
15265         * docs/design/part-events.txt:
15266         Small update.
15267
15268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15269         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15270         (gst_base_sink_activate_pull):
15271         Some more comments.
15272
15273         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15274         (gst_fake_src_create):
15275         Fix handoff marshall.
15276
15277         * gst/elements/gstidentity.c: (gst_identity_class_init),
15278         (gst_identity_transform_ip):
15279         We're a real inplace element.
15280
15281         * gst/gstbus.c: (gst_bus_post):
15282         Added some comments.
15283
15284         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15285         * tests/muxing/case1.c: (main):
15286         * tests/sched/dynamic-pipeline.c: (main):
15287         * tests/sched/interrupt1.c: (main):
15288         * tests/sched/interrupt2.c: (main):
15289         * tests/sched/interrupt3.c: (main):
15290         * tests/sched/runxml.c: (main):
15291         * tests/sched/sched-stress.c: (main):
15292         * tests/seeking/seeking1.c: (event_received), (main):
15293         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15294         (main):
15295         * tests/threadstate/threadstate3.c: (main):
15296         * tests/threadstate/threadstate4.c: (main):
15297         * tests/threadstate/threadstate5.c: (main):
15298         Fix the tests.
15299
15300 2005-07-21  Wim Taymans  <wim@fluendo.com>
15301
15302         * docs/design/part-seeking.txt:
15303         Some small additions.
15304
15305         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15306         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15307         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15308         * gst/base/gstbasesink.h:
15309         discont values are gint64, handle the math correctly.
15310
15311         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15312         Make the basesrc report error if the source pad is not linked.
15313
15314         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15315         (gst_queue_loop), (gst_queue_handle_src_query),
15316         (gst_queue_src_activate_push):
15317         Make queue collect data even if the srcpad is not linked.
15318         Start pushing out data as soon as it is linked.
15319
15320         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15321         * gst/gstutils.h:
15322         Added gst_flow_get_name() to ease error reporting.
15323
15324 2005-07-20  Wim Taymans  <wim@fluendo.com>
15325
15326         * gst/gstmessage.c: (gst_message_new_segment_start),
15327         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15328         (gst_message_parse_segment_done):
15329         * gst/gstmessage.h:
15330         Added a bunch of messages for advanced seeking.
15331
15332         * gst/parse/grammar.y:
15333         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15334         (gst_dpman_state_changed):
15335         Fix some new-pad -> pad-added signals
15336
15337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15338
15339         * docs/manual/appendix-porting.xml:
15340         * docs/pwg/appendix-porting.xml:
15341           Document new-pad/state-change signal renames and the FixedList
15342           type rename.
15343
15344 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15345
15346         * docs/manual/advanced-autoplugging.xml:
15347         * docs/manual/basics-helloworld.xml:
15348         * docs/manual/basics-pads.xml:
15349         * docs/random/ds/0.9-suggested-changes:
15350         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15351         * gst/gstelement.h:
15352         * gst/gstevent.h:
15353         * gst/gstformat.h:
15354         * gst/gstquery.h:
15355         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15356         (gst_structure_parse_array), (gst_structure_parse_value):
15357         * gst/gstvalue.c: (gst_type_is_fixed),
15358         (gst_value_list_prepend_value), (gst_value_list_append_value),
15359         (gst_value_list_get_size), (gst_value_list_get_value),
15360         (gst_value_transform_array_string), (gst_value_serialize_array),
15361         (gst_value_deserialize_array), (gst_value_intersect_array),
15362         (gst_value_is_fixed), (_gst_value_initialize):
15363         * gst/gstvalue.h:
15364           GstElement::new-pad -> pad-added, GstElement::state-change ->
15365           state-changed, GstValueFixedList -> GstValueArray, add format and
15366           flags as their own arguments in gst_element_seek() (should improve
15367           "bindeability"), remove function generators since they don't work
15368           under a whole bunch of compilers (they were deprecated already
15369           anyway).
15370
15371 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15372
15373         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15374         (_gst_debug_register_funcptr):
15375         * gst/gstinfo.h:
15376           Fix illegal cast on some platforms (#309253).
15377
15378 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15379
15380         * gst/gstmessage.c: (gst_message_new_custom):
15381         * gst/gstmessage.h:
15382           Add _new_custom, make _new_application a macro to _new_custom.
15383
15384 2005-07-20  Wim Taymans  <wim@fluendo.com>
15385
15386         * gst/base/gstbasesrc.c: (gst_base_src_init),
15387         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15388         * gst/base/gstbasesrc.h:
15389         Add a gboolean to decide when to push out a discont.
15390
15391         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15392         (gst_queue_loop), (gst_queue_handle_src_query),
15393         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15394         (gst_queue_set_property), (gst_queue_get_property):
15395         Some cleanups.
15396
15397         * tests/threadstate/threadstate1.c: (main):
15398         Make a thread test compile and run... very silly..
15399
15400
15401 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15402
15403         * docs/manual/appendix-porting.xml:
15404           Mention removal of libgstgconf-0.9.la and existence of gconf
15405           elements.
15406
15407 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15408
15409         * docs/pwg/advanced-clock.xml:
15410         * docs/pwg/appendix-porting.xml:
15411         * docs/pwg/intro-preface.xml:
15412         * docs/pwg/other-base.xml:
15413         * docs/pwg/other-manager.xml:
15414         * docs/pwg/other-nton.xml:
15415         * docs/pwg/other-ntoone.xml:
15416         * docs/pwg/other-oneton.xml:
15417         * docs/pwg/pwg.xml:
15418           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15419           demuxer), remove n-to-n (was never written), fix some code examples
15420           and links and update the porting section to include all this.
15421
15422 2005-07-19  Wim Taymans  <wim@fluendo.com>
15423
15424         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15425         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15426         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15427         (gst_queue_src_activate_push), (gst_queue_change_state),
15428         (gst_queue_get_property):
15429         * gst/gstqueue.h:
15430         Propagate GstFlowReturn more intelligently upstream and output
15431         an ERROR/EOS when streaming stopped due to fatal error.
15432
15433 2005-07-19  Wim Taymans  <wim@fluendo.com>
15434
15435         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15436         Don't block forever for the state change to complete, the
15437         pipeline already did with a sensible timeout.
15438
15439 2005-07-19  Wim Taymans  <wim@fluendo.com>
15440
15441         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15442         Make sure we never call the create function is we
15443         got deactivated.
15444
15445 2005-07-19  Andy Wingo  <wingo@pobox.com>
15446
15447         * gst/parse/parse.l: Attempt to solve bug #172815.
15448
15449 2005-07-19  Wim Taymans  <wim@fluendo.com>
15450
15451         * docs/design/part-clocks.txt:
15452         * docs/design/part-events.txt:
15453         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15454         Small docs updates.
15455         Only update the seeking values when we are not
15456         busy streaming.
15457
15458 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15459
15460         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15461           Oops, ignore the result of gst_pad_push_event here.
15462
15463 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15464
15465         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15466         (gst_base_src_activate_push):
15467           Send discont event from the loop function, as pads
15468           aren't activated yet in the activate_push handler.
15469
15470         * gst/gstbin.c: (bin_bus_handler):
15471           Don't leak element name.
15472
15473 2005-07-18  Andy Wingo  <wingo@pobox.com>
15474
15475         * configure.ac: Use AS_LIBTOOL_TAGS.
15476
15477 2005-07-18  Wim Taymans  <wim@fluendo.com>
15478
15479         * docs/gst/gstreamer.types:
15480         Remove deleted types.
15481
15482 2005-07-18  Wim Taymans  <wim@fluendo.com>
15483
15484         * check/elements/gstfakesrc.c: (GST_START_TEST):
15485         * configure.ac:
15486         * gst/Makefile.am:
15487         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15488         (init_popt_callback):
15489         * gst/gst.h:
15490         * gst/gst_private.h:
15491         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15492         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15493         * gst/gstbin.h:
15494         * gst/gstbus.h:
15495         * gst/gstconfig.h.in:
15496         * gst/gstelement.c: (gst_element_class_init),
15497         (gst_element_set_base_time), (gst_element_get_base_time),
15498         (iterator_fold_with_resync), (gst_element_change_state),
15499         (gst_element_dispose), (gst_element_get_bus):
15500         * gst/gstelement.h:
15501         * gst/gstelementfactory.h:
15502         * gst/gsterror.c: (_gst_core_errors_init):
15503         * gst/gsterror.h:
15504         * gst/gstevent.h:
15505         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15506         * gst/gstindex.c:
15507         * gst/gstinfo.c: (_gst_debug_init):
15508         * gst/gstmessage.c: (_gst_message_copy):
15509         * gst/gstmessage.h:
15510         * gst/gstminiobject.h:
15511         * gst/gstobject.c:
15512         * gst/gstobject.h:
15513         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15514         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15515         * gst/gstpad.h:
15516         * gst/gstparse.h:
15517         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15518         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15519         (gst_pipeline_get_last_stream_time):
15520         * gst/gstpipeline.h:
15521         * gst/gstpluginfeature.h:
15522         * gst/gstquery.h:
15523         * gst/gstscheduler.c:
15524         * gst/gstscheduler.h:
15525         * gst/gststructure.h:
15526         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15527         (gst_task_finalize), (gst_task_func), (gst_task_create),
15528         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15529         (gst_task_stop), (gst_task_pause):
15530         * gst/gsttask.h:
15531         * gst/gsttypefind.h:
15532         * gst/gsttypes.h:
15533         * gst/registries/gstlibxmlregistry.c: (load_feature),
15534         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15535         * gst/registries/gstxmlregistry.c:
15536         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15537         * gst/schedulers/threadscheduler.c:
15538         * libs/gst/control/dparammanager.h:
15539         * tools/gst-inspect.c: (print_element_list),
15540         (print_plugin_features), (print_element_features):
15541         * tools/gst-xmlinspect.c: (print_element_list),
15542         (print_plugin_info), (main):
15543         Removed plugable schedulers.
15544         Removed Scheduler/Manager from elements.
15545         Removed gsttypes.h, rearranged includes.
15546         Removed dependency pad<->element, element<>pipeline, and
15547         various others,  fix includes.
15548         implement gst_pad_get_parent() with gst_object_get_parent()
15549         Make GstTask sefcontained.
15550         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15551         timeout.
15552         Fix endless loop in iterator_fold_with_resync.
15553
15554
15555 2005-07-18  Wim Taymans  <wim@fluendo.com>
15556
15557         * gst/Makefile.am:
15558         * gst/gstarch.h:
15559         Remove old file.
15560
15561 2005-07-18  Wim Taymans  <wim@fluendo.com>
15562
15563         * gst/Makefile.am:
15564         No more cothreads.h
15565
15566 2005-07-18  Wim Taymans  <wim@fluendo.com>
15567
15568         * gst/cothreads.c:
15569         * gst/cothreads.h:
15570         Let's remove these.
15571
15572 2005-07-18  Wim Taymans  <wim@fluendo.com>
15573
15574         * docs/design/part-dynamic.txt:
15575         * docs/design/part-events.txt:
15576         * docs/design/part-seeking.txt:
15577         Some more docs in the works.
15578
15579         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15580         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15581         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15582         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15583         (gst_base_transform_handle_buffer),
15584         (gst_base_transform_sink_activate_push),
15585         (gst_base_transform_src_activate_pull),
15586         (gst_base_transform_set_passthrough),
15587         (gst_base_transform_is_passthrough):
15588         Refcounting fixes.
15589
15590         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15591         Cleanups.
15592
15593         * gst/gstevent.c: (gst_event_finalize):
15594         Set SRC to NULL.
15595
15596         * gst/gstutils.c: (gst_element_unlink),
15597         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15598         (gst_pad_proxy_setcaps):
15599         * gst/gstutils.h:
15600         Add _get_parent_element() to get a pads parent as an element.
15601
15602 2005-07-18  Wim Taymans  <wim@fluendo.com>
15603
15604         * check/gst/gstbin.c: (GST_START_TEST):
15605         Remove bogus test.
15606
15607 2005-07-18  Wim Taymans  <wim@fluendo.com>
15608
15609         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15610         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15611         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15612         (gst_base_sink_event), (gst_base_sink_do_sync),
15613         (gst_base_sink_chain), (gst_base_sink_loop),
15614         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15615         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15616         Refcounting fixes.
15617         Fix logic for returning ASYNC when not prerolled.
15618
15619 2005-07-18  Wim Taymans  <wim@fluendo.com>
15620
15621         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15622         Fix nasty refcount bug.
15623
15624 2005-07-16 Philippe Khalaf <burger@speedy.org>
15625
15626         * gst/elements/gstfdsrc.c:
15627         * gst/elements/gstfdsrc.h:
15628         * gst/elements/gstelements.c:
15629         * gst/elements/Makefile.am:
15630         Ported fdsrc to 0.9.
15631
15632 2005-07-16  Wim Taymans  <wim@fluendo.com>
15633
15634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15635         (gst_base_sink_do_sync):
15636         Fix compile error.
15637
15638 2005-07-16  Wim Taymans  <wim@fluendo.com>
15639
15640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15641         (gst_base_sink_event), (gst_base_sink_get_times),
15642         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15643         * gst/base/gstbasesink.h:
15644         Store and use discont values when syncing buffers as described
15645         in design docs.
15646         
15647         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15648         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15649         (gst_base_src_activate_push):
15650         Push discont event when starting.
15651
15652         * gst/elements/gstidentity.c: (gst_identity_transform):
15653         Small cleanups.
15654
15655         * gst/gstbin.c: (gst_bin_change_state):
15656         Small cleanups in base_time  distribution.
15657
15658         * gst/gstelement.c: (gst_element_set_base_time),
15659         (gst_element_get_base_time), (gst_element_change_state):
15660         * gst/gstelement.h:
15661         Added methods for the base_time of the element.
15662         Some MT fixes.
15663
15664         * gst/gstpipeline.c: (gst_pipeline_send_event),
15665         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15666         (gst_pipeline_get_last_stream_time):
15667         * gst/gstpipeline.h:
15668         MT fixes.
15669         Handle seeking as described in design doc, remove stream_time
15670         hack.
15671         Cleanups clock and stream_time selection code. Added accessors
15672         for the stream_time.
15673         
15674
15675 2005-07-16  Andy Wingo  <wingo@pobox.com>
15676
15677         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15678         (#305291).
15679
15680 2005-07-16  Wim Taymans  <wim@fluendo.com>
15681
15682         * check/gst/gstbin.c: (GST_START_TEST):
15683         Make elements silent as the deep_notify refs the
15684         parent, which might make the test fail.
15685
15686         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15687         Don't hold the lock for too long.
15688
15689 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15690
15691         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15692           Don't unref the caps we passed to gst_caps_make_writable() after
15693           passing them. gst_caps_make_writable() will do that for us.
15694
15695 2005-07-15  Andy Wingo  <wingo@pobox.com>
15696
15697         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15698         (#157311).
15699
15700         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15701         own marshalling function for the handoff signal. Properly type the
15702         buffer as a buffer. Fixes some warnings. Should do a more general
15703         solution.
15704         (gst_identity_class_init): Plug into the right marshaller.
15705
15706 2005-07-15  Wim Taymans  <wim@fluendo.com>
15707
15708         * docs/design/part-TODO.txt:
15709         * docs/design/part-clocks.txt:
15710         * docs/design/part-element-sink.txt:
15711         * docs/design/part-events.txt:
15712         * docs/design/part-gstpipeline.txt:
15713         Updated docs, mostly DISCONT related.
15714
15715 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15716
15717         * docs/pwg/building-pads.xml:
15718           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15719
15720 2005-07-15  Andy Wingo  <wingo@pobox.com>
15721
15722         * tools/gst-typefind.c: Update, add copyright block.
15723
15724         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15725         Normalize and truncate caps before fixation.
15726
15727         * gst/gstcaps.h:
15728         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15729         discards all but the first structure from its argument.
15730
15731 2005-07-15  Wim Taymans  <wim@fluendo.com>
15732
15733         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15734         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15735         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15736         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15737         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15738         (gst_base_transform_chain), (gst_base_transform_change_state),
15739         (gst_base_transform_set_passthrough),
15740         (gst_base_transform_is_passthrough):
15741         * gst/base/gstbasetransform.h:
15742         Make passthrough work using the bufferpools.
15743         Changed API a bit, subclasses have to write into a buffer
15744         provided by the base class.
15745         More debug info in nego functions.
15746         
15747         * gst/elements/gstidentity.c: (gst_identity_init),
15748         (gst_identity_transform):
15749         Port to new base class.
15750
15751 2005-07-15  Wim Taymans  <wim@fluendo.com>
15752
15753         * gst/gstmessage.c: (gst_message_new_state_changed):
15754         * tools/gst-launch.c: (event_loop), (main):
15755         Totally dump messages in -launch with the -m option.
15756         Fix message name for State messages,
15757
15758 2005-07-14  Wim Taymans  <wim@fluendo.com>
15759
15760         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15761         Post error messages on errors.
15762
15763 2005-07-14  Wim Taymans  <wim@fluendo.com>
15764
15765         * gst/gstcaps.c: (gst_caps_do_simplify):
15766         Remove debug info.
15767
15768         * gst/gsterror.h:
15769         Define error for stream stopped.
15770
15771         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15772         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15773         Do proper return values.
15774
15775         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15776         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15777         (gst_pad_get_range):
15778         Better return values.
15779
15780         * gst/gstpad.h:
15781         Reorganise return values, add macro to check for fatal errors.
15782
15783         * gst/gstqueue.c: (gst_queue_chain):
15784         Return proper GstFlowReturn values,
15785
15786 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15787
15788         * docs/gst/gstreamer-sections.txt:
15789         * docs/gst/gstreamer.types:
15790         * docs/gst/tmpl/gst.sgml:
15791         * docs/gst/tmpl/gstbasesink.sgml:
15792         * docs/gst/tmpl/gstbasesrc.sgml:
15793         * docs/gst/tmpl/gstbasetransform.sgml:
15794         * docs/gst/tmpl/gstbin.sgml:
15795         * docs/gst/tmpl/gstbuffer.sgml:
15796         * docs/gst/tmpl/gstcaps.sgml:
15797         * docs/gst/tmpl/gstclock.sgml:
15798         * docs/gst/tmpl/gstcompat.sgml:
15799         * docs/gst/tmpl/gstconfig.sgml:
15800         * docs/gst/tmpl/gstelement.sgml:
15801         * docs/gst/tmpl/gstelementdetails.sgml:
15802         * docs/gst/tmpl/gstelementfactory.sgml:
15803         * docs/gst/tmpl/gstenumtypes.sgml:
15804         * docs/gst/tmpl/gsterror.sgml:
15805         * docs/gst/tmpl/gstevent.sgml:
15806         * docs/gst/tmpl/gstfakesink.sgml:
15807         * docs/gst/tmpl/gstfakesrc.sgml:
15808         * docs/gst/tmpl/gstfilesink.sgml:
15809         * docs/gst/tmpl/gstfilesrc.sgml:
15810         * docs/gst/tmpl/gstfilter.sgml:
15811         * docs/gst/tmpl/gstformat.sgml:
15812         * docs/gst/tmpl/gstghostpad.sgml:
15813         * docs/gst/tmpl/gstimplementsinterface.sgml:
15814         * docs/gst/tmpl/gstindex.sgml:
15815         * docs/gst/tmpl/gstindexfactory.sgml:
15816         * docs/gst/tmpl/gstinfo.sgml:
15817         * docs/gst/tmpl/gstiterator.sgml:
15818         * docs/gst/tmpl/gstmacros.sgml:
15819         * docs/gst/tmpl/gstmemchunk.sgml:
15820         * docs/gst/tmpl/gstminiobject.sgml:
15821         * docs/gst/tmpl/gstobject.sgml:
15822         * docs/gst/tmpl/gstpad.sgml:
15823         * docs/gst/tmpl/gstpadtemplate.sgml:
15824         * docs/gst/tmpl/gstparse.sgml:
15825         * docs/gst/tmpl/gstpipeline.sgml:
15826         * docs/gst/tmpl/gstplugin.sgml:
15827         * docs/gst/tmpl/gstpluginfeature.sgml:
15828         * docs/gst/tmpl/gstquery.sgml:
15829         * docs/gst/tmpl/gstqueue.sgml:
15830         * docs/gst/tmpl/gstregistry.sgml:
15831         * docs/gst/tmpl/gstregistrypool.sgml:
15832         * docs/gst/tmpl/gstscheduler.sgml:
15833         * docs/gst/tmpl/gstschedulerfactory.sgml:
15834         * docs/gst/tmpl/gststructure.sgml:
15835         * docs/gst/tmpl/gstsystemclock.sgml:
15836         * docs/gst/tmpl/gsttaglist.sgml:
15837         * docs/gst/tmpl/gsttagsetter.sgml:
15838         * docs/gst/tmpl/gsttrace.sgml:
15839         * docs/gst/tmpl/gsttrashstack.sgml:
15840         * docs/gst/tmpl/gsttypefind.sgml:
15841         * docs/gst/tmpl/gsttypefindfactory.sgml:
15842         * docs/gst/tmpl/gsttypes.sgml:
15843         * docs/gst/tmpl/gsturihandler.sgml:
15844         * docs/gst/tmpl/gsturitype.sgml:
15845         * docs/gst/tmpl/gstutils.sgml:
15846         * docs/gst/tmpl/gstvalue.sgml:
15847         * docs/gst/tmpl/gstversion.sgml:
15848         * docs/gst/tmpl/gstxml.sgml:
15849         * docs/libs/tmpl/gstcontrol.sgml:
15850         * docs/libs/tmpl/gstdataprotocol.sgml:
15851         * docs/libs/tmpl/gstdparam.sgml:
15852         * docs/libs/tmpl/gstdplinint.sgml:
15853         * docs/libs/tmpl/gstdpman.sgml:
15854         * docs/libs/tmpl/gstdpsmooth.sgml:
15855         * docs/libs/tmpl/gstgetbits.sgml:
15856         * docs/libs/tmpl/gstunitconvert.sgml:
15857         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15858         (gst_push_src_base_init), (gst_push_src_class_init),
15859         (gst_push_src_init), (gst_push_src_create):
15860         * gst/base/gstpushsrc.h:
15861         * gst/elements/gstelements.c:
15862         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15863         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15864         (gst_fake_sink_init), (gst_fake_sink_set_property),
15865         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15866         (gst_fake_sink_event), (gst_fake_sink_preroll),
15867         (gst_fake_sink_render), (gst_fake_sink_change_state):
15868         * gst/elements/gstfakesink.h:
15869         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15870         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15871         (gst_fake_src_base_init), (gst_fake_src_class_init),
15872         (gst_fake_src_init), (gst_fake_src_event_handler),
15873         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15874         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15875         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15876         (gst_fake_src_create_buffer), (gst_fake_src_create),
15877         (gst_fake_src_start), (gst_fake_src_stop):
15878         * gst/elements/gstfakesrc.h:
15879         * gst/elements/gstfilesink.c: (_do_init),
15880         (gst_file_sink_base_init), (gst_file_sink_class_init),
15881         (gst_file_sink_init), (gst_file_sink_dispose),
15882         (gst_file_sink_set_location), (gst_file_sink_set_property),
15883         (gst_file_sink_get_property), (gst_file_sink_open_file),
15884         (gst_file_sink_close_file), (gst_file_sink_query),
15885         (gst_file_sink_event), (gst_file_sink_render),
15886         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15887         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15888         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15889         * gst/elements/gstfilesink.h:
15890         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15891         (gst_file_src_class_init), (gst_file_src_init),
15892         (gst_file_src_finalize), (gst_file_src_set_location),
15893         (gst_file_src_set_property), (gst_file_src_get_property),
15894         (gst_file_src_map_region), (gst_file_src_map_small_region),
15895         (gst_file_src_create_mmap), (gst_file_src_create_read),
15896         (gst_file_src_create), (gst_file_src_is_seekable),
15897         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15898         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15899         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15900         (gst_file_src_uri_handler_init):
15901         * gst/elements/gstfilesrc.h:
15902           more autistic cleanliness in functions/names/defines
15903
15904 2005-07-13  Andy Wingo  <wingo@pobox.com>
15905
15906         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15907         source couldn't negotiate.
15908
15909         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15910         connections again.
15911
15912         * gst/gstutils.h:
15913         * gst/gstutils.c (gst_element_link_pads_filtered): New old
15914         function. I am channeling Hades. Put your boots on suckers!!!
15915
15916 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15917
15918         * testsuite/caps/Makefile.am:
15919         * testsuite/caps/value_compare.c:
15920         * testsuite/caps/value_intersect.c:
15921         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15922           move two testsuite apps over to the check dir
15923
15924 2005-07-12  Wim Taymans  <wim@fluendo.com>
15925
15926         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15927         Added more debug info in the negotiate process.
15928
15929         * gst/gstmessage.h:
15930         Prepare for segment playback.
15931
15932         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15933         Better debugging.
15934
15935         * gst/gstutils.c:
15936         Some more docs.
15937
15938         * tools/gst-launch.c: (main):
15939         NULL pipeline on errors.
15940
15941 2005-07-12  Andy Wingo  <wingo@pobox.com>
15942
15943         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15944         not it comes from a malloc region. Make sure our copy gets freed.
15945
15946 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15947
15948         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15949         * check/gst/gstmessage.c: (GST_START_TEST):
15950         * check/gst/gststructure.c: (GST_START_TEST),
15951         (gst_structure_suite), (main):
15952           more testing
15953         * gst/gstelement.c: (gst_element_message_full):
15954           clean up GError and debug string now that they get copied
15955         * gst/gstmessage.c: (gst_message_new_error),
15956         (gst_message_new_warning), (gst_message_parse_error),
15957         (gst_message_parse_warning):
15958           use GST_TYPE_G_ERROR for structure_new, and take copies of
15959           arguments, so that we don't mess up refcounting
15960
15961 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15962
15963         * check/Makefile.am:
15964           add per-test valgrind targets
15965         * check/gst-libs/gdp.c: (GST_START_TEST),
15966         (gst_data_protocol_suite), (main):
15967           clean up
15968
15969 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15970
15971         * check/Makefile.am:
15972           instate more valgrindable tests
15973         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15974         (GST_START_TEST), (fakesrc_suite):
15975         * check/gst/gstpad.c: (GST_START_TEST):
15976         * check/gst/gststructure.c: (GST_START_TEST):
15977           fix test leaks
15978         * docs/gst/tmpl/gstminiobject.sgml:
15979         * gst/gstpad.c: (gst_pad_finalize):
15980           fix the static mutex leak
15981
15982 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15983
15984         * check/Makefile.am:
15985           add two more tests for valgrinding
15986         * check/gst/gstvalue.c: (GST_START_TEST):
15987           test refcount of deserialized buffer, found a leak
15988         * docs/gst/gstreamer-docs.sgml:
15989         * docs/gst/gstreamer-sections.txt:
15990         * docs/gst/gstreamer.types:
15991         * docs/gst/tmpl/gstminiobject.sgml:
15992           add miniobject to docs
15993         * gst/gstminiobject.c:
15994           add some docs
15995         * gst/gstvalue.c: (gst_value_deserialize_buffer),
15996         (gst_string_unwrap):
15997           fix a hard-to-find invalid write for one of the tests
15998           fix a leak for deserialized buffers
15999
16000 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16001
16002         * docs/pwg/advanced-events.xml:
16003         * docs/pwg/advanced-request.xml:
16004         * docs/pwg/advanced-scheduling.xml:
16005         * docs/pwg/appendix-porting.xml:
16006         * docs/pwg/building-boiler.xml:
16007         * docs/pwg/intro-preface.xml:
16008         * docs/pwg/other-ntoone.xml:
16009           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16010           of example code and explanation for pad activation, loop() and
16011           getrange() functions and a bit more. Remove old comments pointing
16012           to loop-functions.
16013         * examples/pwg/Makefile.am:
16014           Add loop/getrange examples.
16015
16016 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16017
16018         * configure.ac:
16019           check for valgrind binary + some fixes
16020         * check/gst.supp:
16021           valgrind suppressions for the tests
16022         * check/Makefile.am:
16023           add a valgrind: target that valgrinds the unit tests
16024         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16025         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16026         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16027         * check/gst/gstghostpad.c:
16028           added some cleanup
16029         * check/gst/gstdata.c:
16030           removed
16031         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16032         (thread_unref), (gst_mini_object_suite), (main):
16033           added
16034         * gst/gst.c: (gst_deinit):
16035         * gst/gst.h:
16036           add a method to clean up.
16037         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16038         (gst_system_clock_obtain):
16039           allow for disposing the system clock.
16040         * tools/gst-launch.c: (main):
16041           deinit
16042
16043 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16044
16045         * docs/gst/tmpl/gstbasesrc.sgml:
16046         * docs/gst/tmpl/gstfakesrc.sgml:
16047         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16048         (gst_base_src_init), (gst_base_src_set_property),
16049         (gst_base_src_get_property), (gst_base_src_get_range),
16050         (gst_base_src_start):
16051         * gst/base/gstbasesrc.h:
16052           add num-buffers property
16053         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16054         (gst_fakesrc_init), (gst_fakesrc_set_property),
16055         (gst_fakesrc_get_property), (gst_fakesrc_create),
16056         (gst_fakesrc_start):
16057           remove num-buffers property
16058
16059 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16060
16061         * docs/gst/gstreamer-sections.txt:
16062         * docs/gst/tmpl/gstbasesink.sgml:
16063         * docs/gst/tmpl/gstbasesrc.sgml:
16064         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16065         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16066         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16067         (gst_base_sink_set_property), (gst_base_sink_get_property),
16068         (gst_base_sink_handle_object), (gst_base_sink_event),
16069         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16070         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16071         (gst_base_sink_loop), (gst_base_sink_deactivate),
16072         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16073         (gst_base_sink_change_state):
16074         * gst/base/gstbasesink.h:
16075         * gst/base/gstbasesrc.h:
16076         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16077         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16078         (gst_filesink_init):
16079           more macro splitting
16080
16081 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16082
16083         * gst/gstelement.c: (gst_element_get_bus):
16084           add debug
16085         * tools/gst-launch.c: (check_intr), (event_loop):
16086           fix bus leaks
16087
16088 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16089
16090         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16091           fix a caps leak
16092
16093 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16094
16095         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16096         (gst_base_src_finalize):
16097           add finalize method and clean up properly
16098         * gst/gstpipeline.c: (gst_pipeline_dispose):
16099           add debug
16100
16101 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16102
16103         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16104         (gst_bin_suite):
16105           add more things to check
16106         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16107         * gst/gstelement.c:
16108           more debug
16109
16110 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16111
16112         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16113         (GST_START_TEST), (fakesrc_suite):
16114         * check/gst-libs/gdp.c: (GST_START_TEST):
16115         * check/gst/gst.c: (GST_START_TEST):
16116         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16117         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16118         * check/gst/gstbus.c: (GST_START_TEST):
16119         * check/gst/gstcaps.c: (GST_START_TEST):
16120         * check/gst/gstdata.c: (GST_START_TEST):
16121         * check/gst/gstelement.c: (GST_START_TEST):
16122         * check/gst/gstghostpad.c: (GST_START_TEST):
16123         * check/gst/gstiterator.c: (GST_START_TEST):
16124         * check/gst/gstmessage.c: (GST_START_TEST):
16125         * check/gst/gstobject.c: (GST_START_TEST):
16126         * check/gst/gstpad.c: (GST_START_TEST):
16127         * check/gst/gststructure.c: (GST_START_TEST):
16128         * check/gst/gstsystemclock.c: (GST_START_TEST),
16129         (gst_systemclock_suite):
16130         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16131         * check/gst/gstvalue.c: (GST_START_TEST):
16132         * check/pipelines/cleanup.c: (GST_START_TEST):
16133         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16134         * check/states/sinks.c: (GST_START_TEST):
16135         * check/gstcheck.c: (gst_check_init):
16136         * check/gstcheck.h:
16137           add debugging category
16138           use GST_START_TEST now, so we add a debug line
16139
16140 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16141
16142         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16143           add test for state change message on a bin
16144         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16145           add another test
16146         * gst/gstbin.c: (gst_bin_init):
16147         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16148         * gst/gstelement.c: (gst_element_post_message),
16149         (gst_element_set_state):
16150         * gst/gstelementfactory.c: (gst_element_factory_create):
16151         * gst/gstmessage.c: (gst_message_new):
16152         * gst/gstscheduler.c:
16153           various debugging additions and cleanups
16154
16155 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16156
16157         * check/Makefile.am:
16158         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16159         (main):
16160           adding tests for elements
16161         * gst/gstelement.c: (gst_element_dispose):
16162
16163 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16164
16165         * gst/registries/gstlibxmlregistry.c: (load_feature):
16166           plug more leaks.  A simple gst_init() now is leakfree, yay.
16167
16168 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16169
16170         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16171         (gst_xml_registry_load):
16172           plug another memleak
16173
16174 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16175
16176         * configure.ac:
16177           use GST_SET_ERROR_CFLAGS
16178         * docs/faq/cvs.xml:
16179           change to ERROR_CFLAGS
16180
16181 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16182
16183         * configure.ac:
16184           make GST_ERROR_CFLAGS overridable and re-enable Werror
16185         * docs/faq/cvs.xml:
16186           add a note about error CFLAGS
16187         * docs/gst/tmpl/gstfakesrc.sgml:
16188         * gst/elements/gstfakesrc.c:
16189           comment out some unused code
16190         * gst/gst.c: (split_and_iterate):
16191         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16192         (load_feature):
16193           plug some memleaks
16194
16195 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16196
16197         * common/Makefile.am:
16198         * common/gtk-doc.mak:
16199         * docs/gst/Makefile.am:
16200           factor out gtk-doc.mak
16201
16202 2005-07-07  Wim Taymans  <wim@fluendo.com>
16203
16204         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16205         (gst_thread_scheduler_dispose):
16206         Unlock the STREAM_LOCK completely.
16207
16208 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16209
16210         * check/Makefile.am:
16211         * check/elements/.cvsignore:
16212         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16213         (START_TEST), (fakesrc_suite), (main):
16214         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16215         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16216         (gst_fakesrc_create), (gst_fakesrc_start):
16217         * gst/elements/gstfakesrc.h:
16218           adding a first element test
16219
16220 2005-07-07  Andy Wingo  <wingo@pobox.com>
16221
16222         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16223         debug message.
16224
16225 2005-07-07  Wim Taymans  <wim@fluendo.com>
16226
16227         * gst/gstquery.c:
16228         * gst/gstquery.h:
16229         Remove old types
16230
16231 2005-07-07  Wim Taymans  <wim@fluendo.com>
16232
16233         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16234         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16235         Allow subclasses to implement their own negotiation.
16236
16237 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16238
16239         * docs/design/part-gstbin.txt:
16240         * docs/design/part-gstpipeline.txt:
16241           Update design notes to reflect the movement of
16242           responsibility for bus handling from GstPipeline to
16243           GstBin
16244
16245 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16246
16247         * configure.ac:
16248           Remove unnecessary queue2/3/4 examples.
16249
16250 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16251
16252         * examples/Makefile.am:
16253         * examples/helloworld/helloworld.c: (event_loop), (main):
16254         * examples/queue/queue.c: (event_loop), (main):
16255         * examples/queue2/queue2.c: (main):
16256           Update a couple of the examples to work again.
16257
16258         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16259         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16260          Spelling corrections and extra debug.
16261         
16262         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16263         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16264         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16265         * gst/gstbin.h:
16266         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16267         (gst_pipeline_change_state):
16268         * gst/gstpipeline.h:
16269           Move the bus handler for children to the GstBin, and create a
16270           separate bus for receiving messages from children to the one the
16271           bus sends 'upwards' on.
16272
16273 2005-07-06  Wim Taymans  <wim@fluendo.com>
16274
16275         * gst/base/README:
16276         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16277         (gst_base_sink_handle_object), (gst_base_sink_loop),
16278         (gst_base_sink_change_state):
16279         * gst/base/gstbasesink.h:
16280         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16281         (gst_base_src_init), (gst_base_src_setcaps),
16282         (gst_base_src_getcaps), (gst_base_src_loop),
16283         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16284         (gst_base_src_start), (gst_base_src_change_state):
16285         * gst/base/gstbasesrc.h:
16286         Make basesrc negotiate.
16287         Handle the case where preroll fails in basesink.
16288         Update README.
16289
16290 2005-07-06  Wim Taymans  <wim@fluendo.com>
16291
16292         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16293         Implement the fixate function.
16294         Clean up acceptcaps.
16295
16296 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16297
16298         * docs/pwg/building-filterfactory.xml:
16299         * docs/pwg/pwg.xml:
16300           Remove never-written filter-factory chapter; I'll add the various
16301           base classes to part 4 ("other element types") later on.
16302
16303 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16304
16305         * docs/pwg/advanced-negotiation.xml:
16306         * docs/pwg/building-boiler.xml:
16307         * docs/pwg/building-pads.xml:
16308         * docs/pwg/pwg.xml:
16309         * examples/pwg/Makefile.am:
16310           Add a chapter on caps negotiation, simplify the original code
16311           samples a bit w.r.t. caps negotiation, add link to the advanced
16312           section. Add a bunch of examples showing different use cases of
16313           different types of caps negotiation. Upstream renegotiation isn't
16314           fully documented yet since nobody knows how that works.
16315
16316 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16317
16318         * check/gst/gstpad.c:
16319         * check/gstcheck.c:
16320         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16321           if pad has no parent, return NULL as list of internal links
16322
16323 2005-07-05  Andy Wingo  <wingo@pobox.com>
16324
16325         * gst/elements/gstfilesrc.c:
16326         * gst/elements/gstfakesrc.c: 
16327         * gst/base/gstpushsrc.c:
16328         * gst/base/gstbasesrc.h: 
16329         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16330         
16331 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16332
16333         * Makefile.am:
16334           better report generation target (lcov needs a patch)
16335
16336 2005-07-05  Andy Wingo  <wingo@pobox.com>
16337
16338         * gst/elements, testsuite: Null if we got it...
16339
16340 2005-07-05  Wim Taymans  <wim@fluendo.com>
16341
16342         * configure.ac:
16343         * libs/gst/dataprotocol/Makefile.am:
16344         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16345         * libs/gst/dataprotocol/dataprotocol.h:
16346         * pkgconfig/Makefile.am:
16347         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16348         * pkgconfig/gstreamer-dataprotocol.pc.in:
16349         Ported dataprotol to 0.9. 
16350         Added pkgconfig files.
16351
16352 2005-07-05  Andy Wingo  <wingo@pobox.com>
16353
16354         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16355         Default to returning TRUE for the case when tranform_caps returns
16356         a fixed caps, like for identity or volume.
16357
16358         * check/gst/gstbus.c (pound_bus_with_messages): 
16359         * check/gst/gstmessage.c (START_TEST): 
16360         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16361         message API change.
16362
16363         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16364         logic weaks here: always run transform_caps, trying passthrough
16365         operation only if the original caps intersects with the transform.
16366
16367         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16368         source and sink caps.
16369
16370         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16371         Intersect the peer caps with the pad template before going into
16372         transform_caps.
16373         (gst_base_transform_transform_caps): More debugging.
16374
16375         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16376         src argument.
16377
16378 2005-07-04  Edward Hervey  <edward@fluendo.com>
16379
16380         * gst/gstutils.c:
16381         * gst/gstutils.h:
16382         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16383         in bindings.
16384
16385 2005-07-04  Andy Wingo  <wingo@pobox.com>
16386
16387         * check/gst/gstpad.c: Only set explicit caps on pads.
16388
16389 2005-07-01  Andy Wingo  <wingo@pobox.com>
16390
16391         * tests/network-clock.scm: Commentary update.
16392
16393         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16394         Didn't really make sense, not implementable with basetransform,
16395         etc.
16396         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16397         attempt at implementing the sync property, needs an unlock method.
16398
16399         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16400         New func, by default returns the same caps (the identity
16401         transformation).
16402         (gst_base_transform_getcaps): Uses transform_caps to return
16403         something sensible.
16404         (gst_base_transform_setcaps): Complicated logic to get caps on
16405         both pads, even if they are different, and to call set_caps once
16406         for every time both pads get their caps set.
16407         (gst_base_transform_handle_buffer): Give the ref to the transform
16408         function. Allows in-place modification of the buffer.
16409
16410         * gst/base/gstbasetransform.h (transform_caps): New class method.
16411         Given caps on one side, what can I do on the other.
16412         (set_caps): Take two caps, one for each side of the element.
16413
16414         * gst/gstpad.h:
16415         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16416         caps in place. This is safe because we can check the mutability of
16417         the caps, and a good idea because fixate functions are just called
16418         as a matter of last resort. (Not actually implemented.)
16419         (gst_pad_set_caps): If the caps we're setting is actually the same
16420         as the existing pad caps, just update the pointer without calling
16421         setcaps. Assert that caps is either NULL or fixed, as per the
16422         docs.
16423
16424         * gst/gstghostpad.c: Update for fixate changes.
16425
16426 2005-07-02  Andy Wingo  <wingo@pobox.com>
16427
16428         * gst/gstcaps.c:
16429         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16430         two refcounts makes it immutable, which is enough. Doc more.
16431
16432 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16433
16434         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16435           Put the mini_object into GValue as a mini_object,
16436           not a gpointer, since that's how we declared
16437           the signal.
16438
16439 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16440
16441         * examples/pwg/Makefile.am:
16442           Fix buildbot again.
16443
16444 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16445
16446         * docs/pwg/building-testapp.xml:
16447           Add extra check.
16448         * examples/pwg/Makefile.am:
16449           Fix buildbot.
16450
16451 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16452
16453         * configure.ac:
16454         * examples/Makefile.am:
16455         * examples/pwg/Makefile.am:
16456         * examples/pwg/extract.pl:
16457           Enable building the PWG examples.
16458         * docs/pwg/advanced-interfaces.xml:
16459           Add URI interface stub.
16460         * docs/pwg/advanced-types.xml:
16461         * docs/pwg/other-autoplugger.xml:
16462         * docs/pwg/appendix-porting.xml:
16463         * docs/pwg/pwg.xml:
16464           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16465         * docs/pwg/building-boiler.xml:
16466         * docs/pwg/building-chainfn.xml:
16467         * docs/pwg/building-pads.xml:
16468         * docs/pwg/building-props.xml:
16469         * docs/pwg/building-state.xml:
16470         * docs/pwg/building-testapp.xml:
16471           Update the building-*.xml parts for 0.9 changes. All examples
16472           code blocks compile in examples/pwg/*.
16473
16474 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16475
16476         * docs/manual/advanced-autoplugging.xml:
16477         * docs/manual/appendix-checklist.xml:
16478         * docs/manual/appendix-integration.xml:
16479         * docs/manual/highlevel-components.xml:
16480           Fix playbin/decodebin examples, update docs a bit, mention bus
16481           instead of signals in various places, mention kmplayer and
16482           kaffeine since they have a working GStreamer backend in the KDE
16483           section.
16484
16485 2005-06-30  Wim Taymans  <wim@fluendo.com>
16486
16487         * CHANGES-0.9:
16488         * docs/design/draft-ghostpads.txt:
16489         * docs/design/draft-push-pull.txt:
16490         * docs/design/draft-query.txt:
16491         * docs/design/part-TODO.txt:
16492         * docs/design/part-query.txt:
16493         Added CHANGES-0.9 doc, updated status of other docs.
16494         
16495         * gst/gstquery.h:
16496         Remove "hmm" macro
16497
16498 2005-06-30  Wim Taymans  <wim@fluendo.com>
16499
16500         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16501         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16502         (gst_base_sink_change_state):
16503         * gst/base/gstbasesink.h:
16504         Some tweaks, only EOS and a buffer complete a preroll.
16505
16506 2005-06-30  Andy Wingo  <wingo@pobox.com>
16507
16508         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16509         activate_push down to the internal pad as well.
16510
16511 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16512
16513         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16514
16515         * gst/gsttaginterface.c:
16516           Some documentation fixes (#307394 and #307397).
16517
16518 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16519
16520         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16521
16522         * gst/gstvalue.c: (gst_value_intersect_list):
16523           Fix memleak (#309125).
16524
16525 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16526
16527         * docs/manual/advanced-dataaccess.xml:
16528           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16529         * docs/manual/basics-pads.xml:
16530           Add reference for filtered caps to above chapter.
16531
16532 2005-06-30  Wim Taymans  <wim@fluendo.com>
16533
16534         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16535         (gst_bin_change_state):
16536         Probes are gone.
16537         Lame attempt at making the state change function a bit
16538         more readable.
16539
16540 2005-06-30  Wim Taymans  <wim@fluendo.com>
16541
16542         * docs/design/part-clocks.txt:
16543         * docs/design/part-element-sink.txt:
16544         * docs/design/part-events.txt:
16545         * docs/design/part-preroll.txt:
16546         * docs/design/part-states.txt:
16547         Some more tweeks and additions to the docs.
16548
16549 2005-06-30  Wim Taymans  <wim@fluendo.com>
16550
16551         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16552         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16553         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16554         (gst_pad_check_pull_range), (gst_pad_get_range),
16555         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16556         * gst/gstpad.h:
16557         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16558         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16559         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16560         (gst_pad_remove_buffer_probe):
16561         Removed atomic operations, use existing LOCK.
16562         Move exception handling out of main code path.
16563
16564 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16565
16566         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16567         (silly_return_true_function), (gst_pad_class_init),
16568         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16569         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16570         (gst_pad_send_event):
16571           Fix accumulator, add default value by using _emitv() instead
16572           of _emit() for signal emission.
16573
16574 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16575
16576         * docs/manual/advanced-dataaccess.xml:
16577         * examples/manual/Makefile.am:
16578           Add probe example.
16579         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16580           Make work (??).
16581
16582 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16583
16584         * gst/elements/gstfilesink.c: (gst_filesink_render):
16585           Simplify code so that we don't have to handle short
16586           writes and return GST_FLOW_ERROR if an error occured.
16587
16588 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16589
16590         * docs/gst/gstreamer-docs.sgml:
16591           Remove probes more.
16592
16593 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16594
16595         * docs/gst/gstreamer-sections.txt:
16596         * docs/gst/tmpl/gstpad.sgml:
16597         * docs/gst/tmpl/gstprobe.sgml:
16598         * gst/Makefile.am:
16599         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16600         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16601         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16602         (gst_pad_push_event), (gst_pad_send_event):
16603         * gst/gstpad.h:
16604         * gst/gstutils.c: (gst_pad_add_data_probe),
16605         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16606         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16607         (gst_pad_remove_buffer_probe):
16608         * gst/gstutils.h:
16609           Remove old probes, add new g-signal-based probes and some utility
16610           functions.
16611
16612 2005-06-29  Edward Hervey  <edward@fluendo.com>
16613
16614         * gst/gstelementfactory.c:
16615         * gst/gstutils.h:
16616         * gst/gstutils.c:
16617         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16618         the definition to the header file.
16619
16620 2005-06-29  Andy Wingo  <wingo@pobox.com>
16621
16622         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16623         plugins from the source directory.
16624
16625 2005-06-29  Wim Taymans  <wim@fluendo.com>
16626
16627         * docs/gst/tmpl/gstbuffer.sgml:
16628         * docs/gst/tmpl/gstclock.sgml:
16629         Some fixings for blantently wrong text.
16630
16631 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16632
16633         * check/Makefile.am:
16634         * gst/gst.c: (add_path_func), (init_pre):
16635         * gst/gstregistry.c: (gst_registry_add_path):
16636           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16637           only scan the GST_PLUGIN_PATH locations, and not add
16638           system locations
16639
16640 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16641
16642         * docs/gst/gstreamer-sections.txt:
16643         * docs/gst/tmpl/gstbasesrc.sgml:
16644         * gst/gstelement.c:
16645         * gst/gstelement.h:
16646         * gst/gstevent.c:
16647         * gst/gstutils.c:
16648           doc fixes
16649
16650 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16651
16652         * docs/manual/advanced-autoplugging.xml:
16653           Fix autoplugging example.
16654
16655 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16656
16657         * docs/manual/advanced-autoplugging.xml:
16658         * docs/manual/mime-world.fig:
16659           Try to get autoplugging working, fix type detection. Fix text
16660           in hello-world image.
16661
16662 2005-06-29  Wim Taymans  <wim@fluendo.com>
16663
16664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16665         (gst_base_sink_change_state):
16666         Small debug line.
16667
16668         * gst/gstclock.h:
16669         map SIGNAL and BROADCAST to the right function.
16670
16671         * gst/gstobject.h:
16672         Remove redundant braces.
16673
16674         * gst/gstpad.c: (gst_pad_set_caps):
16675         Don't call setcaps function when reseting caps to NULL.
16676
16677         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16678         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16679         (gst_system_clock_id_unschedule):
16680         Use BROADCAST as this is what we do.
16681
16682 2005-06-29  Wim Taymans  <wim@fluendo.com>
16683
16684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16685         We are actually prerolling before commiting the state
16686         change. 
16687
16688 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16689
16690         * docs/manual/advanced-clocks.xml:
16691         * docs/manual/advanced-interfaces.xml:
16692         * docs/manual/advanced-metadata.xml:
16693         * docs/manual/advanced-position.xml:
16694         * docs/manual/advanced-schedulers.xml:
16695         * docs/manual/advanced-threads.xml:
16696         * docs/manual/appendix-porting.xml:
16697         * docs/manual/basics-bins.xml:
16698         * docs/manual/basics-bus.xml:
16699         * docs/manual/basics-elements.xml:
16700         * docs/manual/basics-helloworld.xml:
16701         * docs/manual/basics-pads.xml:
16702         * docs/manual/highlevel-components.xml:
16703         * docs/manual/manual.xml:
16704         * docs/manual/thread.fig:
16705           Update (until threads/scheduling) Application Development Manual;
16706           remove GstThread, add GstBus, add simple porting checklist, add
16707           documentation for tag writing, clocks, make all examples until this
16708           part compile and run.
16709         * examples/manual/Makefile.am:
16710           Update from changes to Application Development Manual; add bus
16711           example, remove thread example.
16712
16713 2005-06-28  Wim Taymans  <wim@fluendo.com>
16714
16715         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16716         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16717         (gst_bus_source_dispatch):
16718         Add debugging messages.
16719         Make internal methods static.
16720         Handle the case where the bus is flushed in the handler.
16721         
16722         * gst/gstelement.c: (gst_element_get_bus):
16723         Fix refcount in _get_bus();
16724
16725         * gst/gstpipeline.c: (gst_pipeline_change_state),
16726         (gst_pipeline_get_clock_func):
16727         Clock refcounting fixes.
16728         Handle the case where preroll timed out more gracefully.
16729         
16730         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16731         Clean up the internal thread in dispose. This is needed
16732         for subclasses that actually get disposed.
16733         
16734         * gst/schedulers/threadscheduler.c:
16735         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16736         (gst_thread_scheduler_dispose):
16737         Free thread pool in dispose.
16738
16739 2005-06-28  Andy Wingo  <wingo@pobox.com>
16740
16741         * tests/network-clock-utils.scm (debug, print-event): New utils.
16742
16743         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16744         (*packet-loss*): Unified loss probability.
16745         (network-time): Report out-of-band events.
16746
16747         * tests/plot-data: Add support for out-of-band events. Hack it
16748         into this script instead of passing it down the pipe; should fix
16749         this later.
16750
16751 2005-06-28  Wim Taymans  <wim@fluendo.com>
16752
16753         * docs/gst/gstreamer.types:
16754         * docs/gst/tmpl/gstbasesrc.sgml:
16755         * docs/gst/tmpl/gstpad.sgml:
16756         Docs fixes.
16757
16758 2005-06-28  Wim Taymans  <wim@fluendo.com>
16759
16760         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16761         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16762         (gst_proxy_pad_do_fixatecaps):
16763         Correctly proxy the check_pull_range function.
16764
16765 2005-06-28  Andy Wingo  <wingo@pobox.com>
16766
16767         * tests/network-clock.scm: Removed need for slib.
16768         
16769 2005-06-28  Wim Taymans  <wim@fluendo.com>
16770
16771         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16772         (gst_basesink_preroll_queue_flush):
16773         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16774         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16775         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16776         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16777         (gst_proxy_pad_set_property):
16778         * gst/gstpad.c:
16779         * gst/gstpad.h:
16780         * gst/gstqueue.c: (gst_queue_init):
16781         The deprecated pad loop function is removed now.
16782
16783 2005-06-28  Andy Wingo  <wingo@pobox.com>
16784
16785         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16786         New parameters, simulate network packet loss.
16787
16788         * tests/network-clock-utils.scm: Initialize the RNG.
16789
16790 2005-06-28  Wim Taymans  <wim@fluendo.com>
16791
16792         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16793         (gst_basesink_event), (gst_basesink_deactivate):
16794         Flushing the preroll queue always needs to unlock the waiters.
16795
16796 2005-06-28  Edward Hervey  <edward@fluendo.com>
16797
16798         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16799         Wheen a seek was successful on a pipeline, set the stream_time to the
16800         seek offset in order to have a synchronized stream_time.
16801
16802 2005-06-28  Wim Taymans  <wim@fluendo.com>
16803
16804         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16805         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16806         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16807         (gst_proxy_pad_do_fixatecaps):
16808         Call wrapper function instead of just calling the function
16809         pointers. This takes care of any locking and whatmore.
16810
16811 2005-06-28  Wim Taymans  <wim@fluendo.com>
16812
16813         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16814         (gst_pad_pull_range):
16815         * gst/gstpad.h:
16816         CONNECTED -> LINKED.
16817
16818 2005-06-28  Andy Wingo  <wingo@pobox.com>
16819
16820         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16821         source-munging commit!!!
16822
16823         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16824         (gst_object_sink): Take gpointer arguments, not GstObject --
16825         avoids casts. Like GLib.
16826
16827         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16828         activate.
16829
16830 2005-06-27  Andy Wingo  <wingo@pobox.com>
16831
16832         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16833         remaining buffer.
16834
16835         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16836         returns a sorted copy of the trace list.
16837         (gst_alloc_trace_print_live): New API, only prints traces with
16838         live objects. Sort the list.
16839         (gst_alloc_trace_print_all): Sort the list.
16840         (gst_alloc_trace_print): Align columns.
16841
16842         * gst/elements/gstttypefindelement.c:
16843         * gst/elements/gsttee.c:
16844         * gst/base/gstbasesrc.c:
16845         * gst/base/gstbasesink.c:
16846         * gst/base/gstbasetransform.c:
16847         * gst/gstqueue.c: Adapt for pad activation changes.
16848
16849         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16850         sched.
16851         (gst_pipeline_dispose): Drop ref on sched.
16852
16853         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16854         (gst_pad_activate_default): Push mode by default.
16855         (pre_activate_switch, post_activate_switch): New stubs, things to
16856         do before and after switching activation modes on pads.
16857         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16858         the pad's activate function to choose which mode to activate.
16859         Shortcut on deactivation and call the right function directly.
16860         (gst_pad_activate_pull): New API, (de)activates a pad in pull
16861         mode.
16862         (gst_pad_activate_push): New API, same for push mode.
16863         (gst_pad_set_activate_function) 
16864         (gst_pad_set_activatepull_function) 
16865         (gst_pad_set_activatepush_function): Setters for new API.
16866
16867         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16868         Trace all miniobjects.
16869         (gst_mini_object_make_writable): Unref the arg if we copy, like
16870         gst_caps_make_writable.
16871
16872         * gst/gstmessage.c (_gst_message_initialize): No trace init.
16873
16874         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
16875         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16876         Adapt for new pad API.
16877
16878         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16879
16880         * gst/gstelement.h:
16881         * gst/gstelement.c (gst_element_iterate_src_pads) 
16882         (gst_element_iterate_sink_pads): New API functions.
16883         
16884         * gst/gstelement.c (iterator_fold_with_resync): New utility,
16885         should fold into gstiterator.c in some form.
16886         (gst_element_pads_activate): Simplified via use of fold and
16887         delegation of decisions to gstpad->activate.
16888
16889         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16890         help in debugging.
16891
16892         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16893         class once in init, like gstmessage. Didn't run into this issue
16894         but it seems correct. Don't initialize a trace, gstminiobject does
16895         that.
16896
16897         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16898         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16899         to the bus.
16900         (assert_live_count): New util function, uses alloc traces to check
16901         cleanup.
16902
16903         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16904         To be modified when unlink drops the internal pad.
16905
16906 2005-06-27  Wim Taymans  <wim@fluendo.com>
16907
16908         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16909         (gst_bin_change_state):
16910         Cleanup the get_state() function a little, make sure it
16911         iterates the same set of elements.
16912         Added stub iterate_state_order().
16913
16914 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16915
16916         * docs/gst/gstreamer-docs.sgml:
16917         * docs/gst/gstreamer-sections.txt:
16918         * docs/gst/gstreamer.types:
16919         * docs/gst/tmpl/gstbasesink.sgml:
16920         * docs/gst/tmpl/gstbasesrc.sgml:
16921         * docs/gst/tmpl/gstbasetransform.sgml:
16922         * docs/gst/tmpl/gstelement.sgml:
16923         * docs/gst/tmpl/gstiterator.sgml:
16924         * gst/base/gstbasesrc.c:
16925         * gst/base/gstbasesrc.h:
16926         * gst/base/gstbasetransform.h:
16927         * gst/gstelement.c:
16928         * gst/gstiterator.h:
16929           adding basetransform and iterator docs
16930
16931 2005-06-27  Andy Wingo  <wingo@pobox.com>
16932
16933         * docs/design/part-activation.txt: Notes on how activation should
16934         work -- not quite implemented yet.
16935
16936 2005-06-25  Wim Taymans  <wim@fluendo.com>
16937
16938         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16939         At least get the chain function correct, needs more
16940         fixing.
16941
16942 2005-06-25  Wim Taymans  <wim@fluendo.com>
16943
16944         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16945         (gst_basesink_handle_object), (gst_basesink_event),
16946         (gst_basesink_do_sync), (gst_basesink_handle_event),
16947         (gst_basesink_change_state):
16948         * gst/gsttask.h:
16949         Right, two problems here: ghostpads don't take locks and
16950         glib _rec_mutex_lock_full() with depth==0 still locks.
16951         Catch illegal locking and g_warn them.
16952
16953 2005-06-25  Wim Taymans  <wim@fluendo.com>
16954
16955         * check/states/sinks.c: (START_TEST), (gst_object_suite):
16956         Have to check for completion now...
16957
16958 2005-06-25  Wim Taymans  <wim@fluendo.com>
16959
16960         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16961         (gst_basesink_handle_object), (gst_basesink_event),
16962         (gst_basesink_do_sync), (gst_basesink_handle_event),
16963         (gst_basesink_change_state):
16964         * gst/gstpad.h:
16965         Unlock STREAM_LOCK whatever the recursion was.
16966
16967 2005-06-25  Wim Taymans  <wim@fluendo.com>
16968
16969         * gst/base/gstbasesink.c: (gst_basesink_set_property),
16970         (gst_basesink_preroll_queue_empty),
16971         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16972         (gst_basesink_event), (gst_basesink_do_sync),
16973         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16974         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16975         (gst_basesink_change_state):
16976         Reworked the base sink, handle event and buffer serialisation
16977         correctly and removed possible deadlock.
16978         Handle EOS correctly.
16979
16980 2005-06-25  Wim Taymans  <wim@fluendo.com>
16981
16982         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16983         (gst_pipeline_change_state):
16984         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16985         Allow elements to post EOS in the state change function.
16986         Fix up -launch, make it exit the poll loop when the
16987         pipeline actually changed state.
16988         Fix up warning parsing in -launch.
16989
16990 2005-06-25  Wim Taymans  <wim@fluendo.com>
16991
16992         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16993         (gst_tee_sink_activate):
16994         Core takes STREAM_LOCK for us now.
16995
16996 2005-06-25  Wim Taymans  <wim@fluendo.com>
16997
16998         * gst/gstelement.c: (gst_element_get_state_func),
16999         (gst_element_set_state):
17000         * gst/gstelement.h:
17001         * gst/gstmessage.c: (gst_message_parse_error),
17002         (gst_message_parse_warning):
17003         Keep track of current target state while performing a state
17004         change so that subclasses can do something interesting.
17005         Fix parsing of warning/error messages when GError is NULL.
17006
17007 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17008
17009         * docs/gst/Makefile.am:
17010         * docs/gst/gstreamer-docs.sgml:
17011         * docs/gst/gstreamer-sections.txt:
17012         * docs/gst/gstreamer.types:
17013         * docs/gst/tmpl/gstbasesink.sgml:
17014         * docs/gst/tmpl/gstbasesrc.sgml:
17015         * docs/gst/tmpl/gstbin.sgml:
17016         * docs/gst/tmpl/gstcompat.sgml:
17017         * docs/gst/tmpl/gstfakesink.sgml:
17018         * docs/gst/tmpl/gstfakesrc.sgml:
17019         * docs/gst/tmpl/gstfilesink.sgml:
17020         * docs/gst/tmpl/gstfilesrc.sgml:
17021         * docs/gst/tmpl/gstindex.sgml:
17022         * docs/manual/appendix-quotes.xml:
17023         * gst/base/gstbasesrc.h:
17024         * gst/elements/gstfakesrc.h:
17025         * gst/gstmessage.h:
17026           start pulling in base classes and elements in our docs
17027
17028 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17029
17030         * docs/gst/Makefile.am:
17031         * docs/libs/Makefile.am:
17032           fixed make distcheck with gtk-doc 1.3
17033
17034 2005-06-23  Wim Taymans  <wim@fluendo.com>
17035
17036         * gst/gstelement.c: (gst_element_get_state_func),
17037         (gst_element_set_state), (gst_element_change_state):
17038         When the state did not change, also report NO_PREROLL
17039         when it matters.
17040
17041 2005-06-23  Wim Taymans  <wim@fluendo.com>
17042
17043         * gst/gstpad.c: (gst_pad_event_default):
17044         * gst/gstqueue.c: (gst_queue_loop):
17045         No unsafe task pausing please.
17046
17047 2005-06-23  Wim Taymans  <wim@fluendo.com>
17048
17049         * gst/schedulers/threadscheduler.c:
17050         (gst_thread_scheduler_task_start),
17051         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17052         Ref the task before pushing it on the threadpool. This
17053         makes sure that we have a ref when the threadfunction is
17054         actually called.
17055
17056 2005-06-23  Andy Wingo  <wingo@pobox.com>
17057
17058         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17059         offset is greater than the file's size.
17060
17061         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17062         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17063         * gst/gstobject.c (gst_object_class_init): Make the class lock
17064         recursive. Wim won't let me drop deep_notify. Decodebin works
17065         again, whoopdy doo.
17066
17067         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17068         internal pad, and hacks accordingly. Doesn't do it on the target
17069         pad because we change its caps. Probably catches all cases of
17070         interest tho.
17071         (gst_ghost_pad_set_property): Connect to notify::caps as
17072         appropritate.
17073
17074         * tests/network-clock.scm (plot-simulation): Pipe data to the
17075         elite python skript.
17076
17077         * tests/network-clock-utils.scm (define-parameter): New macro,
17078         defines a parameter that can be set via the command line.
17079         (set-parameter!, parse-parameter-arguments): Command line args
17080         parser.
17081
17082         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17083         stdin.
17084
17085 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17086
17087         * gst/elements/gsttypefindelement.c:
17088         (gst_type_find_element_handle_event):
17089           Don't restart typefinding on a discont.
17090         * gst/gstelement.c: (gst_element_set_state):
17091           Debug spelling fix.
17092         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17093           Allow changing mode of an active pad.
17094           Debug output fixes.
17095         * gst/registries/gstlibxmlregistry.c: (load_feature):
17096           Don't cast a static pad template to a normal pad template.
17097
17098 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17099
17100         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17101         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17102           remove gst_strtoll completely, since it didn't actually do
17103           anything more than what g_ascii_strtoull already does.
17104           check for range errors when deserializing
17105           do a cast for the unsigned cases; but further fixing needs
17106           a decision on what the interpretation of "(int)" and
17107           deserialization should be for values that fall outside the
17108           type's boundaries (ie, refuse, or interpret as casting)
17109
17110 2005-06-23  Wim Taymans  <wim@fluendo.com>
17111
17112         * check/Makefile.am:
17113         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17114         * docs/design/part-live-source.txt:
17115         * docs/design/part-states.txt:
17116         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17117         (gst_basesrc_set_live), (gst_basesrc_is_live),
17118         (gst_basesrc_get_range), (gst_basesrc_activate),
17119         (gst_basesrc_change_state):
17120         * gst/base/gstbasesrc.h:
17121         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17122         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17123         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17124         * gst/gstelement.c: (gst_element_get_state_func),
17125         (gst_element_set_state):
17126         * gst/gstelement.h:
17127         * gst/gsttypes.h:
17128         * tools/gst-launch.c: (event_loop), (main):
17129         Added support for live sources and other elements that
17130         cannot do preroll.
17131         Updated design docs, added live-source design doc.
17132         Implemented live source functionality in basesrc
17133         Fix error condition in _bin_get_state()
17134         Implement live source handling in -launch.
17135         Added check for live sources.
17136         Fixed case in GstBin where elements were changed state
17137         multiple times.
17138
17139
17140 2005-06-23  Andy Wingo  <wingo@pobox.com>
17141
17142         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17143         borken refcounting.
17144
17145         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17146         gst_caps_replace takes care of this for us.
17147
17148         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17149         gst_pad_set_caps on the target, not just its setcaps() function.
17150
17151         * tests/network-clock.scm: 
17152         * tests/network-clock-utils.scm: A network clock simulator.
17153         Something of an algorithmic testbed before doing something in C.
17154
17155 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17156
17157         * check/Makefile.am:
17158         * check/gst/capslist.h:
17159           copy over from 0.8, and add two with bitmasks specified with
17160           (int) 0xFF...
17161         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17162           add test to parse everything from capslist.h
17163         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17164         (main):
17165           add test for structure deserialization
17166         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17167           add tests for deserialization of strings to int types
17168         * gst/gststructure.c: (gst_structure_nth_field_name):
17169         * gst/gststructure.h:
17170           add a way to get the name of a field referenced by index
17171         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17172           instead of checking if the resulting long long lies between
17173           min and max, we check if the long long would fit into
17174           a number of bytes for the final type.
17175           This fixes cases where a string represents 2^32 - 1, which
17176           when cast to int would be the (valid) -1, but is bigger than
17177           G_MAXINT
17178
17179 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17180
17181         * gst/parse/grammar.y:
17182           add a log line for type deserialization
17183
17184 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17185
17186         * check/gst/gstvalue.c: (START_TEST):
17187         * gst/gstvalue.c: (gst_value_deserialize):
17188           return long long, not int, so gint64 deserialization actually
17189           works.  Is there any flag that makes the compiler check this ?
17190           Fixes #308559
17191
17192 2005-06-22  Wim Taymans  <wim@fluendo.com>
17193
17194         * gst/gstbuffer.h:
17195         Added convenience macros for setting buffers in GValue.
17196
17197 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17198
17199         * check/gst/.cvsignore:
17200         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17201           add a test deserializing int64, and comment part out because
17202           it fails, yay !
17203
17204 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17205
17206         * check/Makefile.am:
17207         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17208         * testsuite/Makefile.am:
17209         * testsuite/caps/Makefile.am:
17210         * testsuite/caps/value_serialize.c:
17211         * testsuite/test_gst_init.c:
17212           move a value_serialize test over
17213
17214 2005-06-20  Wim Taymans  <wim@fluendo.com>
17215
17216         * gst/gstpad.c:
17217         Small doc updates.
17218         
17219         * gst/gstvalue.c: (gst_value_compare_buffer),
17220         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17221         (gst_value_compare_flags), (gst_value_serialize_flags),
17222         (gst_value_deserialize_flags), (_gst_value_initialize):
17223         Fix serialisation of buffers, they are not boxed types anymore
17224
17225 2005-06-20  Wim Taymans  <wim@fluendo.com>
17226
17227         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17228         Testcase to show error in buffer-on-caps serialisation.
17229
17230 2005-06-20  Andy Wingo  <wingo@pobox.com>
17231
17232         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17233         will be adding to later.
17234
17235         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17236         if its socks fill with rocks.
17237         (gst_system_clock_obtain): Set the name on object construction.
17238         Avoid double-checked locking.
17239
17240 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17241
17242         * gst/gsturi.c: (gst_element_make_from_uri):
17243           Fix potential endless loop.
17244
17245 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17246
17247         * check/Makefile.am:
17248           add gsttag
17249         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17250         (main):
17251           move over from testsuite dir and clean up
17252         * configure.ac:
17253         * gst/gsttag.c:
17254         * testsuite/Makefile.am:
17255         * testsuite/tags/.cvsignore:
17256         * testsuite/tags/Makefile.am:
17257         * testsuite/tags/merge.c:
17258           remove testsuite/tags
17259
17260 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17261
17262         * docs/gst/gstreamer-sections.txt:
17263         * docs/gst/tmpl/gstenumtypes.sgml:
17264         * win32/gstenumtypes.c:
17265           clean up documentation build a little
17266
17267 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17268
17269         * check/gstcheck.h:
17270           add macros for checking refcounts on objects and caps
17271         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17272           add some more unit tests
17273         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17274         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17275           fix leaked refcounts (I hope :)) so unittest works
17276         * gst/gstpad.h:
17277           whitespace removal
17278
17279 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17280
17281         * configure.ac: back to HEAD
17282
17283 === release 0.9.1 ===
17284
17285 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17286
17287         * NEWS:
17288         * RELEASE:
17289           updated
17290
17291 2005-06-17  Andy Wingo  <wingo@pobox.com>
17292
17293         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17294         assert; it's always possible that the pad gets deactivated in
17295         between the checks in gstpad.c and the implementation. Rely on
17296         finish_preroll() to return a FLUSHING or similar instead of on the
17297         assert.
17298         
17299         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17300         clock and post an EOS message if we come out of finish_preroll in
17301         the playing state.
17302
17303 2005-06-16  David Schleef  <ds@schleef.org>
17304
17305         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17306         (gst_capsfilter_set_property): Allow NULL as possible value
17307         for filter_caps property, indicating GST_CAPS_ANY.
17308
17309 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17310
17311         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17312           fix debug output
17313         * gst/schedulers/Makefile.am:
17314           use libgst prefix
17315         * gstreamer.spec.in:
17316           fix spec for it
17317
17318 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17319
17320         * gstreamer.spec.in:
17321           clean up
17322
17323 2005-06-08  Andy Wingo  <wingo@pobox.com>
17324
17325         * gst/gstutils.c: RPAD fixes all around.
17326         (gst_element_link_pads): Refcounting fixes.
17327
17328         * tools/gst-inspect.c:
17329         * tools/gst-xmlinspect.c:
17330         * parse/grammar.y:
17331         * gst/base/gsttypefindhelper.c:
17332         * gst/base/gstbasesink.c:
17333         * gst/gstqueue.c: RPAD fixes.
17334
17335         * gst/gstghostpad.h:
17336         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17337         pads. The tricky thing is they provide both source and sink
17338         interfaces, since they proxy the internal pad for the external
17339         pad, and vice versa. Implement with lower-level ProxyPad objects,
17340         with the interior proxy pad as a child of the exterior ghost pad.
17341         Should write a doc on this.
17342         
17343         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17344         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17345         gst_object API.
17346         
17347         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17348         pads are real pads. No ghost pads in this file. Not documenting
17349         the myriad s/RPAD/PAD/ and REALIZE fixes.
17350         (gst_pad_class_init): Add properties for "direction" and
17351         "template". Both are construct-only, so they can't change during
17352         the life of the pad. Fixes properly deriving from GstPad.
17353         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17354         derived objects, just set properties when creating the objects via
17355         g_object_new.
17356         (gst_pad_get_parent): Implement as a function, return NULL if the
17357         parent is not an element.
17358         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17359         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17360         
17361         * gst/gstobject.c (gst_object_class_init): Make name a construct
17362         property. Don't set it in the object init.
17363
17364         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17365         with UNKNOWN direction.
17366         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17367         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17368         (gst_element_remove_pad): Remove ghost-pad special cases.
17369         (gst_element_pads_activate): Remove rpad cruft.
17370
17371         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17372         catch the pad's-parent-not-an-element case.
17373
17374         * gst/gst.h: Include gstghostpad.h.
17375
17376         * gst/gst.c (init_post): No more real, ghost pads.
17377
17378         * gst/Makefile.am: Add gstghostpad.[ch].
17379
17380         * check/Makefile.am:
17381         * check/gst/gstbin.c:
17382         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17383         into a bin creates ghost pads, and that the refcounts are right.
17384         Partly moved from gstbin.c.
17385
17386 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17387
17388         * check/gst-libs/.cvsignore:
17389         * check/gst/.cvsignore:
17390         * check/pipelines/.cvsignore:
17391           ignore more
17392         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17393         (START_TEST), (cleanup_suite), (main):
17394           add some tests related to cleanup after running pipelines
17395
17396 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17397
17398         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17399           add a testsuite for GstBuffer
17400
17401 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17402
17403         * gst/gstminiobject.h:
17404           add defines for accessing the refcount
17405
17406 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17407
17408         * Makefile.am: added support for html unit test coverage reports
17409
17410 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17411
17412         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17413           Free existing caps if the capsfilter changes. Add a FIXME about
17414           setting those caps on the pads.
17415
17416         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17417           Before adding a ghost pad to a parent bin, check that there isn't
17418           already one for the element on the bin. Prevents infinite recursion
17419           when using decodebin in parse pipelines. Andy says he'll rewrite the
17420           way this works anyway, so ignore the hack.
17421
17422 2005-06-02  Andy Wingo  <wingo@pobox.com>
17423
17424         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17425         file size, pass it on to the type find helper.
17426
17427         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17428         segment_start and segment_end properly according to the seek
17429         method. Segment_end is still a bit flaky because offset can be
17430         negative for CUR and END cases, but it takes -1 as an "unset"
17431         value.
17432
17433 2005-06-02  Wim Taymans  <wim@fluendo.com>
17434
17435         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17436         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17437         (gst_basesink_activate):
17438         * gst/base/gstbasesink.h:
17439         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17440         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17441         (gst_pad_query), (gst_pad_start_task):
17442         * gst/gstpad.h:
17443         * gst/gstqueue.c: (gst_queue_bufferalloc),
17444         (gst_queue_handle_sink_event), (gst_queue_chain):
17445         Bufferalloc: return GstFlowReturn to more accuratly report
17446         why allocation failed.
17447
17448 2005-06-02  Wim Taymans  <wim@fluendo.com>
17449
17450         * gst/gstpipeline.c: (gst_pipeline_send_event):
17451         Take snapshot of state without blocking.
17452
17453 2005-06-02  Wim Taymans  <wim@fluendo.com>
17454
17455         * docs/design/part-TODO.txt:
17456         * docs/design/part-caps.txt:
17457         * docs/design/part-clocks.txt:
17458         * docs/design/part-negotiation.txt:
17459         * docs/design/part-preroll.txt:
17460         Small doc updates 
17461
17462 2005-05-30  Wim Taymans  <wim@fluendo.com>
17463
17464         * gst/elements/gstidentity.c: (gst_identity_event),
17465         (gst_identity_transform), (gst_identity_get_property):
17466         Protect last_message property as it is accessed from
17467         multiple threads.
17468
17469 2005-05-30  Wim Taymans  <wim@fluendo.com>
17470
17471         * gst/gstelement.c: (gst_element_init),
17472         (gst_element_pads_activate), (gst_element_change_state):
17473         Slicker pad activation code.
17474
17475 2005-05-30  Wim Taymans  <wim@fluendo.com>
17476
17477         * gst/Makefile.am:
17478         * gst/gstelement.h:
17479         * gst/gstelementfactory.h:
17480         * gst/gsttypes.h:
17481         Move elementfactory methods to separate .h file.
17482
17483 2005-05-30  Wim Taymans  <wim@fluendo.com>
17484
17485         * docs/design/part-overview.txt:
17486         * gst/gstsystemclock.h:
17487         Small typo fixes, doc updates.
17488
17489 2005-05-30  Wim Taymans  <wim@fluendo.com>
17490
17491         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17492         (init_popt_callback):
17493         Remove cpu-opt flag.
17494
17495 2005-05-30  Wim Taymans  <wim@fluendo.com>
17496
17497         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17498         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17499         * gst/gstbuffer.h:
17500         Avoid typechecking in places where not needed.
17501         Added accessor for malloc_data.
17502
17503 2005-05-30  Wim Taymans  <wim@fluendo.com>
17504
17505         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17506         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17507         (gst_pad_configure_sink), (gst_pad_configure_src),
17508         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17509         (gst_pad_start_task):
17510         Propagate errors from _set_caps() in configure_src/sink
17511         functions instead of returning TRUE.
17512         FLUSH events can travel up and downstream
17513
17514
17515 2005-05-30  Wim Taymans  <wim@fluendo.com>
17516
17517         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17518         (gst_basesink_activate):
17519         Handle EOS in preroll.
17520
17521 2005-05-30  Wim Taymans  <wim@fluendo.com>
17522
17523         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17524         (gst_queue_loop), (gst_queue_handle_src_event):
17525         Remove old pieces of code
17526         Flushing the queue in an upstream event is a very bad idea.
17527
17528 2005-05-26  Andy Wingo  <wingo@pobox.com>
17529
17530         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17531         gst_value_set_mini_object so as to add a ref on the object (which
17532         will be removed when the value is unset).
17533
17534         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17535         arg type in ::handoff.
17536
17537         * gst/gstelement.c (gst_element_change_state): Also deactivate
17538         pads in READY->NULL, just in case the element didn't make it to
17539         PAUSED. Wingo tested, Wim approved.
17540
17541 2005-05-26  Wim Taymans  <wim@fluendo.com>
17542
17543         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17544         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17545         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17546         A flushing pad cannot be used to alloc_buffer from.
17547
17548 2005-05-26  Wim Taymans  <wim@fluendo.com>
17549
17550         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17551         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17552         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17553         (gst_bus_create_watch), (gst_bus_add_watch_full):
17554         * gst/gstbus.h:
17555         Implement a real GSource and use g_main_context_wakeup() to
17556         signal new messages instead of the socketpair.
17557
17558 2005-05-25  Wim Taymans  <wim@fluendo.com>
17559
17560         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17561         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17562         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17563         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17564         (gst_pad_send_event), (gst_pad_start_task):
17565         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17566         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17567         (gst_queue_sink_activate), (gst_queue_src_activate),
17568         (gst_queue_change_state):
17569         * gst/gstqueue.h:
17570         Fix state changes for non sinks. We now change sinks, then elements
17571         with unconnected srcpads, then the rest.
17572         More efficient queue unlocking in flush and state changes.
17573         Set the pad activate mode even if it does not have an activate
17574         function.
17575
17576 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17577
17578         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17579           Don't go in pull mode for non-seekable sources.
17580         * gst/elements/gsttypefindelement.h:
17581         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17582         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17583         (free_entry), (stop_typefinding),
17584         (gst_type_find_element_handle_event), (find_peek),
17585         (gst_type_find_element_chain), (do_pull_typefind),
17586         (gst_type_find_element_change_state):
17587           Allow typefinding (w/o seeking) in push-mode, simplified version
17588           of what was in 0.8.
17589         * gst/gstutils.c: (gst_buffer_join):
17590         * gst/gstutils.h:
17591           gst_buffer_join() from 0.8.
17592
17593 2005-05-25  Wim Taymans  <wim@fluendo.com>
17594
17595         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17596         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17597         (gst_pad_send_event), (gst_pad_start_task):
17598         Disable attempt at mode switching until it is figured out.
17599
17600 2005-05-25  Wim Taymans  <wim@fluendo.com>
17601
17602         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17603         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17604         (gst_basesink_finish_preroll), (gst_basesink_chain),
17605         (gst_basesink_loop), (gst_basesink_activate),
17606         (gst_basesink_change_state):
17607         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17608         (gst_basesrc_get_range), (gst_basesrc_loop),
17609         (gst_basesrc_activate):
17610         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17611         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17612         (gst_real_pad_init), (gst_real_pad_set_property),
17613         (gst_real_pad_get_property), (gst_pad_set_active),
17614         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17615         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17616         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17617         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17618         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17619         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17620         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17621         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17622         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17623         (gst_pad_stop_task):
17624         * gst/gstpad.h:
17625         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17626         (gst_queue_loop), (gst_queue_src_activate):
17627         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17628         (gst_task_get_state):
17629         * gst/gsttask.h:
17630         * gst/schedulers/threadscheduler.c:
17631         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17632         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17633         in task function.
17634         Remove ACTIVE pad flag, use FLUSHING everywhere
17635         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17636         functions.
17637         Add locks around IS_FLUSHING when reading.
17638         Take STREAM lock in chain(), get_range() functions so plugins
17639         don't need to take it anymore.
17640         
17641
17642
17643 2005-05-25  Wim Taymans  <wim@fluendo.com>
17644
17645         * tools/gst-launch.c: (event_loop):
17646         Unref message after using its contents instead of
17647         before.
17648
17649 2005-05-24  Wim Taymans  <wim@fluendo.com>
17650
17651         * docs/design/draft-ghostpads.txt:
17652         * docs/design/draft-push-pull.txt:
17653         * docs/design/draft-query.txt:
17654         * docs/design/part-overview.txt:
17655         Docs updates, added general overview doc.
17656
17657 2005-05-21  David Schleef  <ds@schleef.org>
17658
17659         * docs/gst/tmpl/old/GstBin.sgml:
17660         * docs/gst/tmpl/old/GstBuffer.sgml:
17661         * docs/gst/tmpl/old/GstCaps.sgml:
17662         * docs/gst/tmpl/old/GstClock.sgml:
17663         * docs/gst/tmpl/old/GstCompat.sgml:
17664         * docs/gst/tmpl/old/GstData.sgml:
17665         * docs/gst/tmpl/old/GstElement.sgml:
17666         * docs/gst/tmpl/old/GstEvent.sgml:
17667         * docs/gst/tmpl/old/GstIndex.sgml:
17668         * docs/gst/tmpl/old/GstStructure.sgml:
17669         * docs/gst/tmpl/old/GstTag.sgml:
17670         * docs/gst/tmpl/old/cothreads.sgml:
17671         * docs/gst/tmpl/old/cothreads_compat.sgml:
17672         * docs/gst/tmpl/old/gettext.sgml:
17673         * docs/gst/tmpl/old/gobject2gtk.sgml:
17674         * docs/gst/tmpl/old/grammar.tab.sgml:
17675         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17676         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17677         * docs/gst/tmpl/old/gst_private.sgml:
17678         * docs/gst/tmpl/old/gstaggregator.sgml:
17679         * docs/gst/tmpl/old/gstarch.sgml:
17680         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17681         * docs/gst/tmpl/old/gstbufferstore.sgml:
17682         * docs/gst/tmpl/old/gstdata_private.sgml:
17683         * docs/gst/tmpl/old/gstdisksink.sgml:
17684         * docs/gst/tmpl/old/gstdisksrc.sgml:
17685         * docs/gst/tmpl/old/gstelementfactory.sgml:
17686         * docs/gst/tmpl/old/gstextratypes.sgml:
17687         * docs/gst/tmpl/old/gstfakesink.sgml:
17688         * docs/gst/tmpl/old/gstfakesrc.sgml:
17689         * docs/gst/tmpl/old/gstfdsink.sgml:
17690         * docs/gst/tmpl/old/gstfdsrc.sgml:
17691         * docs/gst/tmpl/old/gstfilesink.sgml:
17692         * docs/gst/tmpl/old/gstfilesrc.sgml:
17693         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17694         * docs/gst/tmpl/old/gstidentity.sgml:
17695         * docs/gst/tmpl/old/gstindexfactory.sgml:
17696         * docs/gst/tmpl/old/gstmarshal.sgml:
17697         * docs/gst/tmpl/old/gstmd5sink.sgml:
17698         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17699         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17700         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17701         * docs/gst/tmpl/old/gstpipefilter.sgml:
17702         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17703         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17704         * docs/gst/tmpl/old/gstshaper.sgml:
17705         * docs/gst/tmpl/old/gstspider.sgml:
17706         * docs/gst/tmpl/old/gstspideridentity.sgml:
17707         * docs/gst/tmpl/old/gststatistics.sgml:
17708         * docs/gst/tmpl/old/gsttee.sgml:
17709         * docs/gst/tmpl/old/gsttimecache.sgml:
17710         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17711         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17712         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17713         * docs/gst/tmpl/old/types.sgml:
17714           I didn't intend to add these or check them in.
17715
17716 2005-05-19  David Schleef  <ds@schleef.org>
17717
17718         * configure.ac: Use -no-common everywhere.  In a sane world, it
17719           would be the default in libtool, because without it, you can't
17720           build DLLs on Windows.
17721         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17722         * docs/gst/gstreamer-sections.txt:
17723         * docs/gst/tmpl/gstcpu.sgml:
17724         * docs/gst/tmpl/gstdata.sgml:
17725         * docs/gst/tmpl/gstthread.sgml:
17726
17727 2005-05-19  David Schleef  <ds@schleef.org>
17728
17729         * gst/gstminiobject.c: (gst_value_set_mini_object),
17730         (gst_value_take_mini_object), (gst_value_get_mini_object):
17731         * gst/gstminiobject.h: Add GValue set/get functions.
17732
17733 2005-05-19  Wim Taymans  <wim@fluendo.com>
17734
17735         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17736         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17737         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17738         * gst/gstbuffer.h:
17739         * gst/gstbus.c: (gst_bus_post):
17740         * gst/gstelement.c: (gst_element_get_random_pad):
17741         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17742         Make subbufer unref the parent in finalize.
17743         some more debugging info.
17744
17745
17746 2005-05-19  Wim Taymans  <wim@fluendo.com>
17747
17748         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17749         (gst_basesink_init), (gst_basesink_finalize),
17750         (gst_basesink_activate), (gst_basesink_change_state):
17751         Don't free preroll queue too early.
17752
17753 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17754
17755         * gst/Makefile.am:
17756         * gst/ROADMAP:
17757           Hi, I'm outdated. Please shoot me.
17758
17759 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17760
17761         * gst/gstpipeline.c: (gst_pipeline_send_event):
17762           Do not access variables after they have been deleted.
17763
17764 2005-05-19  Wim Taymans  <wim@fluendo.com>
17765
17766         * tools/gst-inspect.c: (print_plugin_features):
17767         A plugin feature does unfortunatly not use the
17768         object name yet...
17769
17770 2005-05-18  Wim Taymans  <wim@fluendo.com>
17771
17772         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17773         Port _span() functions to new subbuffers.
17774
17775 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17776
17777         * gst/gstbin.c: (gst_bin_add_func):
17778           Fix clock settery in bins when adding kids after the clock has
17779           been selected.
17780
17781 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17782
17783         * gst/elements/gstidentity.c: (gst_identity_class_init):
17784           Workaround until signals support GstMiniObject.
17785
17786 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17787
17788         * gst/gstbuffer.c:
17789         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17790
17791 2005-05-18  Wim Taymans  <wim@fluendo.com>
17792
17793         * gst/base/Makefile.am:
17794         * gst/base/gstadapter.c: (gst_adapter_base_init),
17795         (gst_adapter_class_init), (gst_adapter_init),
17796         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17797         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17798         (gst_adapter_flush), (gst_adapter_available),
17799         (gst_adapter_available_fast):
17800         * gst/base/gstadapter.h:
17801         Ported and added adapter to the base classes.
17802
17803 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17804
17805         * gst/gst.c:
17806         * gst/gstmessage.c:
17807           Make sure the class is reffed/unreffed once before threads can be
17808           used.  Fixes #304551.
17809
17810 2005-05-17  Wim Taymans  <wim@fluendo.com>
17811
17812         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17813         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17814         * gst/gstminiobject.c: (gst_mini_object_get_type),
17815         (gst_mini_object_free):
17816         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17817         (gst_pad_push), (gst_pad_push_event):
17818         * gst/gstqueue.c: (gst_queue_change_state):
17819         Don't queue buffers in basesink when we are flushing.
17820         Unref buffer when flushing in basesink.
17821         Flush queue when going to READY
17822         Unref buffer when _push() returns an error.
17823         Don't free MiniObject instance when refcount is incremented
17824         in _finalize() so that we can recover objects.
17825
17826 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17827
17828         * docs/manual/advanced-schedulers.xml:
17829         * docs/manual/appendix-checklist.xml:
17830         * docs/pwg/advanced-clock.xml:
17831         * docs/pwg/advanced-interfaces.xml:
17832         * docs/pwg/advanced-request.xml:
17833         * docs/pwg/advanced-types.xml:
17834         * docs/pwg/intro-preface.xml:
17835         * examples/plugins/example.c: (gst_example_get_type),
17836         (gst_example_class_init), (gst_example_chain),
17837         (gst_example_set_property), (gst_example_get_property),
17838         (gst_example_change_state), (plugin_init):
17839         * examples/plugins/example.h:
17840           small doc fixes
17841
17842 2005-05-17  Wim Taymans  <wim@fluendo.com>
17843
17844         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17845         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17846         * gst/gstqueue.c: (gst_queue_change_state):
17847         Clear queue when going to READY.
17848         Remove IN_SETCAPS flag too.
17849
17850 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17851
17852         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17853           Remove implicit cast from gboolean to GstElementStateReturn;
17854           make sure we still return failure in paused => ready case if
17855           the parent class fails to change state and our own stop 
17856           vfunc succeeds.
17857
17858 2005-05-17  Wim Taymans  <wim@fluendo.com>
17859
17860         * tools/gst-launch.c: (event_loop):
17861         Message was unreffed too soon.
17862
17863 2005-05-16  Andy Wingo  <wingo@pobox.com>
17864
17865         * gst/gstbin.c (sink_iterator_filter): Err... um...
17866
17867         * check/gst/gstbin.c (test_ghost_pads): New test for the
17868         ghosting-if-elements-not-in-same-bin behavior.
17869
17870 2005-05-16  David Schleef  <ds@schleef.org>
17871
17872         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17873         accessing refcount directly.
17874
17875 2005-05-15  David Schleef  <ds@schleef.org>
17876
17877         * check/Makefile.am: remove GstData checks
17878         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17879         * gst/Makefile.am: add miniobject, remove data
17880         * gst/gst.h: add miniobject, remove data
17881         * gst/gstdata.c: remove
17882         * gst/gstdata.h: remove
17883         * gst/gstdata_private.h: remove
17884         * gst/gsttypes.h: remove GstEvent and GstMessage
17885         * gst/gstelement.c: (gst_element_post_message): fix for API changes
17886         * gst/gstmarshal.list: change BOXED -> OBJECT
17887
17888         Implement GstMiniObject.
17889         * gst/gstminiobject.c:
17890         * gst/gstminiobject.h:
17891
17892         Modify to be subclasses of GstMiniObject.
17893         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17894         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17895         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17896         (gst_subbuffer_get_type), (gst_subbuffer_init),
17897         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17898         (gst_buffer_span):
17899         * gst/gstbuffer.h:
17900         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17901         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17902         (_gst_event_copy), (gst_event_new):
17903         * gst/gstevent.h:
17904         * gst/gstmessage.c: (_gst_message_initialize),
17905         (gst_message_get_type), (gst_message_class_init),
17906         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17907         (gst_message_new), (gst_message_new_error),
17908         (gst_message_new_warning), (gst_message_new_tag),
17909         (gst_message_new_state_changed), (gst_message_new_application):
17910         * gst/gstmessage.h:
17911         * gst/gstprobe.c: (gst_probe_perform),
17912         (gst_probe_dispatcher_dispatch):
17913         * gst/gstprobe.h:
17914         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17915         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17916         (_gst_query_copy), (gst_query_new):
17917
17918         Update elements for GstData -> GstMiniObject changes
17919         * gst/gstquery.h:
17920         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17921         (gst_queue_chain), (gst_queue_loop):
17922         * gst/elements/gstbufferstore.c:
17923         (gst_buffer_store_add_buffer_func),
17924         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17925         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17926         (gst_fakesink_render):
17927         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17928         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17929         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17930         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17931         (gst_filesrc_create_read):
17932         * gst/elements/gstidentity.c: (gst_identity_class_init):
17933         * gst/elements/gsttypefindelement.c:
17934         (gst_type_find_element_src_event), (free_entry_buffers),
17935         (gst_type_find_element_handle_event):
17936         * libs/gst/dataprotocol/dataprotocol.c:
17937         (gst_dp_header_from_buffer):
17938         * libs/gst/dataprotocol/dataprotocol.h:
17939         * libs/gst/dataprotocol/dp-private.h:
17940
17941 2005-05-15  David Schleef  <ds@schleef.org>
17942
17943         * gst/elements/gstelements.c: Don't include headers that were
17944         just removed.
17945
17946 2005-05-15  David Schleef  <ds@schleef.org>
17947
17948         * gst/elements/Makefile.am: Remove some elements that don't
17949         need to be in the core (or even exist at all).
17950         * gst/elements/gstaggregator.c:
17951         * gst/elements/gstaggregator.h:
17952         * gst/elements/gstmd5sink.c:
17953         * gst/elements/gstmd5sink.h:
17954         * gst/elements/gstmultifilesrc.c:
17955         * gst/elements/gstmultifilesrc.h:
17956         * gst/elements/gstpipefilter.c:
17957         * gst/elements/gstpipefilter.h:
17958         * gst/elements/gstshaper.c:
17959         * gst/elements/gstshaper.h:
17960         * gst/elements/gststatistics.c:
17961         * gst/elements/gststatistics.h:
17962         * po/POTFILES.in: Remove above files.
17963
17964 2005-05-14  Andy Wingo  <wingo@pobox.com>
17965
17966         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17967         so as to get the refs right.
17968         (sink_iterator_filter): New function, wraps bin_element_is_sink,
17969         unreffing objects that don't pass the filter.
17970
17971         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17972         gst_element_set_bus.
17973         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17974         normal cases, this will destroy the bus.
17975
17976         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17977         object.
17978
17979         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17980         has no sinks.
17981
17982 2005-05-13  Andy Wingo  <wingo@pobox.com>
17983
17984         * gst/gstutils.c (gst_element_link_pads): Instead of calling
17985         gst_pad_link, call pad_link_maybe_ghosting,
17986         (pad_link_maybe_ghosting): Links pads, making sure that the
17987         elements being linked are in the same bin.
17988         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17989         Helpers for pad_link_maybe_ghosting.
17990
17991 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17992
17993         * configure.ac:
17994           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17995
17996 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
17997
17998         * docs/design/part-element-source.txt:
17999           Mention GstPushSrc
18000
18001 2005-05-12  Wim Taymans  <wim@fluendo.com>
18002
18003         * gst/base/gstbasesink.c: (gst_basesink_init),
18004         (gst_basesink_activate):
18005         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18006         (gst_basesrc_is_seekable):
18007         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18008         (bin_element_is_sink), (gst_bin_change_state):
18009         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18010         * gst/gstelement.h:
18011         Identify sinks by their flag to avoid overly complicated
18012         checks (fow now).
18013         Do state changes even for elements not reachable from the
18014         sinks.
18015         BaseSink is a sink now :)
18016         Some more debugging info in the basesrc.
18017
18018
18019 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18020
18021         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18022           Implement _query on a bin, similar to _send_event.
18023
18024 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18025
18026         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18027           Discont event offset format should be GST_FORMAT_BYTES,
18028           not GST_FORMAT_TIME.
18029
18030 2005-05-12  Wim Taymans  <wim@fluendo.com>
18031
18032         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18033         Same fix as Ronald's but without the signal. 
18034
18035 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18036
18037         * gst/gstutils.c: (gst_element_query_position):
18038           No, an element is not a pad.
18039
18040 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18041
18042         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18043         (gst_bin_get_state):
18044           If a child is removed from a bin while we remove the child from
18045           the bin and while we're retrieving its state, signal this to the
18046           get_state function so we abort the wait (instead of waiting for
18047           a timeout) and can immediately re-iterate over all other elements.
18048
18049 2005-05-12  Wim Taymans  <wim@fluendo.com>
18050
18051         * gst/base/Makefile.am:
18052         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18053         (gst_basesrc_start):
18054         * gst/base/gstbasesrc.h:
18055         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18056         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18057         (gst_pushsrc_init), (gst_pushsrc_create):
18058         * gst/base/gstpushsrc.h:
18059         Added is_seekable to BaseSrc
18060         Added simple PushSrc.
18061
18062 2005-05-11  Wim Taymans  <wim@fluendo.com>
18063
18064         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18065         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18066         (gst_element_link_pads), (gst_element_query_position),
18067         (gst_element_query_convert), (intersect_caps_func),
18068         (gst_pad_query_position), (gst_pad_query_convert):
18069         Fix refcounting in utils function.
18070         No point in trying to activate a pad when it's added, it could
18071         be added from the state change function and then we deadlock, the
18072         element has to decide what to do.
18073
18074 2005-05-10  Andy Wingo  <wingo@pobox.com>
18075
18076         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18077         *all* the arguments.
18078
18079         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18080         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18081         lock (according to the docs -- if this is wrong change the docs).
18082
18083         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18084         flush messages in the NULL state.
18085
18086         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18087         message immediately and return.
18088         (gst_bus_set_flushing): New function. If a bus is flushing, it
18089         flushes out any queued messages and immediately unrefs new
18090         messages. This is so when an element goes to NULL, all of the
18091         unhandled messages coming from it can be freed, and their
18092         references to the element dropped. In other words: message source
18093         ref considered harmful :P
18094
18095         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18096         we're finished with it.
18097
18098         * gst/gstmessage.c (gst_message_new_state_changed): 
18099
18100 2005-05-10  Wim Taymans  <wim@fluendo.com>
18101
18102         * gst/gstvalue.c: (gst_value_compare_flags),
18103         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18104         (_gst_value_initialize):
18105         Added flags serialize/deserialize/compare code.
18106
18107 2005-05-09  Andy Wingo  <wingo@pobox.com>
18108
18109         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18110         Intersect the peer's caps with our caps.
18111
18112 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18113
18114         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18115         * gst/elements/gsttypefindelement.c: (find_peek):
18116           Handle negative offsets better. Fixes decodebin.
18117
18118 2005-05-09  Wim Taymans  <wim@fluendo.com>
18119
18120         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18121         (gst_base_transform_event):
18122         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18123         Implement accept_caps.
18124         Fix silly lock/unlock mismatch in base class.
18125
18126 2005-05-09  Wim Taymans  <wim@fluendo.com>
18127
18128         * docs/design/draft-push-pull.txt:
18129         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18130         * gst/elements/gstfilesink.c: (gst_filesink_init),
18131         (gst_filesink_query):
18132         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18133         (gst_type_find_handle_src_query), (find_element_get_length):
18134         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18135         * gst/gstelement.h:
18136         * gst/gstmessage.c:
18137         * gst/gstmessage.h:
18138         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18139         (gst_real_pad_get_caps_unlocked),
18140         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18141         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18142         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18143         (gst_real_pad_dispose), (gst_real_pad_finalize),
18144         (gst_pad_load_and_link), (gst_pad_save_thyself),
18145         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18146         (gst_pad_check_pull_range), (gst_pad_pull_range),
18147         (gst_pad_template_get_type), (gst_pad_template_class_init),
18148         (gst_pad_template_init), (gst_pad_template_dispose),
18149         (name_is_valid), (gst_static_pad_template_get),
18150         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18151         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18152         (gst_pad_get_element_private), (gst_pad_start_task),
18153         (gst_pad_pause_task), (gst_pad_stop_task),
18154         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18155         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18156         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18157         (gst_ghost_pad_new):
18158         * gst/gstpad.h:
18159         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18160         (gst_query_new_position), (gst_query_set_position),
18161         (gst_query_parse_position), (gst_query_new_convert),
18162         (gst_query_set_convert), (gst_query_parse_convert):
18163         * gst/gstquery.h:
18164         * gst/gstqueryutils.c:
18165         * gst/gstqueryutils.h:
18166         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18167         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18168         (gst_queue_handle_src_query):
18169         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18170         (gst_element_query_position), (gst_element_query_convert),
18171         (intersect_caps_func), (gst_pad_query_position),
18172         (gst_pad_query_convert):
18173         * gst/gstutils.h:
18174         * tools/gst-inspect.c: (print_pad_info):
18175         * tools/gst-xmlinspect.c: (print_element_info):
18176         Remove old query functions. Ported old code.
18177         Added position/convert helper functions to gstutils.
18178         Reordered gstpad.c code, grouping relevant things.
18179         Remove gst_message_new(), always need to speficy a specific
18180         message.
18181
18182
18183 2005-05-09  Andy Wingo  <wingo@pobox.com>
18184
18185         * gst/gstiterator.h: Add some includes.
18186
18187         * gst/gstqueryutils.h: Include more headers.
18188
18189         * gst/gstpad.h:
18190         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18191         some uses of gst_pad_query.
18192
18193         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18194         NULL out parameters.
18195         (gst_query_new_position): New proc, allocates a new position
18196         query.
18197
18198         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18199         gstqueryutils.c to the build.
18200
18201         * gst/gststructure.c (gst_structure_set_valist): Implement with
18202         the generic G_VALUE_COLLECT.
18203         
18204 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18205
18206         * gst/Makefile.am: (gst_headers):
18207         Added gstqueryutils.h to the list of headers to install, that was
18208         a 'nachty' move wingo :)
18209
18210 2005-05-06  Andy Wingo  <wingo@pobox.com>
18211
18212         * gst/gstquery.h
18213         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18214         GstData, init a memchunk.
18215         (standard_definitions): Add a few query types, deprecate a few.
18216         (gst_query_get_type): New proc.
18217         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18218         implementation.
18219         (gst_query_new_application, gst_query_get_structure): New public
18220         procs.
18221
18222         * docs/design/draft-query.txt: Removed LINKS from the query types,
18223         because all the rest can be dispatched to other pads -- seemed
18224         ugly to have a query that couldn't be dispatched. internal_links
18225         is fine as a pad method.
18226
18227         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18228         in gstpad.c, but maintain binary compatibility for the moment.
18229         Will fix before 0.9 is out.
18230
18231         * gst/gstqueryutils.c: 
18232         * gst/gstqueryutils.h: New files, implement 3 methods for each
18233         query type: parse_query, parse_response, and set. Probably need an
18234         allocator as well.
18235
18236         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18237
18238         * gst/elements/gstfilesink.c (gst_filesink_query2):
18239         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18240         query_types, and formats methods.
18241
18242         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18243         (gst_pad_set_query2_function): New functions.
18244         (gst_real_pad_init): Set query2_default as the default query2
18245         function. Basically just dispatches to internally linked pads.
18246
18247         Needs review!
18248         
18249         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18250         without using the atomic operations. Only one thread can possibly
18251         be accessing the data at this point. Changed so as to avoid
18252         gst_atomic operations.
18253
18254 2005-05-06  Wim Taymans  <wim@fluendo.com>
18255
18256         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18257         Also set caps if we use the fallback buffer alloc.
18258
18259 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18260
18261         * docs/gst/Makefile.am:
18262         * docs/gst/gstreamer-docs.sgml:
18263         * docs/gst/gstreamer-sections.txt:
18264         * docs/gst/tmpl/gstatomic.sgml:
18265         * docs/gst/tmpl/gstmemchunk.sgml:
18266         * testsuite/elements/struct_i386.h:
18267         * win32/GStreamer.vcproj:
18268         * win32/Makefile:
18269           Purge GstAtomic stuff from docs and win32 makefiles as well
18270
18271 2005-05-06  Wim Taymans  <wim@fluendo.com>
18272
18273         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18274         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18275         * gst/gstpad.c: (gst_pad_peer_get_caps):
18276         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18277         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18278         (gst_queue_src_activate), (gst_queue_change_state):
18279         * gst/gstqueue.h:
18280         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18281         (intersect_caps_func):
18282         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18283         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18284         Some fixes for the peer_get_caps() change.
18285
18286 2005-05-06  Wim Taymans  <wim@fluendo.com>
18287
18288         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18289         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18290         (gst_basesink_activate):
18291         Actually do something with error codes returned from the push
18292         functions.
18293
18294 2005-05-06  Wim Taymans  <wim@fluendo.com>
18295
18296         * docs/design/part-element-sink.txt:
18297         * docs/design/part-element-source.txt:
18298         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18299         (gst_basesink_event), (gst_basesink_activate):
18300         * gst/base/gstbasesink.h:
18301         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18302         (gst_basesrc_activate):
18303         * gst/base/gstbasesrc.h:
18304         * gst/gstelement.c: (gst_element_pads_activate):
18305         Some more documentation.
18306         Fixed scheduling decision in _pads_activate().
18307
18308 2005-05-05  Andy Wingo  <wingo@pobox.com>
18309
18310         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18311         the test suite.
18312
18313 2005-05-05  Wim Taymans  <wim@fluendo.com>
18314
18315         * gst/base/Makefile.am:
18316         * gst/base/gstbasesink.h:
18317         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18318         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18319         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18320         (gst_collectpads_class_init), (gst_collectpads_init),
18321         (gst_collectpads_finalize), (gst_collectpads_new),
18322         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18323         (find_pad), (gst_collectpads_remove_pad),
18324         (gst_collectpads_is_active), (gst_collectpads_collect),
18325         (gst_collectpads_collect_range), (gst_collectpads_start),
18326         (gst_collectpads_stop), (gst_collectpads_peek),
18327         (gst_collectpads_pop), (gst_collectpads_available),
18328         (gst_collectpads_read), (gst_collectpads_flush),
18329         (gst_collectpads_chain):
18330         * gst/base/gstcollectpads.h:
18331         * gst/elements/Makefile.am:
18332         * gst/elements/gstelements.c:
18333         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18334         (gst_fakesink_get_times), (gst_fakesink_event),
18335         (gst_fakesink_preroll), (gst_fakesink_render):
18336         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18337         (gst_filesink_init), (gst_filesink_set_location),
18338         (gst_filesink_open_file), (gst_filesink_close_file),
18339         (gst_filesink_pad_query), (gst_filesink_event),
18340         (gst_filesink_render), (gst_filesink_change_state):
18341         * gst/elements/gstfilesink.h:
18342         Added object to help in making collect pad based elements.
18343         Ported filesink.
18344         Make event function in sink baseclass return gboolean.
18345
18346 2005-05-05  Wim Taymans  <wim@fluendo.com>
18347
18348         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18349         (gst_bin_get_by_name):
18350         * gst/gstbuffer.h:
18351         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18352         (gst_clock_finalize):
18353         * gst/gstdata.c: (gst_data_replace):
18354         * gst/gstdata.h:
18355         * gst/gstelement.c: (gst_element_request_pad),
18356         (gst_element_pads_activate):
18357         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18358         (gst_object_unref):
18359         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18360         (gst_pad_set_checkgetrange_function),
18361         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18362         (gst_pad_check_pull_range), (gst_pad_pull_range),
18363         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18364         (gst_pad_pause_task), (gst_pad_stop_task):
18365         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18366         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18367         Fix name lookup in GstBin.
18368         Added _data_replace() function and _buffer_replace()
18369         Use finalize method to clean up clock.
18370         Fix refcounting on request pads.
18371         Fix pad schedule mode error.
18372         Some more object refcounting debug info,
18373
18374
18375 2005-05-04  Andy Wingo <wingo@pobox.com>
18376
18377         * check/Makefile.am:
18378         * docs/gst/tmpl/gstatomic.sgml:
18379         * docs/gst/tmpl/gstplugin.sgml:
18380         * gst/base/gstbasesink.c: (gst_basesink_activate):
18381         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18382         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18383         (gst_basesrc_query), (gst_basesrc_set_property),
18384         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18385         (gst_basesrc_activate):
18386         * gst/base/gstbasesrc.h:
18387         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18388         (gst_base_transform_src_activate):
18389         * gst/elements/gstelements.c:
18390         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18391         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18392         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18393         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18394         (gst_type_find_element_checkgetrange),
18395         (gst_type_find_element_activate):
18396         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18397         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18398         (gst_caps_load_thyself):
18399         * gst/gstelement.c: (gst_element_pads_activate),
18400         (gst_element_save_thyself), (gst_element_restore_thyself):
18401         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18402         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18403         * gst/gstpad.h:
18404         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18405         (gst_xml_parse_file), (gst_xml_parse_memory),
18406         (gst_xml_get_element), (gst_xml_make_element):
18407         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18408         (_file_index_id_save_xml), (gst_file_index_commit):
18409         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18410         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18411         (load_paths):
18412         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18413         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18414         * tools/gst-complete.c: (main):
18415         * tools/gst-compprep.c: (main):
18416         * tools/gst-inspect.c: (print_element_properties_info):
18417         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18418         * tools/gst-xmlinspect.c: (print_element_properties):
18419         GCC 4 fixen.
18420         
18421 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18422
18423         * gst/gstplugin.c: (gst_plugin_check_module),
18424         (gst_plugin_check_file), (gst_plugin_load_file):
18425             apply patch from #172526 to make register work on MacOSX
18426
18427 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18428
18429         * docs/gst/tmpl/gstconfig.sgml:
18430         * gst/gstconfig.h.in:
18431           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18432         * testsuite/debug/printf_extension.c: (main):
18433           Do not use GST_PTR_FORMAT on pointers to types with
18434           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18435         * testsuite/elements/property.h:
18436           use correct printf format
18437
18438 2005-05-02  Wim Taymans  <wim@fluendo.com>
18439
18440         * docs/design/draft-push-pull.txt:
18441         * docs/design/draft-query.txt:
18442         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18443         (gst_basesrc_start):
18444         Added draft for new query API.
18445         Added draft for better selecting scheduling methods.
18446         Make basesrc ignore length if the subclass does not support
18447         it.
18448
18449 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         * gst/Makefile.am:
18452           possible fixes for automake-1.5 - _LIBADD is reserved
18453
18454 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18455
18456         * docs/faq/Makefile.am:
18457         * docs/manual/Makefile.am:
18458         * docs/manuals.mak:
18459         * docs/pwg/Makefile.am:
18460         * gst/Makefile.am:
18461           possible fixes for automake-1.5
18462
18463 2005-04-28  Wim Taymans  <wim@fluendo.com>
18464
18465         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18466         (gst_basesink_pad_getcaps), (gst_basesink_init),
18467         (gst_basesink_do_sync):
18468         * gst/gstclock.c: (gst_clock_entry_new):
18469         * gst/gstevent.c: (gst_event_discont_get_value):
18470         * gst/gstpipeline.c: (pipeline_bus_handler),
18471         (gst_pipeline_change_state):
18472         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18473         Better debugging of clocking info.
18474         Allow NULL values when getting discont values.
18475
18476 2005-04-27  Wim Taymans  <wim@fluendo.com>
18477
18478         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18479         * check/gst/gstpad.c: (gst_pad_suite):
18480         Increase timeout for checks.
18481
18482 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18483
18484         * check/Makefile.am:
18485           fix the broken rule for cleanup.  Apparently this rule is
18486           only needed on FC2, so maybe this warrants further autotool
18487           inspection.
18488
18489 2005-04-26  Wim Taymans  <wim@fluendo.com>
18490
18491         * gst/gsttrashstack.h:
18492         Ooohh. a nasty one! After having a failed pop() from the stack,
18493         it's possible that the stack is empty. In that case, don't
18494         follow the NULL pointer.
18495
18496 2005-04-25  Wim Taymans  <wim@fluendo.com>
18497
18498         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18499         (gst_pad_set_checkgetrange_function),
18500         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18501         (gst_pad_check_pull_range), (gst_pad_pull_range),
18502         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18503         (gst_pad_pause_task), (gst_pad_stop_task):
18504         * gst/gstplugin.c: (gst_plugin_load):
18505         * gst/gstplugin.h:
18506         Remove gst_library_load as it does more harm than good with
18507         the new g_module flags.
18508         Revert bogus caps template check in pad linking, pad caps
18509         are important when linking not the template, which is more
18510         general than the current caps.
18511
18512 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18513
18514         * gst/autoplug/.cvsignore:
18515         * gst/autoplug/Makefile.am:
18516         * gst/autoplug/gstsearchfuncs.c:
18517         * gst/autoplug/gstsearchfuncs.h:
18518         * gst/autoplug/gstspider.c:
18519         * gst/autoplug/gstspider.h:
18520         * gst/autoplug/gstspideridentity.c:
18521         * gst/autoplug/gstspideridentity.h:
18522         * gst/autoplug/spidertest.c:
18523           Die, spider, die.
18524
18525 2005-04-25  Wim Taymans  <wim@fluendo.com>
18526
18527         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18528         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18529         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18530         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18531         * gst/gstpad.h:
18532         Added stubs for unimplemented functions. 
18533
18534 2005-04-24  David Schleef  <ds@schleef.org>
18535
18536         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18537         please fix.
18538
18539 2005-04-24  David Schleef  <ds@schleef.org>
18540
18541         Convert everything from GstAtomicInt to g_atomic_int_*, and
18542         remove gstatomic.
18543         * gst/Makefile.am:
18544         * gst/gstatomic.c:
18545         * gst/gstatomic.h:
18546         * gst/gstatomic_impl.h:
18547         * gst/gstbuffer.c:
18548         * gst/gstcaps.c:
18549         * gst/gstcaps.h:
18550         * gst/gstclock.c:
18551         * gst/gstclock.h:
18552         * gst/gstdata.c:
18553         * gst/gstdata.h:
18554         * gst/gstdata_private.h:
18555         * gst/gstevent.c:
18556         * gst/gstinfo.c:
18557         * gst/gstinfo.h:
18558         * gst/gstmessage.c:
18559         * gst/gstobject.c:
18560         * gst/gstobject.h:
18561         * gst/gststructure.c:
18562         * gst/gststructure.h:
18563         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18564         * gst/gstutils.h:
18565
18566 2005-04-24  David Schleef  <ds@schleef.org>
18567
18568         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18569         make the regressions tests work.  Remove some code that is no
18570         longer true.
18571         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18572         Disable warning for pads without templates.
18573
18574 2005-04-24  David Schleef  <ds@schleef.org>
18575
18576         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18577         functions that handle filtered links.
18578         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18579         removed functions.
18580         * gst/gstutils.c: Fix/remove utility functions that handle
18581         filtered caps.
18582         * gst/gstutils.h:
18583         * gst/gstvalue.c: Add serialization/deserialization of caps
18584         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18585         requires fixing so that the filter caps notation creates
18586         a capsfilter element and sets the filter_caps property.  I
18587         think everyone probably wants to keep the shorthand notation.
18588         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18589         * docs/gst/tmpl/gstpad.sgml:
18590
18591         * gst/elements/gstelements.c: Register capsfilter element.
18592         * gst/Makefile.am: fix spacing
18593         * docs/random/ds/0.9-suggested-changes: random
18594
18595 2005-04-23  David Schleef  <ds@schleef.org>
18596
18597         * gst/elements/Makefile.am:
18598         * gst/elements/gstcapsfilter.c: New element that acts like an
18599         identity, but filters caps.  Will eventually replace filtered
18600         caps in pad linking.
18601         * gst/gstutils.c: (gst_element_create_all_pads): New function
18602         to create all the ALWAYS pads that are registered with an
18603         element class.  This functionality should eventually be
18604         merged in with GstElement initialization.
18605         * gst/gstutils.h:
18606         * testsuite/trigger/README: part of trigger test code that should
18607         have been checked in a long time ago.
18608
18609 2005-04-23  David Schleef  <ds@schleef.org>
18610
18611         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18612         needed with new versions of libtool (nobody will confirm this),
18613         and hard to carry around.
18614         * gst/autoplug/Makefile.am:
18615         * gst/base/Makefile.am:
18616         * gst/elements/Makefile.am:
18617         * gst/indexers/Makefile.am:
18618         * gst/schedulers/Makefile.am:
18619         * libs/gst/bytestream/Makefile.am:
18620         * libs/gst/control/Makefile.am:
18621         * libs/gst/dataprotocol/Makefile.am:
18622         * libs/gst/getbits/Makefile.am:
18623
18624 2005-04-21  Wim Taymans  <wim@fluendo.com>
18625
18626         * docs/design/draft-push-pull.txt:
18627         * docs/design/part-MT-refcounting.txt:
18628         * docs/design/part-TODO.txt:
18629         * docs/design/part-caps.txt:
18630         * docs/design/part-events.txt:
18631         * docs/design/part-gstbus.txt:
18632         * docs/design/part-gstpipeline.txt:
18633         * docs/design/part-messages.txt:
18634         * docs/design/part-push-pull.txt:
18635         * docs/design/part-query.txt:
18636         Some more docs.
18637
18638 2005-04-21  Wim Taymans  <wim@fluendo.com>
18639
18640         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18641         (gst_message_new), (gst_message_new_error),
18642         (gst_message_new_warning), (gst_message_new_tag),
18643         (gst_message_new_state_changed), (gst_message_new_application),
18644         (gst_message_get_structure):
18645         * gst/gstmessage.h:
18646         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18647         (gst_structure_copy_conditional):
18648         Use parent refcount in GstMessage to ensure GstStructure
18649         consistency.
18650         Cleaned up headers a bit.
18651         
18652
18653 2005-04-20  Wim Taymans  <wim@fluendo.com>
18654
18655         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18656         (gst_basesink_pad_getcaps), (gst_basesink_init),
18657         (gst_basesink_chain_unlocked):
18658         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18659         (gst_type_find_helper):
18660         * gst/elements/gsttypefindelement.c:
18661         (gst_type_find_element_have_type), (gst_type_find_element_init),
18662         (stop_typefinding), (gst_type_find_element_handle_event),
18663         (find_suggest), (gst_type_find_element_chain),
18664         (gst_type_find_element_checkgetrange),
18665         (gst_type_find_element_getrange), (do_typefind),
18666         (gst_type_find_element_activate):
18667         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18668         (gst_buffer_default_free), (gst_buffer_default_copy),
18669         (gst_buffer_set_caps):
18670         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18671         (gst_caps_replace):
18672         * gst/gstmessage.c: (gst_message_new),
18673         (gst_message_new_state_changed):
18674         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18675         (gst_pad_set_checkgetrange_function),
18676         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18677         (gst_pad_set_caps), (gst_pad_check_pull_range),
18678         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18679         * gst/gstpad.h:
18680         * gst/gsttypefind.c: (gst_type_find_register):
18681         Make gst_caps_replace() work like other _replace() functions.
18682         Use _caps_replace() where possible.
18683         Make sure _message_new() initialises its field.
18684         Add gst_static_pad_template_get_caps()
18685
18686
18687 2005-04-18  Andy Wingo  <wingo@pobox.com>
18688
18689         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18690         on the peer, not the pad. I think that was a typo. Pass an extra
18691         arg to see if random access is possible. Activate the pads as
18692         PULL_RANGE if possible.
18693
18694         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18695
18696         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18697         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18698         to PROP_....
18699
18700 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18701
18702         * docs/faq/using.xml:
18703           Add note on gstreamer-properties (#154996).
18704
18705 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18706
18707         * docs/random/bbb/optional-properties:
18708           Some analysis on optional properties.
18709
18710 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18711
18712         * docs/gst/tmpl/gstelementfactory.sgml:
18713         * gst/gstelement.h:
18714         * gst/gstelementfactory.c: (gst_element_factory_init),
18715         (gst_element_factory_cleanup), (gst_element_register),
18716         (__gst_element_factory_add_static_pad_template),
18717         (gst_element_factory_get_static_pad_templates),
18718         (gst_element_factory_can_src_caps),
18719         (gst_element_factory_can_sink_caps):
18720         * gst/registries/Makefile.am:
18721         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18722         (gst_xml_registry_class_init), (gst_xml_registry_init),
18723         (gst_xml_registry_new), (gst_xml_registry_set_property),
18724         (gst_xml_registry_get_property), (get_time), (make_dir),
18725         (gst_xml_registry_get_perms_func),
18726         (plugin_times_older_than_recurse), (plugin_times_older_than),
18727         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18728         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18729         (add_to_char_array), (read_string), (read_uint), (read_enum),
18730         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18731         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18732         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18733         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18734         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18735         (gst_xml_registry_rebuild):
18736         * gst/registries/gstlibxmlregistry.h:
18737         * tools/gst-compprep.c: (main):
18738         * tools/gst-inspect.c: (print_pad_templates_info):
18739         * tools/gst-xmlinspect.c: (print_element_info):
18740           Use libxml2 for registry parsing, use staticpadtemplates in
18741           elementfactories. Makes gst_init() +/- 10x faster.
18742
18743 2005-04-12  Wim Taymans  <wim@fluendo.com>
18744
18745         * gst/base/Makefile.am:
18746         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18747         (gst_basesink_pad_getcaps), (gst_basesink_init),
18748         (gst_basesink_event), (gst_basesink_change_state):
18749         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18750         (gst_basesrc_init), (gst_basesrc_query),
18751         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18752         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18753         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18754         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18755         (gst_basesrc_stop), (gst_basesrc_activate),
18756         (gst_basesrc_change_state):
18757         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18758         (helper_find_suggest), (gst_type_find_helper):
18759         * gst/base/gsttypefindhelper.h:
18760         * gst/elements/Makefile.am:
18761         * gst/elements/gstelements.c:
18762         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18763         (gst_fakesink_get_times), (gst_fakesink_event),
18764         (gst_fakesink_preroll), (gst_fakesink_render):
18765         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18766         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18767         (gst_fakesrc_get_property), (gst_fakesrc_create),
18768         (gst_fakesrc_start), (gst_fakesrc_stop):
18769         * gst/elements/gstfakesrc.h:
18770         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18771         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18772         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18773         (gst_filesrc_create_read), (gst_filesrc_create),
18774         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18775         (gst_filesrc_start):
18776         * gst/elements/gsttypefindelement.c:
18777         (gst_type_find_element_have_type), (gst_type_find_element_init),
18778         (start_typefinding), (stop_typefinding), (push_buffer_store),
18779         (gst_type_find_element_handle_event),
18780         (gst_type_find_element_chain),
18781         (gst_type_find_element_checkgetrange),
18782         (gst_type_find_element_getrange), (do_typefind),
18783         (gst_type_find_element_activate),
18784         (gst_type_find_element_change_state):
18785         * gst/elements/gsttypefindelement.h:
18786         * gst/gstpipeline.c: (pipeline_bus_handler):
18787         Added typefind helper.
18788         Small preroll fix in the base sink.
18789         Disable typefind code in basesrc.
18790         Crude port of typefindelement.
18791         Fakesrc cleanups.
18792
18793
18794 2005-04-11  Wim Taymans  <wim@fluendo.com>
18795
18796         * check/gst/gstbus.c: (gstbus_suite):
18797         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18798         * check/gstcheck.h:
18799           Fix up the timeout so that the test does not fail.
18800
18801 2005-04-06  Wim Taymans  <wim@fluendo.com>
18802
18803         * gst/base/README:
18804         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18805         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18806         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18807         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18808         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18809         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18810         (gst_basesrc_stop), (gst_basesrc_activate),
18811         (gst_basesrc_change_state), (basesrc_find_peek),
18812         (basesrc_find_suggest), (gst_basesrc_type_find):
18813         * gst/base/gstbasesrc.h:
18814         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18815         (gst_filesrc_class_init), (gst_filesrc_init),
18816         (gst_filesrc_finalize), (gst_filesrc_set_location),
18817         (gst_filesrc_set_property), (gst_filesrc_get_property),
18818         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18819         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18820         (gst_filesrc_create_read), (gst_filesrc_create),
18821         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18822         * gst/elements/gstfilesrc.h:
18823         * gst/gstelement.c: (gst_element_get_state_func),
18824         (gst_element_lost_state), (gst_element_pads_activate):
18825         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18826         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18827         (gst_pad_pull_range):
18828         * gst/gstpad.h:
18829         More work on the generic source base class, implement seeking,
18830         query.
18831         Make filesrc extend the base source class.
18832         Added gst_pad_set_checkgetrange_function to GstPad.
18833
18834 2005-04-06  Andy Wingo  <wingo@pobox.com>
18835
18836         * pkgconfig/gstreamer-base.pc.in:
18837         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18838
18839         * pkgconfig/Makefile.am:
18840         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18841
18842 2005-04-04  Wim Taymans  <wim@fluendo.com>
18843
18844         * gst/base/Makefile.am:
18845         * gst/base/README:
18846         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18847         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18848         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18849         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18850         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18851         (gst_basesrc_base_init), (gst_basesrc_class_init),
18852         (gst_basesrc_init), (gst_basesrc_get_formats),
18853         (gst_basesrc_get_query_types), (gst_basesrc_query),
18854         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18855         (gst_basesrc_set_property), (gst_basesrc_get_property),
18856         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18857         (gst_basesrc_loop), (gst_basesrc_activate),
18858         (gst_basesrc_change_state):
18859         * gst/base/gstbasesrc.h:
18860         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18861         (gst_fakesrc_class_init), (gst_fakesrc_init),
18862         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18863         (gst_fakesrc_get_property), (gst_fakesrc_create):
18864         * gst/elements/gstfakesrc.h:
18865         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18866         (gst_filesrc_open_file), (gst_filesrc_loop),
18867         (gst_filesrc_activate), (filesrc_find_peek),
18868         (gst_filesrc_type_find):
18869         Made base source class, make fakesrc extend it.
18870         Add comments to basesink class.
18871         Some filesrc cleanup.
18872
18873 2005-03-31  David Schleef  <ds@schleef.org>
18874
18875         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18876         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18877         expected to link against libgstreamer.
18878         * gst/base/Makefile.am: link against libgstreamer
18879         * gst/elements/Makefile.am: same
18880
18881 2005-03-31  Andy Wingo  <wingo@pobox.com>
18882
18883         * tests/instantiate/Makefile.am:
18884         * tests/instantiate/caps.c: Add test to test speed of caps copy
18885         and free.
18886
18887         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18888         GMemChunk to be fair.
18889
18890         * gst/gsttrashstack.h: Remove warning about using the fallback
18891         trash stack implementation, it's still faster than malloc.
18892
18893 2005-03-30  Andy Wingo  <wingo@pobox.com>
18894
18895         * tests/complexity.c: Add a copyright.
18896
18897 2005-03-31  Wim Taymans  <wim@fluendo.com>
18898
18899         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18900         (gst_base_transform_class_init), (gst_base_transform_init),
18901         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18902         (gst_base_transform_get_property),
18903         (gst_base_transform_sink_activate),
18904         (gst_base_transform_src_activate),
18905         (gst_base_transform_change_state):
18906         * gst/base/gstbasetransform.h:
18907         * gst/elements/gstidentity.c: (gst_identity_class_init),
18908         (gst_identity_event), (gst_identity_check_perfect),
18909         (gst_identity_transform), (gst_identity_start),
18910         (gst_identity_stop):
18911         Added start/stop methods to transform base class so subclasses 
18912         don't need to deal with state changes even.
18913
18914 2005-03-31  Wim Taymans  <wim@fluendo.com>
18915
18916         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18917         (gst_event_new_discontinuous), (gst_event_discont_get_value):
18918         * gst/gstevent.h:
18919         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18920         (gst_pad_pull_range):
18921         Added rate to the discont event to prepare for variable speed
18922         and reverse playback.
18923
18924 2005-03-29  David Schleef  <ds@schleef.org>
18925
18926         * configure.ac:
18927         * testsuite/trigger/Makefile.am:
18928         * testsuite/trigger/trigger.c: A little example program to show
18929         how trigger-based elements can work.
18930
18931 2005-03-29  Wim Taymans  <wim@fluendo.com>
18932
18933         * gst/base/Makefile.am:
18934         * gst/base/README:
18935         * gst/base/gstbasesink.c: (gst_basesink_get_type),
18936         (gst_basesink_base_init), (gst_basesink_class_init),
18937         (gst_basesink_pad_getcaps), (gst_basesink_init),
18938         (gst_basesink_activate), (gst_basesink_change_state):
18939         * gst/base/gstbasesink.h:
18940         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18941         (gst_base_transform_base_init), (gst_base_transform_finalize),
18942         (gst_base_transform_class_init), (gst_base_transform_init),
18943         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18944         (gst_base_transform_event), (gst_base_transform_getrange),
18945         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18946         (gst_base_transform_set_property),
18947         (gst_base_transform_get_property),
18948         (gst_base_transform_sink_activate),
18949         (gst_base_transform_src_activate),
18950         (gst_base_transform_change_state):
18951         * gst/base/gstbasetransform.h:
18952         * gst/elements/gstidentity.c: (gst_identity_finalize),
18953         (gst_identity_class_init), (gst_identity_init),
18954         (gst_identity_event), (gst_identity_check_perfect),
18955         (gst_identity_transform), (gst_identity_set_property),
18956         (gst_identity_get_property), (gst_identity_change_state):
18957         * gst/elements/gstidentity.h:
18958         * gst/gstelement.c: (gst_element_get_state_func),
18959         (gst_element_lost_state), (gst_element_pads_activate):
18960         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18961         (gst_pad_check_pull_range), (gst_pad_pull_range):
18962         * gst/gstpad.h:
18963         Simplify pad activation.
18964         Added function to check if pull_range can be performed.
18965         Error out when pulling inactive or flushing pads.
18966         Removed const from refcounted types as it does not make sense.
18967         Simplify pad templates in basesink
18968         Added base class for simple 1-to-1 transforms.
18969         Make identity subclass the base transform.
18970
18971 2005-03-29  Andy Wingo  <wingo@pobox.com>
18972
18973         * docs/libs/gstreamer-libs-overrides.txt: 
18974         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18975         really don't understand what's going on, but like whatever. I want
18976         green buildbot!
18977
18978         * docs/gst/Makefile.am:
18979         * docs/libs/Makefile.am: Dist the overrides files.
18980
18981         * check/Makefile.am (clean-local): Remove .libs directories.
18982
18983         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18984         elements to EXTRA_DIST, so po/ files are happy.
18985
18986         * po/POTFILES.in: Er, remove it here.
18987
18988         * po/POTFILES: Remove gstspider.c.
18989
18990         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18991
18992         * docs/libs/gstreamer-libs-docs.sgml: 
18993         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18994         bytestream.
18995
18996         * tests/complexity.c (main): Set the length of the preroll queue
18997         on the sinks to prevent a lockup.
18998
18999         * libs/gst/dataprotocol/Makefile.am: 
19000         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19001         the same as the one in check/gst-libs/gdp.c.
19002
19003         * po/, docs/gst/: Commit automatic changes to docs and po files.
19004
19005         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19006         the versioned libgstbase.
19007
19008         * check/Makefile.am: Depend on an unversioned gst-register, seems
19009         to make autoconf happier.
19010
19011         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19012
19013 2005-03-28  Wim Taymans  <wim@fluendo.com>
19014
19015         * configure.ac:
19016         * docs/design/part-gstelement.txt:
19017         * docs/design/part-negotiation.txt:
19018         * docs/design/part-preroll.txt:
19019         * docs/design/part-scheduling.txt:
19020         * docs/design/part-states.txt:
19021         * gst/Makefile.am:
19022         * gst/base/Makefile.am:
19023         * gst/base/README:
19024         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19025         (gst_basesink_base_init), (gst_basesink_class_init),
19026         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19027         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19028         (gst_basesink_set_pad_functions),
19029         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19030         (gst_basesink_set_property), (gst_basesink_get_property),
19031         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19032         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19033         (gst_basesink_preroll_queue_push),
19034         (gst_basesink_preroll_queue_empty),
19035         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19036         (gst_basesink_event), (gst_basesink_get_times),
19037         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19038         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19039         (gst_basesink_loop), (gst_basesink_activate),
19040         (gst_basesink_change_state):
19041         * gst/base/gstbasesink.h:
19042         * gst/elements/Makefile.am:
19043         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19044         (gst_fakesink_class_init), (gst_fakesink_init),
19045         (gst_fakesink_set_property), (gst_fakesink_get_property),
19046         (gst_fakesink_get_times), (gst_fakesink_event),
19047         (gst_fakesink_preroll), (gst_fakesink_render),
19048         (gst_fakesink_change_state):
19049         * gst/elements/gstfakesink.h:
19050         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19051         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19052         * gst/gstelement.c: (gst_element_add_pad),
19053         (gst_element_get_state_func), (gst_element_abort_state),
19054         (gst_element_commit_state), (gst_element_lost_state),
19055         (gst_element_set_state), (gst_element_pads_activate):
19056         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19057         * gst/gstpipeline.c: (gst_pipeline_send_event),
19058         (gst_pipeline_change_state):
19059         Added state change code.
19060         Added/updated docs.
19061         Added sink base class, make fakesink extend the base class.
19062         Small cleanups in GstPipeline.
19063
19064 2005-03-26  David Schleef  <ds@schleef.org>
19065
19066         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19067         is broken and should be implemented in a different library.
19068         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19069         * gst/gst.h: remove gstcpu.h
19070         * gst/gstcpu.c: remove
19071         * gst/gstcpu.h: remove
19072         * gst/Makefile.am.future: Remove this file.  It's ancient.
19073
19074 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19075
19076         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19077         (gst_bin_send_event):
19078           Add default event/set_manager handlers. The set_manager handler
19079           takes care that the manager is distributed over kids that were
19080           already in the bin before the manager was set. The event handler
19081           is a utility virtual function that sends the event over all sinks,
19082           so that gst_element_send_event (bin, event); has the expected
19083           behaviour.
19084         * gst/gstpad.c: (gst_pad_event_default):
19085           Re-install default event handling for discontinuities, so that
19086           seeking works without requiring hacks in applications or extra
19087           code in sinks.
19088         * gst/gstpipeline.c: (gst_pipeline_class_init),
19089         (gst_pipeline_send_event):
19090           Half hack, half utility: set a pipeline to PAUSED for seek events,
19091           since that is the only way we can guarantee a/v sync. Means that
19092           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19093           and it "just works".
19094
19095 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19096
19097         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19098           Lock/unlock mismatch.
19099
19100 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19101
19102         * docs/faq/gst-uninstalled:
19103           add gst-plugins-base
19104         * docs/gst/Makefile.am:
19105           don't error out until docs are fixed
19106         * docs/gst/gstreamer.types:
19107           remove thread
19108
19109 2005-03-22  Wim Taymans  <wim@fluendo.com>
19110
19111         * check/Makefile.am:
19112         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19113         * gst/gststructure.c: (gst_structure_set_valist),
19114         (gst_structure_copy_conditional):
19115         Activated more tests.
19116         Added message test.
19117         Added G_TYPE_POINTER to GstStructure.
19118         
19119
19120 2005-03-22  Wim Taymans  <wim@fluendo.com>
19121
19122         * docs/design/part-TODO.txt:
19123         * docs/design/part-events.txt:
19124         * docs/design/part-gstbin.txt:
19125         * docs/design/part-gstbus.txt:
19126         * docs/design/part-gstpipeline.txt:
19127         * docs/design/part-messages.txt:
19128         * gst/gstbus.c:
19129         * gst/gstmessage.c:
19130         Docs updates
19131
19132 2005-03-21  Wim Taymans  <wim@fluendo.com>
19133
19134         * gst/gstbus.c: (gst_bus_post):
19135         Fix copy-and-paste error.
19136
19137 2005-03-21  Wim Taymans  <wim@fluendo.com>
19138
19139         * check/Makefile.am:
19140         * gst/Makefile.am:
19141         * gst/elements/Makefile.am:
19142         * gst/elements/gstelements.c:
19143         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19144         (gst_fakesink_event), (gst_fakesink_chain):
19145         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19146         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19147         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19148         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19149         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19150         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19151         (gst_fakesrc_loop), (gst_fakesrc_activate),
19152         (gst_fakesrc_change_state):
19153         * gst/elements/gstfakesrc.h:
19154         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19155         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19156         (gst_filesrc_open_file), (gst_filesrc_loop),
19157         (gst_filesrc_activate), (gst_filesrc_change_state),
19158         (filesrc_find_peek), (filesrc_find_suggest),
19159         (gst_filesrc_type_find):
19160         * gst/elements/gstidentity.c: (gst_identity_finalize),
19161         (gst_identity_class_init), (gst_identity_init),
19162         (gst_identity_proxy_getcaps), (identity_queue_push),
19163         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19164         (gst_identity_getrange), (gst_identity_chain),
19165         (gst_identity_sink_loop), (gst_identity_src_loop),
19166         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19167         (gst_identity_set_property), (gst_identity_get_property),
19168         (gst_identity_change_state):
19169         * gst/elements/gstidentity.h:
19170         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19171         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19172         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19173         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19174         (gst_tee_sink_activate):
19175         * gst/elements/gsttee.h:
19176         * gst/gst.c: (gst_register_core_elements), (init_post):
19177         * gst/gst.h:
19178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19179         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19180         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19181         (gst_bin_change_state):
19182         * gst/gstbin.h:
19183         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19184         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19185         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19186         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19187         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19188         (bus_watch_callback), (bus_watch_destroy),
19189         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19190         (poll_timeout), (gst_bus_poll):
19191         * gst/gstbus.h:
19192         * gst/gstcaps.h:
19193         * gst/gstdata.h:
19194         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19195         (gst_element_post_message), (gst_element_message_full),
19196         (gst_element_get_state_func), (gst_element_get_state),
19197         (gst_element_abort_state), (gst_element_commit_state),
19198         (gst_element_lost_state), (gst_element_set_state),
19199         (gst_element_pads_activate), (gst_element_change_state),
19200         (gst_element_dispose), (gst_element_set_manager_func),
19201         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19202         (gst_element_set_manager), (gst_element_get_manager),
19203         (gst_element_set_bus), (gst_element_get_bus),
19204         (gst_element_set_scheduler), (gst_element_get_scheduler):
19205         * gst/gstelement.h:
19206         * gst/gstevent.c: (gst_event_new_segment_seek),
19207         (gst_event_new_flush):
19208         * gst/gstevent.h:
19209         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19210         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19211         (gst_message_new_eos), (gst_message_new_error),
19212         (gst_message_new_warning), (gst_message_new_tag),
19213         (gst_message_new_state_changed), (gst_message_new_application),
19214         (gst_message_get_structure), (gst_message_parse_tag),
19215         (gst_message_parse_state_changed), (gst_message_parse_error),
19216         (gst_message_parse_warning):
19217         * gst/gstmessage.h:
19218         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19219         (gst_real_pad_set_property), (gst_pad_set_active),
19220         (gst_pad_is_active), (gst_pad_set_blocked_async),
19221         (gst_pad_set_blocked), (gst_pad_is_blocked),
19222         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19223         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19224         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19225         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19226         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19227         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19228         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19229         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19230         (gst_pad_set_caps), (gst_pad_configure_sink),
19231         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19232         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19233         (gst_real_pad_dispose), (gst_real_pad_finalize),
19234         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19235         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19236         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19237         * gst/gstpad.h:
19238         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19239         (pipeline_bus_handler), (gst_pipeline_change_state),
19240         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19241         * gst/gstpipeline.h:
19242         * gst/gstprobe.h:
19243         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19244         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19245         (gst_queue_link_src), (gst_queue_bufferalloc),
19246         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19247         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19248         (gst_queue_loop), (gst_queue_handle_src_event),
19249         (gst_queue_handle_src_query), (gst_queue_src_activate),
19250         (gst_queue_change_state):
19251         * gst/gstqueue.h:
19252         * gst/gstscheduler.c: (gst_scheduler_init),
19253         (gst_scheduler_dispose), (gst_scheduler_create_task),
19254         (gst_scheduler_factory_create):
19255         * gst/gstscheduler.h:
19256         * gst/gststructure.c: (gst_structure_get_type),
19257         (gst_structure_copy_conditional):
19258         * gst/gststructure.h:
19259         * gst/gsttaginterface.h:
19260         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19261         (gst_task_init), (gst_task_dispose), (gst_task_create),
19262         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19263         (gst_task_pause):
19264         * gst/gsttask.h:
19265         * gst/gstthread.c:
19266         * gst/gstthread.h:
19267         * gst/gsttypes.h:
19268         * gst/schedulers/Makefile.am:
19269         * gst/schedulers/cothreads_compat.h:
19270         * gst/schedulers/entryscheduler.c:
19271         * gst/schedulers/faircothreads.c:
19272         * gst/schedulers/faircothreads.h:
19273         * gst/schedulers/fairscheduler.c:
19274         * gst/schedulers/gstbasicscheduler.c:
19275         * gst/schedulers/gstoptimalscheduler.c:
19276         * gst/schedulers/gthread-cothreads.h:
19277         * gst/schedulers/threadscheduler.c:
19278         (gst_thread_scheduler_task_get_type),
19279         (gst_thread_scheduler_task_class_init),
19280         (gst_thread_scheduler_task_init),
19281         (gst_thread_scheduler_task_start),
19282         (gst_thread_scheduler_task_stop),
19283         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19284         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19285         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19286         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19287         (plugin_init):
19288         * libs/gst/Makefile.am:
19289         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19290         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19291         (gst_file_pad_parent_set):
19292         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19293         (gst_dp_event_from_packet):
19294         * tests/complexity.c: (main):
19295         * tests/mass_elements.c: (main):
19296         * testsuite/states/locked.c: (message_received), (main):
19297         * testsuite/states/parent.c: (main):
19298         * tools/gst-inspect.c: (print_element_flag_info),
19299         (print_implementation_info), (print_pad_info):
19300         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19301         (main):
19302         * tools/gst-md5sum.c: (event_loop), (main):
19303         * tools/gst-typefind.c: (main):
19304         * tools/gst-xmlinspect.c: (print_element_info):
19305         Next big merge.
19306         Added GstBus for mainloop integration.
19307         Added GstMessage for sending notifications on the bus.
19308         Added GstTask as an abstraction for pipeline entry points.
19309         Removed GstThread.
19310         Removed Schedulers.
19311         Simplified GstQueue for multithreaded core.
19312         Made _link threadsafe, removed old capsnego.
19313         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19314         Added pad blocking functions.
19315         Reworked scheduling functions in GstPad to prepare for
19316         scheduling updates soon.
19317         Moved events out of data stream.
19318         Simplified GstEvent types.
19319         Added return values to push/pull.
19320         Removed clocking from GstElement.
19321         Added prototypes for state change function for next merge.
19322         Removed iterate from bins and state change management.
19323         Fixed some elements, disabled others for now.
19324         Fixed -inspect and -launch.
19325         Added check for GstBus.
19326
19327 2005-03-10  Wim Taymans  <wim@fluendo.com>
19328
19329         * docs/design/part-MT-refcounting.txt:
19330         * docs/design/part-clocks.txt:
19331         * docs/design/part-gstelement.txt:
19332         * docs/design/part-gstobject.txt:
19333         * docs/design/part-standards.txt:
19334         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19335         (gst_bin_remove_func), (gst_bin_remove):
19336         * gst/gstbin.h:
19337         * gst/gstbuffer.c:
19338         * gst/gstcaps.h:
19339         * testsuite/clock/clock1.c: (main):
19340         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19341         (main):
19342         * testsuite/dlopen/loadgst.c: (do_test):
19343         * testsuite/refcounting/bin.c: (add_remove_test1),
19344         (add_remove_test2), (main):
19345         * testsuite/refcounting/element.c: (main):
19346         * testsuite/refcounting/element_pad.c: (main):
19347         * testsuite/refcounting/pad.c: (main):
19348         * tools/gst-launch.c: (sigint_handler_sighandler):
19349         * tools/gst-typefind.c: (main):
19350         Doc updates.
19351         Added doc about clock.
19352         removed gst_bin_iterate_recurse_up(), marked methods
19353         for removal.
19354         Fix more testsuites.
19355
19356 2005-03-09  Wim Taymans  <wim@fluendo.com>
19357
19358         * gst/gstpad.c: (gst_pad_get_direction),
19359         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19360         (gst_pad_collect_valist):
19361         * testsuite/bins/interface.c: (main):
19362         * testsuite/caps/audioscale.c: (test_caps):
19363         * testsuite/caps/caps.c: (test1), (test2), (test3):
19364         * testsuite/caps/deserialize.c: (main):
19365         * testsuite/caps/enumcaps.c: (main):
19366         * testsuite/caps/filtercaps.c: (main):
19367         * testsuite/caps/intersect2.c: (main):
19368         * testsuite/caps/random.c: (main):
19369         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19370         * testsuite/caps/sets.c: (check_caps):
19371         * testsuite/caps/simplify.c: (check_caps), (main):
19372         * testsuite/caps/subtract.c: (check_caps):
19373         Fix _pad_get_direction wrt ghostpads.
19374         Fix caps testsuite.
19375
19376 2005-03-09  Wim Taymans  <wim@fluendo.com>
19377
19378         * check/Makefile.am:
19379         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19380         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19381         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19383         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19384         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19385         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19386         (bin_element_is_sink), (gst_bin_iterate_sinks),
19387         (gst_bin_iterate_all_by_interface):
19388         * gst/gstbin.h:
19389         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19390         (gst_element_change_state), (gst_element_dispose),
19391         (gst_element_finalize), (gst_element_set_loop_function):
19392         * gst/gstelement.h:
19393         * gst/gstiterator.c: (find_custom_fold_func):
19394         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19395         (gst_pad_collectv), (gst_pad_collect_valist),
19396         (gst_pad_template_new):
19397         * gst/gstpipeline.c: (gst_pipeline_class_init),
19398         (gst_pipeline_dispose), (gst_pipeline_set_property),
19399         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19400         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19401         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19402         * gst/gstutils.h:
19403         * gst/schedulers/entryscheduler.c:
19404         * gst/schedulers/gstbasicscheduler.c:
19405         (gst_basic_scheduler_cothreaded_chain),
19406         (gst_basic_scheduler_chain_add_element):
19407         * testsuite/bins/interface.c: (main):
19408         Added GstBin test.
19409         Added GstSystemClock test.
19410         Implemented clock distribution code in GstBin.
19411         Implemented iterate sinks method for future use.
19412         Rearranged gstelement.h
19413         Fix GstIterator comparison bug.
19414         Moved some code to GstPipeline, mostly clocking related.
19415
19416 2005-03-09  Wim Taymans  <wim@fluendo.com>
19417
19418         * configure.ac:
19419         * gst/gst_private.h:
19420         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19421         (gst_bin_remove_func), (gst_bin_remove),
19422         (gst_bin_get_by_name_recurse_up):
19423         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19424         (gst_clock_id_compare_func), (gst_clock_id_wait),
19425         (gst_clock_id_wait_async), (gst_clock_init),
19426         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19427         * gst/gstelement.h:
19428         * gst/gstinfo.c: (_gst_debug_init):
19429         * gst/gstobject.h:
19430         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19431         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19432         * gst/gstpad.h:
19433         Bump version number, we're now 0.9.0
19434         Add future debugging category.
19435         Fix NULL _unref() in _get_by_name_recurse_up
19436         Rearrange gstpad.h.
19437         Update some docs.
19438
19439 2005-03-08  Wim Taymans  <wim@fluendo.com>
19440
19441         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19442         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19443         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19444         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19445         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19446         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19447         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19448         * gst/elements/gstidentity.c: (gst_identity_class_init):
19449         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19450         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19451         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19452         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19453         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19454         (gst_tee_link):
19455         * gst/gstelement.c: (gst_element_class_init),
19456         (gst_element_base_class_init), (gst_element_init),
19457         (gst_element_get_random_pad), (gst_element_wait_state_change),
19458         (gst_element_change_state), (gst_element_dispose),
19459         (gst_element_finalize), (gst_element_set_loop_function):
19460         * gst/gstelement.h:
19461         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19462         * gst/gstthread.c: (gst_thread_class_init),
19463         (gst_thread_release_children_locks), (gst_thread_change_state):
19464         * gst/schedulers/gstbasicscheduler.c:
19465         (gst_basic_scheduler_loopfunc_wrapper),
19466         (gst_basic_scheduler_chain_wrapper),
19467         (gst_basic_scheduler_src_wrapper),
19468         (gst_basic_scheduler_remove_element):
19469         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19470         Remove threadsafe properties. Fix elements because GObject
19471         complains when installing a property before declaring a
19472         set/get_property handler.
19473         Rearrange gstelement.h file, use STATE macros for state locks.
19474         Free mutexes in the finalize method instead of dispose.
19475
19476 2005-03-08  Wim Taymans  <wim@fluendo.com>
19477
19478         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19479         * gst/gstthread.c: (gst_thread_release_children_locks):
19480         Added parentage check.
19481         Fix build og GstThread again.
19482
19483 2005-03-08  Wim Taymans  <wim@fluendo.com>
19484
19485         * docs/design/part-MT-refcounting.txt:
19486         * docs/design/part-conventions.txt:
19487         * docs/design/part-gstobject.txt:
19488         * docs/design/part-relations.txt:
19489         * docs/design/part-standards.txt:
19490         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19491         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19492         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19493         (gst_bin_iterate_all_by_interface):
19494         * gst/gstbuffer.h:
19495         * gst/gstclock.h:
19496         * gst/gstelement.c: (gst_element_class_init),
19497         (gst_element_change_state), (gst_element_set_loop_function):
19498         * gst/gstelement.h:
19499         * gst/gstiterator.c:
19500         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19501         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19502         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19503         (gst_object_set_parent), (gst_object_unparent),
19504         (gst_object_check_uniqueness):
19505         * gst/gstobject.h:
19506         Docs updates, clean up some headers.
19507
19508 2005-03-07  Wim Taymans  <wim@fluendo.com>
19509
19510         * check/.cvsignore:
19511         * check/Makefile.am:
19512         * check/gst-libs/.cvsignore:
19513         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19514         * check/gst/.cvsignore:
19515         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19516         (START_TEST), (gstbus_suite), (main):
19517         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19518         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19519         (gst_data_suite), (main):
19520         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19521         (add_fold_func), (gstiterator_suite), (main):
19522         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19523         (thread_name_object), (thread_name_object_default),
19524         (gst_object_name_compare), (gst_object_suite), (main):
19525         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19526         (gst_pad_suite), (main):
19527         * check/gstcheck.c: (gst_check_log_message_func),
19528         (gst_check_log_critical_func), (gst_check_init):
19529         * check/gstcheck.h:
19530         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19531         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19532         Added checks.
19533
19534 2005-03-07  Wim Taymans  <wim@fluendo.com>
19535
19536         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19537         (gst_list_iterator_next), (gst_list_iterator_resync),
19538         (gst_list_iterator_free), (gst_iterator_new_list),
19539         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19540         (gst_iterator_free), (gst_iterator_push), (filter_next),
19541         (filter_resync), (filter_uninit), (filter_free),
19542         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19543         (gst_iterator_foreach), (find_custom_fold_func),
19544         (gst_iterator_find_custom):
19545         * gst/gstiterator.h:
19546         Added missing files.
19547
19548 2005-03-07  Wim Taymans  <wim@fluendo.com>
19549
19550         * Makefile.am:
19551         * configure.ac:
19552         * docs/design/part-MT-refcounting.txt:
19553         * docs/design/part-conventions.txt:
19554         * docs/design/part-gstobject.txt:
19555         * docs/design/part-relations.txt:
19556         * examples/mixer/mixer.c: (main):
19557         * examples/thread/thread.c: (eos), (main):
19558         * gst/Makefile.am:
19559         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19560         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19561         (gst_spider_plug_from_srcpad):
19562         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19563         (gst_spider_identity_change_state),
19564         (gst_spider_identity_sink_loop_type_finding):
19565         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19566         * gst/elements/gstidentity.c: (gst_identity_init):
19567         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19568         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19569         * gst/elements/gsttypefindelement.c: (free_entry):
19570         * gst/gst.c:
19571         * gst/gst.h:
19572         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19573         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19574         (gst_bin_set_index), (gst_bin_set_element_sched),
19575         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19576         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19577         (gst_bin_iterate_elements), (iterate_child_recurse),
19578         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19579         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19580         (compare_interface), (gst_bin_get_by_interface),
19581         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19582         * gst/gstbin.h:
19583         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19584         (gst_buffer_default_free), (gst_buffer_default_copy),
19585         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19586         (gst_buffer_create_sub):
19587         * gst/gstbuffer.h:
19588         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19589         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19590         (gst_caps_unref), (gst_static_caps_get),
19591         (gst_caps_remove_and_get_structure), (gst_caps_append),
19592         (gst_caps_append_structure), (gst_caps_remove_structure),
19593         (gst_caps_copy_nth), (gst_caps_set_simple),
19594         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19595         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19596         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19597         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19598         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19599         (gst_caps_structure_figure_out_union),
19600         (gst_caps_switch_structures), (gst_caps_do_simplify),
19601         (gst_caps_replace), (gst_caps_from_string),
19602         (gst_caps_copy_conditional):
19603         * gst/gstcaps.h:
19604         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19605         (_gst_clock_id_free), (gst_clock_id_unref),
19606         (gst_clock_id_compare_func), (gst_clock_id_wait),
19607         (gst_clock_id_wait_async), (gst_clock_class_init),
19608         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19609         (gst_clock_get_time), (gst_clock_set_time_adjust),
19610         (gst_clock_set_property), (gst_clock_get_property):
19611         * gst/gstclock.h:
19612         * gst/gstcompat.h:
19613         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19614         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19615         * gst/gstdata.h:
19616         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19617         (gst_element_requires_clock), (gst_element_provides_clock),
19618         (gst_element_set_clock), (gst_element_clock_wait),
19619         (gst_element_wait), (gst_element_set_time_delay),
19620         (gst_element_is_indexable), (gst_element_add_pad),
19621         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19622         (pad_compare_name), (gst_element_get_static_pad),
19623         (gst_element_request_pad), (gst_element_get_request_pad),
19624         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19625         (gst_element_class_get_pad_template_list),
19626         (gst_element_class_get_pad_template), (gst_element_error_func),
19627         (gst_element_get_random_pad), (gst_element_get_event_masks),
19628         (gst_element_send_event), (gst_element_seek),
19629         (gst_element_get_query_types), (gst_element_query),
19630         (gst_element_get_formats), (gst_element_convert),
19631         (gst_element_is_locked_state), (gst_element_set_locked_state),
19632         (gst_element_sync_state_with_parent), (gst_element_change_state),
19633         (gst_element_finalize), (gst_element_yield),
19634         (gst_element_interrupt), (gst_element_set_scheduler),
19635         (gst_element_get_scheduler), (gst_element_set_loop_function):
19636         * gst/gstelement.h:
19637         * gst/gstevent.h:
19638         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19639         (gst_format_get_by_nick), (gst_format_get_details),
19640         (gst_format_iterate_definitions):
19641         * gst/gstformat.h:
19642         * gst/gstindex.c: (gst_index_gtype_resolver):
19643         * gst/gstinfo.c:
19644         * gst/gstinfo.h:
19645         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19646         (gst_mem_chunk_free):
19647         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19648         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19649         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19650         (gst_object_dispatch_properties_changed),
19651         (gst_object_set_name_default), (gst_object_set_name),
19652         (gst_object_get_name), (gst_object_set_name_prefix),
19653         (gst_object_get_name_prefix), (gst_object_set_parent),
19654         (gst_object_get_parent), (gst_object_unparent),
19655         (gst_object_check_uniqueness), (gst_object_save_thyself),
19656         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19657         (gst_object_set_property), (gst_object_get_property),
19658         (gst_object_get_path_string):
19659         * gst/gstobject.h:
19660         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19661         (gst_real_pad_init), (gst_real_pad_get_property),
19662         (gst_pad_custom_new), (gst_pad_get_direction),
19663         (gst_pad_set_active), (gst_pad_is_active),
19664         (gst_pad_set_event_function), (gst_pad_is_linked),
19665         (gst_pad_link_free), (gst_pad_link_intersect),
19666         (gst_pad_link_fixate), (gst_pad_set_caps),
19667         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19668         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19669         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19670         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19671         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19672         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19673         (gst_pad_realize), (gst_pad_get_allowed_caps),
19674         (gst_real_pad_dispose), (gst_real_pad_finalize),
19675         (gst_pad_collectv), (gst_pad_collect_valist),
19676         (gst_pad_template_dispose), (gst_pad_template_new),
19677         (gst_pad_get_internal_links):
19678         * gst/gstpad.h:
19679         * gst/gstpipeline.c: (gst_pipeline_dispose),
19680         (gst_pipeline_change_state):
19681         * gst/gstpipeline.h:
19682         * gst/gstplugin.c:
19683         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19684         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19685         * gst/gstpluginfeature.h:
19686         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19687         * gst/gstquery.c: (_gst_query_type_initialize),
19688         (gst_query_type_register), (gst_query_type_get_by_nick),
19689         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19690         * gst/gstquery.h:
19691         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19692         * gst/gstscheduler.c: (gst_scheduler_add_element),
19693         (gst_scheduler_factory_create):
19694         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19695         (gst_structure_free), (gst_structure_set_name),
19696         (gst_structure_id_set_value), (gst_structure_set_value),
19697         (gst_structure_set_valist), (gst_structure_remove_field),
19698         (gst_structure_remove_fields),
19699         (gst_structure_remove_fields_valist),
19700         (gst_structure_remove_all_fields), (gst_structure_foreach),
19701         (gst_structure_map_in_place),
19702         (gst_caps_structure_fixate_field_nearest_int),
19703         (gst_caps_structure_fixate_field_nearest_double):
19704         * gst/gststructure.h:
19705         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19706         (gst_system_clock_init), (gst_system_clock_dispose),
19707         (gst_system_clock_async_thread),
19708         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19709         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19710         * gst/gstsystemclock.h:
19711         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19712         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19713         * gst/gsttaginterface.c:
19714         * gst/gstthread.c: (gst_thread_dispose),
19715         (gst_thread_release_children_locks), (gst_thread_change_state),
19716         (gst_thread_main_loop):
19717         * gst/gsttrashstack.h:
19718         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19719         * gst/gsttypes.h:
19720         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19721         (gst_element_request_pad), (gst_element_get_pad_from_template),
19722         (gst_element_request_compatible_pad),
19723         (gst_element_get_compatible_pad_filtered),
19724         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19725         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19726         (gst_element_link_many), (gst_element_link),
19727         (gst_element_link_pads), (gst_element_unlink_pads),
19728         (gst_element_unlink_many), (gst_element_unlink),
19729         (gst_pad_can_link_filtered), (gst_pad_can_link),
19730         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19731         (gst_object_default_error), (gst_bin_add_many),
19732         (gst_bin_remove_many), (gst_element_populate_std_props),
19733         (gst_element_class_install_std_props), (gst_buffer_merge),
19734         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19735         (link_fold_func), (gst_pad_proxy_setcaps):
19736         * gst/gstutils.h:
19737         * gst/gstvalue.c: (gst_value_deserialize_string):
19738         * gst/parse/grammar.y:
19739         * gst/schedulers/gstbasicscheduler.c:
19740         (gst_basic_scheduler_cothreaded_chain),
19741         (gst_basic_scheduler_chain_recursive_add),
19742         (gst_basic_scheduler_pad_link):
19743         * gst/schedulers/gstoptimalscheduler.c:
19744         (get_group_schedule_function),
19745         (gst_opt_scheduler_state_transition),
19746         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19747         * libs/gst/bytestream/bytestream.c:
19748         * libs/gst/dataprotocol/dataprotocol.c:
19749         (gst_dp_header_from_buffer):
19750         * po/nb.po:
19751         * po/ru.po:
19752         * tests/threadstate/threadstate2.c: (eos):
19753         * tools/gst-compprep.c: (main):
19754         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19755         (print_pad_info), (print_children_info):
19756         * tools/gst-launch.c: (idle_func), (main):
19757         * tools/gst-md5sum.c: (idle_func), (main):
19758         * tools/gst-xmlinspect.c: (print_element_info):
19759         First THREADED backport attempt, focusing on adding locks and
19760         making sure the API is threadsafe. Needs more work. More docs
19761         follow this week.
19762
19763 2005-02-24  Andy Wingo  <wingo@pobox.com>
19764
19765         * tests/bench-complexity.scm:
19766         * tests/complexity.gnuplot: New files, good for running complexity
19767         benchmarks.
19768
19769         * tests/Makefile.am:
19770         * tests/complexity.c: New test, sets up N elements, at each level
19771         teeing into M streams per element. Eeeenteresting.
19772
19773         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19774         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19775         running bench-mass_elements.scm.
19776
19777         * tests/bench-mass_elements.scm: New script, runs mass_elements
19778         for various numbers of identities, outputting the results to a
19779         file. Requires guile 1.6. Just for testing.
19780
19781 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19782
19783         * gst/schedulers/fairscheduler.c:
19784           compile with debug disabled
19785
19786 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19787
19788         * configure.ac:
19789           hunting season on 0.9 is now OPEN